管灌系统农户端微信小程序(嘉峪关应用)
zuoxiao
2024-05-30 910c37c43eceb27888b90631c868caa08f7eafcc
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
/* pages/rechargeCard/rechargeCard.wxss */
.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  padding-left: 20rpx;
  padding-right: 20rpx;
  padding-top: 5rpx;
  padding-bottom: 5rpx;
  background-color: #fff;
}
 
.item {
  background-color: #1890FF;
  margin-top: 20rpx;
  margin-left: 20rpx;
  margin-right: 20rpx;
  padding: 30rpx;
  border-radius: 30rpx;
}
 
.item-card {
  display: flex;
  margin-left: 10rpx;
}
 
.item-card text {
  font-size: 35rpx;
  color: #fff;
}
 
 
.tab {
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  width: 50%;
  /* Tabs 平分整个横向屏幕 */
  text-align: center;
  /* 文字居中 */
}
 
.tabs {
  display: flex;
  justify-content: space-around;
  position: relative;
  width: 100%;
  border-bottom: 1px solid #eee;
  /* Tabs 占满整个横向屏幕 */
}
 
.indicator {
  width: 100%;
  height: 3px;
  background-color: #1890FF;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(0);
  /* 初始化位置 */
}
 
.item-bottom {
  display: flex;
  margin-top: 20rpx;
  align-items: center;
  
  /* 垂直居中 */
}
 
.item-balance-img {
  width: 60rpx;
  height: 50rpx;
}
 
.item-balance {
  display: flex;
  align-items: flex-end;
  /* 底部对齐 */
}
 
.item-balance-text {
  color: #fff;
  font-size: 50rpx;
  margin-left: 10rpx;
}
 
.item-balance-text-yuan {
  color: white;
  margin-left: 10rpx;
  margin-bottom: 2rpx;
}
 
.item-gray {
  background-color: #D3D3D3;
  margin-top: 20rpx;
  margin-left: 20rpx;
  margin-right: 20rpx;
  padding: 30rpx;
  border-radius: 30rpx;
}
 
.item-card-state {
  margin-left: auto;
  /* 将按钮固定在右边 */
  display: flex;
}
 
.list-container {
  flex: 1;
  overflow-y: auto;
  z-index: 0;
}
 
.button-view {
  display: flex;
  width: 50%;
  margin-left: auto; /* 将按钮组推到右边 */
  justify-content: space-around;
  align-items: flex-end;
  /* 让按钮在容器中水平平分空间 */
}
 
.ruinCard {
  flex: 1;
  margin-left: 20rpx;
  text-align: center;
  /* 可选: 使文本居中 */
  background-color: #948f8f;
  color: white;
  margin-left: 40rpx;
  margin-top: 10rpx;
  padding-bottom: 10rpx;
  padding-top: 10rpx;
  border-radius: 30rpx;
  font-size: 30rpx;
  border: none;
}
 
.recharge {
  flex: 1;
  text-align: center;
  /* 可选: 使文本居中 */
  background-color: #32CD32;
  color: white;
  margin-left: 30rpx;
  padding-bottom: 10rpx;
  padding-top: 10rpx;
  border-radius: 30rpx;
  font-size: 30rpx;
  border: none;
 
}