This commit is contained in:
parent
492ee3852c
commit
a194cf5893
|
|
@ -28,7 +28,7 @@
|
|||
},
|
||||
cont:{
|
||||
type: String,
|
||||
default: ''
|
||||
default: '是否退出登录?'
|
||||
}
|
||||
|
||||
});
|
||||
|
|
@ -39,8 +39,15 @@
|
|||
emit('close');
|
||||
}
|
||||
const go = () => {
|
||||
if(props.cont=='是否退出登录?'){
|
||||
uni.clearStorage()
|
||||
uni.reLaunch({
|
||||
url:'/pages/login/index'
|
||||
})
|
||||
}else{
|
||||
emit('go');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -269,7 +269,7 @@
|
|||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
line-height: 30rpx;
|
||||
|
||||
justify-content: center;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue