Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
331c4edb
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1194
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
331c4edb
编写于
1月 19, 2019
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式更新
上级
da91f60d
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
1122 addition
and
14 deletion
+1122
-14
skyeye-promote/logs/skyeye.log
skyeye-promote/logs/skyeye.log
+1070
-0
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/layui/lay/modules/layim.js
.../resources/template/assets/lib/layui/lay/modules/layim.js
+1
-1
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/css/winui.css
...rc/main/resources/template/assets/lib/winui/css/winui.css
+25
-4
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/js/winui.desktop.js
...n/resources/template/assets/lib/winui/js/winui.desktop.js
+5
-3
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/js/winui.start.js
...ain/resources/template/assets/lib/winui/js/winui.start.js
+2
-2
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/js/winui.window.js
...in/resources/template/assets/lib/winui/js/winui.window.js
+1
-0
skyeye-promote/skyeye-web/src/main/resources/template/js/index/index.js
.../skyeye-web/src/main/resources/template/js/index/index.js
+17
-3
skyeye-promote/skyeye-web/src/main/resources/template/tpl/index/index.html
...yeye-web/src/main/resources/template/tpl/index/index.html
+1
-1
未找到文件。
skyeye-promote/logs/skyeye.log
浏览文件 @
331c4edb
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/layui/lay/modules/layim.js
浏览文件 @
331c4edb
...
...
@@ -158,7 +158,7 @@ layui.define(["layer", "laytpl", "upload"], function(i) {
return
t
.
open
({
type
:
1
,
area
:
[
"
260px
"
,
"
520px
"
],
skin
:
"
layui-box layui-layim
"
,
skin
:
"
layui-box layui-layim
talk-mabal
"
,
title
:
"
​
"
,
offset
:
"
rb
"
,
id
:
"
layui-layim
"
,
...
...
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/css/winui.css
浏览文件 @
331c4edb
...
...
@@ -309,7 +309,7 @@ button{
height
:
40px
;
position
:
fixed
;
bottom
:
0
;
z-index
:
99980
;
z-index
:
99980
000
;
}
.winui-taskbar
>
*
{
...
...
@@ -365,7 +365,6 @@ button{
line-height
:
40px
;
width
:
160px
;
padding
:
0
10px
;
text-align
:
center
;
-moz-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
@@ -2494,6 +2493,18 @@ body .layer-ext-winconfirm {
line-height
:
17px
;
}
.title-icon
{
width
:
16px
;
height
:
16px
;
float
:
left
;
margin-top
:
10px
;
line-height
:
16px
;
}
.win-title-class
{
margin-left
:
5px
;
}
.icon-child
{
display
:
none
;
}
...
...
@@ -3063,8 +3074,12 @@ body .layer-ext-winconfirm {
padding-left
:
0px
;
}
.sec-clsss
.layui-layer-setwin
{
display
:
none
;
.sec-clsss
.layui-layer-setwin
a
{
background-color
:
white
;
border-radius
:
10px
;
padding-right
:
-8px
;
background-position-x
:
2px
;
background-position-y
:
-39px
;
}
.sec-clsss
.layui-layer-content
{
...
...
@@ -4226,6 +4241,12 @@ body .layer-ext-winconfirm {
background-color
:
rgba
(
0
,
0
,
0
,
0
)
!important
;
border
:
0px
!important
;
box-shadow
:
1px
1px
50px
rgba
(
0
,
0
,
0
,
0
)
!important
;
z-index
:
99980001
!important
;
}
.talk-mabal
{
margin-bottom
:
40px
!important
;
z-index
:
99980001
!important
;
}
.qq_32
{
...
...
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/js/winui.desktop.js
浏览文件 @
331c4edb
...
...
@@ -27,6 +27,7 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
maxOpen
=
(
item
.
maxOpen
==
''
||
item
.
maxOpen
==
undefined
)
?
''
:
'
win-maxOpen="
'
+
item
.
maxOpen
+
'
"
'
,
menuIconBg
=
(
item
.
menuIconBg
==
''
||
item
.
menuIconBg
==
undefined
)
?
''
:
'
win-menuIconBg="
'
+
item
.
menuIconBg
+
'
"
'
,
menuIconColor
=
(
item
.
menuIconColor
==
''
||
item
.
menuIconColor
==
undefined
)
?
''
:
'
win-menuIconColor="
'
+
item
.
menuIconColor
+
'
"
'
,
menuIcon
=
(
item
.
icon
==
''
||
item
.
icon
==
undefined
)
?
''
:
'
win-icon="
'
+
item
.
icon
+
'
"
'
,
//icon的算法存在纰漏,但出现错误几率较小
isFaIcon
=
(
item
.
icon
.
indexOf
(
'
fa-
'
)
!=
-
1
&&
item
.
icon
.
indexOf
(
'
.
'
)
==
-
1
);
var
icon
;
...
...
@@ -36,7 +37,7 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
icon
=
isFaIcon
?
'
<i class="fa
'
+
item
.
icon
+
'
fa-fw"></i>
'
:
'
<img src="
'
+
item
.
icon
+
'
" />
'
;
}
if
(
isNull
(
item
.
childs
)){
html
+=
'
<div class="winui-desktop-item"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxOpen
+
'
>
'
;
html
+=
'
<div class="winui-desktop-item"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxOpen
+
'
'
+
menuIconBg
+
'
'
+
menuIconColor
+
'
'
+
menuIcon
+
'
>
'
;
if
(
!
isNull
(
item
.
menuIconBg
)){
html
+=
'
<div class="winui-icon
'
+
(
isFaIcon
?
'
winui-icon-font
'
:
'
winui-icon-img
'
)
+
'
" style="background-color:
'
+
item
.
menuIconBg
+
'
">
'
;
}
else
{
...
...
@@ -47,7 +48,7 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
html
+=
'
<p>
'
+
item
.
name
+
'
</p>
'
;
html
+=
'
</div>
'
;
}
else
{
html
+=
'
<div class="winui-desktop-item"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxOpen
+
'
>
'
;
html
+=
'
<div class="winui-desktop-item"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxOpen
+
'
'
+
menuIconBg
+
'
'
+
menuIconColor
+
'
>
'
;
html
+=
'
<div class="winui-icon
'
+
(
isFaIcon
?
'
winui-icon-font
'
:
'
winui-icon-img
'
)
+
'
">
'
;
html
+=
'
<div class="icon-drawer">
'
;
var
childsIconContent
=
''
;
...
...
@@ -60,6 +61,7 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
childsmaxOpen
=
(
bean
.
maxOpen
==
''
||
bean
.
maxOpen
==
undefined
)
?
''
:
'
win-maxOpen="
'
+
bean
.
maxOpen
+
'
"
'
,
childsmenuIconBg
=
(
bean
.
menuIconBg
==
''
||
bean
.
menuIconBg
==
undefined
)
?
''
:
'
win-menuIconBg="
'
+
bean
.
menuIconBg
+
'
"
'
,
childsmenuIconColor
=
(
bean
.
menuIconColor
==
''
||
bean
.
menuIconColor
==
undefined
)
?
''
:
'
win-menuIconColor="
'
+
bean
.
menuIconColor
+
'
"
'
,
childsmenuIcon
=
(
bean
.
icon
==
''
||
bean
.
icon
==
undefined
)
?
''
:
'
win-icon="
'
+
bean
.
icon
+
'
"
'
,
//icon的算法存在纰漏,但出现错误几率较小
childsisFaIcon
=
(
bean
.
icon
.
indexOf
(
'
fa-
'
)
!=
-
1
&&
bean
.
icon
.
indexOf
(
'
.
'
)
==
-
1
);
var
childsicon
;
...
...
@@ -83,7 +85,7 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
}
childsIconContent
+=
childsiconsmall
;
childsHtml
+=
'
<div class="winui-desktop-item sec-clsss-btn"
'
+
childsid
+
'
'
+
childsurl
+
'
'
+
childstitle
+
'
'
+
childsopentype
+
'
'
+
childsmaxOpen
+
'
>
'
;
childsHtml
+=
'
<div class="winui-desktop-item sec-clsss-btn"
'
+
childsid
+
'
'
+
childsurl
+
'
'
+
childstitle
+
'
'
+
childsopentype
+
'
'
+
childsmaxOpen
+
'
'
+
childsmenuIconBg
+
'
'
+
childsmenuIconColor
+
'
'
+
childsmenuIcon
+
'
>
'
;
if
(
!
isNull
(
bean
.
menuIconBg
)){
childsHtml
+=
'
<div class="winui-icon
'
+
(
childsisFaIcon
?
'
winui-icon-font
'
:
'
winui-icon-img
'
)
+
'
" style="background-color:
'
+
bean
.
menuIconBg
+
'
">
'
;
}
else
{
...
...
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/js/winui.start.js
浏览文件 @
331c4edb
...
...
@@ -42,7 +42,7 @@ layui.define(['jquery', 'element', 'layer', 'winui'], function (exports) {
}
else
{
var
extend
=
''
;
}
html
+=
'
<li class="layui-nav-item
'
+
isParent
+
'
'
+
extend
+
'
"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxopen
+
'
'
+
winIcon
+
'
>
'
;
html
+=
'
<li class="layui-nav-item
'
+
isParent
+
'
'
+
extend
+
'
"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxopen
+
'
'
+
winIcon
+
'
'
+
menuIconBg
+
'
'
+
menuIconColor
+
'
>
'
;
if
(
!
isNull
(
item
.
menuIconBg
)){
html
+=
'
<a><div class="winui-menu-icon" style="background-color:
'
+
item
.
menuIconBg
+
'
!important;">
'
;
}
else
{
...
...
@@ -68,7 +68,7 @@ layui.define(['jquery', 'element', 'layer', 'winui'], function (exports) {
}
else
{
cicon
=
(
cItem
.
icon
.
indexOf
(
'
fa-
'
)
!=
-
1
&&
cItem
.
icon
.
indexOf
(
'
.
'
)
==
-
1
)
?
'
<i class="fa
'
+
cItem
.
icon
+
'
fa-fw"></i>
'
:
'
<img src="
'
+
cItem
.
icon
+
'
" />
'
;;
}
html
+=
'
<dd
'
+
cId
+
'
'
+
cUrl
+
'
'
+
cTitle
+
'
'
+
cOpentype
+
'
'
+
cMaxopen
+
'
'
+
cWinIcon
+
'
>
'
;
html
+=
'
<dd
'
+
cId
+
'
'
+
cUrl
+
'
'
+
cTitle
+
'
'
+
cOpentype
+
'
'
+
cMaxopen
+
'
'
+
cWinIcon
+
'
'
+
cmenuIconBg
+
'
'
+
cmenuIconColor
+
'
>
'
;
if
(
!
isNull
(
cItem
.
menuIconBg
)){
html
+=
'
<a><div class="winui-menu-icon" style="background-color:
'
+
cItem
.
menuIconBg
+
'
!important;">
'
;
}
else
{
...
...
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/js/winui.window.js
浏览文件 @
331c4edb
...
...
@@ -96,6 +96,7 @@ layui.define(['layer', 'winui'], function (exports) {
},
//打开回调
success
:
function
(
layero
,
index
)
{
console
.
log
(
1
);
common
.
setWindowBody
(
layero
);
},
//关闭回调
...
...
skyeye-promote/skyeye-web/src/main/resources/template/js/index/index.js
浏览文件 @
331c4edb
...
...
@@ -13,7 +13,7 @@
winuiLoad
=
radialIndicator
(
$
(
'
#winui-load
'
),
{
barBgColor
:
'
#E3E3E3
'
,
barColor
:
'
#
FFFFFF
'
,
barColor
:
'
#
8A2BE2
'
,
radius
:
100
,
barWidth
:
5
,
initValue
:
0
,
...
...
@@ -395,8 +395,22 @@
function
OpenWindow
(
menuItem
)
{
var
$this
=
$
(
menuItem
);
var
url
=
$this
.
attr
(
'
win-url
'
);
console
.
log
(
$this
);
var
title
=
$this
.
attr
(
'
win-title
'
);
var
menuIconBg
=
$this
.
attr
(
"
win-menuiconbg
"
);
var
menuIconColor
=
$this
.
attr
(
"
win-menuiconcolor
"
);
var
menuIcon
=
$this
.
attr
(
"
win-icon
"
);
var
str
=
'
<i class="fa title-icon fa-fw
'
;
if
(
!
isNull
(
menuIcon
)){
str
+=
menuIcon
;
}
str
+=
'
" style="
'
;
if
(
!
isNull
(
menuIconBg
)){
str
+=
'
background-color:
'
+
menuIconBg
+
'
;
'
;
}
if
(
!
isNull
(
menuIconColor
)){
str
+=
'
color:
'
+
menuIconColor
+
'
;
'
;
}
str
+=
'
"></i>
'
;
var
title
=
str
+
'
<font class="win-title-class">
'
+
$this
.
attr
(
'
win-title
'
)
+
'
</font>
'
;
var
id
=
$this
.
attr
(
'
win-id
'
);
var
type
=
parseInt
(
$this
.
attr
(
'
win-opentype
'
));
var
maxOpen
=
parseInt
(
$this
.
attr
(
'
win-maxopen
'
))
||
-
1
;
...
...
skyeye-promote/skyeye-web/src/main/resources/template/tpl/index/index.html
浏览文件 @
331c4edb
...
...
@@ -19,7 +19,7 @@
<div
class=
"winui-load-mation"
>
<div
class=
"winui-load-mation-box"
>
<div
class=
"load-title"
>
<font>
天眼 正在
启动
</font>
<font>
天眼 正在
加载模块
</font>
</div>
<div
class=
"load-wait"
>
<font>
请稍后
</font>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录