Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
c72939cec1
2 changed files with 5 additions and 5 deletions
  1. 3
      components/free-input/index.wxml
  2. 7
      pages/mall/search-list/index.wxml

3
components/free-input/index.wxml

@ -2,7 +2,8 @@
<view class="{{inputStyle == 0?'inputStyle':'inputStyles'}} {{inputStyle == 1 &&disabled?'disabled':''}}" style="border-radius:{{radius}};background:{{inputBg}};">
<!-- 前置图标 -->
<view style="margin: 2px 0 0 0.8em;" wx:if="{{prefixIcon}}">
<text class="cuIcon-search text-gray" style="font-size:16px;padding-top: 8rpx;"></text>
<!-- <text class="cuIcon-search text-gray" style="font-size:16px;padding-top: 8rpx;"></text> -->
<image src="/assets/image/icon-search.png" style="height: 30rpx;width: 30rpx;margin-top: 20rpx;"></image>
</view>
<input type="{{type}}"
style="color:{{color}}"

7
pages/mall/search-list/index.wxml

@ -6,7 +6,9 @@
<view class="bg-white">
<free-input value="{{form.name}}" placeholder="请输入关键字" extreaWord="搜索" bind:focus="onFocusChange" bind:blur="onBlurChange" focus="{{focus}}" close="{{true}}" bind:extrea="onSearchList"></free-input>
</view>
<view class="bg-white" style="height:90rpx;border-bottom:2rpx solid #f3f3f3" wx:if="{{!focus || rearchStringList.length == 0}}">
<wux-tabi tab-data="{{tabList}}" tab-index="{{tabIndex}}" line-height="{{3}}" scroll="{{false}}" bind:change="onTabChange"></wux-tabi>
</view>
<view class="bg-white" wx:if="{{focus}}">
<view class="cu-form-group" style="min-height:80rpx" wx:if="{{rearchStringList.length}}">
<view class="action" style="color:black">搜索历史</view>
@ -19,9 +21,6 @@
</view>
</view>
<view wx:else>
<view class="bg-white" style="height:90rpx;border-bottom:2rpx solid #f3f3f3">
<wux-tabi tab-data="{{tabList}}" tab-index="{{tabIndex}}" line-height="{{3}}" scroll="{{false}}" bind:change="onTabChange"></wux-tabi>
</view>
<view class="flex flex-column flex-center" wx:if="{{loading}}" style="height:{{height -90}}rpx">
<view class="load-spinner text-gray" />
<view class="text-empty" style="margin-top:48rpx">加载中...</view>

Loading…
Cancel
Save