Commit 7b5fbd13ad26ed5dd15b363009948b0662a1d4b7
1 parent
e35c8bc3
样式优化
Showing
2 changed files
with
10 additions
and
14 deletions
src/components/shopDarenHot/shopDarenHot.less
src/pages/newDaren/newDaren.vue
| @@ -8,8 +8,15 @@ | @@ -8,8 +8,15 @@ | ||
| 8 | }"> | 8 | }"> |
| 9 | </swiper> | 9 | </swiper> |
| 10 | <!--达人信息--> | 10 | <!--达人信息--> |
| 11 | - <shopDatenTop v-if="shopDatenTop" :shopDatenTop="shopDatenTop"></shopDatenTop> | 11 | + <shop-daten-top :shopDatenTop="shopDatenTop"></shop-daten-top> |
| 12 | <!--推荐达人--> | 12 | <!--推荐达人--> |
| 13 | + <!-- 最新动态标题 --> | ||
| 14 | + <text-title-box slot="title-box" @more="newDarenDynamicsMore" | ||
| 15 | + :titles="{ | ||
| 16 | + title: '推荐达人', | ||
| 17 | + more: true | ||
| 18 | + }"> | ||
| 19 | + </text-title-box> | ||
| 13 | <!--导航--> | 20 | <!--导航--> |
| 14 | <horiz-list class="components-box" v-if="shopDarenHot && shopDarenHot.length" @jump="jump" | 21 | <horiz-list class="components-box" v-if="shopDarenHot && shopDarenHot.length" @jump="jump" |
| 15 | :lists="shopDarenHot" | 22 | :lists="shopDarenHot" |
| @@ -27,18 +34,6 @@ | @@ -27,18 +34,6 @@ | ||
| 27 | }"> | 34 | }"> |
| 28 | </text-title-box> | 35 | </text-title-box> |
| 29 | </daren-list-box> | 36 | </daren-list-box> |
| 30 | - | ||
| 31 | - | ||
| 32 | - | ||
| 33 | - | ||
| 34 | - | ||
| 35 | - | ||
| 36 | - | ||
| 37 | - | ||
| 38 | - | ||
| 39 | - | ||
| 40 | - | ||
| 41 | - | ||
| 42 | </div> | 37 | </div> |
| 43 | </template> | 38 | </template> |
| 44 | 39 | ||
| @@ -134,7 +129,7 @@ | @@ -134,7 +129,7 @@ | ||
| 134 | this.banner.push(datas.shop_daten_ads) | 129 | this.banner.push(datas.shop_daten_ads) |
| 135 | // 设置shopDatenTop置顶达人数据 | 130 | // 设置shopDatenTop置顶达人数据 |
| 136 | 131 | ||
| 137 | - if (datas.shop_daten_top && datas.shop_daten_top.length) { | 132 | + if (datas.shop_daten_top) { |
| 138 | this.$set(this, "shopDatenTop", datas.shop_daten_top); | 133 | this.$set(this, "shopDatenTop", datas.shop_daten_top); |
| 139 | } | 134 | } |
| 140 | // 设置shopDarenHot达人推荐数据 | 135 | // 设置shopDarenHot达人推荐数据 |