cart.wxss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. page{
  2. height: 100%;
  3. min-height: 100%;
  4. background: #f4f4f4;
  5. }
  6. .container{
  7. background: #f4f4f4;
  8. width: 100%;
  9. height: auto;
  10. min-height: 100%;
  11. overflow: hidden;
  12. }
  13. .service-policy{
  14. width: 750rpx;
  15. height: 73rpx;
  16. background: #f4f4f4;
  17. padding: 0 31.25rpx;
  18. display: flex;
  19. flex-flow: row nowrap;
  20. align-items: center;
  21. justify-content: space-between;
  22. }
  23. .service-policy .item{
  24. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/servicePolicyRed-518d32d74b.png) 0 center no-repeat;
  25. background-size: 10rpx;
  26. padding-left: 15rpx;
  27. display: flex;
  28. align-items: center;
  29. font-size: 25rpx;
  30. color: #666;
  31. }
  32. .no-cart{
  33. width: 100%;
  34. height: auto;
  35. margin: 0 auto;
  36. }
  37. .no-cart .c{
  38. width: 100%;
  39. height: auto;
  40. margin-top: 200rpx;
  41. }
  42. .no-cart .c image{
  43. margin: 0 auto;
  44. display: block;
  45. text-align: center;
  46. width: 258rpx;
  47. height: 258rpx;
  48. }
  49. .no-cart .c text{
  50. margin: 0 auto;
  51. display: block;
  52. width: 258rpx;
  53. height: 29rpx;
  54. line-height: 29rpx;
  55. text-align: center;
  56. font-size: 29rpx;
  57. color: #999;
  58. }
  59. .title-box{
  60. width: 100%;
  61. padding-top: 330rpx;
  62. text-align: center;
  63. font-size:28rpx;
  64. color:#999;
  65. background: url(https://platform-wxmall.oss-cn-beijing.aliyuncs.com/upload/20180727/15015039793f4e.png) no-repeat center 205rpx;
  66. background-size: 100rpx auto;
  67. margin-bottom: 50rpx;
  68. }
  69. .to-index-btn{
  70. color:#fff;
  71. background:#e64340;
  72. border-radius:6px;
  73. width:300rpx;
  74. height: auto;
  75. line-height: 70rpx;
  76. text-align: center;
  77. font-size:28rpx;
  78. margin: 0 auto;
  79. display: block;
  80. }
  81. .cart-view{
  82. width: 100%;
  83. height: auto;
  84. overflow: hidden;
  85. }
  86. .cart-view .list{
  87. height: auto;
  88. width: 100%;
  89. overflow: hidden;
  90. margin-bottom: 120rpx;
  91. }
  92. .cart-view .group-item{
  93. height: auto;
  94. width: 100%;
  95. background: #fff;
  96. margin-bottom: 18rpx;
  97. }
  98. .cart-view .item{
  99. height: 164rpx;
  100. width: 100%;
  101. overflow: hidden;
  102. }
  103. .cart-view .item .checkbox{
  104. float: left;
  105. height: 34rpx;
  106. width: 34rpx;
  107. margin: 65rpx 18rpx 65rpx 26rpx;
  108. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
  109. background-size: 34rpx;
  110. }
  111. .cart-view .item .checkbox.checked{
  112. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
  113. background-size: 34rpx;
  114. }
  115. .cart-view .item .cart-goods{
  116. float: left;
  117. height: 164rpx;
  118. width: 672rpx;
  119. border-bottom: 1px solid #f4f4f4;
  120. }
  121. .cart-view .item .img{
  122. float: left;
  123. height:125rpx;
  124. width: 125rpx;
  125. background: #f4f4f4;
  126. margin: 19.5rpx 18rpx 19.5rpx 0;
  127. }
  128. .cart-view .item .info{
  129. float: left;
  130. height:125rpx;
  131. width: 503rpx;
  132. margin: 19.5rpx 26rpx 19.5rpx 0;
  133. }
  134. .cart-view .item .t{
  135. margin: 8rpx 0;
  136. height: 28rpx;
  137. font-size: 25rpx;
  138. color: #333;
  139. overflow: hidden;
  140. }
  141. .cart-view .item .name{
  142. height: 28rpx;
  143. max-width: 310rpx;
  144. line-height: 28rpx;
  145. font-size: 25rpx;
  146. color: #333;
  147. overflow: hidden;
  148. }
  149. .cart-view .item .num{
  150. height: 28rpx;
  151. line-height: 28rpx;
  152. float: right;
  153. }
  154. .cart-view .item .attr{
  155. margin-bottom: 17rpx;
  156. height: 24rpx;
  157. line-height: 24rpx;
  158. font-size: 22rpx;
  159. color: #666;
  160. overflow: hidden;
  161. }
  162. .cart-view .item .b{
  163. height: 28rpx;
  164. line-height: 28rpx;
  165. font-size: 25rpx;
  166. color: #333;
  167. overflow: hidden;
  168. }
  169. .cart-view .item .price{
  170. float: left;
  171. }
  172. .cart-view .item .open{
  173. height: 28rpx;
  174. width: 150rpx;
  175. display: block;
  176. float: right;
  177. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/arrowDown-d48093db25.png) right center no-repeat;
  178. background-size: 25rpx;
  179. font-size: 25rpx;
  180. color: #333;
  181. }
  182. .cart-view .item.edit .t{
  183. display: none;
  184. }
  185. .cart-view .item.edit .attr{
  186. text-align: right;
  187. background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/arrow-right1-e9828c5b35.png) right center no-repeat;
  188. padding-right: 25rpx;
  189. background-size: 12rpx 20rpx;
  190. margin-bottom: 24rpx;
  191. height: 39rpx;
  192. line-height: 39rpx;
  193. font-size: 24rpx;
  194. color: #999;
  195. overflow: hidden;
  196. }
  197. .cart-view .item.edit .b{
  198. display: flex;
  199. height: 52rpx;
  200. overflow: hidden;
  201. }
  202. .cart-view .item.edit .price{
  203. line-height: 52rpx;
  204. height: 52rpx;
  205. flex: 1;
  206. }
  207. .cart-view .item .selnum{
  208. display: none;
  209. }
  210. .cart-view .item.edit .selnum{
  211. width: 235rpx;
  212. height: 52rpx;
  213. border: 1rpx solid #ccc;
  214. display: flex;
  215. }
  216. .selnum .cut{
  217. width: 70rpx;
  218. height: 100%;
  219. text-align: center;
  220. line-height: 50rpx;
  221. }
  222. .selnum .number{
  223. flex: 1;
  224. height: 100%;
  225. text-align: center;
  226. line-height: 68.75rpx;
  227. border-left: 1px solid #ccc;
  228. border-right: 1px solid #ccc;
  229. float: left;
  230. }
  231. .selnum .add{
  232. width: 80rpx;
  233. height: 100%;
  234. text-align: center;
  235. line-height: 50rpx;
  236. }
  237. .cart-view .group-item .header{
  238. width: 100%;
  239. height: 94rpx;
  240. line-height: 94rpx;
  241. padding: 0 26rpx;
  242. border-bottom: 1px solid #f4f4f4;
  243. }
  244. .cart-view .promotion .icon{
  245. display: inline-block;
  246. height: 24rpx;
  247. width: 15rpx;
  248. }
  249. .cart-view .promotion{
  250. margin-top: 25.5rpx;
  251. float: left;
  252. height: 43rpx;
  253. width: 480rpx;
  254. /*margin-right: 84rpx;*/
  255. line-height: 43rpx;
  256. font-size: 0;
  257. }
  258. .cart-view .promotion .tag{
  259. border: 1px solid #f48f18;
  260. height: 37rpx;
  261. line-height: 31rpx;
  262. padding: 0 9rpx;
  263. margin-right: 10rpx;
  264. color: #f48f18;
  265. font-size: 24.5rpx;
  266. }
  267. .cart-view .promotion .txt{
  268. height: 43rpx;
  269. line-height: 43rpx;
  270. padding-right: 10rpx;
  271. color: #333;
  272. font-size: 29rpx;
  273. overflow: hidden;
  274. }
  275. .cart-view .get{
  276. margin-top: 18rpx;
  277. float: right;
  278. height: 58rpx;
  279. padding-left: 14rpx;
  280. border-left: 1px solid #d9d9d9;
  281. line-height: 58rpx;
  282. font-size: 29rpx;
  283. color: #333;
  284. }
  285. .cart-bottom{
  286. position: fixed;
  287. bottom:0;
  288. left:0;
  289. height: 100rpx;
  290. width: 100%;
  291. background: #fff;
  292. display: flex;
  293. }
  294. .cart-bottom .checkbox{
  295. height: 34rpx;
  296. padding-left: 60rpx;
  297. line-height: 34rpx;
  298. margin: 33rpx 18rpx 33rpx 26rpx;
  299. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
  300. background-size: 34rpx;
  301. font-size: 29rpx;
  302. }
  303. .cart-bottom .checkbox.checked{
  304. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
  305. background-size: 34rpx;
  306. }
  307. .cart-bottom .total{
  308. height: 34rpx;
  309. flex: 1;
  310. margin: 33rpx 10rpx;
  311. font-size: 29rpx;
  312. }
  313. .cart-bottom .delete{
  314. height: 34rpx;
  315. width: auto;
  316. margin: 33rpx 18rpx;
  317. font-size: 29rpx;
  318. }
  319. .cart-bottom .checkout{
  320. height: 100rpx;
  321. width: 210rpx;
  322. text-align: center;
  323. line-height: 100rpx;
  324. font-size: 29rpx;
  325. background: #b4282d;
  326. color: #fff;
  327. }