common.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. /* flex */
  2. .center {
  3. display: flex;
  4. justify-content: center;
  5. align-items: center;
  6. }
  7. .flex1 {
  8. display: flex;
  9. justify-content: space-between;
  10. align-items: center;
  11. }
  12. .flex_l {
  13. display: flex;
  14. justify-content: flex-start;
  15. align-items: center;
  16. }
  17. .flex_r {
  18. display: flex;
  19. justify-content: flex-end;
  20. align-items: center;
  21. }
  22. .flex {
  23. display: flex;
  24. }
  25. .flex-center {
  26. justify-content: center;
  27. }
  28. .flex-around {
  29. justify-content: space-around;
  30. }
  31. .flex-between {
  32. justify-content: space-between;
  33. }
  34. .flex-top {
  35. align-items: flex-start;
  36. }
  37. .flex-middle {
  38. align-items: center;
  39. }
  40. .flex-bottom {
  41. align-items: flex-end;
  42. }
  43. .flex-column {
  44. flex-direction: column;
  45. }
  46. .flex-wrap {
  47. flex-wrap: wrap;
  48. }
  49. .flex_1 {
  50. flex: 1;
  51. }
  52. /* 其他 */
  53. .relative {
  54. position: relative;
  55. }
  56. .absolute {
  57. position: absolute;
  58. }
  59. .fixed {
  60. position: fixed;
  61. }
  62. .fixed-bottom {
  63. position: fixed;
  64. bottom: 0;
  65. left: 0;
  66. right: 0;
  67. }
  68. .block {
  69. display: block;
  70. }
  71. .hide {
  72. display: none;
  73. }
  74. .show {
  75. display: block;
  76. }
  77. .autowrap {
  78. word-wrap: break-word;
  79. word-break: normal;
  80. }
  81. .text-left {
  82. text-align: left;
  83. }
  84. .text-center {
  85. text-align: center;
  86. }
  87. .text-right {
  88. text-align: right;
  89. }
  90. .bold {
  91. font-weight: 600;
  92. }
  93. .over-hidden {
  94. overflow: hidden;
  95. }
  96. .bold {
  97. font-weight: 700;
  98. }
  99. .right {
  100. float: right;
  101. }
  102. .left {
  103. float: left;
  104. }
  105. view {
  106. box-sizing: border-box;
  107. }
  108. .text-ellipsis {
  109. white-space: nowrap;
  110. /*把文本强制显示在一行*/
  111. overflow: hidden;
  112. /*隐藏超出部分的文字*/
  113. text-overflow: ellipsis;
  114. /*超出显示省略号*/
  115. }
  116. .fixed-btn {
  117. position: fixed;
  118. width: 90rpx;
  119. height: 90rpx;
  120. bottom: 50rpx;
  121. right: 50rpx;
  122. background: #3e7ef8;
  123. border-radius: 50%;
  124. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  125. }
  126. .mr20 {
  127. margin-right: 20rpx;
  128. }
  129. // 选择组件
  130. .select-header {
  131. line-height: 50rpx;
  132. display: flex;
  133. align-items: center;
  134. justify-content: space-between;
  135. padding: 0px 30rpx;
  136. .tit {
  137. font-size: 26rpx;
  138. font-weight: bold;
  139. padding: 30rpx 0 0 30rpx;
  140. }
  141. .save-btn {
  142. text-align: center;
  143. line-height: 60rpx;
  144. border-radius: 12rpx;
  145. width: 100rpx;
  146. height: 60rpx;
  147. font-size: 26rpx;
  148. margin: 0 0 0 12rpx;
  149. background: $u-primary;
  150. color: #ffffff;
  151. }
  152. }
  153. .form-item {
  154. padding-bottom: 30rpx;
  155. .form-label {
  156. font-size: 30rpx;
  157. font-weight: bold;
  158. color: #323232;
  159. padding-bottom: 18rpx;
  160. .label-tag {
  161. width: 15rpx;
  162. height: 15rpx;
  163. background: #ff4d4f;
  164. border-radius: 50%;
  165. margin-right: 10rpx;
  166. }
  167. }
  168. }
  169. .data-list {
  170. .info-item {
  171. .label {
  172. min-width: 130rpx;
  173. }
  174. }
  175. }
  176. .form-label {
  177. font-size: 30rpx;
  178. font-weight: bold;
  179. color: #323232;
  180. padding-bottom: 18rpx;
  181. .label-tag {
  182. width: 15rpx;
  183. height: 15rpx;
  184. background: #ff4d4f;
  185. border-radius: 50%;
  186. margin-right: 10rpx;
  187. }
  188. }
  189. .disabledBtn {
  190. background: #ccc !important;
  191. }
  192. .mb5 {
  193. margin-bottom: 5px;
  194. }
  195. .filter-popup {
  196. background: rgba(0, 0, 0, 0.8);
  197. position: fixed;
  198. width: 100%;
  199. height: 100%;
  200. left: 0;
  201. z-index: 1;
  202. .filter-wrap {
  203. width: 100%;
  204. padding: 20rpx;
  205. background: #ffffff;
  206. .filter-item {
  207. padding-bottom: 30rpx;
  208. .tit {
  209. font-size: 26rpx;
  210. color: #323232;
  211. font-weight: bold;
  212. padding-bottom: 20rpx;
  213. }
  214. .menu-list {
  215. display: flex;
  216. flex-wrap: wrap;
  217. .menu-item {
  218. margin-right: 40rpx;
  219. margin-bottom: 20rpx;
  220. }
  221. }
  222. }
  223. }
  224. .btn-box {
  225. width: 698rpx;
  226. height: 75px;
  227. display: flex;
  228. align-items: center;
  229. justify-content: space-between;
  230. >view {
  231. width: 320rpx;
  232. height: 40px;
  233. border-radius: 40px;
  234. border: solid 1rpx #ec652b;
  235. align-items: center;
  236. justify-content: center;
  237. text-align: center;
  238. line-height: 40px;
  239. }
  240. .reset {
  241. color: #ec652b;
  242. }
  243. .submit {
  244. color: #fff;
  245. background-color: #ec652b;
  246. }
  247. }
  248. }