shoppingCart.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. body{
  2. /* background-color: #F8F8F8; */
  3. }
  4. #main{
  5. padding: 0 .24rem;
  6. }
  7. .sectionContainer{
  8. display: flex;
  9. justify-content: center;
  10. }
  11. .elementorContainer{
  12. max-width: 13.2rem;
  13. flex: 1;
  14. -moz-box-sizing: border-box;
  15. -webkit-box-sizing: border-box;
  16. box-sizing: border-box;
  17. }
  18. .pageContainer{
  19. max-width: 18.8rem;
  20. margin: 0 auto;
  21. padding-bottom: 1rem;
  22. }
  23. .pageTitle{
  24. color: #333;
  25. font-weight: bold;
  26. font-size: .34rem;
  27. padding-top: .6rem;
  28. }
  29. .pageDataBox{
  30. padding-top: .6rem;
  31. display: flex;
  32. justify-content: space-between;
  33. }
  34. .productConatiner{
  35. flex: 1;
  36. }
  37. .productModelTitle{
  38. color: #333;
  39. font-size: .2rem;
  40. font-weight: bold;
  41. margin-bottom: .2rem;
  42. }
  43. .productList{
  44. border-top: .02rem solid rgba(0, 0, 0, .2);
  45. border-bottom: .02rem solid rgba(0, 0, 0, .2);
  46. padding-top: .36rem;
  47. }
  48. .productItem{
  49. margin-bottom: .24rem;
  50. height: 1.4rem;
  51. display: flex;
  52. align-items: center;
  53. position: relative;
  54. }
  55. .productImgBox{
  56. width: 1.4rem;
  57. height: 100%;
  58. }
  59. .productImgBox img{
  60. width: 100%;
  61. height: 100%;
  62. }
  63. .productInfo{
  64. padding-left: .22rem;
  65. flex: 1;
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: center;
  69. }
  70. .lfBox{
  71. flex: 1;
  72. padding-right: .12rem;
  73. }
  74. .lfBox .productTitle{
  75. font-size: .24rem;
  76. font-weight: bold;
  77. color: #434343;
  78. line-height: 1.4;
  79. display: -webkit-box;
  80. -webkit-line-clamp: 3;
  81. -webkit-box-orient: vertical;
  82. overflow: hidden;
  83. word-break: break-all;
  84. }
  85. .lfBox .specs{
  86. font-size: .2rem;
  87. color: #999999;
  88. overflow: hidden;
  89. white-space: nowrap;
  90. text-overflow: ellipsis;
  91. }
  92. .nunberBox{
  93. display: flex;
  94. align-items: center;
  95. color: #666666;
  96. }
  97. .numberInput{
  98. font-size: .24rem;
  99. font-weight: bold;
  100. }
  101. .numberReduce,.numberAdd{
  102. cursor: pointer;
  103. padding: .12rem .24rem;
  104. font-size: .24rem;
  105. vertical-align: middle;
  106. }
  107. .productPrice{
  108. color: #434343;
  109. font-weight: bold;
  110. font-size: .28rem;
  111. width: 3rem;
  112. text-align: center;
  113. word-break: break-all;
  114. }
  115. .productDelete{
  116. padding: 0 .36rem;
  117. cursor: pointer;
  118. }
  119. .productDelete img{
  120. width: .24rem;
  121. }
  122. .windContainer{
  123. width: 4.8rem;
  124. margin-left: 1rem;
  125. }
  126. .windTBox{
  127. display: flex;
  128. align-items: center;
  129. justify-content: space-between;
  130. font-size: .2rem;
  131. margin-bottom: .2rem;
  132. padding-right: .36rem;
  133. }
  134. .windTBox .lt{
  135. flex: 1;
  136. color: #434343;
  137. }
  138. .windTBox .cartTotals{
  139. color: #666666;
  140. }
  141. .linkItem{
  142. border-top: .02rem solid rgba(0, 0, 0, .2);
  143. border-bottom: .02rem solid rgba(0, 0, 0, .2);
  144. padding: .24rem 0 .16rem 0;
  145. }
  146. .mbItem{
  147. padding: .12rem 0;
  148. margin-bottom: .4rem;
  149. }
  150. .windInfoBox{
  151. display: flex;
  152. align-items: center;
  153. justify-content: space-between;
  154. color: #999999;
  155. font-size: .2rem;
  156. line-height: 1.4;
  157. margin-bottom: .08rem;
  158. padding-right: .36rem;
  159. }
  160. .windInfoBox .key{
  161. flex: 1;
  162. word-break: break-all;
  163. }
  164. .keyItem{
  165. margin-bottom: .1rem;
  166. }
  167. .windInfoBox .val{
  168. padding-left: .12rem;
  169. word-break: break-all;
  170. max-width: 1.2rem;
  171. }
  172. .windInfoBox.freeshipping .key{
  173. color: rgba(79, 73, 222, 1);
  174. }
  175. #changeAddress{
  176. cursor: pointer;
  177. color: rgba(79, 73, 222, 1);
  178. }
  179. #chooseAddress{
  180. cursor: pointer;
  181. color: rgba(79, 73, 222, 1);
  182. }
  183. .totalBox{
  184. display: flex;
  185. align-items: center;
  186. justify-content: space-between;
  187. font-size: .22rem;
  188. border-top: .02rem solid rgba(0, 0, 0, .2);
  189. padding-top: .32rem;
  190. margin-bottom: .48rem;
  191. }
  192. .totalBox .totalT{
  193. color: #333333;
  194. flex: 1;
  195. word-break: break-all;
  196. font-weight: bold;
  197. }
  198. .totalBox .totalVal{
  199. color: #999999;
  200. max-width: 1.2rem;
  201. word-break: break-all;
  202. }
  203. .payPalButton,.checkoutButton{
  204. background-color: rgba(79, 73, 222, 1);
  205. color: #FFF;
  206. font-weight: bold;
  207. font-size: .22rem;
  208. width: 100%;
  209. height: .62rem;
  210. display: flex;
  211. align-items: center;
  212. justify-content: center;
  213. cursor: pointer;
  214. margin-bottom: .2rem;
  215. }
  216. .checkoutButton{
  217. background-color: rgba(51, 55, 59, 1);
  218. }
  219. .orBox{
  220. display: flex;
  221. align-items: center;
  222. padding: .06rem .24rem 0 .24rem;
  223. margin-bottom: .26rem;
  224. }
  225. .orBox .link{
  226. flex: 1;
  227. height: .02rem;
  228. background-color: rgba(0, 0, 0, .1);
  229. }
  230. .orBox .or{
  231. padding: 0 .12rem;
  232. font-size: .18rem;
  233. font-weight: bold;
  234. color: #999999;
  235. }
  236. #addressContainer{
  237. margin-bottom: .24rem;
  238. display: none;
  239. }
  240. .addressOptions{
  241. display: flex;
  242. align-items: center;
  243. padding: .06rem 0;
  244. }
  245. .container {
  246. max-width: 4.4rem;
  247. //margin: 0 auto;
  248. padding:.06rem 0;
  249. border: 1px solid #ccc;
  250. border-radius: 5px;
  251. margin-bottom: .26rem;
  252. }
  253. .radio-item {
  254. margin-bottom: .04rem;
  255. margin-left: .04rem;
  256. }
  257. .delete-button {
  258. margin-right: .04rem;
  259. cursor: pointer;
  260. color: red;
  261. }
  262. .addressItem{
  263. display: flex;
  264. align-items: center;
  265. padding: .06rem 0;
  266. }
  267. .addItmeTitle{
  268. width: 1.4rem;
  269. text-align: right;
  270. font-size: .16rem;
  271. color: #999999;
  272. padding-right: .08rem;
  273. }
  274. #areaSelect{
  275. height: .4rem;
  276. font-size: .16rem;
  277. border: .02rem solid rgba(0, 0, 0, .05);
  278. border-radius: .08rem;
  279. color: #434343;
  280. padding: 0 .12rem;
  281. }
  282. .addInput{
  283. flex: 1;
  284. height: .45rem;
  285. font-size: .15rem;
  286. border: .02rem solid rgba(0, 0, 0, .05);
  287. border-radius: .08rem;
  288. padding: 0 .12rem;
  289. color: #434343;
  290. }
  291. #addressButModel{
  292. display: none;
  293. }
  294. .addressButtonBox{
  295. display: flex;
  296. align-items: center;
  297. gap: .16rem;
  298. justify-content: flex-end;
  299. padding-top: .24rem;
  300. }
  301. #addCancel,#addSave{
  302. background-color: rgba(79, 73, 222, 1);
  303. color: #FFF;
  304. font-size: .15rem;
  305. border-radius: .04rem;
  306. height: .4rem;
  307. display: flex;
  308. align-items: center;
  309. justify-content: center;
  310. width: 1.2rem;
  311. cursor: pointer;
  312. -moz-box-sizing: border-box;
  313. -webkit-box-sizing: border-box;
  314. box-sizing: border-box;
  315. }
  316. #addCancel{
  317. border: .02rem solid rgba(0, 0, 0, .2);
  318. background: transparent;
  319. color: #434343;
  320. }
  321. #loadingModel{
  322. position: fixed;
  323. z-index: 999;
  324. top: 0;
  325. left: 0;
  326. bottom: 0;
  327. right: 0;
  328. background-color: rgba(0, 0, 0, .5);
  329. display: none;
  330. }
  331. #loadingModel .loadingBox{
  332. border-radius: .06rem;
  333. overflow: hidden;
  334. font-size: 0;
  335. margin: 25% auto 0 auto;
  336. width: 1rem;
  337. }
  338. #loadingModel .loadingBox img{
  339. width: 1rem;
  340. }
  341. @media (max-width: 1680px) {
  342. .productPrice{
  343. width: 2rem;
  344. font-size: .24rem;
  345. }
  346. .windContainer{
  347. margin-left: .6rem;
  348. }
  349. .productDelete img{
  350. width: .2rem;
  351. }
  352. .numberInput{
  353. font-size: .2rem;
  354. }
  355. .lfBox .productTitle{
  356. font-size: .22rem;
  357. }
  358. .lfBox .specs{
  359. font-size: .18rem;
  360. }
  361. }
  362. @media (max-width: 1499px) {
  363. .productPrice{
  364. width: 1.8rem;
  365. font-size: .22rem;
  366. }
  367. .lfBox .productTitle{
  368. font-size: .2rem;
  369. }
  370. .windContainer{
  371. width: 4rem;
  372. }
  373. .windTBox{
  374. font-size: .18rem;
  375. }
  376. .windInfoBox{
  377. font-size: .18rem;
  378. }
  379. .totalBox{
  380. font-size: .2rem;
  381. }
  382. .payPalButton,.checkoutButton{
  383. font-size: .2rem;
  384. height: .52rem;
  385. }
  386. .mbItem{
  387. margin-bottom: .3rem;
  388. }
  389. .pageTitle{
  390. font-size: .3rem;
  391. }
  392. }
  393. @media (max-width: 1299px) {
  394. .pageDataBox{
  395. flex-direction: column;
  396. align-items: flex-end;
  397. }
  398. .productConatiner{
  399. width: 100%;
  400. }
  401. .productList{
  402. padding-left: .12rem;
  403. }
  404. .windContainer{
  405. margin-left: 0;
  406. padding-top: .8rem;
  407. }
  408. }
  409. @media (max-width: 1199px) {
  410. .productDelete{
  411. position: absolute;
  412. top: 0;
  413. right: 0;
  414. padding: 0 .12rem .12rem .12rem;
  415. }
  416. .addItmeTitle{
  417. font-size: .2rem;
  418. }
  419. #areaSelect{
  420. font-size: .2rem;
  421. height: .5rem;
  422. }
  423. .addInput{
  424. font-size: .2rem;
  425. height: .55rem;
  426. }
  427. #addCancel,#addSave{
  428. font-size: .2rem;
  429. height: .5rem;
  430. }
  431. }
  432. @media (max-width: 750px) {
  433. .pageDataBox{
  434. display: block;
  435. }
  436. .windContainer{
  437. width: auto;
  438. padding-left: .52rem;
  439. padding-right: .52rem;
  440. }
  441. .pageTitle{
  442. font-size: .3rem;
  443. }
  444. .productModelTitle{
  445. font-size: .24rem;
  446. }
  447. .productItem{
  448. height: auto;
  449. min-height: 1.2rem;
  450. padding: .12rem 0;
  451. margin-bottom: 0;
  452. margin-bottom: .12rem;
  453. }
  454. .productImgBox{
  455. width: 1.2rem;
  456. height: 1.2rem;
  457. }
  458. .lfBox .productTitle{
  459. font-size: .22rem;
  460. }
  461. .lfBox .specs{
  462. font-size: .2rem;
  463. }
  464. .productPrice{
  465. text-align: right;
  466. font-size: .26rem;
  467. }
  468. .numberInput{
  469. font-size: .24rem;
  470. }
  471. .numberReduce,.numberAdd{
  472. font-size: .26rem;
  473. }
  474. .windTBox{
  475. font-size: .24rem;
  476. }
  477. .windInfoBox{
  478. font-size: .24rem;
  479. }
  480. .totalBox{
  481. font-size: .26rem;
  482. }
  483. .payPalButton,.checkoutButton{
  484. font-size: .26rem;
  485. height: .76rem;
  486. }
  487. .orBox .or{
  488. font-size: .2rem;
  489. }
  490. .totalBox .totalVal{
  491. max-width: 2rem;
  492. }
  493. .windInfoBox .val{
  494. max-width: 2rem;
  495. }
  496. #loadingModel .loadingBox{
  497. margin: 50% auto 0 auto;
  498. width: 1.5rem;
  499. }
  500. #loadingModel .loadingBox img{
  501. width: 1.5rem;
  502. }
  503. }