Commit 672d5336ccb0832bc9d215ead58d1b88025ab1f6
1 parent
7d697c09
购好物,首页,电视购物模块App外不显示~
Showing
1 changed file
with
7 additions
and
2 deletions
src/pages/optimization2/optimization2.vue
| @@ -706,6 +706,9 @@ | @@ -706,6 +706,9 @@ | ||
| 706 | // 判断在App内 | 706 | // 判断在App内 |
| 707 | if (this.isCNLive.value) { | 707 | if (this.isCNLive.value) { |
| 708 | 708 | ||
| 709 | + // 设置显示电视购物模块 | ||
| 710 | + this.$set(this, 'showTVGoods', true); | ||
| 711 | + | ||
| 709 | // 判断App版本,判断是否显示积分商城模块 | 712 | // 判断App版本,判断是否显示积分商城模块 |
| 710 | if (typeof this.$parent.compareVersion === 'function') { | 713 | if (typeof this.$parent.compareVersion === 'function') { |
| 711 | 714 | ||
| @@ -876,8 +879,7 @@ | @@ -876,8 +879,7 @@ | ||
| 876 | }); | 879 | }); |
| 877 | } | 880 | } |
| 878 | 881 | ||
| 879 | - // 设置显示电视购物模块 | ||
| 880 | - this.$set(this, 'showTVGoods', true); | 882 | + // 设置电视购物页面地址 |
| 881 | this.$set(this, 'tvUrl', datas.tv_url); | 883 | this.$set(this, 'tvUrl', datas.tv_url); |
| 882 | 884 | ||
| 883 | // 电视购物数据 | 885 | // 电视购物数据 |
| @@ -926,6 +928,9 @@ | @@ -926,6 +928,9 @@ | ||
| 926 | // 设置折扣专区模块产品数量为3个 | 928 | // 设置折扣专区模块产品数量为3个 |
| 927 | this.$set(this, 'discountLists', [this.discountLists[0], this.discountLists[1], this.discountLists[2]]); | 929 | this.$set(this, 'discountLists', [this.discountLists[0], this.discountLists[1], this.discountLists[2]]); |
| 928 | } | 930 | } |
| 931 | + | ||
| 932 | + // 设置隐藏电视购物模块 | ||
| 933 | + this.$set(this, 'showTVGoods', false); | ||
| 929 | } | 934 | } |
| 930 | 935 | ||
| 931 | // 判断是否有猜你喜欢 | 936 | // 判断是否有猜你喜欢 |