diff --git a/src/components/AiEmpty/AiEmpty.vue b/src/components/AiEmpty/AiEmpty.vue index 8eaae39..01a51be 100644 --- a/src/components/AiEmpty/AiEmpty.vue +++ b/src/components/AiEmpty/AiEmpty.vue @@ -26,7 +26,7 @@ export default { diff --git a/src/project/tianfuxing/AppHome/AppHome.vue b/src/project/tianfuxing/AppHome/AppHome.vue index 06a9937..8265d1a 100644 --- a/src/project/tianfuxing/AppHome/AppHome.vue +++ b/src/project/tianfuxing/AppHome/AppHome.vue @@ -27,7 +27,11 @@ 文明榜单 - +

商家优惠

@@ -40,14 +44,14 @@
-
查看更多优惠
+
查看更多优惠
-
+

商家入驻

商家权益

- 成都市金牛区xxxx大厦成都… +

免费入驻

@@ -66,7 +70,7 @@ 商家诉求收集汇总反馈
-
查看更多优惠
+
我是商家,我要入驻
@@ -87,6 +91,7 @@ isMore: false, isFixed: false, statusBarHeight: 20, + bannerList: [] } }, @@ -102,11 +107,23 @@ } this.getList() + this.getBannerList() }, methods: { ...mapActions(['autoLogin', 'getUserInfo']), + getBannerList () { + this.$instance.post(`/api/appbanner/getList`, null, { + withoutToken: true + }).then(res => { + if (res.code === 0) { + this.bannerList = res.data + } + }).catch(() => { + }) + }, + getList () { this.$instance.post(`/api/appmerchantinfo/discountList`, null, { withoutToken: true, @@ -317,8 +334,15 @@ display: block; width: 686px; height: 352px; - margin: 0 auto 32rpx; + margin: 0 auto 32px; border-radius: 8px; + overflow: hidden; + + image { + width: 686px; + height: 352px; + border-radius: 8px; + } } .nav { diff --git a/src/project/tianfuxing/AppHome/Ranking.vue b/src/project/tianfuxing/AppHome/Ranking.vue index 245232b..6e7bd0d 100644 --- a/src/project/tianfuxing/AppHome/Ranking.vue +++ b/src/project/tianfuxing/AppHome/Ranking.vue @@ -18,9 +18,9 @@
- 个人榜单 - 社区榜单 - 小区榜单 + 个人榜单 + 社区榜单 + 小区榜单
@@ -29,14 +29,15 @@ 积分
-
+
{{ index + 1 }}
- -

卓嘉娣

+ +

{{ item.name }}

- 1,325 + {{ item.integral || 0 }}
+
@@ -44,168 +45,69 @@