ソースを参照

Merge branch 'master' of https://github.com/linlinjava/litemall

Junling Bu 6 年 前
コミット
c4b6e64ce1
1 ファイル変更4 行追加1 行削除
  1. 4 1
      litemall-admin/src/views/goods/list.vue

+ 4 - 1
litemall-admin/src/views/goods/list.vue

@@ -62,7 +62,7 @@
       <el-table-column align="center" label="详情" prop="detail">
         <template slot-scope="scope">
           <el-dialog :visible.sync="detailDialogVisible" title="商品详情">
-            <div v-html="goodsDetail" />
+            <div class="goods-detail-box" v-html="goodsDetail" />
           </el-dialog>
           <el-button type="primary" size="mini" @click="showDetail(scope.row.detail)">查看</el-button>
         </template>
@@ -123,6 +123,9 @@
     width: 80px;
     margin-right: 10px;
   }
+  .goods-detail-box img {
+    width: 100%;
+  }
 </style>
 
 <script>