cart.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881
  1. /* 购物车列表 */
  2. .cart .step-box .left .img {
  3. background: url(../images/icons.png) no-repeat 0 -249px;
  4. }
  5. .cart .cart-tab {
  6. padding: 12px 0;
  7. border: 1px solid #eee;
  8. background-color: #f9f9f9;
  9. display: flex;
  10. line-height: 14px;
  11. }
  12. .cart .cart-tab .tab-check {
  13. width: 100px;
  14. }
  15. .cart .cart-tab .tab-img,
  16. .cart .cart-con .tab-img {
  17. width: 90px;
  18. }
  19. .cart .cart-tab .tab-check .checkbox,
  20. .cart .cart-con .tab-check .checkbox {
  21. margin-left: 15px;
  22. }
  23. .cart .cart-tab .tab-check .text {
  24. display: inline-block;
  25. vertical-align: top;
  26. margin-left: 5px;
  27. }
  28. .cart .cart-tab .tab-name {
  29. width: 370px;
  30. }
  31. .cart .cart-tab .tab-price,
  32. .cart .cart-con .item .tab-price {
  33. width: 140px;
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. }
  38. .cart .cart-con .item .tab-price {
  39. flex-direction: column;
  40. justify-content: center;
  41. }
  42. .cart .cart-tab .tab-number,
  43. .cart .cart-con .tab-number {
  44. width: 150px;
  45. text-align: center;
  46. padding-left: 40px;
  47. }
  48. .cart .cart-tab .tab-total,
  49. .cart .cart-con .tab-total {
  50. width: 160px;
  51. text-align: center;
  52. padding-right: 40px;
  53. }
  54. .cart .cart-tab .tab-action {
  55. width: 80px;
  56. text-align: left;
  57. }
  58. .cart .cart-con .shop-box {
  59. height: 24px;
  60. line-height: 24px;
  61. border-bottom: 1px solid #eee;
  62. padding: 20px 0 15px;
  63. }
  64. .cart .cart-con .shop-box .shop-msg {
  65. display: inline-block;
  66. margin-left: 16px;
  67. width: 48%;
  68. }
  69. .cart .cart-con .shop-box .shop-msg .checkbox {
  70. margin-right: 5px;
  71. margin-top: 5px;
  72. }
  73. .cart .cart-con .shop-box .shop-msg .self {
  74. background: #e1251b;
  75. color: #fff;
  76. padding: 1px 3px;
  77. display: inline-block;
  78. height: 14px;
  79. line-height: 14px;
  80. border-radius: 2px;
  81. margin-right: 5px;
  82. margin-top: 4px;
  83. vertical-align: top;
  84. }
  85. .cart .cart-con .shop-box .shop-msg .shop-name {
  86. display: inline-block;
  87. vertical-align: top;
  88. font-weight: 700;
  89. }
  90. .cart .cart-con .shop-box .shop-coupon {
  91. display: inline-block;
  92. vertical-align: top;
  93. margin-left: 5px;
  94. position: relative;
  95. }
  96. .cart .cart-con .shop-box .shop-coupon .coupon-tit {
  97. display: inline-block;
  98. width: 58px;
  99. height: 24px;
  100. line-height: 24px;
  101. padding-left: 18px;
  102. position: relative;
  103. cursor: pointer;
  104. border-radius: 2px;
  105. color: #e1251b;
  106. background: url(../images/icons.png) no-repeat 0 -386px;
  107. }
  108. .cart .cart-con .shop-box .shop-coupon .coupon-tit::before {
  109. position: absolute;
  110. top: 10px;
  111. right: 10px;
  112. display: block;
  113. width: 0;
  114. height: 0;
  115. content: ' ';
  116. border: 4px solid transparent;
  117. border-radius: 2px;
  118. }
  119. .cart .cart-con .shop-box .shop-coupon .coupon-tit::before {
  120. border-top: 4px solid #e1251b;
  121. }
  122. .cart .cart-con .shop-box .shop-coupon.active .coupon-tit:before {
  123. transform: rotate(180deg);
  124. top: 6px;
  125. }
  126. .cart .cart-con .shop-box .shop-coupon .coupon-con {
  127. position: absolute;
  128. top: 39px;
  129. left: 0;
  130. background: #fff;
  131. border: 1px solid #e1251b;
  132. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  133. padding: 10px 0 10px 15px;
  134. width: 278px;
  135. z-index: 10;
  136. display: none;
  137. }
  138. .cart .cart-con .shop-box .shop-coupon.active .coupon-con {
  139. display: block;
  140. }
  141. .cart .cart-con .shop-box .shop-coupon .coupon-con::before,
  142. .cart .cart-con .shop-box .shop-coupon .coupon-con::after {
  143. position: absolute;
  144. top: -17px;
  145. left: 30px;
  146. display: block;
  147. width: 0;
  148. height: 0;
  149. content: ' ';
  150. border: 8px solid transparent;
  151. }
  152. .cart .cart-con .shop-box .shop-coupon .coupon-con::before {
  153. border-bottom: 8px solid #df0b00;
  154. }
  155. .cart .cart-con .shop-box .shop-coupon .coupon-con::after {
  156. top: -16px;
  157. border-bottom: 8px solid #fff;
  158. }
  159. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-box {
  160. max-height: 250px;
  161. overflow-y: auto;
  162. }
  163. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item {
  164. padding: 5px 0;
  165. height: 40px;
  166. display: flex;
  167. align-items: center;
  168. }
  169. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .price {
  170. display: inline-block;
  171. width: 46px;
  172. height: 22px;
  173. padding: 0 3px;
  174. color: #fff;
  175. line-height: 22px;
  176. text-align: center;
  177. white-space: nowrap;
  178. border: 1px dashed #fff;
  179. border-top: 0;
  180. border-bottom: 0;
  181. background: #e1251b;
  182. font-weight: 600;
  183. }
  184. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .price .big {
  185. font-size: 14px;
  186. margin-left: 2px;
  187. }
  188. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .info {
  189. height: 30px;
  190. margin-left: 10px;
  191. line-height: 15px;
  192. }
  193. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .info .name {
  194. display: block;
  195. width: 130px;
  196. height: 15px;
  197. overflow: hidden;
  198. white-space: nowrap;
  199. text-overflow: ellipsis;
  200. color: #000;
  201. font-family: arial;
  202. }
  203. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .info .time {
  204. display: block;
  205. font-family: arial;
  206. color: #999;
  207. height: 12px;
  208. line-height: 12px;
  209. margin-top: 3px;
  210. }
  211. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .btn {
  212. height: 24px;
  213. line-height: 24px;
  214. border: 1px solid #ddd;
  215. margin-top: 7px;
  216. width: 50px;
  217. text-align: center;
  218. color: #666;
  219. border-radius: 2px;
  220. margin-left: 15px;
  221. }
  222. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .btn:hover {
  223. border-color: #e1251b;
  224. color: #e1251b;
  225. }
  226. .cart .cart-con .shop-box .shop-coupon .coupon-con .coupon-item .btn.active {
  227. color: #999;
  228. border: 0;
  229. cursor: default;
  230. }
  231. .cart .cart-con .activity-msg {
  232. display: flex;
  233. border: 1px solid #eee;
  234. border-width: 0 1px;
  235. padding: 10px 22px;
  236. align-items: center;
  237. position: relative;
  238. min-height: 50px;
  239. box-sizing: border-box;
  240. }
  241. .cart .cart-con .activity-msg .a-info {
  242. width: 880px;
  243. display: flex;
  244. align-items: center;
  245. }
  246. .activity-goods-checked {
  247. position: relative;
  248. }
  249. .activity-goods-checked::after {
  250. content: '';
  251. position: absolute;
  252. left: 22px;
  253. top: 0;
  254. bottom: 0;
  255. width: 0;
  256. border-left: 1px dashed #ddd;
  257. z-index: 0;
  258. }
  259. .cart .cart-con .activity-msg .a-info .icon {
  260. padding: 1px 7px;
  261. height: 16px;
  262. line-height: 16px;
  263. background: #e1251b;
  264. color: #fff;
  265. position: relative;
  266. }
  267. .cart .cart-con .activity-msg .a-info .icon::after {
  268. position: absolute;
  269. left: 0;
  270. bottom: -3px;
  271. display: block;
  272. width: 0;
  273. height: 0;
  274. content: ' ';
  275. font-size: 0;
  276. border-top: 3px solid #e1251b;
  277. border-right: 6px solid transparent;
  278. }
  279. .cart .cart-con .activity-msg .a-info .text {
  280. margin-left: 10px;
  281. display: -webkit-box;
  282. -webkit-box-orient: vertical;
  283. -webkit-line-clamp: 1;
  284. overflow: hidden;
  285. text-overflow: ellipsis;
  286. }
  287. .cart .cart-con .activity-msg .a-info .text-red {
  288. color: #e1251b;
  289. }
  290. .cart .cart-con .activity-msg .a-info .link {
  291. margin-left: 10px;
  292. }
  293. .cart .cart-con .activity-msg .a-info .link .arr {
  294. font-family: Consolas;
  295. }
  296. .cart .cart-con .activity-msg .a-info .link:hover {
  297. color: #e1251b;
  298. }
  299. .cart .cart-con .activity-msg .a-price {
  300. text-align: right;
  301. min-width: 100px;
  302. }
  303. .cart .cart-con .activity-msg .a-price .discount {
  304. color: #e1251b;
  305. }
  306. .cart .cart-con .item {
  307. padding: 15px 0;
  308. border: 1px solid #eee;
  309. display: flex;
  310. flex-direction: column;
  311. align-items: center;
  312. margin-top: -1px;
  313. position: relative;
  314. }
  315. .cart .cart-con .item .item-goods {
  316. width: 100%;
  317. display: flex;
  318. align-items: center;
  319. }
  320. .cart .cart-con .item.active {
  321. background: #fffcf8;
  322. }
  323. .cart .cart-con .tab-check {
  324. width: 44px;
  325. }
  326. .cart .cart-con .item .tab-img {
  327. width: 90px;
  328. }
  329. .cart .cart-con .item .tab-img .img-box {
  330. display: block;
  331. width: 80px;
  332. height: 80px;
  333. font-size: 0;
  334. }
  335. .cart .cart-con .item .tab-img .img-box img {
  336. width: 100%;
  337. height: 100%;
  338. vertical-align: top;
  339. }
  340. .cart .cart-con .item .tab-name {
  341. line-height: 20px;
  342. align-self: flex-start;
  343. width: 426px;
  344. }
  345. .cart .cart-con .item .tab-name .name {
  346. max-width: 380px;
  347. max-height: 36px;
  348. line-height: 18px;
  349. -webkit-box-orient: vertical;
  350. -webkit-line-clamp: 2;
  351. overflow: hidden;
  352. text-overflow: ellipsis;
  353. display: -webkit-box;
  354. }
  355. .cart .cart-con .item .tab-name .name:hover {
  356. color: #e1251b;
  357. }
  358. .cart .cart-con .item .tab-name .sku {
  359. max-width: 380px;
  360. height: 20px;
  361. display: block;
  362. margin-top: 10px;
  363. color: #999;
  364. overflow: hidden;
  365. text-overflow: ellipsis;
  366. white-space: nowrap;
  367. }
  368. .cart .cart-con .item .tab-price .unit-price {
  369. font-family: verdana;
  370. }
  371. .cart .cart-con .item .tab-price .promotion-box {
  372. position: relative;
  373. display: inline-block;
  374. margin-top: 5px;
  375. }
  376. .cart .cart-con .item .tab-price .promotion-box .p-tit {
  377. display: inline-block;
  378. /* width: 28px; */
  379. border: 1px solid #e1251b;
  380. color: #e1251b;
  381. height: 18px;
  382. text-align: left;
  383. line-height: 20px;
  384. padding: 0 15px 0 5px;
  385. position: relative;
  386. background-color: #fff;
  387. cursor: pointer;
  388. }
  389. .cart .cart-con .item .tab-price .promotion-box .p-tit::before {
  390. position: absolute;
  391. right: 5px;
  392. top: 7px;
  393. display: block;
  394. width: 0;
  395. height: 0;
  396. content: ' ';
  397. border: 4px solid transparent;
  398. border-top: 4px solid #e1251b;
  399. border-radius: 2px;
  400. }
  401. .cart .cart-con .item .tab-price .promotion-box .p-con {
  402. position: absolute;
  403. left: 0px;
  404. top: 19px;
  405. padding: 10px 14px 10px 10px;
  406. width: 276px;
  407. height: 210px;
  408. z-index: 30;
  409. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
  410. border: 1px solid #e1251b;
  411. background: #fff;
  412. text-align: left;
  413. }
  414. .cart .cart-con .item .tab-price .promotion-box .p-con::before {
  415. position: absolute;
  416. left: 0;
  417. top: -1px;
  418. display: block;
  419. width: 44px;
  420. height: 1px;
  421. background: #fff;
  422. content: ' ';
  423. }
  424. .cart .cart-con .item .tab-price .promotion-box .p-con .p-items-con {
  425. height: 180px;
  426. overflow-y: auto;
  427. }
  428. .cart .cart-con .item .tab-price .promotion-box .p-con .p-item {
  429. display: flex;
  430. align-items: center;
  431. justify-content: flex-start;
  432. margin-top: 6px;
  433. cursor: pointer;
  434. }
  435. .cart .cart-con .item .tab-price .promotion-box .p-con .p-item .radio {
  436. /* align-self: flex-start;
  437. margin: 4px 5px 0 0; */
  438. margin-right: 5px;
  439. cursor: pointer;
  440. }
  441. .cart .cart-con .item .tab-price .promotion-box .p-con .p-item .p-info {
  442. /* flex: 1;
  443. position: relative; */
  444. line-height: 1.5em;
  445. text-overflow: -o-ellipsis-lastline;
  446. overflow: hidden;
  447. text-overflow: ellipsis;
  448. display: -webkit-box;
  449. -webkit-line-clamp: 2;
  450. -webkit-box-orient: vertical;
  451. cursor: pointer;
  452. }
  453. .cart .cart-con .item .tab-price .promotion-box .p-con .p-btns {
  454. margin-top: 10px;
  455. display: flex;
  456. justify-content: center;
  457. }
  458. .cart .cart-con .item .tab-price .promotion-box .p-con .p-btns .sure {
  459. padding: 3px 10px;
  460. border-radius: 2px;
  461. color: #fff;
  462. background: #e1251b;
  463. }
  464. .cart .cart-con .item .tab-price .promotion-box .p-con .p-btns .sure:hover {
  465. opacity: 0.9;
  466. }
  467. .cart .cart-con .item .tab-price .promotion-box .p-con .p-btns .cancel {
  468. padding: 3px 10px;
  469. border-radius: 2px;
  470. border: 1px solid #eee;
  471. background: #f7f7f7;
  472. margin-left: 10px;
  473. }
  474. .cart .cart-con .item .tab-price .promotion-box .p-con .p-btns .cancel:hover {
  475. background: #fff;
  476. }
  477. .cart .cart-con .item .tab-number .goods-number .reduce,
  478. .cart .cart-con .item .tab-number .goods-number .increase {
  479. display: inline-block;
  480. vertical-align: top;
  481. width: 30px;
  482. height: 30px;
  483. background: #f5f5f5;
  484. font-size: 22px;
  485. text-align: center;
  486. line-height: 26px;
  487. color: #999;
  488. cursor: pointer;
  489. border-radius: 50%;
  490. -moz-user-select: none; /*火狐*/
  491. -webkit-user-select: none; /*webkit浏览器*/
  492. -ms-user-select: none; /*IE10*/
  493. -khtml-user-select: none; /*早期浏览器*/
  494. user-select: none;
  495. }
  496. .cart .cart-con .item.active .tab-number .goods-number .reduce,
  497. .cart .cart-con .item.active .tab-number .goods-number .increase {
  498. background: #fff;
  499. }
  500. .cart .cart-con .item .tab-number .goods-number .limit {
  501. cursor: not-allowed;
  502. color: #ccc;
  503. }
  504. .cart .cart-con .item .tab-number .goods-number .number {
  505. border: 0;
  506. width: 40px;
  507. height: 30px;
  508. text-align: center;
  509. font-family: arial;
  510. vertical-align: top;
  511. background: transparent;
  512. }
  513. .cart .cart-con .item .tab-total {
  514. color: #e1251b;
  515. font-weight: 600;
  516. font-family: verdana;
  517. }
  518. .cart .cart-con .item .tab-action .action-a {
  519. display: block;
  520. -moz-transition: all 0.2s;
  521. -webkit-transition: all 0.2s;
  522. -o-transition: all 0.2s;
  523. transition: all 0.2s;
  524. }
  525. .cart .cart-con .item .tab-action .collect {
  526. margin-bottom: 5px;
  527. }
  528. .cart .cart-con .item .tab-action .del {
  529. color: #999;
  530. }
  531. .cart .cart-con .item .tab-action .action-a:hover {
  532. color: #e1251b;
  533. }
  534. .cart .cart-con .shop-box.invalid .shop-msg .checkbox,
  535. .cart .cart-con .shop-box.invalid .shop-coupon {
  536. display: none;
  537. }
  538. .cart .cart-con .item.invalid .tab-check .checkbox {
  539. display: none;
  540. }
  541. .cart .cart-con .item.invalid .tab-check .invalid-text {
  542. background: #dadada;
  543. color: #5f5f5f;
  544. margin-left: 20px;
  545. text-align: center;
  546. border-radius: 1px;
  547. }
  548. .cart .cart-con .item.invalid .tab-name .name:hover,
  549. .cart .cart-con .item.invalid .tab-name .sku,
  550. .cart .cart-con .item.invalid .tab-price,
  551. .cart .cart-con .item.invalid .tab-total {
  552. color: #ccc;
  553. }
  554. /* 购物车列表 end */
  555. /* 结算 */
  556. .cart .cart-bottom {
  557. display: flex;
  558. border: 1px solid #eee;
  559. margin-top: 30px;
  560. align-items: center;
  561. }
  562. .cart .cart-bottom .total-box {
  563. flex: 1;
  564. display: flex;
  565. }
  566. .cart .cart-bottom .total-box .check-all {
  567. margin-left: 16px;
  568. height: 14px;
  569. line-height: 14px;
  570. cursor: pointer;
  571. }
  572. .cart .cart-bottom .total-box .check-all .text {
  573. display: inline-block;
  574. vertical-align: top;
  575. margin-left: 5px;
  576. }
  577. .cart .cart-bottom .total-box .del-selected,
  578. .cart .cart-bottom .total-box .clear-invalid {
  579. margin-left: 20px;
  580. line-height: 14px;
  581. display: inline-block;
  582. vertical-align: top;
  583. -moz-transition: all 0.2s;
  584. -webkit-transition: all 0.2s;
  585. -o-transition: all 0.2s;
  586. transition: all 0.2s;
  587. }
  588. .cart .cart-bottom .total-box .del-selected:hover,
  589. .cart .cart-bottom .total-box .clear-invalid:hover {
  590. color: #e1251b;
  591. }
  592. .cart .cart-bottom .settlement-box {
  593. display: flex;
  594. position: relative;
  595. padding-right: 93px;
  596. }
  597. .cart .cart-bottom .settlement-box .amount {
  598. line-height: 20px;
  599. margin-top: 6px;
  600. }
  601. .cart .cart-bottom .settlement-box .amount .number {
  602. font-family: verdana;
  603. color: #e1251b;
  604. margin: 0 3px;
  605. }
  606. .cart .cart-bottom .settlement-box .price-box {
  607. height: 44px;
  608. line-height: 20px;
  609. margin: 6px 15px 0;
  610. }
  611. .cart .cart-bottom .settlement-box .price-box .total-price .text {
  612. font-size: 16px;
  613. color: #e1251b;
  614. font-family: verdana;
  615. font-weight: 700;
  616. display: inline-block;
  617. vertical-align: top;
  618. }
  619. .cart .cart-bottom .settlement-box .price-box .discount-price {
  620. display: block;
  621. text-align: right;
  622. font-family: verdana;
  623. }
  624. .cart .cart-bottom .settlement-box .btn {
  625. position: absolute;
  626. top: -1px;
  627. right: -1px;
  628. display: block;
  629. width: 94px;
  630. height: 52px;
  631. line-height: 52px;
  632. color: #fff;
  633. text-align: center;
  634. font-size: 16px;
  635. background: #e1251b;
  636. font-weight: 600;
  637. }
  638. .cart .cart-bottom .settlement-box .btn:hover {
  639. opacity: 0.9;
  640. }
  641. /* 结算 end */
  642. /* 套装、赠品样式 */
  643. /* 套装提示栏 */
  644. .combo-msg {
  645. display: flex;
  646. width: 1200px;
  647. padding: 10px 0;
  648. box-sizing: border-box;
  649. border-left: 1px solid #eee;
  650. border-right: 1px solid #eee;
  651. align-items: center;
  652. text-align: center;
  653. }
  654. .combo-info {
  655. display: flex;
  656. width: 560px;
  657. padding-left: 22px;
  658. box-sizing: border-box;
  659. }
  660. .combo-info .combo-icon {
  661. padding: 1px 7px;
  662. height: 16px;
  663. line-height: 16px;
  664. background: #e1251b;
  665. color: #fff;
  666. position: relative;
  667. }
  668. .combo-info .combo-icon::after {
  669. position: absolute;
  670. left: 0;
  671. bottom: -3px;
  672. display: block;
  673. width: 0;
  674. height: 0;
  675. content: ' ';
  676. font-size: 0;
  677. border-top: 3px solid #e1251b;
  678. border-right: 6px solid transparent;
  679. }
  680. .combo-info .combo-name {
  681. margin: 0 10px;
  682. }
  683. .combo-info .combo-reduce {
  684. color: #e1251b;
  685. }
  686. .combo-unit-price {
  687. width: 140px;
  688. font-family: verdana;
  689. }
  690. .combo-count {
  691. width: 150px;
  692. margin-left: 40px;
  693. }
  694. .combo-count .reduce,
  695. .combo-count .increase {
  696. display: inline-block;
  697. vertical-align: top;
  698. width: 30px;
  699. height: 30px;
  700. background: #f5f5f5;
  701. font-size: 22px;
  702. text-align: center;
  703. line-height: 26px;
  704. color: #999;
  705. cursor: pointer;
  706. border-radius: 50%;
  707. -moz-user-select: none; /*火狐*/
  708. -webkit-user-select: none; /*webkit浏览器*/
  709. -ms-user-select: none; /*IE10*/
  710. -khtml-user-select: none; /*早期浏览器*/
  711. user-select: none;
  712. }
  713. .combo-count .limit {
  714. cursor: not-allowed;
  715. color: #ccc;
  716. }
  717. .combo-count .number {
  718. border: 0;
  719. width: 40px;
  720. height: 30px;
  721. text-align: center;
  722. font-family: arial;
  723. vertical-align: top;
  724. background: transparent;
  725. }
  726. .combo-total-price {
  727. width: 160px;
  728. margin-right: 40px;
  729. color: #e1251b;
  730. font-weight: 600;
  731. font-family: verdana;
  732. }
  733. .combo-del-btn {
  734. color: #999;
  735. cursor: pointer;
  736. }
  737. .combo-del-btn:hover {
  738. color: #e1251b;
  739. }
  740. /* 赠品 */
  741. .gift-con {
  742. width: 100%;
  743. padding: 10px 0 0 45px;
  744. box-sizing: border-box;
  745. }
  746. .gift-item {
  747. max-width: 468px;
  748. margin-bottom: 4px;
  749. display: -webkit-box;
  750. -webkit-box-orient: vertical;
  751. -webkit-line-clamp: 2;
  752. overflow: hidden;
  753. text-overflow: ellipsis;
  754. }
  755. .gift-item:last-child {
  756. margin-bottom: 0;
  757. }
  758. .gift-item-name:hover {
  759. color: #e1251b;
  760. }
  761. .gift-item-name .gift-item-sku-name {
  762. color: #999;
  763. margin-left: 10px;
  764. }