yuminge-app/yun-min-program-plugin-master/packageF/timeAppointment/timeAppointment_search/timeAppointment_search.wxml

51 lines
1.4 KiB
Plaintext

<!--packageF/timeAppointment/timeAppointment_search/timeAppointment_search.wxml-->
<view class="search-wrapper">
<view class="search-box">
<i class="iconfont icon-all_search_2"></i>
<input type="text" confirm-type="search" bindconfirm="confirmSearch" placeholder="请输入搜索内容" />
</view>
</view>
<view class="tabs">
<view class="tab-item {{tabsIndex==1 ? 'active' : ''}}" data-index="{{1}}" bindtap="setTabsIndex">预约{{service_text}}</view>
<view class="tab-item {{tabsIndex==2 ? 'active' : ''}}" data-index="{{2}}" bindtap="setTabsIndex">{{reserve_obj_text}}</view>
</view>
<view class="list-wrapper">
<block wx:if="{{tabsIndex == 1}}">
<view class="sort">
<sort bind:sortIn="setSort"></sort>
</view>
<goods-item item="{{item}}" wx:for="{{listData}}" wx:key="id"></goods-item>
</block>
<view class="personeel" wx:if="{{tabsIndex==2}}">
<view class="item" wx:for="{{listData}}" data-item="{{item}}" bindtap="gotoUserDe" >
<view class="face">
<image src="{{item.thumb}}"></image>
</view>
<view class="content">
<view class="name">{{item.name}}</view>
<view class="desc">{{item.description}}</view>
</view>
</view>
</view>
<view wx:if="{{listData.length==0 && networkLoading}}" class="blank">
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
</view>
</view>