Commit d1786ec4223e9b0a286499a386441a297f5ee910

Authored by zhiyangdu
1 parent f7f20ca8

积分商城裂变样式调优

src/components/goodsItem_7/goodsItem_7.less
... ... @@ -154,8 +154,15 @@
154 154 font-weight: 400;
155 155 color: #FC1541;
156 156 line-height: 42px;
  157 + overflow: hidden;
  158 + text-overflow: ellipsis;
  159 + white-space: nowrap;
157 160 }
158 161 }
  162 + /*兼容积分商城样式*/
  163 + .integral-content-box{
  164 + width: 100%;
  165 + }
159 166 &.g-2 {
160 167 .content-box {
161 168 .title {
... ...
src/components/goodsItem_7/goodsItem_7.vue
... ... @@ -17,7 +17,7 @@
17 17 <!-- 角标 -->
18 18 <slot name="flag"></slot>
19 19 </div>
20   - <div class="content-box">
  20 + <div class="content-box" :class="{'integral-content-box':company == 1}">
21 21 <div class="title" :class="{'grey-title':company == 2}">{{item.title}}</div>
22 22 <!-- <div class="coupon-box">
23 23 满180减10
... ...