feat: mobile端classify页面
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 4s

This commit is contained in:
2026-04-08 16:26:29 +08:00
parent ce38172cd6
commit 83be5a7c0b
6 changed files with 539 additions and 649 deletions

View File

@@ -324,7 +324,7 @@
height: 14px;
cursor: pointer;
opacity: 0.6;
}
.search-clear-box {
padding-right: 10px;
@@ -449,7 +449,7 @@
{if condition="!empty($header_categorys)"}
<div class="sub-menu">
{volist name="header_categorys" id="vo" key="idx"}
<div class="sub-item"><a href="#" target="_self">{$vo.name}</a></div>
<div class="sub-item"><a href="{:url('product/classify', ['id' => $vo.id])}" target="_self">{$vo.name}</a></div>
{/volist}
</div>
{/if}
@@ -529,7 +529,7 @@
<img src="__IMAGES__/header/x.png" class="modal-close">
<div class="search-input-box">
<input type="text" placeholder="{:lang_i18n('请输入搜索关键词')}" id="searchInput">
<div class="search-clear-box">
<img src="__IMAGES__/header/x.png" alt="{:lang_i18n('清除')}" class="search-clear-btn" id="searchClearBtn" style="display: none;">
</div>
@@ -872,7 +872,7 @@
searchClearBtn.style.display = 'none';
}
}
}
}12
searchSubmit.addEventListener('click', function (e)
{