查缺补漏

This commit is contained in:
@fawn-nine
2024-06-26 14:15:16 +08:00
parent 0374ef034a
commit ac9364bbf6
19 changed files with 539 additions and 184 deletions

View File

@@ -11,8 +11,8 @@
<rich-text v-if="news.content" class="content"
:nodes="formatRichText(news.content)"></rich-text>
</view>
<web-view v-if="urlVisible" :webview-styles="webviewStyles" :src="surl"></web-view>
<!-- <music-play :playData="playData"></music-play> -->
<z-navigation></z-navigation>
</view>
</template>
@@ -60,15 +60,14 @@
onShow() {
// 隐藏原生的tabbar
uni.hideTabBar();
if(this.type == 1 && this.surl != ''){
// this.surl = this.newsObj.url
this.urlVisible = true
this.news = {}
}else{
// if(this.type == 1 && this.surl != ''){
// // this.surl = this.newsObj.url
// this.urlVisible = true
// this.news = {}
// }else{
this.getData();
this.urlVisible = false
}
// }
},
onPullDownRefresh() {