storeReferrerPicker.wxml 1.29 KB
<popup class="date-background" show="{{show}}" bindconfirm="confirm" title="推荐人" height="80%">
  <view class='date-container'>
    <view class='date-confirm'>
      <view class="search-box">
        <view class="search-input">
          <block wx:if="{{!edit}}">
            <view class="input {{searchValue?'':'placeholder'}}" bindtap="open">
              <block wx:if="{{searchValue}}">{{searchValue}}</block>
              <block wx:else>
                <image src="./images/search.png" class="icon" />
                {{'请输入名字'}}
              </block>
            </view>
          </block>
          <block wx:else>
            <input type="text" class="input" value='{{searchValue}}' focus='{{inputFocus}}' confirm-type="search" bindinput='input' bindblur="inputBlur" bindconfirm="inputConfifm" />
          </block>
        </view>
      </view>
    </view>
    <view class="picker-box">
      <picker-view class="picker" value="{{defaultSelectStoreIndex}}" immediate-change="true" indicator-class="indicator" bindchange="changeStore">
        <picker-view-column>
          <block wx:for="{{pickerList}}" wx:key="merchantId">
            <view class="view pickViewColumn">{{item.staffName}}</view>
          </block>
        </picker-view-column>
      </picker-view>
    </view>
  </view>
</popup>