查缺补漏
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user