selectServicePopup.wxml 1.47 KB
<!--packagesList/mineDetail/components/selectService/selectService.wxml-->
<popup
       show="{{popShow}}"
       bind:hidePopup="hidePopup"
       bindconfirm="confirm"
       height="60%">
	<view class="search-box">
		<view class="search-input">
			<glsx-image src="output/searchIcon.png" class="search-icon" />
			<input
			       type="text"
			       placeholder="请搜索服务中心"
			       class="input"
			       value="{{keyword}}"
			       placeholder-class="input-placeholder"
			       bindinput="input"
			       bindconfirm="search" />
			<block wx:if="{{keyword}}">
				<image src="/images/clear.png" class="search-clear" bindtap="clear" />
			</block>
		</view>
		<view class="search text-center" bindtap="search" data-value="{{searchKeyword}}">
			<view class="text-center">搜索</view>
		</view>
	</view>
	<scroll-view
	             scroll-y
	             enable-back-to-top
	             refresher-enabled="{{true}}"
	             bindrefresherrefresh="refreshList"
	             refresher-threshold="104"
	             scroll-top="{{scrollTop}}"
	             class="list"
	             style="height:100%;"
	             data-type="message"
	             refresher-triggered="{{triggered}}">
		<block wx:for="{{serviceList}}" wx:key="index">
			<view
			      class="itemCon text-hide {{item.act?'active':''}}"
			      data-index="{{index}}"
            hidden="{{!item.show}}"
			      bindtap="select">
				{{item.yqMerchantName}}
			</view>
		</block>
	</scroll-view>
</popup>