search.wxml 4.3 KB

1
  1. <app-layout vue-id="3bf858a1-1" class="data-v-065fc034" bind:__l="__l" vue-slots="{{['default']}}"><view class="search-mode data-v-065fc034"><view class="search-input data-v-065fc034"><input type="text" placeholder-style="color:#999999;font-size:13px;" placeholder="请输入订单号/商品名称/收货人姓名/联系电话" data-event-opts="{{[['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindinput="__e" class="data-v-065fc034"/><block wx:if="{{keyword.length>0}}"><image class="search-clear data-v-065fc034" src="/static/image/icon/clear.png" data-event-opts="{{[['tap',[['clearSearch',['$event']]]]]}}" bindtap="__e"></image></block></view><view class="search-time dir-left-nowrap cross-center data-v-065fc034"><view class="search-time-label data-v-065fc034">下单时间</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['search-time-item','main-between','cross-center','data-v-065fc034',(!start)?'placeholder':'']}}" bindtap="__e"><view class="data-v-065fc034">{{start!=''?start:'请选择开始时间'}}</view><block wx:if="{{start}}"><image class="time-clear data-v-065fc034" src="/static/image/icon/clear.png" data-event-opts="{{[['tap',[['clearTime',[1]]]]]}}" catchtap="__e"></image></block></view><view class="search-time-line data-v-065fc034"></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['search-time-item','main-between','cross-center','data-v-065fc034',(!end)?'placeholder':'']}}" bindtap="__e"><view class="data-v-065fc034">{{end!=''?end:'请选择结束时间'}}</view><block wx:if="{{end}}"><image class="time-clear data-v-065fc034" src="/static/image/icon/clear.png" data-event-opts="{{[['tap',[['clearTime',[2]]]]]}}" catchtap="__e"></image></block></view></view><view class="data-v-065fc034"><app-iphone-x vue-id="{{('3bf858a1-2')+','+('3bf858a1-1')}}" class="data-v-065fc034" bind:__l="__l" vue-slots="{{['empty-area']}}"><view class="search-menu main-center data-v-065fc034" slot="empty-area"><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" class="box-grow-1 search-menu-item data-v-065fc034" bindtap="__e">重置</view><view data-event-opts="{{[['tap',[['toSearch',['$event']]]]]}}" class="box-grow-1 search-menu-item data-v-065fc034" style="{{'color:#fff;'+('background-color:'+(getTheme.background)+';')}}" bindtap="__e">搜索</view></view></app-iphone-x></view></view><block wx:if="{{dialog}}"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="dialog data-v-065fc034" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="picker-list data-v-065fc034" catchtap="__e"><view class="main-between picker-header data-v-065fc034"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" bindtap="__e" class="data-v-065fc034">取消</view><view data-event-opts="{{[['tap',[['submitTime',['$event']]]]]}}" bindtap="__e" class="data-v-065fc034">确定</view></view><picker-view value="{{timeVal}}" indicator-style="{{indicatorStyle}}" data-event-opts="{{[['change',[['timeChange',['$event']]]]]}}" bindchange="__e" class="data-v-065fc034"><picker-view-column class="data-v-065fc034"><block wx:for="{{years}}" wx:for-item="item" wx:for-index="idx" wx:key="*this"><view class="{{['data-v-065fc034','picker-view',[(timeVal[0]==idx)?'sure-color':'',(timeVal[0]==idx+1||timeVal[0]==idx-1)?'cardinal-color':'',(timeVal[0]==idx+2||timeVal[0]==idx-2)?'even-color':'']]}}"><text class="data-v-065fc034">{{item}}</text>年</view></block></picker-view-column><picker-view-column class="data-v-065fc034"><block wx:for="{{months}}" wx:for-item="item" wx:for-index="idx" wx:key="*this"><view class="{{['data-v-065fc034','picker-view',[(timeVal[1]==idx)?'sure-color':'',(timeVal[1]==idx+1||timeVal[1]==idx-1)?'cardinal-color':'',(timeVal[1]==idx+2||timeVal[1]==idx-2)?'even-color':'']]}}"><text class="data-v-065fc034">{{item}}</text>月</view></block></picker-view-column><picker-view-column class="data-v-065fc034"><block wx:for="{{days}}" wx:for-item="item" wx:for-index="idx" wx:key="*this"><view class="{{['data-v-065fc034','picker-view',[(timeVal[2]==idx)?'sure-color':'',(timeVal[2]==idx+1||timeVal[2]==idx-1)?'cardinal-color':'',(timeVal[2]==idx+2||timeVal[2]==idx-2)?'even-color':'']]}}"><text class="data-v-065fc034">{{item}}</text>日</view></block></picker-view-column></picker-view></view></view></block></app-layout>