xg
This commit is contained in:
parent
3cb78e421c
commit
790f180d99
@ -272,39 +272,42 @@
|
|||||||
},
|
},
|
||||||
// 积分兑换
|
// 积分兑换
|
||||||
count() {
|
count() {
|
||||||
if (!this.userinfo) {
|
|
||||||
this.gologin();
|
|
||||||
} else {
|
|
||||||
if (this.region == 3) {
|
|
||||||
this.family()
|
|
||||||
} else {
|
|
||||||
if (this.region == 1 || this.region == 2) {
|
|
||||||
if (this.checkSign == "0") {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: `/pagesC/Onlinesigning/Onlinesigning?checkSign=${this.checkSign}`,
|
|
||||||
})
|
|
||||||
// this.$refs.uToast.show({
|
|
||||||
// title: '未签约,请先签约',
|
|
||||||
// type: 'error',
|
|
||||||
// duration:'1500',
|
|
||||||
// url: "/pagesC/Onlinesigning/Onlinesigning"
|
|
||||||
// })
|
|
||||||
} else if (this.checkSign == "01") {
|
|
||||||
this.$refs.uToast.show({
|
|
||||||
title: this.infotitle,
|
|
||||||
type: 'error',
|
|
||||||
duration: '1500',
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pagesB/Behaviorpoints/Behaviorpoints'
|
url: '/pagesB/Behaviorpoints/Behaviorpoints'
|
||||||
})
|
})
|
||||||
}
|
// if (!this.userinfo) {
|
||||||
} else {
|
// this.gologin();
|
||||||
this.family()
|
// } else {
|
||||||
}
|
// if (this.region == 3) {
|
||||||
}
|
// this.family()
|
||||||
}
|
// } else {
|
||||||
|
// if (this.region == 1 || this.region == 2) {
|
||||||
|
// if (this.checkSign == "0") {
|
||||||
|
// uni.navigateTo({
|
||||||
|
// url: `/pagesC/Onlinesigning/Onlinesigning?checkSign=${this.checkSign}`,
|
||||||
|
// })
|
||||||
|
// // this.$refs.uToast.show({
|
||||||
|
// // title: '未签约,请先签约',
|
||||||
|
// // type: 'error',
|
||||||
|
// // duration:'1500',
|
||||||
|
// // url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
|
// // })
|
||||||
|
// } else if (this.checkSign == "01") {
|
||||||
|
// this.$refs.uToast.show({
|
||||||
|
// title: this.infotitle,
|
||||||
|
// type: 'error',
|
||||||
|
// duration: '1500',
|
||||||
|
// })
|
||||||
|
// } else {
|
||||||
|
// uni.navigateTo({
|
||||||
|
// url: '/pagesB/Behaviorpoints/Behaviorpoints'
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// } else {
|
||||||
|
// this.family()
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
// 健康档案
|
// 健康档案
|
||||||
goHealthrecords() {
|
goHealthrecords() {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
.app {
|
.app {
|
||||||
background-color: #F7F5F5;
|
background-color: #F7F5F5;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
padding-top: 20rpx;
|
// padding-top: 20rpx;
|
||||||
|
|
||||||
.flex {
|
.flex {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -15,26 +15,16 @@
|
|||||||
.background {
|
.background {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
width: 95%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 80rpx;
|
|
||||||
padding-bottom: 50rpx;
|
|
||||||
|
|
||||||
.title {
|
|
||||||
position: absolute;
|
|
||||||
left: 40rpx;
|
|
||||||
top: 10rpx;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #26A888;
|
|
||||||
padding-left: 20rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 450rpx;
|
padding-left: 7rpx;
|
||||||
|
height: 480rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
@ -70,6 +60,7 @@
|
|||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
color:#AD7600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,31 +2,54 @@
|
|||||||
<view class="app">
|
<view class="app">
|
||||||
<view class="background">
|
<view class="background">
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="title" v-if="region==2">
|
<image mode="" :src="require('../images/putongka.png')" v-if='region==2&&score>=0&&score<800' />
|
||||||
{{title}}
|
<image mode="" :src="require('../images/yinka.png')" v-if='region==2&&score>=800&&score<1600' />
|
||||||
</view>
|
<image mode="" :src="require('../images/jinka.png')" v-if='region==2&&score>=1600&&score<2400' />
|
||||||
<image mode="" :src="require('../images/jifen.png')" v-if='region==2'></image>
|
<image mode="" :src="require('../images/bojinka.png')" v-if='region==2&&score>=2400&&score<3000' />
|
||||||
|
<image mode="" :src="require('../images/zuanshika.png')" v-if='region==2&&score>=3000' />
|
||||||
<image src="@/static/pagesB/Behave.png" mode="" v-if='region!=2' :style="region!=2?'height:350rpx':''">
|
<image src="@/static/pagesB/Behave.png" mode="" v-if='region!=2' :style="region!=2?'height:350rpx':''">
|
||||||
</image>
|
</image>
|
||||||
<view class="name" v-if='region!=2'>我的积分
|
<view class="name" v-if='region!=2'>我的积分
|
||||||
</view>
|
</view>
|
||||||
<view class="number" :style="region!=2?'top:35%':''">{{score?score:0}}
|
<view class="number" :style="region!=2?'top:35%;':''">
|
||||||
|
<span
|
||||||
|
:style="score>=0&&score<800?'color:#fff':score>=800&&score<1600?'color:#D2BC97':score>=1600&&score<2400?'color:#AD7600':score>=2400&&score<3000?'color:#FAEEDB':score>=3000?'color:#4864ED':''">
|
||||||
|
{{score?score:0}}
|
||||||
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex" :style="region==2?'bottom:5%':''">
|
<view class="flex" v-if="region!=2">
|
||||||
<view class="item" @tap='gointegral'>
|
<view class="item" @tap='gointegral'>
|
||||||
积分商城
|
积分商城
|
||||||
</view>
|
</view>
|
||||||
<view class="item" @tap="goexchange">
|
<view class="item" @tap="goexchange">
|
||||||
兑换记录
|
兑换记录
|
||||||
</view>
|
</view>
|
||||||
|
<view class="item" v-if="region==2" @tap="gowxSport">
|
||||||
|
微信运动
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="content" style="height: 200rpx;" v-if="region==2">
|
||||||
|
<view class="flex" style="top:10%">
|
||||||
|
<view class="item" @tap='gointegral'>
|
||||||
|
积分商城
|
||||||
|
</view>
|
||||||
|
<view class="item" @tap="goexchange">
|
||||||
|
兑换记录
|
||||||
</view>
|
</view>
|
||||||
<view class="flex" v-if="region==2" :style="region==2?'bottom:-10%':''">
|
|
||||||
<view class="item" @tap="gowxSport">
|
<view class="item" @tap="gowxSport">
|
||||||
微信运动
|
微信运动
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="flex" style="top:50%">
|
||||||
<view class="item" @tap='gobehavior'>
|
<view class="item" @tap='gobehavior'>
|
||||||
健康行为
|
健康行为
|
||||||
</view>
|
</view>
|
||||||
|
<view class="item" @tap=''>
|
||||||
|
参考兑换
|
||||||
|
</view>
|
||||||
|
<view style="width:25%">
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottomitem">
|
<view class="bottomitem">
|
||||||
@ -77,7 +100,6 @@
|
|||||||
list: [],
|
list: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
score: 0,
|
score: 0,
|
||||||
title: '',
|
|
||||||
orgNo: '',
|
orgNo: '',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -91,7 +113,6 @@
|
|||||||
if (uni.getStorageSync('region') == 2) {
|
if (uni.getStorageSync('region') == 2) {
|
||||||
detail(this.query.identity).then(res => {
|
detail(this.query.identity).then(res => {
|
||||||
let name = res.data.countyName.split('区')[0].split('县')
|
let name = res.data.countyName.split('区')[0].split('县')
|
||||||
this.title = '东营健康银行' + name + '分行'
|
|
||||||
this.orgNo = res.data.orgNo
|
this.orgNo = res.data.orgNo
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: '东营健康银行' + name + '分行'
|
title: '东营健康银行' + name + '分行'
|
||||||
|
|||||||
BIN
pagesB/images/bojinka.png
Normal file
BIN
pagesB/images/bojinka.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
BIN
pagesB/images/jinka.png
Normal file
BIN
pagesB/images/jinka.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
BIN
pagesB/images/putongka.png
Normal file
BIN
pagesB/images/putongka.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
BIN
pagesB/images/yinka.png
Normal file
BIN
pagesB/images/yinka.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
BIN
pagesB/images/zuanshika.png
Normal file
BIN
pagesB/images/zuanshika.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Loading…
Reference in New Issue
Block a user