gy-app-shop/pages/auth/registerLoading.vue

64 lines
1.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<style lang='scss' scoped>
.registerLoading{
width: 100%;
height: 100%;
padding: 40rpx $paddingLR;
&-content{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 50rpx;
}
&-text{
color: #666;
}
.bottom-btn{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 40rpx ;
}
}
</style>
<template>
<view class="registerLoading">
<view class="registerLoading-content">
<u-icon name="checkbox-mark" size="140" color="#60C13D"></u-icon>
<view class="registerLoading-text pt20">
<text>恭喜您注册成功您的账号(</text>
<text class="">{{phonenumber}}</text>
<text>)</text>
<text v-if="userType!='userType'">系统正在审核中请耐心等待</text>
</view>
</view>
<view class="bottom-btn">
<u-button type="primary" @click="goLoginFn">去登入</u-button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
phonenumber:"",
userType:"user"
}
},
onLoad(e) {
this.userType = e.userType;
this.phonenumber = e.phonenumber;
},
methods: {
goLoginFn(){
uni.reLaunch({
url:"./login"
})
}
}
}
</script>