<view class="trace-box" wx:for="{{list}}" wx:key="sys_datafollowupid">
    <navigator url="#" class="item" data-item="{{item}}" bindtap="toDetail">
        <view wx:if="{{item.resource}}" class="resource"> {{language[item.resource]||item.resource}}</view>
        <view class="createdate">
            {{item.createdate}}
        </view>
        <view class="user">
            <image class="portrait" wx:if="{{item.headpic}}" src="{{item.headpic}}" mode="aspectFill" lazy-load />
            <view class="portrait" style="background-color: #3874F6;" wx:else>
                {{language[item.createby[0]]||item.createby[0]}}
            </view>
            <view class="content">
                <view class="label">
                    {{language[item.createby]||item.createby}}
                </view>
                <view class="exp">
                    <text style="margin-right:50rpx;">{{language['部门']||'部门'}}：{{item.userextend[0].depname||' --'}}</text>
                    <text>{{language['职位']||'职位'}}：{{item.userextend[0].position||' --'}}</text>
                </view>
            </view>
        </view>
        <view class="text">
            <text class="text-label">{{language['跟进内容']||'跟进内容'}}：</text>{{language[item.content]||item.content}}
        </view>
        <view class="type" wx:if="{{item.type}}">
            <text class="text-label">{{language['跟进类型']||'跟进类型'}}：</text><text>{{language[item.type]||item.type}}</text>
        </view>
    </navigator>
    <Yl_Files wx:if="{{item.attinfos.length}}" attinfos='{{item.attinfos}}' />
    <commentList id="Comment{{item.sys_datafollowupid}}" comments='{{item.comment}}' quantity="{{item.commentqty}}" ownerid='{{item.sys_datafollowupid}}' bind:updateCommentList='updateCommentList' />
    <view class="bottom">
        <navigator url="#" class="comment" bind:tap="comment" id="Comment{{item.sys_datafollowupid}}">
            <text class="iconfont icon-huifu" /><text style="color: #3874F6;">{{language['评论']||'评论'}}({{item.commentqty}})</text>
        </navigator>
        <view style="flex: 1;" />
        <block wx:if="{{disabled  && userid == item.createuserid}}">
            <navigator url="#" bindtap="editItem" data-item="{{item}}">
                <text class="iconfont icon-bianji" />{{language['编辑']||'编辑'}}
            </navigator>
            <navigator url="#" bindtap="deleteItem" data-item="{{item}}">
                <text class="iconfont icon-qunzu" />{{language['删除']||'删除'}}
            </navigator>
        </block>
    </view>
</view>
<My_empty wx:if="{{list.length==0}}" />