password.vue
2.7 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<template>
<view class="login">
<view class="icon">
<view class="icontitle">
忘记密码
</view>
<view class="bar flexwrap">
<view class="name">
用户名:
</view>
<view class="lastname">
<input type="text" value="" placeholder="请输入用户名" />
</view>
</view>
<view class="bar flexwrap">
<view class="name">
验证码:
</view>
<view class="lastname">
<input type="text" value="" placeholder="请输入验证码" />
<view class="code">
获取验证码
</view>
</view>
</view>
<view class="bar flexwrap">
<view class="name">
密码:
</view>
<view class="lastname">
<input type="text" value="" placeholder="请输入密码" />
</view>
</view>
<view class="bar flexwrap">
<view class="name">
确认密码:
</view>
<view class="lastname">
<input type="text" value="" placeholder="请确认密码" />
</view>
</view>
<view class="loginbtn">
确认
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
.login {
padding: 0 48rpx;
box-sizing: border-box;
.icon {
.icontitle {
margin-top: 152rpx;
margin-left: 16rpx;
margin-bottom: 80rpx;
color: rgba(50, 50, 51, 1);
font-size: 52rpx;
font-weight: 700;
font-family: "PingFang SC";
}
.bar {
border-bottom: 1px solid #f0f0f0;
padding: 40rpx 0;
color: rgba(0, 0, 0, 1);
font-size: 32rpx;
font-weight: 500;
font-family: "PingFang SC";
.name {
width: 180rpx;
}
.lastname {
flex: 1;
position: relative;
input {
width: 260rpx;
}
.code {
position: absolute;
right: 0;
top: 50%;
transform: translate(-10%, -50%);
color: rgba(0, 0, 0, 0.26);
font-size: 32rpx;
font-weight: 400;
font-family: "PingFang SC";
}
}
}
.loginbtn {
margin-top: 100rpx;
width: 654rpx;
height: 88rpx;
border-radius: 28rpx;
opacity: 1;
color: rgba(0, 0, 0, 0.9);
font-size: 32rpx;
font-weight: 600;
font-family: "PingFang SC";
text-align: center;
line-height: 88rpx;
background: rgba(254, 208, 0, 1);
}
.passway {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16rpx;
text {
&:first-child {
color: rgba(0, 0, 0, 0.26);
font-size: 24rpx;
font-weight: 400;
font-family: "PingFang SC";
}
&:last-child {
color: rgba(254, 208, 0, 1);
font-size: 26rpx;
font-weight: 400;
font-family: "PingFang SC";
}
}
}
}
}
</style>