提交 03740d6d authored 作者: chengye's avatar chengye

更换二维码背景图片

上级 d4e37173
...@@ -219,13 +219,17 @@ ...@@ -219,13 +219,17 @@
$qrcode.html('') $qrcode.html('')
$qrcode.qrcode({width: 80, height: 80, correctLevel: 0, text: $url}) $qrcode.qrcode({width: 80, height: 80, correctLevel: 0, text: $url})
$(this).find('.icon-qr-code').hide() $(this).find('.icon-qr-code').hide()
layui.use(['layer'],function () { layui.use(['layer'],function () {
$ = layui.jquery; $ = layui.jquery;
var layer = layui.layer; var layer = layui.layer;
layer.open({ layer.open({
type:1, type:1,
content:$('#qrcard') content:$('#qrcard'),
shade: [0.8, '#393D49'],
anim:0,
cancel:function(){
$("#qr").find('.icon-qr-code').show()
}
}) })
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论