cart.wxss 6.8 KB

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