管灌系统农户端微信小程序(嘉峪关应用)
zuoxiao
2024-05-30 7123295bac789011a9dad11938997721149a35ce
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
/* pages/home/home.wxss */
.base-wrapper {
  background-color: #f5f5f5;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  /* 防止底部区域滚动 */
  display: flex;
  flex-direction: column;
}
 
.head-wrapper {
  background-color: #1890FF;
  height: 25vh;
  width: 100%;
  padding-left: 40rpx;
  display: grid;
  flex-direction: column;
  align-items: center;
  border-bottom-left-radius: 5rpx;
  border-bottom-right-radius: 5rpx;
  z-index: 1;
  border-top: 1px solid #0484fc;
 
}
 
.head-top {
  display: flex;
  align-items: center;
  /* 在纵向方向上居中对齐 */
}
 
 
.head-text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  margin-left: 15rpx;
}
 
.head-button-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 15rpx;
}
 
 
.head-bottom {
  margin-top: 20rpx;
  color: #fff;
  font-size: 35rpx;
}
 
.unbind {
  font-size: 30rpx;
  /* 按钮文字的字体大小 */
  color: #1890FF;
  /* 按钮文字颜色 */
  background-color: #fff;
  /* 按钮背景颜色 */
  border: none;
  /* 去掉按钮边框 */
  border-radius: 20px;
  /* 按钮圆角 */
  padding-left: 20rpx;
  padding-right: 20rpx;
  padding-top: 5rpx;
  padding-bottom: 5rpx;
  margin-bottom: 10rpx;
}
 
.head-text-wrapper text {
  color: #fff;
}
 
.balance-label {
  margin-bottom: 40rpx;
  color: #fff;
  font-size: 35rpx;
}
 
.center-wrapper {
  margin-top: -40rpx;
  margin-right: 20rpx;
  margin-left: 20rpx;
  margin-bottom: 10rpx;
  height: 18vh;
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  padding-top: 20rpx;
  padding-bottom: 20rpx;
  justify-content: space-around;
  z-index: 1;
  /* 使 center-wrapper 在头部之上 */
}
 
.center-view {
  flex: 1;
  /* 每个元素平分宽度 */
  display: flex;
  flex-direction: column;
  /* 在纵向上排列子元素 */
  align-items: center;
  /* 在纵向上居中显示子元素 */
  justify-content: center;
  /* 在横向和纵向上都居中显示子元素 */
}
 
.center-view image,
.center-view t-avatar {
  width: 90rpx;
  /* 根据需要调整图标大小 */
  height: 90rpx;
  /* 根据需要调整图标大小 */
  margin-bottom: 10rpx;
  /* 图标和文本之间的间距 */
}
 
.center-view text {
  margin-top: 15rpx;
  font-size: 30rpx;
  color: #1890FF;
}
 
.bottom-wrapper {
  margin-right: 20rpx;
  margin-left: 20rpx;
  display: flex;
  flex-direction: column;
  margin-top: 48vh;
}
 
.scroll-view {
  flex: 1;
  overflow-y: auto;
  /* 允许垂直滚动 */
  z-index: 0;
  /* 确保 scroll-view 在头部和 center-wrapper 之下 */
}
 
 
 
.list-item {
  background-color: #fff;
  margin-top: 2rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 30rpx;
  padding-right: 30rpx;
  padding-top: 20rpx;
  padding-bottom: 20rpx;
  margin-left: 20rpx;
  margin-right: 20rpx;
}
 
.list-item text {
  font-size: 30rpx;
}
 
 
 
.list-item-piping {
  display: flex;
  flex-direction: column;
  align-items: center;
}
 
.bottom-title {
  border-radius: 5px 5px 0 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  /* 垂直方向居中 */
  justify-content: space-between;
  /* 子元素在主轴上的对齐方式 */
  padding: 10px;
  /* 容器的内边距 */
  margin-left: 20rpx;
  margin-right: 20rpx;
  margin-top: 20rpx;
}
 
.bottom-title-text {
  position: absolute;
  /* 绝对定位 */
  left: 50%;
  /* 移动到容器的中间 */
  transform: translateX(-50%);
  /* 通过平移自身宽度的一半来实现真正的居中 */
  font-size: 16px;
  /* 字体大小 */
  color: #333;
  /* 字体颜色 */
}
 
.refresh-button {
  margin-left: auto;
  /* 将按钮推到容器的最右侧 */
  font-size: 30rpx;
  /* 按钮文字的字体大小 */
  color: #fff;
  /* 按钮文字颜色 */
  background-color: #1890FF;
  /* 按钮背景颜色 */
  border: none;
  /* 去掉按钮边框 */
  border-radius: 5px;
  /* 按钮圆角 */
  padding-left: 20rpx;
  padding-right: 20rpx;
  padding-top: 10rpx;
  padding-bottom: 10rpx;
}
 
.refresh-view {
  text-align: center;
  padding: 30rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}
 
.dot {
  width: 20rpx;
  height: 20rpx;
  background-color: #333;
  border-radius: 50%;
  margin: 0 5px;
  animation: blink 1.4s infinite both;
}
 
.dot:nth-child(2) {
  animation-delay: 0.2s;
}
 
.dot:nth-child(3) {
  animation-delay: 0.4s;
}
 
@keyframes blink {
  0%, 80%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
.switch{
  --td-switch-checked-color: #1890FF;
}
 
 
.item-left {
  display: flex;
  align-items: center;
}
.item-left text{
  font-size: 40rpx;
}
.item-img {
  width: 40rpx;
  /* 根据需要调整图标大小 */
  height: 40rpx;
  /* 根据需要调整图标大小 */
  margin-left: 20rpx;
}
.t-dialog{
  --td-dialog-content-font-size:40rpx;
  --td-dialog-content-line-height:50rpx
}