index.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <custom style="height:{{config.bar.custom}}px;">
  2. <bar class="fixed gradual-pink" style="height:{{config.bar.custom}}px;padding-top:{{config.bar.status}}px;">
  3. <navigator class='action' open-type="navigateBack" delta="1" hover-class="none">
  4. <icon class='icon-back' /> 卡片
  5. </navigator>
  6. <view class='action'>
  7. <load class="load-icon {{loading ? 'loading':'over'}}"></load>
  8. </view>
  9. </bar>
  10. </custom>
  11. <bar class="solid-bottom">
  12. <view class='action'>
  13. <icon class='icon-titles text-orange ' /> 最新
  14. </view>
  15. <view class='action'>
  16. <switch class='sm' checked='{{isCard}}' bindchange='isCard'></switch>
  17. </view>
  18. </bar>
  19. <card class="dynamic">
  20. <item wx:for="1" wx:key class="shadow">
  21. <list class="menu menu-avatar">
  22. <item>
  23. <avatar class="round lg" style="background-image:url(https://image.weilanwl.com/img/square-1.jpg);"></avatar>
  24. <view class='content flex-sub'>
  25. <view>晓晓萌</view>
  26. <view class='text-gray text-sm flex justify-between'>
  27. 2018年12月3日
  28. </view>
  29. </view>
  30. </item>
  31. </list>
  32. <view class='text-content'>
  33. 你们的铲屎官是不是经常突然对手机傻笑?我家铲屎官常常坐沙发上笑的发抖!(暗中观察.jpg)
  34. </view>
  35. <view class="grid col-1}} flex-sub padding-lr">
  36. <view class="bg-img only-img" style="background-image:url(https://image.weilanwl.com/img/square-1.jpg);" wx:for="1" wx:key>
  37. </view>
  38. </view>
  39. <view class='text-gray text-sm text-right padding'>
  40. <icon class="icon-attentionfill" /> 10
  41. <icon class="icon-appreciatefill" /> 20
  42. <icon class="icon-messagefill" /> 30
  43. </view>
  44. <list class="menu menu-avatar comment solids-top">
  45. <item wx:for="{{2}}" wx:key>
  46. <avatar class="round" style="background-image:url(https://image.weilanwl.com/img/square-1.jpg);"></avatar>
  47. <view class='content'>
  48. <view class='text-grey'>猪皮蛋</view>
  49. <view class='text-gray text-content text-df'>
  50. 我家铲屎官不舔毛,还抠脚!
  51. </view>
  52. <view class='bg-grey padding-sm radius margin-top-sm text-sm' wx:if="{{index==1}}">
  53. <view class="flex {{index!=0?'margin-top-sm':'' }}" wx:for="{{2}}" wx:key>
  54. <view>我:</view>
  55. <view class='flex-sub'>我家的铲屎官也不舔毛!</view>
  56. </view>
  57. </view>
  58. <view class='margin-top-sm flex justify-between'>
  59. <view class='text-gray text-df'>2018年12月4日</view>
  60. <view>
  61. <icon class="icon-appreciate{{!isZan?'fill':''}} text-{{!isZan?'red':'gray'}}" />
  62. <icon class="icon-messagefill text-gray margin-left-sm" />
  63. </view>
  64. </view>
  65. </view>
  66. </item>
  67. </list>
  68. </item>
  69. </card>