频道页面轮播图修改

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,5 +1,5 @@
<template>
<pageTopBar :bannerList="bannerList.data"></pageTopBar>
<pageTopBar :bannerList="bannerList.data.apartment"></pageTopBar>
<!-- 筛选 -->
<div class="screen-box wid1200">
<seach-module @handleTransfer="handleTransfer" :count="listCount"></seach-module>
@@ -145,7 +145,7 @@ const handleTransfer = (data) => {
//轮播
let bannerList = reactive({ data: [] })
let banner = () => {
proxy.$get("/tenement/pc/api/banner",{ type: 'home' }).then(res => {
proxy.$get("/tenement/pc/api/banner").then(res => {
if (res.code === 200) {
bannerList.data = res.data
}