41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
<!--newComponents/select-person/index.wxml-->
|
|
<view class="nspect_info_rectifier">
|
|
<van-row>
|
|
<van-col span="4" style="text-align: center;" wx:for="{{gridData}}" wx:key="index">
|
|
<van-image width="100rpx" height="100rpx" fit="cover" src="{{item.url}}" />
|
|
<view style="padding: 5rpx 0 15rpx;">{{item.name}}</view>
|
|
</van-col>
|
|
<van-col span="4" style="text-align: center;">
|
|
<view class="rectifier_add_to" bindtap="onAddResponsible" data-index="{{index}}"><van-icon name="plus" /></view>
|
|
</van-col>
|
|
</van-row>
|
|
</view>
|
|
|
|
|
|
<van-popup show="{{ show }}" bind:close="onClose">
|
|
<view class="rectifier_max">
|
|
<view class="rectifier_title">
|
|
<view class="rectifier_text">{{title}}</view>
|
|
<view class="rectifier_close" bindtap="onClose"><van-icon name="cross" /></view>
|
|
</view>
|
|
<view class="rectifier_list">
|
|
<view class="rectifier_list_height">
|
|
<view class="rectifier_list_for" wx:for="{{rectifierData}}" wx:key="index" data-index="{{index}}" bindtap="onSelected">
|
|
<view class="rectifier_list_radio">
|
|
<view class="rectifier_list_radio_circle {{item.state?'active':''}}">
|
|
<van-icon name="success" wx:if="{{item.state}}"/>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<van-image width="100rpx" height="100rpx" src="{{item.url}}" fit="cover"/>
|
|
</view>
|
|
<view class="rectifier_list_name {{item.state?'active':''}}">{{item.name}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="rectifier_btn">
|
|
<view bindtap="onClose">取消</view>
|
|
<view bindtap="onConfirm">确认</view>
|
|
</view>
|
|
</view>
|
|
</van-popup> |