1
0

articleshare.wxml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 wx:if="{{isBroker}}" bindtap="articlesharetap" class="shareBtn">立即分享</button>
  31. <button wx:else="" bindgetphonenumber="getPhoneNumberTap" open-type="getPhoneNumber" loading="{{loading}}" disabled="{{loading}}" class="shareBtn">立即分享</button>
  32. </view>
  33. </block>
  34. <sharefooter wx:if="{{!pType && bType != 'b'}}" type="{{1}}"></sharefooter>
  35. <wshare wshareshow="{{wshareshow}}" bind:poster="setpostertap" bind:sfriend="sharetap" bind:sendfriendcircle="sendfriendtap" showTask="{{showTask}}" bind:shareurl="shareurltap" contentid="{{aid}}" type="Article"></wshare>
  36. <calcprice priceflag='{{priceflag}}' bind:run="closepricetap"></calcprice>