Blame view

pages/Detail/Detail.vue 424 Bytes
c7add6cf   “wangming”   初始版本开发完毕
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  <template>

  	<view style="padding: 10px;">

  		<view v-html="info"></view>

  	</view>

  </template>

  

  <script>

  	import BASE_URL from '@/common/config.js'

  	export default {

  		data() {

  			return {

  				info: "",

  			};

  		},

  		onLoad(e) {

  			this.API.GetDetail(e.id).then(res => {

  				if (res.code == 200) {

  					this.info = res.data.content;

  				}

  			})

  		},

  		methods: {

  

  		}

  	}

  </script>

  

  <style>

  </style>