Blame view

lvdao-miniapp/pages/questionnaire/questionWeb.vue 536 Bytes
be060284   杨鑫   '最新'
1
  <template>
6b65be48   wesley88   1
2
3
4
  	<view>
  		<web-view :src="url+id"></web-view>
  	</view>
be060284   杨鑫   '最新'
5
6
7
8
  </template>
  
  <script>
  	export default {
6b65be48   wesley88   1
9
10
11
12
  		data() {
  			return {
  				id: '',
  				url: 'https://zhgw-uat.028wlkj.com/cdwlMall/meh5/pages_category_page1/question/question?ids='
be060284   杨鑫   '最新'
13
  			}
6b65be48   wesley88   1
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  		},
  		onBackPress() {
  			// 拦截返回事件
  			uni.redirectTo({
  				url: '/pages/questionnaire/questionnaire'
  			});
  			return true;
  		},
  		onLoad(options) {
  			if (options.id) {
  				this.id = options.id
  				console.log(this.id)
  			}
  		},
  		mounted() {
be060284   杨鑫   '最新'
29
  
6b65be48   wesley88   1
30
  		}
be060284   杨鑫   '最新'
31
32
33
34
35
  	}
  </script>
  
  <style>
  </style>