爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

274 lines
6.8 KiB

  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .container.data-v-d2c808da {
  27. min-height: 100vh;
  28. background: #f8f8f8;
  29. padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
  30. }
  31. .nav-bar.data-v-d2c808da {
  32. display: flex;
  33. align-items: center;
  34. background: #fff;
  35. padding: 0 30rpx;
  36. position: fixed;
  37. top: 0;
  38. left: 0;
  39. right: 0;
  40. z-index: 999;
  41. }
  42. .nav-bar .back.data-v-d2c808da {
  43. padding: 20rpx;
  44. margin-left: -20rpx;
  45. }
  46. .nav-bar .title.data-v-d2c808da {
  47. flex: 1;
  48. text-align: center;
  49. font-size: 34rpx;
  50. font-weight: 500;
  51. color: #222;
  52. }
  53. .nav-bar .right-btns.data-v-d2c808da {
  54. display: flex;
  55. align-items: center;
  56. gap: 30rpx;
  57. }
  58. .nav-bar .right-btns .more.data-v-d2c808da, .nav-bar .right-btns .target.data-v-d2c808da {
  59. font-size: 40rpx;
  60. color: #333;
  61. }
  62. .address-list.data-v-d2c808da {
  63. padding: 32rpx;
  64. margin-top: calc(38rpx + var(--status-bar-height));
  65. height: calc(100vh - 88rpx - var(--status-bar-height) - 140rpx - env(safe-area-inset-bottom));
  66. box-sizing: border-box;
  67. overflow-y: auto;
  68. -webkit-overflow-scrolling: touch;
  69. }
  70. .address-list .address-item.data-v-d2c808da {
  71. background: #fff;
  72. border-radius: 24rpx;
  73. margin-bottom: 24rpx;
  74. padding: 32rpx 28rpx 0 28rpx;
  75. box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.04);
  76. }
  77. .address-list .address-item .address-header.data-v-d2c808da {
  78. display: flex;
  79. align-items: center;
  80. }
  81. .address-list .address-item .address-header .name.data-v-d2c808da {
  82. font-size: 32rpx;
  83. color: #222;
  84. font-weight: 500;
  85. margin-right: 20rpx;
  86. }
  87. .address-list .address-item .address-header .phone.data-v-d2c808da {
  88. font-size: 32rpx;
  89. color: #222;
  90. }
  91. .address-list .address-item .address-header .default-tag.data-v-d2c808da {
  92. margin-left: 18rpx;
  93. font-size: 24rpx;
  94. color: #FF9500;
  95. border: 1rpx solid #FF9500;
  96. border-radius: 8rpx;
  97. padding: 2rpx 12rpx;
  98. background: #FFF7E6;
  99. vertical-align: middle;
  100. }
  101. .address-list .address-item .address-text.data-v-d2c808da {
  102. font-size: 28rpx;
  103. color: #888;
  104. margin: 16rpx 0 0 0;
  105. line-height: 1.5;
  106. }
  107. .address-list .address-item .dashed-line.data-v-d2c808da {
  108. border-bottom: 1rpx dashed #eee;
  109. margin: 24rpx 0 0 0;
  110. }
  111. .address-list .address-item .address-actions.data-v-d2c808da {
  112. display: flex;
  113. align-items: center;
  114. justify-content: space-around;
  115. padding: 0 0 18rpx 0;
  116. }
  117. .address-list .address-item .address-actions .action.data-v-d2c808da {
  118. display: flex;
  119. align-items: center;
  120. margin-right: 48rpx;
  121. }
  122. .address-list .address-item .address-actions .action .circle.data-v-d2c808da {
  123. width: 36rpx;
  124. height: 36rpx;
  125. border-radius: 50%;
  126. border: 2rpx solid #FF9500;
  127. margin-right: 8rpx;
  128. display: flex;
  129. align-items: center;
  130. justify-content: center;
  131. }
  132. .address-list .address-item .address-actions .action .circle.active.data-v-d2c808da {
  133. background: #FF9500;
  134. border: none;
  135. }
  136. .address-list .address-item .address-actions .action .circle.active .check.data-v-d2c808da {
  137. color: #fff;
  138. font-size: 24rpx;
  139. }
  140. .address-list .address-item .address-actions .action text.data-v-d2c808da {
  141. font-size: 26rpx;
  142. color: #bbb;
  143. }
  144. .address-list .address-item .address-actions .action .active-text.data-v-d2c808da {
  145. color: #FF9500;
  146. }
  147. .bottom-bar.data-v-d2c808da {
  148. position: fixed;
  149. left: 0;
  150. right: 0;
  151. bottom: 0;
  152. background: #fff;
  153. padding: 24rpx 32rpx env(safe-area-inset-bottom);
  154. z-index: 10;
  155. }
  156. .main-btn.data-v-d2c808da {
  157. width: 100%;
  158. height: 90rpx;
  159. background: linear-gradient(90deg, #FFB74D 0%, #FF9500 100%);
  160. color: #fff;
  161. font-size: 32rpx;
  162. border-radius: 45rpx;
  163. font-weight: bold;
  164. margin: 0 auto;
  165. display: flex;
  166. align-items: center;
  167. justify-content: center;
  168. box-shadow: 0 4rpx 16rpx rgba(255, 149, 0, 0.08);
  169. }
  170. .modal-mask.data-v-d2c808da {
  171. position: fixed;
  172. left: 0;
  173. right: 0;
  174. top: 0;
  175. bottom: 0;
  176. background: rgba(0, 0, 0, 0.5);
  177. z-index: 1000;
  178. }
  179. .address-modal.data-v-d2c808da, .region-modal.data-v-d2c808da {
  180. position: fixed;
  181. left: 0;
  182. right: 0;
  183. bottom: 0;
  184. z-index: 1001;
  185. background: #fff;
  186. border-radius: 32rpx 32rpx 0 0;
  187. box-shadow: 0 -4rpx 32rpx rgba(0, 0, 0, 0.08);
  188. padding-bottom: env(safe-area-inset-bottom);
  189. animation: slideUp-d2c808da 0.2s;
  190. }
  191. @keyframes slideUp-d2c808da {
  192. from {
  193. transform: translateY(100%);
  194. }
  195. to {
  196. transform: translateY(0);
  197. }
  198. }
  199. .modal-header.data-v-d2c808da {
  200. display: flex;
  201. align-items: center;
  202. justify-content: space-between;
  203. padding: 32rpx 32rpx 0 32rpx;
  204. }
  205. .modal-header .close-btn.data-v-d2c808da {
  206. color: #bbb;
  207. font-size: 30rpx;
  208. }
  209. .modal-header .modal-title.data-v-d2c808da {
  210. flex: 1;
  211. text-align: center;
  212. font-size: 34rpx;
  213. font-weight: bold;
  214. color: #222;
  215. }
  216. .modal-form.data-v-d2c808da {
  217. padding: 0 32rpx;
  218. }
  219. .modal-form .form-item.data-v-d2c808da {
  220. border-bottom: 1rpx solid #f2f2f2;
  221. padding: 28rpx 0 10rpx 0;
  222. }
  223. .modal-form .form-item .label.data-v-d2c808da {
  224. color: #222;
  225. font-size: 28rpx;
  226. margin-bottom: 8rpx;
  227. }
  228. .modal-form .form-item .input.data-v-d2c808da, .modal-form .form-item .region-input.data-v-d2c808da {
  229. width: 100%;
  230. font-size: 28rpx;
  231. color: #222;
  232. background: none;
  233. border: none;
  234. outline: none;
  235. }
  236. .modal-form .form-item .input.placeholder.data-v-d2c808da, .modal-form .form-item .region-input.placeholder.data-v-d2c808da {
  237. color: #ccc;
  238. }
  239. .modal-form .form-item .region-input.data-v-d2c808da {
  240. display: flex;
  241. align-items: center;
  242. justify-content: space-between;
  243. }
  244. .modal-form .form-item .arrow.data-v-d2c808da {
  245. color: #ccc;
  246. font-size: 28rpx;
  247. margin-left: 10rpx;
  248. }
  249. .region-picker.data-v-d2c808da {
  250. padding: 32rpx 0 0 0;
  251. }
  252. .region-picker .picker-view.data-v-d2c808da {
  253. width: 100%;
  254. height: 300rpx;
  255. display: flex;
  256. justify-content: center;
  257. align-items: center;
  258. }
  259. .region-picker .picker-view .active.data-v-d2c808da {
  260. color: #222;
  261. font-weight: bold;
  262. }
  263. .region-picker .picker-view view.data-v-d2c808da {
  264. color: #ccc;
  265. font-size: 28rpx;
  266. text-align: center;
  267. }
  268. .region-picker .item.data-v-d2c808da {
  269. text-align: center;
  270. display: flex;
  271. align-items: center;
  272. justify-content: center;
  273. font-size: 30rpx;
  274. color: #222;
  275. }