修改
This commit is contained in:
parent
5c6d532d6d
commit
ac4053e602
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<u-tabs :list="tabList" :current="tabcurrent" @change="change"></u-tabs>
|
||||
<view class="Healthknowledge" v-if="informationCategoryVOList.length>0">
|
||||
<view class="Healthknowledge" v-if="informationCategoryVOList">
|
||||
<!-- <view class="title">
|
||||
健康常识
|
||||
</view> -->
|
||||
@ -37,7 +37,7 @@
|
||||
}],
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
informationCategoryVOList: [],
|
||||
informationCategoryVOList: null,
|
||||
total: 0,
|
||||
scrollTop: 0,
|
||||
};
|
||||
@ -56,10 +56,12 @@
|
||||
},
|
||||
getHeathHousing() {
|
||||
getHeathHousingList(this.pageNum, this.pageSize).then(res => {
|
||||
res.rows.forEach(e => {
|
||||
e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
|
||||
})
|
||||
this.informationCategoryVOList = res.rows
|
||||
if (res.rows.length > 0) {
|
||||
res.rows.forEach(e => {
|
||||
e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
|
||||
})
|
||||
this.informationCategoryVOList = res.rows
|
||||
}
|
||||
this.total = res.total
|
||||
})
|
||||
},
|
||||
|
||||
@ -120,7 +120,10 @@
|
||||
} else {
|
||||
this.couponstatus = item
|
||||
}
|
||||
this.getlist();
|
||||
selectCoupon(this.pageNum, this.pageSize, this.patientId, this.couponstatus).then(res => {
|
||||
this.couponlist = res.rows
|
||||
this.total = res.total
|
||||
})
|
||||
},
|
||||
goshoping() {
|
||||
uni.navigateTo({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user