questionWeb.vue 536 Bytes
<template>
	<view>
		<web-view :src="url+id"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: '',
				url: 'https://zhgw-uat.028wlkj.com/cdwlMall/meh5/pages_category_page1/question/question?ids='
			}
		},
		onBackPress() {
			// 拦截返回事件
			uni.redirectTo({
				url: '/pages/questionnaire/questionnaire'
			});
			return true;
		},
		onLoad(options) {
			if (options.id) {
				this.id = options.id
				console.log(this.id)
			}
		},
		mounted() {

		}
	}
</script>

<style>
</style>