circles.wxml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!--pages/circles/circles.wxml-->
  2. <view class="shop-head">
  3. <view class="page-title">
  4. <text>气泡广场</text>
  5. <text></text>
  6. </view>
  7. <view class="tab-box">
  8. <view class="tab-item" bindtap="bindItem" data-id="1">
  9. <text style="{{parmas.contListType==1?'color: #FF5700':''}}">最新</text>
  10. <text style="{{parmas.contListType==1?'background-color: #FF5700':''}}"></text>
  11. </view>
  12. <view class="tab-item" bindtap="bindItem" data-id="3">
  13. <text style="{{parmas.contListType==3?'color: #FF5700':''}}">人气</text>
  14. <text style="{{parmas.contListType==3?'background-color: #FF5700':''}}"></text>
  15. </view>
  16. <view class="tab-item" bindtap="bindItem" data-id="2">
  17. <text style="{{parmas.contListType==2?'color: #FF5700':''}}">点评</text>
  18. <text style="{{parmas.contListType==2?'background-color: #FF5700':''}}"></text>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="kong"></view>
  23. <view class="add-btn" bindtap="toaddArticle">
  24. <image src="/static/img/addCircles.png"></image>
  25. </view>
  26. <!-- <view class="article-box" wx:for="{{contentList}}" wx:key="contentId">
  27. <view class="article-head">
  28. <image src="{{item.headImg}}"></image>
  29. <text>{{item.nickName}}</text>
  30. <image catchtap="handleShow" data-cid="{{item.contentId}}" src="/static/img/more.png"></image>
  31. </view>
  32. <view class="img-box" style="{{item.scale<1?'height:1000rpx':(item.scale>1?'height:562rpx':'')}}">
  33. <image mode="aspectFill" src="{{item.imgUrlList[0]}}" style="width: 750rpx;height: auto;margin: 0 auto;" catchtap="toCirclesDetail" data-cid="{{item.contentId}}"></image>
  34. <view wx:if="{{item.imgUrlList.length>1}}" class="swiper-num">
  35. {{item.imgUrlList.length}}图
  36. </view>
  37. </view>
  38. <view class="article-take">
  39. <image class="take-dianzan" src="/static/img/like_s.png" wx:if="{{item.like}}" bindtap="contentCellikeFun" data-cid="{{item.contentId}}" data-idx="{{index}}"></image>
  40. <image class="take-dianzan" src="/static/img/like_n.png" wx:else bindtap="contentlikeFun" data-cid="{{item.contentId}}" data-idx="{{index}}"></image>
  41. <text class="take-dianzan-num">{{item.likeCount}}</text>
  42. <image class="take-msg" src="/static/img/discuss.png" catchtap="toCirclesDetail" data-cid="{{item.contentId}}"></image>
  43. <text class="take-dianzan-num">{{item.commentCount}}</text>
  44. <button open-type="share" class="take-share-box" data-item="{{item}}">
  45. <image class="take-share" src="/static/img/share.png"></image>
  46. </button>
  47. </view>
  48. <view class="article-content" catchtap="toCirclesDetail" data-cid="{{item.contentId}}">{{item.content ? item.content : ''}}</view>
  49. <view class="article-tag">
  50. <view class="tag-item" wx:for="{{item.tagList}}" wx:for-item="itemTag" wx:key="itemTag">
  51. <image src="/static/img/tag.png"></image>
  52. <text>{{itemTag}}</text>
  53. </view>
  54. </view>
  55. </view> -->
  56. <import src="../template/template.wxml"/>
  57. <template is="contentList" data="{{contentList}}"/>
  58. <view hidden="{{contentList.length!=0}}" class="nonedata-style">
  59. <image src="/static/img/hemaNo.png"></image>
  60. <text>暂无数据</text>
  61. </view>
  62. <view hidden="{{handleStatus}}" class="handle-box">
  63. <view catchtap="handleShow" class="handle-bg"></view>
  64. <view class="hadle-view">
  65. <image catchtap="handleShow" src="/static/img/close2.png"></image>
  66. <!-- <view class="handle-item">
  67. <image src="/static/img/nolike.png"></image>
  68. <text>不感兴趣</text>
  69. </view> -->
  70. <view class="handle-item" catchtap="toReport">
  71. <image src="/static/img/jubao.png"></image>
  72. <text>举报</text>
  73. </view>
  74. </view>
  75. </view>