Commit 4ee2089e authored by chengkun's avatar chengkun

total_price -> payment

parent 167ef006
...@@ -139,7 +139,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout ...@@ -139,7 +139,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout
holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE
val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count) val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count)
// money.typeface = Typeface.DEFAULT_BOLD // money.typeface = Typeface.DEFAULT_BOLD
money.text = "${data.total_price}" money.text = "${data.payment}"
} }
3 -> { 3 -> {
holder.itemView.findViewById<TextView>(R.id.tv_pay_money_status).text = "已支付:" holder.itemView.findViewById<TextView>(R.id.tv_pay_money_status).text = "已支付:"
...@@ -147,7 +147,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout ...@@ -147,7 +147,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout
holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE
val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count) val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count)
// money.typeface = Typeface.DEFAULT_BOLD // money.typeface = Typeface.DEFAULT_BOLD
money.text = "${data.total_price}" money.text = "${data.payment}"
} }
4,8 -> { 4,8 -> {
...@@ -170,7 +170,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout ...@@ -170,7 +170,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout
holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE
val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count) val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count)
// money.typeface = Typeface.DEFAULT_BOLD // money.typeface = Typeface.DEFAULT_BOLD
money.text = "${data.total_price}" money.text = "${data.payment}"
} }
6 -> { 6 -> {
holder.itemView.findViewById<TextView>(R.id.tv_pay_money_status).text = "已支付:" holder.itemView.findViewById<TextView>(R.id.tv_pay_money_status).text = "已支付:"
...@@ -178,7 +178,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout ...@@ -178,7 +178,7 @@ class OrderListAdapter : BaseQuickAdapter<OrderWebData, BaseViewHolder>(R.layout
holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE holder.itemView.findViewById<TextView>(R.id.tv_order_list_yuan).visibility = View.VISIBLE
val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count) val money:TextView = holder.itemView.findViewById<TextView>(R.id.tv_pay_money_count)
// money.typeface = Typeface.DEFAULT_BOLD // money.typeface = Typeface.DEFAULT_BOLD
money.text = "${data.total_price}" money.text = "${data.payment}"
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment