Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
Jz-Php
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
PHP
Jz-Php
Commits
9e814116
提交
9e814116
authored
6月 01, 2020
作者:
chengye
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更换二维码背景图片
上级
982603ed
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
39 行增加
和
36 行删除
+39
-36
Count.php
application/jz/controller/Count.php
+1
-1
detail.html
application/jz/view/index/detail.html
+37
-33
style.css
public/static/admin/css/style.css
+1
-2
没有找到文件。
application/jz/controller/Count.php
浏览文件 @
9e814116
...
@@ -16,7 +16,7 @@ class Count extends Base
...
@@ -16,7 +16,7 @@ class Count extends Base
public
function
index
(){
public
function
index
(){
//$this->redirect('http://114.113.126.44:3000/d/CATAHHmZz/ji-zhan-guan-li?orgId=1');
//$this->redirect('http://114.113.126.44:3000/d/CATAHHmZz/ji-zhan-guan-li?orgId=1');
//return $this->fetch();
//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"
);
}
}
...
...
application/jz/view/index/detail.html
浏览文件 @
9e814116
...
@@ -27,37 +27,6 @@
...
@@ -27,37 +27,6 @@
{if $data['tag'] == 1}
{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;"
>
<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>
<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>
</div>
{/if}
{/if}
</div>
</div>
...
@@ -250,17 +219,51 @@
...
@@ -250,17 +219,51 @@
$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
()
$
(
'#qrcard'
).
show
()
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
:
$
(
'qr'
)
content
:
$
(
'qr
card
'
)
})
})
})
})
})
})
})
})
</script>
</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}
{/block}
\ No newline at end of file
public/static/admin/css/style.css
浏览文件 @
9e814116
...
@@ -101,8 +101,7 @@ ul.station_flow li.active>*{
...
@@ -101,8 +101,7 @@ ul.station_flow li.active>*{
}
}
#qrcard
{
#qrcard
{
display
:
none
;
width
:
300px
;
height
:
200px
;
position
:
absolute
;
left
:
5px
;
top
:
-15px
;
width
:
300px
;
height
:
200px
;
background
:
url("http://demojz.gonn.tech/static/admin/image/qrbg.png")
;
background
:
url("http://demojz.gonn.tech/static/admin/image/qrbg.png")
;
background-size
:
cover
;
background-size
:
cover
;
z-index
:
9998
;
z-index
:
9998
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论