Просмотр исходного кода

Merge branch 'yuan' of panhui/lasuo_nft_front into dev

yuanyuan 3 лет назад
Родитель
Сommit
fab0219550
2 измененных файлов с 9 добавлено и 9 удалено
  1. 3 3
      src/components/product/ProductBanner.vue
  2. 6 6
      src/views/Discover.vue

+ 3 - 3
src/components/product/ProductBanner.vue

@@ -9,16 +9,16 @@
                     <!-- <div class="video-box" v-if="isVideo(item)">
                         <van-icon color="#fff" size="60" name="play-circle" />
                     </div> -->
-                    <van-image
+                    <!-- <van-image
                         v-if="opened === false"
                         width="calc(100vw - 150px)"
                         height="calc(100vw - 150px)"
                         :src="require('../../assets/manghe.png')"
                         fit="cover"
-                    />
+                    /> -->
                     <video
                         class="swiper-video"
-                        v-else-if="isVideo(item)"
+                        v-if="isVideo(item)"
                         :src="item.url"
                         controls
                         :poster="getImg(changeImgs([item]), '', 1200)"

+ 6 - 6
src/views/Discover.vue

@@ -265,12 +265,12 @@ export default {
                 forbidClick: true
             });
             this.getBanner();
-            this.getProduct('DEFAULT', this.sortOptions['本期推荐']).then(res => {
-                this.currentRecommendationList = res;
-            });
-            this.getProduct('DEFAULT', this.sortOptions['最HOT收藏品'], 4).then(res => {
-                this.hotCollectionList = res;
-            });
+            // this.getProduct('DEFAULT', this.sortOptions['本期推荐']).then(res => {
+            //     this.currentRecommendationList = res;
+            // });
+            // this.getProduct('DEFAULT', this.sortOptions['最HOT收藏品'], 4).then(res => {
+            //     this.hotCollectionList = res;
+            // });
             // this.getMiner()
         },
         // 点赞的切换