panhui 4 лет назад
Родитель
Сommit
250510ef79

+ 5 - 1
src/main/comos/src/components/product/productInfo.vue

@@ -10,7 +10,7 @@
     >
         <van-image width="100%" height="calc(50vw - 24px)" :src="getImg(changeImgs(info.pic, 600))" fit="cover" />
 
-        <div class="number" v-if="info.number">编号:{{ info.number }}</div>
+        <div class="number" v-if="info.number && !noNumber">编号:{{ info.number }}</div>
         <div class="content">
             <div class="name van-ellipsis">
                 {{ info.name }}
@@ -56,6 +56,10 @@ export default {
             default: () => {
                 return {};
             }
+        },
+        noNumber: {
+            type: Boolean,
+            default: false
         }
     },
     computed: {

+ 1 - 1
src/main/comos/src/router/index.js

@@ -36,7 +36,7 @@ function jsapiSign() {
                     wx.ready(function () {
                         wx.updateAppMessageShareData({
                             title: 'Cosmos Art',
-                            desc: 'Cosmos Art',
+                            desc: 'Cosmos Art”为数字藏品展示、收藏、集换为一体的潮玩数字藏品平台',
                             link: location.origin + '/cosmos',
                             imgUrl: 'https://9space-2021.oss-cn-shenzhen.aliyuncs.com/nft/2021-11-05-15-58-30YwqLzMjy.jpg'
                         });

+ 5 - 2
src/main/comos/src/views/Discover.vue

@@ -85,11 +85,14 @@
         <div class="box" v-if="hots.length > 0">
             <page-title
                 title="最HOT收藏品"
-                :to="{ path: '/productList', query: { type: 'DEFAULT', source: 'TRANSFER', title: '最HOT收藏品' } }"
+                :to="{
+                    path: '/productList',
+                    query: { type: 'DEFAULT', source: 'TRANSFER', title: '最HOT收藏品', noNumber: 1 }
+                }"
             ></page-title>
             <div class="box-list">
                 <template v-for="(item, index) in hots" :key="item.id">
-                    <product-info v-model:info="hots[index]"></product-info
+                    <product-info v-model:info="hots[index]" noNumber></product-info
                 ></template>
             </div>
         </div>

+ 1 - 1
src/main/comos/src/views/asset/Detail.vue

@@ -561,7 +561,7 @@ export default {
                 });
                 wx.updateAppMessageShareData({
                     title: 'Cosmos Art - ' + res.name,
-                    desc: '全球首个基于区块链的游戏资产集换中心',
+                    desc: '“Cosmos Art”为数字藏品展示、收藏、集换为一体的潮玩数字藏品平台',
                     link: location.origin + '/cosmos/assetDetail?id=' + res.id,
                     imgUrl: this.getImg(this.changeImgs(this.banners), '', 600)
                 });

+ 1 - 1
src/main/comos/src/views/product/Detail.vue

@@ -367,7 +367,7 @@ export default {
                     if (this.inWeixin) {
                         wx.updateAppMessageShareData({
                             title: 'Cosmos Art - ' + res.name,
-                            desc: '全球首个基于区块链的游戏资产集换中心',
+                            desc: '“Cosmos Art”为数字藏品展示、收藏、集换为一体的潮玩数字藏品平台',
                             link: location.origin + '/cosmos/productDetail?id=' + res.id,
                             imgUrl: this.getImg(this.changeImgs(this.banners), '', 300)
                         });

+ 8 - 2
src/main/comos/src/views/product/List.vue

@@ -38,7 +38,7 @@
 
         <van-list v-model:loading="loading" :finished="finished" finished-text="" @load="getData">
             <template v-for="(item, index) in list" :key="index">
-                <product-info v-model:info="list[index]" @update:info="init"></product-info>
+                <product-info v-model:info="list[index]" @update:info="init" :noNumber="noNumber"></product-info>
             </template>
 
             <van-empty
@@ -89,7 +89,8 @@ export default {
             url: '/collection/all',
             title: '',
             salable: false,
-            scrollTop: 0
+            scrollTop: 0,
+            noNumber: false
         };
     },
     computed: {
@@ -112,6 +113,11 @@ export default {
         if (this.$route.query.title) {
             this.title = this.$route.query.title;
         }
+        if (this.$route.query.noNumber) {
+            this.noNumber = true;
+        } else {
+            this.noNumber = false;
+        }
     },
     methods: {
         beforeData() {