Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
2015-10-30 18:45:01 +0800
Commit
583f47e84f589ff648120b5fbd7b67da58a35e81
2 parents
df483bda
c3c4512f
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
static/sass/index.scss
static/sass/index/_error.scss
yohobuy/m.yohobuy.com/application/controllers/Error.php
static/sass/index.scss
View file @
583f47e
...
...
@@ -10,7 +10,6 @@ $pxConvertRem: 40;
html
,
body
{
font-family
:
helvetica
,
Arial
,
"黑体"
;
width
:
100%
;
height
:
100%
;
font-size
:
12px
;
line-height
:
1
.4
;
}
...
...
static/sass/index/_error.scss
View file @
583f47e
.err-page
{
position
:
relative
;
height
:
100%
;
.err-bg
{
position
:
absolute
;
.err-page
.err-bg
{
position
:
fixed
;
height
:
200rem
/
$pxConvertRem
;
width
:
200rem
/
$pxConvertRem
;
top
:
50%
;
...
...
@@ -12,5 +8,4 @@
margin-top
:
-100rem
/
$pxConvertRem
;
background
:
image-url
(
'404.png'
)
no-repeat
;
background-size
:
100%
100%
;
}
}
\ No newline at end of file
...
...
yohobuy/m.yohobuy.com/application/controllers/Error.php
View file @
583f47e
...
...
@@ -15,6 +15,7 @@ class ErrorController extends AbstractAction
{
header
(
'HTTP/1.1 404 Not Found'
);
header
(
'Status: 404 Not Found'
);
$this
->
_view
->
display
(
'index'
);
}
public
function
errorAction
(
$exception
)
...
...
Please
register
or
login
to post a comment