kinship.wxml 1.6 KB
<!--pages/kinship/kinship.wxml-->
<!-- 弹框 -->
<view class='mask' wx:if="{{showModel}}">
    <view class='maskCon'>
        <view class='maskConTxt1'>是否删除该家长?</view>
        <view class='maskConBottom'>
            <view class='maskConBottom1' bindtap='maskNo'>取消</view>
            <view class='maskConBottom2' bindtap='maskOk'>确定</view>
        </view>
    </view>
</view>

<view class='kinshipBox'>
    <!-- 顶部 -->
    <view class='main_top'>
        <view class='main_topImg'>
            <image src='/image/36.png'></image>
        </view>
        <view class='main_topTxt'>{{list.student || ''}}</view>
    </view>
    <view class='kindTxt'>已绑定下列家长</view>
    <!-- 关系 -->
    <view class='main2'>

        <view class="main2_li {{item.isTouchMove ? 'touch-move-active' : ''}}" wx:for="{{listTow}}" wx:key bindtouchstart="touchstart" bindtouchmove="touchmove" data-index="{{index}}" data-id="{{item.id}}">
            <view class="main2_li2">
                <view class='main2_pic'>
                    <image src='{{item.image}}'></image>
                </view>
                <view>
                    <view class='main2_li2Txt1'>{{item.user_name}}</view>
                    <view class='main2_li2Txt2'>{{item.studentInfo}}</view>
                </view>
            </view>

            <view class='main2_remove' catchtap='del' data-index="{{index}}">删除</view>
        </view>

        <view class="note_box" style="padding-top:20rpx; justify-content: flex-start; padding-left:20rpx;">
        <image src="/image/note.png"></image>
        小提示:列表可长按左滑删除
      </view>
    </view>
</view>