"jshERP-boot/vscode:/vscode.git/clone" did not exist on "5df71b26db366902a9abb21040fca0854cd4c409"
Unverified Commit 2fc7788a authored by linlinjava's avatar linlinjava Committed by GitHub
Browse files

Merge pull request #305 from zaoangod/master

fix[litemall-admin]: 修复查看商品详情时, 图片溢出
parents 52c0f60d 30664302
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment