提交 9e814116 authored 作者: chengye's avatar chengye

更换二维码背景图片

上级 982603ed
......@@ -16,7 +16,7 @@ class Count extends Base
public function index(){
//$this->redirect('http://114.113.126.44:3000/d/CATAHHmZz/ji-zhan-guan-li?orgId=1');
//return $this->fetch();
header("Location: http://114.113.126.44:3000/d/CATAHHmZz/ji-zhan-guan-li?orgId=1&kiosk=tv");
header("Location: http://114.113.126.44:3000/d/dcUEvUkMk/ji-zhan-quan-lan?orgId=1&from=1591003490674&to=1591025090674&kiosk=tv");
}
......
......@@ -27,37 +27,6 @@
{if $data['tag'] == 1}
<div class="layui-inline" id="qr" data-id="{$data.business_id}" style="cursor: pointer;line-height: 35px;margin-left: 24px; position: relative;">
<span class="iconfont icon-qr-code"></span>
<div id="qrcard">
<div class="qrhead"></div>
<div class="layui-inline-block" style="padding-left: 10px">
<span class="qrtitle">
资产编码:
</span>
<span class="qrval">
{$data.business_id}
</span>
</div>
<div class="qrinfo">
<div class="layui-inline-block">
<span class="qrtitle">
站点名称:
</span>
<span class="qrval">
{$data.jz_name}
</span>
</div>
<div class="layui-inline-block">
<span class="qrtitle">
站点编号:
</span>
<span class="qrval">{$data.project_code}</span>
</div>
</div>
<div id="qrcode"></div>
</div>
</div>
{/if}
</div>
......@@ -250,13 +219,13 @@
$qrcode.html('')
$qrcode.qrcode({width: 80, height: 80, correctLevel: 0, text: $url})
$(this).find('.icon-qr-code').hide()
$('#qrcard').show()
layui.use(['layer'],function () {
$ = layui.jquery;
var layer = layui.layer;
layer.open({
type:1,
content:$('qr')
content:$('qrcard')
})
})
......@@ -264,3 +233,37 @@
})
</script>
{/block}
{block name="modal"}
<div id="qrcard">
<div class="qrhead"></div>
<div class="layui-inline-block" style="padding-left: 10px">
<span class="qrtitle">
资产编码:
</span>
<span class="qrval">
{$data.business_id}
</span>
</div>
<div class="qrinfo">
<div class="layui-inline-block">
<span class="qrtitle">
站点名称:
</span>
<span class="qrval">
{$data.jz_name}
</span>
</div>
<div class="layui-inline-block">
<span class="qrtitle">
站点编号:
</span>
<span class="qrval">{$data.project_code}</span>
</div>
</div>
<div id="qrcode"></div>
</div>
{/block}
\ No newline at end of file
......@@ -101,8 +101,7 @@ ul.station_flow li.active>*{
}
#qrcard{
display: none;
position: absolute; left: 5px; top: -15px; width: 300px; height: 200px;
width: 300px; height: 200px;
background: url("http://demojz.gonn.tech/static/admin/image/qrbg.png");
background-size: cover;
z-index: 9998;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论