<template>
|
<view class="box">
|
<!-- 加载中 -->
|
<view class="loading" v-if="loading === 'loading'">
|
<image src="/static/loading.gif" mode="widthFix"></image>
|
<text>身份校验中,请稍后~</text>
|
</view>
|
<!-- 失败 -->
|
<view class="error" v-if="loading === 'error'">
|
<image src="/static/ic_fail.png" mode="widthFix"></image>
|
<text class="title">授权失败</text>
|
<text class="desc">您的账号暂未绑定系统,请联系管理员</text>
|
<button>重新验证</button>
|
</view>
|
</view>
|
</template>
|
|
<script>
|
export default {
|
data() {
|
return {
|
loading: 'error'
|
};
|
}
|
}
|
</script>
|
|
<style lang="scss" scoped>
|
.box {
|
width: 100%;
|
.error {
|
width: 100%;
|
display: flex;
|
align-items: center;
|
flex-direction: column;
|
image {
|
width: 180rpx;
|
height: 180rpx;
|
margin-top: 160rpx;
|
}
|
.title {
|
font-weight: 500;
|
font-size: 36rpx;
|
color: #333333;
|
margin-top: 32rpx;
|
}
|
.desc {
|
font-weight: 400;
|
font-size: 26rpx;
|
color: #999999;
|
margin-top: 20rpx;
|
}
|
button {
|
width: 224rpx;
|
height: 76rpx;
|
font-weight: 400;
|
font-size: 28rpx;
|
color: #279BAA;
|
border-radius: 38rpx;
|
border: 1rpx solid #279BAA;
|
margin-top: 68rpx;
|
background-color: #ffffff;
|
}
|
}
|
.loading {
|
width: 100%;
|
display: flex;
|
align-items: center;
|
flex-direction: column;
|
image {
|
width: 200rpx;
|
height: 200rpx;
|
margin-top: 202rpx;
|
}
|
text {
|
font-weight: 500;
|
font-size: 36rpx;
|
color: #333333;
|
margin-top: 40rpx;
|
}
|
}
|
}
|
</style>
|