瀏覽代碼

优化商户头像

lishanshan 6 月之前
父節點
當前提交
0aa9efa841
共有 1 個文件被更改,包括 9 次插入1 次删除
  1. 9 1
      src/views/weGroupFission/modules/CompPreview.vue

+ 9 - 1
src/views/weGroupFission/modules/CompPreview.vue

@@ -47,7 +47,9 @@
                 </div>
                 <div class="info-right">
                     <div class="brand">
-                        <!-- <div class="brand-logo" style="background: #eee;"></div> -->
+                        <div class="brand-logo" style="background: #eee;">
+                            <img :src="`${formData.merchantLogo}`" class="merchant-logo" />
+                        </div>
                         <span>{{ formData.merchantName || '--' }}</span>
                     </div>
                     <div class="date-tag">{{ formData.timeRange && Array.isArray(formData.timeRange) ? formData.timeRange.join(' ~ ') : '?? ~ ??' }}</div>
@@ -302,6 +304,12 @@ export default {
                     height: 22px;
                     margin-right: 6px;
                     border-radius: 50%;
+
+                    .merchant-logo {
+                      width: 100%;
+                      height: 100%;
+                      border-radius: 50%;
+                    }
                 }
             }