Commit 7a5ccdccce9ee06c784d8a8ed1b38e9dd33bec0f
1 parent
498a170e
企业
Showing
2 changed files
with
8 additions
and
2 deletions
webintroduce/src/assets/css/variables.scss
webintroduce/src/views/enterprise.vue
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | - 企业介绍 | 3 | + <div class="banner"></div> |
4 | 4 | ||
5 | </div> | 5 | </div> |
6 | </template> | 6 | </template> |
@@ -12,5 +12,9 @@ export default { | @@ -12,5 +12,9 @@ export default { | ||
12 | </script> | 12 | </script> |
13 | 13 | ||
14 | <style scoped lang="scss"> | 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 | </style> | 20 | </style> |