Commit 09015c8f3056a71d1b3ad322a978f1990c0f8440

Authored by liuqimichale
1 parent eb6d1150

title 总计 简单封装

src/assets/img/bg.jpg 0 → 100644

157 KB

src/assets/img/headerbg.svg 0 → 100644
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
  3 +<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  4 + viewBox="0 0 1346 57.9" style="enable-background:new 0 0 1346 57.9;" xml:space="preserve">
  5 +<style type="text/css">
  6 + .st0{fill-rule:evenodd;clip-rule:evenodd;fill:url(#XMLID_2_);}
  7 + .st1{opacity:0.52;fill-rule:evenodd;clip-rule:evenodd;fill:url(#XMLID_3_);}
  8 +</style>
  9 +<linearGradient id="XMLID_2_" gradientUnits="userSpaceOnUse" x1="1.101289e-07" y1="28.304" x2="1346" y2="28.304">
  10 + <stop offset="0" style="stop-color:#157ADB;stop-opacity:0"/>
  11 + <stop offset="0.1964" style="stop-color:#157ADB"/>
  12 + <stop offset="0.4997" style="stop-color:#157ADB"/>
  13 + <stop offset="0.7741" style="stop-color:#157ADB"/>
  14 + <stop offset="1" style="stop-color:#157ADB;stop-opacity:0"/>
  15 +</linearGradient>
  16 +<path id="XMLID_67_" class="st0" d="M914,29h-1l-6-12h1l5.5,11H1346v1H914z M892,17h7l6,12h-7L892,17z M877,17h7l6,12h-7L877,17z
  17 + M862,17h7l6,12h-7L862,17z M853,29h-16.5l-13.7,18.3l-0.3,0.5l-0.6-0.1l-7.3-0.9l-5.7,9.8l-272,0l-2.1,0l-5.2-9.5l-7.3,0.9
  18 + l-0.6,0.1l-0.4-0.5L507.5,29H492h-6h-1l1-2l5-10h7l-5,10h15l0.5,0l0.3,0.4l13.7,18.5l7.4-0.9l0.7-0.1l0.3,0.6l5,9.1l0.1,0h271.9
  19 + l5.2-9.4l0.3-0.6l0.7,0.1l7.4,0.9l13.7-18.2l0.3-0.4l0.5,0H852l-5-10h7l6,12L853,29L853,29z M826.5,2H516.2l-6.3,14.4l-1.8-0.8
  20 + L515,0h1h311h0.2l0.7,0l7.1,16.2l-1.9,0.8L826.5,2z M470,29l6-12h7l-6,12H470z M455,29l6-12h7l-6,12H455z M440,29l6-12h7l-6,12H440z
  21 + M432,29H0v-1h432.5l5.5-11h1l-6,12H432z"/>
  22 +<linearGradient id="XMLID_3_" gradientUnits="userSpaceOnUse" x1="671.5" y1="49" x2="671.5" y2="-15.4326">
  23 + <stop offset="0" style="stop-color:#2342C4;stop-opacity:0"/>
  24 + <stop offset="0.8616" style="stop-color:#2342C4"/>
  25 + <stop offset="1" style="stop-color:#2342C4"/>
  26 +</linearGradient>
  27 +<path id="XMLID_78_" class="st1" d="M518.5,2l-7,15l16,22h6l6,10h266l7-11h6l13-21l-7-15H518.5z"/>
  28 +</svg>
... ...
src/components/headerCommon.vue
... ... @@ -20,6 +20,7 @@ export default {
20 20 .headercommon {
21 21 width: 100%;
22 22 height: 77px;
  23 + /*background: url("../assets/img/headerbg.svg");*/
23 24 background: #f00;
24 25 }
25 26 </style>
... ...
src/styles/reset.css
... ... @@ -42,6 +42,8 @@ body {
42 42 html, body {
43 43 width: 100%;
44 44 height: 100%;
  45 + background: url("../assets/img/bg.jpg") no-repeat;
  46 + background-size: 100% 100%;
45 47 overflow: hidden;
46 48 }
47 49  
... ...