查缺补漏

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

@@ -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();