提交 4094a3a6 编写于 作者: Q qiang

fix: 解决searchInput中placeholder错位的问题

上级 ade1c9fc
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
> >
<div <div
:style="{color:searchInput.placeholderColor}" :style="{color:searchInput.placeholderColor}"
:class="[`uni-page-head-search-placeholder-${focus?'left':searchInput.align}`]" :class="[`uni-page-head-search-placeholder-${focus || text ? 'left' : searchInput.align}`]"
class="uni-page-head-search-placeholder" class="uni-page-head-search-placeholder"
>{{ text || composing ? '' : searchInput.placeholder }}</div> >{{ text || composing ? '' : searchInput.placeholder }}</div>
<v-uni-input <v-uni-input
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册