app.acss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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. border-radius: 50%;
  183. background: #fff;
  184. text-align: center;
  185. bottom: 50%;
  186. box-sizing: border-box;
  187. line-height: 100rpx;
  188. box-shadow: 0 0 0.12rem rgba(0, 0, 0, .15);
  189. }
  190. .showPop {
  191. animation: showLayer 0.2s linear both;
  192. }
  193. @keyframes showLayer {
  194. 0% {
  195. transform: translateY(-100%);
  196. }
  197. 100% {
  198. transform: translateY(0%);
  199. }
  200. }
  201. /* 带字体背景颜色 */
  202. .redBox {
  203. border-radius: 6rpx;
  204. background: rgba(245, 108, 108, .1);
  205. color: #F56C6C;
  206. font-size: 28rpx;
  207. padding: 0 6rpx;
  208. }
  209. .greenBox {
  210. border-radius: 6rpx;
  211. background: rgba(103, 194, 58, .1);
  212. color: #67C23A;
  213. font-size: 28rpx;
  214. padding: 0 6rpx;
  215. }
  216. .yellowBox {
  217. border-radius: 6rpx;
  218. background: rgba(255, 204, 0, .1);
  219. color: #FFC910;
  220. font-size: 28rpx;
  221. padding: 0 6rpx;
  222. }
  223. .orangeBox {
  224. border-radius: 6rpx;
  225. background: rgba(230, 162, 60, .1);
  226. color: #FF9600;
  227. font-size: 28rpx;
  228. padding: 0 6rpx;
  229. }
  230. .blueBox {
  231. border-radius: 6rpx;
  232. background: rgba(38, 162, 255, .1);
  233. color: #26A2FF;
  234. font-size: 28rpx;
  235. padding: 0 6rpx;
  236. }
  237. .textBox {
  238. border-radius: 6rpx;
  239. background: rgba(48, 49, 51, .1);
  240. color: #303133;
  241. font-size: 28rpx;
  242. padding: 0 6rpx;
  243. }
  244. .margin-bottom {
  245. margin-bottom: 20rpx;
  246. }
  247. .margin-top {
  248. margin-top: 20rpx;
  249. }
  250. .defBtn {
  251. background: #26A2FF;
  252. color: #fff;
  253. }
  254. .border-bottom {
  255. border-bottom: 1px solid #f1f1f1;
  256. }
  257. .text-right {
  258. text-align: right;
  259. }
  260. .text-left {
  261. text-align: left;
  262. }
  263. .noDatas {
  264. text-align: center;
  265. padding: 16rpx 0;
  266. color: #909399
  267. }
  268. .radio_ {
  269. width: 40rpx !important;
  270. height: 40rpx !important;
  271. border: 1px solid #ccc;
  272. border-radius: 50% !important;
  273. background: #fff;
  274. position: relative;
  275. margin: 0 20rpx 0 24rpx;
  276. }
  277. .active .radio_ {
  278. border: 1px solid #26A2FF;
  279. }
  280. .active .radio_::before {
  281. content: '';
  282. width: 20rpx !important;
  283. height: 20rpx !important;
  284. border-radius: 50% !important;
  285. background: #26A2FF;
  286. position: absolute;
  287. display: block;
  288. top: 50%;
  289. left: 50%;
  290. margin-top: -10rpx;
  291. margin-left: -9.5rpx;
  292. }
  293. /* 盒子模型 */
  294. .flex-box {
  295. display: -webkit-box;
  296. display: -moz-box;
  297. display: -ms-flexbox;
  298. display: -webkit-flex;
  299. display: flex;
  300. }
  301. /*盒子模型,竖向自适应,垂直排列 */
  302. .flex-box-v {
  303. display: -webkit-box;
  304. display: -webkit-flex;
  305. display: flex;
  306. -webkit-box-orient: vertical;
  307. -webkit-flex-flow: column;
  308. flex-flow: column !important;
  309. }
  310. .flex-box-ce {
  311. display: -webkit-box;
  312. display: -moz-box;
  313. display: -ms-flexbox;
  314. display: -webkit-flex;
  315. display: flex;
  316. align-items: center;
  317. -webkit-align-items: center;
  318. -webkit-box-align: center;
  319. }
  320. /* 水平等列排版(容器左右没缝隙,子元素左右两边自适应) */
  321. .flex-d-center {
  322. justify-content: space-between;
  323. -webkit-justify-content: space-between;
  324. }
  325. /* 水平等列排版(子元素两边有缝隙自己适应) */
  326. .flex-dv-center {
  327. justify-content: space-around;
  328. -webkit-justify-content: space-around;
  329. }
  330. /*通过一起使用 box-align 和 box-pack 属性,对 view 框的子元素进行居中,目前没有浏览器支持box-align 和 box-pack 属性,所以需要加上浏览器内核-webkit,-moz等的简写 */
  331. .flex-center-center {
  332. justify-content: center;
  333. -webkit-justify-content: center;
  334. -moz-justify-content: center;
  335. align-items: center;
  336. -webkit-align-items: center;
  337. -webkit-box-pack: center;
  338. -webkit-box-align: center;
  339. -moz-align-items: center;
  340. -moz-box-pack: center;
  341. -moz-box-align: center;
  342. }
  343. /*对view中的子元素进行居中,并且位于容器的中间位置 水平居中 */
  344. .flex-v-zhu,
  345. .flex-h-zhu {
  346. justify-content: center;
  347. -webkit-justify-content: center;
  348. -webkit-box-pack: center;
  349. }
  350. /*对view中的子元素进行居中,并且位于容器的中间位置 垂直居中 */
  351. .flex-v-ce,
  352. .flex-h-ce {
  353. align-items: center;
  354. -webkit-align-items: center;
  355. -webkit-box-align: center;
  356. }
  357. /*让所有弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容: */
  358. .flex-1 {
  359. -webkit-box-flex: 1;
  360. -moz-box-flex: 1;
  361. -webkit-flex: 1;
  362. -ms-flex: 1;
  363. flex: 1;
  364. }
  365. .flex-2 {
  366. -webkit-box-flex: 2;
  367. box-flex: 2;
  368. -moz-box-flex: 2;
  369. -webkit-flex: 2;
  370. -ms-flex: 2;
  371. flex: 2;
  372. }
  373. .flex-3 {
  374. -webkit-box-flex: 3;
  375. box-flex: 3;
  376. -moz-box-flex: 3;
  377. -webkit-flex: 3;
  378. -ms-flex: 3;
  379. flex: 3;
  380. }
  381. .flex-4 {
  382. -webkit-box-flex: 4;
  383. box-flex: 4;
  384. -moz-box-flex: 4;
  385. -webkit-flex: 4;
  386. -ms-flex: 4;
  387. flex: 4;
  388. }
  389. .flex-5 {
  390. -webkit-box-flex: 5;
  391. box-flex: 5;
  392. -moz-box-flex: 5;
  393. -webkit-flex: 5;
  394. -ms-flex: 5;
  395. flex: 5;
  396. }
  397. .flex-direction-row-reverse {
  398. flex-direction: row-reverse;
  399. -webkit-flex-direction: row-reverse;
  400. }
  401. /*超出部分用....表示的公用样式 */
  402. .font-flex-word {
  403. overflow: hidden;
  404. text-overflow: ellipsis;
  405. white-space: nowrap;
  406. }
  407. .clamp2 {
  408. overflow: hidden;
  409. text-overflow: ellipsis;
  410. word-break: break-all;
  411. display: -webkit-box;
  412. -webkit-line-clamp: 2;
  413. -webkit-box-orient: vertical;
  414. }
  415. .clamp3 {
  416. overflow: hidden;
  417. text-overflow: ellipsis;
  418. word-break: break-all;
  419. display: -webkit-box;
  420. -webkit-line-clamp: 3;
  421. -webkit-box-orient: vertical;
  422. }
  423. /* 内容超出部分自动换行 */
  424. .flex-d-wrap {
  425. flex-wrap: wrap;
  426. }
  427. /* 内容超出部分不换行 */
  428. .flex-no-wrap {
  429. flex-wrap: nowrap;
  430. }
  431. /* 从右边开始排列 */
  432. .flex-box-end {
  433. display: -webkit-box;
  434. display: -moz-box;
  435. display: -ms-flexbox;
  436. display: -webkit-flex;
  437. display: flex;
  438. justify-content: flex-end;
  439. }