style(diy-category): 调整搜索框和切换按钮的代码排版

在相关代码块前后添加空行优化代码可读性,不影响原有功能逻辑
This commit is contained in:
2026-07-06 10:33:41 +08:00
parent f48b8f0e41
commit 337a9618ef

View File

@@ -27,6 +27,7 @@
</block>
<!-- #endif -->
<!-- #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"
@@ -36,6 +37,7 @@
<view class="iconfont" :class="{ 'icon-apps': !isList, 'icon-list': isList }"
@tap.stop.prevent="changeListStyle()"></view>
</view>
<!-- #endif -->
<view class="template-four wx" v-if="value.template == 4">
<scroll-view scroll-x="true" class="template-four-wrap" :scroll-with-animation="true"