index.wxss 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. /**index.wxss**/
  2. .wrap{
  3. min-height: 100vh;
  4. background: #f6f6f6;
  5. overflow: auto;
  6. }
  7. .wrap.limited{
  8. height: 100vh;
  9. overflow: hidden;
  10. }
  11. .wrap_nr{
  12. padding-bottom: 30rpx;
  13. }
  14. /* 商品 */
  15. .shopcar_wrap{
  16. padding-top: 30rpx;
  17. }
  18. .shopcar{
  19. width: 690rpx;
  20. margin: 0 auto;
  21. background: #FFFFFF;
  22. }
  23. .shopcar .goods_list .goods_item .goods_tu{
  24. width: 120rpx;
  25. height: 120rpx;
  26. border-radius: 5rpx;
  27. }
  28. .shopcar .goods_list .goods_item .goods_info{
  29. display: flex;
  30. flex-direction: column;
  31. justify-content: space-between;
  32. }
  33. .goods_list .goods_del{
  34. height: 100%;
  35. width: 130rpx;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. color: #FFFFFF;
  40. background: #EF3838;
  41. }
  42. /* 会员价 */
  43. .goods_list .goods_item{
  44. margin-top: 20rpx;
  45. padding: 30rpx;
  46. }
  47. .goods_list .goods_item:first-child{
  48. margin-top: 0;
  49. }
  50. .goods_list .goods_item .goods_specs .price .vip{
  51. padding: 4rpx 10rpx;
  52. font-size: 20rpx;
  53. /* font-weight: bold; */
  54. background: #FFFFFF;
  55. border: 1px solid #F1A223;
  56. border-radius: 14px;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. color: #F1A223;
  61. }
  62. .guige .guige_b .guige_b_l .vip{
  63. padding-left: 8rpx;
  64. }
  65. /* 合计 */
  66. .heji_wrap{
  67. width: 100%;
  68. height: 100rpx;
  69. padding: 0 30rpx;
  70. position: fixed;
  71. bottom: 0;
  72. left: 0;
  73. background: #FFFFFF;
  74. display: flex;
  75. align-items: center;
  76. justify-content: space-between;
  77. z-index: 10;
  78. }
  79. .heji_wrap .heji_r{
  80. display: flex;
  81. align-items: center;
  82. }
  83. .heji_wrap .heji_btn{
  84. width: 200rpx;
  85. height: 80rpx;
  86. margin-left: 30rpx;
  87. border-radius: 40rpx;
  88. background: #FFD102;
  89. display: flex;
  90. align-items: center;
  91. justify-content: center;
  92. }
  93. /* 规格 */
  94. .guige_wrap{
  95. width: 670rpx;
  96. border-radius: 10rpx 10rpx 0 0;
  97. margin: 0 auto;
  98. position: fixed;
  99. top: 50%;
  100. left: 50%;
  101. transform: translate(-50%,-50%);
  102. z-index: 15;
  103. }
  104. .guige{
  105. width: 100%;
  106. padding-bottom: 38rpx;
  107. background: #FFFFFF;
  108. }
  109. .guige .goods_thumb_wrap{
  110. width: 100%;
  111. /* height: 370rpx; */
  112. position: relative;
  113. }
  114. .guige .goods_thumb_wrap .line{
  115. width: 100%;
  116. height: 30rpx;
  117. position: absolute;
  118. bottom: 0;
  119. left: 0;
  120. background-repeat: repeat-x;
  121. background-size: 18rpx 30rpx;
  122. }
  123. .guige .goods_thumb{
  124. width: 100%;
  125. height: auto;
  126. }
  127. .guige .goods_name{
  128. padding: 20rpx 30rpx 0;
  129. font-size: 30rpx;
  130. color: #080808;
  131. display: flex;
  132. align-items: center;
  133. justify-content: space-between;
  134. }
  135. .guige .goods_labels{
  136. padding: 0 30rpx;
  137. font-size: 24rpx;
  138. color: rgba(8,8,8,.54);
  139. display: flex;
  140. flex-wrap: wrap;
  141. }
  142. .guige .goods_labels .label{
  143. padding: 6rpx;
  144. background: #F6F6F6;
  145. margin: 10rpx 14rpx 0 0;
  146. }
  147. .guige .goods_desc{
  148. padding: 10rpx 30rpx 0;
  149. }
  150. .guige .goods_desc .goods_desc_name{
  151. font-size: 26rpx;
  152. color: rgba(51,51,51,.54);
  153. }
  154. .guige .goods_desc .goods_desc_nr{
  155. /* padding-top: 20rpx; */
  156. font-size: 24rpx;
  157. color: rgba(8,8,8,.54);
  158. }
  159. .guige .goods_guige{
  160. padding: 20rpx 30rpx 0;
  161. }
  162. .guige .goods_guige .goods_guige_name{
  163. font-size: 26rpx;
  164. color: rgba(51,51,51,.54);
  165. }
  166. .guige .goods_guige .goods_guige_nr{
  167. display: flex;
  168. flex-wrap: wrap;
  169. }
  170. .guige .guige_item{
  171. height: 59rpx;
  172. font-size: 24rpx;
  173. color: #333333;
  174. background: #FFFFFF;
  175. border: 1rpx solid rgba(0, 0, 0, .12);
  176. border-radius: 5rpx;
  177. display: flex;
  178. align-items: center;
  179. margin: 20rpx 20rpx 0 0;
  180. }
  181. .guige .guige_item:last-child{
  182. margin-right: 0;
  183. }
  184. .guige .guige_item .item_wenzi{
  185. display: flex;
  186. }
  187. .guige .guige_item .item_wenzi text{
  188. padding: 0 16rpx 0 12rpx;
  189. display: flex;
  190. align-items: center;
  191. }
  192. .guige .guige_item .item_wenzi text:not(:last-child)::after{
  193. content: "";
  194. display: block;
  195. width: 2rpx;
  196. height: 16rpx;
  197. background: rgba(0, 0, 0, .12);
  198. margin-left: 16rpx;
  199. }
  200. .guige .guige_item .price{
  201. padding: 0 18rpx;
  202. font-size: 28rpx;
  203. border-left: 1rpx solid rgba(0, 0, 0, .12);
  204. }
  205. .guige .guige_item .price .unit{
  206. font-size: 20rpx;
  207. }
  208. .guige .guige_item.selected{
  209. background: #FFFBF0;
  210. border-color: #ED8C17;
  211. color: #ED8C17;
  212. }
  213. .guige .guige_item.selected .price{
  214. color: #EA4335;
  215. border-left-color: #ED8C17;
  216. }
  217. .guige .guige_selected{
  218. margin-top: 20rpx;
  219. height: 60rpx;
  220. background: #FAFAFA;
  221. border: 1rpx solid rgba(0, 0, 0, .05);
  222. border-left: 0 none;
  223. border-right: 0 none;
  224. padding: 0rpx 30rpx;
  225. display: flex;
  226. align-items: center;
  227. font-size: 26rpx;
  228. color: #000000;
  229. }
  230. .guige .guige_selected .label{
  231. color: rgba(0,0,0,.54);
  232. }
  233. .guige .guige_b{
  234. margin-top: 30rpx;
  235. padding: 0 30rpx;
  236. display: flex;
  237. align-items: center;
  238. justify-content: space-between;
  239. }
  240. .guige .guige_b .guige_b_l{
  241. font-size: 26rpx;
  242. color: #000000;
  243. }
  244. .guige .guige_b .price{
  245. font-size: 38rpx;
  246. color: #EA4335;
  247. padding-left: 10rpx;
  248. }
  249. .guige .guige_b .price .unit{
  250. font-size: 22rpx;
  251. }
  252. .guige .guige_b .item{
  253. font-size: 24rpx;
  254. color: rgba(0, 0, 0, .54);
  255. }
  256. .guige .guige_b .guige_b_r{
  257. width: 350rpx;
  258. height: 90rpx;
  259. background: #D54C43;
  260. border-radius: 45rpx;
  261. font-size: 34rpx;
  262. color: #FFFFFF;
  263. display: flex;
  264. align-items: center;
  265. justify-content: center;
  266. }
  267. .guige_wrap .btn_close{
  268. width: 100%;
  269. }
  270. .guige_wrap .btn_close .van-icon{
  271. /* width: 56rpx;
  272. height: 56rpx; */
  273. display: block;
  274. margin: 36rpx auto;
  275. }
  276. .guige_wrap .van-icon-cross{
  277. position: absolute;
  278. top: 30rpx;
  279. right: 30rpx;
  280. }
  281. /* 无商品的提醒 */
  282. .wrap_nr .tips{
  283. position: absolute;
  284. top: 40vh;
  285. left: 0;
  286. width: 100%;
  287. text-align: center;
  288. }
  289. /* */
  290. .goods_list .goods_item .goods_labels .label{
  291. background: none;
  292. font-size: 24rpx;
  293. color: rgba(8,8,8,.54);
  294. margin: 0;
  295. }
  296. .goods_list .goods_item .goods_specs .price{
  297. display: flex;
  298. align-items: center;
  299. }
  300. .goods_list .goods_item .goods_specs .price .vip{
  301. margin-left: 20rpx;
  302. }
  303. /* */
  304. .jiesuan_wrap{
  305. padding: 30rpx 20rpx 36rpx;
  306. font-size: 26rpx;
  307. color: #000000;
  308. border-top: 1rpx solid rgba(0,0,0,.12);
  309. }
  310. .jiesuan_wrap .jiesuan_t .price{
  311. padding-left: 10rpx;
  312. font-size: 34rpx;
  313. font-weight: bold;
  314. color: #D54C43;
  315. }
  316. .jiesuan_wrap .jiesuan_t .price .unit{
  317. font-size: 24rpx;
  318. }
  319. .jiesuan_wrap .jiesuan_b{
  320. display: flex;
  321. justify-content: flex-end;
  322. }
  323. .jiesuan_wrap .jieusan_btn{
  324. width: 197rpx;
  325. height: 60rpx;
  326. background: #295C56;
  327. border-radius: 30rpx;
  328. font-size: 28rpx;
  329. color: #FFFEFE;
  330. display: flex;
  331. align-items: center;
  332. justify-content: center;
  333. }
  334. /* 换购 */
  335. .huangou_wrap{
  336. width: 690rpx;
  337. margin: 0 auto;
  338. }
  339. .huangou_wrap .title{
  340. font-size: 30rpx;
  341. color: #000000;
  342. display: flex;
  343. align-items: center;
  344. margin-top: 28rpx;
  345. }
  346. .huangou_wrap .title::before{
  347. content: "";
  348. display: block;
  349. width: 6rpx;
  350. height: 28rpx;
  351. background: #295C56;
  352. margin-right: 10rpx;
  353. }
  354. .huangou_wrap .huangou_list{
  355. display: flex;
  356. flex-wrap: wrap;
  357. }
  358. .huangou_wrap .huangou_list .huangou_item{
  359. width: 210rpx;
  360. margin: 28rpx 28rpx 0 0;
  361. }
  362. .huangou_wrap .huangou_list .huangou_item:nth-of-type(3n){
  363. margin-right: 0;
  364. }
  365. .huangou_item .goods_tu{
  366. width: 210rpx;
  367. height: 210rpx;
  368. border-radius: 5rpx 5rpx 0rpx 0rpx;
  369. display: block;
  370. }
  371. .huangou_item .goods_info{
  372. width: 100%;
  373. background: #FFFFFF;
  374. border-radius: 0 0 5rpx 5rpx;
  375. padding: 10rpx;
  376. }
  377. .huangou_item .goods_info .goods_title{
  378. font-size: 24rpx;
  379. color: #080808;
  380. }
  381. .huangou_item .goods_info_b{
  382. padding-top: 10rpx;
  383. display: flex;
  384. align-items: center;
  385. justify-content: space-between;
  386. }
  387. .huangou_item .ac_price{
  388. font-size: 30rpx;
  389. color: #D54C43;
  390. }
  391. .huangou_item .ac_price .unit{
  392. font-size: 20rpx;
  393. }
  394. .huangou_item .df_price{
  395. font-size: 20rpx;
  396. color: rgba(8,8,8,.54);
  397. text-decoration: line-through;
  398. }
  399. .huangou_item .df_price .unit{
  400. font-size: 14rpx;
  401. }
  402. .huangou_item .add_btn .van-icon{
  403. color: #295C56;
  404. font-size: 35rpx;
  405. }
  406. .huangou_item .setp_w{
  407. display: flex;
  408. justify-content: flex-end;
  409. }
  410. /* 商品列表 活动价*/
  411. .goods_list .goods_item .goods_specs .price .df_price{
  412. padding-left: 20rpx;
  413. font-size: 20rpx;
  414. color: rgba(8,8,8,.54);
  415. text-decoration: line-through;
  416. }
  417. /* 规格按钮 */
  418. .guige_btn{
  419. width: 120rpx;
  420. height: 45rpx;
  421. background: #295C56;
  422. border-radius: 23rpx;
  423. font-size: 26rpx;
  424. color: #FFFFFF;
  425. display: flex;
  426. align-items: center;
  427. justify-content: center;
  428. }
  429. /* */
  430. .wrap_nr .tips.addPos{
  431. top: 5vh;
  432. }
  433. .huangou_wrap.addTipPos{
  434. margin-top: 10vh;
  435. }
  436. /* 加购标志 */
  437. .add_tag{
  438. font-size: 24rpx;
  439. color: #FFFFFF;
  440. background: linear-gradient(90deg, #FF6637, #FF954E);
  441. border-radius: 5rpx;
  442. padding: 6rpx 8rpx;
  443. margin-right: 12rpx;
  444. }