优化
This commit is contained in:
@@ -22,7 +22,16 @@ Page({
|
||||
},
|
||||
onShow(){
|
||||
this.getList();
|
||||
|
||||
},
|
||||
onHide(){
|
||||
console.log("onHideonHide")
|
||||
this.setData({
|
||||
list: [],
|
||||
current_page: 0,
|
||||
total: 0,
|
||||
per_page: 0,
|
||||
last_page: 0,
|
||||
})
|
||||
},
|
||||
getList(){
|
||||
let current_page = this.data.current_page;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<view class="item" wx:for="{{list}}" bindtap="go" data-item="{{item}}">
|
||||
<view class="item_top">
|
||||
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 1}}">
|
||||
<text style="margin-left: 10rpx;">快速问诊</text>
|
||||
<text style="margin-left: 10rpx;">在线问诊</text>
|
||||
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
</view>
|
||||
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 2}}">
|
||||
|
||||
Reference in New Issue
Block a user