Authored by htoooth

fix

... ... @@ -6,7 +6,7 @@
'use strict';
const QRcodeModel = require('../models/qrcode');
const QRcodeModel = require('../models/qrcode-api');
const helpers = global.yoho.helpers;
exports.QRcode = (req, res, next) => {
... ...
... ... @@ -38,7 +38,6 @@
<div class='clearfix'></div>
</div>
</div>
<a class='btn-qcode' href='#'>打印二维码</a>
</div>
{{/qrcodeData}}
<div class='subtitle'>
... ...
... ... @@ -3,9 +3,6 @@ var Slide = require('../plugins/yohoui/YH.slide');
var $item = $('li', '.qrctxt');
var len = $item.length, slide;
var src = /url\("([^'"]*)"\)/g.exec($('.print-qrcode').css('background'))[1];
$('.print-qrcode').find('img').attr('src', src);
require('../common');
... ...