Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
2fc7788a
Unverified
Commit
2fc7788a
authored
Dec 08, 2019
by
linlinjava
Committed by
GitHub
Dec 08, 2019
Browse files
Merge pull request #305 from zaoangod/master
fix[litemall-admin]: 修复查看商品详情时, 图片溢出
parents
52c0f60d
30664302
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/goods/list.vue
View file @
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
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment