|
|
@@ -4,7 +4,7 @@ |
|
|
|
<van-col span="2"> |
|
|
|
<van-image src="../../static/images/index/logo.png" /> |
|
|
|
</van-col> |
|
|
|
<van-col span="22" style="line-height: 29px;font-size: 20px;">农村产权交易服务平台</van-col> |
|
|
|
<van-col span="22" style="line-height: 29px;font-size: 20px;">{{titleHead}}</van-col> |
|
|
|
</van-row> |
|
|
|
<van-swipe class="my-swipe" :autoplay="3000" height="180" indicator-color="white" :show-indicators="false"> |
|
|
|
<van-swipe-item v-for="(item,index) in bannerList" :key="index"> |
|
|
@@ -68,7 +68,7 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import { newList } from "@/api/index"; |
|
|
|
import { newList,websiteConfig } from "@/api/index"; |
|
|
|
export default { |
|
|
|
name: "index", |
|
|
|
data() { |
|
|
@@ -87,11 +87,15 @@ export default { |
|
|
|
//新闻集合 |
|
|
|
newList:[], |
|
|
|
//轮播图集合 |
|
|
|
bannerList:'' |
|
|
|
bannerList:'', |
|
|
|
titleHead:'农村产权交易服务平台' |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
|
//this.getList(); |
|
|
|
websiteConfig().then(response => { |
|
|
|
this.titleHead = response.data[0].configValue; |
|
|
|
}); |
|
|
|
this.getBanner(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|