左晓为主开发手持机充值管理机
zuoxiao
2024-08-23 954eaed548efb75b3dc79343587acb79e53d214d
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
 
    <com.dayu.baselibrary.view.TitleBar
        android:id="@+id/titleBar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/dimen_title_height"
        android:background="@color/title_bar_bg"
        app:centerText="写卡详情页"
        app:leftImage="@mipmap/icon_back" />
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@id/read_btn"
        android:orientation="vertical"
        android:layout_below="@id/titleBar"
        android:padding="30dp">
 
        <TextView
            android:id="@+id/red_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="用户姓名:"
            android:textSize="@dimen/text_size" />
 
 
        <TextView
            android:id="@+id/red_initCode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="当前卡号:"
            android:textSize="@dimen/text_size" />
 
        <TextView
            android:id="@+id/red_userCode"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="当前卡号:"
            android:textSize="@dimen/text_size" />
 
        <TextView
            android:id="@+id/red_remainder_morny"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="充值金额:"
            android:textSize="@dimen/text_size" />
 
        <TextView
            android:id="@+id/red_deductionMorny"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="充值金额:"
            android:textSize="@dimen/text_size" />
 
        <TextView
            android:id="@+id/red_recharge_balance"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="剩余金额:"
            android:textSize="@dimen/text_size" />
 
        <TextView
            android:id="@+id/red_remainder_blance"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="剩余金额:"
            android:textSize="@dimen/text_size"
            android:visibility="gone" />
 
        <TextView
            android:id="@+id/red_rechargeElectric"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="充值电量:"
            android:textSize="@dimen/text_size"
            android:visibility="visible" />
 
        <TextView
            android:id="@+id/red_surplusElectric"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="剩余电量:"
            android:textSize="@dimen/text_size"
            android:visibility="visible" />
 
        <TextView
            android:id="@+id/red_rechargeDate"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="本卡最后购水日期:"
            android:textSize="@dimen/text_size"
            android:visibility="gone" />
 
        <TextView
            android:id="@+id/red_rechargeNumber"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="本卡充值次数:"
            android:textSize="@dimen/text_size"
            android:visibility="gone" />
 
        <TextView
            android:id="@+id/red_statu"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="卡状态:"
            android:textSize="@dimen/text_size" />
 
        <TextView
            android:id="@+id/tip"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            android:gravity="center"
            android:text="充值成功!"
            android:textColor="@color/red"
            android:textSize="@dimen/text_size" />
    </LinearLayout>
 
    <TextView
        android:id="@+id/read_btn"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:layout_alignParentBottom="true"
        android:background="@color/title_bg"
        android:gravity="center"
        android:text="再次打印凭条"
        android:textColor="#000000"
        android:textSize="@dimen/new_card_size"
        android:visibility="invisible" />
</RelativeLayout>