customized.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. background: #fff;
  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. /* color */
  73. .c-green{
  74. color:#00af66
  75. }
  76. .c-orange{
  77. color:#e8976a;
  78. }
  79. .c-white{
  80. color:white
  81. }
  82. .c-black{
  83. color:black;
  84. }
  85. .bg-orange{
  86. background:#e8976a;
  87. }
  88. .bg-green{
  89. background:#00af66;
  90. }
  91. /* 通用样式 */
  92. .t-right{
  93. text-align: right
  94. }
  95. .f-s26{
  96. font-size:26rpx;
  97. }
  98. .f-s28{
  99. font-size:28rpx;
  100. }
  101. .f-s30{
  102. font-size:30rpx;
  103. }
  104. .f-s32{
  105. font-size:32rpx;
  106. }
  107. .f-s36{
  108. font-size:36rpx;
  109. }
  110. .mar-l20{
  111. margin-left:20rpx;
  112. }
  113. .mar-t20{
  114. margin-top:20rpx;
  115. }
  116. .mar-b20{
  117. margin-bottom:20rpx;
  118. }
  119. .mar-r20{
  120. margin-right:20rpx;
  121. }
  122. /* 公用样式 */
  123. .public-prompt{
  124. width:100%;
  125. line-height:72rpx;
  126. text-align: center;
  127. background:#edecf1;
  128. color:#626262;
  129. font-size:24rpx;
  130. position:fixed;
  131. bottom: 92rpx;
  132. z-index:10;
  133. }