切换导航条
此项目
正在载入...
登录
何书鹏
/
recruit
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
Karson
5 years ago
提交
36d762fc813f58c6d583c62f2d8c3af4681edd86
1 个父辈
4f7b083e
优化跳转和错误页面样式
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
7 行删除
application/common/view/tpl/dispatch_jump.tpl
application/common/view/tpl/think_exception.tpl
application/common/view/tpl/dispatch_jump.tpl
查看文件 @
36d762f
...
...
@@ -7,10 +7,10 @@
<link
rel=
"shortcut icon"
href=
"__CDN__/assets/img/favicon.ico"
/>
<style
type=
"text/css"
>
*
{
box-sizing
:
border-box
;
margin
:
0
;
padding
:
0
;
font-family
:
Lantinghei
SC
,
Open
Sans
,
Arial
,
Hiragino
Sans
GB
,
Microsoft
YaHei
,
"微软雅黑"
,
STHeiti
,
WenQuanYi
Micro
Hei
,
SimSun
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
}
body
{
padding
:
70px
0
;
background
:
#edf1f4
;
font-weight
:
400
;
font-size
:
1pc
;
-webkit-text-size-adjust
:
none
;
color
:
#333
}
body
{
padding
:
70px
50px
;
background
:
#edf1f4
;
font-weight
:
400
;
font-size
:
1pc
;
-webkit-text-size-adjust
:
none
;
color
:
#333
}
a
{
outline
:
0
;
color
:
#3498db
;
text-decoration
:
none
;
cursor
:
pointer
}
.system-message
{
margin
:
20px
5%
;
padding
:
40px
20px
;
background
:
#fff
;
box-shadow
:
1px
1px
1px
hsla
(
0
,
0%
,
39%
,
.1
);
text-align
:
center
}
.system-message
h1
{
margin
:
0
;
margin-bottom
:
9pt
;
color
:
#444
;
font-weight
:
400
;
font-size
:
40px
}
.system-message
{
margin
:
20px
auto
;
padding
:
50px
0px
;
background
:
#fff
;
box-shadow
:
0
0
30px
hsla
(
0
,
0%
,
39%
,
.06
);
text-align
:
center
;
width
:
100%
;
border-radius
:
2px
;}
.system-message
h1
{
margin
:
0
;
margin-bottom
:
9pt
;
color
:
#444
;
font-weight
:
400
;
font-size
:
30px
}
.system-message
.jump
,
.system-message
.image
{
margin
:
20px
0
;
padding
:
0
;
padding
:
10px
0
;
font-weight
:
400
}
.system-message
.jump
{
font-size
:
14px
}
.system-message
.jump
a
{
color
:
#333
}
...
...
@@ -22,15 +22,15 @@
.copyright
p
{
width
:
100%
;
color
:
#919191
;
text-align
:
center
;
font-size
:
10px
}
.system-message
.btn-grey
{
border-color
:
#bbb
;
color
:
#bbb
}
.clearfix
:after
{
clear
:
both
;
display
:
block
;
visibility
:
hidden
;
height
:
0
;
content
:
"."
}
@media
(
max-width
:
768px
){
body
{
padding
:
20px
0
;}}
@media
(
max-width
:
480px
){
.system-message
h1
{
font-size
:
30px
;}}
@media
(
max-width
:
768px
){
body
{
padding
:
20px
;}}
@media
(
max-width
:
480px
){
.system-message
h1
{
font-size
:
30px
;}}
</style>
</head>
<body>
{php}$codeText=$code == 1 ? 'success' : ($code == 0 ? 'error' : 'info');{/php}
<div
class=
"system-message {$codeText}"
>
<div
class=
"image"
>
<img
src=
"__CDN__/assets/img/{$codeText}.svg"
alt=
""
width=
"1
5
0"
/>
<img
src=
"__CDN__/assets/img/{$codeText}.svg"
alt=
""
width=
"1
2
0"
/>
</div>
<h1>
{$msg}
</h1>
{if $url}
...
...
application/common/view/tpl/think_exception.tpl
查看文件 @
36d762f
...
...
@@ -44,7 +44,7 @@ $langSet == 'en' && $lang = array_combine(array_keys($lang), array_keys($lang));
.clearfix
:before
,
.clearfix
:after
{
content
:
"\0020"
;
display
:
block
;
height
:
0
;
visibility
:
hidden
;}
.clearfix
:after
{
clear
:
both
;}
body
.error-page-wrapper
,
.error-page-wrapper.preview
{
background-position
:
center
center
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
position
:
relative
;}
.error-page-wrapper
.content-container
{
border-radius
:
2px
;
text-align
:
center
;
box-shadow
:
1px
1px
1px
rgba
(
99
,
99
,
99
,
0.1
);
padding
:
50px
;
background-color
:
#fff
;
width
:
100%
;
max-width
:
560px
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
margin-top
:
-220px
;
margin-left
:
-280px
;}
.error-page-wrapper
.content-container
{
border-radius
:
2px
;
text-align
:
center
;
box-shadow
:
0
0
30px
rgba
(
99
,
99
,
99
,
0.06
);
padding
:
50px
;
background-color
:
#fff
;
width
:
100%
;
max-width
:
560px
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
margin-top
:
-220px
;
margin-left
:
-280px
;}
.error-page-wrapper
.content-container.in
{
left
:
0px
;
opacity
:
1
;}
.error-page-wrapper
.head-line
{
transition
:
color
.2s
linear
;
font-size
:
40px
;
line-height
:
60px
;
letter-spacing
:
-1px
;
margin-bottom
:
20px
;
color
:
#777
;}
.error-page-wrapper
.subheader
{
transition
:
color
.2s
linear
;
font-size
:
32px
;
line-height
:
46px
;
color
:
#494949
;}
...
...
请
注册
或
登录
后发表评论