checkout.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. page {
  2. height: 100%;
  3. background: #f4f4f4;
  4. }
  5. .address-box {
  6. width: 100%;
  7. height: 166.55rpx;
  8. background-size: 62.5rpx 10.5rpx;
  9. margin-bottom: 20rpx;
  10. padding-top: 10.5rpx;
  11. }
  12. .address-item {
  13. display: flex;
  14. height: 155.55rpx;
  15. background: #fff;
  16. padding: 41.6rpx 0 41.6rpx 31.25rpx;
  17. }
  18. .address-item.address-empty {
  19. line-height: 75rpx;
  20. text-align: center;
  21. }
  22. .address-box .l {
  23. width: 125rpx;
  24. height: 100%;
  25. }
  26. .address-box .l .name {
  27. margin-left: 6.25rpx;
  28. margin-top: -7.25rpx;
  29. display: block;
  30. width: 125rpx;
  31. height: 43rpx;
  32. line-height: 43rpx;
  33. font-size: 30rpx;
  34. color: #333;
  35. margin-bottom: 5rpx;
  36. }
  37. .address-box .l .default {
  38. margin-left: 6.25rpx;
  39. display: block;
  40. width: 62rpx;
  41. height: 33rpx;
  42. border-radius: 5rpx;
  43. border: 1px solid #b4282d;
  44. font-size: 20.5rpx;
  45. text-align: center;
  46. line-height: 29rpx;
  47. color: #b4282d;
  48. }
  49. .address-box .m {
  50. flex: 1;
  51. height: 72.25rpx;
  52. color: #999;
  53. }
  54. .address-box .mobile {
  55. display: block;
  56. height: 29rpx;
  57. line-height: 29rpx;
  58. margin-bottom: 6.25rpx;
  59. font-size: 30rpx;
  60. color: #333;
  61. }
  62. .address-box .address {
  63. display: block;
  64. height: 37.5rpx;
  65. line-height: 37.5rpx;
  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. .message-box {
  123. margin-top: 20rpx;
  124. width: 100%;
  125. height: auto;
  126. overflow: hidden;
  127. background: #fff;
  128. }
  129. .message-box .message-item {
  130. height: 52.078rpx;
  131. overflow: hidden;
  132. background: #fff;
  133. display: flex;
  134. margin-left: 31.25rpx;
  135. padding-right: 31.25rpx;
  136. padding-top: 26rpx;
  137. }
  138. .order-box {
  139. margin-top: 20rpx;
  140. width: 100%;
  141. height: auto;
  142. overflow: hidden;
  143. background: #fff;
  144. }
  145. .order-box .order-item {
  146. height: 104.3rpx;
  147. overflow: hidden;
  148. background: #fff;
  149. display: flex;
  150. margin-left: 31.25rpx;
  151. padding-right: 31.25rpx;
  152. padding-top: 26rpx;
  153. border-bottom: 1px solid #d9d9d9;
  154. }
  155. .order-box .order-item .l {
  156. float: left;
  157. height: 52rpx;
  158. width: 50%;
  159. line-height: 52rpx;
  160. overflow: hidden;
  161. }
  162. .order-box .order-item .r {
  163. float: right;
  164. text-align: right;
  165. width: 50%;
  166. height: 52rpx;
  167. line-height: 52rpx;
  168. overflow: hidden;
  169. }
  170. .order-box .order-item.no-border {
  171. border-bottom: none;
  172. }
  173. .goods-items {
  174. margin-top: 20rpx;
  175. width: 100%;
  176. height: auto;
  177. overflow: hidden;
  178. background: #fff;
  179. padding-left: 31.25rpx;
  180. margin-bottom: 120rpx;
  181. }
  182. .goods-items .item {
  183. height: 192rpx;
  184. padding-right: 31.25rpx;
  185. display: flex;
  186. align-items: center;
  187. border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  188. }
  189. .goods-items .item.no-border {
  190. border-bottom: none;
  191. }
  192. .goods-items .item:last-child {
  193. border-bottom: none;
  194. }
  195. .goods-items .img {
  196. height: 145.83rpx;
  197. width: 145.83rpx;
  198. background-color: #f4f4f4;
  199. margin-right: 20rpx;
  200. }
  201. .goods-items .img image {
  202. height: 145.83rpx;
  203. width: 145.83rpx;
  204. }
  205. .goods-items .info {
  206. flex: 1;
  207. height: 145.83rpx;
  208. padding-top: 5rpx;
  209. }
  210. .goods-items .t {
  211. height: 33rpx;
  212. line-height: 33rpx;
  213. margin-bottom: 10rpx;
  214. overflow: hidden;
  215. font-size: 30rpx;
  216. color: #333;
  217. }
  218. .goods-items .t .name {
  219. display: block;
  220. float: left;
  221. }
  222. .goods-items .t .number {
  223. display: block;
  224. float: right;
  225. text-align: right;
  226. }
  227. .goods-items .m {
  228. height: 29rpx;
  229. overflow: hidden;
  230. line-height: 29rpx;
  231. margin-bottom: 25rpx;
  232. font-size: 25rpx;
  233. color: #666;
  234. }
  235. .goods-items .b {
  236. height: 41rpx;
  237. overflow: hidden;
  238. line-height: 41rpx;
  239. font-size: 30rpx;
  240. color: #333;
  241. }
  242. .order-total {
  243. position: fixed;
  244. left: 0;
  245. bottom: 0;
  246. height: 100rpx;
  247. width: 100%;
  248. display: flex;
  249. }
  250. .order-total .l {
  251. flex: 1;
  252. height: 100rpx;
  253. line-height: 100rpx;
  254. color: #b4282d;
  255. background: #fff;
  256. font-size: 33rpx;
  257. padding-left: 31.25rpx;
  258. border-top: 1rpx solid rgba(0, 0, 0, 0.2);
  259. border-bottom: 1rpx solid rgba(0, 0, 0, 0.2);
  260. }
  261. .order-total .r {
  262. width: 233rpx;
  263. height: 100rpx;
  264. background: #b4282d;
  265. border: 1px solid #b4282d;
  266. line-height: 100rpx;
  267. text-align: center;
  268. color: #fff;
  269. font-size: 30rpx;
  270. }