common.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. // 全局公共样式
  2. .content{
  3. background: $ac-bgc;
  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{
  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 $uni-border-color;
  91. padding-bottom: 10rpx;
  92. }
  93. // 边线相关end
  94. // 颜色相关start
  95. .red{
  96. background: red;
  97. }
  98. .yellow{
  99. background:yellow;
  100. }
  101. .btn-color{
  102. background: #2772FB!important;
  103. color: white!important;
  104. }
  105. .h-color{
  106. color: #FE6300;
  107. }
  108. .number-color{
  109. color:#2772FB;
  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. // 文字相关end
  155. // 边线相关start
  156. .noborder{
  157. border-bottom: none!important;
  158. }
  159. // 边线相关start
  160. // other
  161. .ssx{
  162. width: 40rpx;
  163. height: 40rpx;
  164. background: linear-gradient(180deg, #C8D7E5 0%, #AFC1D6 100%);
  165. font-size: 26rpx;
  166. font-family: PingFangSC-Medium, PingFang SC;
  167. font-weight: 500;
  168. color: #FFFFFF;
  169. border-radius: 50%;
  170. display: flex;
  171. justify-content: center;
  172. align-items: center;
  173. margin-right: 10rpx;
  174. }
  175. .row-tips{
  176. font-size: 26rpx;
  177. font-weight: 400;
  178. color: #FE7F1A;
  179. background: #FFEEE1;
  180. padding: 4rpx 11rpx;
  181. border-radius: 4px;
  182. }
  183. .xj-image{
  184. width:46rpx;
  185. height: 46rpx;
  186. }
  187. /deep/.u-modal__content__text{
  188. text-align: center;
  189. }
  190. .preview-img{
  191. margin-top: 20rpx;
  192. width: 212rpx;
  193. height: 212rpx;
  194. border-radius: 10rpx;
  195. }
  196. .uview-upload{
  197. margin-top: 20rpx;
  198. }
  199. .card-img{
  200. width: 100%;
  201. height: 440rpx;
  202. }