调整跳转h5链接

This commit is contained in:
qiaomu 2024-07-10 08:28:53 +08:00
parent 14dad0a506
commit 8e1ed62bd7
6 changed files with 15 additions and 20 deletions

View File

@ -130,19 +130,19 @@ Page({
// 开发版 // 开发版
case 'develop': case 'develop':
wx.setClipboardData({ wx.setClipboardData({
data: `https://zgd.hbhcbn.com/h5/?report=${id}&tenement=${tenement}`, data: `https://zgd.hbhcbn.com/user-report/?report=${id}&tenement=${tenement}`,
}) })
break; break;
// 体验版 // 体验版
case 'trial': case 'trial':
wx.setClipboardData({ wx.setClipboardData({
data: `https://zgd.hbhcbn.com/h5/?report=${id}&tenement=${tenement}`, data: `https://zgd.hbhcbn.com/user-report/?report=${id}&tenement=${tenement}`,
}) })
break; break;
// 正式版 // 正式版
case 'release': case 'release':
wx.setClipboardData({ wx.setClipboardData({
data: `https://zgd.hbhcbn.com/reporth5/?report=${id}&tenement=${tenement}`, data: `https://zgd.hbhcbn.com/user-report-h5/?report=${id}&tenement=${tenement}`,
}) })
break; break;
} }

View File

@ -1,7 +1,9 @@
<!--pages/home/index.wxml--> <!--pages/home/index.wxml-->
<page-meta page-style="{{ show ? 'overflow: hidden;' : '' }}" /> <page-meta page-style="{{ show ? 'overflow: hidden;' : '' }}" />
<view> <view>
<view class="top"> <view class="top">
<custom-status-bar transparent="{{true}}" /> <custom-status-bar transparent="{{true}}" />
<view class="chooseParkWrapper"> <view class="chooseParkWrapper">
用电管理服务 · 用电管理服务 ·

View File

@ -94,7 +94,11 @@ Page({
url: '/pages/home/index', url: '/pages/home/index',
}) })
}); });
},
jumpToQuestions() {
wx.navigateTo({
url: '/pages/questions/index',
})
}, },
bindTenement() { bindTenement() {
wx.navigateTo({ wx.navigateTo({

View File

@ -17,6 +17,7 @@
</van-cell> </van-cell>
<van-cell title="发票抬头" value="" is-link bind:tap="jumpToUpdateInvoice" /> <van-cell title="发票抬头" value="" is-link bind:tap="jumpToUpdateInvoice" />
<van-cell title="绑定企业" value="" is-link bind:tap="bindTenement" /> <van-cell title="绑定企业" value="" is-link bind:tap="bindTenement" />
<!-- <van-cell title="常见问题" value="" is-link bind:tap="jumpToQuestions" /> -->
<van-cell title="退出登录" value="" is-link bind:tap="logout" /> <van-cell title="退出登录" value="" is-link bind:tap="logout" />
<!-- </van-cell-group> --> <!-- </van-cell-group> -->
<!-- <van-cell-group title=" "> <!-- <van-cell-group title=" ">

View File

@ -2,5 +2,6 @@
"usingComponents": { "usingComponents": {
"navigator": "/components/navigator/index", "navigator": "/components/navigator/index",
"scrollPageWrapper": "/components/scrollPageWrapper/index" "scrollPageWrapper": "/components/scrollPageWrapper/index"
} },
"navigationStyle": "custom"
} }

View File

@ -9,17 +9,4 @@
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<!-- <movable-area>
<movable-view x="{{x}}" y="{{y}}" direction="all">
<rich-text nodes="<div style='color:red;font-size:46px'>1234</div>"></rich-text>
</movable-view>
</movable-area> -->
<!-- <movable-area style="width: 500rpx; height: 500rpx;background-color: red;">
<movable-view x="{{x}}" y="{{y}}" direction="all">
<view style="width: 100rpx; height: 100rpx;background-color: blue;"> 1111 </view>
</movable-view>
</movable-area> -->
</scrollPageWrapper> </scrollPageWrapper>