videoshare.wxml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <wxs module="filters" src="../../../utils/filters.wxs"></wxs>
  2. <view class="page">
  3. <view class="{{videoObj.video_type==1?'videoBoxUp':'videoBox'}}" >
  4. <video-list id="myVideo" vidoesrc="{{videoObj.video_url}}" poster="{{videoObj.cover?videoObj.cover:videoObj.video_url+'?x-oss-process=video/snapshot,t_100,f_jpg,w_200,m_fast'}}" objectfit="contain" showProgress="{{true}}" showBottomProgress="{{true}}" showFullscreenBtn="{{false}}"/>
  5. </view>
  6. </view>
  7. <calcprice priceflag='{{priceflag}}' bind:run="closepricetap"></calcprice>
  8. <view class="sharenumBox sharenumBoxshow">
  9. <button class="box-center" style="height:140rpx;">
  10. <image class="avatarBox" src="{{personMsg.headimgurl?personMsg.headimgurl:imgUrl+'xcx/newxcx/heaDefault.png'}}" alt></image>
  11. <view class="ellipsis personamebox1">{{personMsg.binded.name?personMsg.binded.name:personMsg.nickname?personMsg.nickname:'微信用户'}}</view>
  12. </button>
  13. <button class="box-center" bindtap="prelooktap">
  14. <image src="../../../img/addedwx.png" alt></image>
  15. <view>微信咨询</view>
  16. </button>
  17. <button class="box-center" bindtap="callphonetap">
  18. <image class="bwicon" src="../../../img/wphoneicon.png" alt></image>
  19. <view class="btext">电话预约</view>
  20. </button>
  21. <button class="box-center" bindtap="collecTap">
  22. <image class="bwicon" wx:if="{{videoObj.collect=='0'}}" src="../../../img/wcollecticon.png" alt></image>
  23. <image wx:if="{{videoObj.collect=='1'}}" src="{{imgUrl}}xcx/collected.png" alt></image>
  24. <view class="{{videoObj.collect=='0'?'btext':''}}">收藏</view>
  25. </button>
  26. <button class="box-center" bindtap="wsharetap">
  27. <image class="bwicon" src="../../../img/bshareicon.png" alt></image>
  28. <view class="btext">转发</view>
  29. </button>
  30. <image bindtap="priceshowtap" class="pricebtnimg" src="{{imgUrl}}xcx/aaa/pricebtn.gif"></image>
  31. </view>
  32. <view class="videomsgbox">
  33. <button class="signUpBtn" bindtap="signpricetap">报名免费设计>></button>
  34. <view class="videoTitle ellipsis">@{{companyobj.company_name}}</view>
  35. <view wx:if="{{!showDsc && (videoObj.description.length > 28)}}" bindtap="showdscMsg" class="videocontent ellipsisTwo {{showDsc?'videocontentshow':''}}" >{{filters.getsubstr(videoObj.description,28)}}... 展开</view>
  36. <view wx:else="" bindtap="showdscMsg" class="videocontent {{showDsc?'videocontentshow':''}}" >{{videoObj.description}}{{showDsc?'<<隐藏':''}}</view>
  37. <view class="videotype ellipsisTwo {{!customerFlag?'videotypeshow':''}}">#{{videoObj.type}}</view>
  38. </view>
  39. <view wx:if="{{alertFlag==true}}" class="alertbox">{{alerText}}</view>
  40. <wshare wshareshow="{{wshareshow}}" bind:poster="setpostertap" bind:sfriend="sharetap" bind:shareurl="shareurltap" bind:sendfriendcircle="sendfriendtap" ></wshare>