index.less 5.9 KB

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