addressAdd.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/sprites/checkbox-sed825af9d3-a6b8540d42.png) 1rpx -448rpx no-repeat;
  40. background-size: 38rpx 486rpx;
  41. font-size: 28rpx;
  42. }
  43. .default-input.selected {
  44. background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/sprites/checkbox-sed825af9d3-a6b8540d42.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: #3f3f3f;
  68. }
  69. .add-address .save {
  70. background: #a78845;
  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: 140rpx;
  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. }
  104. .region-select .region-selected .item.disabled {
  105. color: #999;
  106. }
  107. .region-select .region-selected .item.selected {
  108. color: #a78845;
  109. }
  110. .region-select .done {
  111. float: right;
  112. height: 60rpx;
  113. width: 60rpx;
  114. border: none;
  115. background: #fff;
  116. line-height: 60rpx;
  117. text-align: center;
  118. color: #333;
  119. font-size: 28rpx;
  120. }
  121. .region-select .done.disabled {
  122. color: #999;
  123. }
  124. .region-select .bd {
  125. height: 492rpx;
  126. width: 100%;
  127. padding: 0 30rpx;
  128. }
  129. .region-select .region-list {
  130. height: 492rpx;
  131. }
  132. .region-select .region-list .item {
  133. width: 100%;
  134. height: 104rpx;
  135. line-height: 104rpx;
  136. text-align: left;
  137. color: #333;
  138. font-size: 28rpx;
  139. }
  140. .region-select .region-list .item.selected {
  141. color: #b4282d;
  142. }
  143. .bg-mask {
  144. height: 100%;
  145. width: 100%;
  146. background: rgba(0, 0, 0, 0.4);
  147. position: fixed;
  148. top: 0;
  149. left: 0;
  150. z-index: 8;
  151. }