feat(diy-category): 新增鸿蒙小程序端搜索框适配

扩展H5平台条件编译到H5和MP-HARMONY,让鸿蒙小程序也显示搜索框
This commit is contained in:
2026-07-04 18:03:38 +08:00
parent 014f111cd1
commit 55c4d507db

View File

@@ -26,7 +26,7 @@
</view>
</block>
<!-- #endif -->
<!-- #ifdef H5 -->
<!-- #ifdef H5 || MP-HARMONY -->
<view class="search-box" v-if="value.search" @tap.stop="onClickSearch()">
<view class="search-content">
<input type="text" class="uni-input" maxlength="50" :placeholder="$lang('components-diy.diy-search.searchBtn')" confirm-type="search"