Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
43536987
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1435
Star
162
Fork
130
代码
文件
提交
分支
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看板
提交
43536987
编写于
1月 22, 2019
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
桌面二级菜单删除特效完成
上级
ec0de1cd
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
10 deletion
+13
-10
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
+10
-10
skyeye-promote/skyeye-web/src/main/resources/template/js/index/index.js
.../skyeye-web/src/main/resources/template/js/index/index.js
+3
-0
未找到文件。
skyeye-promote/skyeye-web/src/main/resources/template/assets/lib/winui/js/winui.desktop.js
浏览文件 @
43536987
...
@@ -32,9 +32,9 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
...
@@ -32,9 +32,9 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
isFaIcon
=
(
item
.
icon
.
indexOf
(
'
fa-
'
)
!=
-
1
&&
item
.
icon
.
indexOf
(
'
.
'
)
==
-
1
);
isFaIcon
=
(
item
.
icon
.
indexOf
(
'
fa-
'
)
!=
-
1
&&
item
.
icon
.
indexOf
(
'
.
'
)
==
-
1
);
var
icon
;
var
icon
;
if
(
!
isNull
(
item
.
menuIconColor
)){
if
(
!
isNull
(
item
.
menuIconColor
)){
icon
=
isFaIcon
?
'
<i class="fa
'
+
item
.
icon
+
'
fa-fw" style="color:
'
+
item
.
menuIconColor
+
'
"></i>
'
:
'
<img src="
'
+
item
.
icon
+
'
" />
'
;
icon
=
isFaIcon
?
'
<i class="fa
'
+
item
.
icon
+
'
fa-fw" style="color:
'
+
item
.
menuIconColor
+
'
"
win-i-id="
'
+
item
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
item
.
icon
+
'
" />
'
;
}
else
{
}
else
{
icon
=
isFaIcon
?
'
<i class="fa
'
+
item
.
icon
+
'
fa-fw"></i>
'
:
'
<img src="
'
+
item
.
icon
+
'
" />
'
;
icon
=
isFaIcon
?
'
<i class="fa
'
+
item
.
icon
+
'
fa-fw"
win-i-id="
'
+
item
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
item
.
icon
+
'
" />
'
;
}
}
if
(
isNull
(
item
.
childs
)){
if
(
isNull
(
item
.
childs
)){
html
+=
'
<div class="winui-desktop-item"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxOpen
+
'
'
+
menuIconBg
+
'
'
+
menuIconColor
+
'
'
+
menuIcon
+
'
>
'
;
html
+=
'
<div class="winui-desktop-item"
'
+
id
+
'
'
+
url
+
'
'
+
title
+
'
'
+
opentype
+
'
'
+
maxOpen
+
'
'
+
menuIconBg
+
'
'
+
menuIconColor
+
'
'
+
menuIcon
+
'
>
'
;
...
@@ -68,19 +68,19 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
...
@@ -68,19 +68,19 @@ layui.define(['jquery', 'layer', 'winui'], function (exports) {
var
childsiconsmall
;
var
childsiconsmall
;
if
(
!
isNull
(
bean
.
menuIconColor
)){
if
(
!
isNull
(
bean
.
menuIconColor
)){
if
(
!
isNull
(
bean
.
menuIconBg
)){
if
(
!
isNull
(
bean
.
menuIconBg
)){
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon" style="color:
'
+
bean
.
menuIconColor
+
'
;background-color:
'
+
bean
.
menuIconBg
+
'
"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon" style="color:
'
+
bean
.
menuIconColor
+
'
;background-color:
'
+
bean
.
menuIconBg
+
'
"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw" style="color:
'
+
bean
.
menuIconColor
+
'
;background-color:
'
+
bean
.
menuIconBg
+
'
"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw" style="color:
'
+
bean
.
menuIconColor
+
'
;background-color:
'
+
bean
.
menuIconBg
+
'
"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
}
else
{
}
else
{
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon" style="color:
'
+
bean
.
menuIconColor
+
'
"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon" style="color:
'
+
bean
.
menuIconColor
+
'
"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw" style="color:
'
+
bean
.
menuIconColor
+
'
"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw" style="color:
'
+
bean
.
menuIconColor
+
'
"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
}
}
}
else
{
}
else
{
if
(
!
isNull
(
bean
.
menuIconBg
)){
if
(
!
isNull
(
bean
.
menuIconBg
)){
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon" style="background-color:
'
+
bean
.
menuIconBg
+
'
"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon" style="background-color:
'
+
bean
.
menuIconBg
+
'
"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw" style="background-color:
'
+
bean
.
menuIconBg
+
'
"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw" style="background-color:
'
+
bean
.
menuIconBg
+
'
"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
}
else
{
}
else
{
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsiconsmall
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw icon-drawer-icon"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw"></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
childsicon
=
childsisFaIcon
?
'
<i class="fa
'
+
bean
.
icon
+
'
fa-fw"
win-i-id="
'
+
bean
.
id
+
'
"
></i>
'
:
'
<img src="
'
+
bean
.
icon
+
'
" />
'
;
}
}
}
}
...
...
skyeye-promote/skyeye-web/src/main/resources/template/js/index/index.js
浏览文件 @
43536987
...
@@ -598,7 +598,10 @@
...
@@ -598,7 +598,10 @@
},
},
item2
:
function
(
id
,
elem
,
events
)
{
item2
:
function
(
id
,
elem
,
events
)
{
winui
.
window
.
msg
(
'
删除回调
'
);
winui
.
window
.
msg
(
'
删除回调
'
);
console
.
log
();
$
(
elem
).
remove
();
$
(
elem
).
remove
();
$
(
"
i[win-i-id=
"
+
$
(
elem
).
attr
(
'
win-id
'
)
+
"
]
"
).
remove
();
$
(
"
div[win-id=
"
+
$
(
elem
).
attr
(
'
win-id
'
)
+
"
]
"
).
remove
();
//从新排列桌面app
//从新排列桌面app
events
.
reLocaApp
();
events
.
reLocaApp
();
},
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录