common.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. // 全局公共样式
  2. .content{
  3. background:#F7F8FA;
  4. // padding:$uni-spacing-row-base;
  5. overflow: hidden;
  6. position: relative;
  7. }
  8. // 常用公共样式
  9. // 布局相关 start
  10. .flex{
  11. display: flex;
  12. }
  13. .align-center,.items-center{
  14. align-items: center;
  15. }
  16. .inline-block{
  17. display: inline-block;
  18. }
  19. .s-row{
  20. display: flex;
  21. flex-direction: column;
  22. }
  23. .flex-center{
  24. justify-content: center;
  25. align-items: center;
  26. }
  27. .flex-space-between{
  28. justify-content: space-between;
  29. align-items: center;
  30. }
  31. .flex-space-around{
  32. justify-content: space-around;
  33. align-items: center;
  34. }
  35. .flex-space-evenly{
  36. justify-content: space-evenly;
  37. align-items: center;
  38. }
  39. .flex-end{
  40. justify-content: flex-end;
  41. }
  42. .flex-start{
  43. justify-content: flex-start;
  44. }
  45. .m-top20{
  46. margin-top: 20rpx;
  47. }
  48. .paddingr20{
  49. padding:20rpx;
  50. }
  51. .paddingr35{
  52. padding:35rpx;
  53. }
  54. .lr-paddingr20{
  55. padding: 0 20rpx;
  56. }
  57. .fixed{
  58. position: fixed;
  59. }
  60. .row-between{
  61. display: flex;
  62. justify-content: space-between;
  63. }
  64. .content-other{
  65. background: white;
  66. padding:10rpx 20rpx;
  67. border-radius: 10rpx;
  68. }
  69. .width100{
  70. width: 100%;
  71. }
  72. .mr20{
  73. margin-right: 20rpx;
  74. }
  75. .ml20{
  76. margin-left: 20rpx;
  77. }
  78. .msx20{
  79. margin:20rpx 0;
  80. }
  81. .mt20{
  82. margin-top:20rpx;
  83. }
  84. .text-align-right{
  85. text-align: right;
  86. }
  87. // 布局相关 end
  88. // 边线相关start
  89. .border-bottom{
  90. border-bottom: 1px solid #EEEEEE;
  91. padding-bottom: 30rpx;
  92. }
  93. // 边线相关end
  94. // 颜色相关start
  95. .red{
  96. background: red;
  97. }
  98. .yellow{
  99. background:yellow;
  100. }
  101. .btn-color{
  102. background: #F5BA3C!important;
  103. color: white!important;
  104. }
  105. .h-color{
  106. color: #FE6300;
  107. }
  108. .number-color{
  109. color:#F5BA3C;
  110. }
  111. // 颜色相关end
  112. // 文字相关start
  113. .level2-title{
  114. font-size: 32rpx;
  115. font-weight: 700;
  116. color: #000000;
  117. }
  118. .fontsize-24{
  119. font-size: 24rpx;
  120. }
  121. .fontsize-25{
  122. font-size: 25rpx;
  123. }
  124. .fontsize-26{
  125. font-size: 26rpx;
  126. }
  127. .fontsize-28{
  128. font-size: 28rpx;
  129. }
  130. .fontsize-36{
  131. font-size: 36rpx!important;
  132. }
  133. .fontsize-46{
  134. font-size: 46rpx;
  135. }
  136. .gray{
  137. color: #BBBBBB;
  138. }
  139. .fontweight-500{
  140. font-weight: 500;
  141. }
  142. .point{
  143. text-overflow: ellipsis;
  144. overflow: hidden;
  145. white-space: nowrap;
  146. }
  147. .row-left-text{
  148. font-size:28rpx;
  149. // color: #8F8F8F;
  150. }
  151. .row-right-text{
  152. font-size:28rpx;
  153. }
  154. .ytg-color{
  155. color: #0CBB6B;
  156. }
  157. .shz-color{
  158. color:#FE6300;
  159. }
  160. .wtg-color{
  161. color:#EF4034;
  162. }
  163. .ygq-color{
  164. color: #878787;
  165. }
  166. // 文字相关end
  167. // 边线相关start
  168. .noborder{
  169. border-bottom: none!important;
  170. }
  171. // 边线相关start
  172. // other
  173. .ssx{
  174. width: 40rpx;
  175. height: 40rpx;
  176. background: linear-gradient(180deg, #C8D7E5 0%, #AFC1D6 100%);
  177. font-size: 26rpx;
  178. font-family: PingFangSC-Medium, PingFang SC;
  179. font-weight: 500;
  180. color: #FFFFFF;
  181. border-radius: 50%;
  182. display: flex;
  183. justify-content: center;
  184. align-items: center;
  185. margin-right: 10rpx;
  186. }
  187. .row-tips{
  188. font-size: 26rpx;
  189. font-weight: 400;
  190. color: #FE7F1A;
  191. background: #FFEEE1;
  192. padding: 4rpx 11rpx;
  193. border-radius: 4px;
  194. }
  195. .xj-image{
  196. width:46rpx;
  197. height: 46rpx;
  198. }
  199. /deep/.u-modal__content__text{
  200. text-align: center;
  201. }
  202. .preview-img{
  203. margin-top: 20rpx;
  204. width: 212rpx;
  205. height: 212rpx;
  206. border-radius: 10rpx;
  207. }
  208. .uview-upload{
  209. margin-top: 20rpx;
  210. }
  211. .card-img{
  212. width: 100%;
  213. height: 440rpx;
  214. }