app.acss 5.9 KB

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