This commit is contained in:
wangweidong 2026-03-09 17:07:30 +08:00
parent 492ee3852c
commit a194cf5893
4 changed files with 13 additions and 6 deletions

View File

@ -28,7 +28,7 @@
},
cont:{
type: String,
default: ''
default: '是否退出登录?'
}
});
@ -39,7 +39,14 @@
emit('close');
}
const go = () => {
emit('go');
if(props.cont=='是否退出登录?'){
uni.clearStorage()
uni.reLaunch({
url:'/pages/login/index'
})
}else{
emit('go');
}
}
</script>

View File

@ -33,7 +33,7 @@
<view class="white-photo" @click="getMessage(headImge)">
<view class="photo-left">
<view class="photo-weight">人像面</view>
<view class="photo-font">请上传身份证人像面</view>
<!-- <view class="photo-font">请上传身份证人像面</view> -->
</view>
<view style="position: relative;">
<image class="photo"
@ -47,7 +47,7 @@
<view class="white-photo" style="margin-top: 30rpx;" @click="getMessage(backImge)">
<view class="photo-left">
<view class="photo-weight">国徽面</view>
<view class="photo-font">请上传身份证国徽面</view>
<!-- <view class="photo-font">请上传身份证国徽面</view> -->
</view>
<view style="position: relative;">
<image class="photo"

View File

@ -269,7 +269,7 @@
flex-wrap: wrap;
position: relative;
line-height: 30rpx;
justify-content: center;
}

View File

@ -1,6 +1,6 @@
<template>
<view class="login-container">
<exit :show="exitshow" @close="exitshow=false" />
<exit :show="exitshow" @close="exitshow=false" cont="是否退出登录?" />
<image class="bgc-imge" src="https://www.focusnu.com/media/directive/index/mine/bgc.png" />
<view class="ball">
<image class="ball-imge" src="https://www.focusnu.com/media/directive/index/gys_xcx.png" />