index.wxml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <navigationBar></navigationBar>
  2. <view class="messagePage">
  3. <view class="searchBox">
  4. <input class="input" maxlength="20" placeholder="查找昵称/学号/手机号" />
  5. <image src="/static/search-2.png" class="magnifier" />
  6. </view>
  7. <view class="messageList">
  8. <view class="base authority" bindtap="jump" data-url='comment'>
  9. <image src="/static/message3.png" class="avatar" />
  10. <view class="body">
  11. <view class="name">评论</view>
  12. <view class="avatars">
  13. <image src="/static/tj2.png" class="miniAvatar" wx:for="{{6}}" wx:key="index" />
  14. </view>
  15. </view>
  16. <view class="right">
  17. <view class="date">2023-3-14</view>
  18. <view class="unread">10</view>
  19. </view>
  20. </view>
  21. <view class="base authority" bindtap="jump" data-url='like'>
  22. <image src="/static/zan.png" class="avatar" />
  23. <view class="body">
  24. <view class="name">赞</view>
  25. <view class="avatars">
  26. <image src="/static/tj2.png" class="miniAvatar" wx:for="{{6}}" wx:key="index" />
  27. </view>
  28. </view>
  29. <view class="right">
  30. <view class="date">2023-3-14</view>
  31. <view class="unread">10</view>
  32. </view>
  33. </view>
  34. <view class="base authority" bindtap="jump" data-url='notice'>
  35. <image src="/static/notice.png" class="avatar" />
  36. <view class="body">
  37. <view class="name">通知</view>
  38. </view>
  39. <view class="right">
  40. <view class="date">2023-3-14</view>
  41. <view class="unread">10</view>
  42. </view>
  43. </view>
  44. <view class="base user" wx:for="{{16}}" wx:key="index" data-id='10' bind:longpress="onLongPress"
  45. hover-class='pressHover'>
  46. <image src="/static/message3.png" class="avatar" />
  47. <view class="body">
  48. <view class="name textOver">帅气小男孩</view>
  49. <view class="info textOver">
  50. 朗读的太棒了!向你学习向你学习俄文企鹅企鹅企鹅企鹅
  51. </view>
  52. </view>
  53. <view class="right">
  54. <view class="date">2023-3-14</view>
  55. <view class="unread">10</view>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="menuBg" bind:touchstart="cancelMenu" wx:if="{{menu.show}}"></view>
  60. <view class="menu" wx:if="{{menu.show}}" style="top:{{menu.top}}px;left:{{menu.left}}px">
  61. <view class="menu-one" bindtap="setIsTop">
  62. <image src="/static/istop.png" class="icon" /> 置顶该聊天
  63. </view>
  64. <view bindtap="delMessage">
  65. <image src="/static/del.png" class="icon" />
  66. 删除该聊天
  67. </view>
  68. </view>
  69. </view>