Commit c4b6e64c authored by Junling Bu's avatar Junling Bu
Browse files

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

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