8.10提交代码 糖组检测
This commit is contained in:
@@ -12,6 +12,7 @@ Page({
|
||||
showText: false,
|
||||
saveImgPath: "",
|
||||
info: {},
|
||||
codeImg:'',
|
||||
// https://github.com/Kujiale-Mobile/Painter
|
||||
template: {
|
||||
width: '750px',
|
||||
@@ -160,6 +161,7 @@ Page({
|
||||
console.log(response);
|
||||
this.setData({
|
||||
info: response.data,
|
||||
codeImg:response.data.qr_code_url+"?v=3.0",
|
||||
"template.views[3].url" : response.data.qr_code_url,
|
||||
"template.views[4].url" : response.data.avatar,
|
||||
"template.views[5].text" : response.data.user_name,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<t-avatar class="avatar" size="large" image="{{info.avatar}}" />
|
||||
</view>
|
||||
<view class="qrcode">
|
||||
<van-image bindtap="showVisible" src="{{info.qr_code_url+'?v=2.0'}}" fit="heightFix" width="150" height="150" aria-label="qrcode" />
|
||||
<van-image bindtap="showVisible" src="{{codeImg}}" fit="heightFix" width="150" height="150" aria-label="qrcode" />
|
||||
<text>让您的患者微信扫码,线上复诊更便捷</text>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user