调整跳转h5链接
This commit is contained in:
parent
14dad0a506
commit
8e1ed62bd7
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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">
|
||||||
用电管理服务 ·
|
用电管理服务 ·
|
||||||
|
|
|
@ -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({
|
||||||
|
|
|
@ -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=" ">
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"navigator": "/components/navigator/index",
|
"navigator": "/components/navigator/index",
|
||||||
"scrollPageWrapper": "/components/scrollPageWrapper/index"
|
"scrollPageWrapper": "/components/scrollPageWrapper/index"
|
||||||
}
|
},
|
||||||
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
|
@ -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>
|
Loading…
Reference in New Issue
Block a user