45 lines
643 B
Vue
45 lines
643 B
Vue
<template>
|
|
<view class="container">
|
|
<!-- 公共组件-每个页面必须引入 -->
|
|
<public-module></public-module>
|
|
<z-nav-bar></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> |