<!--components/autoAdd/index.wxml-->
<van-cell border="{{ false }}" wx:for="{{list}}">
    <view slot="title" class="title-area">
        <text class="{{list[index]?'text-green':'text-red'}}">*</text>
        <text class="van-cell-text">{{international.invited_personnel[language]}} {{index+1}}</text>
        <van-icon class="icon red" name="clear" data-index="{{index}}" bindtap="delete" wx:if="{{list.length > 1}}" />
        <van-icon class="icon blue" name="add" bindtap="add" wx:if="{{index+1 === list.length&& showAddBut }}" />
    </view>
    <input class="input" type="number" placeholder="{{international.enter_phone_number[language]}}" value="{{list[index]}}" data-index="{{index}}" bindinput="getValue" />
</van-cell>