This commit is contained in:
parent
492ee3852c
commit
a194cf5893
|
|
@ -28,7 +28,7 @@
|
||||||
},
|
},
|
||||||
cont:{
|
cont:{
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: '是否退出登录?'
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
@ -39,7 +39,14 @@
|
||||||
emit('close');
|
emit('close');
|
||||||
}
|
}
|
||||||
const go = () => {
|
const go = () => {
|
||||||
emit('go');
|
if(props.cont=='是否退出登录?'){
|
||||||
|
uni.clearStorage()
|
||||||
|
uni.reLaunch({
|
||||||
|
url:'/pages/login/index'
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
emit('go');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
<view class="white-photo" @click="getMessage(headImge)">
|
<view class="white-photo" @click="getMessage(headImge)">
|
||||||
<view class="photo-left">
|
<view class="photo-left">
|
||||||
<view class="photo-weight">人像面</view>
|
<view class="photo-weight">人像面</view>
|
||||||
<view class="photo-font">请上传身份证人像面</view>
|
<!-- <view class="photo-font">请上传身份证人像面</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view style="position: relative;">
|
<view style="position: relative;">
|
||||||
<image class="photo"
|
<image class="photo"
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
<view class="white-photo" style="margin-top: 30rpx;" @click="getMessage(backImge)">
|
<view class="white-photo" style="margin-top: 30rpx;" @click="getMessage(backImge)">
|
||||||
<view class="photo-left">
|
<view class="photo-left">
|
||||||
<view class="photo-weight">国徽面</view>
|
<view class="photo-weight">国徽面</view>
|
||||||
<view class="photo-font">请上传身份证国徽面</view>
|
<!-- <view class="photo-font">请上传身份证国徽面</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view style="position: relative;">
|
<view style="position: relative;">
|
||||||
<image class="photo"
|
<image class="photo"
|
||||||
|
|
|
||||||
|
|
@ -269,7 +269,7 @@
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 30rpx;
|
line-height: 30rpx;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="login-container">
|
<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" />
|
<image class="bgc-imge" src="https://www.focusnu.com/media/directive/index/mine/bgc.png" />
|
||||||
<view class="ball">
|
<view class="ball">
|
||||||
<image class="ball-imge" src="https://www.focusnu.com/media/directive/index/gys_xcx.png" />
|
<image class="ball-imge" src="https://www.focusnu.com/media/directive/index/gys_xcx.png" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue