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