Authored by 邱骏

修复已参加列表提示信息

... ... @@ -16,7 +16,7 @@
{{/ifcond}}
{{#ifcond status '===' 4}}
<div class="btn more js-fellow" data-id="{{id}}">查看中奖信息</div>
<div class="btn more js-fellow" data-id="{{id}}" data-lottery="{{lotteryInfo}}">查看中奖信息</div>
{{/ifcond}}
{{#ifcond status '===' 5}}
... ...
... ... @@ -200,11 +200,13 @@ function onReachBottom(type) {
function fellow(id, lottery) {
let info = prizeListStore.get(id);
console.log(info);
let lotteryInfo;
if (info && info.lottery_info) {
if (info && info.lotteryInfo) {
try {
lotteryInfo = $.parseJSON(info.lottery_info);
lotteryInfo = $.parseJSON(info.lotteryInfo);
} catch(e) {} // eslint-disable-line
}
... ...