xml"> <LinearLayout 74
            android:background="@drawable/bg_radius_6_white"
75
            android:layout_marginTop="20dp"
76
            android:layout_marginEnd="12dp"
77
            android:layout_marginStart="12dp"
78
            android:orientation="vertical"
79
            android:layout_width="match_parent"
80
            android:layout_height="wrap_content">
81
            <LinearLayout
82
                android:padding="14dp"
83
                android:layout_width="match_parent"
84
                android:layout_height="wrap_content">
85
                <TextView
86
                    android:layout_gravity="center_vertical"
87
                    android:layout_width="wrap_content"
88
                    android:layout_height="wrap_content"
89
                    android:text="●"
90
                    android:textColor="@color/color_707070"
91
                    android:textSize="4sp"
92
                    />
93
94
                <TextView
95
                    android:layout_marginStart="6dp"
96
                    android:layout_width="wrap_content"
97
                    android:layout_height="wrap_content"
98
                    android:text="您的账号当前没有正在充电的订单"
99
                    android:textColor="@color/color_707070"
100
                    android:textSize="12sp"
101
                    />
102
103
            </LinearLayout>
104
            <LinearLayout
105
                android:padding="14dp"
106
                android:layout_width="match_parent"
107
                android:layout_height="wrap_content">
108
                <TextView
109
                    android:layout_gravity="center_vertical"
110
                    android:layout_width="wrap_content"
111
                    android:layout_height="wrap_content"
112
                    android:text="●"
113
                    android:textColor="@color/color_707070"
114
                    android:textSize="4sp"
115
                    />
116
117
                <TextView
118
                    android:layout_marginStart="6dp"
119
                    android:layout_width="wrap_content"
120
                    android:layout_height="wrap_content"
121
                    android:text="您的账号没有未结算的充电订单"
122
                    android:textColor="@color/color_707070"
123
                    android:textSize="12sp"
124
                    />
125
126
            </LinearLayout>
127
            <LinearLayout
128
                android:padding="14dp"
129
                android:layout_width="match_parent"
130
                android:layout_height="wrap_content">
131
                <TextView
132
                    android:layout_gravity="center_vertical"
133
                    android:layout_width="wrap_content"
134
                    android:layout_height="wrap_content"
135
                    android:text="●"
136
                    android:textColor="@color/color_707070"
137
                    android:textSize="4dp"
138
                    />
139
140
                <TextView
141
                    android:layout_width="wrap_content"
142
                    android:layout_height="wrap_content"
143
                    android:layout_marginStart="6dp"
144
                    android:text="您的账号如果有余额请先完成退款或联系客服清空赠送金额"
145
                    android:textColor="@color/color_707070"
146
                    android:textSize="12sp" />
147
148
            </LinearLayout>
149
            <View
150
                android:background="@color/color_f5f6f7"
151
                android:layout_marginEnd="14dp"
152
                android:layout_marginStart="14dp"
153
                android:layout_width="match_parent"
154
                android:layout_height="1dp"/>
155
156
            <TextView
157
                android:padding="14dp"
158
                android:layout_width="match_parent"
159
                android:layout_height="wrap_content"
160
                android:text="注销提交后冻结账号15天,15天后自动注销账号,将清除账号所有相关信息和记录。冻结期内不可使用APP功能,可取消注销。"
161
                android:textColor="#ff707070"
162
                android:textSize="12sp"
163
                />
164
        </LinearLayout>
165
    </LinearLayout>
166
167
    <LinearLayout
168
        tools:visibility="visible"
169
        android:visibility="gone"
170
        android:id="@+id/unRegisterLayout"
171
        android:orientation="vertical"
172
        android:layout_width="match_parent"
173
        android:layout_height="wrap_content">
174
        <ImageView
175
            android:layout_marginTop="40dp"
176
            android:layout_gravity="center_horizontal"
177
            android:src="@drawable/ic_logout_hint2"
178
            android:layout_width="wrap_content"
179
            android:layout_height="wrap_content"/>
180
        <TextView
181
            android:layout_gravity="center"
182
            android:layout_marginTop="30dp"
183
            android:layout_width="wrap_content"
184
            android:layout_height="wrap_content"
185
            android:text="注销正在审核中…"
186
            android:textColor="@color/color_0e0e0e"
187
            android:textSize="21sp"
188
            />
189
190
        <TextView
191
            android:layout_marginTop="20dp"
192
            android:layout_gravity="center"
193
            android:layout_width="wrap_content"
194
            android:layout_height="wrap_content"
195
            tools:text="提交时间:2021-8-16  17:00"
196
            android:textColor="@color/app_color_9b"
197
            android:textSize="12sp"
198
            />
199
        <TextView
200
            android:layout_marginTop="20dp"
201
            android:layout_gravity="center"
202
            android:layout_width="wrap_content"
203
            android:layout_height="wrap_content"
204
            tools:text="审核中不能充值和开启充电,取消注销可继续使用"
205
            android:textColor="#ff0e0e0e"
206
            android:textSize="12sp"
207
            />
208
    </LinearLayout>
209
    <View
210
        android:layout_weight="1"
211
        android:layout_width="match_parent"
212
        android:layout_height="0dp"/>
213
    <TextView
214
        android:id="@+id/text"
215
        android:layout_marginBottom="40dp"
216
        android:layout_marginEnd="12dp"
217
        android:layout_marginStart="12dp"
218
        android:gravity="center"
219
        android:textColor="@color/white"
220
        android:text="退出登录"
221
        android:background="@drawable/bg_raduis_20_lvse"
222
        android:layout_width="match_parent"
223
        android:layout_height="40dp"/>
