shoppingCart.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  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. .totalBox{
  180. display: flex;
  181. align-items: center;
  182. justify-content: space-between;
  183. font-size: .22rem;
  184. border-top: .02rem solid rgba(0, 0, 0, .2);
  185. padding-top: .32rem;
  186. margin-bottom: .48rem;
  187. }
  188. .totalBox .totalT{
  189. color: #333333;
  190. flex: 1;
  191. word-break: break-all;
  192. font-weight: bold;
  193. }
  194. .totalBox .totalVal{
  195. color: #999999;
  196. max-width: 1.2rem;
  197. word-break: break-all;
  198. }
  199. .payPalButton,.checkoutButton{
  200. background-color: rgba(79, 73, 222, 1);
  201. color: #FFF;
  202. font-weight: bold;
  203. font-size: .22rem;
  204. width: 100%;
  205. height: .62rem;
  206. display: flex;
  207. align-items: center;
  208. justify-content: center;
  209. cursor: pointer;
  210. margin-bottom: .2rem;
  211. }
  212. .checkoutButton{
  213. background-color: rgba(51, 55, 59, 1);
  214. }
  215. .orBox{
  216. display: flex;
  217. align-items: center;
  218. padding: .06rem .24rem 0 .24rem;
  219. margin-bottom: .26rem;
  220. }
  221. .orBox .link{
  222. flex: 1;
  223. height: .02rem;
  224. background-color: rgba(0, 0, 0, .1);
  225. }
  226. .orBox .or{
  227. padding: 0 .12rem;
  228. font-size: .18rem;
  229. font-weight: bold;
  230. color: #999999;
  231. }
  232. #addressContainer{
  233. margin-bottom: .24rem;
  234. display: none;
  235. }
  236. .addressItem{
  237. display: flex;
  238. align-items: center;
  239. padding: .06rem 0;
  240. }
  241. .addItmeTitle{
  242. width: 1.4rem;
  243. text-align: right;
  244. font-size: .16rem;
  245. color: #999999;
  246. padding-right: .08rem;
  247. }
  248. #areaSelect{
  249. height: .4rem;
  250. font-size: .16rem;
  251. border: .02rem solid rgba(0, 0, 0, .05);
  252. border-radius: .08rem;
  253. color: #434343;
  254. padding: 0 .12rem;
  255. }
  256. .addInput{
  257. flex: 1;
  258. height: .45rem;
  259. font-size: .15rem;
  260. border: .02rem solid rgba(0, 0, 0, .05);
  261. border-radius: .08rem;
  262. padding: 0 .12rem;
  263. color: #434343;
  264. }
  265. #addressButModel{
  266. display: none;
  267. }
  268. .addressButtonBox{
  269. display: flex;
  270. align-items: center;
  271. gap: .16rem;
  272. justify-content: flex-end;
  273. padding-top: .24rem;
  274. }
  275. #addCancel,#addSave{
  276. background-color: rgba(79, 73, 222, 1);
  277. color: #FFF;
  278. font-size: .15rem;
  279. border-radius: .04rem;
  280. height: .4rem;
  281. display: flex;
  282. align-items: center;
  283. justify-content: center;
  284. width: 1.2rem;
  285. cursor: pointer;
  286. -moz-box-sizing: border-box;
  287. -webkit-box-sizing: border-box;
  288. box-sizing: border-box;
  289. }
  290. #addCancel{
  291. border: .02rem solid rgba(0, 0, 0, .2);
  292. background: transparent;
  293. color: #434343;
  294. }
  295. #loadingModel{
  296. position: fixed;
  297. z-index: 999;
  298. top: 0;
  299. left: 0;
  300. bottom: 0;
  301. right: 0;
  302. background-color: rgba(0, 0, 0, .5);
  303. display: none;
  304. }
  305. #loadingModel .loadingBox{
  306. border-radius: .06rem;
  307. overflow: hidden;
  308. font-size: 0;
  309. margin: 25% auto 0 auto;
  310. width: 1rem;
  311. }
  312. #loadingModel .loadingBox img{
  313. width: 1rem;
  314. }
  315. @media (max-width: 1680px) {
  316. .productPrice{
  317. width: 2rem;
  318. font-size: .24rem;
  319. }
  320. .windContainer{
  321. margin-left: .6rem;
  322. }
  323. .productDelete img{
  324. width: .2rem;
  325. }
  326. .numberInput{
  327. font-size: .2rem;
  328. }
  329. .lfBox .productTitle{
  330. font-size: .22rem;
  331. }
  332. .lfBox .specs{
  333. font-size: .18rem;
  334. }
  335. }
  336. @media (max-width: 1499px) {
  337. .productPrice{
  338. width: 1.8rem;
  339. font-size: .22rem;
  340. }
  341. .lfBox .productTitle{
  342. font-size: .2rem;
  343. }
  344. .windContainer{
  345. width: 4rem;
  346. }
  347. .windTBox{
  348. font-size: .18rem;
  349. }
  350. .windInfoBox{
  351. font-size: .18rem;
  352. }
  353. .totalBox{
  354. font-size: .2rem;
  355. }
  356. .payPalButton,.checkoutButton{
  357. font-size: .2rem;
  358. height: .52rem;
  359. }
  360. .mbItem{
  361. margin-bottom: .3rem;
  362. }
  363. .pageTitle{
  364. font-size: .3rem;
  365. }
  366. }
  367. @media (max-width: 1299px) {
  368. .pageDataBox{
  369. flex-direction: column;
  370. align-items: flex-end;
  371. }
  372. .productConatiner{
  373. width: 100%;
  374. }
  375. .productList{
  376. padding-left: .12rem;
  377. }
  378. .windContainer{
  379. margin-left: 0;
  380. padding-top: .8rem;
  381. }
  382. }
  383. @media (max-width: 1199px) {
  384. .productDelete{
  385. position: absolute;
  386. top: 0;
  387. right: 0;
  388. padding: 0 .12rem .12rem .12rem;
  389. }
  390. .addItmeTitle{
  391. font-size: .2rem;
  392. }
  393. #areaSelect{
  394. font-size: .2rem;
  395. height: .5rem;
  396. }
  397. .addInput{
  398. font-size: .2rem;
  399. height: .55rem;
  400. }
  401. #addCancel,#addSave{
  402. font-size: .2rem;
  403. height: .5rem;
  404. }
  405. }
  406. @media (max-width: 750px) {
  407. .pageDataBox{
  408. display: block;
  409. }
  410. .windContainer{
  411. width: auto;
  412. padding-left: .52rem;
  413. padding-right: .52rem;
  414. }
  415. .pageTitle{
  416. font-size: .3rem;
  417. }
  418. .productModelTitle{
  419. font-size: .24rem;
  420. }
  421. .productItem{
  422. height: auto;
  423. min-height: 1.2rem;
  424. padding: .12rem 0;
  425. margin-bottom: 0;
  426. margin-bottom: .12rem;
  427. }
  428. .productImgBox{
  429. width: 1.2rem;
  430. height: 1.2rem;
  431. }
  432. .lfBox .productTitle{
  433. font-size: .22rem;
  434. }
  435. .lfBox .specs{
  436. font-size: .2rem;
  437. }
  438. .productPrice{
  439. text-align: right;
  440. font-size: .26rem;
  441. }
  442. .numberInput{
  443. font-size: .24rem;
  444. }
  445. .numberReduce,.numberAdd{
  446. font-size: .26rem;
  447. }
  448. .windTBox{
  449. font-size: .24rem;
  450. }
  451. .windInfoBox{
  452. font-size: .24rem;
  453. }
  454. .totalBox{
  455. font-size: .26rem;
  456. }
  457. .payPalButton,.checkoutButton{
  458. font-size: .26rem;
  459. height: .76rem;
  460. }
  461. .orBox .or{
  462. font-size: .2rem;
  463. }
  464. .totalBox .totalVal{
  465. max-width: 2rem;
  466. }
  467. .windInfoBox .val{
  468. max-width: 2rem;
  469. }
  470. #loadingModel .loadingBox{
  471. margin: 50% auto 0 auto;
  472. width: 1.5rem;
  473. }
  474. #loadingModel .loadingBox img{
  475. width: 1.5rem;
  476. }
  477. }