修改页面显示

This commit is contained in:
2025-08-29 11:49:11 +08:00
parent 17f6c8bdaa
commit e9c03666dc
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -419,7 +419,7 @@
for (let i = 0; i < result.length; i++) {
// 只留一个remark
remark = "";
html += '<div><img style="width:' + result[0].imgWidth + 'px" src="' + result[i].imgUrl + '"></div>';
html += '<div><img style="width:100%;height: 100%;object-fit: contain" src="' + result[i].imgUrl + '"></div>';
remark += '<div><span>' + result[i].remark + '<span/></div>';
}
$("#carousel").append(html);