index.less 5.0 KB

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