chat.wxml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <custom style="height:{{CustomBar}}px;">
  2. <bar class="fixed gradual-pink" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}px;">
  3. <navigator class='action' open-type="navigateBack" delta="1" hover-class="none">
  4. <text class='icon-back'></text>
  5. 聊天
  6. </navigator>
  7. </bar>
  8. </custom>
  9. <chat>
  10. <item class="self">
  11. <view class="main">
  12. <view class='content bg-green shadow-blur'>
  13. <text>喵喵喵!喵喵喵!喵喵喵!喵喵!喵喵!!喵!喵喵喵!</text>
  14. </view>
  15. </view>
  16. <avatar class="radius" style="background-image:url(https://image.weilanwl.com/img/square-3.jpg);"></avatar>
  17. <view class='date'>2018年3月23日 13:23</view>
  18. </item>
  19. <info class='round'>对方撤回一条消息!</info>
  20. <item>
  21. <avatar class="radius" style="background-image:url(https://image.weilanwl.com/img/square-2.jpg);"></avatar>
  22. <view class="main">
  23. <view class='content shadow'>
  24. <text>喵喵喵!喵喵喵!</text>
  25. </view>
  26. </view>
  27. <view class='date '> 13:23</view>
  28. </item>
  29. <info>
  30. <text class='icon-roundclosefill text-red '></text> 对方拒绝了你的消息
  31. </info>
  32. <info>
  33. 对方开启了好友验证,你还不是他(她)的好友。请先发送好友验证请求,对方验证通过后,才能聊天。
  34. <text class='text-blue'>发送好友验证</text>
  35. </info>
  36. <item class="self">
  37. <view class="main">
  38. <image src="https://image.weilanwl.com/img/3x4-1.jpg" class='radius' mode="widthFix"></image>
  39. </view>
  40. <avatar class="radius" style="background-image:url(https://image.weilanwl.com/img/square-3.jpg);"></avatar>
  41. <view class='date'> 13:23</view>
  42. </item>
  43. <item class="self">
  44. <view class="main">
  45. <view class='action text-bold text-grey'>
  46. 3"
  47. </view>
  48. <view class='content shadow'>
  49. <text class='icon-sound text-xxl padding-right-xl'> </text>
  50. </view>
  51. </view>
  52. <avatar class="radius" style="background-image:url(https://image.weilanwl.com/img/square-3.jpg);"></avatar>
  53. <view class='date'>13:23</view>
  54. </item>
  55. <item class="self">
  56. <view class="main">
  57. <view class='action'>
  58. <text class='icon-locationfill text-orange text-xxl'></text>
  59. </view>
  60. <view class='content shadow'>
  61. 喵星球,喵喵市
  62. </view>
  63. </view>
  64. <avatar class="radius" style="background-image:url(https://image.weilanwl.com/img/square-3.jpg);"></avatar>
  65. <view class='date'>13:23</view>
  66. </item>
  67. <item>
  68. <avatar class="radius" style="background-image:url(https://image.weilanwl.com/img/square-2.jpg);"></avatar>
  69. <view class="main">
  70. <view class='content shadow'>
  71. @#$^&**
  72. </view>
  73. <view class='action text-grey'>
  74. <text class='icon-warnfill text-red text-xxl'></text> <text class='text-sm margin-left-sm'>翻译错误</text>
  75. </view>
  76. </view>
  77. <view class='date'>13:23</view>
  78. </item>
  79. </chat>
  80. <bar class="foot input">
  81. <view class='action'>
  82. <text class='icon-sound text-grey'></text>
  83. </view>
  84. <input class='solid-bottom' focus="{{false}}" maxlength="300" cursor-spacing="10"></input>
  85. <view class='action'>
  86. <text class='icon-emojifill text-grey'></text>
  87. </view>
  88. <button class='bg-green shadow-blur'>发送</button>
  89. </bar>