|
|
@@ -172,7 +172,7 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
|
|
|
- <div class="riceBanner" @click="$router.push('/rice')">
|
|
|
+ <div class="riceBanner" v-if="showRice" @click="$router.push('/rice')">
|
|
|
<img src="@/assets/riceBanner.png" alt="" />
|
|
|
<div class="rice-content">
|
|
|
<div class="text">快来种植你的绿洲水稻!</div>
|
|
|
@@ -419,7 +419,8 @@ export default {
|
|
|
turnPrivacy: false,
|
|
|
turnOffPrivacy: false,
|
|
|
light: null,
|
|
|
- showGPT: false
|
|
|
+ showGPT: false,
|
|
|
+ showRice: false
|
|
|
};
|
|
|
},
|
|
|
components: { Level, Post, TuanRank },
|
|
|
@@ -446,8 +447,9 @@ export default {
|
|
|
this.$toast(e.error);
|
|
|
});
|
|
|
}
|
|
|
- this.$http.get('/sysConfig/get/chatGPT_show').then(res => {
|
|
|
- this.showGPT = res.value === true || res.value === '1';
|
|
|
+ this.$http.get('/sysConfig/get/chatGPT_show,rice_show').then(res => {
|
|
|
+ this.showGPT = res.chatGPT_show.value === true || res.chatGPT_show.value === '1';
|
|
|
+ this.showRice = res.rice_show.value == true || res.rice_show.value === '1';
|
|
|
});
|
|
|
},
|
|
|
methods: {
|