app.acss 8.3 KB

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