修改
This commit is contained in:
parent
4fde91ade5
commit
116b83557b
@ -132,22 +132,25 @@
|
|||||||
},
|
},
|
||||||
// 积分兑换
|
// 积分兑换
|
||||||
count() {
|
count() {
|
||||||
if (!this.userinfo) {
|
uni.navigateTo({
|
||||||
this.gologin();
|
url: "/pagesB/PointsMall/PointsMall"
|
||||||
} else {
|
})
|
||||||
if (!this.checkSign) {
|
// if (!this.userinfo) {
|
||||||
this.$refs.uToast.show({
|
// this.gologin();
|
||||||
title: '未签约,请先签约',
|
// } else {
|
||||||
type: 'error',
|
// if (!this.checkSign) {
|
||||||
duration: '1000',
|
// this.$refs.uToast.show({
|
||||||
url: "/pagesC/Onlinesigning/Onlinesigning"
|
// title: '未签约,请先签约',
|
||||||
})
|
// type: 'error',
|
||||||
} else {
|
// duration: '1000',
|
||||||
uni.navigateTo({
|
// url: "/pagesC/Onlinesigning/Onlinesigning"
|
||||||
url: ""
|
// })
|
||||||
})
|
// } else {
|
||||||
}
|
// uni.navigateTo({
|
||||||
}
|
// url: "/pagesB/PointsMall/PointsMall"
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
// 健康档案
|
// 健康档案
|
||||||
goHealthrecords() {
|
goHealthrecords() {
|
||||||
|
|||||||
@ -5,7 +5,8 @@
|
|||||||
我的
|
我的
|
||||||
</view> -->
|
</view> -->
|
||||||
<image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image>
|
<image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image>
|
||||||
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo'></image>
|
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo'>
|
||||||
|
</image>
|
||||||
<view class="namesigning">
|
<view class="namesigning">
|
||||||
<span class="name">
|
<span class="name">
|
||||||
{{appPersonallist.patientName}}
|
{{appPersonallist.patientName}}
|
||||||
@ -168,22 +169,18 @@
|
|||||||
appPersonallist: null, //获取个人信息
|
appPersonallist: null, //获取个人信息
|
||||||
timer: null,
|
timer: null,
|
||||||
list: {},
|
list: {},
|
||||||
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
// this.bjimg = baseurl + '/profile/appletPicture/inviteFriendsOne.png'
|
// this.bjimg = baseurl + '/profile/appletPicture/inviteFriendsOne.png'
|
||||||
let that = this
|
let that = this
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
this.myInfo()
|
|
||||||
const value = uni.getStorageSync('patientId');
|
const value = uni.getStorageSync('patientId');
|
||||||
if (value) {} else {
|
if (value) {
|
||||||
|
that.myInfo()
|
||||||
|
} else {
|
||||||
that.appPersonallist = null
|
that.appPersonallist = null
|
||||||
that.$refs.uToast.show({
|
|
||||||
title: '您未登录,请先登录',
|
|
||||||
type: 'error',
|
|
||||||
duration: '1000',
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -317,12 +314,12 @@
|
|||||||
// const value = uni.getStorageSync('openid');
|
// const value = uni.getStorageSync('openid');
|
||||||
// const value2 = uni.getStorageSync('patientId');
|
// const value2 = uni.getStorageSync('patientId');
|
||||||
// if (value && value2) {
|
// if (value && value2) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pagesB/CommodityOrder/CommodityOrder'
|
url: '/pagesB/CommodityOrder/CommodityOrder'
|
||||||
})
|
})
|
||||||
// uni.navigateTo({
|
// uni.navigateTo({
|
||||||
// url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}`
|
// url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}`
|
||||||
// })
|
// })
|
||||||
// } else {
|
// } else {
|
||||||
// this.gologin();
|
// this.gologin();
|
||||||
// }
|
// }
|
||||||
@ -400,4 +397,4 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import './myinformation.scss'
|
@import './myinformation.scss'
|
||||||
</style>
|
</style>
|
||||||
@ -14,23 +14,20 @@
|
|||||||
兑换
|
兑换
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="imageitem">
|
<view class="imageitem">
|
||||||
<image src="/static/pagesB/Behave.png" mode=""></image>
|
<image src="/static/pagesB/Behave.png" mode=""></image>
|
||||||
|
</view>
|
||||||
|
<view class="servename">
|
||||||
|
服务名称
|
||||||
|
</view>
|
||||||
|
<view class="PointsRecord">
|
||||||
|
200000
|
||||||
|
</view>
|
||||||
|
<view class="button" @tap="goexchange">
|
||||||
|
兑换
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="servename">
|
|
||||||
服务名称
|
|
||||||
</view>
|
|
||||||
<view class="PointsRecord">
|
|
||||||
200000
|
|
||||||
</view>
|
|
||||||
<view class="button" @tap="goexchange">
|
|
||||||
兑换
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user