<view class="filtrate">
    <view class="date" bindtap="openSelectDate">{{showWhere}}
        <van-icon style="margin-left: 8rpx;" name="arrow-down" />
    </view>
    <view class="sort" bindtap="changeIsdesc">
        <text class="iconfont {{ content.sort[0].reversed==1?'icon-jiangxu':'icon-shengxu1' }}" />
    </view>
</view>
<navigator url="#" class="box" wx:for="{{followList}}">
    <view class="time">
        <text>{{item.createdate}}</text>
        <text wx:if="{{item.attinfo.length}}" style="color: #085CDF; font-size: 24rpx;" catchtap="viewFiles" data-item="{{item}}">查看附件</text>
    </view>
    <view class="content">由<text style="color: var(--warning);"> {{item.createby}} </text>开始跟进<block wx:if="{{item.followupmode}}">，跟进方式：<text>{{item.followupmode}}</text></block>
        <block wx:if="{{item.logtype}}">，跟进结果：<text>{{item.logtype}}</text></block>
        <block wx:if="{{item.content}}">，跟进内容：</block>
    </view>
    <view class="explain" wx:if="{{item.content}}">{{item.content}}</view>
</navigator>
<My_empty wx:if="{{followList.length==0}}" />
<view style="height: 140rpx;" />
<van-action-sheet show="{{ timeRangeShow }}" bind:close='timeRangeClose' z-index='9999'>
    <view class="detePickerHeader">
        <text catchtap="toSeeAll">所有日期</text>
        <view class="type" catchtap="selectDateType">
            <view class="option {{whereType.value=='start'?'active-op':''}}" data-name="start">
                <view data-name="start">开始</view>
                <view data-name="start" class="time">{{whereType.list.start||'开始时间'}}</view>
            </view>
            <view class="option {{whereType.value=='end'?'active-op':''}}" data-name="end">
                <view data-name="end">结束</view>
                <view data-name="end" class="time">{{whereType.list.end||'结束时间'}}</view>
            </view>
        </view>
        <text catchtap="determineScope">确定</text>
    </view>
    <My_datePicker bind:getDate='getDate' />
</van-action-sheet>

<van-popup show="{{ poputShow }}" round position="bottom" custom-style="min-height:70%;max-height:100%" bind:close="onClosePoput">
    <view class="head">查看附件</view>
    <Yl_Files id="Yl_Files" />
    <view style="height: 130rpx;" />
</van-popup>