<view class="page"> <view class='vi_bg'> <view class='vi_search'> <image src='../../../resource/images/search2.png' onTap="query" /> <input type='text' placeholder='请输入参会人员名称' value="{{inputValue}}" onInput="searchbuild" onConfirm="search" /> </view> </view> <view class="graySpace"></view> <scroll-view class="department-scroll" scroll-y="{{true}}"> <view class='item-avatar-xs-a'> <view onTap='select_all' class='flex_start'> <icon type="success" color="{{selectall.color}}" size="22" /> <text>{{selectall.text}}</text> </view> </view> <checkbox-group> <view class='item-avatar-xs-a' a:for="{{departmentList}}" a:for-item="department" a:for-index="dIndex" > <checkbox onChange="selected" data-index="{{dIndex}}" value="{{department.departmentName}},{{department.departmentId}}" checked="{{department.checked}}" /> <view class="depaertment" data-index="{{dIndex}}" onTap='changeToggle'> <text class="checkbox-text">{{department.departmentName}}</text> <image src="{{department.isColpand?'../../../resource/images/bottom.png':'../../../resource/images/left.png'}}"></image> </view> <view class="item-avatar-xs3" id="item-{{department.departmentId}}" hidden="{{!department.isColpand}}"> <view class="item-avatar-xs4" a:for="{{department.uList}}" a:for-item="u" a:for-index="index" value="{{index}}" > <view class="li"> <checkbox data-d-index="{{dIndex}}" onChange="single_selected" data-u-index="{{index}}" value="{{objectArray[array]}}" checked="{{u.checked}}" /> {{u.nickname}} </view> </view> </view> </view> </checkbox-group> </scroll-view> <view class='de_btn'> <button class='de_btn2' >确定</button> </view> <view class='de_btn'> <!-- <text>已选择:人 </text> --> <button class='de_btn2' onTap="addInSign" >确定</button> </view>