查缺补漏
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="fullscreen-webview" v-else>
|
||||
<span style="z-index: 2; position: fixed; top: 0; left: 0; background-color: red;">< 返回</span>
|
||||
<view class="fullscreen-webview" v-else>
|
||||
<web-view :src="prescriptDetail.url"> </web-view>
|
||||
</view>
|
||||
<music-play :playData="playData"></music-play>
|
||||
@@ -46,25 +45,7 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
this.id = e.id;
|
||||
// #ifdef APP-PLUS
|
||||
const pages = getCurrentPages()
|
||||
const page = pages[pages.length - 1];
|
||||
const currentWebview = page.$getAppWebview()
|
||||
currentWebview.setStyle({
|
||||
titleNView: {
|
||||
buttons: [{
|
||||
float: 'right',
|
||||
type: 'close',
|
||||
onclick: function() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
}
|
||||
}]
|
||||
}
|
||||
})
|
||||
// #endif
|
||||
this.id = e.id;
|
||||
},
|
||||
onShow() {
|
||||
this.getDetail();
|
||||
|
||||
Reference in New Issue
Block a user