collection.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933
  1. <template>
  2. <view class="index">
  3. <!-- <nav-header>我的藏品</nav-header> -->
  4. <view class=""
  5. style="display: flex;justify-content: space-between;height: 100rpx;align-items: center;padding: 0 32rpx;">
  6. <view class="" @click="totabar('/pages/my/my')">
  7. <image src="/static/2.png" mode="" style="width: 32rpx;height: 32rpx;"></image>
  8. </view>
  9. <view class="" style="font-weight: bold;color: #fff;">
  10. 我的藏品
  11. </view>
  12. <view class="">
  13. </view>
  14. </view>
  15. <scroll-view scroll-y @scrolltolower="tolower" style="height: 100vh;">
  16. <view class="good-list" v-if="collection_list.length >0">
  17. <view v-for="(item, index) in collection_list" :key="index" class="goodsitem">
  18. <view class="list-item">
  19. <view class="list-img" v-if="item.type ==1" @click="onGood(item,index)">
  20. <image :src="item.cover" />
  21. </view>
  22. <view class="list-ctx">
  23. {{ item.title }}
  24. </view>
  25. <view class="text_hide " v-if="item.type ==1"
  26. style="width: 200rpx;font-size: 24rpx;margin-left: 20rpx;margin-top: 10rpx;">
  27. <text>by {{ item.writer }}</text>
  28. </view>
  29. <view class="foot" v-if="item.type ==1">
  30. <view>
  31. 共{{item.count ||0}}个
  32. </view>
  33. <view class="price">
  34. <!-- <image src="/static/my/022.png" mode="widthFix" style="width: 24rpx;"></image> -->
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="" v-if="collection_list.length >0" style="font-size: 24rpx;color: #999;text-align: center;">
  41. 没有数据了
  42. </view>
  43. <view class="nothing"
  44. v-if="tag1==0?collection_list.length <=0:tag1==1?collection_list.length <=0: list.length <= 0">
  45. <view class="">
  46. <image src="/static/shoping/8.png" mode="widthFix" style="width: 504rpx;"></image>
  47. </view>
  48. <view class="">
  49. {{tag1==0?'暂无藏品':tag1==1?'暂无盲盒':'暂无数据'}}
  50. </view>
  51. </view>
  52. <!-- 作品编号 -->
  53. <uni-popup ref="popup" type="bottom">
  54. <view class="pop_content">
  55. <view class="top">
  56. <view class="">
  57. <image :src="img" mode=""
  58. style="width: 192rpx;height: 192rpx;border-radius: 20rpx;margin-top: -100rpx;"></image>
  59. </view>
  60. <view class="close" @click="$refs.popup.close()">
  61. <image src="/static/my/close1.png" mode="widthFix" style="width: 48rpx;"></image>
  62. </view>
  63. <view class="title">
  64. {{number.length!=0?number[0].name:'' }}
  65. <view>/共{{length}}个</view>
  66. </view>
  67. </view>
  68. <view class="sort">默认按编号排序</view>
  69. <scroll-view scroll-y="true" style="height: 30vh;" @scrolltolower="lower1">
  70. <view></view>
  71. <view class="box">
  72. <view class="item" v-for="item,i in number" :key="i" @click="goTo(item)">
  73. <view class="dot" v-if="item.status==1"></view>
  74. <view class="dot ji" v-if="item.status==4"></view>
  75. <!-- <view class=""></view> -->
  76. <view class="num">{{item.order_no}}</view>
  77. <!-- <view class="pir">¥{{item.price}}</view> -->
  78. </view>
  79. </view>
  80. </scroll-view>
  81. </view>
  82. </uni-popup>
  83. </scroll-view>
  84. </view>
  85. </template>
  86. <script>
  87. import navHeader from "@/components/my/nav_header.vue"
  88. import XinyuCanvasDrawer from "@/components/xinyu-canvas-drawer/index.vue";
  89. export default {
  90. components: {
  91. navHeader,
  92. // aQrcode,
  93. XinyuCanvasDrawer
  94. },
  95. onShow() {
  96. this.init()
  97. this.collection_fold()
  98. },
  99. data() {
  100. return {
  101. show_exit_pop: false,
  102. i: 0,
  103. list1: [{
  104. name: '作品',
  105. },
  106. {
  107. name: '盲盒',
  108. }
  109. ],
  110. collection_list: [], //作品
  111. number: [], // 编号
  112. src: "", //分享图
  113. link: '',
  114. fresh: false, //下拉
  115. tag: [{
  116. name: '藏品'
  117. },
  118. {
  119. name: '盲盒'
  120. },
  121. {
  122. name: '已售出'
  123. }
  124. ],
  125. tag1: 0,
  126. value: '',
  127. img: '',
  128. list: [],
  129. show: false,
  130. type: 0,
  131. page: 0,
  132. collection_id:'',
  133. length:''
  134. }
  135. },
  136. watch: {
  137. },
  138. methods: {
  139. init() {
  140. // 初始化 数据数组为空 页面0
  141. this.collection_list = []
  142. this.page = 0
  143. },
  144. // 标签切换
  145. /**
  146. * 作品
  147. */
  148. collection_fold() {
  149. // uni.showToast({
  150. // title: "加载中",
  151. // icon: "loading"
  152. // })
  153. this.api.collection_fold(15, ++this.page, this.value).then(res => {
  154. res.data.data.forEach(ele => {
  155. this.collection_list.push({
  156. id: ele.id,
  157. title: ele.coll.name,
  158. img: ele.coll.img,
  159. cover: ele.coll.cover,
  160. type: 1, //1作品
  161. no: ele.order_no,
  162. count: ele.count, //折叠数量
  163. collection_id: ele.collection_id,
  164. no: ele.order_no,
  165. count: ele.count,
  166. count1: ele.count1 ? ele.count1 : 0,
  167. writer: ele.author.nickname,
  168. writer_img: ele.author.headimg,
  169. })
  170. })
  171. })
  172. },
  173. tolower() {
  174. this.collection_fold()
  175. },
  176. lower1() {
  177. this.onGood1()
  178. },
  179. /**
  180. * 作品折叠
  181. */
  182. onGood1() {
  183. console.log(123)
  184. this.api.collection_fold_info(this.collection_id, 10, ++this.page).then(res => {
  185. uni.hideLoading()
  186. if (res.code == 1) {
  187. res.data.data.forEach(ele => {
  188. this.number.push({
  189. id: ele.mark_id,
  190. name: ele.coll.name,
  191. price: ele.price,
  192. order_no: ele.order_no,
  193. status: ele.status,
  194. url: '/pages/collection/collectionDetails/collectionDetails?id=' +
  195. ele
  196. .id,
  197. mark_id: ele.mark_id,
  198. type: 1,
  199. img: ele.coll.cover
  200. })
  201. })
  202. this.$refs.popup.open()
  203. }
  204. })
  205. },
  206. onGood(item,index) {
  207. this.page = 0
  208. this.number = []
  209. this.collection_id = item.collection_id
  210. this.api.collection_fold_info(this.collection_id, 10, ++this.page).then(res => {
  211. uni.hideLoading()
  212. if (res.code == 1) {
  213. this.img = res.data.data[0].coll.cover
  214. this.length = res.data.total
  215. res.data.data.forEach(ele => {
  216. this.number.push({
  217. id: ele.mark_id,
  218. name: ele.coll.name,
  219. price: ele.price,
  220. order_no: ele.order_no,
  221. status: ele.status,
  222. url: '/pages/collection/collectionDetails/collectionDetails?id=' +
  223. ele
  224. .id,
  225. mark_id: ele.mark_id,
  226. type: 1,
  227. img: ele.coll.cover
  228. })
  229. })
  230. this.$refs.popup.open()
  231. }
  232. })
  233. },
  234. getT(n) {
  235. return n < 10 ? '0' + n : n
  236. },
  237. goTo(item) {
  238. if (item.status == 4) {
  239. this.$refs.popup.close();
  240. if (item.type == 1) {
  241. this.$api.to("/pages/market/market_collection_details/market_collection_details?id=" + item.id)
  242. } else {
  243. this.$api.to("/pages/market/market_box_details/market_box_details?id=" + item.id)
  244. }
  245. } else {
  246. this.$refs.popup.close();
  247. this.$api.to(item.url)
  248. }
  249. },
  250. }
  251. }
  252. </script>
  253. <style lang="less" scoped>
  254. .index {
  255. box-sizing: border-box;
  256. height: calc(100vh - var(--window-bottom));
  257. }
  258. .head {
  259. height: 120rpx;
  260. line-height: 120rpx;
  261. position: sticky;
  262. top: 0;
  263. padding: 0 30rpx;
  264. box-sizing: border-box;
  265. background-color: ;
  266. position: relative;
  267. }
  268. .head .content {
  269. font-size: 36rpx;
  270. font-weight: 500;
  271. text-align: center;
  272. color: ;
  273. }
  274. .head .right {
  275. position: absolute;
  276. top: 20rpx;
  277. right: 30rpx;
  278. }
  279. .head .right image {
  280. width: 48rpx;
  281. height: 48rpx;
  282. margin-left: 30rpx;
  283. }
  284. .user_info {
  285. width: 750rpx;
  286. box-sizing: border-box;
  287. padding: 20rpx 40rpx 30rpx;
  288. overflow: hidden;
  289. }
  290. .user_info .user-hed {
  291. display: flex;
  292. padding-top: 20rpx;
  293. padding-bottom: 10rpx;
  294. }
  295. .user_info .user-hed>view:last-child {
  296. display: flex;
  297. }
  298. .logined {
  299. width: 530rpx;
  300. display: flex;
  301. flex-direction: column;
  302. margin-left: 20rpx;
  303. .static {
  304. display: flex;
  305. justify-content: space-between;
  306. position: relative;
  307. &:first-child {
  308. margin-top: 10rpx;
  309. }
  310. &:first-child>view:nth-child(1) {
  311. font-size: 40rpx;
  312. font-family: PingFang SC-Semibold, PingFang SC;
  313. font-weight: 500;
  314. color: #F4F4F4;
  315. }
  316. &:first-child>view:nth-child(2) {
  317. image {
  318. width: 48rpx;
  319. height: 48rpx;
  320. }
  321. }
  322. }
  323. .hash {
  324. display: flex;
  325. align-content: center;
  326. font-size: 28rpx;
  327. color: #666;
  328. margin-top: 20rpx;
  329. }
  330. }
  331. .user_info_details {
  332. display: flex;
  333. flex-direction: column;
  334. margin-left: 20rpx;
  335. }
  336. .user_info_details>view:first-child {
  337. font-size: 40rpx;
  338. font-weight: 600;
  339. }
  340. .user_info_details>view:last-child {
  341. display: flex;
  342. font-size: 24rpx;
  343. font-weight: 400;
  344. margin-top: 16rpx;
  345. color: #FBFBFB;
  346. letter-spacing: 2rpx;
  347. }
  348. .bula {
  349. // border-radius: 12rpx;
  350. display: flex;
  351. box-sizing: border-box;
  352. flex-wrap: wrap;
  353. display: flex;
  354. justify-content: space-between;
  355. align-items: center;
  356. font-size: 28rpx;
  357. box-sizing: border-box;
  358. }
  359. .bula>view {
  360. width: calc(100% / 4);
  361. text-align: center;
  362. margin-top: 30rpx;
  363. box-sizing: border-box;
  364. }
  365. .bula>view:first-child text:before {
  366. content: "";
  367. display: block;
  368. height: 50rpx;
  369. width: 46rpx;
  370. // background: url("@/static/my/5516@2x.png");
  371. background-size: 100% 100%;
  372. margin: 5rpx auto;
  373. }
  374. .bula>view:nth-child(2) text:before {
  375. content: "";
  376. display: block;
  377. height: 50rpx;
  378. width: 50rpx;
  379. // background: url("@/static/my/5517@2x.png");
  380. background-size: 100% 100%;
  381. margin: 5rpx auto;
  382. }
  383. .bula>view:nth-child(3) text:before {
  384. content: "";
  385. display: block;
  386. height: 50rpx;
  387. width: 50rpx;
  388. // background: url("@/static/my/5514@2x.png");
  389. background-size: 100% 100%;
  390. margin: 5rpx auto;
  391. }
  392. .bula>view:nth-child(4) text:before {
  393. content: "";
  394. display: block;
  395. height: 52rpx;
  396. width: 52rpx;
  397. // background: url("@/static/my/3157@2x.png");
  398. background-size: 100% 100%;
  399. margin: 5rpx auto;
  400. }
  401. .bula>view:nth-child(5) text:before {
  402. content: "";
  403. display: block;
  404. height: 52rpx;
  405. width: 52rpx;
  406. // background: url("@/static/my/20220826155029.png");
  407. background-size: 100% 100%;
  408. margin: 5rpx auto;
  409. }
  410. .bula>view:nth-child(6) text:before {
  411. content: "";
  412. display: block;
  413. height: 52rpx;
  414. width: 52rpx;
  415. // background: url("@/static/my/20220826155032.png");
  416. background-size: 100% 100%;
  417. margin: 5rpx auto;
  418. }
  419. .bula>view:nth-child(7) text:before {
  420. content: "";
  421. display: block;
  422. height: 52rpx;
  423. width: 52rpx;
  424. // background: url("@/static/my/20220826155024.png");
  425. background-size: 100% 100%;
  426. margin: 5rpx auto;
  427. }
  428. .bula>view:nth-child(8) text:before {
  429. content: "";
  430. display: block;
  431. height: 52rpx;
  432. width: 52rpx;
  433. // background: url("@/static/my/20220826155018.png");
  434. background-size: 100% 100%;
  435. margin: 5rpx auto;
  436. }
  437. .tools {
  438. width: 686rpx;
  439. margin: 30rpx auto;
  440. margin-bottom: 0;
  441. border-radius: 20rpx;
  442. background: ;
  443. }
  444. .tools_row {
  445. display: flex;
  446. align-items: center;
  447. justify-content: space-between;
  448. box-sizing: border-box;
  449. height: 100rpx;
  450. font-size: 32rpx;
  451. font-weight: 400;
  452. border-bottom: 2rpx solid #F2F7FA;
  453. margin-left: 20rpx;
  454. }
  455. .tools_row image {
  456. display: block;
  457. margin-right: 34rpx;
  458. }
  459. .tools_row>view {
  460. align-self: center;
  461. font-size: 28rpx;
  462. font-weight: 400;
  463. color: 000;
  464. }
  465. .tools_row>view:last-child {
  466. width: 60rpx;
  467. box-sizing: border-box;
  468. }
  469. .invite {
  470. width: 686rpx;
  471. height: 180rpx;
  472. margin: 30rpx auto;
  473. image {
  474. width: 100%;
  475. height: 100%;
  476. }
  477. }
  478. .menu {
  479. display: flex;
  480. justify-content: space-around;
  481. font-size: 28rpx;
  482. font-weight: 400;
  483. padding-top: 20rpx;
  484. font-size: 28rpx;
  485. width: 100%;
  486. box-sizing: border-box;
  487. view {
  488. font-size: 28rpx;
  489. text-align: center;
  490. color: #999;
  491. height: 55rpx;
  492. }
  493. .colorWhite {
  494. position: relative;
  495. color: #000 !important;
  496. }
  497. .colorWhite::after {
  498. content: '';
  499. position: absolute;
  500. left: 0%;
  501. bottom: 0;
  502. width: 100rpx;
  503. height: 4rpx;
  504. background: #F2CF9C;
  505. border-radius: 8rpx;
  506. }
  507. }
  508. .head_search {
  509. width: 750rpx;
  510. display: flex;
  511. box-sizing: border-box;
  512. padding: 0rpx 20rpx 0 20rpx;
  513. margin-top: 30rpx;
  514. }
  515. .head_search>view {
  516. align-self: center;
  517. }
  518. .head_search .input_box {
  519. width: 622rpx;
  520. height: 60rpx;
  521. display: flex;
  522. align-items: center;
  523. background: ;
  524. image {
  525. width: 32rpx;
  526. height: 32rpx;
  527. margin-left: 15rpx;
  528. box-sizing: border-box;
  529. }
  530. input {
  531. width: 530rpx;
  532. height: 60rpx;
  533. color: ;
  534. font-size: 28rpx;
  535. margin-left: 10rpx;
  536. }
  537. }
  538. .head_search>view:last-child {
  539. margin-left: 20rpx;
  540. font-size: 28rpx;
  541. }
  542. .good-list {
  543. display: flex;
  544. flex-wrap: wrap;
  545. align-content: flex-start;
  546. justify-content: space-between;
  547. padding: 20rpx 30rpx;
  548. // min-height: calc(100vh - 670rpx);
  549. // background: #161618;
  550. .list-item {
  551. box-sizing: border-box;
  552. overflow: hidden;
  553. width: 332rpx;
  554. background: #1D1F1E;
  555. border-radius: 24rpx;
  556. color: #fff;
  557. .list-img {
  558. width: 332rpx;
  559. height: 316rpx;
  560. position: relative;
  561. margin: 0 auto;
  562. margin-bottom: 0;
  563. text-align: center;
  564. box-sizing: border-box;
  565. image {
  566. width: 100%;
  567. height: 100%;
  568. border-radius: 12rpx;
  569. }
  570. .list-sho {
  571. height: 44rpx;
  572. line-height: 44rpx;
  573. position: absolute;
  574. top: 20rpx;
  575. left: 20rpx;
  576. z-index: 2;
  577. background: rgba(0, 0, 0, 0.6);
  578. border-radius: 74rpx;
  579. color: #fff;
  580. padding: 5rpx 20rpx;
  581. font-size: 24rpx;
  582. display: flex;
  583. align-items: center;
  584. &::before {
  585. content: "";
  586. width: 28rpx;
  587. height: 28rpx;
  588. background: #000;
  589. display: inline-block;
  590. border-radius: 50%;
  591. vertical-align: middle;
  592. margin-right: 10rpx;
  593. }
  594. }
  595. }
  596. .list-ctx {
  597. font-size: 34rpx;
  598. font-weight: 400;
  599. color: 000;
  600. padding: 15rpx 0 0 20rpx;
  601. color: #fff;
  602. }
  603. .list-gx {
  604. font-size: 24rpx;
  605. color: #fff;
  606. padding-left: 20rpx;
  607. margin: 10rpx 0;
  608. }
  609. .list-prc {
  610. display: flex;
  611. justify-content: space-between;
  612. font-size: 24rpx;
  613. color: #fff;
  614. padding: 15rpx 20rpx 0;
  615. text:last-child {
  616. font-size: 32rpx;
  617. font-weight: 600;
  618. color: #fff;
  619. font-family: PingFang SC-Semibold, PingFang SC;
  620. }
  621. }
  622. }
  623. }
  624. .pop_content {
  625. background-color: ;
  626. height: 30vh;
  627. padding: 20rpx;
  628. // overflow: scroll;
  629. padding-bottom: 150rpx;
  630. position: relative;
  631. // border-radius: 24rpx 24rpx 0 0;
  632. background: #171918;
  633. .top {
  634. display: flex;
  635. }
  636. .close {
  637. position: absolute;
  638. font-size: 50rpx;
  639. top: 20rpx;
  640. right: 30rpx;
  641. }
  642. .title {
  643. font-size: 34rpx;
  644. font-weight: 500;
  645. color: #fff;
  646. margin-left: 24rpx;
  647. >view {
  648. font-size: 24rpx;
  649. color: #999;
  650. margin-top: 8rpx;
  651. }
  652. }
  653. .sort {
  654. font-size: 24rpx;
  655. color: #999;
  656. margin-top: 15rpx;
  657. }
  658. .box {
  659. display: flex;
  660. flex-wrap: wrap;
  661. margin-top: 20rpx;
  662. .item {
  663. width: 212rpx;
  664. height: 128rpx;
  665. // background: rgba(255, 255, 255, .6);
  666. position: relative;
  667. text-align: center;
  668. font-size: 24rpx;
  669. margin: 10rpx;
  670. border-radius: 24rpx;
  671. background: #1D1F1E;
  672. color: #fff;
  673. .dot {
  674. font-weight: 400;
  675. color: #fff;
  676. width: 84rpx;
  677. height: 60rpx;
  678. // background: linear-gradient(135deg, #E79D45 0%, #E79D45 100%);
  679. border-radius: 0px 0px 0px 8rpx;
  680. position: absolute;
  681. top: 0;
  682. right: 0;
  683. border-radius: 0 24rpx 0 12rpx;
  684. font-size: 24rpx;
  685. background: url(/static/my/023.png) no-repeat;
  686. background-size: 100% 100%;
  687. }
  688. .ji {
  689. background: url(/static/my/040.png) no-repeat;
  690. background-size: 100% 100%;
  691. }
  692. .num {
  693. color: #fff;
  694. margin-top: 35rpx;
  695. }
  696. // .pir {
  697. // font-size: 30rpx;
  698. // font-weight: bold;
  699. // color: 000;
  700. // color: #043E4A;
  701. // }
  702. }
  703. }
  704. }
  705. .share_content {
  706. width: 680rpx;
  707. margin: auto;
  708. margin-bottom: 60rpx;
  709. .logo {
  710. .image {
  711. width: 680rpx;
  712. height: 820rpx;
  713. border-radius: 20rpx;
  714. }
  715. }
  716. .box {
  717. width: 680rpx;
  718. height: 180rpx;
  719. background: FFF;
  720. border-radius: 20rpx;
  721. display: flex;
  722. justify-content: space-around;
  723. align-items: center;
  724. text-align: center;
  725. margin-top: 10rpx;
  726. background: #0d0d0e;
  727. .img {
  728. width: 82rpx;
  729. height: 82rpx;
  730. background: #27AC00;
  731. display: flex;
  732. align-items: center;
  733. justify-content: center;
  734. margin: auto;
  735. border-radius: 60rpx;
  736. image {
  737. width: 48rpx;
  738. height: 48rpx;
  739. }
  740. }
  741. .txt {
  742. margin-top: 5rpx;
  743. font-size: 28rpx;
  744. color: 000;
  745. }
  746. }
  747. .close {
  748. width: 64rpx;
  749. height: 64rpx;
  750. margin: 20rpx auto;
  751. }
  752. }
  753. .foot {
  754. display: flex;
  755. justify-content: space-between;
  756. align-items: center;
  757. margin: 10rpx 20rpx;
  758. padding: 5rpx 0;
  759. view:first-child {
  760. font-size: 24rpx;
  761. font-family: PingFang SC-Regular, PingFang SC;
  762. font-weight: 400;
  763. color: #999;
  764. }
  765. .price {
  766. font-size: 32rpx;
  767. font-family: PingFang SC-Semibold, PingFang SC;
  768. font-weight: 600;
  769. color: #fff;
  770. }
  771. }
  772. .nothing {
  773. width: 504rpx;
  774. margin: 156rpx auto 0;
  775. >view:last-child {
  776. text-align: center;
  777. color: #999999;
  778. font-size: 28rpx;
  779. }
  780. }
  781. .goodsitem {
  782. margin-bottom: 20rpx;
  783. }
  784. </style>