checkout.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. page{
  2. background: #f4f4f4;
  3. height: 100%;
  4. }
  5. .container{
  6. }
  7. .address-box{
  8. width: 100%;
  9. background: url('https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/wxmall/images/address-bg-bd.png') 0 0 repeat-x;
  10. background-size: 62.5rpx 10.5rpx;
  11. margin-bottom: 20rpx;
  12. padding-top: 10.5rpx;
  13. }
  14. .address-item{
  15. display: flex;
  16. min-height: 156rpx;
  17. background: #fff;
  18. padding: 41.6rpx 0 41.6rpx 31.25rpx;
  19. }
  20. .address-item.address-empty{
  21. line-height: 75rpx;
  22. text-align: center;
  23. }
  24. .address-box .l{
  25. width: 155rpx;
  26. height: 100%;
  27. }
  28. .address-box .l .name{
  29. margin-left: 6.25rpx;
  30. margin-top: -7.25rpx;
  31. display: block;
  32. width: 155rpx;
  33. font-size: 30rpx;
  34. color: #333;
  35. margin-bottom: 5rpx;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. }
  40. .address-box .l .default{
  41. margin-left: 6.25rpx;
  42. display: block;
  43. width: 62rpx;
  44. height: 33rpx;
  45. border-radius: 5rpx;
  46. border: 1px solid #1fe4dc;
  47. font-size: 20.5rpx;
  48. text-align: center;
  49. line-height: 29rpx;
  50. color: #1fe4dc;
  51. }
  52. .address-box .m{
  53. flex: 1;
  54. color: #999;
  55. }
  56. .address-box .mobile{
  57. display: block;
  58. height: 29rpx;
  59. line-height: 29rpx;
  60. margin-bottom: 6.25rpx;
  61. font-size: 30rpx;
  62. color:#333;
  63. }
  64. .address-box .address{
  65. display: block;
  66. font-size: 25rpx;
  67. color:#666;
  68. }
  69. .address-box .r{
  70. width: 77rpx;
  71. height: 77rpx;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. }
  76. .address-box .r image{
  77. width: 52.078rpx;
  78. height: 52.078rpx;
  79. }
  80. .coupon-box{
  81. width: 100%;
  82. height: auto;
  83. overflow: hidden;
  84. background: #fff;
  85. }
  86. .coupon-box .coupon-item{
  87. width: 100%;
  88. height: 108.3rpx;
  89. overflow: hidden;
  90. background: #fff;
  91. display: flex;
  92. padding-left: 31.25rpx;
  93. }
  94. .coupon-box .l{
  95. flex: 1;
  96. height: 43rpx;
  97. line-height: 43rpx;
  98. padding-top: 35rpx;
  99. }
  100. .coupon-box .l .name{
  101. float: left;
  102. font-size: 30rpx;
  103. color: #666;
  104. }
  105. .coupon-box .l .txt{
  106. float: right;
  107. font-size: 30rpx;
  108. color: #666;
  109. }
  110. .coupon-box .r{
  111. margin-top: 15.5rpx;
  112. width: 77rpx;
  113. height: 77rpx;
  114. display: flex;
  115. justify-content: center;
  116. align-items: center;
  117. }
  118. .coupon-box .r image{
  119. width: 52.078rpx;
  120. height: 52.078rpx;
  121. }
  122. .order-box{
  123. margin-top: 20rpx;
  124. width: 100%;
  125. height: auto;
  126. overflow: hidden;
  127. background: #fff;
  128. }
  129. .order-box .order-item{
  130. height: 104.3rpx;
  131. overflow: hidden;
  132. background: #fff;
  133. display: flex;
  134. margin-left: 31.25rpx;
  135. padding-right: 31.25rpx;
  136. padding-top: 26rpx;
  137. border-bottom: 1px solid #d9d9d9;
  138. }
  139. .order-box .order-item .l{
  140. float: left;
  141. height: 52rpx;
  142. width: 50%;
  143. line-height: 52rpx;
  144. overflow: hidden;
  145. }
  146. .order-box .order-item .r{
  147. float: right;
  148. text-align: right;
  149. width: 50%;
  150. height: 52rpx;
  151. line-height: 52rpx;
  152. overflow: hidden;
  153. }
  154. .order-box .order-item.no-border{
  155. border-bottom: none;
  156. }
  157. .goods-items{
  158. margin-top: 20rpx;
  159. width: 100%;
  160. height: auto;
  161. overflow: hidden;
  162. background: #fff;
  163. padding-left: 31.25rpx;
  164. margin-bottom: 120rpx;
  165. padding-bottom: 164rpx;
  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: #1fe4dc;
  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: #1fe4dc;
  250. border: 1px solid #1fe4dc;
  251. line-height: 100rpx;
  252. text-align: center;
  253. color: #fff;
  254. font-size: 30rpx;
  255. }