This commit is contained in:
2023-10-16 09:25:38 +08:00
parent 4fde91ade5
commit 116b83557b
3 changed files with 45 additions and 48 deletions

View File

@ -132,22 +132,25 @@
},
//
count() {
if (!this.userinfo) {
this.gologin();
} else {
if (!this.checkSign) {
this.$refs.uToast.show({
title: '未签约,请先签约',
type: 'error',
duration: '1000',
url: "/pagesC/Onlinesigning/Onlinesigning"
})
} else {
uni.navigateTo({
url: ""
})
}
}
uni.navigateTo({
url: "/pagesB/PointsMall/PointsMall"
})
// if (!this.userinfo) {
// this.gologin();
// } else {
// if (!this.checkSign) {
// this.$refs.uToast.show({
// title: '',
// type: 'error',
// duration: '1000',
// url: "/pagesC/Onlinesigning/Onlinesigning"
// })
// } else {
// uni.navigateTo({
// url: "/pagesB/PointsMall/PointsMall"
// })
// }
// }
},
//
goHealthrecords() {

View File

@ -5,7 +5,8 @@
我的
</view> -->
<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">
<span class="name">
{{appPersonallist.patientName}}
@ -168,22 +169,18 @@
appPersonallist: null, //
timer: null,
list: {},
};
},
onShow() {
// this.bjimg = baseurl + '/profile/appletPicture/inviteFriendsOne.png'
let that = this
this.baseurl = baseurl
this.myInfo()
const value = uni.getStorageSync('patientId');
if (value) {} else {
if (value) {
that.myInfo()
} else {
that.appPersonallist = null
that.$refs.uToast.show({
title: '您未登录,请先登录',
type: 'error',
duration: '1000',
})
}
},
methods: {
@ -317,12 +314,12 @@
// const value = uni.getStorageSync('openid');
// const value2 = uni.getStorageSync('patientId');
// if (value && value2) {
uni.navigateTo({
url: '/pagesB/CommodityOrder/CommodityOrder'
})
// uni.navigateTo({
// url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}`
// })
uni.navigateTo({
url: '/pagesB/CommodityOrder/CommodityOrder'
})
// uni.navigateTo({
// url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}`
// })
// } else {
// this.gologin();
// }
@ -400,4 +397,4 @@
<style lang="scss">
@import './myinformation.scss'
</style>
</style>

View File

@ -14,23 +14,20 @@
兑换
</view>
</view>
<view class="content">
<view class="imageitem">
<image src="/static/pagesB/Behave.png" mode=""></image>
<view class="content">
<view class="imageitem">
<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 class="servename">
服务名称
</view>
<view class="PointsRecord">
200000
</view>
<view class="button" @tap="goexchange">
兑换
</view>
</view>
</view>
</template>