style.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602
  1. body {
  2. background: #f6f6f6;
  3. font-size: 24rpx;
  4. overflow-x:hidden;
  5. }
  6. /* #ifdef MP-WEIXIN || APP-PLUS */
  7. ::-webkit-scrollbar{
  8. display: none;
  9. }
  10. /* #endif */
  11. .container {
  12. padding: 20rpx;
  13. }
  14. /*color*/
  15. .color-57{
  16. color: #575757;
  17. }
  18. .gray {
  19. color: #CCCCCC;
  20. }
  21. .gray9 {
  22. color: #999999;
  23. }
  24. .gray6 {
  25. color: #666666;
  26. }
  27. .gray3 {
  28. color: #333333;
  29. }
  30. .white {
  31. color: #FFFFFF;
  32. }
  33. .red {
  34. color: #f6220c;
  35. }
  36. .redEe {
  37. color: #EE1414;
  38. }
  39. .redF6 {
  40. color: #F6220C;
  41. }
  42. .blue {
  43. color: #28a5ff;
  44. }
  45. .violet {
  46. color: #a824e4;
  47. }
  48. .yellow {
  49. color: #ffd127;
  50. }
  51. .orange {
  52. color: #ff8a00;
  53. }
  54. .green {
  55. color: #32d500;
  56. }
  57. .brown {
  58. color: #4f3a1e;
  59. }
  60. .golden {
  61. color: rgba(168, 112, 13, 1);
  62. }
  63. /*button*/
  64. button {
  65. margin: 0;
  66. font-size: 28rpx;
  67. }
  68. button.btn-gcred {
  69. background: linear-gradient(90deg, #FF6B6B 4%, #F6220C 100%);
  70. border: none;
  71. color: #FFFFFF;
  72. }
  73. button.btn-red {
  74. border: 1px solid #f6220c;
  75. background: #f6220c;
  76. color: #FFFFFF;
  77. }
  78. button.btn-blue {
  79. background: #28a5ff;
  80. color: #FFFFFF;
  81. }
  82. button.btn-violet {
  83. background: #a824e4;
  84. color: #FFFFFF;
  85. }
  86. button.btn-yellow {
  87. background: #ffd127;
  88. color: #FFFFFF;
  89. }
  90. button.btn-gray {
  91. background: #CCCCCC;
  92. color: #FFFFFF;
  93. }
  94. button.btn-red-border {
  95. background: #FFFFFF;
  96. border: 1px solid #f6220c;
  97. color: #f6220c;
  98. }
  99. button.btn-gray-border {
  100. background: #FFFFFF;
  101. border: 1px solid #CCCCCC;
  102. color: #333333;
  103. }
  104. button.btn-green {
  105. background: #44B549;
  106. color: #FFFFFF;
  107. }
  108. button::after {
  109. border: none;
  110. }
  111. button.btn-red[disabled][type=primary],
  112. button.btn-gray-border[disabled][type=primary] {
  113. background-color: #BBBBBB;
  114. color: rgba(255, 255, 255, .6);
  115. }
  116. /*backgroud*/
  117. .bg-white {
  118. background: #FFFFFF;
  119. }
  120. /*border*/
  121. .br12{
  122. border-radius: 12rpx;
  123. }
  124. .border {
  125. border: 1rpx solid #DDDDDD;
  126. }
  127. .border-t {
  128. border-top: 1rpx solid #DDDDDD;
  129. }
  130. .border-t-d9 {
  131. border-top: 1rpx solid #D9D9D9;
  132. }
  133. .border-b {
  134. border-bottom: 1rpx solid #DDDDDD;
  135. }
  136. .border-b-d9 {
  137. border-bottom: 1rpx solid #D9D9D9;
  138. }
  139. .border-b-e {
  140. border-bottom: 1rpx solid #EEEEEE;
  141. }
  142. .border-b-d {
  143. border-bottom: 1rpx solid #D9D9D9;
  144. }
  145. .border-red {
  146. border: 1rpx solid #f6220c;
  147. }
  148. /*position*/
  149. .pr {
  150. position: relative;
  151. }
  152. .pa {
  153. position: absolute;
  154. }
  155. /**/
  156. .top0 {
  157. top: 0;
  158. }
  159. .right0 {
  160. right: 0;
  161. }
  162. .bottom0 {
  163. bottom: 0;
  164. }
  165. .left0 {
  166. left: 0;
  167. }
  168. /*font*/
  169. .f20 {
  170. font-size: 20rpx;
  171. }
  172. .f22 {
  173. font-size: 22rpx;
  174. }
  175. .f24 {
  176. font-size: 24rpx;
  177. }
  178. .f26 {
  179. font-size: 26rpx;
  180. }
  181. .f28 {
  182. font-size: 28rpx;
  183. }
  184. .f30 {
  185. font-size: 30rpx;
  186. }
  187. .f32 {
  188. font-size: 32rpx;
  189. }
  190. .f34 {
  191. font-size: 34rpx;
  192. }
  193. .f36 {
  194. font-size: 36rpx;
  195. }
  196. .f38{
  197. font-size: 36rpx;
  198. }
  199. .f40 {
  200. font-size: 40rpx;
  201. }
  202. .f50 {
  203. font-size: 50rpx;
  204. }
  205. .f60 {
  206. font-size: 60rpx;
  207. }
  208. .fb {
  209. font-weight: bold;
  210. }
  211. /*text align*/
  212. .tc {
  213. text-align: center;
  214. }
  215. .tr {
  216. text-align: right;
  217. }
  218. /*overflow*/
  219. .o-h {
  220. overflow: hidden;
  221. }
  222. /*word*/
  223. .w-b {
  224. word-wrap: break-word
  225. }
  226. /*flex*/
  227. .flex-1 {
  228. flex: 1;
  229. }
  230. /*icon*/
  231. .svg-icon {
  232. width: 1em;
  233. height: 1em;
  234. vertical-align: -0.15em;
  235. fill: currentColor;
  236. overflow: hidden;
  237. }
  238. .svg-icon {
  239. width: 32rpx;
  240. height: 32rpx;
  241. color: #CCCCCC;
  242. }
  243. .icon-box {
  244. display: flex;
  245. justify-content: center;
  246. align-items: center;
  247. }
  248. .iconfont {
  249. color: #CCCCCC;
  250. }
  251. .box-s-b {
  252. box-sizing: border-box;
  253. }
  254. /*width*/
  255. .ww100 {
  256. width: 100%;
  257. }
  258. .ww50 {
  259. width: 50%;
  260. }
  261. .ww33 {
  262. width: 33.33333333%;
  263. }
  264. .ww25 {
  265. width: 25%;
  266. }
  267. .ww20 {
  268. width: 20%;
  269. }
  270. .hh100 {
  271. height: 100%;
  272. }
  273. /*padding*/
  274. .p10 {
  275. padding: 10rpx;
  276. }
  277. .p20 {
  278. padding: 20rpx;
  279. }
  280. .p30 {
  281. padding: 30rpx;
  282. }
  283. .p-10-0 {
  284. padding: 10rpx 0;
  285. }
  286. .p-20-0 {
  287. padding: 20rpx 0;
  288. }
  289. .p-30-0 {
  290. padding: 30rpx 0;
  291. }
  292. .p-40-0 {
  293. padding: 40rpx 0;
  294. }
  295. .p-0-10 {
  296. padding: 0 10rpx;
  297. }
  298. .p-0-20 {
  299. padding: 0 20rpx;
  300. }
  301. .p-0-30 {
  302. padding: 0 30rpx;
  303. }
  304. .pt10 {
  305. padding-top: 10rpx;
  306. }
  307. .pt16 {
  308. padding-top: 16rpx;
  309. }
  310. .pt20 {
  311. padding-top: 20rpx;
  312. }
  313. .pt30 {
  314. padding-top: 30rpx;
  315. }
  316. .pt40 {
  317. padding-top: 40rpx;
  318. }
  319. .pt60 {
  320. padding-top: 60rpx;
  321. }
  322. .pl30 {
  323. padding-left: 30rpx;
  324. }
  325. .pr20 {
  326. padding-right: 20rpx;
  327. }
  328. .pr100 {
  329. padding-right: 100rpx;
  330. }
  331. .pb0 {
  332. padding-bottom: 0;
  333. }
  334. .pb10 {
  335. padding-bottom: 10rpx;
  336. }
  337. .pb20 {
  338. padding-bottom: 20rpx;
  339. }
  340. .pb30 {
  341. padding-bottom: 30rpx;
  342. }
  343. .pb60 {
  344. padding-bottom: 60rpx;
  345. }
  346. .pb38 {
  347. padding-bottom: 38rpx;
  348. }
  349. .pb100 {
  350. padding-bottom: 100rpx;
  351. }
  352. /*margin*/
  353. .m20{
  354. margin: 20rpx;
  355. }
  356. .m-0-20 {
  357. margin: 0 20rpx;
  358. }
  359. .mt10 {
  360. margin-top: 10rpx;
  361. }
  362. .mt20 {
  363. margin-top: 20rpx;
  364. }
  365. .mt30 {
  366. margin-top: 30rpx;
  367. }
  368. .mt36 {
  369. margin-top: 36rpx;
  370. }
  371. .mt50 {
  372. margin-top: 50rpx;
  373. }
  374. .mt60 {
  375. margin-top: 60rpx;
  376. }
  377. .mr10 {
  378. margin-right: 10rpx;
  379. }
  380. .mr20 {
  381. margin-right: 20rpx;
  382. }
  383. .mr30 {
  384. margin-right: 30rpx;
  385. }
  386. .mr40 {
  387. margin-right: 40rpx;
  388. }
  389. .mb10 {
  390. margin-bottom: 10rpx;
  391. }
  392. .mb16 {
  393. margin-bottom: 16rpx;
  394. }
  395. .mb20 {
  396. margin-bottom: 20rpx;
  397. }
  398. .mb23 {
  399. margin-bottom: 23rpx;
  400. }
  401. .mb30 {
  402. margin-bottom: 30rpx;
  403. }
  404. .ml10 {
  405. margin-left: 10rpx;
  406. }
  407. .ml20 {
  408. margin-left: 20rpx;
  409. }
  410. .ml26 {
  411. margin-left: 26rpx;
  412. }
  413. .ml30 {
  414. margin-left: 30rpx;
  415. }
  416. .ml80 {
  417. margin-left: 80rpx;
  418. }
  419. /*display*/
  420. .d-f {
  421. display: flex;
  422. }
  423. .d-c-c {
  424. display: flex;
  425. justify-content: center;
  426. align-items: center;
  427. }
  428. .d-c-e {
  429. display: flex;
  430. justify-content: center;
  431. align-items: flex-end;
  432. }
  433. .d-s-c {
  434. display: flex;
  435. justify-content: flex-start;
  436. align-items: center;
  437. }
  438. .d-s-e {
  439. display: flex;
  440. justify-content: flex-start;
  441. align-items: flex-end;
  442. }
  443. .d-s-s {
  444. display: flex;
  445. justify-content: flex-start;
  446. align-items: flex-start;
  447. }
  448. .d-e-c {
  449. display: flex;
  450. justify-content: flex-end;
  451. align-items: center;
  452. }
  453. .d-b-c {
  454. display: flex;
  455. justify-content: space-between;
  456. align-items: center;
  457. }
  458. .d-b-s {
  459. display: flex;
  460. justify-content: space-between;
  461. align-items: flex-start;
  462. }
  463. .d-a-c {
  464. display: flex;
  465. justify-content: space-around;
  466. align-items: center;
  467. }
  468. .d-c {
  469. flex-direction: column;
  470. }
  471. .d-r {
  472. flex-direction: row;
  473. }
  474. .d-stretch {
  475. align-items: stretch;
  476. align-content: stretch;
  477. }
  478. .f-w {
  479. flex-wrap: wrap;
  480. }
  481. .w-s-n {
  482. white-space: nowrap;
  483. }
  484. .text-l-t {
  485. text-decoration: line-through;
  486. }
  487. .lh100 {
  488. line-height: 100%;
  489. }
  490. .lh150 {
  491. line-height: 150%;
  492. }
  493. .lh200 {
  494. line-height: 200%;
  495. }
  496. .radius {
  497. border-radius: 50%;
  498. }
  499. .radius8 {
  500. border-radius: 8rpx;
  501. }
  502. /*ellipsis*/
  503. .text-ellipsis {
  504. display: -webkit-box;
  505. word-break: break-all;
  506. text-overflow: ellipsis;
  507. overflow: hidden;
  508. -webkit-box-orient: vertical;
  509. -webkit-line-clamp: 1;
  510. }
  511. .text-ellipsis-2 {
  512. display: -webkit-box;
  513. word-break: break-all;
  514. text-overflow: ellipsis;
  515. overflow: hidden;
  516. -webkit-box-orient: vertical;
  517. -webkit-line-clamp: 2;
  518. }
  519. /*btn*/
  520. uni-button:after {
  521. border: 0;
  522. }
  523. .text-d-line {
  524. text-decoration: line-through;
  525. }
  526. image {
  527. display: block;
  528. vertical-align: top;
  529. vertical-align: text-top;
  530. vertical-align: bottom;
  531. vertical-align: text-bottom;
  532. font-size: 0;
  533. }
  534. /* image{ background: url(./static/default.png) center center no-repeat; background-size:100% 100%;} */
  535. /**/
  536. .none-data-box {
  537. display: flex;
  538. justify-content: center;
  539. align-items: center;
  540. flex-direction: column;
  541. padding: 80rpx 30rpx;
  542. }
  543. .none-data-box image {
  544. background: none;
  545. width: 200rpx;
  546. }
  547. .none-data-box text {
  548. padding-top: 30rpx;
  549. font-size: 30rpx;
  550. color: #999999;
  551. }
  552. /*search*/
  553. /*search*/
  554. .index-search-box {
  555. background: #efefef;
  556. padding: 16rpx 20rpx 18rpx 20rpx;
  557. border-bottom: 1px solid #d8d8d8;
  558. }
  559. .index-search-box-cate {
  560. background: $dominant-color;
  561. padding: 20rpx;
  562. padding-bottom: 60rpx;
  563. /* border-bottom: 1px solid #d8d8d8; */
  564. }
  565. .index-search {
  566. display: flex;
  567. justify-content: flex-start;
  568. align-items: center;
  569. padding: 0 20rpx;
  570. height: 80rpx;
  571. line-height: 80rpx;
  572. background: #FFFFFF;
  573. border-radius: 16rpx;
  574. border: 1px solid #d7d7d7;
  575. overflow: hidden;
  576. font-size: 30rpx;
  577. color: #999;
  578. box-sizing: border-box;
  579. }
  580. .index-search-cate {
  581. display: flex;
  582. justify-content: flex-start;
  583. align-items: center;
  584. padding: 0 30rpx;
  585. height: 60rpx;
  586. line-height: 60rpx;
  587. background: #f2f2f2;
  588. border-radius: 30rpx;
  589. border: 1px solid #d7d7d7;
  590. overflow: hidden;
  591. font-size: 26rpx;
  592. color: #999;
  593. box-sizing: border-box;
  594. }
  595. .index-search-box_re {
  596. background: #ffffff;
  597. padding: 14rpx 20rpx 18rpx 20rpx;
  598. border-bottom: none;
  599. }
  600. .index-search_re {
  601. display: flex;
  602. justify-content: flex-start;
  603. align-items: center;
  604. padding: 0 20rpx;
  605. height: 60rpx;
  606. line-height: 60rpx;
  607. background: #F2F2F2;
  608. border-radius: 30rpx;
  609. border: none;
  610. overflow: hidden;
  611. font-size: 26rpx;
  612. color: #999;
  613. box-sizing: border-box;
  614. }
  615. .index-search .svg-icon {
  616. margin-right: 10rpx;
  617. }
  618. /*group*/
  619. .group {
  620. margin-top: 20rpx;
  621. padding: 10rpx 30rpx;
  622. }
  623. .group-white {
  624. margin-top: 30rpx;
  625. padding: 10rpx 30rpx;
  626. border-radius: 16rpx;
  627. background: #FFFFFF;
  628. }
  629. .group-hd {
  630. display: flex;
  631. justify-content: space-between;
  632. height: 90rpx;
  633. }
  634. .group-hd .left,
  635. .group-hd .right {
  636. display: flex;
  637. justify-content: flex-start;
  638. align-items: center;
  639. }
  640. .group-hd .left .name {
  641. margin-right: 10rpx;
  642. font-size: 36rpx;
  643. font-weight: bold;
  644. line-height: 90rpx;
  645. }
  646. .group-hd .left .min-name {
  647. margin-right: 10rpx;
  648. font-size: 30rpx;
  649. line-height: 90rpx;
  650. }
  651. .group-hd .left .svg-icon {
  652. margin-right: 10rpx;
  653. }
  654. .group-hd .left .num {
  655. font-size: 30rpx;
  656. }
  657. .group-hd .right .more {
  658. font-size: 28rpx;
  659. color: #999999;
  660. line-height: 90rpx;
  661. }
  662. .group-hd .right .svg-icon {
  663. margin-left: 10rpx;
  664. }
  665. .group-bd .list {
  666. display: flex;
  667. flex-wrap: wrap;
  668. flex: 1;
  669. justify-content: space-between;
  670. }
  671. /*product*/
  672. .product-list {
  673. display: flex;
  674. justify-content: space-between;
  675. flex-wrap: wrap;
  676. }
  677. .product-list .item {
  678. width: 340rpx;
  679. background: #FFFFFF;
  680. margin-top: 30rpx;
  681. border-radius: 8rpx;
  682. }
  683. .product-list .item image {
  684. width: 340rpx;
  685. height: 340rpx;
  686. }
  687. .product-list .item .info {
  688. padding: 0 20rpx;
  689. }
  690. .product-list .item .name {
  691. height: 80rpx;
  692. line-height: 40rpx;
  693. }
  694. .product-list .item .price {
  695. height: 80rpx;
  696. line-height: 80rpx;
  697. color: #F6220C;
  698. }
  699. .product-list .item .unit {
  700. font-size: 22rpx;
  701. }
  702. .product-list .item .num {
  703. font-size: 44rpx;
  704. }
  705. /*comment*/
  706. .product-comment .group-hd,
  707. .product-content .group-hd {
  708. padding: 0 30rpx;
  709. }
  710. .comment-list {
  711. padding: 0 30rpx;
  712. }
  713. .comment-list .item {
  714. padding: 20rpx 0;
  715. border-top: 1px solid #DDDDDD;
  716. }
  717. .comment-list .cmt-user {
  718. display: flex;
  719. justify-content: space-between;
  720. align-items: center;
  721. }
  722. .comment-list .cmt-user .left {
  723. display: flex;
  724. justify-content: flex-start;
  725. align-items: center;
  726. }
  727. .comment-list .cmt-user .photo {
  728. width: 80rpx;
  729. height: 80rpx;
  730. margin-right: 20rpx;
  731. border-radius: 40rpx;
  732. background: #EEEEEE;
  733. }
  734. .comment-list .cmt-user .name {
  735. font-size: 24rpx;
  736. }
  737. .comment-list .cmt-user .datetime {
  738. font-size: 24rpx;
  739. color: #CCCCCC;
  740. }
  741. /**/
  742. .one-product .cover,
  743. .one-product .cover image {
  744. width: 160rpx;
  745. height: 160rpx;
  746. }
  747. .one-product .pro-info {
  748. padding: 0 30rpx;
  749. display: -webkit-box;
  750. overflow: hidden;
  751. -webkit-line-clamp: 2;
  752. -webkit-box-orient: vertical;
  753. font-size: 28rpx;
  754. color: #666666;
  755. }
  756. .one-product .price {
  757. color: #e2231a;
  758. }
  759. /*order state*/
  760. .order-state {
  761. position: relative;
  762. padding: 30rpx;
  763. background: #e2231a;
  764. color: #ffffff;
  765. opacity: 0.8;
  766. }
  767. .order-state .icon-box .iconfont {
  768. font-size: 50rpx;
  769. color: #ffffff;
  770. }
  771. .order-state .state-cont {
  772. margin-left: 20rpx;
  773. font-size: 24rpx;
  774. }
  775. .order-state .dot-bg {
  776. width: 60rpx;
  777. height: 40rpx;
  778. right: 200rpx;
  779. top: 0;
  780. border-radius: 0 0 50% 50%/50%;
  781. }
  782. .order-state .dot-bg,
  783. .order-state::after {
  784. content: '';
  785. position: absolute;
  786. background-image: -webkit-linear-gradient(53deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.1) 78%);
  787. background-image: linear-gradient(37deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.1) 78%);
  788. }
  789. .order-state:before {
  790. content: '';
  791. position: absolute;
  792. width: 50px;
  793. height: 20px;
  794. left: 0;
  795. bottom: 0;
  796. border-radius: 0 100% 0 0;
  797. background-image: -webkit-linear-gradient(60deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.1) 69%);
  798. background-image: linear-gradient(30deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.1) 69%);
  799. }
  800. .order-state::after {
  801. width: 50rpx;
  802. height: 90rpx;
  803. right: 0;
  804. bottom: 0;
  805. border-radius: 100% 0 0 100%/50%;
  806. }
  807. /*confirm order*/
  808. .add-address {
  809. padding: 20rpx;
  810. }
  811. .address-defalut-wrap {
  812. padding: 20rpx 30rpx;
  813. background: #FFFFFF;
  814. }
  815. .address-defalut-wrap .info {
  816. display: flex;
  817. font-size: 24rpx;
  818. }
  819. .address-defalut-wrap .info .state,
  820. .address-defalut-wrap .info .type {
  821. padding: 2rpx 10rpx;
  822. margin-right: 10rpx;
  823. background: #f6220c;
  824. color: #FFFFFF;
  825. border-radius: 8rpx;
  826. font-size: 22rpx;
  827. }
  828. .address-defalut-wrap .info .type {
  829. background: #007AFF;
  830. }
  831. .address-defalut-wrap .info .province-c-a {
  832. color: #666666;
  833. line-height: 1.2;
  834. }
  835. .address-defalut-wrap .address {
  836. margin-top: 16rpx;
  837. display: flex;
  838. justify-content: space-between;
  839. align-items: center;
  840. }
  841. .address-defalut-wrap .address text {
  842. flex: 1;
  843. font-size: 32rpx;
  844. }
  845. .address-defalut-wrap .address .icon-box {
  846. display: flex;
  847. justify-content: flex-end;
  848. align-items: center;
  849. width: 60rpx;
  850. height: 60rpx;
  851. }
  852. .address-defalut-wrap .user {
  853. margin-top: 16rpx;
  854. font-size: 24rpx;
  855. }
  856. .address-defalut-wrap .user .name {
  857. margin-right: 10rpx;
  858. }
  859. .addree-bottom {
  860. width: 750rpx;
  861. height: 16rpx;
  862. background: #F2F2F2;
  863. display: flex;
  864. overflow: hidden;
  865. }
  866. .addree-bottom .stripe {
  867. flex: 1;
  868. display: flex;
  869. }
  870. .addree-bottom .stripe text {
  871. display: block;
  872. height: 10rpx;
  873. transform: skew(-45deg);
  874. }
  875. .addree-bottom .stripe .red {
  876. flex: 4;
  877. background: #f6220c;
  878. }
  879. .addree-bottom .stripe .white {
  880. flex: 1;
  881. background: #FFFFFF;
  882. }
  883. .addree-bottom .stripe .blue {
  884. flex: 4;
  885. background: #8bb5e8;
  886. }
  887. .vender,
  888. .wrap .buy-checkout,
  889. .buyer-message {
  890. margin-top: 20rpx;
  891. background: #FFFFFF;
  892. }
  893. .vender .group-hd {
  894. padding: 0 30rpx;
  895. border-bottom: 1px solid #EEEEEE;
  896. }
  897. .vender .list .item {
  898. /* display: flex; */
  899. padding: 20rpx 30rpx;
  900. border-bottom: 1px solid #EEEEEE;
  901. }
  902. .vender .list .cover {
  903. width: 150rpx;
  904. height: 150rpx;
  905. }
  906. .vender .list .cover image {
  907. width: 100%;
  908. height: 100%;
  909. }
  910. .vender .list .info {
  911. flex: 1;
  912. padding-left: 20rpx;
  913. box-sizing: border-box;
  914. overflow: hidden;
  915. }
  916. .vender .list .title,
  917. .vender .list .describe {
  918. width: 340rpx;
  919. word-break: break-all;
  920. text-overflow: ellipsis;
  921. display: -webkit-box;
  922. -webkit-box-orient: vertical;
  923. -webkit-line-clamp: 2;
  924. overflow: hidden;
  925. }
  926. .vender .list .describe {
  927. font-size: 24rpx;
  928. color: #999999;
  929. }
  930. .vender .list .price {
  931. color: #333333;
  932. font-size: 20rpx;
  933. }
  934. .vender .list .price .num {
  935. padding: 0 4rpx;
  936. font-size: 32rpx;
  937. }
  938. .vender .level-box {
  939. display: flex;
  940. justify-content: space-between;
  941. align-items: center;
  942. }
  943. .vender .level-box .key {
  944. font-size: 24rpx;
  945. color: #999999;
  946. }
  947. .vender .level-box .num-wrap {
  948. display: flex;
  949. justify-content: flex-end;
  950. align-items: center;
  951. }
  952. .vender .level-box .icon-box {
  953. width: 60rpx;
  954. height: 60rpx;
  955. border: 1px solid #DDDDDD;
  956. background: #f7f7f7;
  957. }
  958. .vender .level-box .text-wrap {
  959. margin: 0 4rpx;
  960. height: 60rpx;
  961. line-height: 0;
  962. border: 1px solid #DDDDDD;
  963. background: #f7f7f7;
  964. }
  965. .vender .level-box .text-wrap input {
  966. padding: 0 10rpx;
  967. height: 60rpx;
  968. line-height: 0;
  969. text-align: center;
  970. width: 80rpx;
  971. font-size: 24rpx;
  972. }
  973. .vender .total-box {
  974. display: flex;
  975. justify-content: space-between;
  976. padding: 0 30rpx;
  977. height: 80rpx;
  978. line-height: 80rpx;
  979. }
  980. .buy-checkout .item {
  981. min-height: 50rpx;
  982. line-height: 50rpx;
  983. padding: 30rpx;
  984. display: flex;
  985. justify-content: space-between;
  986. border-bottom: 1px solid #EEEEEE;
  987. font-size: 26rpx;
  988. }
  989. .buyer-message {
  990. padding: 20rpx;
  991. font-size: 28rpx;
  992. }
  993. .buyer-message .textarea {
  994. width: 100%;
  995. height: 60rpx;
  996. line-height: 60rpx;
  997. padding: 10rpx;
  998. box-sizing: border-box;
  999. font-size: 28rpx;
  1000. background: #EEEEEE;
  1001. }
  1002. .foot-pay-btns {
  1003. position: fixed;
  1004. padding: 0 20rpx;
  1005. display: flex;
  1006. justify-content: space-between;
  1007. align-items: center;
  1008. right: 0;
  1009. bottom: 0;
  1010. left: 0;
  1011. height: 120rpx;
  1012. background: #FFFFFF;
  1013. border-top: 1rpx solid #EEEEEE;
  1014. z-index: 99;
  1015. }
  1016. .foot-pay-btns .price,
  1017. .vender .total-box .price,
  1018. .buy-checkout .price {
  1019. color: #f6220c;
  1020. }
  1021. .foot-pay-btns .price .num {
  1022. font-size: 44rpx;
  1023. font-weight: bold;
  1024. }
  1025. .foot-pay-btns button {
  1026. margin: 0;
  1027. padding: 0 40rpx;
  1028. height: 60rpx;
  1029. line-height: 60rpx;
  1030. border-radius: 30rpx;
  1031. font-size: 32rpx;
  1032. background: #f6220c;
  1033. }
  1034. .buy-checkout .iconfont.icon-weixin {
  1035. color: #04BE01;
  1036. font-size: 50rpx;
  1037. }
  1038. .buy-checkout .iconfont.icon-yue {
  1039. color: #f0de7c;
  1040. font-size: 50rpx;
  1041. }
  1042. .buy-checkout .item.active .iconfont.icon-xuanze {
  1043. color: #F6220C;
  1044. }
  1045. .buy-checkout .iconfont.icon-jiantou {
  1046. color: #999999;
  1047. font-size: 24rpx;
  1048. }
  1049. /*more upload img*/
  1050. .upload-list {
  1051. flex-wrap: wrap;
  1052. }
  1053. .upload-list .item {
  1054. width: 220rpx;
  1055. height: 220rpx;
  1056. margin-top: 20rpx;
  1057. margin-right: 16rpx;
  1058. border: 1px solid #DDDDDD;
  1059. }
  1060. .upload-list .item:nth-child(3n),
  1061. .upload-list .item.upload-btn {
  1062. margin-right: 0;
  1063. }
  1064. .upload-list .item,
  1065. .upload-list .item image {
  1066. width: 214rpx;
  1067. height: 214rpx;
  1068. }
  1069. .upload-list .upload-btn .iconfont {
  1070. font-size: 60rpx;
  1071. }
  1072. /*coupon*/
  1073. .coupon-item {
  1074. position: relative;
  1075. display: flex;
  1076. justify-content: flex-start;
  1077. align-items: center;
  1078. height: 200rpx;
  1079. color: #FFFFFF;
  1080. }
  1081. .coupon-item .circles {
  1082. position: absolute;
  1083. top: 0;
  1084. bottom: 0;
  1085. left: 0;
  1086. display: flex;
  1087. flex-direction: column;
  1088. justify-content: space-around;
  1089. align-items: stretch;
  1090. z-index: 30;
  1091. }
  1092. .coupon-item .circles text {
  1093. display: block;
  1094. width: 10rpx;
  1095. height: 20rpx;
  1096. background: #FFFFFF;
  1097. border-radius: 0 10rpx 10rpx 0
  1098. }
  1099. .coupon-item .info {
  1100. position: relative;
  1101. padding: 0 30rpx 0 40rpx;
  1102. width: 40rpx;
  1103. height: 100%;
  1104. display: flex;
  1105. justify-content: center;
  1106. align-items: center;
  1107. font-size: 40rpx;
  1108. line-height: 40rpx;
  1109. border-right: 4rpx dashed rgba(255, 255, 255, .4);
  1110. }
  1111. .coupon-item .info::before,
  1112. .coupon-item .info::after {
  1113. position: absolute;
  1114. display: block;
  1115. content: '';
  1116. width: 30rpx;
  1117. height: 15rpx;
  1118. background: #FFFFFF;
  1119. z-index: 10;
  1120. }
  1121. .coupon-item .info::before {
  1122. top: 0;
  1123. right: -16rpx;
  1124. border-radius: 0 0 15rpx 15rpx;
  1125. }
  1126. .coupon-item .info::after {
  1127. bottom: 0;
  1128. right: -16rpx;
  1129. border-radius: 15rpx 15rpx 0 0;
  1130. }
  1131. .coupon-item-red {
  1132. background: #e62423;
  1133. /* linear-gradient(-128deg, #ff6d6d, #ff3636); */
  1134. }
  1135. .coupon-item-blue {
  1136. background: #178ed9;
  1137. /* linear-gradient(-128deg, #1fd6ff, #3661ff); */
  1138. }
  1139. .coupon-item-violet {
  1140. background: #ab0bf6;
  1141. /* linear-gradient(-128deg, #d63efc, #6600c3); */
  1142. }
  1143. .coupon-item-yellow {
  1144. background: #f4a50b;
  1145. /* linear-gradient(-128deg, #ffe31f, #ffaf36); */
  1146. }
  1147. .coupon-item-gray {
  1148. background: #999999;
  1149. /* linear-gradient(-128deg, #888888, #999999); */
  1150. }
  1151. .coupon-item .operation {
  1152. position: relative;
  1153. height: 100%;
  1154. padding-left: 28rpx;
  1155. flex: 1;
  1156. overflow: hidden;
  1157. box-sizing: border-box;
  1158. }
  1159. .coupon-item .operation .coupon-content {
  1160. height: 100%;
  1161. padding: 20rpx;
  1162. box-sizing: border-box;
  1163. display: flex;
  1164. justify-content: space-around;
  1165. align-items: flex-start;
  1166. flex-direction: column;
  1167. }
  1168. .coupon-item .btns {
  1169. padding: 0 30rpx;
  1170. width: 30rpx;
  1171. height: 100%;
  1172. background: rgba(0, 0, 0, .2);
  1173. }
  1174. .coupon-item .right-box {
  1175. padding-right: 30rpx;
  1176. }
  1177. .coupon-item .btns button {
  1178. text-align: 0;
  1179. padding: 0;
  1180. width: 30rpx;
  1181. border-radius: 0;
  1182. font-size: 30rpx;
  1183. line-height: 36rpx;
  1184. background: none;
  1185. }
  1186. .rule-wrap {
  1187. overflow: hidden;
  1188. height: 0;
  1189. }
  1190. .rule-wrap.rule-wrap-auto {
  1191. height: auto;
  1192. }
  1193. .item-wrap .rule {
  1194. padding: 30rpx;
  1195. box-sizing: border-box;
  1196. border-top: dashed 1px #CCCCCC;
  1197. background: #FFFFFF;
  1198. }
  1199. /*top-tab*/
  1200. .top-tabbar {
  1201. height: 96rpx;
  1202. line-height: 96rpx;
  1203. display: flex;
  1204. justify-content: space-between;
  1205. align-items: center;
  1206. padding: 0 20rpx;
  1207. box-sizing: border-box;
  1208. background: #FFFFFF;
  1209. border-bottom: 1px solid #f2f2f2;
  1210. }
  1211. .tab-item {
  1212. flex: 1;
  1213. height: 96rpx;
  1214. display: flex;
  1215. justify-content: center;
  1216. align-items: center;
  1217. font-size: 30rpx;
  1218. color: #999999;
  1219. }
  1220. .tab-item.active {
  1221. /* border-bottom: 2px solid #f6220c; */
  1222. margin-bottom: -2px;
  1223. color: #333333;
  1224. font-size: 32rpx;
  1225. font-family: PingFang SC;
  1226. font-weight: bold;
  1227. position: relative;
  1228. }
  1229. .tab-item.active::after {
  1230. content: '';
  1231. width: 72rpx;
  1232. height: 4rpx;
  1233. background: #EE1414;
  1234. border-radius: 2rpx;
  1235. position: absolute;
  1236. bottom: 16rpx;
  1237. }
  1238. .active-top-tab {
  1239. /* position: absolute; */
  1240. /* bottom: 125rpx; */
  1241. /* z-index: 22; */
  1242. /* width: 100%; */
  1243. }
  1244. /*列表刷新*/
  1245. .top-refresh {
  1246. overflow: hidden;
  1247. height: 0;
  1248. display: flex;
  1249. justify-content: center;
  1250. align-items: center;
  1251. transition: height .5s;
  1252. }
  1253. .top-refresh.open {
  1254. height: 96rpx;
  1255. }
  1256. .top-refresh .circle {
  1257. width: 30rpx;
  1258. height: 30rpx;
  1259. margin: 0 10rpx;
  1260. background: #CCCCCC;
  1261. border-radius: 50%;
  1262. transform: scale(0);
  1263. animation: bulge 2s infinite ease-in-out;
  1264. }
  1265. @keyframes bulge {
  1266. 50% {
  1267. transform: scale(1);
  1268. }
  1269. }
  1270. .top-refresh .circle:nth-child(1) {
  1271. animation-delay: 0s;
  1272. }
  1273. .top-refresh .circle:nth-child(2) {
  1274. animation-delay: .25s;
  1275. }
  1276. .top-refresh .circle:nth-child(3) {
  1277. animation-delay: .50s;
  1278. }
  1279. /*foot-btns*/
  1280. .foot-btns {
  1281. position: fixed;
  1282. right: 0;
  1283. bottom: 0;
  1284. left: 0;
  1285. height: 90rpx;
  1286. padding: 0 30rpx;
  1287. display: flex;
  1288. justify-content: flex-end;
  1289. align-items: center;
  1290. z-index: 99;
  1291. background: #FFFFFF;
  1292. box-shadow: 0 -2rpx 8rpx 0 rgba(0, 0, 0, .1);
  1293. }
  1294. /*cover*/
  1295. uni-image {
  1296. width: 100%;
  1297. height: 100%;
  1298. }
  1299. .status_bar {
  1300. height: var(--status-bar-height);
  1301. width: 100%;
  1302. background-color: #f6220c;
  1303. }
  1304. .top_view {
  1305. height: var(--status-bar-height);
  1306. width: 100%;
  1307. position: fixed;
  1308. background-color: #f6220c;
  1309. top: 0;
  1310. z-index: 9999;
  1311. }
  1312. /* */
  1313. .select_spec {
  1314. overflow: hidden;
  1315. text-overflow: ellipsis;
  1316. white-space: nowrap;
  1317. font-size: 26rpx;
  1318. color: #333333;
  1319. }
  1320. .state_top{
  1321. width: 100%;
  1322. height: 50rpx;
  1323. }