Commit 61a4349ba52d3d3c3a81169776264a1d27f013c5

Authored by zhiyangdu
1 parent 1d0e5ce9

样式优化

src/components/darenListBox/darenListBox.less
... ... @@ -10,5 +10,9 @@
10 10 > .item-box + .item-box {
11 11 margin-top: 30px;
12 12 }
  13 + .borderBottom{
  14 + padding-bottom: 32px;
  15 + border-bottom: solid 1px #F2F2F2;
  16 + }
13 17 }
14   -}
15 18 \ No newline at end of file
  19 +}
... ...
src/components/darenListBox/darenListBox.vue
... ... @@ -5,9 +5,9 @@
5 5 <slot name="title-box"></slot>
6 6  
7 7 <div class="box">
8   -
  8 +
9 9 <!-- 循环输出达人动态列表 -->
10   - <div class="item-box" v-for="(item, index) in lists" :key="index">
  10 + <div class="item-box" :class="{borderBottom:lists.length>1}" v-for="(item, index) in lists" :key="index">
11 11 <daren-list-com @userJump="userJump" @jump="jump" @goodsJump="goodsJump" @goodsPrimary="goodsPrimary"
12 12 :item="item">
13 13 </daren-list-com>
... ...