shish 2 ماه پیش
والد
کامیت
af7b6aebe7
1فایلهای تغییر یافته به همراه14 افزوده شده و 2 حذف شده
  1. 14 2
      hdApp/src/admin/home/components/mall-home-panel.vue

+ 14 - 2
hdApp/src/admin/home/components/mall-home-panel.vue

@@ -8,7 +8,7 @@
             <view class="brand-mark">
               <zui-svg-icon icon="home-flour" :width="36" :height="36" />
             </view>
-            <view>
+            <view class="brand-info">
               <view class="brand-name">{{ shopInfo.merchantName || '' }}</view>
               <view class="brand-desc">{{ shopInfo.shopName||'' }} · 店铺管理</view>
             </view>
@@ -515,8 +515,15 @@ export default {
 .brand-box {
   display: flex;
   align-items: center;
-  width: 250upx;
+  width: 480upx;
   color: #fff;
+  overflow: hidden;
+}
+
+.brand-info {
+  flex: 1;
+  min-width: 0;
+  overflow: hidden;
 }
 
 .brand-mark {
@@ -539,6 +546,9 @@ export default {
   font-size: 34upx;
   font-weight: 800;
   line-height: 1.2;
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
 }
 
 .brand-desc {
@@ -546,6 +556,8 @@ export default {
   font-size: 20upx;
   color: rgba(255, 255, 255, 0.88);
   white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
 }
 
 .hero-actions {