Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
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
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
bp
ShenghuoquanBusiness
Commits
81176aa2
Commit
81176aa2
authored
Sep 10, 2021
by
chengkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案优化
parent
b8f47198
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
OrderListAdapter.kt
...idian/shenghuoquan/buserorder/adapter/OrderListAdapter.kt
+9
-9
No files found.
Components/BUserOrder/src/main/java/com/yidian/shenghuoquan/buserorder/adapter/OrderListAdapter.kt
View file @
81176aa2
...
...
@@ -116,12 +116,12 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout
money
.
text
=
"${data.total_price}"
}
3
->
{
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_status
).
text
=
"
待退款
"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_status
).
text
=
"
已支付:
"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_status
).
text
=
"待退款"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_order_list_yuan
).
visibility
=
View
.
IN
VISIBLE
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_order_list_yuan
).
visibility
=
View
.
VISIBLE
var
money
:
TextView
=
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_count
)
money
.
setTypeface
(
Typeface
.
DEFAULT_BOLD
)
money
.
text
=
""
money
.
text
=
"
${data.total_price}
"
}
4
,
8
->
{
...
...
@@ -139,20 +139,20 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout
money
.
text
=
"${data.refund_amount}"
}
5
->
{
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_status
).
text
=
"
退款中
"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_status
).
text
=
"
已支付:
"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_status
).
text
=
"退款中"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_order_list_yuan
).
visibility
=
View
.
IN
VISIBLE
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_order_list_yuan
).
visibility
=
View
.
VISIBLE
var
money
:
TextView
=
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_count
)
money
.
setTypeface
(
Typeface
.
DEFAULT_BOLD
)
money
.
text
=
""
money
.
text
=
"
${data.total_price}
"
}
6
->
{
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_status
).
text
=
"已
拒绝
"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_status
).
text
=
"已
支付:
"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_status
).
text
=
"已拒绝"
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_order_list_yuan
).
visibility
=
View
.
IN
VISIBLE
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_order_list_yuan
).
visibility
=
View
.
VISIBLE
var
money
:
TextView
=
holder
.
itemView
.
findViewById
<
TextView
>(
R
.
id
.
tv_pay_money_count
)
money
.
setTypeface
(
Typeface
.
DEFAULT_BOLD
)
money
.
text
=
""
money
.
text
=
"
${data.total_price}
"
}
}
}
...
...
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