index.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /* pages/address/index.wxss */
  2. .container {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .record-list {
  9. flex: 1;
  10. overflow-y: scroll;
  11. box-sizing: border-box;
  12. }
  13. .address-list {
  14. padding: 40rpx 26rpx 0;
  15. }
  16. .address-item {
  17. padding: 24rpx 24rpx 16rpx;
  18. background: #fff;
  19. border-radius: 20rpx;
  20. border: 2rpx solid #fff;
  21. margin-bottom: 22rpx;
  22. &.active {
  23. border: 2rpx solid rgba(254, 36, 81, 0.7);
  24. background: #FFF4F6;
  25. }
  26. .item-title {
  27. font-size: 26rpx;
  28. color: rgba(0, 0, 0, 0.5);
  29. line-height: 36rpx;
  30. }
  31. .detailAddress {
  32. padding: 16rpx 0;
  33. font-weight: 600;
  34. font-size: 32rpx;
  35. color: #131415;
  36. line-height: 48rpx;
  37. }
  38. .item-users {
  39. display: flex;
  40. justify-content: space-between;
  41. .item-user {
  42. font-size: 26rpx;
  43. color: rgba(0, 0, 0, 0.5);
  44. line-height: 36rpx;
  45. text {
  46. padding-right: 16rpx;
  47. }
  48. }
  49. }
  50. .item-btn-group {
  51. display: flex;
  52. flex: 1;
  53. justify-content: flex-end;
  54. margin-top: 24rpx;
  55. padding-top: 16rpx;
  56. border-top: 2rpx solid rgba(0, 0, 0, 0.06);
  57. .btn {
  58. width: 104rpx;
  59. padding: 0 !important;
  60. margin: 0 0 0 24rpx !important;
  61. line-height: 46rpx;
  62. border-radius: 46rpx;
  63. font-weight: 400;
  64. font-size: 24rpx;
  65. color: #333333;
  66. background-color: #fff;
  67. border-radius: 24rpx;
  68. border: 1rpx solid #DCDCDC;
  69. }
  70. .update-btn {
  71. background: #fff;
  72. color: #FE2451;
  73. border: 1rpx solid #FE2451;
  74. }
  75. }
  76. }
  77. .dialog-section {
  78. width: 552rpx;
  79. background: linear-gradient(180deg, #FFDEE7 0%, #FFFFFF 19%, #FFFFFF 100%);
  80. border-radius: 32rpx;
  81. padding: 40rpx;
  82. box-sizing: border-box;
  83. .dialog-title {
  84. text-align: center;
  85. font-weight: 600;
  86. font-size: 36rpx;
  87. color: #000000;
  88. line-height: 50rpx;
  89. }
  90. .dialog-content {
  91. padding: 40rpx 0 50rpx;
  92. font-size: 32rpx;
  93. color: #777777;
  94. line-height: 44rpx;
  95. text-align: center;
  96. }
  97. .dialog-btn-group {
  98. display: flex;
  99. align-items: center;
  100. .btn {
  101. flex: 1;
  102. text-align: center;
  103. line-height: 68rpx;
  104. background: #F4F4F5;
  105. border-radius: 36rpx;
  106. font-size: 28rpx;
  107. color: #131415;
  108. }
  109. .del-btn {
  110. margin-left: 32rpx;
  111. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  112. border-radius: 36rpx;
  113. border: 2rpx solid #FE2451;
  114. color: #FFFFFF;
  115. }
  116. }
  117. }
  118. .empty-box {
  119. position: absolute;
  120. left: 50%;
  121. top: 50%;
  122. transform: translate(-50%, -80%);
  123. font-size: 32rpx;
  124. font-family: PingFangSC-Regular, PingFang SC;
  125. font-weight: 400;
  126. color: #999999;
  127. image {
  128. width: 436rpx;
  129. height: 364rpx;
  130. }
  131. .empty-text {
  132. font-size: 28rpx;
  133. color: #777777;
  134. line-height: 40rpx;
  135. text-align: center;
  136. padding-top: 24rpx;
  137. }
  138. }
  139. .pop-btn-list {
  140. padding: 24rpx 32rpx 58rpx;
  141. box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0;
  142. background-color: #fff;
  143. .submit-btn {
  144. width: 100% !important;
  145. margin: 0 !important;
  146. padding: 0 !important;
  147. line-height: 88rpx;
  148. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  149. border-radius: 88rpx;
  150. font-weight: 500;
  151. font-size: 32rpx;
  152. color: #fff;
  153. }
  154. }
  155. .van-picker__toolbar,
  156. .toolbar-top {
  157. margin: 0 40rpx !important;
  158. padding: 0 14rpx !important;
  159. border-bottom: 2rpx solid #F2F2F2;
  160. height: auto !important;
  161. line-height: normal !important;
  162. }
  163. .van-picker__cancel,
  164. .van-picker__confirm,
  165. .toolbar-cancel,
  166. toolbar-confirm {
  167. font-size: 32rpx !important;
  168. padding: 28rpx 0 !important;
  169. color: #777777 !important;
  170. }
  171. .van-picker__confirm,
  172. .toolbar-confirm {
  173. color: #FE2451 !important;
  174. }
  175. .toolbar-top {
  176. display: flex;
  177. align-items: center;
  178. justify-content: space-between;
  179. }
  180. .addressContainer {
  181. background: linear-gradient(180deg, #FFDEE7 0%, #FFFFFF 12%, #FFFFFF 100%);
  182. border-radius: 32rpx 32rpx 0rpx 0rpx;
  183. height: 928rpx;
  184. display: flex;
  185. flex-direction: column;
  186. .icon-close {
  187. position: absolute;
  188. z-index: 2;
  189. top: 28rpx;
  190. right: 12rpx;
  191. padding: 20rpx;
  192. width: 30rpx;
  193. height: 30rpx;
  194. }
  195. .pop-address-title {
  196. position: relative;
  197. z-index: 1;
  198. text-align: center;
  199. padding-top: 36rpx;
  200. padding-bottom: 20rpx;
  201. font-weight: 600;
  202. font-size: 36rpx;
  203. color: #131415;
  204. line-height: 50rpx;
  205. }
  206. .cell-group {
  207. flex: 1 auto;
  208. .van-cell {
  209. padding: 36rpx 40rpx;
  210. font-size: 30rpx;
  211. }
  212. .van-field__label {
  213. color: #666666;
  214. }
  215. .van-icon-arrow {
  216. color: #BFBFBF;
  217. }
  218. .textarea {
  219. max-height: 72rpx;
  220. }
  221. }
  222. .van-picker-column__item--selected {
  223. font-weight: 600;
  224. font-size: 32rpx;
  225. color: #6D4718 !important;
  226. }
  227. .pop-btn-group {
  228. padding: 32rpx 32rpx 58rpx;
  229. }
  230. .submit-btn {
  231. width: 100% !important;
  232. margin: 0 !important;
  233. padding: 0 !important;
  234. line-height: 88rpx;
  235. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  236. border-radius: 88rpx;
  237. font-weight: 500;
  238. font-size: 32rpx;
  239. color: #fff;
  240. }
  241. }