diff --git a/api/v2Home.js b/api/v2Home.js index decbd4db..4cd47d0a 100644 --- a/api/v2Home.js +++ b/api/v2Home.js @@ -1,3 +1,6 @@ export const apiArr = { - getCateList:"/api/v2/wechat/merchant-cate-crud/list", //小区房源列表 - }; \ No newline at end of file + getCateList: "/api/v2/wechat/merchant-cate-crud/list", //小区房源列表 + getHomeBanner: "/api/v2/wechat/home-banner-region-crud/page", //获取首页banner及其广告 + getButtonNum:"/api/v2/wechat/nav-display-crud/info",//获取首页button的行数 数量 + getHomeButton:"/api/v2/wechat/home-button-region-crud/page", //获取首页button +}; \ No newline at end of file diff --git a/pages/index/index.css b/pages/index/index.css index 651e0e6e..a1a499a3 100644 --- a/pages/index/index.css +++ b/pages/index/index.css @@ -41,6 +41,11 @@ page { margin: 0 auto; margin-top: 30rpx; position: relative; + border-radius: 20rpx; + overflow: hidden; +} +.swiper swiper{ + height: 100%; } .margin_top20 { @@ -155,6 +160,11 @@ page { height: 369rpx; margin-right: 17rpx; } + +.serverList_left swiper{ + height: 100%; +} + .serverList_right { flex: 1; display: flex; diff --git a/pages/index/index.vue b/pages/index/index.vue index c9225ef8..3b3556dc 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,12 +1,12 @@