detail.vue 855 Bytes
<template>
	<view class="configuation-detail-page">
		<!-- 公共组件-每个页面必须引入 -->
		<public-module></public-module>
		<web-view :src="largeScreenUrl"></web-view>
	</view>
</template>

<script>
import {
	createLargeScreenPageLink
} from '../config/help.js';
	export default {
		data(){
			return {
				largeScreenUrl:'',
			}
		},
		async onLoad(e){
			// 隐藏原生的tabbar
			uni.hideTabBar();
			this.createShareUrl(e)
		},
		onShow(){
			// this.$nextTick(()=>{
			// 	uni.setNavigationBarTitle({
			// 		title:this.$t('menu.boardDetail')
			// 	})
			// })
		},
		methods:{
			async createShareUrl(record){
				const href = createLargeScreenPageLink(record)
				console.log(href,'url')
				this.largeScreenUrl = href
			}
		}
	}
</script>

<!-- <style lang="scss" scoped>
	@import '../../static/configuration.scss';
</style> -->