app.acss 6.9 KB

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