fix: 【商城装修】完善导航栏搜索框的装修,同时添加扫一扫功能

This commit is contained in:
卢越
2025-07-25 13:57:34 +08:00
parent ee0d5d9c1e
commit 6313fc5c91
3 changed files with 78 additions and 14 deletions
@@ -23,10 +23,13 @@
<view class="ss-flex-1" v-if="data.type === 'search'" :style="[{ width: width }]">
<s-search-block
:placeholder="data.placeholder || '搜索关键字'"
:placeholder-position="data.placeholderPosition"
:radius="data.borderRadius"
elBackground="#fff"
:el-background="data.backgroundColor"
:font-color="data.textColor"
:height="height"
:width="width"
:show-scan="data.showScan"
@click="sheep.$router.go('/pages/index/search')"
></s-search-block>
</view>