修改
This commit is contained in:
parent
ab7e2f1547
commit
c7029fc2b9
@ -3,7 +3,7 @@
|
||||
<view class="health" v-if="healthdata">
|
||||
<view class="health_top">
|
||||
<image image v-if="healthdata.hiEva<650" :src="require('../images/red.png')">
|
||||
<image image v-if="healthdata.hiEva>850" :src="require('../images/green.png')" image>
|
||||
<image image v-if="healthdata.hiEva>=850" :src="require('../images/green.png')" image>
|
||||
<image v-if="850>healthdata.hiEva >= 650" :src="require('../images/yellow.png')" image>
|
||||
<view class="count">
|
||||
<view class="numbers">{{healthdata.hiEva}}</view>
|
||||
@ -118,7 +118,7 @@
|
||||
methods: {
|
||||
infohealths() {
|
||||
if (uni.getStorageSync("userinfo").cardNo) {
|
||||
this.cardNo=uni.getStorageSync("userinfo").cardNo
|
||||
this.cardNo = uni.getStorageSync("userinfo").cardNo
|
||||
// this.cardNo = '370522196411282177'
|
||||
healthIndexdata(this.cardNo).then(res => {
|
||||
this.healthdata = res.data
|
||||
@ -206,6 +206,7 @@
|
||||
// padding: 100rpx 40rpx;
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
|
||||
// 健康
|
||||
.health {
|
||||
width: 100%;
|
||||
@ -281,4 +282,4 @@
|
||||
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user