cart.wxss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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. .cart-view{
  60. width: 100%;
  61. height: auto;
  62. overflow: hidden;
  63. }
  64. .cart-view .list{
  65. height: auto;
  66. width: 100%;
  67. overflow: hidden;
  68. margin-bottom: 120rpx;
  69. }
  70. .cart-view .group-item{
  71. height: auto;
  72. width: 100%;
  73. background: #fff;
  74. margin-bottom: 18rpx;
  75. }
  76. .cart-view .item{
  77. height: 164rpx;
  78. width: 100%;
  79. overflow: hidden;
  80. }
  81. .cart-view .item .checkbox{
  82. float: left;
  83. height: 34rpx;
  84. width: 34rpx;
  85. margin: 65rpx 18rpx 65rpx 26rpx;
  86. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
  87. background-size: 34rpx;
  88. }
  89. .cart-view .item .checkbox.checked{
  90. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
  91. background-size: 34rpx;
  92. }
  93. .cart-view .item .cart-goods{
  94. float: left;
  95. height: 164rpx;
  96. width: 672rpx;
  97. border-bottom: 1px solid #f4f4f4;
  98. }
  99. .cart-view .item .img{
  100. float: left;
  101. height:125rpx;
  102. width: 125rpx;
  103. background: #f4f4f4;
  104. margin: 19.5rpx 18rpx 19.5rpx 0;
  105. }
  106. .cart-view .item .info{
  107. float: left;
  108. height:125rpx;
  109. width: 503rpx;
  110. margin: 19.5rpx 26rpx 19.5rpx 0;
  111. }
  112. .cart-view .item .t{
  113. margin: 8rpx 0;
  114. height: 28rpx;
  115. font-size: 25rpx;
  116. color: #333;
  117. overflow: hidden;
  118. }
  119. .cart-view .item .name{
  120. height: 28rpx;
  121. max-width: 310rpx;
  122. line-height: 28rpx;
  123. font-size: 25rpx;
  124. color: #333;
  125. overflow: hidden;
  126. }
  127. .cart-view .item .num{
  128. height: 28rpx;
  129. line-height: 28rpx;
  130. float: right;
  131. }
  132. .cart-view .item .attr{
  133. margin-bottom: 17rpx;
  134. height: 24rpx;
  135. line-height: 24rpx;
  136. font-size: 22rpx;
  137. color: #666;
  138. overflow: hidden;
  139. }
  140. .cart-view .item .b{
  141. height: 28rpx;
  142. line-height: 28rpx;
  143. font-size: 25rpx;
  144. color: #333;
  145. overflow: hidden;
  146. }
  147. .cart-view .item .price{
  148. float: left;
  149. }
  150. .cart-view .item .open{
  151. height: 28rpx;
  152. width: 150rpx;
  153. display: block;
  154. float: right;
  155. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/arrowDown-d48093db25.png) right center no-repeat;
  156. background-size: 25rpx;
  157. font-size: 25rpx;
  158. color: #333;
  159. }
  160. .cart-view .item.edit .t{
  161. display: none;
  162. }
  163. .cart-view .item.edit .attr{
  164. text-align: right;
  165. background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/arrow-right1-e9828c5b35.png) right center no-repeat;
  166. padding-right: 25rpx;
  167. background-size: 12rpx 20rpx;
  168. margin-bottom: 24rpx;
  169. height: 39rpx;
  170. line-height: 39rpx;
  171. font-size: 24rpx;
  172. color: #999;
  173. overflow: hidden;
  174. }
  175. .cart-view .item.edit .b{
  176. display: flex;
  177. height: 52rpx;
  178. overflow: hidden;
  179. }
  180. .cart-view .item.edit .price{
  181. line-height: 52rpx;
  182. height: 52rpx;
  183. flex: 1;
  184. }
  185. .cart-view .item .selnum{
  186. display: none;
  187. }
  188. .cart-view .item.edit .selnum{
  189. width: 235rpx;
  190. height: 52rpx;
  191. border: 1rpx solid #ccc;
  192. display: flex;
  193. }
  194. .selnum .cut{
  195. width: 70rpx;
  196. height: 100%;
  197. text-align: center;
  198. line-height: 50rpx;
  199. }
  200. .selnum .number{
  201. flex: 1;
  202. height: 100%;
  203. text-align: center;
  204. line-height: 68.75rpx;
  205. border-left: 1px solid #ccc;
  206. border-right: 1px solid #ccc;
  207. float: left;
  208. }
  209. .selnum .add{
  210. width: 80rpx;
  211. height: 100%;
  212. text-align: center;
  213. line-height: 50rpx;
  214. }
  215. .cart-view .group-item .header{
  216. width: 100%;
  217. height: 94rpx;
  218. line-height: 94rpx;
  219. padding: 0 26rpx;
  220. border-bottom: 1px solid #f4f4f4;
  221. }
  222. .cart-view .promotion .icon{
  223. display: inline-block;
  224. height: 24rpx;
  225. width: 15rpx;
  226. }
  227. .cart-view .promotion{
  228. margin-top: 25.5rpx;
  229. float: left;
  230. height: 43rpx;
  231. width: 480rpx;
  232. /*margin-right: 84rpx;*/
  233. line-height: 43rpx;
  234. font-size: 0;
  235. }
  236. .cart-view .promotion .tag{
  237. border: 1px solid #f48f18;
  238. height: 37rpx;
  239. line-height: 31rpx;
  240. padding: 0 9rpx;
  241. margin-right: 10rpx;
  242. color: #f48f18;
  243. font-size: 24.5rpx;
  244. }
  245. .cart-view .promotion .txt{
  246. height: 43rpx;
  247. line-height: 43rpx;
  248. padding-right: 10rpx;
  249. color: #333;
  250. font-size: 29rpx;
  251. overflow: hidden;
  252. }
  253. .cart-view .get{
  254. margin-top: 18rpx;
  255. float: right;
  256. height: 58rpx;
  257. padding-left: 14rpx;
  258. border-left: 1px solid #d9d9d9;
  259. line-height: 58rpx;
  260. font-size: 29rpx;
  261. color: #333;
  262. }
  263. .cart-bottom{
  264. position: fixed;
  265. bottom:0;
  266. left:0;
  267. height: 100rpx;
  268. width: 100%;
  269. background: #fff;
  270. display: flex;
  271. }
  272. .cart-bottom .checkbox{
  273. height: 34rpx;
  274. padding-left: 60rpx;
  275. line-height: 34rpx;
  276. margin: 33rpx 18rpx 33rpx 26rpx;
  277. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
  278. background-size: 34rpx;
  279. font-size: 29rpx;
  280. }
  281. .cart-bottom .checkbox.checked{
  282. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
  283. background-size: 34rpx;
  284. }
  285. .cart-bottom .total{
  286. height: 34rpx;
  287. flex: 1;
  288. margin: 33rpx 10rpx;
  289. font-size: 29rpx;
  290. }
  291. .cart-bottom .delete{
  292. height: 34rpx;
  293. width: auto;
  294. margin: 33rpx 18rpx;
  295. font-size: 29rpx;
  296. }
  297. .cart-bottom .checkout{
  298. height: 100rpx;
  299. width: 210rpx;
  300. text-align: center;
  301. line-height: 100rpx;
  302. font-size: 29rpx;
  303. background: #b4282d;
  304. color: #fff;
  305. }