index.less 5.8 KB

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