feat(diy-category): 新增鸿蒙小程序端搜索框适配
扩展H5平台条件编译到H5和MP-HARMONY,让鸿蒙小程序也显示搜索框
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifdef H5 -->
|
<!-- #ifdef H5 || MP-HARMONY -->
|
||||||
<view class="search-box" v-if="value.search" @tap.stop="onClickSearch()">
|
<view class="search-box" v-if="value.search" @tap.stop="onClickSearch()">
|
||||||
<view class="search-content">
|
<view class="search-content">
|
||||||
<input type="text" class="uni-input" maxlength="50" :placeholder="$lang('components-diy.diy-search.searchBtn')" confirm-type="search"
|
<input type="text" class="uni-input" maxlength="50" :placeholder="$lang('components-diy.diy-search.searchBtn')" confirm-type="search"
|
||||||
|
|||||||
Reference in New Issue
Block a user