图片预览弹窗宽度控制

This commit is contained in:
灌糖包子 2023-01-15 17:50:33 +08:00
parent 224ebbc5ec
commit 7100bed3f5
Signed by: sookie
GPG Key ID: 0599BECB75C1E68D
2 changed files with 2 additions and 2 deletions

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}` }, ''),
showCancelButton: false,
confirmButtonText: '关闭',
customStyle: {width: '600px'}
customStyle: {width: '530px', maxWidth: 'unset'}
}).catch(() => {})
}
created() {

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}` }, ''),
showCancelButton: false,
confirmButtonText: '关闭',
customStyle: {width: '530px'}
customStyle: {width: '530px', maxWidth: 'unset'}
}).catch(() => {})
}
modifyTags(item: SourceImageModel): void {