cart.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665
  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://image.meiping123.com/upload/20180104/104908434dcd64.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(http://image.meiping123.com/upload/20180104/1055343561cd30.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 .group-item .header {
  82. width: 100%;
  83. height: 94rpx;
  84. line-height: 94rpx;
  85. padding: 0 26rpx;
  86. border-bottom: 1px solid #f4f4f4;
  87. }
  88. .cart-view {
  89. width: 100%;
  90. height: auto;
  91. overflow: hidden;
  92. }
  93. .cart-view .list {
  94. height: auto;
  95. width: 100%;
  96. overflow: hidden;
  97. /* margin-bottom: 10rpx; */
  98. }
  99. .cart-view .group-item {
  100. height: auto;
  101. width: 100%;
  102. background: #fff;
  103. margin-bottom: 18rpx;
  104. }
  105. .cart-view .item {
  106. height: 240rpx;
  107. width: 100%;
  108. overflow: hidden;
  109. }
  110. .cart-view .item .checkbox {
  111. float: left;
  112. height: 34rpx;
  113. width: 5%;
  114. margin: 65rpx 18rpx 65rpx 26rpx;
  115. background: url(http://image.meiping123.com/upload/20180104/105653607bcb4b.png) no-repeat;
  116. background-size: 34rpx;
  117. }
  118. .cart-view .item .checkbox.checked {
  119. background: url(http://image.meiping123.com/upload/20180104/1057387862b4e8.png) no-repeat;
  120. background-size: 34rpx;
  121. }
  122. .cart-view .item .cart-goods {
  123. float: left;
  124. height: 200rpx;
  125. width: 80%;
  126. border-bottom: 1px solid #f4f4f4;
  127. margin-left: 5rpx;
  128. position: relative;
  129. }
  130. .cart-view .item .img {
  131. float: left;
  132. height: 155rpx;
  133. width: 155rpx;
  134. background: #f4f4f4;
  135. margin: 19.5rpx 18rpx 19.5rpx 0;
  136. }
  137. .cart-view .item .info {
  138. float: left;
  139. height: 125rpx;
  140. width: 65%;
  141. margin: 19.5rpx 26rpx 19.5rpx 0;
  142. }
  143. .cart-view .item .t {
  144. margin: 8rpx 0;
  145. font-size: 25rpx;
  146. color: #333;
  147. }
  148. .cart-view .item .cart-goods .name {
  149. width: 280rpx;
  150. font-size: 25rpx;
  151. color: #333;
  152. display: inline-block;
  153. overflow: hidden;
  154. text-overflow: ellipsis;
  155. white-space: nowrap;
  156. }
  157. .cart-view .item .num {
  158. height: 28rpx;
  159. line-height: 28rpx;
  160. float: right;
  161. }
  162. .cart-view .item .attr {
  163. margin-bottom: 17rpx;
  164. height: 24rpx;
  165. line-height: 24rpx;
  166. font-size: 22rpx;
  167. color: #666;
  168. overflow: hidden;
  169. white-space: nowrap;
  170. text-overflow: ellipsis;
  171. }
  172. .cart-view .item .goods-do {
  173. position: absolute;
  174. right: 20rpx;
  175. top: 20rpx;
  176. }
  177. .cart-view .item .goods-do .org-price {
  178. color: #999;
  179. font-size: 23rpx;
  180. }
  181. .cart-view .item .open {
  182. height: 28rpx;
  183. width: 150rpx;
  184. display: block;
  185. float: right;
  186. background: url(http://image.meiping123.com/upload/20180104/10590387573e4f.png) right center no-repeat;
  187. background-size: 25rpx;
  188. font-size: 25rpx;
  189. color: #333;
  190. }
  191. .goods .number-item {
  192. display: inline-flex;
  193. -webkit-box-pack: justify;
  194. align-items: center;
  195. position: absolute;
  196. /* right: 0; */
  197. margin-right: 17rpx;
  198. }
  199. .goods .number-item .selnum {
  200. height: 71rpx;
  201. display: flex;
  202. }
  203. .goods .number-item .selnum .cut {
  204. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAMAAADypuvZAAAAM1BMVEX////Z296wsLD6+vvo6evi5Obe3+Lr7O709fb5+fr3+Pjb3eDw8fLu7/Hl5+nk5ui5ubmS1nTyAAABG0lEQVRIx52WWXLEIAxEeUGSGeNl7n/aME6lUmQWm+5f+5l2A5LSC+XFPCrUcFtyuqDbFHSK6XaCzE7TvpZ8LFnWnSafPyB5g2oldSpWYXvrcgKmkQdNDpbfWDDwVwEE8cH6HMRTIAX8Y7rZofxbByydyKBfKx7MORV9Bn4CPL82EfkKlOMv+QxzuqQZfr++YemijK3Dz9Sb8mb0sib8Z4tqGlDldrA2AtnhKygjUCGOX0tDesS2sI9BO0vzuI5BK5acMgYVPAV5DMpEy71P9P71pHu/J9REDzXmBdVDSJBkTwpCilzaXOkYSQdWuRrSJZSuu1JYpBKmFEupLCsNQGk1SlOT2qfSqJWRQBg+lDFHG6j00U0fEqVx9BvALAkNabHL3QAAAABJRU5ErkJggg==);
  205. box-sizing: border-box;
  206. width: 25px;
  207. border: none;
  208. border-radius: 50%;
  209. height: 25px;
  210. background-size: 100% 100%;
  211. }
  212. .goods .number-item .selnum .number {
  213. width: 2em;
  214. text-align: center;
  215. color: #333;
  216. margin-top:-2px;
  217. }
  218. .goods .number-item .selnum .add {
  219. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAANlBMVEX/0WH///8zMzP/02b//fb/+u7/5qj/45z/3oz/1W1KRDj/8c//78j/7L7/6rX/2HfEo1P/3IXeVLZ3AAAA70lEQVRIx52WWQ7DIAxEJzFrNpL7X7ZIbdUUnITh/aIngW1sY6gwiwspisQU3GLq81KxaxCckLDaW8V6KHh7qRgnUBFndGWOuCTOmrLhlq1WPB7wpXLgkeNf8WjAn5UNTWw/ZUYj81cxEY1E81EcmnFvxQqaEZuVi2jt07TrUcuKhcY0jhM0bFZWaIwZaKxZCZwSBhjhFDFYwClZcKziEFglILFKQiwyOFYUOY0QnFGMMqfSo/AX63k+H+SeVPIF01OWfPHzX6zrI/Ptgm9KfOvjGyzfxvlhwY8kfvDx45Uf4vyqwC8kvWtP/3LFr3AvL0kJEWHNe5sAAAAASUVORK5CYII=);
  220. box-sizing: border-box;
  221. width: 25px;
  222. border: none;
  223. border-radius: 50%;
  224. height: 25px;
  225. background-size: 100% 100%;
  226. }
  227. .cart-view .item .b {
  228. height: 28rpx;
  229. line-height: 28rpx;
  230. font-size: 25rpx;
  231. color: #333;
  232. overflow: hidden;
  233. display: inline-flex;
  234. right: 0;
  235. }
  236. .cart-view .group-item .handle {
  237. display: inline-flex;
  238. -webkit-box-pack: justify;
  239. align-items: center;
  240. position: absolute;
  241. right: 0;
  242. margin-right: 17rpx;
  243. }
  244. .cart-view .group-item .handle .del {
  245. display: block;
  246. width: 52rpx;
  247. height: 52rpx;
  248. }
  249. .cart-view .promotion .icon {
  250. display: inline-block;
  251. height: 24rpx;
  252. width: 15rpx;
  253. }
  254. .cart-view .promotion {
  255. margin-top: 25.5rpx;
  256. float: left;
  257. height: 43rpx;
  258. width: 480rpx;
  259. /*margin-right: 84rpx;*/
  260. line-height: 43rpx;
  261. font-size: 0;
  262. }
  263. .cart-view .promotion .tag {
  264. border: 1px solid #f48f18;
  265. height: 37rpx;
  266. line-height: 31rpx;
  267. padding: 0 9rpx;
  268. margin-right: 10rpx;
  269. color: #f48f18;
  270. font-size: 24.5rpx;
  271. }
  272. .cart-view .promotion .txt {
  273. height: 43rpx;
  274. line-height: 43rpx;
  275. padding-right: 10rpx;
  276. color: #333;
  277. font-size: 29rpx;
  278. overflow: hidden;
  279. }
  280. .cart-view .get {
  281. margin-top: 18rpx;
  282. float: right;
  283. height: 58rpx;
  284. padding-left: 14rpx;
  285. border-left: 1px solid #d9d9d9;
  286. line-height: 58rpx;
  287. font-size: 29rpx;
  288. color: #333;
  289. }
  290. .cart-view .coupon-info .header {
  291. width: 100%;
  292. height: 94rpx;
  293. line-height: 94rpx;
  294. text-align: center;
  295. }
  296. .cart-view .coupon-info .txt {
  297. color: #f48f18;
  298. }
  299. .cart-bottom {
  300. position: fixed;
  301. bottom: 0;
  302. left: 0;
  303. height: 100rpx;
  304. width: 100%;
  305. background: #fff;
  306. display: flex;
  307. align-items: center;
  308. z-index: 499;
  309. }
  310. .cart-bottom .checkbox {
  311. height: 34rpx;
  312. padding-left: 60rpx;
  313. line-height: 34rpx;
  314. margin: 0 18rpx 0 36rpx;
  315. background: url(http://image.meiping123.com/upload/20180104/105958509e96.png) no-repeat;
  316. background-size: 34rpx;
  317. font-size: 29rpx;
  318. }
  319. .cart-bottom .checkbox.checked {
  320. background: url(http://image.meiping123.com/upload/20180104/1057387862b4e8.png) no-repeat;
  321. background-size: 34rpx;
  322. }
  323. .cart-bottom .total {
  324. height: 34rpx;
  325. flex: 1;
  326. font-size: 29rpx;
  327. color: #b4282d;
  328. margin-top: -10rpx;
  329. }
  330. .cart-bottom .delete {
  331. height: 34rpx;
  332. width: auto;
  333. margin: 33rpx 18rpx;
  334. font-size: 29rpx;
  335. }
  336. .cart-bottom .checkout {
  337. height: 100rpx;
  338. width: 210rpx;
  339. text-align: center;
  340. line-height: 100rpx;
  341. font-size: 29rpx;
  342. background: #b4282d;
  343. color: #fff;
  344. }
  345. .line-through {
  346. text-decoration: line-through;
  347. }
  348. .a-guess {
  349. width: 750rpx;
  350. height: auto;
  351. overflow: hidden;
  352. background: #fff;
  353. color: #333;
  354. margin-top: 0rpx;
  355. margin-bottom: 150rpx;
  356. }
  357. .a-guess .h {
  358. display: flex;
  359. flex-flow: row nowrap;
  360. align-items: center;
  361. justify-content: center;
  362. height: 90rpx;
  363. }
  364. .a-guess .h .txt {
  365. padding-right: 30rpx;
  366. background: url("http://image.meiping123.com/upload/20180104/104752297a18b9.png") right 4rpx no-repeat;
  367. background-size: 16.656rpx 27rpx;
  368. display: inline-block;
  369. height: 36rpx;
  370. font-size: 33rpx;
  371. line-height: 36rpx;
  372. }
  373. .a-guess .b {
  374. width: 750rpx;
  375. height: auto;
  376. overflow: hidden;
  377. border-top: 1rpx solid #f4f4f4;
  378. margin-top: 20rpx;
  379. }
  380. .a-guess .b .item {
  381. float: left;
  382. background: #fff;
  383. width: 375rpx;
  384. padding-bottom: 33.333rpx;
  385. border-bottom: 1rpx solid #f4f4f4;
  386. height: auto;
  387. overflow: hidden;
  388. text-align: center;
  389. }
  390. .a-guess .b .item-b {
  391. border-right: 1rpx solid #f4f4f4;
  392. }
  393. .a-guess .item .img2 {
  394. margin-top: 10rpx;
  395. width: 302rpx;
  396. height: 302rpx;
  397. }
  398. .a-guess .item .name {
  399. display: block;
  400. width: 365.625rpx;
  401. height: 80rpx;
  402. padding: 0 20rpx;
  403. margin: 11.5rpx 0 22rpx 0;
  404. text-align: center;
  405. font-size: 30rpx;
  406. color: #333;
  407. }
  408. .a-guess .item .price {
  409. display: block;
  410. width: 365.625rpx;
  411. height: 30rpx;
  412. text-align: center;
  413. font-size: 30rpx;
  414. color: #b4282d;
  415. }
  416. .a-guess .item .price .cart {
  417. margin-left: 20rpx;
  418. width: 35rpx;
  419. height: 35rpx;
  420. vertical-align: -6rpx;
  421. }
  422. /* //////////////////////////////////////////// */
  423. .attr-pop {
  424. width: 100%;
  425. height: auto;
  426. padding: 31.25rpx;
  427. background: #fff;
  428. position: fixed;
  429. bottom: 100rpx;
  430. z-index: 600;
  431. }
  432. .attr-close {
  433. float: right;
  434. width: 40rpx;
  435. height: 40rpx;
  436. line-height: 40rpx;
  437. border-radius: 50%;
  438. font-size: 40rpx;
  439. text-align: center;
  440. overflow: hidden;
  441. }
  442. .attr-pop .img-info {
  443. width: 687.5rpx;
  444. height: 177rpx;
  445. overflow: hidden;
  446. margin-bottom: 41.5rpx;
  447. }
  448. .attr-pop .img {
  449. float: left;
  450. height: 177rpx;
  451. width: 177rpx;
  452. background: #f4f4f4;
  453. margin-right: 31.25rpx;
  454. }
  455. .attr-pop .info {
  456. float: left;
  457. height: 177rpx;
  458. display: flex;
  459. align-items: flex-start;
  460. }
  461. .attr-pop .p {
  462. font-size: 33rpx;
  463. color: #333;
  464. height: 33rpx;
  465. line-height: 33rpx;
  466. margin-bottom: 10rpx;
  467. }
  468. .attr-pop .a {
  469. font-size: 29rpx;
  470. color: #333;
  471. height: 40rpx;
  472. line-height: 40rpx;
  473. width: 260px;
  474. display: block;
  475. word-break: break-all;
  476. word-wrap: break-word;
  477. }
  478. .spec-con {
  479. width: 100%;
  480. height: auto;
  481. overflow: hidden;
  482. }
  483. .spec-con .name {
  484. height: 32rpx;
  485. margin-bottom: 22rpx;
  486. font-size: 29rpx;
  487. color: #333;
  488. }
  489. .spec-con .values {
  490. height: auto;
  491. margin-bottom: 31.25rpx;
  492. font-size: 0;
  493. }
  494. .spec-con .value {
  495. display: inline-block;
  496. height: 62rpx;
  497. padding: 0 35rpx;
  498. line-height: 56rpx;
  499. text-align: center;
  500. margin-right: 25rpx;
  501. margin-bottom: 16.5rpx;
  502. border: 1px solid #333;
  503. font-size: 25rpx;
  504. color: #333;
  505. }
  506. .spec-con .value.disable {
  507. border: 1px solid #ccc;
  508. color: #ccc;
  509. }
  510. .spec-con .value.selected {
  511. border: 1px solid #b4282d;
  512. color: #b4282d;
  513. }
  514. .spec-con .number-item .selnum {
  515. width: 322rpx;
  516. height: 71rpx;
  517. border: 1px solid #ccc;
  518. display: flex;
  519. }
  520. .spec-con .number-item .cut {
  521. width: 93.75rpx;
  522. height: 100%;
  523. text-align: center;
  524. line-height: 65rpx;
  525. }
  526. .spec-con .number-item .number {
  527. flex: 1;
  528. height: 100%;
  529. text-align: center;
  530. line-height: 68.75rpx;
  531. border-left: 1px solid #ccc;
  532. border-right: 1px solid #ccc;
  533. float: left;
  534. }
  535. .spec-con .number-item .add {
  536. width: 93.75rpx;
  537. height: 100%;
  538. text-align: center;
  539. line-height: 65rpx;
  540. }
  541. .bottom-btn {
  542. position: fixed;
  543. left: 0;
  544. bottom: 0;
  545. z-index: 10;
  546. width: 750rpx;
  547. height: 100rpx;
  548. display: flex;
  549. background: #fff;
  550. }
  551. .bottom-btn .r {
  552. border: 1px solid #b4282d;
  553. background: #b4282d;
  554. float: left;
  555. height: 100rpx;
  556. line-height: 96rpx;
  557. flex: 1;
  558. text-align: center;
  559. color: #fff;
  560. }
  561. .title-name {
  562. width: 100%;
  563. height: 30rpx;
  564. text-align: center;
  565. font-size: 28rpx;
  566. color: rgba(87, 86, 86, 0.63);
  567. background:url(http://image.meiping123.com/upload/20180104/1055343561cd30.png) no-repeat center 205rpx;
  568. background-size: 100rpx 100rpx;
  569. margin-left: 60rpx;
  570. font-weight: bolder;
  571. }
  572. .checkbox-biz-type {
  573. float: left;
  574. height: 30rpx;
  575. width: 100%;
  576. margin-top: 10rpx;
  577. margin-left: 24rpx;
  578. background: url(http://image.meiping123.com/upload/20180104/105653607bcb4b.png) no-repeat;
  579. background-size: 30rpx;
  580. }
  581. .checkbox-biz-type.checked {
  582. background: url(http://image.meiping123.com/upload/20180104/1057387862b4e8.png) no-repeat;
  583. background-size: 30rpx;
  584. }