lmw
2024-07-16 c303346ae803dc2a89ec0f025192773211861915
app/src/main/java/com/dollearn/student/ui/welfare/GoodsDetailActivity.kt
@@ -90,7 +90,7 @@
                bannerAdapter.notifyDataSetChanged()
                banner.currentItem = 1
                tv_price.text = good.integral.toString()
                tv_value.text = "¥%.2f".format(good.price)
                tv_value.text = if (good.price!=null&&good.price!=0.0) "¥%.2f".format(good.price) else ""
                tv_value.paintFlags = tv_value.paintFlags or Paint.STRIKE_THRU_TEXT_FLAG
                tv_name.text = good.name
                tv_category.text = goodTypes?.joinToString ("|"){ it.name }