index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /* pages/address/index.wxss */
  2. .container {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. --popup-round-border-radius: 20rpx !important;
  8. position: relative;
  9. &::before {
  10. content: '';
  11. position: absolute;
  12. top: 0;
  13. left: 0;
  14. right: 0;
  15. height: 254rpx;
  16. background: linear-gradient(180deg, #FDEC00 0%, #FAD400 100%);
  17. }
  18. }
  19. .record-list {
  20. flex: 1;
  21. overflow-y: scroll;
  22. box-sizing: border-box;
  23. }
  24. .address-list {
  25. padding: 24rpx 26rpx;
  26. }
  27. .address-item {
  28. padding: 28rpx 24rpx 16rpx;
  29. background: #fff;
  30. border-radius: 20rpx;
  31. border: 2rpx solid #fff;
  32. margin-bottom: 22rpx;
  33. &:last-child {
  34. margin-bottom: 0;
  35. }
  36. // &.active {
  37. // border: 2rpx solid rgba(254, 36, 81, 0.7);
  38. // background: #FFF4F6;
  39. // }
  40. .item-title {
  41. font-size: 26rpx;
  42. color: rgba(0, 0, 0, 0.5);
  43. line-height: 36rpx;
  44. }
  45. .detailAddress {
  46. padding-top: 16rpx;
  47. font-size: 28rpx;
  48. color: #131415;
  49. line-height: 40rpx;
  50. word-break: break-all;
  51. }
  52. .item-users {
  53. display: flex;
  54. align-items: center;
  55. // justify-content: space-between;
  56. .iconChecked {
  57. width: 32rpx;
  58. height: 32rpx;
  59. margin-right: 8rpx;
  60. flex-shrink: 0;
  61. }
  62. .item-user {
  63. font-size: 28rpx;
  64. color: #333;
  65. line-height: 36rpx;
  66. font-weight: bold;
  67. display: flex;
  68. align-items: center;
  69. .username {
  70. max-width: 200rpx;
  71. white-space: nowrap;
  72. overflow: hidden;
  73. display: block;
  74. text-overflow: ellipsis;
  75. }
  76. text {
  77. padding-right: 8rpx;
  78. &:last-child {
  79. font-weight: 400;
  80. color: #777777;
  81. }
  82. }
  83. }
  84. }
  85. .item-btn-group {
  86. display: flex;
  87. flex: 1;
  88. justify-content: flex-end;
  89. margin-top: 24rpx;
  90. // border-top: 2rpx solid rgba(0, 0, 0, 0.06);
  91. .btn {
  92. width: 104rpx;
  93. padding: 0 !important;
  94. margin: 0 0 0 16rpx !important;
  95. line-height: 46rpx;
  96. border-radius: 46rpx;
  97. font-weight: 400;
  98. font-size: 24rpx;
  99. color: #333333;
  100. background-color: transparent;
  101. border-radius: 12rpx;
  102. border: 2rpx solid #DCDCDC;
  103. }
  104. }
  105. }
  106. .dialog-section {
  107. width: 532rpx;
  108. // background: linear-gradient(180deg, #FFDEE7 0%, #FFFFFF 19%, #FFFFFF 100%);
  109. // border-radius: 20rpx;
  110. box-sizing: border-box;
  111. // .dialog-title {
  112. // text-align: center;
  113. // font-weight: 600;
  114. // font-size: 36rpx;
  115. // color: #000000;
  116. // line-height: 50rpx;
  117. // }
  118. .dialog-content {
  119. padding: 48rpx 0;
  120. font-size: 32rpx;
  121. color: #131415;
  122. font-weight: 600;
  123. line-height: 44rpx;
  124. text-align: center;
  125. }
  126. .dialog-btn-group {
  127. display: flex;
  128. align-items: center;
  129. border-top: 2rpx solid #F2F2F2;
  130. .btn {
  131. flex: 1;
  132. text-align: center;
  133. line-height: 80rpx;
  134. font-size: 28rpx;
  135. color: #777777;
  136. }
  137. .del-btn {
  138. border-left: 2rpx solid #F2F2F2;
  139. color: #FE4600;
  140. }
  141. }
  142. }
  143. .empty-box {
  144. position: absolute;
  145. left: 50%;
  146. top: 50%;
  147. transform: translate(-50%, -80%);
  148. font-size: 32rpx;
  149. font-family: PingFangSC-Regular, PingFang SC;
  150. font-weight: 400;
  151. color: #999999;
  152. image {
  153. width: 384rpx;
  154. height: 198rpx;
  155. }
  156. .empty-text {
  157. font-size: 28rpx;
  158. color: #777777;
  159. line-height: 40rpx;
  160. text-align: center;
  161. padding-top: 24rpx;
  162. }
  163. }
  164. .pop-btn-list {
  165. padding: 12rpx 32rpx 50rpx 32rpx;
  166. // box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0;
  167. background-color: #fff;
  168. .submit-btn {
  169. width: 100% !important;
  170. margin: 0 !important;
  171. padding: 0 !important;
  172. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  173. box-shadow: 0rpx 14rpx 14rpx 0rpx rgba(0, 0, 0, 0.18);
  174. border-radius: 36rpx;
  175. border: 8rpx solid #FFFFFF;
  176. color: #FEFFCA;
  177. font-size: 36rpx;
  178. font-weight: 600;
  179. line-height: 94rpx;
  180. }
  181. }