Commit 7b5fbd13ad26ed5dd15b363009948b0662a1d4b7

Authored by zhiyangdu
1 parent e35c8bc3

样式优化

src/components/shopDarenHot/shopDarenHot.less
1 .recommendDaren{ 1 .recommendDaren{
2 padding: 0 15px; 2 padding: 0 15px;
3 display: flex; 3 display: flex;
  4 + margin-top: 30px;
4 .daren_box{ 5 .daren_box{
5 width:210px; 6 width:210px;
6 height:auto; 7 height:auto;
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达人推荐数据