2025-11-08 11:21:57 +08:00
|
|
|
<template>
|
|
|
|
|
<view class="page">
|
|
|
|
|
<u-navbar title=" " :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
|
2026-03-16 10:00:58 +08:00
|
|
|
title-size='36' height='36' id="navbar" :custom-back="btnfh">
|
2025-11-08 11:21:57 +08:00
|
|
|
</u-navbar>
|
2026-01-15 14:44:11 +08:00
|
|
|
<web-view :src="http"></web-view>
|
2025-11-08 11:21:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2026-03-16 10:00:58 +08:00
|
|
|
bgc: {
|
2025-11-08 11:21:57 +08:00
|
|
|
backgroundColor: "#fff",
|
|
|
|
|
},
|
2026-03-16 10:00:58 +08:00
|
|
|
http:'',
|
|
|
|
|
fanhui:''
|
2025-11-08 11:21:57 +08:00
|
|
|
}
|
|
|
|
|
},
|
2026-03-16 10:00:58 +08:00
|
|
|
onLoad(option) {
|
2026-01-15 14:44:11 +08:00
|
|
|
this.getcha()
|
2026-03-16 10:00:58 +08:00
|
|
|
if(option && option.fanhui){
|
|
|
|
|
this.fanhui = option.fanhui
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 分享到好友(会话)
|
|
|
|
|
onShareAppMessage: function() {
|
|
|
|
|
return {
|
|
|
|
|
title: '玩转福鼎',
|
|
|
|
|
path: '/page_user/daolan?fanhui=1'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 分享到朋友圈
|
|
|
|
|
onShareTimeline: function() {
|
|
|
|
|
return {
|
|
|
|
|
title: '玩转福鼎',
|
|
|
|
|
query: '',
|
|
|
|
|
path: '/page_user/daolan?fanhui=1'
|
|
|
|
|
}
|
2025-11-08 11:21:57 +08:00
|
|
|
},
|
|
|
|
|
methods: {
|
2026-03-16 10:00:58 +08:00
|
|
|
btnfh(){
|
|
|
|
|
if(this.fanhui == 1){
|
|
|
|
|
uni.reLaunch({
|
|
|
|
|
url:'/pages/index/index'
|
|
|
|
|
})
|
|
|
|
|
}else{
|
|
|
|
|
uni.navigateBack()
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-01-15 14:44:11 +08:00
|
|
|
getcha(){
|
|
|
|
|
this.$u.get(`/system/config/configKey/guide.h5.url`).then(res =>{
|
|
|
|
|
if(res.code == 200){
|
|
|
|
|
this.http = res.data
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
2025-11-08 11:21:57 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
page {
|
|
|
|
|
background: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|