cart.wxss 12 KB

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