app.acss 7.7 KB

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