fix(ui): 修复图片路径与缩略显示;审核页展示图+介绍+用户

This commit is contained in:
2025-12-07 11:17:57 +08:00
parent b5da02cffc
commit b497fe97f3
7 changed files with 40 additions and 17 deletions

View File

@@ -11,7 +11,7 @@
<div class="row">
{% for img in post.images %}
<div class="col-md-4 mb-2">
<img src="{{ url_for('main.uploads', filename=img.web_path.split('uploads\\')[-1]) }}" class="photo-thumb" />
<img src="{{ url_for('main.uploads', filename=img.web_path) }}" class="photo-thumb" />
</div>
{% endfor %}
</div>