mess.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
  2. <view slot="info" class="container main">
  3. <view class="zero one">
  4. <view class="one_1">
  5. <input type="text" value="{{searchInfo.title}}" bindconfirm="search" placeholder="请输入话题名称" />
  6. </view>
  7. <view class="one_2">
  8. <button type="primary" bindtap="toAdd">添加</button>
  9. </view>
  10. </view>
  11. <view class="zero two">
  12. <scroll-view scroll-y="true" class="scroll-view">
  13. <view class="list-scroll-view">
  14. <view class="list" wx:for="{{list}}" wx:key="item">
  15. <view class="info">
  16. <view class="list_2">
  17. <view class="other">
  18. <view class="other_1">
  19. <text>话题名称:</text>
  20. <text class="names">{{item.title||'暂无'}}</text>
  21. </view>
  22. <view class="other_1">
  23. <text>来源:</text>
  24. <text>{{item.origin||'暂无'}}</text>
  25. </view>
  26. <view class="other_1">
  27. <text>发布时间:</text>
  28. <text>{{item.create_time||'暂无'}}</text>
  29. </view>
  30. <view class="other_1">
  31. <text>是否公开:</text>
  32. <text>{{item.is_show=='0'?'公开':'不公开'}}</text>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="btn">
  38. <button type="primary" bindtap="toEdit" data-id="{{item._id}}" size="mini">信息维护</button>
  39. <button size="mini" type="warn" bindtap="toDel" data-id="{{item._id}}">信息删除</button>
  40. </view>
  41. </view>
  42. </view>
  43. </scroll-view>
  44. </view>
  45. </view>
  46. </mobile-main>