index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074
  1. <template>
  2. <view class="">
  3. <view class="index container" v-if="$store.state.is_kg == 1">
  4. <view class="top_img">
  5. <view class="">
  6. <view class="">
  7. <image src="@/static/logo.png" mode=""></image>
  8. </view>
  9. <view class="">
  10. 鲑鱼数藏
  11. </view>
  12. </view>
  13. <view class="" @click="href('/pages/my/rank/rank')">
  14. <image src="@/static/index/1.png" mode="widthFix" style="width: 40rpx;"></image>
  15. </view>
  16. </view>
  17. <!-- 广告图 -->
  18. <view class="banner">
  19. <u-swiper circular :indicatorInactiveColor="'#fff'" :list="banner" :keyName="'img'" :bgColor="'#111111'"
  20. @click="onHref" :height="'256rpx'">
  21. </u-swiper>
  22. </view>
  23. <!-- 通知栏 -->
  24. <view class="noticebar">
  25. <view class="left logo">
  26. <image src="/static/index/2.png" mode="widthFix" style="width: 60rpx;"></image>
  27. </view>
  28. <view class="notice_text">
  29. <u-notice-bar :color="'#fff'" :text="notice_new" :icon="''"
  30. @click="href('/pages/news/details/details?id='+new_id)">
  31. </u-notice-bar>
  32. </view>
  33. <view class="right logo" @click="totabar('/pages/find/find')">
  34. <image src="/static/index/03.png" mode="" style="width: 40rpx;height: 40rpx;"></image>
  35. </view>
  36. </view>
  37. <!-- 菜单 -->
  38. <view class="head_bar">
  39. <view class="" v-for="(item,index) in list1" :key="index" :class="index==i?'syColor':''" @click="i=index">
  40. {{item.name}}
  41. <view class="" :class="index==i?'syColor1':''">
  42. </view>
  43. </view>
  44. </view>
  45. <view class="good-list" v-if="i==0 || i ==1 || i ==2">
  46. <view class="list-item" @click="href(item.url + item.id)" v-for="(item, index) in recommend" :key="index">
  47. <view class="" style="background: #000;width: 100rpx;">
  48. </view>
  49. <view class="list-img">
  50. <view class="back-bott" v-if="i==0">
  51. <view class="hot1" v-if="item.sell_num>0&&item.status=='未开始'">
  52. <view class="">
  53. <view class="">
  54. <image src="/static/index/08.png" mode="widthFix"
  55. style="width: 36rpx;margin-top: 10rpx;"></image>
  56. </view>
  57. <view class="" style="margin-left: 10rpx;">
  58. 即将开售
  59. </view>
  60. </view>
  61. <u-count-down style="font-weight: 800;margin-top: -10rpx;" :time="item.time*1000"
  62. format="HH:mm:ss">
  63. </u-count-down>
  64. </view>
  65. <view class="hot1" v-if="item.sell_num>0 &&item.status == '抢购中'">
  66. <view class="">
  67. <image src="/static/index/07.png" mode="widthFix" style="width: 36rpx;"></image>
  68. </view>
  69. <view class="">
  70. 热卖中
  71. </view>
  72. </view>
  73. <view class="hot1" v-if="item.sell_num<=0">
  74. <view class="">
  75. <image src="/static/index/08.png" mode="widthFix" style="width: 36rpx;"></image>
  76. </view>
  77. <view class="">
  78. 已售罄
  79. </view>
  80. </view>
  81. </view>
  82. <image :src="item.cover" style="width: 686rpx;border-radius: 24rpx;" mode="widthFix" />
  83. </view>
  84. <view class="item-bot">
  85. <view class="list-ctx">
  86. {{ item.title }}
  87. </view>
  88. <view class="list-gx">
  89. <view class="">
  90. <view class="">
  91. 限量
  92. </view>
  93. <view class="">
  94. {{ item.num }}份
  95. </view>
  96. </view>
  97. <view class="price" v-if="i==1">
  98. <view>¥</view>
  99. <view>{{ item.price }}</view>
  100. </view>
  101. </view>
  102. <view class="list-prc" v-if="item.type==2">
  103. <view class="">
  104. <view class="">
  105. <image src="/static/logo.png" mode=""
  106. style="width: 32rpx;height: 32rpx;border-radius: 50%;"></image>
  107. </view>
  108. <view class="list-pirce">{{ item.writer }}</view>
  109. </view>
  110. <view class="">
  111. <text>¥</text>
  112. <text>{{ item.price }}</text>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. <view class="" style="font-size: 24rpx;color: #999;text-align: center;">
  119. 没有数据了
  120. </view>
  121. </view>
  122. <view class="" v-else>
  123. <image src="@/static/index/04.png" mode="widthFix" style="width: 750rpx;"></image>
  124. </view>
  125. </view>
  126. </template>
  127. <script>
  128. export default {
  129. data() {
  130. return {
  131. list1: [{
  132. name: '藏品',
  133. },
  134. {
  135. name: '盲盒',
  136. },
  137. {
  138. name: '抽签',
  139. }
  140. ],
  141. bannerList: [{
  142. img: '/static/index/04.png'
  143. },
  144. {
  145. img: '/static/index/05.png',
  146. e: '/pages/Shopping/index'
  147. },
  148. {
  149. img: '/static/index/06.png'
  150. }
  151. ],
  152. recommend: [], //推荐列表
  153. box_list: [], //盲盒专区
  154. banner: [], //轮播图
  155. i: 0, //头部导航索引
  156. pages: 0, //热门推荐数量
  157. ms: 0, //即将开售时间倒计时
  158. current: 0,
  159. notice_new: "", //滚动最新公告
  160. Subtxt: "订阅",
  161. new_id: '',
  162. value: '',
  163. activity: [],
  164. activity1: []
  165. }
  166. },
  167. watch: {
  168. //头部索引发生变化触发渲染哪个列表
  169. i(val) {
  170. uni.showToast({
  171. title: "加载中",
  172. icon: "loading"
  173. })
  174. this.init()
  175. this.activity = []
  176. this.activity1 = []
  177. if (val == 0) {
  178. this.get_recommend_list()
  179. } else if (val == 1) {
  180. this.get_box_list()
  181. } else if (val == 2) {
  182. this.getHot()
  183. uni.hideLoading()
  184. }
  185. }
  186. },
  187. onLoad() {
  188. // 公告栏
  189. this.get_notcie()
  190. // 盲盒专区
  191. this.get_recommend_list()
  192. this.get_banner()
  193. },
  194. onReachBottom() {
  195. uni.showToast({
  196. title: "加载中",
  197. icon: "loading"
  198. })
  199. if (this.i == 0) {
  200. this.get_recommend_list()
  201. } else if (this.i == 1) {
  202. this.get_box_list()
  203. } else if (this.i == 2) {
  204. this.getHot()
  205. }
  206. },
  207. // onHide() {
  208. // this.init()
  209. // },
  210. methods: {
  211. aa() {
  212. this.value = ''
  213. this.init()
  214. this.get_recommend_list()
  215. },
  216. search() {
  217. this.init()
  218. this.get_recommend_list()
  219. },
  220. init() {
  221. //初始化 列表数据
  222. this.recommend = []
  223. this.box_list = []
  224. //页数清0
  225. this.pages = 0
  226. },
  227. click(e) {
  228. this.i = e.index;
  229. },
  230. get_notcie() {
  231. this.api.get_notice_list().then(res => {
  232. if (res.code == 1) {
  233. this.notice = res.data.data;
  234. this.notice_new = res.data.data[0].name
  235. this.new_id = res.data.data[0].id
  236. }
  237. })
  238. },
  239. get_banner() {
  240. this.api.banner().then(res => {
  241. this.banner = res.data
  242. })
  243. },
  244. onHref(e) {
  245. console.log(this.banner[e].type)
  246. if (this.banner[e].type == "LK") {
  247. // this.href('./webView/webView?path=' + this.banner[e].url)
  248. this.href(this.banner[e].url)
  249. }
  250. },
  251. baseMode() {
  252. this.api.baseMode().then(res => {
  253. res.data.forEach(ele => {
  254. this.activity.push({
  255. name: ele.name,
  256. pic1: ele.pic1,
  257. pic2: ele.pic2,
  258. create_at: ele.create_at,
  259. url: ele.url
  260. })
  261. })
  262. })
  263. },
  264. get_recommend_list() {
  265. this.api.popular(30, ++this.pages, this.value).then(res => {
  266. if (res.code == 1) {
  267. res.data.data.forEach(ele => {
  268. this.recommend.push({
  269. id: ele.id,
  270. img: ele.img, //藏品图
  271. status: ele.sell_status == 1 ? '抢购中' : '未开始', //1.售卖中 2.待开始
  272. writer: ele.user.nickname, //创作者名称
  273. writer_img: ele.user.headimg, //创作者头像
  274. price: ele.price, //加个
  275. num: ele.num, //限量
  276. title: ele.name, //藏品名称
  277. cover: ele.cover, //封面
  278. time: parseInt(ele.sell_at - (new Date().getTime() /
  279. 1000)), //倒计时
  280. bls: this.getTime(ele.create_at, true),
  281. sell_num: ele.sell_num, // 剩余数量
  282. type: 2,
  283. url: '/pages/index/Details/Details?id='
  284. })
  285. })
  286. }
  287. uni.hideToast() //关闭加载
  288. })
  289. },
  290. getHot() {
  291. this.api.getHot(30, ++this.pages, this.value).then(res => {
  292. if (res.code == 1) {
  293. res.data.data.forEach(ele => {
  294. this.recommend.push({
  295. id: ele.id,
  296. img: ele.img, //藏品图
  297. status: ele.sell_status == 1 ? '抢购中' : '未开始', //1.售卖中 2.待开始
  298. writer: ele.user.nickname, //创作者名称
  299. writer_img: ele.user.headimg, //创作者头像
  300. price: ele.price, //加个
  301. num: ele.num, //限量
  302. title: ele.name, //藏品名称
  303. cover: ele.cover, //封面
  304. time: parseInt(ele.sell_at - (new Date().getTime() /
  305. 1000)), //倒计时
  306. bls: this.getTime(ele.create_at, true),
  307. sell_num: ele.sell_num, // 剩余数量
  308. type: 2,
  309. url: '/pages/index/Details/Details?id='
  310. })
  311. })
  312. }
  313. uni.hideToast() //关闭加载
  314. })
  315. },
  316. getTime(time) {
  317. var date = new Date(time);
  318. return `${this.getT(date.getMonth() + 1)}-${this.getT(date.getDate())} ${this.getT(date.getHours())}:${this.getT(date.getMinutes())}`
  319. },
  320. getT(n) {
  321. return n < 10 ? '0' + n : n
  322. },
  323. //获取盲盒列表
  324. get_box_list() {
  325. this.api.box_list(30, ++this.pages).then(res => {
  326. if (res.code == 1) {
  327. res.data.data.forEach(ele => {
  328. this.recommend.push({
  329. id: ele.id,
  330. cover: ele.box_img, //封面
  331. price: ele.price, //加个
  332. num: ele.num, //数量
  333. title: ele.box_name, //名称
  334. time_start: ele.date_start, //开始时间
  335. time_end: ele.date_end, //结束时间
  336. bls: this.getTime(ele.create_at, true),
  337. type: 1,
  338. url: '/pages/index/boxDetails/boxDetails?id=',
  339. sell_num: ele.sell_num
  340. })
  341. })
  342. uni.hideToast()
  343. }
  344. })
  345. },
  346. }
  347. }
  348. </script>
  349. <style lang="less" scoped>
  350. .index {
  351. width: 750rpx;
  352. overflow-y: scroll;
  353. box-sizing: border-box;
  354. height: calc(100vh - 120rpx);
  355. .top_img {
  356. display: flex;
  357. align-items: center;
  358. justify-content: space-between;
  359. padding: 0 32rpx;
  360. height: 88rpx;
  361. margin-bottom: 24rpx;
  362. >view:first-child {
  363. display: flex;
  364. image {
  365. width: 48rpx;
  366. height: 42rpx;
  367. margin-right: 20rpx;
  368. }
  369. }
  370. >view:last-child {
  371. width: 40rpx;
  372. height: 40rpx;
  373. }
  374. }
  375. .banner {
  376. width: 686rpx;
  377. height: 256rpx;
  378. margin: 0 auto;
  379. }
  380. .noticebar {
  381. padding-left: 20rpx;
  382. width: 682rpx;
  383. height: 104rpx;
  384. margin: 24rpx auto 0;
  385. display: flex;
  386. align-items: center;
  387. justify-content: space-between;
  388. box-sizing: border-box;
  389. border-radius: 24rpx;
  390. z-index: 66;
  391. position: relative;
  392. box-sizing: border-box;
  393. background: #1D1F1E;
  394. .left {
  395. width: 100rpx;
  396. text-align: center;
  397. image {
  398. width: 54rpx;
  399. }
  400. }
  401. .right {
  402. text-align: center;
  403. margin-right: 32rpx;
  404. }
  405. .u-notice-bar {
  406. width: 450rpx;
  407. }
  408. }
  409. .good-list {
  410. display: flex;
  411. flex-wrap: wrap;
  412. justify-content: space-between;
  413. padding: 0 20rpx;
  414. box-sizing: border-box;
  415. padding-bottom: 50rpx;
  416. overflow: hidden;
  417. .list-item {
  418. width: 686rpx;
  419. background: #1D1F1E;
  420. box-sizing: border-box;
  421. overflow: hidden;
  422. z-index: 1;
  423. margin: 0 auto 24rpx;
  424. border-radius: 24rpx;
  425. .list-img {
  426. position: relative;
  427. overflow: hidden;
  428. }
  429. .back-bott {
  430. bottom: 0;
  431. margin: 0 auto;
  432. >view {
  433. display: flex;
  434. justify-content: center;
  435. text-align: center;
  436. background: rgba(0, 0, 0, .6);
  437. border-radius: 12rpx;
  438. color: #FFDEB3;
  439. font-size: 24rpx;
  440. display: inline-block;
  441. position: absolute;
  442. z-index: 99;
  443. margin: 32rpx;
  444. align-items: center;
  445. height: 72rpx;
  446. padding: 0 28rpx;
  447. }
  448. .hot {
  449. height: 88rpx;
  450. background: url(/static/index/016.png) no-repeat;
  451. background-size: 100% 100%;
  452. display: flex;
  453. flex-direction: column;
  454. align-items: center;
  455. color: #DFB9AE;
  456. letter-spacing: 2rpx;
  457. >view:first-child {
  458. margin-top: -10rpx;
  459. display: flex;
  460. align-items: center;
  461. }
  462. >view:last-child {
  463. margin-left: 12rpx;
  464. }
  465. /deep/.u-count-down span {
  466. font-weight: normal !important;
  467. }
  468. }
  469. .hot1,
  470. .hot1 {
  471. height: 72rpx;
  472. display: flex;
  473. align-items: center;
  474. color: #fff;
  475. font-size: 24rpx;
  476. >view:first-child {
  477. margin-top: -10rpx;
  478. display: flex;
  479. align-items: center;
  480. }
  481. >view:last-child {
  482. margin-left: 12rpx;
  483. }
  484. }
  485. }
  486. .item-bot {
  487. padding: 0 24rpx;
  488. .list-ctx {
  489. font-size: 32rpx;
  490. font-weight: 600;
  491. color: #fff;
  492. margin-top: 24rpx;
  493. }
  494. .list-gx {
  495. color: #fff;
  496. display: flex;
  497. justify-content: space-between;
  498. align-items: center;
  499. margin-top: 24rpx;
  500. margin-bottom: 30rpx;
  501. >view:first-child {
  502. display: flex;
  503. align-items: center;
  504. line-height: 48rpx;
  505. font-size: 22rpx;
  506. >view:first-child {
  507. background: #F4E0BD;
  508. padding: 0 10rpx;
  509. border-radius: 8rpx;
  510. color: #000;
  511. }
  512. >view:last-child {
  513. color: #F4E0BD;
  514. border-radius: 48rpx;
  515. background: #4B4B4B;
  516. border-radius: 8rpx;
  517. padding: 0 10rpx;
  518. margin-left: 8rpx;
  519. }
  520. }
  521. .price {
  522. display: flex;
  523. align-items: center;
  524. font-family: Tahoma-Bold, Tahoma;
  525. font-weight: bold;
  526. background: linear-gradient(180deg, #69FF60 0%, #0C9D5B 100%);
  527. -webkit-background-clip: text;
  528. -webkit-text-fill-color: transparent;
  529. >view:first-child {
  530. font-size: 40rpx;
  531. }
  532. >view:last-child {
  533. font-size: 40rpx;
  534. font-weight: bold;
  535. }
  536. }
  537. }
  538. .list-prc {
  539. color: #fff;
  540. font-size: 24rpx;
  541. display: flex;
  542. justify-content: space-between;
  543. align-items: flex-end;
  544. padding-bottom: 30rpx;
  545. >view:first-child {
  546. font-weight: 500;
  547. display: flex;
  548. >view:last-child {
  549. margin-left: 8rpx;
  550. }
  551. }
  552. >view:last-child {
  553. font-size: 40rpx;
  554. font-family: Tahoma-Bold, Tahoma;
  555. font-weight: bold;
  556. background: linear-gradient(180deg, #69FF60 0%, #0C9D5B 100%);
  557. -webkit-background-clip: text;
  558. -webkit-text-fill-color: transparent;
  559. }
  560. }
  561. }
  562. }
  563. }
  564. }
  565. .flex {
  566. display: flex;
  567. justify-content: space-between;
  568. align-items: center;
  569. }
  570. .sell {
  571. .title {
  572. margin: 40rpx 25rpx;
  573. image {
  574. width: 268rpx;
  575. height: 54rpx;
  576. }
  577. view {
  578. font-size: 28rpx;
  579. color: #000;
  580. // width: 100rpx;
  581. height: 52rpx;
  582. background: #21E4F0;
  583. border-radius: 74rpx;
  584. text-align: center;
  585. line-height: 52rpx;
  586. padding: 0 20rpx;
  587. }
  588. }
  589. .item {
  590. // margin: 0 25rpx;
  591. width: 686rpx;
  592. margin: auto;
  593. .hed {
  594. height: 80rpx;
  595. font-size: 28rpx;
  596. font-weight: 400;
  597. color: #000000;
  598. background: #fff;
  599. border-radius: 20rpx 20rpx 0 0;
  600. padding: 0 20rpx;
  601. view:last-child {
  602. display: flex;
  603. align-items: center;
  604. image {
  605. width: 28rpx;
  606. height: 28rpx;
  607. margin-right: 10rpx;
  608. }
  609. }
  610. }
  611. image {
  612. width: 100rpx;
  613. height: 100rpx;
  614. }
  615. .ctx {
  616. display: flex;
  617. flex-direction: column;
  618. background: #fff;
  619. margin-bottom: 30rpx;
  620. margin-top: 48rpx;
  621. border: 1px solid #EFEFEF;
  622. border-radius: 48rpx;
  623. width: 686rpx;
  624. overflow: hidden;
  625. .ctx-img {
  626. image {
  627. width: 686rpx;
  628. height: 268rpx;
  629. border-radius: 48rpx;
  630. }
  631. }
  632. .ctx-txt {
  633. width: 100%;
  634. padding-left: 30rpx;
  635. background: url(/static/index/024.png) no-repeat;
  636. background-size: 100% 100%;
  637. width: 686rpx;
  638. padding-bottom: 32rpx;
  639. view:nth-child(1) {
  640. font-size: 36rpx;
  641. color: #000000;
  642. margin-top: 32rpx;
  643. font-weight: 600;
  644. }
  645. view:nth-child(2) {
  646. font-size: 24rpx;
  647. color: #353535;
  648. margin-top: 24rpx;
  649. }
  650. }
  651. }
  652. }
  653. }
  654. .head_bar {
  655. display: flex;
  656. height: 88rpx;
  657. font-weight: 400;
  658. color: #999999;
  659. font-size: 32rpx;
  660. padding: 0 32rpx;
  661. align-items: center;
  662. margin: 32rpx 0 16rpx;
  663. .syColor {
  664. color: #fff;
  665. font-weight: bold;
  666. font-size: 32rpx;
  667. }
  668. }
  669. .imageji {
  670. // width: 100%;
  671. margin: 34rpx 0 0 32rpx;
  672. image {
  673. width: 290rpx;
  674. height: 182rpx;
  675. }
  676. }
  677. .sw-dot {
  678. margin-top: 30rpx;
  679. display: flex;
  680. justify-content: center;
  681. align-items: center;
  682. margin-bottom: 10rpx;
  683. }
  684. .sw-dot .dot {
  685. width: 16rpx;
  686. height: 16rpx;
  687. border-radius: 50%;
  688. background: #21E4F0;
  689. margin-left: 10rpx;
  690. opacity: 0.4;
  691. }
  692. .sw-dot .active {
  693. background: #21E4F0;
  694. opacity: 1;
  695. }
  696. .menu {
  697. width: 650rpx;
  698. margin-top: 20rpx;
  699. }
  700. .head_bar>view {
  701. margin-left: 56rpx;
  702. }
  703. .head_bar>view:first-child {
  704. margin-left: 20rpx;
  705. }
  706. /* .head_bar>view:last-child{
  707. margin-left: auto;
  708. margin-right: 20rpx;
  709. align-self: center;
  710. } */
  711. .checked_text {
  712. font-size: 52rpx;
  713. color: #000;
  714. }
  715. .magnifierbox {
  716. display: flex;
  717. }
  718. .magnifierbox>image {
  719. display: block;
  720. align-self: center;
  721. }
  722. .invite {
  723. display: flex;
  724. justify-content: space-between;
  725. padding: 0 10rpx;
  726. .inv {
  727. width: 54%;
  728. height: 106rpx;
  729. margin: 0 10rpx;
  730. border-radius: 16rpx;
  731. display: flex;
  732. justify-content: center;
  733. align-items: center;
  734. background: #29D0DC;
  735. image {
  736. width: 80rpx;
  737. height: 80rpx;
  738. }
  739. view {
  740. font-size: 32rpx;
  741. color: #fff;
  742. }
  743. }
  744. .inv:last-child {
  745. background: #FD9F59;
  746. }
  747. image {
  748. width: 100rpx;
  749. height: 100rpx;
  750. }
  751. }
  752. .list_content {
  753. padding: 0 20rpx;
  754. margin: 24rpx auto;
  755. margin-bottom: 0;
  756. }
  757. .list {
  758. background: #fff;
  759. border-radius: 16rpx;
  760. box-sizing: border-box;
  761. margin: 28rpx auto;
  762. margin-bottom: 0;
  763. overflow: hidden;
  764. z-index: 6666;
  765. padding-bottom: 20rpx;
  766. box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.09803921568627451);
  767. }
  768. .img {
  769. width: 100%;
  770. position: relative;
  771. box-sizing: border-box;
  772. overflow: hidden;
  773. }
  774. .img image {
  775. width: 100%;
  776. height: 940rpx;
  777. border-radius: 16rpx;
  778. overflow: hidden;
  779. }
  780. .status {
  781. /* width: 124rpx; */
  782. height: 50rpx;
  783. background: rgba(0, 0, 0, .6);
  784. border-radius: 40rpx;
  785. position: absolute;
  786. left: 30rpx;
  787. top: 30rpx;
  788. z-index: 1;
  789. letter-spacing: 4rpx;
  790. font-size: 24rpx;
  791. line-height: 50rpx;
  792. text-align: center;
  793. display: flex;
  794. align-items: center;
  795. padding: 0 20rpx;
  796. color: #F2E0BC;
  797. &::before {
  798. content: "";
  799. width: 20rpx;
  800. height: 20rpx;
  801. border-radius: 50%;
  802. background: #F2E0BC;
  803. display: inline-block;
  804. z-index: 666;
  805. margin-right: 15rpx;
  806. }
  807. }
  808. .list_title {
  809. margin-top: 32rpx;
  810. letter-spacing: 4rpx;
  811. font-size: 32rpx;
  812. font-family: Segoe UI-Semibold, Segoe UI;
  813. font-weight: 600;
  814. color: #000000;
  815. padding: 0 20rpx;
  816. }
  817. .num_box {
  818. margin-top: 25rpx;
  819. display: flex;
  820. justify-content: space-between;
  821. align-items: center;
  822. padding: 0 20rpx;
  823. }
  824. .num {
  825. height: 40rpx;
  826. display: flex;
  827. font-size: 26rpx;
  828. text-align: center;
  829. line-height: 46rpx;
  830. }
  831. .num>view:first-child {
  832. background: #000;
  833. width: 72rpx;
  834. height: 40rpx;
  835. line-height: 40rpx;
  836. font-size: 26rpx;
  837. border-radius: 5rpx;
  838. overflow: hidden;
  839. }
  840. .num>view:last-child {
  841. height: 40rpx;
  842. line-height: 40rpx;
  843. background: #fcf8f2;
  844. color: #fff;
  845. padding: 0 15rpx;
  846. border-radius: 5rpx;
  847. overflow: hidden;
  848. }
  849. .boxList {
  850. margin: 44rpx auto;
  851. }
  852. .boxItem {
  853. width: 710rpx;
  854. height: 910rpx;
  855. /* background: linear-gradient(134deg, #FFFFFF 0%, #2B2B2B 100%); */
  856. border-radius: 16rpx;
  857. margin: 0 auto 28rpx auto;
  858. display: flex;
  859. justify-content: flex-end;
  860. background: #fff;
  861. }
  862. .boxItem>view {
  863. align-self: center;
  864. width: 706rpx;
  865. height: 902rpx;
  866. /* background: #1c1c1e; */
  867. border-radius: 16rpx;
  868. }
  869. .boxItem>view {
  870. display: flex;
  871. flex-direction: column;
  872. }
  873. .boxItem>view>view:last-child {
  874. box-sizing: border-box;
  875. padding-left: 30rpx;
  876. padding-top: 22rpx;
  877. width: 100%;
  878. }
  879. .boxItem>view>view>view:first-child {
  880. font-size: 32rpx;
  881. color: #000000;
  882. font-weight: bold;
  883. }
  884. /* .boxItem>view>view>view:nth-child(2) {
  885. width: 64rpx;
  886. height: 44rpx;
  887. background: #000;
  888. text-align: center;
  889. line-height: 44rpx;
  890. font-size: 24rpx;
  891. font-weight: 400;
  892. border: 1px solid #FFFFFF;
  893. margin-top: 24rpx;
  894. } */
  895. .boxItem>view>view>view:nth-child(3) {
  896. letter-spacing: 2rpx;
  897. font-size: 24rpx;
  898. margin-top: 22rpx;
  899. }
  900. .box_price {
  901. width: 100%;
  902. text-align: right;
  903. /* color: #000000; */
  904. box-sizing: border-box;
  905. padding-right: 30rpx;
  906. font-size: 50rpx;
  907. }
  908. .statAs {
  909. height: 60rpx;
  910. position: absolute;
  911. left: 80rpx;
  912. top: 180rpx;
  913. z-index: 1;
  914. letter-spacing: 4rpx;
  915. font-size: 36rpx;
  916. line-height: 50rpx;
  917. text-align: center;
  918. display: flex;
  919. padding: 0 40rpx;
  920. background: rgba(0, 0, 0, .5);
  921. color: #fff;
  922. transform: rotate(-20deg);
  923. }
  924. </style>