业务交流通
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!-- pages/msgPage/msgPage.wxml -->
  2. <view class="msg-page page-container">
  3. <view class="list-loading text-center" wx:if="{{ pageLoading }}">
  4. <van-loading size="24px">加载新消息...</van-loading>
  5. </view>
  6. <view wx:else class="body-view">
  7. <view class="top-view {{ topShow ? 'topShow' : '' }}">
  8. <view wx:if="{{ showAccount }}">
  9. <official-account bindload="bindload" binderror="binderror"></official-account>
  10. </view>
  11. <image class="msg-colse-img" src="/images/home/close.png" bind:tap="closeTopShow" wx:if="{{ topShow }}"/>
  12. </view>
  13. <view class="msg-box-view {{ topShow ? 'topShow' : '' }} not-msg-data" wx:if="{{ msgData.length < 1 }}">
  14. <image class="not-msg-data-img " src="/images/home/not-msg-data.png" />
  15. <view class="not-data-msg-info">暂无消息记录</view>
  16. </view>
  17. <view wx:else class="msg-box-view {{ topShow ? 'topShow' : '' }}">
  18. <mp-slideview buttons="{{slideButtons}}" bindbuttontap="slideButtonTap" wx:for="{{msgData}}" data-item="{{ item }}" wx:key="index">
  19. <view class="msg-li-item {{ index == 0 ? 'msg-li-item-first':'' }} {{ index == msgData.length - 1 ? 'msg-li-item-last':'' }}" bindtap="goToChat" data-item="{{ item }}">
  20. <view class="chatheads-view fl">
  21. <image class='other-head-img' src='{{item.businessCommunicationCustomerVO.chatHeads }}'></image>
  22. <view class="view-info" wx:if="{{ item.size > 0 }}">
  23. {{ item.size > 99 ? '99+' : item.size }}
  24. </view>
  25. </view>
  26. <view class="msg-content fl">
  27. <view class="msg-nickName fl yichu">
  28. {{ item.businessCommunicationCustomerVO.nickName }}
  29. </view>
  30. <view class="msg-last-content fl yichu" wx:if="{{ item.messageType == 2 }}">
  31. [图片]
  32. </view>
  33. <view class="msg-last-content fl yichu" wx:else>
  34. {{ item.lastContent }}
  35. </view>
  36. <view class="msg-last-content-date fr yichu">
  37. {{ item.lastContentDate }}
  38. </view>
  39. </view>
  40. </view>
  41. </mp-slideview>
  42. </view>
  43. </view>
  44. <tabBar currentIndex="{{currentIndex}}"></tabBar>
  45. </view>