Commit 33621c23b63a4d56a134e1d8b0256d968388bd74

Authored by zhiyangdu
1 parent c9e831cc

init

Showing 1 changed file with 9 additions and 11 deletions
src/pages/newDaren/newDaren.vue
... ... @@ -11,7 +11,7 @@
11 11 <shop-daten-top v-if="shopDatenTop" @userJump="userJump" :shopDatenTop="shopDatenTop"></shop-daten-top>
12 12 <!--推荐达人-->
13 13 <!-- 最新动态标题 -->
14   - <text-title-box slot="title-box" @more="newDarenDynamicsMore"
  14 + <text-title-box v-if="shopDarenHot && shopDarenHot.length" slot="title-box" @more="newDarenDynamicsMore"
15 15 :titles="{
16 16 title: '推荐达人',
17 17 more: true
... ... @@ -27,21 +27,13 @@
27 27 :lists="fansDaren">
28 28  
29 29 <!-- 最新动态标题 -->
30   - <text-title-box slot="title-box" @more="fansDarenMore"
  30 + <text-title-box v-if="fansDaren&&fansDaren.length" slot="title-box" @more="fansDarenMore"
31 31 :titles="{
32 32 title: '已关注达人',
33 33 more: true
34 34 }">
35 35 </text-title-box>
36 36 </daren-list-box>
37   - <!--最新达人动态-->
38   - <!-- 最新动态标题 -->
39   - <text-title-box slot="title-box" @more="newDarenDynamicsMore"
40   - :titles="{
41   - title: '最新达人动态',
42   - more: false
43   - }">
44   - </text-title-box>
45 37 <div class="item_box">
46 38 <div
47 39 infinite-scroll-immediate-check="true"
... ... @@ -50,7 +42,13 @@
50 42 :infinite-scroll-distance="50">
51 43 <daren-list-box class="daren-list" @userJump="userJump" @jump="jump" @goodsJump="goodsJump" @goodsPrimary="goodsPrimary"
52 44 :lists="shopFnsDynamic">
53   -
  45 + <!--最新达人动态-->
  46 + <text-title-box v-if="shopFnsDynamic&&shopFnsDynamic.length" slot="title-box" @more="newDarenDynamicsMore"
  47 + :titles="{
  48 + title: '最新达人动态',
  49 + more: false
  50 + }">
  51 + </text-title-box>
54 52 </daren-list-box>
55 53 </div>
56 54 </div>
... ...