accountSwitchingPop.wxml 1.55 KB
<!-- pages/tab/output/components/accountSwitchingPop/accountSwitchingPop.wxml -->
<popup
       show="{{popShow}}"
       bind:hidePopup="hidePopup"
       bindconfirm="confirm"
       height="60%">
	<!-- <search-input placeholder="请搜索服务商账号名" ></search-input> -->
	<view class="search-box">
		<view class="search-input">
			<image src="{{IMG_URL}}/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="showConfirm">
			<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="{{merchantList}}" wx:key="index">
			<view
			      class="itemCon text-hide {{item.act?'active':''}}"
			      hidden="{{!item.show}}"
			      data-index="{{index}}"
			      bindtap="select">
				{{item.merchantName}}
			</view>
		</block>
	</scroll-view>
</popup>