app.acss 7.5 KB

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