lmw
2025-04-24 718f31c92e2029d05260810435a2c70cef6e6ce5
app/src/main/java/com/sinata/xqmuse/ui/mine/adapter/VipPriceAdapter.kt
@@ -15,7 +15,7 @@
    override fun onBind(holder: ViewHolder, position: Int, data: Double) {
        holder.setText(R.id.tv_name,if (position == 0) "月度会员" else if (position == 1) "季度会员" else "年度会员")
        holder.setText(R.id.tv_price,SpanBuilder("¥%.2f".format(data)).size(0,1,15).build())
        holder.setText(R.id.tv_daily_price,"¥%.2f天".format(data/30))
        holder.setText(R.id.tv_daily_price,"¥%.2f/天".format(data/(if (position == 0)30 else if (position == 1) 90 else 365)))
        val bg = holder.bind<View>(R.id.cl_bg)
        val tvName = holder.bind<TextView>(R.id.tv_name)
        val tvPrice = holder.bind<TextView>(R.id.tv_price)
@@ -32,5 +32,4 @@
            tvDaily.textColorResource = R.color.textColor99
        }
    }
}