|
|
@@ -163,7 +163,7 @@ public class Release_task implements Serializable {
|
|
|
}
|
|
|
|
|
|
public float getVip_bonus() {
|
|
|
- return vip_bonus;
|
|
|
+ return vip_bonus == 0 ? bonus : vip_bonus;
|
|
|
}
|
|
|
|
|
|
public void setVip_bonus(float vip_bonus) {
|
|
|
@@ -419,7 +419,7 @@ public class Release_task implements Serializable {
|
|
|
|
|
|
//所有的奖励金额展示内容
|
|
|
public CharSequence getVipBonusText() {
|
|
|
- return String.format(Locale.CHINA, "会员:+%s元", NumberFormatUtils.retainMost2W(vip_bonus));
|
|
|
+ return String.format(Locale.CHINA, "会员:+%s元", NumberFormatUtils.retainMost2W(getVip_bonus()));
|
|
|
// return new SpannableSb().append(String.format(Locale.CHINA, "会员:+%s元", NumberFormatUtils.retainMost2(bonus+0.1)), R.dimen.text_size_10).checkAndBr()
|
|
|
// .append(String.format(Locale.CHINA, "+%s元", NumberFormatUtils.retainMost2(bonus)), R.dimen.text_size_1)
|
|
|
// .getSsb();
|