addressAdd.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. page{
  2. height: 100%;
  3. background: #f4f4f4;
  4. }
  5. .add-address .add-form{
  6. background: #fff;
  7. width: 100%;
  8. height: auto;
  9. overflow: hidden;
  10. }
  11. .add-address .form-item{
  12. height: 116rpx;
  13. padding-left: 31.25rpx;
  14. border-bottom: 1px solid #d9d9d9;
  15. display: flex;
  16. align-items: center;
  17. padding-right: 31.25rpx;
  18. }
  19. .add-address .input{
  20. flex: 1;
  21. height: 44rpx;
  22. line-height: 44rpx;
  23. overflow: hidden;
  24. }
  25. .add-address .form-default{
  26. border-bottom: 1px solid #d9d9d9;
  27. height: 96rpx;
  28. background: #fafafa;
  29. padding-top: 28rpx;
  30. font-size: 28rpx;
  31. }
  32. .default-input{
  33. margin: 0 auto;
  34. display: block;
  35. width: 240rpx;
  36. height: 40rpx;
  37. padding-left: 50rpx;
  38. line-height: 40rpx;
  39. background: url(https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/wxmall/images/img_sprites_checkbox.png) 1rpx -448rpx no-repeat;
  40. background-size: 38rpx 486rpx;
  41. font-size: 28rpx;
  42. }
  43. .default-input.selected{
  44. background: url(https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/wxmall/images/img_sprites_checkbox.png) 0 -192rpx no-repeat;
  45. background-size: 38rpx 486rpx;
  46. }
  47. .add-address .btns{
  48. position: fixed;
  49. bottom: 0;
  50. left: 0;
  51. overflow: hidden;
  52. display: flex;
  53. height: 100rpx;
  54. width: 100%;
  55. }
  56. .add-address .cannel,.add-address .save{
  57. flex: 1;
  58. height: 100rpx;
  59. text-align: center;
  60. line-height: 100rpx;
  61. font-size: 28rpx;
  62. color: #fff;
  63. border:none;
  64. border-radius: 0;
  65. }
  66. .add-address .cannel{
  67. background: #333;
  68. }
  69. .add-address .save{
  70. background: #1fe4dc;
  71. }
  72. .region-select{
  73. width: 100%;
  74. height: 600rpx;
  75. background: #fff;
  76. position: fixed;
  77. z-index: 10;
  78. left:0;
  79. bottom: 0;
  80. }
  81. .region-select .hd{
  82. height: 108rpx;
  83. width: 100%;
  84. border-bottom: 1px solid #f4f4f4;
  85. padding: 46rpx 30rpx 0 30rpx;
  86. }
  87. .region-select .region-selected{
  88. float: left;
  89. height: 60rpx;
  90. display: flex;
  91. }
  92. .region-select .region-selected .item{
  93. max-width: 170rpx;
  94. margin-right: 30rpx;
  95. text-align: left;
  96. line-height: 60rpx;
  97. height: 100%;
  98. color: #333;
  99. font-size: 28rpx;
  100. overflow: hidden;
  101. text-overflow: ellipsis;
  102. white-space: nowrap;
  103. width: auto;
  104. }
  105. .region-select .region-selected .item.disabled{
  106. color: #999;
  107. }
  108. .region-select .region-selected .item.selected{
  109. color: #1fe4dc;
  110. }
  111. .region-select .done{
  112. float: right;
  113. height: 60rpx;
  114. width: 60rpx;
  115. border: none;
  116. background: #fff;
  117. line-height: 60rpx;
  118. text-align: center;
  119. color: #333;
  120. font-size: 28rpx;
  121. }
  122. .region-select .done.disabled{
  123. color: #999;
  124. }
  125. .region-select .bd{
  126. height: 492rpx;
  127. width: 100%;
  128. padding: 0 30rpx;
  129. }
  130. .region-select {
  131. height: auto;
  132. overflow: scroll;
  133. }
  134. .region-list{
  135. width: 100%;
  136. height: 100%;
  137. line-height: 104rpx;
  138. text-align: left;
  139. color: #333;
  140. font-size: 28rpx;
  141. }
  142. .region-select .item{
  143. width: 100%;
  144. height: 104rpx;
  145. line-height: 104rpx;
  146. text-align: left;
  147. color: #333;
  148. font-size: 28rpx;
  149. }
  150. .region-select .region-list .item.selected{
  151. color: #1fe4dc;
  152. }
  153. .bg-mask{
  154. height: 100%;
  155. width: 100%;
  156. background: rgba(0, 0, 0, 0.4);
  157. position: fixed;
  158. top:0;
  159. left:0;
  160. z-index: 8;
  161. }