开屏页
This commit is contained in:
@@ -1,24 +1,39 @@
|
||||
<template>
|
||||
<div class="openPage">
|
||||
<img class="images" src="./img/kaiping3.png" alt="">
|
||||
<img class="images" :src="picUrl" alt="">
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "openPage",
|
||||
appName: "openPage",
|
||||
customNavigation: true,
|
||||
data() {
|
||||
return {
|
||||
|
||||
picUrl: '',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
getList() {
|
||||
this.$instance.post('/app/appwechatguidepage/listForXCX',null, {
|
||||
params: {
|
||||
current: 1,
|
||||
size: 100,
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
this.picUrl = res.data.records[0].picUrl
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
onLoad() {
|
||||
this.getList()
|
||||
setTimeout(()=> {
|
||||
uni.switchTab({
|
||||
url: '/pages/AppHome/AppHome'
|
||||
})
|
||||
}, 2000)
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user