#
whycq
2023-02-09 52553a0d85b2f5dc1181c5b0421ba9b97b9edb5b
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
86
87
<template>
    <view class="head">
        <view class="logo">
            <image src="../../static/img/logo.png" mode="aspectFit"></image>
        </view>
    </view>
    <view class="content">
        <view class="input">
            <view class="">
 
            </view>
            <view class="">
                <input type="text">
            </view>
 
        </view>
 
        <view class="input">
            <view class="">
 
            </view>
            <view class="">
                <input type="text">
            </view>
 
        </view>
 
    </view>
    <view class="submit">
        <view class="" style="width: 400rpx;">
            <button type="primary" size="default">登录</button>
        </view>
 
    </view>
</template>
 
<script setup lang="ts">
    // 这里编写ts代码
</script>
 
<style lang="less">
    .display-grid {
        display: grid;
    }
    .head {
        height: 400rpx;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        // background-color: aqua;
        justify-items: center;
        align-items: center;
        .logo {
            image {
                height: 300rpx;
            }
        }
    }
    .content {
        height: 400rpx;
        width: 100%;
        margin-top: 10rpx;
        // background-color: bisque;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
 
        .input {
            width: 50%;
            height: 30%;
            background-color: #fff;
            display: grid;
            grid-template-columns: 1fr;
            justify-items: center;
            align-items: center;
        }
    }
    .submit {
        position: fixed;
        width: 100%;
        bottom: 200rpx;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }
</style>