224
</LinearLayout>

+ 49 - 4
app/src/main/res/layout/activity_user_center_more.xml

@ -42,10 +42,12 @@
42 42
        android:background="@color/ui_titleline"/>
43 43
44 44
    <com.zhy.autolayout.AutoLinearLayout
45
        android:layout_marginEnd="12dp"
46
        android:layout_marginStart="12dp"
45 47
        android:layout_width="match_parent"
46 48
        android:layout_height="wrap_content"
47 49
        android:layout_marginTop="44px"
48
        android:background="@color/white"
50
        android:background="@drawable/bg_radius_6_white"
49 51
        android:orientation="vertical">
50 52
51 53
        <View
@ -288,15 +290,59 @@
288 290
            android:background="@color/Line" />
289 291
290 292
    </com.zhy.autolayout.AutoLinearLayout>
293
    <LinearLayout
294
        android:id="@+id/logOutLayout"
295
        android:paddingBottom="20dp"
296
        android:paddingTop="20dp"
297
        android:layout_marginEnd="12dp"
298
        android:layout_marginStart="12dp"
299
        android:background="@drawable/bg_radius_6_white"
300
        android:layout_marginTop="15dp"
301
        android:layout_width="match_parent"
302
        android:layout_height="wrap_content">
303
        <TextView
304
            android:layout_marginStart="14dp"
305
            android:layout_gravity="center_vertical"
306
            android:layout_width="wrap_content"
307
            android:layout_height="wrap_content"
308
            android:text="注销账号"
309
            android:textColor="@color/color_0e0e0e"
310
            android:textSize="14sp"
311
            />
312
        <View
313
            android:layout_weight="1"
314
            android:layout_gravity="center_vertical"
315
            android:layout_width="0dp"
316
            android:layout_height="1dp"/>
317
        <TextView
318
            android:layout_marginEnd="9dp"
319
            android:layout_width="wrap_content"
320
            android:layout_height="wrap_content"
321
            tools:text="正在审核中"
322
            android:textColor="@color/color_e32727"
323
            android:textSize="14sp"
324
            />
325
        <ImageView
326
            android:layout_width="wrap_content"
327
            android:layout_height="match_parent"
328
            android:layout_alignParentRight="true"
329
            android:layout_centerVertical="true"
330
            android:contentDescription="@null"
331
            android:paddingRight="16dp"
332
            android:src="@drawable/icon_more2_0" />
333
    </LinearLayout>
291 334
292 335
    <com.zhy.autolayout.AutoRelativeLayout
293 336
        android:layout_width="match_parent"
294 337
        android:layout_height="match_parent">
295 338
    <TextView
339
        android:layout_marginBottom="40dp"
340
        android:layout_marginEnd="12dp"
341
        android:layout_marginStart="12dp"
296 342
        android:id="@+id/tv_exit"
297 343
        android:layout_width="fill_parent"
298
        android:layout_height="127px"
299
        android:background="@color/lvse"
344
        android:layout_height="40dp"
345
        android:background="@drawable/bg_raduis_20_lvse"
300 346
        android:gravity="center"
301 347
        android:text="退出登录"
302 348
        android:textColor="@color/bg_row"
@ -324,7 +370,6 @@
324 370
325 371
    </com.zhy.autolayout.AutoRelativeLayout>
326 372
327
328 373
</com.zhy.autolayout.AutoLinearLayout>
329 374
330 375

+ 35 - 0
app/src/main/res/layout/dialog_state.xml

@ -0,0 +1,35 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="match_parent"
4
    xmlns:tools="http://schemas.android.com/tools"
5
    tools:background="#f1f1"
6
    android:id="@+id/stateLayout"
7
    android:orientation="vertical"
8
    android:layout_height="match_parent">
9
10
    <LinearLayout
11
        android:gravity="center"
12
        android:orientation="vertical"
13
        android:layout_centerInParent="true"
14
        android:background="@drawable/bg_white_radius10"
15
        android:layout_width="268dp"
16
        android:layout_height="124dp">
17
18
        <ImageView
19
            android:id="@+id/stateImg"
20
            android:layout_marginTop="10dp"
21
            tools:src="@drawable/ic_logout_dialog"
22
            android:layout_gravity="center"
23
            android:layout_width="wrap_content"
24
            android:layout_height="wrap_content"/>
25
        <TextView
26
            android:layout_marginTop="20dp"
27
            android:id="@+id/stateText"
28
            android:layout_marginBottom="10dp"
29
            android:layout_gravity="center"
30
            tools:text="请先退款或完成退款订单"
31
            android:textColor="@color/black"
32
            android:layout_width="wrap_content"
33
            android:layout_height="wrap_content"/>
34
    </LinearLayout>
35
</RelativeLayout>

+ 3 - 0
app/src/main/res/values/color.xml

@ -200,6 +200,9 @@
200 200
    <color name="color_f08f4b">#F08F4B</color>
201 201
    <color name="color_ff333333">#ff333333</color>
202 202

203
    <color name="color_e32727">#ffe32727</color>
204
    <color name="color_707070">#ff707070</color>
205
    <color name="color_f5f6f7">#F5F6F7</color>
203 206

204 207

205 208


cdzApp - Gogs: Go Git Service

充电桩app代码

huyuguo 319397b60f 配置信息优化 5 anos atrás
..
src b98aa2e34f 代码修改 5 anos atrás
.gitignore e1cf244fe0 remove Useless dependence 6 anos atrás
build.gradle 319397b60f 配置信息优化 5 anos atrás
proguard-rules.pro e1cf244fe0 remove Useless dependence 6 anos atrás