You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

52 lines
786 B

<template>
<view class="platfrom" v-if="falge">
<view class="VR" @click="go">
立即VR看园
</view>
</view>
</template>
<script>
export default {
data() {
return {
falge: true,
}
},
onShow() {
this.falge = true
},
onHide() {
this.falge = false
console.log("yingc");
},
onShareAppMessage() {
return {
title: "", // 默认是小程序的名称(可以写slogan等)
path: '/pages/platform/platform',
}
},
methods: {
go() {
uni.navigateToMiniProgram({
appId: 'wx73f0dff704dfc0d0',
path: 'pages/index/index',
extraData: {
'data1': 'test'
},
success(res) {
// 打开成功
}
})
}
},
onLoad() {
}
}
</script>
<style lang="scss">
@import "./platfrom.scss"
</style>