Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TangKuPos
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王海
TangKuPos
Commits
29b74b99
Commit
29b74b99
authored
Jan 24, 2018
by
陈前
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI
parent
60656582
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
app/src/main/java/com/xingdata/zzdpos/ui/statistics/adapter/StatisticsRechargeGroupAdapter.java
...ui/statistics/adapter/StatisticsRechargeGroupAdapter.java
+1
-1
app/src/main/java/com/xingdata/zzdpos/ui/statistics/adapter/StatisticsTicketGroupAdapter.java
...s/ui/statistics/adapter/StatisticsTicketGroupAdapter.java
+1
-1
app/src/main/res/mipmap-xhdpi/ic_filling.png
app/src/main/res/mipmap-xhdpi/ic_filling.png
+0
-0
No files found.
app/src/main/java/com/xingdata/zzdpos/ui/statistics/adapter/StatisticsRechargeGroupAdapter.java
View file @
29b74b99
...
@@ -38,7 +38,7 @@ public class StatisticsRechargeGroupAdapter extends BaseSectionQuickAdapter<VipR
...
@@ -38,7 +38,7 @@ public class StatisticsRechargeGroupAdapter extends BaseSectionQuickAdapter<VipR
helper
.
setText
(
R
.
id
.
tv_left_top
,
item
.
getUserName
());
helper
.
setText
(
R
.
id
.
tv_left_top
,
item
.
getUserName
());
helper
.
setText
(
R
.
id
.
tv_left_bottom
,
com
.
blankj
.
utilcode
.
util
.
TimeUtils
.
millis2String
(
item
.
getCreateTime
(),
new
SimpleDateFormat
(
StringUtil
.
mmddhhmmmDatePattern
)));
helper
.
setText
(
R
.
id
.
tv_left_bottom
,
com
.
blankj
.
utilcode
.
util
.
TimeUtils
.
millis2String
(
item
.
getCreateTime
(),
new
SimpleDateFormat
(
StringUtil
.
mmddhhmmmDatePattern
)));
helper
.
setText
(
R
.
id
.
tv_right_top
,
"+"
+
ConvertUtil
.
fenToYuan
(
item
.
getCardAmtPay
(),
false
));
helper
.
setText
(
R
.
id
.
tv_right_top
,
"+"
+
ConvertUtil
.
fenToYuan
(
item
.
getCardAmtPay
(),
false
));
((
ImageView
)
helper
.
getView
(
R
.
id
.
img_left
)).
setImageResource
(
R
.
mipmap
.
ic_
text_recharge
);
((
ImageView
)
helper
.
getView
(
R
.
id
.
img_left
)).
setImageResource
(
R
.
mipmap
.
ic_
filling
);
}
}
...
...
app/src/main/java/com/xingdata/zzdpos/ui/statistics/adapter/StatisticsTicketGroupAdapter.java
View file @
29b74b99
...
@@ -35,7 +35,7 @@ public class StatisticsTicketGroupAdapter extends BaseSectionQuickAdapter<Ticket
...
@@ -35,7 +35,7 @@ public class StatisticsTicketGroupAdapter extends BaseSectionQuickAdapter<Ticket
protected
void
convert
(
BaseViewHolder
helper
,
Ticket
item
)
{
protected
void
convert
(
BaseViewHolder
helper
,
Ticket
item
)
{
helper
.
setText
(
R
.
id
.
tv_left_top
,
ConvertUtil
.
fenToYuanNoZero
(
item
.
getTicketValAmt
())
+
"元优惠券"
);
helper
.
setText
(
R
.
id
.
tv_left_top
,
ConvertUtil
.
fenToYuanNoZero
(
item
.
getTicketValAmt
())
+
"元优惠券"
);
helper
.
setText
(
R
.
id
.
tv_left_bottom
,
TimeUtils
.
date2String
(
item
.
getCreateTime
(),
new
SimpleDateFormat
(
StringUtil
.
mmddhhmmmDatePattern
)));
helper
.
setText
(
R
.
id
.
tv_left_bottom
,
TimeUtils
.
date2String
(
item
.
getCreateTime
(),
new
SimpleDateFormat
(
StringUtil
.
mmddhhmmmDatePattern
)));
((
ImageView
)
helper
.
getView
(
R
.
id
.
img_left
)).
setImageResource
(
R
.
mipmap
.
ic
_text_ticket
);
((
ImageView
)
helper
.
getView
(
R
.
id
.
img_left
)).
setImageResource
(
R
.
mipmap
.
ic
on_record
);
}
}
...
...
app/src/main/res/mipmap-xhdpi/ic_filling.png
View replaced file @
60656582
View file @
29b74b99
2.49 KB
|
W:
|
H:
2.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment