vaecebyZ 11 mesiacov pred
rodič
commit
e708b9e0ef
1 zmenil súbory, kde vykonal 6 pridanie a 2 odobranie
  1. 6 2
      study/community/goods.vue

+ 6 - 2
study/community/goods.vue

@@ -12,7 +12,7 @@
             <view class="user-info">
               <!-- <image class="head" :src="item.goodsPath"></image> -->
               <view class="user-name">
-                {{ item.shopName }}
+                {{ item.goodsDescribe }}
               </view>
             </view>
             <view class="price-box">
@@ -47,7 +47,7 @@
             <view class="user-info">
               <!-- <image class="head" :src="item.goodsPath" mode=""></image> -->
               <view class="user-name">
-                {{ item.shopName }}
+                {{ item.goodsDescribe }}
               </view>
             </view>
             <view class="price-box">
@@ -196,7 +196,11 @@ export default {
           .user-name {
             color: #AAAAAA;
             font-size: 24rpx;
+            display: -webkit-box;
+            -webkit-box-orient: vertical;
+            -webkit-line-clamp: 1;
             overflow: hidden;
+            text-overflow: ellipsis;
             // margin-left: 12rpx;
           }
         }