38 lines
700 B
Vue
38 lines
700 B
Vue
<template>
|
|
|
|
<view class="container">
|
|
<!-- 公共组件-每个页面必须引入 -->
|
|
<public-module></public-module>
|
|
<z-nav-bar bgColor="#3AB3AE" fontColor="#fff"></z-nav-bar>
|
|
<view class="contentBox">
|
|
<web-view :webview-styles="webviewStyles" :src="id"></web-view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
id: "",
|
|
webviewStyles: {
|
|
progress: {
|
|
color: "#000",
|
|
},
|
|
},
|
|
};
|
|
},
|
|
onLoad(e) {
|
|
this.id = uni.getStorageSync("prescriptUrl");
|
|
},
|
|
computed: {},
|
|
watch: {},
|
|
mounted() {},
|
|
methods: {},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import "@/style/mixin.scss";
|
|
</style>
|