Commit fef24ff2 authored by qinhaitao's avatar qinhaitao

feat: 🎸 b server

parent cea1b34b
...@@ -128,9 +128,12 @@ export default class BaseController { ...@@ -128,9 +128,12 @@ export default class BaseController {
let prizeType = '/'; let prizeType = '/';
let shipTxt = '/'; let shipTxt = '/';
if (v) { if (v) {
if (v.prizeDataType == 1) prizeDataType = '关卡获得' <% for(var i = 0; i < formatPrize.length; ++i) {%>
if (v.prizeDataType == 2) prizeDataType = '排行榜' <%- `if (v.prizeDataType == ${formatPrize[i].prizeDataType}) prizeDataType = '${formatPrize[i].name}'`
if (v.prizeDataType == 3) prizeDataType = '分享获得' %><% } %>
// if (v.prizeDataType == 1) prizeDataType = '关卡获得'
// if (v.prizeDataType == 2) prizeDataType = '排行榜'
// if (v.prizeDataType == 3) prizeDataType = '分享获得'
if (v.type == PRIZE_TYPE.EQUITY) prizeType = '优惠券' if (v.type == PRIZE_TYPE.EQUITY) prizeType = '优惠券'
if (v.type == PRIZE_TYPE.CREDITS) prizeType = '积分' if (v.type == PRIZE_TYPE.CREDITS) prizeType = '积分'
......
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