图片预览弹窗宽度控制

This commit is contained in:
2023-01-15 17:50:33 +08:00
parent 224ebbc5ec
commit 7100bed3f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ export default class PhotoWall extends BaseList<PhotoWallPage> {
message: h('img', { style: `width:500px;height:${previewHeight}px;`, src: `${pictureCdn}/${row.name}` }, ''), message: h('img', { style: `width:500px;height:${previewHeight}px;`, src: `${pictureCdn}/${row.name}` }, ''),
showCancelButton: false, showCancelButton: false,
confirmButtonText: '关闭', confirmButtonText: '关闭',
customStyle: {width: '600px'} customStyle: {width: '530px', maxWidth: 'unset'}
}).catch(() => {}) }).catch(() => {})
} }
created() { created() {
+1 -1
View File
@@ -155,7 +155,7 @@ export default class SourceImage extends BaseList<Page> {
message: h('img', { style: `width:500px`, src: `/api/v1/common/randomBg?id=${row._id}` }, ''), message: h('img', { style: `width:500px`, src: `/api/v1/common/randomBg?id=${row._id}` }, ''),
showCancelButton: false, showCancelButton: false,
confirmButtonText: '关闭', confirmButtonText: '关闭',
customStyle: {width: '530px'} customStyle: {width: '530px', maxWidth: 'unset'}
}).catch(() => {}) }).catch(() => {})
} }
modifyTags(item: SourceImageModel): void { modifyTags(item: SourceImageModel): void {