切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
F4NNIU
5 years ago
提交者
Gitee
5 years ago
提交
7065215109a60380fdb30aca7d0d2bd978aa6e0d
2 个父辈
489a29f1
40eb4ed8
!191 修正插件管理弹窗在手机中适应手机宽高
Merge pull request !191 from Young小杰/master
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
10 行增加
和
7 行删除
public/assets/js/backend/addon.js
public/assets/js/backend/addon.js
查看文件 @
7065215
...
...
@@ -14,6 +14,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
var
table
=
$
(
"#table"
);
// 弹窗自适应宽高
var
area
=
Fast
.
config
.
openArea
!=
undefined
?
Fast
.
config
.
openArea
:
[
$
(
window
).
width
()
>
800
?
'800px'
:
'95%'
,
$
(
window
).
height
()
>
600
?
'600px'
:
'95%'
];
table
.
on
(
'load-success.bs.table'
,
function
(
e
,
json
)
{
if
(
json
&&
typeof
json
.
category
!=
'undefined'
&&
$
(
".nav-category li"
).
size
()
==
2
)
{
$
.
each
(
json
.
category
,
function
(
i
,
j
)
{
...
...
@@ -202,7 +205,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
Layer
.
open
({
content
:
Template
(
"logintpl"
,
{}),
zIndex
:
99
,
area
:
[
'430px'
,
'350px'
]
,
area
:
area
,
title
:
__
(
'Login FastAdmin'
),
resize
:
false
,
btn
:
[
__
(
'Login'
),
__
(
'Register'
)],
...
...
@@ -240,7 +243,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
},
function
(
data
)
{
Layer
.
open
({
content
:
Template
(
"userinfotpl"
,
userinfo
),
area
:
[
'430px'
,
'360px'
]
,
area
:
area
,
title
:
__
(
'Userinfo'
),
resize
:
false
,
btn
:
[
__
(
'Logout'
),
__
(
'Cancel'
)],
...
...
@@ -301,7 +304,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
Layer
.
open
({
content
:
Template
(
"paytpl"
,
ret
.
data
),
shade
:
0.8
,
area
:
[
'800px'
,
'600px'
]
,
area
:
area
,
skin
:
'layui-layer-msg layui-layer-pay'
,
title
:
false
,
closeBtn
:
true
,
...
...
@@ -319,7 +322,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
return
;
}
top
.
Fast
.
api
.
open
(
ret
.
data
.
payurl
,
__
(
'Pay now'
),
{
area
:
[
"650px"
,
"700px"
]
,
area
:
area
,
end
:
function
()
{
top
.
Layer
.
alert
(
__
(
'Pay tips'
));
}
...
...
@@ -329,7 +332,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
Layer
.
open
({
content
:
Template
(
"conflicttpl"
,
ret
.
data
),
shade
:
0.8
,
area
:
[
'800px'
,
'600px'
]
,
area
:
area
,
title
:
__
(
'Warning'
),
btn
:
[
__
(
'Continue install'
),
__
(
'Cancel'
)],
end
:
function
()
{
...
...
@@ -362,7 +365,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
Layer
.
open
({
content
:
Template
(
"conflicttpl"
,
ret
.
data
),
shade
:
0.8
,
area
:
[
'800px'
,
'600px'
]
,
area
:
area
,
title
:
__
(
'Warning'
),
btn
:
[
__
(
'Continue uninstall'
),
__
(
'Cancel'
)],
end
:
function
()
{
...
...
@@ -396,7 +399,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template'], function
Layer
.
open
({
content
:
Template
(
"conflicttpl"
,
ret
.
data
),
shade
:
0.8
,
area
:
[
'800px'
,
'600px'
]
,
area
:
area
,
title
:
__
(
'Warning'
),
btn
:
[
__
(
'Continue operate'
),
__
(
'Cancel'
)],
end
:
function
()
{
...
...
请
注册
或
登录
后发表评论