This commit is contained in:
曹辉 2023-03-22 15:41:57 +08:00
parent dfab0e527e
commit 0b23e48a69
7 changed files with 56 additions and 27 deletions

View File

@ -47,11 +47,20 @@
专病管理 专病管理
</view> </view>
</view> </view>
<view class="item" @tap='goycjc'>
<image src="../../static/jiance.png" mode=""></image>
<view class="title">
远程监测
</view>
</view>
</view> </view>
<view class="Welfarecustomerservice"> <view class="Welfarecustomerservice">
<image class="shoping" src="../../static/shoping.png" mode="" @tap='goshopping'></image> <image class="pzyh" src="../../static/pzyh.png" mode="" @tap='gopzyh'></image>
<image src="../../static/fuli.png" mode="" @tap='gomaterialbenefits'></image> <div>
<image src="../../static/kefu.png" mode="" @tap='gocustomerservice'></image> <image src="../../static/fuli.png" mode="" @tap='gomaterialbenefits'></image>
<image src="../../static/kefu.png" mode="" @tap='gocustomerservice'></image>
</div>
<image class="shopping" src="../../static/shoping.png" mode="" @tap='goshopping'></image>
</view> </view>
<view class="Healthknowledge"> <view class="Healthknowledge">
<view class="title"> <view class="title">
@ -245,6 +254,17 @@
}) })
}, 0) }, 0)
}, },
goycjc() {
uni.navigateToMiniProgram({
appId: 'wxa2335d45fb25ee50',
success(res) {}
})
},
gopzyh() {
uni.navigateTo({
url: `/pages/ProjectDetails/ProjectDetails?stationId=${item.stationId}&stationItemId=${item.stationItemId}&stationItemPriceId=${item.stationItemPriceId}`,
})
},
}, },
// onReachBottom() { // // onReachBottom() { //
// if (this.informationCategoryVOList.length >= this.informationCategorytotal) {} else { // if (this.informationCategoryVOList.length >= this.informationCategorytotal) {} else {
@ -411,7 +431,7 @@
} }
.title { .title {
font-size: 38rpx; font-size: 36rpx;
font-weight: bold; font-weight: bold;
} }
} }
@ -419,53 +439,60 @@
.Welfarecustomerservice { .Welfarecustomerservice {
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-wrap: wrap;
background-color: #fff; background-color: #fff;
width: 100%; width: 100%;
padding: 30rpx 0; padding: 30rpx 0;
flex-wrap: wrap;
margin-bottom: 20rpx; margin-bottom: 20rpx;
image:nth-child(2) { .pzyh {
margin: 0 10rpx 0 0; // float: left;
}
image:nth-child(3) {
margin: 0 0 0 10rpx;
}
image {
width: 340rpx; width: 340rpx;
height: 195rpx; height: 340rpx;
} }
image:nth-child(1) { .shopping {
margin-top: 15rpx;
width: 700rpx; width: 700rpx;
height: 240rpx; height: 170rpx;
} }
.shoping { div {
margin-bottom: 20rpx; margin-left: 18rpx;
width: 340rpx;
image {
display: block;
width: 340rpx;
height: 165rpx;
}
image:nth-child(1) {
margin-bottom: 14rpx;
}
} }
} }
.items { .items {
background-color: #fff; background-color: #fff;
padding: 30rpx 80rpx 20px; padding: 30rpx 20rpx 20px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 20rpx; margin-bottom: 20rpx;
.item { .item {
width: 25%;
image { image {
width: 150rpx; width: 120rpx;
height: 150rpx; height: 120rpx;
display: block; display: block;
margin: 0 auto 20rpx; margin: 0 auto 20rpx;
} }
.title { .title {
font-size: 40rpx; font-size: 36rpx;
font-weight: 550; font-weight: 600;
text-align: center; text-align: center;
} }
} }

View File

@ -32,7 +32,7 @@
已过期 已过期
</view> --> </view> -->
</view> </view>
<view class="rollup" v-if="couponlist.length > 0"> <view class="rollup" v-if="couponlist">
<view class="item" v-for="(item,index) in couponlist" :key="index" <view class="item" v-for="(item,index) in couponlist" :key="index"
:style="item.useStatus!='NOT_USED'?'height:180rpx':''"> :style="item.useStatus!='NOT_USED'?'height:180rpx':''">
<view class="top" <view class="top"
@ -109,7 +109,7 @@
usershow: false, usershow: false,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
couponlist: [], couponlist: null,
total: 0, total: 0,
couponstatus: '', // couponstatus: '', //
patientId: null, patientId: null,
@ -164,7 +164,9 @@
getlist() { getlist() {
this.pageNum = 1 this.pageNum = 1
couponByUseStatus(this.pageNum, this.pageSize, this.patientId).then(res => { couponByUseStatus(this.pageNum, this.pageSize, this.patientId).then(res => {
this.couponlist = res.rows if (res.rows.length > 0) {
this.couponlist = res.rows
}
this.total = res.total this.total = res.total
}) })
}, },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 25 KiB

BIN
static/jiance.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 27 KiB

BIN
static/pzyh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 52 KiB