扩展链接高佣版

index.wxml 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class='topHeader'>
  2. <view class="searchBox">
  3. <view class="searchView">
  4. <image src="../../assets/img/ss.png" mode="widthFix"/>
  5. <input bindinput="getKeyword" placeholder="请输入链接标题搜索" type='text' confirm-type="search" bindconfirm='searchEvent' confirm-type="search" bindconfirm="getList"/>
  6. </view>
  7. <view class="ss_button" bindtap="getList" data-load="true">搜索</view>
  8. </view>
  9. <view class="cz">
  10. <view class="headHint">共 {{total}} 个</view>
  11. <view class="refresh" bindtap="getList" data-load="true">刷新</view>
  12. </view>
  13. </view>
  14. <scroll-view class="container">
  15. <view class="cardList" wx:for="{{wxList}}" wx:key="index" data-item="{{item}}">
  16. <view class="infoBox">
  17. <view class="box">
  18. <image class="goodsImg" src='{{item.thumb_img}}' mode="widthFix"></image>
  19. </view>
  20. <view class="info">
  21. <view class="info1">
  22. <view class="name">
  23. {{item.title}}
  24. </view>
  25. <image src="../../assets/img/shanchu.png" mode="widthFix" class="delete" bindtap="toDel" data-link="{{item.link_id}}"></image>
  26. </view>
  27. <view class="info2">
  28. <view>
  29. <text class="time">{{item.created_time}}</text>
  30. <text class="read">阅读 {{item.read_times}}</text>
  31. </view>
  32. <view class="copyLink" bindtap="copyEvent" data-link="{{item.link_url}}">复制链接</view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </scroll-view>
  38. <view wx:if="{{wxList.length==0}}" class="none">暂无数据</view>