Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
lify
RvApp
Commits
9478034c
Commit
9478034c
authored
Jul 13, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
为待支付的会员订单添加倒计时
parent
d91455b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
MainActivity.java
RvClient/src/main/java/com/xxfc/rv/MainActivity.java
+1
-0
EffectiveTimeBean.java
...v/home/rv/module/ui/main/home/bean/EffectiveTimeBean.java
+9
-0
ForPaymentAdapter.java
.../module/ui/main/home/order/adapter/ForPaymentAdapter.java
+1
-1
No files found.
RvClient/src/main/java/com/xxfc/rv/MainActivity.java
View file @
9478034c
...
...
@@ -134,6 +134,7 @@ public class MainActivity extends BaseActivity<CommonPresenter> {
Cooker
.
save
(
getApplicationContext
(),
"actRent"
,
bean
.
getData
().
getActRent
());
Cooker
.
save
(
getApplicationContext
(),
"actTour"
,
bean
.
getData
().
getActTour
());
Cooker
.
save
(
getApplicationContext
(),
"insurePrice"
,
bean
.
getData
().
getInsurePrice
());
Cooker
.
save
(
getApplicationContext
(),
"actMember"
,
bean
.
getData
().
getActMember
());
}
break
;
default
:
...
...
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/bean/EffectiveTimeBean.java
View file @
9478034c
...
...
@@ -26,6 +26,7 @@ public class EffectiveTimeBean extends BaseBean {
private
float
insurePrice
;
private
long
actRent
;
private
long
actTour
;
private
long
actMember
;
public
float
getInsurePrice
()
{
return
insurePrice
;
...
...
@@ -50,5 +51,13 @@ public class EffectiveTimeBean extends BaseBean {
public
void
setActTour
(
long
actTour
)
{
this
.
actTour
=
actTour
;
}
public
long
getActMember
()
{
return
actMember
;
}
public
void
setActMember
(
long
actMember
)
{
this
.
actMember
=
actMember
;
}
}
}
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/order/adapter/ForPaymentAdapter.java
View file @
9478034c
...
...
@@ -94,7 +94,7 @@ public class ForPaymentAdapter extends BaseMultiItemQuickAdapter<MultiItemEntity
if
(
dataBean
.
getOrderMemberDetail
()
==
null
)
{
return
;
}
setTimes
(
Cooker
.
getLongValue
(
mContext
,
"actMember"
),
helper
,
(
OrderListBean
.
DataBeanX
.
DataBean
)
item
);
helper
.
setText
(
R
.
id
.
tv_order_time
,
String
.
format
(
"%1$s%2$s"
,
mContext
.
getString
(
R
.
string
.
rv_order_time
),
dataBean
.
getCrtTime
()));
helper
.
loadRoundImage
(
mContext
,
dataBean
.
getPicture
(),
(
ImageView
)
helper
.
getView
(
R
.
id
.
iv_goods
),
10
);
helper
.
setText
(
R
.
id
.
tv_name
,
dataBean
.
getName
());
...
...
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