shoppingCart.wxss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  1. page{
  2. background: #f7f7f7;
  3. height: 100%;
  4. }
  5. .noLogPage{
  6. padding-top: 200rpx;
  7. }
  8. .navigationBar{
  9. background: #ffffff;
  10. }
  11. .commonHead {
  12. width: 100%;
  13. height: 128rpx;
  14. box-sizing: border-box;
  15. -webkit-box-sizing: border-box;
  16. -moz-box-sizing: border-box;
  17. overflow: hidden;
  18. position: fixed;
  19. top: 0;
  20. left: 0;
  21. bottom: 0;
  22. z-index: 99950;
  23. background: #fff;
  24. }
  25. .commonHeadWrap {
  26. width: 100%;
  27. position: absolute;
  28. overflow: hidden;
  29. left: 0;
  30. bottom: 0;
  31. /* height: 45px;
  32. line-height: 45px; */
  33. display: flex;
  34. align-items: center;
  35. background: #fff;
  36. }
  37. .commonHeadHome {
  38. padding: 0 24rpx;
  39. height: 100%;
  40. position: absolute;
  41. left: 0;
  42. top: 0;
  43. }
  44. .commonHeadHome .icon{
  45. width: 32px;
  46. height: 32px;
  47. }
  48. .commonHeadTextBox {
  49. /* width: 450rpx; */
  50. width: 100%;
  51. height: 100%;
  52. line-height: 44px;
  53. text-align: center;
  54. font-size: 15px;
  55. overflow: hidden;
  56. justify-content:flex-end;
  57. }
  58. .headTitle {
  59. width: 280rpx;
  60. margin: 0 auto;
  61. font-size: 16px;
  62. font-weight: bold;
  63. white-space: nowrap;
  64. overflow: hidden;
  65. text-overflow: ellipsis;
  66. }
  67. .cartContainer{
  68. padding: 24rpx 32rpx;
  69. }
  70. .cartList{
  71. background: #FFFFFF;
  72. border-radius: 24rpx;
  73. overflow: hidden;
  74. }
  75. .cartItem{
  76. /* height: 208rpx; */
  77. position: relative;
  78. }
  79. .cartItem::after{
  80. content: '';
  81. position: absolute;
  82. left: 0;
  83. top: 10;
  84. background: #f7f7f7;
  85. width: 100%;
  86. height: 4rpx;
  87. -webkit-transform: scaleY(0.5);
  88. transform: scaleY(0.5);
  89. -webkit-transform-origin: 0 0;
  90. transform-origin: 0 0;
  91. z-index: 999;
  92. }
  93. .cartContent{
  94. height: 100%;
  95. padding: 24rpx 0;
  96. }
  97. .selectBox{
  98. width: 88rpx;
  99. }
  100. .selectBox .icon{
  101. width: 48rpx;
  102. height: 48rpx;
  103. }
  104. .cartInfoBox{
  105. flex: 1;
  106. }
  107. .cartImgBox{
  108. width: 160rpx;
  109. height: 160rpx;
  110. background: #f5f5f5;
  111. border-radius: 8rpx;
  112. overflow: hidden;
  113. }
  114. .cartImgBox .image{
  115. width: 100%;
  116. height: 100%;
  117. }
  118. .cartTextBox{
  119. flex: 1;
  120. padding-left: 16rpx;
  121. display: flex;
  122. flex-direction: column;
  123. justify-content: space-between;
  124. }
  125. .cartTitle{
  126. font-size: 28rpx;
  127. font-weight: bold;
  128. color: #161719;
  129. max-width: 360rpx;
  130. }
  131. .cartTitle.inv{
  132. color: #909297;
  133. }
  134. .ruleBox{
  135. height: 48rpx;
  136. background: #f7f7f7;
  137. border-radius: 8rpx;
  138. padding: 0 8rpx 0 16rpx;
  139. margin-top: 6rpx;
  140. }
  141. .ruleBox .rule{
  142. max-width: 300rpx;
  143. font-size: 24rpx;
  144. color: #5f6268;
  145. }
  146. .ruleBox.shi .rule{
  147. color: #909297;
  148. }
  149. .ruleBox .icon{
  150. width: 48rpx;
  151. height: 48rpx;
  152. }
  153. .numberBox{
  154. }
  155. .numberBox .number{
  156. height: 36rpx;
  157. background: #f7f7f7;
  158. border-radius: 8rpx;
  159. margin: 0 8rpx;
  160. font-size: 26rpx;
  161. font-weight: bold;
  162. color: #161719;
  163. padding: 0 12rpx;
  164. min-width: 36rpx;
  165. }
  166. .numberBox .icon{
  167. width: 48rpx;
  168. height: 48rpx;
  169. }
  170. .priceBox{
  171. color: #e73e2d;
  172. font-size: 24rpx;
  173. }
  174. .priceBox .tag{
  175. }
  176. .priceBox .pra{
  177. font-weight: bold;
  178. font-size: 34rpx;
  179. margin-left: 4rpx;
  180. }
  181. .invalid{
  182. opacity: 1;
  183. font-size: 24rpx;
  184. color: #161719;
  185. }
  186. .noStock{
  187. text-align: right;
  188. font-size: 24rpx;
  189. color: #e73e2d;
  190. padding: 0 24rpx 24rpx 0;
  191. }
  192. .footerContainer{
  193. height: 104rpx;
  194. }
  195. .footerBox{
  196. height: 104rpx;
  197. background: #ffffff;
  198. position: fixed;
  199. bottom: 0;
  200. right: 0;
  201. left: 0;
  202. z-index: 99990;
  203. border-bottom: 1px solid #F7F7F7;
  204. }
  205. .allSelect{
  206. height: 100%;
  207. padding: 0 32rpx;
  208. font-size: 26rpx;
  209. color: #161719;
  210. }
  211. .allSelect .icon{
  212. width: 48rpx;
  213. height: 48rpx;
  214. }
  215. .priceInfo{
  216. padding-right: 32rpx;
  217. }
  218. .priceContent{
  219. }
  220. .priceContent .top{
  221. }
  222. .cartTotalNumber{
  223. font-size: 22rpx;
  224. color: #909297;
  225. margin-right: 8rpx;
  226. padding-top: 6rpx;
  227. }
  228. .priceContent .top .total{
  229. font-size: 24rpx;
  230. color: #161719;
  231. margin-right: 10rpx;
  232. padding-top: 4rpx;
  233. }
  234. .priceContent .bot{
  235. font-size: 22rpx;
  236. color: #E73E2D;
  237. }
  238. .settlement{
  239. width: 176rpx !important;
  240. height: 72rpx !important;
  241. background: #e73e2d !important;
  242. border-radius: 48rpx !important;
  243. font-size: 28rpx !important;
  244. font-weight: bold !important;
  245. color: #ffffff !important;
  246. margin-left: 16rpx !important;
  247. }
  248. .priceContent .priceBox .tag{
  249. margin-right: 2rpx;
  250. }
  251. .priceContent .priceBox .tag,.priceContent .priceBox .prb{
  252. /* padding-top: 6rpx; */
  253. }
  254. .priceContent .priceBox .pra{
  255. font-size: 36rpx;
  256. margin-bottom: 0;
  257. }
  258. .emptyPage{
  259. margin-top: 300rpx;
  260. }
  261. .emptyPage .image{
  262. width: 300rpx;
  263. height: 228rpx;
  264. }
  265. .emptyPage .tips{
  266. font-size: 28rpx;
  267. color: #5f6268;
  268. margin-top: 80rpx;
  269. }
  270. .tui-swipeout-button-right-group{
  271. width: 96rpx !important;
  272. }
  273. .cartDelete{
  274. width: 96rpx;
  275. height: 100%;
  276. color: #FFFFFF;
  277. background: #E73E2D;
  278. font-size: 24rpx;
  279. }
  280. .buyPopup{
  281. padding: 32rpx 32rpx 24rpx 32rpx;
  282. }
  283. .gpInfo .gpImgBox{
  284. width: 160rpx;
  285. height: 160rpx;
  286. background: #F7F7F7;
  287. overflow: hidden;
  288. border-radius: 8rpx;
  289. }
  290. .gpInfo .gpImgBox image{
  291. width: 100%;
  292. height: 100%;
  293. }
  294. .gpPrice{
  295. font-size: 24rpx;
  296. color: #e73e2d;
  297. margin-left: 24rpx;
  298. }
  299. .gpPrice .pr{
  300. font-weight: bold;
  301. font-size: 48rpx;
  302. margin-left: 6rpx;
  303. }
  304. .linkPrice{
  305. margin-left: 12rpx;
  306. padding-top: 16rpx;
  307. font-size: 22rpx;
  308. color: #909297;
  309. }
  310. .linkPrice .pr{
  311. margin-left: 4rpx;
  312. font-size: 28rpx;
  313. text-decoration: line-through;
  314. }
  315. .buyPopup .tips{
  316. font-size: 26rpx;
  317. color: #5f6268;
  318. margin-top: 48rpx;
  319. }
  320. .normsItem{
  321. margin-top: 24rpx;
  322. }
  323. .normsItem .text{
  324. height: 52rpx;
  325. position: relative;
  326. padding: 0 16rpx;
  327. font-size: 26rpx;
  328. color: #161719;
  329. background: #f5f5f5;
  330. border-radius: 4rpx;
  331. white-space: nowrap;
  332. text-overflow: ellipsis;
  333. }
  334. .normsItem.lack .text{
  335. background: #f5f5f5 !important;
  336. color: #909297 !important;
  337. }
  338. .normsItem.lack .text::after{
  339. display: none !important;
  340. }
  341. .normsItem .text.sel{
  342. color: #E73E2D;
  343. background: #ffecea;
  344. }
  345. .normsItem .text.sel::after{
  346. content: '';
  347. position: absolute;
  348. left: 0;
  349. top: 0;
  350. border: 2rpx solid #E73E2D;
  351. width: 200%;
  352. height: 200%;
  353. -webkit-transform: scale(0.5);
  354. transform: scale(0.5);
  355. -webkit-transform-origin: left top;
  356. transform-origin: left top;
  357. border-radius: 8rpx;
  358. }
  359. .numberContent{
  360. padding-top: 90rpx;
  361. }
  362. .numberTips{
  363. font-size: 26rpx;
  364. color: #5f6268;
  365. }
  366. .numberBox{
  367. }
  368. .reduce,.add{
  369. padding: 0 8rpx;
  370. }
  371. .numberBox .number{
  372. height: 36rpx;
  373. background: #f7f7f7;
  374. border-radius: 8rpx;
  375. font-size: 26rpx;
  376. font-weight: bold;
  377. color: #161719;
  378. min-width: 36rpx;
  379. }
  380. .numberBox .number .input{
  381. max-width: 60rpx;
  382. text-align: center;
  383. width: auto;
  384. padding: 0 12rpx;
  385. }
  386. .numberBox .icon{
  387. width: 48rpx;
  388. height: 48rpx;
  389. }
  390. .buyPopup .bot{
  391. width: 100% !important;
  392. height: 84rpx !important;
  393. background: #e73e2d !important;
  394. border-radius: 48rpx;
  395. font-size: 32rpx;
  396. font-weight: bold;
  397. color: #ffffff;
  398. margin: 0 !important;
  399. padding: 0 !important;
  400. margin-top: 40rpx !important;
  401. }
  402. .closePopup{
  403. top: 0;
  404. right: 0;
  405. z-index: 1;
  406. position: absolute;
  407. padding: 34rpx 32rpx 16rpx 16rpx;
  408. }
  409. .closePopup.liu{
  410. padding: 44rpx 32rpx 16rpx 16rpx;
  411. }
  412. .goShop{
  413. height: 72rpx;
  414. background: #e73e2d;
  415. border-radius: 48rpx;
  416. font-size: 28rpx;
  417. font-weight: bold;
  418. color: #ffffff;
  419. padding: 0 46rpx;
  420. margin-top: 80rpx;
  421. }
  422. .lookDetails{
  423. position: relative;
  424. padding-right: 40rpx;
  425. padding-left: 16rpx;
  426. padding-bottom: 14rpx;
  427. }
  428. .gongJ{
  429. padding-bottom: 14rpx;
  430. }
  431. .lookDetails .icon{
  432. position: absolute;
  433. top: -10rpx;
  434. right: -12rpx;
  435. transform:rotate(180deg);
  436. transition: all .3s;
  437. }
  438. .lookDetails .icon.sel{
  439. transform:rotate(0);
  440. }
  441. .detailsPopup{
  442. height: 900rpx;
  443. padding: 32rpx;
  444. }
  445. .popupTitle{
  446. font-size: 36rpx;
  447. color: #161719;
  448. }
  449. .lookImageList{
  450. padding-top: 48rpx;
  451. padding-bottom: 50rpx;
  452. }
  453. .lookImage{
  454. width: 164rpx;
  455. height: 164rpx;
  456. border-radius: 16rpx;
  457. margin-right: 10rpx;
  458. }
  459. .lookItem{
  460. margin-bottom: 28rpx;
  461. }
  462. .lookItem .key{
  463. font-size: 26rpx;
  464. color: #161719;
  465. }
  466. .lookItem .value{
  467. font-size: 20rpx;
  468. color: #161719;
  469. }
  470. .lookItem .value.red{
  471. color: #E73E2D !important;
  472. }
  473. .lookItem .value .vTag{
  474. margin-right: 2rpx;
  475. }
  476. .lookItem .value .pr1{
  477. font-size: 28rpx;
  478. }
  479. .lookItem .discount .pr1{
  480. margin-right: 4rpx !important;
  481. }
  482. ::-webkit-scrollbar {
  483. display: none;
  484. width: 0;
  485. height: 0;
  486. color: transparent;
  487. }
  488. .editBox{
  489. height: 60rpx;
  490. }
  491. .editFixed{
  492. height: 60rpx;
  493. position: fixed;
  494. top: 0;
  495. right: 0;
  496. left: 0;
  497. background: #FFFFFF;
  498. z-index: 10;
  499. display: flex;
  500. justify-content: flex-end;
  501. align-items: center;
  502. }
  503. .editFixed .edit{
  504. padding: 0 32rpx;
  505. font-size: 28rpx;
  506. color: #161719;
  507. }
  508. .newModalButtonBox{
  509. margin-top: 70rpx;
  510. }
  511. .newModalButtonBox .mButton.border{
  512. color: #5F6268;
  513. }
  514. .newModalButtonBox .mButton.border::after{
  515. border: 2rpx solid #E0E1E5;
  516. }