index.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. page{
  2. height: 100%;
  3. }
  4. .cates{
  5. height: 100vh;
  6. overflow: hidden;
  7. /* display: none; */
  8. }
  9. .cates .seller{
  10. width: 750rpx;
  11. height: 220rpx;
  12. padding: 0 35rpx 0;
  13. }
  14. .cates .seller .seller_info{
  15. margin: 10rpx 0 5rpx;
  16. padding: 20rpx 0 0 20rpx;
  17. width: 100%;
  18. height: 200rpx;
  19. display: block;
  20. border-radius: 15rpx;
  21. overflow: hidden;
  22. box-shadow: 0px 0px 7px #888888;
  23. background-color: white;
  24. }
  25. .cates .seller .seller_info .header{
  26. margin-right: 25rpx;
  27. width:130rpx;
  28. height: 130rpx;
  29. float: left;
  30. }
  31. .cates .seller .seller_info .header_img{
  32. /* margin: 20rpx 0 0 20rpx; */
  33. width: 100%;
  34. height: 100%;
  35. border-radius: 15rpx;
  36. }
  37. .name{
  38. width: 400rpx;
  39. height: 50rpx;
  40. float: left;
  41. overflow: hidden;
  42. }
  43. .name text{
  44. width: 350rpx;
  45. display:-webkit-box;
  46. -webkit-line-clamp:1;
  47. overflow:hidden;
  48. text-overflow:ellipsis;
  49. -webkit-box-orient:vertical;
  50. word-break:break-all;
  51. font-size: 35rpx;
  52. float: left;
  53. }
  54. .name image{
  55. margin-top: 10rpx;
  56. width: 30rpx;
  57. height: 30rpx;
  58. float: right;
  59. }
  60. .score,.announcement{
  61. width: 500rpx;
  62. height: 40rpx;
  63. float: left;
  64. }
  65. .announcement text{
  66. /* width: 400rpx; */
  67. display:-webkit-box;
  68. -webkit-line-clamp:1;
  69. overflow:hidden;
  70. text-overflow:ellipsis;
  71. -webkit-box-orient:vertical;
  72. word-break:break-all;
  73. font-size: 23rpx;
  74. color: gray;
  75. }
  76. .scroll_discount{
  77. width: 100%;
  78. height: 40rpx;
  79. float: left;
  80. background-color: rgb(253, 247, 247);
  81. }
  82. .cates .seller .discount{
  83. width: 100%;
  84. height: 40rpx;
  85. display: flex;
  86. justify-items: center;
  87. align-items: center;
  88. /* border-radius: 8rpx; */
  89. /* box-shadow: 0px 0px 5px #888888; */
  90. }
  91. .sale_block{
  92. width: 100vw;
  93. height: 82vh;
  94. overflow: hidden;
  95. }
  96. .cates .order_bar{
  97. width: 100%;
  98. height: 70rpx;
  99. overflow: hidden;
  100. /* background-color: #666666; */
  101. }
  102. .cates .order_bar .left_bar{
  103. width: 200rpx;
  104. height: 100%;
  105. display: flex;
  106. justify-content: center;
  107. align-items: center;
  108. float: left;
  109. /* background-color: red; */
  110. }
  111. .left_bar .title{
  112. width: 80rpx;
  113. height: 100%;
  114. display: flex;
  115. justify-content: center;
  116. align-items: center;
  117. font-size: 30rpx;
  118. /* border-bottom: 4rpx solid lightgray; */
  119. }
  120. .title_selected{
  121. font-weight:540;
  122. border-bottom: 4rpx solid lightgray;
  123. }
  124. .cates .order_bar .right_bar{
  125. width: 150rpx;
  126. height: 100%;
  127. display: flex;
  128. justify-content: center;
  129. align-items: center;
  130. float: right;
  131. /* background-color: red; */
  132. }
  133. .cates .cates_container{
  134. height: 72vh;
  135. overflow: hidden;
  136. }
  137. .cates_swiper{
  138. width: 100%;
  139. height: 100%;
  140. }
  141. .cates_swiper .cates_swiper_item{
  142. display: flex;
  143. }
  144. .cates_swiper_item .comment-scroll-view{
  145. height: 72vh;
  146. }
  147. .cates .cates_container .left_menu{
  148. /* display: flex; */
  149. flex: 1;
  150. /* width: 20%; */
  151. /* background-color: green; */
  152. height: 72vh;
  153. background-color: #f5f5f4c9;
  154. }
  155. .cates .cates_container .left_menu .active{
  156. color: red;
  157. /* border-left: 4rpx solid currentColor; */
  158. background-color: white;
  159. }
  160. .cates .cates_container .left_menu .menu_item{
  161. height: 80rpx;
  162. display: flex;
  163. justify-content: center;
  164. align-items: center;
  165. font-size: 25rpx;
  166. /* background-color: #f5f5f4c9; */
  167. }
  168. .cates .cates_container .right_content{
  169. /* display: flex; */
  170. flex: 4;
  171. /* width: 80%; */
  172. height: 72vh;
  173. background-color: white;
  174. }
  175. .right_content .goods_group{
  176. /* height: 200rpx; */
  177. margin: 0 12rpx;
  178. }
  179. .right_content .goods_group .goods_title{
  180. height: 50rpx;
  181. display: flex;
  182. justify-items: left;
  183. align-items: center;
  184. font-size: 30rpx;
  185. }
  186. .right_content .goods_group .goods_list{
  187. /* height: 150rpx; */
  188. padding: 10rpx 0;
  189. font-size: 25rpx;
  190. overflow: hidden;
  191. }
  192. .goods_list .goods_img{
  193. width: 130rpx;
  194. height: 130rpx;
  195. margin-right: 15rpx;
  196. float: left;
  197. }
  198. .goods_list .goods_img navigator{
  199. width: 100%;
  200. height: 100%;
  201. }
  202. .goods_list .goods_img image{
  203. width: 100%;
  204. height: 100%;
  205. border-radius: 5rpx;
  206. }
  207. .goods_list .goods_name,.goods_info,.goods_item,.action_bar {
  208. width: 300rpx;
  209. float: left;
  210. /* 文本超出显示省略号 */
  211. display:-webkit-box;
  212. -webkit-line-clamp:1;
  213. overflow:hidden;
  214. text-overflow:ellipsis;
  215. -webkit-box-orient:vertical;
  216. word-break:break-all;
  217. }
  218. .goods_name{
  219. font-size: 30rpx;
  220. font-weight: 500;
  221. }
  222. .goods_info,.goods_item{
  223. font-size: 20rpx;
  224. color: gray;
  225. margin: 5rpx 0;
  226. overflow: hidden;
  227. }
  228. .sale_num{
  229. margin: 0 10rpx 0 0;
  230. }
  231. .goods_item view{
  232. float: left;
  233. }
  234. .action_bar{
  235. width: 400rpx;
  236. /* height: 40rpx; */
  237. overflow: hidden;
  238. }
  239. .action_bar .goods_price{
  240. float: left;
  241. font-size: 27rpx;
  242. color: red;
  243. }
  244. .action_bar .goods_action{
  245. /* height: 40rpx; */
  246. float: right;
  247. }
  248. .hidden{
  249. display: none;
  250. }
  251. .reduce,.add,.order_num{
  252. width: 40rpx;
  253. height: 40rpx;
  254. float: left;
  255. /* display: none; */
  256. }
  257. .order_num{
  258. text-align: center;
  259. line-height: 40rpx;
  260. }
  261. .goods_action .select_options{
  262. width: 110rpx;
  263. height: 50rpx;
  264. text-align: center;
  265. line-height: 50rpx;
  266. color: white;
  267. background-color: var(--themeColor);
  268. border-radius: 25rpx;
  269. }
  270. /*
  271. 选规格页面
  272. */
  273. .mask-layer{
  274. width: 100vw;
  275. height: 100vh;
  276. background-color: rgba(0, 0, 0, 0.6);
  277. position: fixed;
  278. top: 0;
  279. z-index: 1000;
  280. }
  281. .select_view{
  282. position: fixed;
  283. bottom: 0vh;
  284. height: 80vh;
  285. padding: 20rpx 15rpx 0;
  286. background-color: #FFFFFF;
  287. z-index: 2000;
  288. }
  289. .selected_goods{
  290. height: 22vh;
  291. /* overflow: hidden; */
  292. }
  293. image{
  294. width: 100%;
  295. height: 100%;
  296. }
  297. .selected_goods view{
  298. /* float: left; */
  299. }
  300. .selected_goods .goods_info_item{
  301. margin: 0 10rpx 10rpx;
  302. width: 500rpx;
  303. }
  304. .selected_goods .selected_goods_img{
  305. width: 200rpx;
  306. height: 200rpx;
  307. }
  308. #goods_info_img{
  309. border-radius: 10rpx;
  310. }
  311. .selected_goods .goods_name{
  312. font-size: 35rpx;
  313. font-weight: 600;
  314. }
  315. .selected_goods .selected_options{
  316. color: gray;
  317. font-size: 25rpx;
  318. }
  319. .selected_goods .selected_options text{
  320. display:-webkit-box;
  321. -webkit-line-clamp:1;
  322. overflow:hidden;
  323. text-overflow:ellipsis;
  324. -webkit-box-orient:vertical;
  325. word-break:break-all;
  326. }
  327. .selected_goods .goods_price{
  328. font-size: 33rpx;
  329. color: red;
  330. }
  331. .select_goods_options{
  332. height: 46vh;
  333. /* overflow: hidden; */
  334. }
  335. .select_goods_options .goods_num{
  336. margin: 25rpx 0;
  337. width: 100%;
  338. height: 50rpx;
  339. overflow: hidden;
  340. }
  341. .select_goods_options .goods_num #gNum{
  342. color: gray;
  343. float: left;
  344. }
  345. .select_goods_options .goods_num .action{
  346. width: 150rpx;
  347. float: right;
  348. display: flex;
  349. justify-items: left;
  350. align-items: center;
  351. overflow: hidden;
  352. }
  353. .select_goods_options .scroll_options{
  354. width: 100%;
  355. height: 40vh;
  356. }
  357. .scroll_options .options .option_title{
  358. margin: 25rpx 0;
  359. width: 100%;
  360. height: 50rpx;
  361. color: gray;
  362. }
  363. .scroll_options .options .option_item{
  364. overflow: hidden;
  365. }
  366. .scroll_options .options .option_item .option_type{
  367. /* 30 +600 -750=120 */
  368. margin: 10rpx 20rpx;
  369. float: left;
  370. }
  371. .type{
  372. width: 200rpx;
  373. height: 80rpx;
  374. background-color: #F8F8F8;
  375. border-radius: 13rpx;
  376. text-align: center;
  377. font-size: 30rpx;
  378. line-height: 80rpx;
  379. }
  380. .selected{
  381. color: var(--themeColor);
  382. border: 2rpx solid var(--themeColor);
  383. background-color: #EBF8FE;
  384. }
  385. .add_cart{
  386. /* margin: 30rpx 0 0; */
  387. width: 720rpx;
  388. height: 80rpx;
  389. position: fixed;
  390. /* left: 5rpx; */
  391. bottom: 10rpx;
  392. }
  393. .add_cart .btn{
  394. width: 100%;
  395. height: 100%;
  396. background-color: var(--themeColor);
  397. border-radius: 50rpx;
  398. color: white;
  399. font-size: 30rpx;
  400. }
  401. /* 购物车container */
  402. .cart_container{
  403. width: 100%;
  404. height: 100%;
  405. background-color: rgba(0, 0, 0, 0.8);
  406. position: fixed;
  407. top: 0;
  408. overflow: hidden;
  409. }
  410. /* 购物车详细 */
  411. .cart_selected_goods{
  412. padding: 0 20rpx;
  413. width: 100%;
  414. height: 500rpx;
  415. background-color: #FFFFFF;
  416. position: fixed;
  417. bottom: 8vh;
  418. z-index: 2000;
  419. }
  420. .cart_selected_goods .title{
  421. margin: 10rpx 0;
  422. width: 100%;
  423. height: 50rpx;
  424. overflow: hidden;
  425. font-size: 30rpx;
  426. }
  427. .cart_selected_goods .title .clear_cart{
  428. color: #bfbfbf;
  429. line-height: 50rpx;
  430. }
  431. .selected_goods_scroll{
  432. width: 100%;
  433. height: 430rpx;
  434. }
  435. .selected_goods_scroll .cart_scroll{
  436. width: 100%;
  437. height: 400rpx;
  438. }
  439. .cart_scroll .cart_goods{
  440. margin: 10rpx 0;
  441. overflow: hidden;
  442. }
  443. .all{
  444. width: 100%;
  445. height: 100%;
  446. }
  447. .cart_scroll .cart_goods .cart_goods_img{
  448. width: 130rpx;
  449. height: 132rpx;
  450. }
  451. .cart_scroll .cart_goods .cart_goods_item{
  452. margin: 2rpx 0;
  453. width: 580rpx;
  454. height: 40rpx;
  455. }
  456. .cart_scroll .cart_goods .cart_goods_select{
  457. color: gray;
  458. }
  459. .cart_scroll .cart_goods .cart_goods_action{
  460. overflow: hidden;
  461. }
  462. .cart_goods_action .action_price{
  463. color: red;
  464. }
  465. .cart_goods_action .num_action{
  466. /* color: black; */
  467. }
  468. /* 购物车条 */
  469. .cart_bar{
  470. width: 100%;
  471. height: 8vh;
  472. background-color: #f0f0f0;
  473. position: fixed;
  474. bottom: 0;
  475. overflow: hidden;
  476. z-index: 2000;
  477. }
  478. .cart_bar .cart{
  479. width: 250rpx;
  480. height: 100%;
  481. }
  482. .cart_bar .cart .cart_btn{
  483. margin: 10rpx 25rpx;
  484. width: 200rpx;
  485. height: 80rpx;
  486. background-color: #FFFFFF;
  487. border-radius: 45rpx;
  488. line-height: 80rpx;
  489. }
  490. .cart_bar .cart .cart_btn .cart_icon{
  491. margin: 15rpx 5rpx 15rpx 20rpx;
  492. width: 50rpx;
  493. height: 50rpx;
  494. float: left;
  495. }
  496. .float-left{
  497. float: left;
  498. }
  499. .float-right{
  500. float: right;
  501. }
  502. .cart_bar .total_price{
  503. width: 290rpx;
  504. margin-right: 10rpx;
  505. height: 100%;
  506. text-align: right;
  507. line-height: 100rpx;
  508. font-size: 40rpx;
  509. color: red;
  510. }
  511. .cart_bar .buy_now{
  512. width: 200rpx;
  513. height: 100%;
  514. background-color:var(--themeColor);
  515. color: #FFFFFF;
  516. font-size: 32rpx;
  517. text-align: center;
  518. line-height: 100rpx;
  519. }
  520. /* 评论页面 */
  521. .comment{
  522. width: 100%;
  523. /* height: 100%; */
  524. background-color: #f5f5f5;
  525. /* overflow: hidden; */
  526. }
  527. .comment .comment_item{
  528. margin: 20rpx 0;
  529. padding: 20rpx 30rpx;
  530. background-color: #ffffff;
  531. }
  532. .comment .comment-score{
  533. width: 100%;
  534. /* height: 100rpx; */
  535. font-size: 40rpx;
  536. /* line-height: 100rpx; */
  537. color: var(--themeColor);
  538. }
  539. .comment .sort_type{
  540. /* padding: 20rpx 30rpx; */
  541. width: auto;
  542. /* height: 200rpx; */
  543. overflow: hidden;
  544. }
  545. .comment .sort_type .comment-type{
  546. margin: 0 15rpx 15rpx 0;
  547. width: 150rpx;
  548. height: 60rpx;
  549. background-color: #f1f1f1;
  550. border-radius: 12rpx;
  551. text-align: center;
  552. font-size: 30rpx;
  553. line-height: 60rpx;
  554. }
  555. .comment .sort_type .type-selected{
  556. color: var(--themeColor);
  557. border: 0rpx solid var(--themeColor);
  558. background-color: #EBF8FE;
  559. }
  560. /* 评论列表 */
  561. .comment .comment-cotent{
  562. /* overflow: hidden; */
  563. }
  564. .comment .comment-cotent .user-comment{
  565. width: auto;
  566. /* height: 300rpx; */
  567. /* 不设置高度,自动高度 */
  568. /* overflow: hidden; */
  569. }
  570. .comment-cotent .user-comment .user-comment-title{
  571. width: auto;
  572. height: 100rpx;
  573. /* background-color: #888888; */
  574. }
  575. .user-comment .user-comment-title .user-pic{
  576. width: 100rpx;
  577. height: 100rpx;
  578. }
  579. .user-pic .user-pic-img{
  580. border-radius: 50rpx;
  581. }
  582. .user-comment .user-comment-title .user-title-mid{
  583. width: 300rpx;
  584. height: 100rpx;
  585. padding: 0rpx 20rpx;
  586. }
  587. .user-comment-title .user-title-mid .user-name,.user-comment-score{
  588. margin: 5rpx;
  589. }
  590. .user-comment-title .user-title-mid .user-name{
  591. font-size: 30rpx;
  592. font-weight: 540;
  593. }
  594. .user-comment-score{
  595. font-size: 22rpx;
  596. color: #777777;
  597. }
  598. .star{
  599. width: 20rpx;
  600. height: 20rpx;
  601. margin: 0 3rpx;
  602. }
  603. .user-comment .user-comment-title .user-comment-date{
  604. width: 250rpx;
  605. height: 100rpx;
  606. /* line-height: 100rpx; */
  607. font-size: 25rpx;
  608. text-align: right;
  609. color: #888888;
  610. }
  611. .user-comment-content{
  612. }
  613. .user-comment-text{
  614. padding: 15rpx 0rpx;
  615. font-size: 25rpx;
  616. }
  617. .user-comment-pics{
  618. margin: 20rpx 0 0 0;
  619. width: 100%;
  620. }
  621. .user-comment-pics image{
  622. margin: 0 20rpx 0 0;
  623. width: 150rpx;
  624. height: 150rpx;
  625. border-radius: 5rpx;
  626. }
  627. .user-comment-reply{
  628. padding: 15rpx 0rpx;
  629. font-size: 25rpx;
  630. background-color: #f5f5f5;
  631. }
  632. .bottom{
  633. width: auto;
  634. height: 30rpx;
  635. line-height: 30rpx;
  636. font-size: 25rpx;
  637. color: #999999;
  638. text-align: center;
  639. }