2023-03-17 11:25:54 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="openPage">
|
2023-03-20 11:49:03 +08:00
|
|
|
<img class="images" :src="picUrl" alt="">
|
2023-03-17 11:25:54 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: "openPage",
|
|
|
|
|
customNavigation: true,
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2023-03-20 11:49:03 +08:00
|
|
|
picUrl: '',
|
2023-03-17 11:25:54 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2023-03-20 11:49:03 +08:00
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
2023-03-17 11:25:54 +08:00
|
|
|
},
|
2023-03-20 11:49:03 +08:00
|
|
|
onLoad() {
|
|
|
|
|
this.getList()
|
|
|
|
|
setTimeout(()=> {
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: '/pages/AppHome/AppHome'
|
|
|
|
|
})
|
|
|
|
|
}, 2000)
|
2023-03-17 11:25:54 +08:00
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.openPage {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
.images {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|