<view class="contacts">
    <view class="circle">{{contacts.name[0]}}</view>
    <view class="text">
        <text style="margin-right: 10rpx;">{{contacts.name}}</text>
        <van-tag plain custom-class='tag' wx:if="{{per.query(contacts.tag1,'关键决策人')}}" type="primary">关键决策人</van-tag>
        <van-tag plain custom-class='tag' wx:if="{{per.query(contacts.tag1,'支持者')}}" type="warning">支持者</van-tag>
        <van-tag plain custom-class='tag' wx:if="{{per.query(contacts.tag1,'反对者')}}" type="danger">反对者</van-tag>
    </view>
</view>
<!-- 点击手机号操作 -->
<van-action-sheet show="{{ show }}" actions="{{ actions }}" z-index='9999' cancel-text="取消" bind:click-overlay='changeShow' bind:select='handleSelect' bind:cancel='changeShow' />
<view class="box">
    <navigator url="#" class="row" bindtap="changeShow">
        <view class="cell">
            <view class="label">手机号码</view>
            <view class="content">{{contacts.phonenumber}}
                <text class="iconfont icon-shujubodadianhua1" style="color: #FA8C16;margin-left: 20rpx;"></text>
            </view>
        </view>
    </navigator>
    <navigator url="#" class="row" wx:for="{{form1}}" wx:key="item.label" bindtap="copyContents" data-data="{{item.content}}">
        <view class="cell">
            <view class="label">{{item.label}}</view>
            <view class="content">{{item.content}}</view>
        </view>
    </navigator>
</view>
<view class="box">
    <navigator url="#" class="row" wx:for="{{form2}}" wx:key="item.label" bindtap="copyContents" data-data="{{item.content}}">
        <view class="cell">
            <view class="label">{{item.label}}</view>
            <view class="content">{{item.content}}</view>
        </view>
    </navigator>
</view>
<view class="box">
    <navigator url="#" class="row" bindtap="copyContents" data-data="{{contacts.remarks}}">
        <view class="cell">
            <view class="label">备注</view>
            <view class="content">{{contacts.remarks}}</view>
        </view>
    </navigator>
</view>
<view class="footer">
    <van-button custom-class='delete' bindtap="deleteData">删除</van-button>
    <van-button custom-class='edit' bindtap="toEdit">编辑</van-button>
</view>
<view style="height: 140rpx;" />
<wxs src='../../utils/wxmlQueryPer.wxs' module="per" />