doum
10 小时以前 fa6202debd1e940f9f779c86d9d3084c7c7b5e83
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
84
85
<template>
    <u-popup :show="show" round="15" :safeAreaInsetBottom="false" :closeable="true" mode="bottom" @close="show = false">
        <view class="login">
            <image src="/static/images/logo@2x.png" mode="widthFix"></image>
            <view class="login-info">
                <image src="/static/icon/ic_agree@2x.png" mode="widthFix"></image>
                <view class="login-info-text">
                    我已阅读并同意<text>《鼎元科技用户服务协议》</text>及<text>《鼎元科技用户隐私政策》</text>
                </view>
            </view>
            <button class="login-btn" open-type="getPhoneNumber" @getphonenumber="getphonenumber">手机号快捷登录</button>
        </view>
    </u-popup>
</template>
 
<script>
    export default {
        name: "login",
        data() {
            return {
                show: false
            };
        },
        methods: {
            open() {
                this.show = true
            },
            close() {
                this.show = false
            },
            getphonenumber(e) {
                console.log(e)
            }
        }
    }
</script>
 
<style lang="scss" scoped>
    .login {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 120rpx 48rpx 80rpx 48rpx;
        box-sizing: border-box;
        image {
            width: 400rpx;
            height: 96rpx;
        }
        .login-info {
            width: 100%;
            display: flex;
            align-items: flex-start;
            margin-top: 120rpx;
            image {
                width: 36rpx;
                height: 36rpx;
                flex-shrink: 0;
                margin-right: 14rpx;
            }
            .login-info-text {
                flex: 1;
                font-weight: 400;
                font-size: 24rpx;
                color: #555555;
                text {
                    color: #2E68C4;
                }
            }
        }
        .login-btn {
            width: 100%;
            height: 88rpx;
            line-height: 88rpx;
            text-align: center;
            background: #004096;
            border-radius: 44rpx;
            font-weight: 600;
            font-size: 32rpx;
            color: #FFFFFF;
            margin-top: 40rpx;
        }
    }
</style>