customized.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. @import './iconfont.wxss';
  2. .iconfont {
  3. font-family: "iconfont" !important;
  4. font-size: 36rpx;
  5. font-style: normal;
  6. -webkit-font-smoothing: antialiased;
  7. -moz-osx-font-smoothing: grayscale;
  8. }
  9. /* 通用 */
  10. page{
  11. color: #333;
  12. }
  13. .auto{
  14. margin:0 20rpx;
  15. }
  16. /* flex布局 */
  17. .f-box{
  18. display: flex;
  19. display: -webkit-flex; /* Safari */
  20. }
  21. .f-item {
  22. flex-grow: 1; /* default 0 */
  23. }
  24. .bg-white{
  25. background:white;
  26. }
  27. /* 排列方向 */
  28. .f-direction-row{
  29. flex-direction: row/*主轴为水平方向,起点在左端。*/
  30. }
  31. .f-direction-row-reverse{
  32. flex-direction: row-reverse;/*主轴为水平方向,起点在右端。*/
  33. }
  34. .f-direction-column{
  35. flex-direction: column;/*主轴为垂直方向,起点在上端。*/
  36. }
  37. .f-direction-column-reverse{
  38. flex-direction: column-reverse;/*主轴为垂直方向,起点在下端。*/
  39. }
  40. /*水平 对齐方向 */
  41. .f-justify-content-start{
  42. justify-content: flex-start; /* 向左对齐 */
  43. }
  44. .f-justify-content-end{
  45. justify-content: flex-end; /* 向右对齐 */
  46. }
  47. .f-justify-content-center{
  48. justify-content: center; /* 居中对齐 */
  49. }
  50. .f-justify-content-between{
  51. justify-content: space-between; /*两端对齐*/
  52. }
  53. .f-justify-content-around{
  54. justify-content: space-around; /* 距离等比 */
  55. }
  56. /* 交叉轴对齐方向 */
  57. .f-align-items-start{
  58. align-items: flex-start
  59. }
  60. .f-align-items-end{
  61. align-items: flex-end
  62. }
  63. .f-align-items-center{
  64. align-items:center;
  65. }
  66. .f-align-items-baseline{
  67. align-items: baseline; /*项目的第一行文字的基线对齐。*/
  68. }
  69. .f-align-items-stretch{
  70. align-items: stretch; /*如果项目未设置高度或设为auto,将占满整个容器的高度。*/
  71. }
  72. .f-flex-wrap{
  73. flex-wrap:wrap;
  74. }
  75. /* color */
  76. .c-green{
  77. color:#00af66
  78. }
  79. .c-orange{
  80. color:#e8976a;
  81. }
  82. .c-white{
  83. color:white
  84. }
  85. .c-black{
  86. color:black;
  87. }
  88. .c-666{
  89. color:#666;
  90. }
  91. .c-999{
  92. color:#999
  93. }
  94. .c-333{
  95. color:#333;
  96. }
  97. .bg-orange{
  98. background:#e8976a;
  99. }
  100. .bg-green{
  101. background:#00af66;
  102. }
  103. /* 通用样式 */
  104. .t-right{
  105. text-align: right
  106. }
  107. .f-s26{
  108. font-size:26rpx;
  109. }
  110. .f-s28{
  111. font-size:28rpx;
  112. }
  113. .f-s30{
  114. font-size:30rpx;
  115. }
  116. .f-s32{
  117. font-size:32rpx;
  118. }
  119. .f-s34{
  120. font-size:34rpx;
  121. }
  122. .f-s36{
  123. font-size:36rpx;
  124. }
  125. .mar-l20{
  126. margin-left:20rpx;
  127. }
  128. .mar-t20{
  129. margin-top:20rpx;
  130. }
  131. .mar-b20{
  132. margin-bottom:20rpx;
  133. }
  134. .mar-r20{
  135. margin-right:20rpx;
  136. }
  137. .pad-l20{
  138. padding-left:20rpx;
  139. }
  140. .pad-t20{
  141. padding-top:20rpx;
  142. }
  143. .pad-b20{
  144. padding-bottom:20rpx;
  145. }
  146. .pad-r20{
  147. padding-right:20rpx;
  148. }
  149. /* 公用样式 */
  150. .public-prompt{
  151. width:100%;
  152. line-height:72rpx;
  153. text-align: center;
  154. background:#edecf1;
  155. color:#626262;
  156. font-size:24rpx;
  157. position:fixed;
  158. bottom: 92rpx;
  159. z-index:10;
  160. }
  161. /* footer */
  162. .footer{
  163. padding-bottom:120rpx;
  164. }
  165. .footer-box{
  166. position: fixed;
  167. bottom:0;
  168. left:0;
  169. width:100%;
  170. height:100rpx;
  171. line-height:100rpx;
  172. background:#fff;
  173. font-size:30rpx;
  174. z-index:10;
  175. }