调整跳转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':
wx.setClipboardData({
data: `https://zgd.hbhcbn.com/h5/?report=${id}&tenement=${tenement}`,
data: `https://zgd.hbhcbn.com/user-report/?report=${id}&tenement=${tenement}`,
})
break;
// 体验版
case 'trial':
wx.setClipboardData({
data: `https://zgd.hbhcbn.com/h5/?report=${id}&tenement=${tenement}`,
data: `https://zgd.hbhcbn.com/user-report/?report=${id}&tenement=${tenement}`,
})
break;
// 正式版
case 'release':
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;
}

View File

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

View File

@ -93,8 +93,12 @@ Page({
wx.switchTab({
url: '/pages/home/index',
})
});
});
},
jumpToQuestions() {
wx.navigateTo({
url: '/pages/questions/index',
})
},
bindTenement() {
wx.navigateTo({

View File

@ -17,6 +17,7 @@
</van-cell>
<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="jumpToQuestions" /> -->
<van-cell title="退出登录" value="" is-link bind:tap="logout" />
<!-- </van-cell-group> -->
<!-- <van-cell-group title=" ">

View File

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

View File

@ -8,18 +8,5 @@
<view class="answer"> {{ item.answer }} </view>
</view>
</scroll-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> -->
</view>
</scrollPageWrapper>