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() { 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() {

View File

@ -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>

View File

@ -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>