index.wxml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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">
  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">
  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">
  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" bind:longpress="onLongPress" hover-class='pressHover'>
  45. <image src="/static/message3.png" class="avatar" />
  46. <view class="body">
  47. <view class="name textOver">帅气小男孩</view>
  48. <view class="info textOver">
  49. 朗读的太棒了!向你学习向你学习俄文企鹅企鹅企鹅企鹅
  50. </view>
  51. </view>
  52. <view class="right">
  53. <view class="date">2023-3-14</view>
  54. <view class="unread">10</view>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="menuBg" bind:touchstart="cancelMenu" wx:if="{{menu.show}}"></view>
  59. <view class="menu" wx:if="{{menu.show}}" style="top:{{menu.top}}px;left:{{menu.left}}px">
  60. <view class="menu-one">
  61. <image src="/static/istop.png" class="icon" /> 置顶该聊天
  62. </view>
  63. <view>
  64. <image src="/static/del.png" class="icon" />
  65. 删除该聊天
  66. </view>
  67. </view>
  68. </view>