<!--pages/addBlueButton/addBlueButton.wxml-->
<view class="" wx:if="{{show}}">
	<van-button type="primary" bindtap="linkBlue" size="small">搜索</van-button>
      <picker mode="date" value="{{starttime}}" start="{{minDate}}" bindchange="bindDateChange">
        <van-field value="{{ starttime }}" placeholder="请选择开始时间" label="开始时间" border="{{ true }}" readonly />
      </picker>
      <picker mode="date" value="{{endtime}}" start="{{minDate1}}" bindchange="bindDateChange1">
        <van-field value="{{ endtime }}" placeholder="请选择结束时间" label="结束时间" border="{{ true }}" readonly />
      </picker>
	<view class="devicelist">
		<van-cell title="{{item.name}}" value="点击连接" data-select="{{item}}" bindtap="searchBlueButton" is-link  wx:for="{{deviceList}}" wx:key="indexone" wx:for-index="{{index}}" wx:for-item="item" />
	</view>
</view>
<view class="" wx:else>
  <view>选择人员添加蓝扣</view>
		<van-cell title="{{item.name}}" value="点击连接" data-personli="{{item}}" bindtap="btntest1" is-link  wx:for="{{personList}}" wx:key="index" wx:for-index="{{index}}" wx:for-item="item" />
</view>
