38 lines
720 B
Vue
38 lines
720 B
Vue
<template>
|
|
<view style="padding:0;margin:0;text-align:center">
|
|
<image mode="widthFix" :src="apiHost+'/miniapp/static/doc_example1.png'"></image>
|
|
<image mode="widthFix" :src="apiHost+'/miniapp/static/doc_example2.png'"></image>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import myapp from '@/common/js/myapp.js'
|
|
export default {
|
|
data() {
|
|
return {
|
|
apiHost: myapp.apiHost
|
|
}
|
|
},
|
|
onShow: function() {
|
|
console.log(this.apiHost+'/miniapp/static/doc_example2.png')
|
|
let user = myapp.checkLogin()
|
|
uni.setStorageSync('lastPagePath', '/packagePage/pages/doc_content/doc_content')
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
page {
|
|
padding:0;
|
|
margin:0;
|
|
}
|
|
|
|
image {
|
|
margin:0;
|
|
width:100%;
|
|
}
|
|
</style>
|