Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
e744e27638
@ -3,7 +3,7 @@
|
|||||||
<!-- 家医 -->
|
<!-- 家医 -->
|
||||||
<view class="Familydoctor" v-if="status=='1'">
|
<view class="Familydoctor" v-if="status=='1'">
|
||||||
<view class="Familybody">
|
<view class="Familybody">
|
||||||
<view class="myorder titles">
|
<view class="myorder titles" @tap="personlinfo()">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
个人信息
|
个人信息
|
||||||
</view>
|
</view>
|
||||||
@ -11,7 +11,7 @@
|
|||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
<image src="../../static/huijiantou.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="myorder titles">
|
<view class="myorder titles" @tap="gophone">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
修改手机号
|
修改手机号
|
||||||
</view>
|
</view>
|
||||||
@ -19,7 +19,7 @@
|
|||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
<image src="../../static/huijiantou.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="myorder titles">
|
<view class="myorder titles" @tap="gopassword">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
修改密码
|
修改密码
|
||||||
</view>
|
</view>
|
||||||
@ -43,6 +43,14 @@
|
|||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
<image src="../../static/huijiantou.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="myorder titles" @tap="remove()">
|
||||||
|
<view class="title">
|
||||||
|
退出账号
|
||||||
|
</view>
|
||||||
|
<view class="righttitle">
|
||||||
|
<image src="../../static/huijiantou.png" mode=""></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -82,9 +90,18 @@
|
|||||||
<image src="../../static/huijiantou.png" mode=""></image>
|
<image src="../../static/huijiantou.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="myorder titles" @tap="remove()">
|
||||||
|
<view class="title">
|
||||||
|
退出账号
|
||||||
|
</view>
|
||||||
|
<view class="righttitle">
|
||||||
|
<image src="../../static/huijiantou.png" mode=""></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<u-toast ref="uToast" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -141,6 +158,30 @@
|
|||||||
url: '/pages/ServiceSchedule/ServiceSchedule'
|
url: '/pages/ServiceSchedule/ServiceSchedule'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 退出登录
|
||||||
|
remove() {
|
||||||
|
let that = this
|
||||||
|
uni.showModal({
|
||||||
|
title: '提示',
|
||||||
|
content: '确认要退出此账号吗',
|
||||||
|
success: function(res) {
|
||||||
|
if (res.confirm) {
|
||||||
|
uni.clearStorageSync();
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: '退出账号成功',
|
||||||
|
type: 'success',
|
||||||
|
duration: '1000'
|
||||||
|
})
|
||||||
|
setTimeout(e => {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/login/login'
|
||||||
|
})
|
||||||
|
}, 1000)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user