图片修改

This commit is contained in:
2025-05-28 10:27:04 +08:00
parent bd150fc745
commit 0b0cd06589
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -124,8 +124,8 @@
<div class="layui-form-item">
<label class="layui-form-label"><?= $translations['img_url'] ?? '图片' ?></label>
<div class="layui-input-block">
<?php if (!empty($data['img_url'])): ?>
<img src="<?= $data['img_url'] ?>" style="max-width:200px;max-height:200px;">
<?php if (!empty($data['img_url_full'])): ?>
<img src="<?= $data['img_url_full'] ?>" style="max-width:200px;max-height:200px;">
<?php endif; ?>
</div>
</div>
+1 -1
View File
@@ -106,7 +106,7 @@
title: translations.img_url,
field: "img_url",
templet: function (d) {
return '<img src="' + d['img_url'] + '" style="max-width:32px;max-height:32px;" />';
return '<img src="' + d['img_url_full'] + '" style="max-width:32px;max-height:32px;" />';
},
width: 70
},