refactor: 修改无数据时显示内容

This commit is contained in:
2025-04-16 14:27:37 +08:00
parent ab65fbb212
commit 4617d113ef
4 changed files with 8 additions and 4 deletions

View File

@@ -38,5 +38,7 @@ return [
'support_model' => 'Supported Models',
'support_platform' => 'Supported Systems',
'search_placeholder' => 'Search model',
'no_data' => 'No Result',
'no_video' => 'No Video',
]
];

View File

@@ -38,5 +38,7 @@ return [
'support_model' => '支持型号',
'support_platform' => '支持系统',
'search_placeholder' => '搜索型号',
'no_data' => '查询无结果!',
'no_video' => '查询无此视频!',
]
];

View File

@@ -53,7 +53,7 @@
<p>
{notempty name="att.attach"}
{volist name="att.attach" id="ch"}
<a href="{$ch.file_path}" data-cod="dl" data-id="{$att.id}" target="_blank">
<a href="{$ch.file_path}" target="_blank">
<span class="l_button">{$ch.btn_name}</span>
</a>
{/volist}
@@ -62,9 +62,9 @@
</div>
</div>
{/volist}
<div>{$page|raw}</div>
<div class="page-box">{$page|raw}</div>
{else/}
<div class="softit">查询无结果!</div>
<div class="softit">{:lang('attachment.no_data')}</div>
{/notempty}
</div>
</div>

View File

@@ -69,7 +69,7 @@
{/volist}
<div class="page-box">{$page|raw}</div>
{else/}
<ul><dl class="video-empty">查询无结果!</dl></ul>
<ul><dl class="video-empty">{:lang('attachment.no_video')}</dl></ul>
{/notempty}
</div>
</div>