chore: 重写初始提交(清空历史,整理后全量提交)

This commit is contained in:
ywxapp
2026-08-16 16:54:14 +08:00
commit 6c1a106bc1
1808 changed files with 238144 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{notempty name="adSlots[$slot]"}
<div class="ad-slot ad-slot-{$slot}">
{volist name="adSlots[$slot]" id="ad"}
<div class="ad-item ad-type-{$ad.type}">
{switch name="ad.type"}
{case value="1"}
{if condition="$ad.url"}
<a href="{$ad.url}" target="_blank" rel="nofollow">
<img src="{$ad.image}" alt="{$ad.title}" title="{$ad.title}">
</a>
{else /}
<img src="{$ad.image}" alt="{$ad.title}" title="{$ad.title}">
{/if}
{/case}
{case value="2"}
{if condition="$ad.url"}
<a href="{$ad.url}" target="_blank" rel="nofollow" class="ad-text-link">{$ad.content}</a>
{else /}
<span class="ad-text">{$ad.content}</span>
{/if}
{/case}
{case value="3"}
{$ad.content|raw}
{/case}
{/switch}
</div>
{/volist}
</div>
{/notempty}