Commit cc64d9c3 authored by lixy's avatar lixy

百度商桥、首页banner适应、首页车型轮播

parent 636e5733
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="box"> <div class="box">
<ul> <ul>
<li v-for="(item, index) in list" :key="item.id" :class="index === current ? 'active' : ''" @click="bannerClick(index, item)"> <li v-for="(item, index) in list" :key="item.id" :class="index === current ? 'active' : ''" @click="bannerClick(index, item)">
<img :src= "item.cover" style="width:100%;min-height: 350px;" :alt="item.title"/> <img :src= "item.cover" style="width:100%;height:100%;min-height: 350px;" :alt="item.title"/>
</li> </li>
</ul> </ul>
<div class="status"> <div class="status">
......
...@@ -15,7 +15,6 @@ module.exports = { ...@@ -15,7 +15,6 @@ module.exports = {
], ],
script: [ script: [
{ src: 'https://dev.dfangche.com/h5/appHtml/js/util.js' }, { src: 'https://dev.dfangche.com/h5/appHtml/js/util.js' },
{src: 'https://hm.baidu.com/hm.js?672a607e77e242a0b9a090f5aaab7f33'}
], ],
}, },
css: [ css: [
...@@ -30,7 +29,7 @@ module.exports = { ...@@ -30,7 +29,7 @@ module.exports = {
{ src: '~plugins/muse-ui.js', ssr: true }, { src: '~plugins/muse-ui.js', ssr: true },
{ src: '~plugins/filters.js', srr: false }, { src: '~plugins/filters.js', srr: false },
{ src: '~/plugins/elementUI.js', srr: false }, { src: '~/plugins/elementUI.js', srr: false },
{ src: '~/plugins/baidu.js', srr: true },
], ],
build: { build: {
extend(config, { isDev, isClient }) { extend(config, { isDev, isClient }) {
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="flex-fdc-jcc vehicle-container vehicle-bg" style="padding: 30px 0;background-position: bottom;"> <div class="flex-fdc-jcc vehicle-container vehicle-bg" style="padding: 30px 0 155px 0;background-position: bottom;">
<div class="tc title">热门房车 <span style="font-size: 16px;margin: 0 5px;"></span> 多款房车任你选择</div> <div class="tc title">热门房车 <span style="font-size: 16px;margin: 0 5px;"></span> 多款房车任你选择</div>
<div class="flex-aic-jcb more-container"> <div class="flex-aic-jcb more-container">
<div style="width: 1160px;text-align: center"> <div style="width: 1160px;text-align: center">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment