1
0

articleshare.wxml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!-- <image mode="widthFix" class="bannerImg" src="{{articleObj.cover_img}}"></image> -->
  2. <view class="contentBox">
  3. <view class="title fontfpr">{{articleObj.title}}</view>
  4. <view wx:if="{{!!articleObj.type}}" class="tagBox clearfix">
  5. <view class="fontfpm">#{{articleObj.type}}#</view>
  6. </view>
  7. <view class="articlebox {{articlelogin==false?'unloginbox':''}}">
  8. <mp-html content="{{articleObj.content}}" />
  9. </view>
  10. </view>
  11. <view wx:if="{{!bType}}" class="rightbtnbox">
  12. <image bindtap="priceshowtap" class="pricebtnimg" src="{{imgUrl}}xcx/aaa/pricebtn.gif"></image>
  13. <view bindtap="articlesharetap" class="tcollectbox tsharebox tcenter">
  14. <image src="{{imgUrl}}xcx/aaa/tshare.png"></image>
  15. <view class="colorfff fontfpr fontr24 lhr24">分享</view>
  16. </view>
  17. <view wx:if="{{articleObj.collect==0}}" bindtap="collectTap" class="tcollectbox tcenter">
  18. <image src="../../img/collect.png"></image>
  19. <view class="colorB6CADE fontfpr fontr24 lhr24">收藏</view>
  20. </view>
  21. <view wx:if="{{articleObj.collect!='0'}}" bindtap="cancleTap" class="tcollectbox tcenter">
  22. <image src="../../img/collected.png"></image>
  23. <view class="colorB6CADE fontfpr fontr24 lhr24">收藏</view>
  24. </view>
  25. </view>
  26. <block wx:if="{{bType == 'b'}}">
  27. <view wx:if="{{!showCutImage}}" style="width: 100%;height: 50rpx;"></view>
  28. <view class="shareTips">分享后上传分享截图可获得积分兑换现金</view>
  29. <view class="cutAndShare">
  30. <button bindtap="articlesharetap" class="shareBtn">立即分享</button>
  31. </view>
  32. <view wx:if="{{showCutImage}}" class="cutMask" bindtap="closeDialog" bindtouchmove="dothis">
  33. <view class="cutBlock" catchtap="dothis">
  34. <view class="cutTitle">上传分享截图</view>
  35. <view class="cutContent">
  36. <view class="cutShareLabel">上传分享截图</view>
  37. <view class="cutImglistBox">
  38. <view wx:for="{{trackimgarr}}" class="imageItem">
  39. <image src="{{item.tempFilePath}}" mode="" />
  40. <view data-index="{{index}}" class="imgdel" bindtap="imageDel">
  41. <image src="../../../img/wdelt.png" mode="widthFix"></image>
  42. </view>
  43. </view>
  44. <view class="uploadImg" bindtap="uploadImage">
  45. <image src="../../../img/addicon.png" mode="widthFix"></image>
  46. <view class="u-text">上传</view>
  47. </view>
  48. </view>
  49. <view class="u-textarea-box">
  50. <textarea value="{{remark}}" bindinput="getTextarea" class="u-textarea" placeholder="请输入备注" cols="30" rows="10"></textarea>
  51. </view>
  52. </view>
  53. <button disabled="{{loading}}" loading="{{loading}}" class="cutConfirm" bindtap="submitData">保存并推荐分享</button>
  54. </view>
  55. </view>
  56. </block>
  57. <block wx:if="{{pType=='b' && false}}">
  58. <view class="shareApprovalbtn" bindtap="handleShowApproval">分享审核</view>
  59. <view wx:if="{{showApproval}}" class="shareMask" catchtap="closeDialog">
  60. <view class="shareBlock" catchtap="dothis">
  61. <view class="shareBlockTitle">分享审核</view>
  62. <view class="shareBlockContent">
  63. <view wx:for="{{shareApprovallist}}" wx:key="{{index}}" class="shareApprovalItem">
  64. <view class="shareApprovalLeft">
  65. <image src="{{item.headimgurl?item.headimgurl:'../../../img/default.png'}}" mode="" />
  66. </view>
  67. <view class="shareApprovalRight">
  68. <view class="shareApprovalText">
  69. <text class="satName">{{item.agent_name||'未知'}}</text>
  70. <text class="satTime">分享时间:{{item.addtime}}</text>
  71. </view>
  72. <view class="shareApprovalImgBox">
  73. <view wx:for="{{item.img}}" wx:for-item="imgItem" wx:for-index="idx" wx:key="{{idx}}" class="shareApprovalImgItem" data-index="{{index}}" data-idx="{{idx}}" bindtap="previewImageEvent">
  74. <image src="{{imgItem}}" mode="" />
  75. </view>
  76. </view>
  77. <view wx:if="{{item.remarks}}" class="shareApprovalMsg">
  78. {{item.remarks}}
  79. </view>
  80. <view class="shareApproValBtnBox">
  81. <button data-id="{{item.id}}" disabled="{{loading}}" loading="{{loading}}" bindtap="confirmApproval" class="aConfirmBtn">通过</button>
  82. <button data-id="{{item.id}}" disabled="{{loading}}" loading="{{loading}}" bindtap="rejectApproval" class="aRejectBtn">驳回</button>
  83. </view>
  84. </view>
  85. </view>
  86. <nonedata len="{{shareApprovallist.length}}" datashow="{{datashow}}"></nonedata>
  87. </view>
  88. </view>
  89. </view>
  90. </block>
  91. <sharefooter wx:if="{{!pType}}" type="{{1}}"></sharefooter>
  92. <wshare wshareshow="{{wshareshow}}" bind:poster="setpostertap" bind:sfriend="sharetap" bind:sendfriendcircle="sendfriendtap" showTask="{{showTask}}" bind:shareurl="shareurltap" contentid="{{aid}}" type="Article"></wshare>
  93. <calcprice priceflag='{{priceflag}}' bind:run="closepricetap"></calcprice>