Commit 7a5ccdccce9ee06c784d8a8ed1b38e9dd33bec0f

Authored by liuqimichale
1 parent 498a170e

企业

webintroduce/src/assets/css/variables.scss
... ... @@ -7,3 +7,5 @@ $contentWidth: 1200;
7 7 $baseWhiteBg: #fff;
8 8  
9 9 $baseGrayBg: #f5f5f5;
  10 +
  11 +$baseBannerHeight:601px;
... ...
webintroduce/src/views/enterprise.vue
1 1 <template>
2 2 <div>
3   - 企业介绍
  3 + <div class="banner"></div>
4 4  
5 5 </div>
6 6 </template>
... ... @@ -12,5 +12,9 @@ export default {
12 12 </script>
13 13  
14 14 <style scoped lang="scss">
15   -
  15 +.banner{
  16 + height: $baseBannerHeight;
  17 + background: url("../assets/images/enterprise/banner.png") no-repeat;
  18 + background-size: 100% 100%;
  19 +}
16 20 </style>
... ...