Authored by weiqingting

fixed bug

... ... @@ -31,7 +31,7 @@ exports.QRcode = (req, res, next) => {
});
if(result.ticks.length){
bgkey=[/月(\d+)/g.exec(result.ticks[0].entrance_time)[1],result.ticks[0].ticket_type].join('-');
ticktypeName=result.ticks[0].ticket_type===2?'套票':'展览票';
ticktypeName=result.ticks[0].ticket_type==='2'?'套票':'展览票';
}
}
... ...
... ... @@ -76,7 +76,7 @@
</div>
<div id="print_wrap" style='display:none'>
<div class='print_qrcode'>
<img src="{{bgsrc}}"/>
<img src="{{bgsrc}}" width=614 height=920/>
<div class='print_content'>
</div>
</div>
... ...
... ... @@ -49,7 +49,7 @@ $('.btn-qcode').click(function() {
$('.center', '.qrctxt').each(function() {
html.push('<li>');
var src = $(this).find('img').attr('src');
html.push('<img src=\'' + src + '\' width=614 height=920/>');
html.push('<img src=\'' + src + '\'/>');
var bianhao = $(this).find('.bianhao').text();
html.push('<p>' + bianhao + '</p>');
var zuoweihao = $(this).find('.zuoweihao').text();
... ...