Commit fdcf84875dd3bf865fa273fcdbe19a604c844f19

Authored by pengye
1 parent 27d4f079

新充值活动没有结束日期字段不显示问题处理

@@ -58,7 +58,7 @@ Page({ @@ -58,7 +58,7 @@ Page({
58 if (recharge_lists.is_coupons == '1' && recharge_lists.coupons_names.length > 0) item.certificate = recharge_lists.coupons_names.join('、'); 58 if (recharge_lists.is_coupons == '1' && recharge_lists.coupons_names.length > 0) item.certificate = recharge_lists.coupons_names.join('、');
59 }) 59 })
60 // 筛选出 未过期的 && 开启状态的充值活动 60 // 筛选出 未过期的 && 开启状态的充值活动
61 - list = list.filter(item=>{return this.data.dataStr<(item.etime*1) && item.is_open == '1'}) 61 + list = list.filter(item=>{return (this.data.dataStr<(item.etime*1) || !item.etime) && item.is_open == '1'})
62 this.setData({ 62 this.setData({
63 list 63 list
64 }) 64 })