app.acss 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. page {
  2. color: #303133;
  3. font-size: 32rpx;
  4. background: rgba(245, 247, 250, 1);
  5. /* height: 100%; */
  6. width: 100%;
  7. margin: 0;
  8. padding: 0;
  9. -webkit-font-smoothing: antialiased;
  10. -webkit-tap-highlight-color: transparent;
  11. font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  12. }
  13. .nodeBer {
  14. border: none !important;
  15. }
  16. view,
  17. text {
  18. line-height: 40rpx;
  19. }
  20. .dept_name {
  21. color: #969799 !important;
  22. font-size: 0.24rem;
  23. }
  24. .blue {
  25. color: #26A2FF !important;
  26. }
  27. .red {
  28. color: #F56C6C !important;
  29. }
  30. .yellow {
  31. color: #FFC910 !important;
  32. }
  33. .orange {
  34. color: #FF9600 !important;
  35. }
  36. .green {
  37. color: #67C23A !important;
  38. }
  39. .cyan {
  40. color: #00C4CB !important;
  41. }
  42. .black {
  43. color: #141c28 !important;
  44. }
  45. .orangeText {
  46. color: #E6A23C !important;
  47. font-size: 0.24rem;
  48. padding: 0 0.24rem;
  49. }
  50. .fontColorA {
  51. color: #303133 !important;
  52. }
  53. .fontColorB {
  54. color: #606266 !important;
  55. }
  56. .fontColorC {
  57. color: #89919F !important;
  58. }
  59. .fontColorD {
  60. color: #BFC7D5 !important;
  61. }
  62. /* 搜索框 */
  63. .search {
  64. background-color: #f1f1f1;
  65. border-radius: 10rpx;
  66. width: 90%;
  67. margin: 0 auto;
  68. padding: 6rpx 10rpx;
  69. }
  70. .search input {
  71. background-color: #f1f1f1;
  72. font-size: 32rpx !important;
  73. }
  74. .search image {
  75. width: 30rpx;
  76. height: 30rpx;
  77. margin-left: 10rpx;
  78. }
  79. /* 弹窗相关 */
  80. .data-tier {
  81. position: fixed;
  82. top: 0;
  83. left: 0;
  84. right: 0;
  85. height: 80rpx;
  86. }
  87. .animationBox {
  88. position: fixed;
  89. left: 0;
  90. right: 0;
  91. top: 0;
  92. overflow: hidden;
  93. z-index: 3;
  94. transform: translate(0, -100%);
  95. }
  96. /* 禁止滚动背景穿透 */
  97. .container__mask {
  98. overflow: hidden;
  99. position: fixed;
  100. top: 0;
  101. left: 0;
  102. right: 0;
  103. bottom: 0;
  104. z-index: 1;
  105. }
  106. .tab {
  107. background: #fff;
  108. text-align: center;
  109. z-index: 4;
  110. position: sticky;
  111. top: 0;
  112. height: 80rpx;
  113. }
  114. .tab view {
  115. width: 25%;
  116. overflow: hidden;
  117. text-overflow: ellipsis;
  118. white-space: nowrap;
  119. }
  120. .tab view text {
  121. position: relative;
  122. padding: 20rpx 0;
  123. /* width: 120%; */
  124. white-space: nowrap
  125. }
  126. .tab text::after {
  127. position: absolute;
  128. top: 50%;
  129. right: -20rpx;
  130. margin-top: -0.1rem;
  131. border: 0.06rem solid;
  132. border-color: transparent transparent #C0C4CC #C0C4CC;
  133. -webkit-transform: rotate(-45deg);
  134. transform: rotate(-45deg);
  135. opacity: .8;
  136. content: '';
  137. }
  138. .tab .activeView {
  139. color: #26a2ff;
  140. }
  141. .tab .activeView::after {
  142. margin-top: -0.02rem;
  143. -webkit-transform: rotate(135deg);
  144. transform: rotate(135deg);
  145. border-color: transparent transparent #26a2ff #26a2ff;
  146. }
  147. .windows {
  148. position: fixed;
  149. top: 0px;
  150. left: 0px;
  151. right: 0px;
  152. bottom: 0px;
  153. background: rgba(0, 0, 0, 0.4);
  154. z-index: 999;
  155. }
  156. .meng {
  157. position: fixed;
  158. bottom: 0;
  159. background-color: rgba(0, 0, 0, .5);
  160. left: 0;
  161. right: 0;
  162. top: 80rpx;
  163. overflow: hidden;
  164. }
  165. .delVal {
  166. height: 40rpx;
  167. width: 40rpx;
  168. border-radius: 100%;
  169. background-color: #909399;
  170. color: #fff;
  171. text-align: center;
  172. /* line-height: 40rpx; */
  173. line-height: 34rpx;
  174. margin: 0 10rpx;
  175. }
  176. /* 弹窗过程 */
  177. .pop-up {
  178. position: fixed;
  179. right: 10rpx;
  180. width: 100rpx;
  181. height: 100rpx;
  182. z-index: 2;
  183. border-radius: 50%;
  184. background: #fff;
  185. text-align: center;
  186. bottom: 50%;
  187. box-sizing: border-box;
  188. line-height: 100rpx;
  189. box-shadow: 0 0 0.12rem rgba(0, 0, 0, .15);
  190. }
  191. .showPop {
  192. animation: showLayer 0.2s linear both;
  193. }
  194. @keyframes showLayer {
  195. 0% {
  196. transform: translateY(-100%);
  197. }
  198. 100% {
  199. transform: translateY(0%);
  200. }
  201. }
  202. /* 带字体背景颜色 */
  203. .redBox {
  204. border-radius: 6rpx;
  205. background: rgba(245, 108, 108, .1);
  206. color: #F56C6C !important;
  207. font-size: 28rpx;
  208. padding: 0 6rpx;
  209. }
  210. .greenBox {
  211. border-radius: 6rpx;
  212. background: rgba(103, 194, 58, .1);
  213. color: #67C23A !important;
  214. font-size: 28rpx;
  215. padding: 0 6rpx;
  216. }
  217. .yellowBox {
  218. border-radius: 6rpx;
  219. background: rgba(255, 204, 0, .1);
  220. color: #FFC910 !important;
  221. font-size: 28rpx;
  222. padding: 0 6rpx;
  223. }
  224. .orangeBox {
  225. border-radius: 6rpx;
  226. background: rgba(230, 162, 60, .1);
  227. color: #FF9600 !important;
  228. font-size: 28rpx;
  229. padding: 0 6rpx;
  230. }
  231. .blueBox {
  232. border-radius: 6rpx;
  233. background: rgba(38, 162, 255, .1);
  234. color: #26A2FF !important;
  235. font-size: 28rpx;
  236. padding: 0 6rpx;
  237. }
  238. .textBox {
  239. border-radius: 6rpx;
  240. background: rgba(48, 49, 51, .1);
  241. color: #303133 !important;
  242. font-size: 28rpx;
  243. padding: 0 6rpx;
  244. }
  245. .margin-bottom {
  246. margin-bottom: 20rpx;
  247. }
  248. .margin-top {
  249. margin-top: 20rpx;
  250. }
  251. .defBtn {
  252. background: #26A2FF;
  253. color: #fff;
  254. }
  255. .border-bottom {
  256. border-bottom: 1px solid #f1f1f1;
  257. }
  258. .text-right {
  259. text-align: right;
  260. }
  261. .text-left {
  262. text-align: left;
  263. }
  264. .noDatas {
  265. text-align: center;
  266. padding: 16rpx 0;
  267. color: #909399
  268. }
  269. .radio_ {
  270. width: 40rpx !important;
  271. height: 40rpx !important;
  272. border: 1px solid #ccc;
  273. border-radius: 50% !important;
  274. background: #fff;
  275. position: relative;
  276. margin: 0 20rpx 0 24rpx;
  277. }
  278. .active .radio_ {
  279. border: 1px solid #26A2FF;
  280. }
  281. .active .radio_::before {
  282. content: '';
  283. width: 20rpx !important;
  284. height: 20rpx !important;
  285. border-radius: 50% !important;
  286. background: #26A2FF;
  287. position: absolute;
  288. display: block;
  289. top: 50%;
  290. left: 50%;
  291. margin-top: -10rpx;
  292. margin-left: -9.5rpx;
  293. }
  294. /* 盒子模型 */
  295. .flex-box {
  296. display: -webkit-box;
  297. display: -moz-box;
  298. display: -ms-flexbox;
  299. display: -webkit-flex;
  300. display: flex;
  301. }
  302. /*盒子模型,竖向自适应,垂直排列 */
  303. .flex-box-v {
  304. display: -webkit-box;
  305. display: -webkit-flex;
  306. display: flex;
  307. -webkit-box-orient: vertical;
  308. -webkit-flex-flow: column;
  309. flex-flow: column !important;
  310. }
  311. .flex-box-ce {
  312. display: -webkit-box;
  313. display: -moz-box;
  314. display: -ms-flexbox;
  315. display: -webkit-flex;
  316. display: flex;
  317. align-items: center;
  318. -webkit-align-items: center;
  319. -webkit-box-align: center;
  320. }
  321. /* 水平等列排版(容器左右没缝隙,子元素左右两边自适应) */
  322. .flex-d-center {
  323. justify-content: space-between;
  324. -webkit-justify-content: space-between;
  325. }
  326. /* 水平等列排版(子元素两边有缝隙自己适应) */
  327. .flex-dv-center {
  328. justify-content: space-around;
  329. -webkit-justify-content: space-around;
  330. }
  331. /*通过一起使用 box-align 和 box-pack 属性,对 view 框的子元素进行居中,目前没有浏览器支持box-align 和 box-pack 属性,所以需要加上浏览器内核-webkit,-moz等的简写 */
  332. .flex-center-center {
  333. justify-content: center;
  334. -webkit-justify-content: center;
  335. -moz-justify-content: center;
  336. align-items: center;
  337. -webkit-align-items: center;
  338. -webkit-box-pack: center;
  339. -webkit-box-align: center;
  340. -moz-align-items: center;
  341. -moz-box-pack: center;
  342. -moz-box-align: center;
  343. }
  344. /*对view中的子元素进行居中,并且位于容器的中间位置 水平居中 */
  345. .flex-v-zhu,
  346. .flex-h-zhu {
  347. justify-content: center;
  348. -webkit-justify-content: center;
  349. -webkit-box-pack: center;
  350. }
  351. /*对view中的子元素进行居中,并且位于容器的中间位置 垂直居中 */
  352. .flex-v-ce,
  353. .flex-h-ce {
  354. align-items: center;
  355. -webkit-align-items: center;
  356. -webkit-box-align: center;
  357. }
  358. /*让所有弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容: */
  359. .flex-1 {
  360. -webkit-box-flex: 1;
  361. -moz-box-flex: 1;
  362. -webkit-flex: 1;
  363. -ms-flex: 1;
  364. flex: 1;
  365. }
  366. .flex-2 {
  367. -webkit-box-flex: 2;
  368. box-flex: 2;
  369. -moz-box-flex: 2;
  370. -webkit-flex: 2;
  371. -ms-flex: 2;
  372. flex: 2;
  373. }
  374. .flex-3 {
  375. -webkit-box-flex: 3;
  376. box-flex: 3;
  377. -moz-box-flex: 3;
  378. -webkit-flex: 3;
  379. -ms-flex: 3;
  380. flex: 3;
  381. }
  382. .flex-4 {
  383. -webkit-box-flex: 4;
  384. box-flex: 4;
  385. -moz-box-flex: 4;
  386. -webkit-flex: 4;
  387. -ms-flex: 4;
  388. flex: 4;
  389. }
  390. .flex-5 {
  391. -webkit-box-flex: 5;
  392. box-flex: 5;
  393. -moz-box-flex: 5;
  394. -webkit-flex: 5;
  395. -ms-flex: 5;
  396. flex: 5;
  397. }
  398. .flex-direction-row-reverse {
  399. flex-direction: row-reverse;
  400. -webkit-flex-direction: row-reverse;
  401. }
  402. /*超出部分用....表示的公用样式 */
  403. .font-flex-word {
  404. overflow: hidden;
  405. text-overflow: ellipsis;
  406. white-space: nowrap;
  407. }
  408. .clamp2 {
  409. overflow: hidden;
  410. text-overflow: ellipsis;
  411. word-break: break-all;
  412. display: -webkit-box;
  413. -webkit-line-clamp: 2;
  414. -webkit-box-orient: vertical;
  415. }
  416. .clamp3 {
  417. overflow: hidden;
  418. text-overflow: ellipsis;
  419. word-break: break-all;
  420. display: -webkit-box;
  421. -webkit-line-clamp: 3;
  422. -webkit-box-orient: vertical;
  423. }
  424. /* 内容超出部分自动换行 */
  425. .flex-d-wrap {
  426. flex-wrap: wrap;
  427. }
  428. /* 内容超出部分不换行 */
  429. .flex-no-wrap {
  430. flex-wrap: nowrap;
  431. }
  432. /* 从右边开始排列 */
  433. .flex-box-end {
  434. display: -webkit-box;
  435. display: -moz-box;
  436. display: -ms-flexbox;
  437. display: -webkit-flex;
  438. display: flex;
  439. justify-content: flex-end;
  440. }