list.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. /* pages/user/address/address.wxss */
  2. page {
  3. background: #F8F8F8;
  4. }
  5. .addressList {
  6. padding: 24rpx;
  7. }
  8. .address {
  9. background: #FFFFFF;
  10. box-sizing: border-box;
  11. margin-bottom: 20rpx;
  12. border-radius: 15rpx;
  13. border: 1px solid white;
  14. }
  15. .address.check {
  16. border: 1px solid #00BC8A;
  17. }
  18. .addrtop {
  19. padding: 20rpx;
  20. }
  21. .company {
  22. font-weight: 600;
  23. font-size: 28rpx;
  24. color: #202020;
  25. line-height: 50rpx;
  26. }
  27. .addInfo {
  28. font-weight: 400;
  29. font-size: 20rpx;
  30. color: #5C5C5C;
  31. line-height: 26rpx;
  32. }
  33. .customer {
  34. font-weight: 400;
  35. font-size: 20rpx;
  36. color: #202020;
  37. line-height: 36rpx;
  38. }
  39. .tool {
  40. border-top: 1px solid #F8F8F8;
  41. display: flex;
  42. align-items: center;
  43. justify-content: space-between;
  44. padding: 16rpx 20rpx;
  45. }
  46. .toolLeft {
  47. flex: 1;
  48. font-weight: 400;
  49. font-size: 20rpx;
  50. color: #00BC8A;
  51. line-height: 20rpx;
  52. }
  53. .isDefault {
  54. font-weight: 400;
  55. color: #000000;
  56. font-size: 20rpx;
  57. line-height: 24rpx;
  58. }
  59. .isDefault::before {
  60. font-size: 24rpx;
  61. margin-right: 10rpx;
  62. vertical-align: top;
  63. }
  64. .isDefault.icon-a-Check23::before {
  65. color: #00BC8A;
  66. }
  67. .toolRight {
  68. text-align: right;
  69. }
  70. .toolRight view,
  71. .toolRight navigator {
  72. display: inline-block;
  73. font-weight: 400;
  74. color: #000000;
  75. font-size: 20rpx;
  76. line-height: 23rpx;
  77. margin-left: 48rpx;
  78. }
  79. .toolRight .iconfont::before {
  80. margin-right: 6rpx;
  81. }
  82. .addAddress {
  83. position: fixed;
  84. left: 0;
  85. bottom: 0;
  86. text-align: center;
  87. background: #FFFFFF;
  88. width: 100%;
  89. padding: 20rpx 58rpx;
  90. display: flex;
  91. box-sizing: border-box;
  92. }
  93. .addAddress navigator {
  94. max-width: 634rpx;
  95. height: 80rpx;
  96. background: #00BC8A;
  97. border-radius: 8rpx 8rpx 8rpx 8rpx;
  98. font-weight: 500;
  99. font-size: 32rpx;
  100. color: #FFFFFF;
  101. line-height: 80rpx;
  102. text-align: center;
  103. flex: 1;
  104. }
  105. .addAddress view {
  106. max-width: 180rpx;
  107. height: 80rpx;
  108. background: #00BC8A;
  109. border-radius: 8rpx 8rpx 8rpx 8rpx;
  110. font-weight: 500;
  111. font-size: 32rpx;
  112. color: #FFFFFF;
  113. line-height: 80rpx;
  114. text-align: center;
  115. flex: 1;
  116. margin-left: 40rpx;
  117. }
  118. .search {
  119. height: 68rpx;
  120. background: #FFFFFF;
  121. margin: 24rpx 20rpx 24rpx 20rpx;
  122. position: sticky;
  123. top: 0;
  124. }
  125. .search input {
  126. width: 100%;
  127. height: 100%;
  128. font-weight: 500;
  129. font-size: 28rpx;
  130. padding: 20rpx;
  131. padding-right: 60rpx;
  132. box-sizing: border-box;
  133. }
  134. .search icon {
  135. position: absolute;
  136. right: 15rpx;
  137. top: 14rpx;
  138. font-size: 28rpx;
  139. }
  140. .address {
  141. display: flex;
  142. justify-content: space-between;
  143. width: 100%;
  144. overflow: hidden;
  145. background: rgba(255, 255, 255, 1);
  146. opacity: 1;
  147. }
  148. .content {
  149. width: 100%;
  150. margin-right: 0;
  151. /* -webkit-transition: all 0.4s;
  152. transition: all 0.4s; */
  153. /* -webkit-transform: translateX(120px); */
  154. /* transform: translateX(120px); */
  155. /* margin-left: -120px; */
  156. }
  157. .del {
  158. width: 0;
  159. display: flex;
  160. align-items: center;
  161. justify-content: space-between;
  162. color: #fff;
  163. -webkit-transition: all 0.4s;
  164. transition: all 0.4s;
  165. font-size: 28rpx;
  166. -webkit-transform: translateX(180px);
  167. transform: translateX(180px);
  168. }
  169. .del .delete {
  170. background: red;
  171. display: flex;
  172. align-items: center;
  173. justify-content: center;
  174. width: 50%;
  175. height: 100%;
  176. }
  177. .del .untying {
  178. background: orange;
  179. display: flex;
  180. align-items: center;
  181. justify-content: center;
  182. width: 50%;
  183. height: 100%;
  184. }
  185. .touch-move-active .content,
  186. .touch-move-active .del {
  187. -webkit-transform: translateX(0);
  188. transform: translateX(0);
  189. }
  190. .touch-move-active .del {
  191. width: 240rpx;
  192. }