Authored by xuqi

404 err

@@ -10,6 +10,7 @@ $pxConvertRem: 40; @@ -10,6 +10,7 @@ $pxConvertRem: 40;
10 html, body { 10 html, body {
11 font-family: helvetica,Arial,"黑体"; 11 font-family: helvetica,Arial,"黑体";
12 width: 100%; 12 width: 100%;
  13 + height: 100%;
13 font-size: 12px; 14 font-size: 12px;
14 line-height: 1.4; 15 line-height: 1.4;
15 } 16 }
  1 +.err-page {
  2 + position: relative;
  3 + height: 100%;
  4 +
  5 + .err-bg {
  6 + position: absolute;
  7 + height: 200rem / $pxConvertRem;
  8 + width: 200rem / $pxConvertRem;
  9 + top: 50%;
  10 + left: 50%;
  11 + margin-left: -100rem / $pxConvertRem;
  12 + margin-top: -100rem / $pxConvertRem;
  13 + background: image-url('404.png') no-repeat;
  14 + background-size: 100% 100%;
  15 + }
  16 +}
@@ -126,5 +126,5 @@ @@ -126,5 +126,5 @@
126 126
127 } 127 }
128 128
129 -@import "search","footer"; 129 +@import "search","footer", "error";
130 130
  1 +{{> layout/header}}
  2 +<div class="err-page yoho-page">
  3 + <div class="err-bg"></div>
  4 +</div>
  5 +{{> layout/footer}}