{{item.has_one_member.nickname}}生成了海报
{{details.name}}
距离活动开始还有
{{ timeData.days }}
天
{{ timeData.hours }}
:
{{ timeData.minutes }}
:
{{ timeData.seconds }}
距离活动结束还剩
{{ timeData.days }}
天
{{ timeData.hours }}
:
{{ timeData.minutes }}
:
{{ timeData.seconds }}
活动已结束
邀请进度
查看奖品
{{ item['step_people'] ? item['step_people'] : 0 }}人
当前梯队
再邀请{{details.next_step.step_people-details.invite_count}}人可进入下一梯队
邀请达到
{{item.step_people}}
人,即可获得奖励
邀请
{{item.step_people}}人以下,无奖励
暂无说明
{{item.created_at}}
{{item.has_one_member.nickname}}
生成了海报
---暂无记录---
奖励内容
{{basic_info.point || '积分'}}:+{{stepReward.point ? stepReward.point : 0}}
{{basic_info.balance || '余额'}}:+{{stepReward.balance ? stepReward.balance : 0}}
{{basic_info.love || '爱心值'}}:+{{stepReward.love ? stepReward.love : 0}}
{{basic_info.integral || '消费积分'}}:+{{stepReward.integral ? stepReward.integral : 0}}
优惠卷:
{{item.name}}+{{item.reward_num}}张
会员等级:升级至 {{stepReward.member_level.level_name}}
function progress(arr, level) {
var index = 0;
for (var i = 0; i < arr.length; i++) {
if (arr[i].step_level == level) {
index = i;
}
}
if (arr.length == 3) {
if (index == 0) return '14%';
if (index == 1) return '50%';
if (index == 2) return '100%';
} else if (arr.length == 2) {
if (index == 0) return '14%';
if (index == 1) return '100%';
}
return '0%';
}
module.exports.progress = progress;