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) {
this.gologin();
} else {
if (!this.checkSign) {
this.$refs.uToast.show({
title: '未签约,请先签约',
type: 'error',
duration: '1000',
url: "/pagesC/Onlinesigning/Onlinesigning"
})
} else {
uni.navigateTo({ uni.navigateTo({
url: "" 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() { 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}}
@ -175,15 +176,11 @@
// 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: {

View File

@ -28,9 +28,6 @@
兑换 兑换
</view> </view>
</view> </view>
</view> </view>
</template> </template>