频道页面轮播图修改

This commit is contained in:
2023-08-08 18:45:52 +08:00
parent 8cea7d4670
commit 2228ba1777
5 changed files with 9 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="box-min-1200-src">
<pageTopBar :bannerList="bannerList.data"></pageTopBar>
<pageTopBar :bannerList="bannerList.data.intermediaryHousing"></pageTopBar>
<seachModule :count="dataList.count" :getDataList="setSeachSelectData"></seachModule>
<div class="dis-f jus-x al-item">
<div class="body-maxWidth mg-t-35" >
@@ -54,7 +54,7 @@ provide('count', dataCount)
//轮播
let bannerList = reactive({ data: [] })
let banner = () => {
api.banner({ type: 'home' }).then(res => {
api.banner().then(res => {
if (res.code === 200) {
bannerList.data = res.data
}