acdr-ui/dist/dev/mp-weixin/node-modules/wot-design-uni/components/wd-search/wd-search.wxml

1 line
1.1 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
<view class="{{['data-v-4ebafd4c', y]}}" style="{{z}}"><view class="wd-search__block data-v-4ebafd4c"><slot name="prefix"></slot><view class="wd-search__field data-v-4ebafd4c"><view wx:if="{{a}}" style="{{d}}" class="wd-search__cover data-v-4ebafd4c" bindtap="{{e}}"><wd-icon wx:if="{{b}}" class="data-v-4ebafd4c" u-i="4ebafd4c-0" bind:__l="__l" u-p="{{b}}"></wd-icon><text class="wd-search__placeholder-txt data-v-4ebafd4c">{{c}}</text></view><wd-icon wx:if="{{f}}" class="data-v-4ebafd4c" u-i="4ebafd4c-1" bind:__l="__l" u-p="{{g}}"></wd-icon><input wx:if="{{h}}" placeholder="{{i}}" placeholder-class="wd-search__placeholder-txt" confirm-type="search" class="wd-search__input data-v-4ebafd4c" bindfocus="{{j}}" bindinput="{{k}}" bindblur="{{l}}" bindconfirm="{{m}}" disabled="{{n}}" maxlength="{{o}}" focus="{{p}}" value="{{q}}"/><wd-icon wx:if="{{r}}" class="data-v-4ebafd4c" bindclick="{{s}}" u-i="4ebafd4c-2" bind:__l="__l" u-p="{{t}}"/></view></view><block wx:if="{{v}}"><block wx:if="{{$slots.suffix}}"><slot name="suffix"></slot></block><block wx:else><view class="wd-search__cancel data-v-4ebafd4c" bindtap="{{x}}">{{w}}</view></block></block></view>