app.acss 8.3 KB

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