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.
|
|
|
<template>
|
|
|
|
<view class="bg bg-padding">
|
|
|
|
<CustomTabBar :currentTab="0" />
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import CustomTabBar from '@/components/CustomTabBar.vue';
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
CustomTabBar
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
url: "https://www.hwh5.cn/hwcm/lRCqyP0p"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onLoad() {
|
|
|
|
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
let inMap = this.$store.state.user.inMap
|
|
|
|
if (inMap) {
|
|
|
|
uni.switchTab({
|
|
|
|
url:"/pages/index/index",
|
|
|
|
success: () => {
|
|
|
|
this.$store.commit("changeInMap",false);
|
|
|
|
}
|
|
|
|
})
|
|
|
|
} else {
|
|
|
|
uni.navigateTo({
|
|
|
|
url:"/subPackages/webPage/webPage?url=https://www.hwh5.cn/hwcm/lRCqyP0p"
|
|
|
|
})
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.bg {
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|