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,7 +11,7 @@
11 <shop-daten-top v-if="shopDatenTop" @userJump="userJump" :shopDatenTop="shopDatenTop"></shop-daten-top> 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 :titles="{ 15 :titles="{
16 title: '推荐达人', 16 title: '推荐达人',
17 more: true 17 more: true
@@ -27,21 +27,13 @@ @@ -27,21 +27,13 @@
27 :lists="fansDaren"> 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 :titles="{ 31 :titles="{
32 title: '已关注达人', 32 title: '已关注达人',
33 more: true 33 more: true
34 }"> 34 }">
35 </text-title-box> 35 </text-title-box>
36 </daren-list-box> 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 <div class="item_box"> 37 <div class="item_box">
46 <div 38 <div
47 infinite-scroll-immediate-check="true" 39 infinite-scroll-immediate-check="true"
@@ -50,7 +42,13 @@ @@ -50,7 +42,13 @@
50 :infinite-scroll-distance="50"> 42 :infinite-scroll-distance="50">
51 <daren-list-box class="daren-list" @userJump="userJump" @jump="jump" @goodsJump="goodsJump" @goodsPrimary="goodsPrimary" 43 <daren-list-box class="daren-list" @userJump="userJump" @jump="jump" @goodsJump="goodsJump" @goodsPrimary="goodsPrimary"
52 :lists="shopFnsDynamic"> 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 </daren-list-box> 52 </daren-list-box>
55 </div> 53 </div>
56 </div> 54 </div>