Commit 30664302 authored by zaoangod's avatar zaoangod
Browse files

fix[litemall-admin]: 修复查看商品详情时, 图片溢出

parent 52c0f60d
......@@ -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