|
|
|
@ -115,17 +115,16 @@ Page({ |
|
|
|
|
|
|
|
switchType: function (activityType) { |
|
|
|
switch (activityType) { |
|
|
|
case 10: return '拼团' |
|
|
|
case 20: return '砍价' |
|
|
|
case 30: return '抽奖' |
|
|
|
case 10: return '../../images/icon_pintuan.png' |
|
|
|
case 20: return '../../images/icon_kanjia.png' |
|
|
|
case 30: return '../../images/icon_duobao.png' |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
switchImg: function (status) { |
|
|
|
switch (status) { |
|
|
|
case 0: return '../../images/icon_task_finish.png' |
|
|
|
case 20: return '../../images/icon_task_finish.png' |
|
|
|
case 90: return '../../images/icon_task_finish.png' |
|
|
|
case 90: return '../../images/icon_task_fail.png' |
|
|
|
} |
|
|
|
} |
|
|
|
|