Administrator
2 days ago 747b1968b2d9ad3d4279485d13dfe24d0968fd99
fix(votesActivity): 修复支付方式显示逻辑错误

- 将免费支付方式的代码从 4 修改为 0,以符合正确的支付类型编码
- 优化了支付方式显示逻辑,确保余额、
1 files modified
2 ■■■ changed files
src/main/resources/templates/febs/views/modules/votesActivity/orderList.html 2 ●●● patch | view | raw | blame | history
src/main/resources/templates/febs/views/modules/votesActivity/orderList.html
@@ -103,7 +103,7 @@
    1: {title: '余额', color: 'blue'},
    2: {title: '微信', color: 'green'},
    3: {title: '积分', color: 'orange'},
    4: {title: '免费', color: 'red'},
    0: {title: '免费', color: 'red'},
    }[d.payType];
    }}
    <span class="layui-badge febs-bg-{{payType.color}}">{{ payType.title }}</span>