app.acss 6.6 KB

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