Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
飞鱼0526
ShopXO
提交
6a49c236
ShopXO
项目概览
飞鱼0526
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6a49c236
编写于
2月 28, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
菜单优化
上级
e6b40a0e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
10 deletion
+12
-10
application/admin/view/default/admin/save_info.html
application/admin/view/default/admin/save_info.html
+1
-1
public/static/admin/default/css/common.css
public/static/admin/default/css/common.css
+4
-4
public/static/admin/default/js/index.js
public/static/admin/default/js/index.js
+4
-4
public/static/common/css/common.css
public/static/common/css/common.css
+3
-1
未找到文件。
application/admin/view/default/admin/save_info.html
浏览文件 @
6a49c236
...
...
@@ -30,7 +30,7 @@
{{if !isset($data['id']) or $admin['id'] neq $data['id']}}
<div
class=
"am-form-group"
>
<label>
权限组
</label>
<select
class=
"am-radius c-p"
name=
"role_id"
data-validation-message=
"请选择所属角色组"
required
>
<select
class=
"am-radius c
hosen-select c
-p"
name=
"role_id"
data-validation-message=
"请选择所属角色组"
required
>
<option
value=
""
>
可选择...
</option>
{{foreach $role as $v}}
<option
value=
"{{$v.id}}"
{{
if
isset
($
data
['
role_id
'])
and
$
data
['
role_id
']
eq
$
v
['
id
']}}
selected
{{/
if
}}
>
{{$v.name}}
</option>
...
...
public/static/admin/default/css/common.css
浏览文件 @
6a49c236
/**
* 公共
*/
*
{
font-size
:
1
4
px
;
}
*
{
font-size
:
1
2
px
;
}
.w100
{
width
:
100%
;}
.fw-100
{
font-weight
:
100
;}
.fw-700
{
font-weight
:
700
;}
...
...
@@ -376,12 +376,12 @@ ul {margin-top:0;}
.admin-sidebar-sub
{
margin-top
:
0
;
margin-bottom
:
0
;
box-shadow
:
0
16px
8px
-15px
#e2e2e2
inset
;
background
:
#404040
;
padding-left
:
24px
;}
.admin-sidebar-sub
li
:first-child
{
border-top
:
1px
solid
#dedede
;}
.admin-sidebar
{
height
:
100%
;
overflow-x
:
hidden
;
overflow-y
:
scroll
;
-webkit-overflow-scrolling
:
touch
;}
.admin-sidebar
.am-icon-angle-down
{
margin-top
:
3
px
;}
.admin-sidebar
.am-icon-angle-down
{
margin-top
:
5
px
;}
@media
only
screen
and
(
min-width
:
641px
)
{
.admin-sidebar
{
display
:
block
;
width
:
1
85
px
;
z-index
:
1
;
position
:
static
;}
.admin-sidebar
{
display
:
block
;
width
:
1
70
px
;
z-index
:
1
;
position
:
static
;}
.admin-offcanvas-bar
{
position
:
static
;
width
:
auto
;
background
:
none
;
-webkit-transform
:
translate3d
(
0
,
0
,
0
);
-ms-transform
:
translate3d
(
0
,
0
,
0
);
transform
:
translate3d
(
0
,
0
,
0
);
overflow-y
:
visible
;
min-height
:
100%
;}
.admin-offcanvas-bar
:after
{
content
:
none
;}
#ifcontent
{
width
:
calc
(
100%
-
1
85
px
);
}
#ifcontent
{
width
:
calc
(
100%
-
1
70
px
);
}
}
@media
only
screen
and
(
max-width
:
640px
)
{
.admin-sidebar
{
width
:
inherit
;}
...
...
public/static/admin/default/js/index.js
浏览文件 @
6a49c236
...
...
@@ -85,10 +85,10 @@ $(function()
}
else
{
$
(
this
).
animate
({
left
:
"
189px
"
},
300
);
$
(
this
).
removeClass
(
'
am-icon-angle-double-right
'
).
addClass
(
'
am-icon-angle-double-left
'
);
$
(
'
#admin-offcanvas
'
).
animate
({
width
:
"
1
85
px
"
},
300
);
$
(
'
#admin-offcanvas
'
).
animate
({
width
:
"
1
70
px
"
},
300
);
setTimeout
(
function
()
{
$
(
'
#admin-offcanvas
'
).
removeClass
(
'
menu-mini
'
);
$
(
'
#ifcontent
'
).
css
({
"
width
"
:
"
calc(100% - 1
85
px)
"
});
$
(
'
#ifcontent
'
).
css
({
"
width
"
:
"
calc(100% - 1
70
px)
"
});
},
300
);
}
$
(
'
#admin-offcanvas ul
'
).
animate
({
opacity
:
1
},
300
);
...
...
@@ -180,8 +180,8 @@ $(function()
}
else
{
if
((
$
(
'
.menu-scaling-submit
'
).
attr
(
'
data-status
'
)
||
0
)
==
0
)
{
$
(
'
#admin-offcanvas
'
).
css
({
"
width
"
:
"
1
85
px
"
});
$
(
'
#ifcontent
'
).
css
({
"
width
"
:
"
calc(100% - 1
85
px)
"
});
$
(
'
#admin-offcanvas
'
).
css
({
"
width
"
:
"
1
70
px
"
});
$
(
'
#ifcontent
'
).
css
({
"
width
"
:
"
calc(100% - 1
70
px)
"
});
}
}
});
...
...
public/static/common/css/common.css
浏览文件 @
6a49c236
...
...
@@ -145,11 +145,13 @@ iframe { width: 100%; height: 100%; border: 0; }
*/
.plug-file-upload-submit
{
display
:
inline-block
;
padding
:
8px
1
5px
;
padding
:
8px
5px
;
color
:
#70b2f3
;
border
:
1px
dashed
#70b2f3
;
background
:
#fff
;
cursor
:
pointer
;
min-width
:
100px
;
text-align
:
center
;
}
.plug-file-upload-submit
:hover
{
color
:
#36c
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录