健康报告生成
This commit is contained in:
@@ -258,6 +258,16 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
// 跳转公告详情
|
||||
pushHealthDocs(e) {
|
||||
wx.navigateTo({
|
||||
url: `/pages/healthDocs/index`,
|
||||
success: function(res) {},
|
||||
fail: function(res) {},
|
||||
complete: function(res) {},
|
||||
})
|
||||
},
|
||||
|
||||
// 获取授权
|
||||
setAuthSuccess(e) {
|
||||
if (e.detail.authSetting['scope.userLocation']) {
|
||||
|
||||
@@ -99,9 +99,9 @@
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
|
||||
<!-- 扫码进场 -->
|
||||
<cover-view class='mine-box' style='bottom: 170rpx' bindtap='sacnQRCode'>
|
||||
<cover-image class='img' src='../../images/ok.png'></cover-image>
|
||||
<!-- 健康报告 -->
|
||||
<cover-view class='mine-box' style='bottom: 170rpx' bindtap='pushHealthDocs'>
|
||||
<cover-image class='img' src='../../images/jiankangbaogao.png'></cover-image>
|
||||
<button class='hide-btn'></button>
|
||||
</cover-view>
|
||||
|
||||
@@ -114,4 +114,4 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<confirm-dialog title="{{'提示'}}" message="{{'需要获取使用地理位置权限'}}" bindopensetting="setAuthSuccess" wx:if="{{isShowAuth}}" isAuth="{{true}}" show-cancel="{{false}}"></confirm-dialog>
|
||||
<confirm-dialog title="{{'提示'}}" message="{{'需要获取使用地理位置权限'}}" bindopensetting="setAuthSuccess" wx:if="{{isShowAuth}}" isAuth="{{true}}" show-cancel="{{false}}"></confirm-dialog>
|
||||
|
||||
Reference in New Issue
Block a user