app.acss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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: #606266 !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 #C0C4CC #C0C4CC;
  93. -webkit-transform: rotate(-45deg);
  94. transform: rotate(-45deg);
  95. opacity: .8;
  96. content: '';
  97. }
  98. .tab .activeView{
  99. color: #26a2ff;
  100. }
  101. .tab .activeView::after {
  102. margin-top: -0.02rem;
  103. -webkit-transform: rotate(135deg);
  104. transform: rotate(135deg);
  105. border-color: transparent transparent #26a2ff #26a2ff;
  106. }
  107. .windows {
  108. position: fixed;
  109. top: 0px;
  110. left: 0px;
  111. right: 0px;
  112. bottom: 0px;
  113. background: rgba(0, 0, 0, 0.4);
  114. z-index: 999;
  115. }
  116. .meng{
  117. position: fixed;
  118. bottom: 0;
  119. background-color: rgba(0,0,0,.5);
  120. left: 0;
  121. right: 0;
  122. top: 80rpx;
  123. }
  124. /* 弹窗过程 */
  125. .showPop {
  126. animation: showLayer 0.2s linear both;
  127. }
  128. @keyframes showLayer {
  129. 0% {
  130. transform: translateY(-100%);
  131. }
  132. 100% {
  133. transform: translateY(0%);
  134. }
  135. }
  136. /* 带字体背景颜色 */
  137. .redBox {
  138. border-radius: 6rpx;
  139. background: rgba(245, 108, 108, 0.1);
  140. color: #F56C6C;
  141. font-size: 28rpx;
  142. padding: 0 6rpx;
  143. }
  144. .greenBox {
  145. border-radius: 6rpx;
  146. background: rgba(103, 194, 58, 0.1);
  147. color: #67C23A;
  148. font-size: 28rpx;
  149. padding: 0 6rpx;
  150. }
  151. .yellowBox {
  152. border-radius: 6rpx;
  153. background: rgba(230, 162, 60, 0.1);
  154. color: #E6A23C;
  155. font-size: 28rpx;
  156. padding: 0 6rpx;
  157. }
  158. .blueBox {
  159. border-radius: 6rpx;
  160. background: rgba(238, 162, 255, 0.1);
  161. color: #26A2FF;
  162. font-size: 28rpx;
  163. padding: 0 6rpx;
  164. }
  165. .margin-bottom {
  166. margin-bottom: 24rpx;
  167. }
  168. .margin-top {
  169. margin-top: 24rpx;
  170. }
  171. .defBtn {
  172. background: #26A2FF;
  173. color: #fff;
  174. }
  175. .border-bottom {
  176. border-bottom: 1px solid #f1f1f1;
  177. }
  178. .text-right {
  179. text-align: right;
  180. }
  181. .text-left {
  182. text-align: left;
  183. }
  184. .noDatas{
  185. text-align: center;
  186. padding: 16rpx 0;
  187. color: #909399
  188. }
  189. /* 盒子模型 */
  190. .flex-box {
  191. display: -webkit-box;
  192. display: -moz-box;
  193. display: -ms-flexbox;
  194. display: -webkit-flex;
  195. display: flex;
  196. }
  197. /*盒子模型,竖向自适应,垂直排列 */
  198. .flex-box-v {
  199. display: -webkit-box;
  200. display: -webkit-flex;
  201. display: flex;
  202. -webkit-box-orient: vertical;
  203. -webkit-flex-flow: column;
  204. flex-flow: column !important;
  205. }
  206. /* 水平等列排版(容器左右没缝隙,子元素左右两边自适应) */
  207. .flex-d-center {
  208. justify-content: space-between;
  209. -webkit-justify-content: space-between;
  210. }
  211. /* 水平等列排版(子元素两边有缝隙自己适应) */
  212. .flex-dv-center {
  213. justify-content: space-around;
  214. -webkit-justify-content: space-around;
  215. }
  216. /*通过一起使用 box-align 和 box-pack 属性,对 view 框的子元素进行居中,目前没有浏览器支持box-align 和 box-pack 属性,所以需要加上浏览器内核-webkit,-moz等的简写 */
  217. .flex-center-center {
  218. justify-content: center;
  219. -webkit-justify-content: center;
  220. -moz-justify-content: center;
  221. align-items: center;
  222. -webkit-align-items: center;
  223. -webkit-box-pack: center;
  224. -webkit-box-align: center;
  225. -moz-align-items: center;
  226. -moz-box-pack: center;
  227. -moz-box-align: center;
  228. }
  229. /*对view中的子元素进行居中,并且位于容器的中间位置(flex-box水平;flex-box-v垂直) */
  230. .flex-v-zhu, .flex-h-zhu {
  231. justify-content: center;
  232. -webkit-justify-content: center;
  233. -webkit-box-pack: center;
  234. }
  235. /*对view中的子元素进行居中,并且位于容器的中间位置(flex-box垂直;flex-box-v水平) */
  236. .flex-v-ce, .flex-h-ce {
  237. align-items: center;
  238. -webkit-align-items: center;
  239. -webkit-box-align: center;
  240. }
  241. /*让所有弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容: */
  242. .flex-1 {
  243. -webkit-box-flex: 1;
  244. -moz-box-flex: 1;
  245. -webkit-flex: 1;
  246. -ms-flex: 1;
  247. flex: 1;
  248. }
  249. .flex-2 {
  250. -webkit-box-flex: 2;
  251. box-flex: 2;
  252. -moz-box-flex: 2;
  253. -webkit-flex: 2;
  254. -ms-flex: 2;
  255. flex: 2;
  256. }
  257. .flex-3 {
  258. -webkit-box-flex: 3;
  259. box-flex: 3;
  260. -moz-box-flex: 3;
  261. -webkit-flex: 3;
  262. -ms-flex: 3;
  263. flex: 3;
  264. }
  265. .flex-4 {
  266. -webkit-box-flex: 4;
  267. box-flex: 4;
  268. -moz-box-flex: 4;
  269. -webkit-flex: 4;
  270. -ms-flex: 4;
  271. flex: 4;
  272. }
  273. .flex-5 {
  274. -webkit-box-flex: 5;
  275. box-flex: 5;
  276. -moz-box-flex: 5;
  277. -webkit-flex: 5;
  278. -ms-flex: 5;
  279. flex: 5;
  280. }
  281. .flex-direction-row-reverse {
  282. flex-direction: row-reverse;
  283. -webkit-flex-direction: row-reverse;
  284. }
  285. /*超出部分用....表示的公用样式 */
  286. .font-flex-word {
  287. overflow: hidden;
  288. text-overflow: ellipsis;
  289. white-space: nowrap;
  290. }
  291. /* 内容超出部分自动换行 */
  292. .flex-d-wrap {
  293. flex-wrap: wrap;
  294. }
  295. /* 内容超出部分不换行 */
  296. .flex-no-wrap {
  297. flex-wrap: nowrap;
  298. }
  299. /* 从右边开始排列 */
  300. .flex-box-end {
  301. display: -webkit-box;
  302. display: -moz-box;
  303. display: -ms-flexbox;
  304. display: -webkit-flex;
  305. display: flex;
  306. justify-content: flex-end;
  307. }