|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<!-- 顶部广告图 -->
|
|
|
- <div v-if="topAdvertise" class="banner" :style="{'background': 'url('+topAdvertise+') no-repeat'}"></div>
|
|
|
+ <div v-if="topAdvertise" class="banner" :style="{'background-image': 'url('+topAdvertise+')'}"></div>
|
|
|
<div class="stickyBox py-5">
|
|
|
<headSearch @handleSearch="handleSearch"></headSearch>
|
|
|
</div>
|
|
@@ -192,6 +192,7 @@ onMounted(async () => {
|
|
|
width: 100%;
|
|
|
height: 110px;
|
|
|
// background: url("@/assets/headerBg.jpg") no-repeat;
|
|
|
+ background-position: no-repeat;
|
|
|
background-size: contain;
|
|
|
}
|
|
|
.common-width {
|