index.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="header">
  2. <view>
  3. <view class="label">线索状态</view>
  4. <view class="con">{{detailsData.status}}</view>
  5. </view>
  6. <view>
  7. <view class="label">客户名称</view>
  8. <view class="con line-1">{{detailsData.name}}</view>
  9. </view>
  10. <view>
  11. <view class="label">手机号码</view>
  12. <view class="con">{{detailsData.phonenumber}}</view>
  13. </view>
  14. </view>
  15. <van-tabs sticky color='#3874F6' title-active-color='#3874F6' tab-class='tab-class'>
  16. <van-tab title="线索详情">
  17. <Details detailsData='{{detailsData}}' />
  18. </van-tab>
  19. <van-tab title="跟进记录">
  20. <view class="filtrate">
  21. <view class="date" bindtap="openSelectDate">{{showWhere}}
  22. <van-icon style="margin-left: 8rpx;" name="arrow-down" />
  23. </view>
  24. <view class="sort" bindtap="changeIsdesc">
  25. <text class="iconfont {{ isdesc==1?'icon-jiangxu':'icon-shengxu' }}" />
  26. </view>
  27. </view>
  28. <Record followList='{{followList}}' />
  29. <My_empty wx:if="{{followList.length==0}}" />
  30. </van-tab>
  31. </van-tabs>
  32. <van-action-sheet show="{{ timeRangeShow }}" bind:close='timeRangeClose'>
  33. <view class="detePickerHeader">
  34. <text catchtap="toSeeAll">所有日期</text>
  35. <view class="type" catchtap="selectDateType">
  36. <view class="option {{whereType.value=='start'?'active-op':''}}" data-name="start">
  37. <view data-name="start">开始</view>
  38. <view data-name="start" class="time">{{whereType.list.start||'开始时间'}}</view>
  39. </view>
  40. <view class="option {{whereType.value=='end'?'active-op':''}}" data-name="end">
  41. <view data-name="end">结束</view>
  42. <view data-name="end" class="time">{{whereType.list.end||'结束时间'}}</view>
  43. </view>
  44. </view>
  45. <text catchtap="determineScope">确定</text>
  46. </view>
  47. <My_datePicker bind:getDate='getDate' />
  48. </van-action-sheet>