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
  | /* pages/wxbind/wxbind.wxss */ 
 |  .base-wrapper { 
 |    background-color: #f5f5f5; 
 |    width: 100%; 
 |    height: 100vh; 
 |    overflow: hidden; 
 |    /* 防止底部区域滚动 */ 
 |    display: flex; 
 |    flex-direction: column; 
 |  } 
 |    
 |  .container { 
 |    margin-top: 80rpx; 
 |    margin-right: 30rpx; 
 |    margin-left: 30rpx; 
 |    margin-bottom: 10rpx; 
 |    height: 30vh; 
 |    background-color: #fff; 
 |    border-radius: 5px; 
 |    display: flex; 
 |    padding-top: 20rpx; 
 |    padding-bottom: 20rpx; 
 |    justify-content: space-around; 
 |    align-items: flex-start; 
 |    padding-left: 30rpx; 
 |    z-index: 1; 
 |  } 
 |    
 |  .button { 
 |    margin-top: 170rpx; 
 |    height: 90rpx; 
 |    display: flex; 
 |    margin-left: 40rpx; 
 |    margin-right: 40rpx; 
 |    justify-content: center; 
 |    /* 水平居中 */ 
 |    align-items: center; 
 |    /* 垂直居中 */ 
 |    
 |    color: #fff; 
 |  } 
 |    
 |  .button-active { 
 |    background-color: #2D8BF7; 
 |    
 |    
 |  } 
 |    
 |  .button-disabled { 
 |    background-color: #ccc; 
 |  } 
 |    
 |  /* pages/login/login.wxss */ 
 |    
 |    
 |    
 |  .login-container { 
 |    display: flex; 
 |    flex-direction: column; 
 |    justify-content: flex-end; 
 |    height: 80vh; 
 |    width: 100%; 
 |  } 
 |    
 |    
 |  image { 
 |    position: fixed; 
 |    left: 0; 
 |    bottom: 0; 
 |    display: block; 
 |    width: 100%; 
 |    height: 100%; 
 |    z-index: -999; 
 |  } 
 |    
 |  .input { 
 |    flex: 1; 
 |    height: 30rpx; 
 |    padding: 10rpx; 
 |    border: 1px solid #ccc; 
 |    border-radius: 5px; 
 |    background-color: #fff; 
 |    font-size: 35rpx; 
 |    padding-left: 15rpx; 
 |    width: 100%; 
 |  } 
 |    
 |    
 |  .input-wrapper { 
 |    display: flex; 
 |    /* 使用 Flex 布局使 text 和 input 在同一行 */ 
 |    align-items: center; 
 |    justify-content: center; 
 |    width: 95%; 
 |    height: 20%; 
 |  } 
 |    
 |  .input-label { 
 |    flex: 1; 
 |    /* 让值占据剩余空间 */ 
 |    align-items: left; 
 |    width: 150rpx; 
 |    margin-right: 10rpx; 
 |    font-size: 31rpx; 
 |    color: #fff; 
 |    font-weight: bold; 
 |    text-align: justify; 
 |    text-align-last: justify; 
 |  } 
 |    
 |  .label-container { 
 |    width: 140rpx; 
 |    display: flex; 
 |    align-items: center; 
 |  } 
 |    
 |  .login-button { 
 |    margin-top: 50rpx; 
 |    margin-left: 40rpx; 
 |    margin-right: 40rpx; 
 |    height: 90rpx; 
 |    justify-content: center; 
 |    /* 水平居中 */ 
 |    align-items: center; 
 |    /* 垂直居中 */ 
 |    display: flex; 
 |  } 
 |    
 |  .code-button { 
 |    width: 38%; 
 |    font-size: 28rpx; 
 |    margin-left: 15rpx; 
 |  } 
 |  
  |