checkout.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. page {
  2. height: 100%;
  3. background: #f4f4f4;
  4. }
  5. .address-box {
  6. width: 100%;
  7. height: 166.55rpx;
  8. background: url('http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/address-bg-bd30f2bfeb.png') 0 0 repeat-x;
  9. background-size: 62.5rpx 10.5rpx;
  10. margin-bottom: 20rpx;
  11. padding-top: 10.5rpx;
  12. }
  13. .address-item {
  14. display: flex;
  15. height: 155.55rpx;
  16. background: #fff;
  17. padding: 41.6rpx 0 41.6rpx 31.25rpx;
  18. }
  19. .address-item.address-empty {
  20. line-height: 75rpx;
  21. text-align: center;
  22. }
  23. .address-box .l {
  24. width: 125rpx;
  25. height: 100%;
  26. }
  27. .address-box .l .name {
  28. margin-left: 6.25rpx;
  29. margin-top: -7.25rpx;
  30. display: block;
  31. width: 125rpx;
  32. height: 43rpx;
  33. line-height: 43rpx;
  34. font-size: 30rpx;
  35. color: #333;
  36. margin-bottom: 5rpx;
  37. }
  38. .address-box .l .default {
  39. margin-left: 6.25rpx;
  40. display: block;
  41. width: 62rpx;
  42. height: 33rpx;
  43. border-radius: 5rpx;
  44. border: 1px solid #b4282d;
  45. font-size: 20.5rpx;
  46. text-align: center;
  47. line-height: 29rpx;
  48. color: #b4282d;
  49. }
  50. .address-box .m {
  51. flex: 1;
  52. height: 72.25rpx;
  53. color: #999;
  54. }
  55. .address-box .mobile {
  56. display: block;
  57. height: 29rpx;
  58. line-height: 29rpx;
  59. margin-bottom: 6.25rpx;
  60. font-size: 30rpx;
  61. color: #333;
  62. }
  63. .address-box .address {
  64. display: block;
  65. height: 37.5rpx;
  66. line-height: 37.5rpx;
  67. font-size: 25rpx;
  68. color: #666;
  69. }
  70. .address-box .r {
  71. width: 77rpx;
  72. height: 77rpx;
  73. display: flex;
  74. justify-content: center;
  75. align-items: center;
  76. }
  77. .address-box .r image {
  78. width: 52.078rpx;
  79. height: 52.078rpx;
  80. }
  81. .coupon-box {
  82. width: 100%;
  83. height: auto;
  84. overflow: hidden;
  85. background: #fff;
  86. }
  87. .coupon-box .coupon-item {
  88. width: 100%;
  89. height: 108.3rpx;
  90. overflow: hidden;
  91. background: #fff;
  92. display: flex;
  93. padding-left: 31.25rpx;
  94. }
  95. .coupon-box .l {
  96. flex: 1;
  97. height: 43rpx;
  98. line-height: 43rpx;
  99. padding-top: 35rpx;
  100. }
  101. .coupon-box .l .name {
  102. float: left;
  103. font-size: 30rpx;
  104. color: #666;
  105. }
  106. .coupon-box .l .txt {
  107. float: right;
  108. font-size: 30rpx;
  109. color: #666;
  110. }
  111. .coupon-box .r {
  112. margin-top: 15.5rpx;
  113. width: 77rpx;
  114. height: 77rpx;
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. }
  119. .coupon-box .r image {
  120. width: 52.078rpx;
  121. height: 52.078rpx;
  122. }
  123. .order-box {
  124. margin-top: 20rpx;
  125. width: 100%;
  126. height: auto;
  127. overflow: hidden;
  128. background: #fff;
  129. }
  130. .order-box .order-item {
  131. height: 104.3rpx;
  132. overflow: hidden;
  133. background: #fff;
  134. display: flex;
  135. margin-left: 31.25rpx;
  136. padding-right: 31.25rpx;
  137. padding-top: 26rpx;
  138. border-bottom: 1px solid #d9d9d9;
  139. }
  140. .order-box .order-item .l {
  141. float: left;
  142. height: 52rpx;
  143. width: 50%;
  144. line-height: 52rpx;
  145. overflow: hidden;
  146. }
  147. .order-box .order-item .r {
  148. float: right;
  149. text-align: right;
  150. width: 50%;
  151. height: 52rpx;
  152. line-height: 52rpx;
  153. overflow: hidden;
  154. }
  155. .order-box .order-item.no-border {
  156. border-bottom: none;
  157. }
  158. .goods-items {
  159. margin-top: 20rpx;
  160. width: 100%;
  161. height: auto;
  162. overflow: hidden;
  163. background: #fff;
  164. padding-left: 31.25rpx;
  165. margin-bottom: 120rpx;
  166. }
  167. .goods-items .item {
  168. height: 192rpx;
  169. padding-right: 31.25rpx;
  170. display: flex;
  171. align-items: center;
  172. border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  173. }
  174. .goods-items .item.no-border {
  175. border-bottom: none;
  176. }
  177. .goods-items .item:last-child {
  178. border-bottom: none;
  179. }
  180. .goods-items .img {
  181. height: 145.83rpx;
  182. width: 145.83rpx;
  183. background-color: #f4f4f4;
  184. margin-right: 20rpx;
  185. }
  186. .goods-items .img image {
  187. height: 145.83rpx;
  188. width: 145.83rpx;
  189. }
  190. .goods-items .info {
  191. flex: 1;
  192. height: 145.83rpx;
  193. padding-top: 5rpx;
  194. }
  195. .goods-items .t {
  196. height: 33rpx;
  197. line-height: 33rpx;
  198. margin-bottom: 10rpx;
  199. overflow: hidden;
  200. font-size: 30rpx;
  201. color: #333;
  202. }
  203. .goods-items .t .name {
  204. display: block;
  205. float: left;
  206. }
  207. .goods-items .t .number {
  208. display: block;
  209. float: right;
  210. text-align: right;
  211. }
  212. .goods-items .m {
  213. height: 29rpx;
  214. overflow: hidden;
  215. line-height: 29rpx;
  216. margin-bottom: 25rpx;
  217. font-size: 25rpx;
  218. color: #666;
  219. }
  220. .goods-items .b {
  221. height: 41rpx;
  222. overflow: hidden;
  223. line-height: 41rpx;
  224. font-size: 30rpx;
  225. color: #333;
  226. }
  227. .order-total {
  228. position: fixed;
  229. left: 0;
  230. bottom: 0;
  231. height: 100rpx;
  232. width: 100%;
  233. display: flex;
  234. }
  235. .order-total .l {
  236. flex: 1;
  237. height: 100rpx;
  238. line-height: 100rpx;
  239. color: #a78845;
  240. background: #fff;
  241. font-size: 33rpx;
  242. padding-left: 31.25rpx;
  243. border-top: 1rpx solid rgba(0, 0, 0, 0.2);
  244. border-bottom: 1rpx solid rgba(0, 0, 0, 0.2);
  245. }
  246. .order-total .r {
  247. width: 233rpx;
  248. height: 100rpx;
  249. background: #a78845;
  250. border: 1px solid #a78845;
  251. line-height: 100rpx;
  252. text-align: center;
  253. color: #fff;
  254. font-size: 30rpx;
  255. }