|
|
@ -61,6 +61,17 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="switchIdentity" |
|
|
|
@click="switchIdentity"> |
|
|
|
<image src="/static/image/home/x1.png" |
|
|
|
v-if="role" |
|
|
|
mode="widthFix"></image> |
|
|
|
|
|
|
|
<image src="/static/image/home/x1.png" |
|
|
|
v-else |
|
|
|
mode="widthFix"></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<checkinScore ref="checkinScore"/> |
|
|
|
|
|
|
|
<PrivacyAgreementPoup/> |
|
|
@ -132,6 +143,10 @@ |
|
|
|
search(){ |
|
|
|
|
|
|
|
}, |
|
|
|
// 切换身份 |
|
|
|
switchIdentity(){ |
|
|
|
this.$store.commit('setRole', !this.role) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
@ -221,5 +236,13 @@ |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
.switchIdentity{ |
|
|
|
position: fixed; |
|
|
|
right: 30rpx; |
|
|
|
bottom: 300rpx; |
|
|
|
image{ |
|
|
|
width: 100rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |