doum
2025-09-29 1d064aa5ec2556155bbf116cef1d6d0ac5007acc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<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>