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

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

View File

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

View File

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

View File

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

View File

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