videoshare.wxml 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <wxs module="filters" src="../../../utils/filters.wxs"></wxs>
  2. <view class="topbox" style="padding-top:{{top}}px;height:{{top*1+hgt*1}}px;">
  3. <!-- <view class="leftindexbox clearfix" style="top: {{top*1+8}}px;">
  4. <image bindtap="golastap" class="leftgoto" src="../../../img/back1.png"></image>
  5. <view class="text"></view>
  6. <image bindtap="goindextap" class="gotoindex" src="../../../img/goindex.png"></image>
  7. <view bindtap="goindextap" class="gotoidxbox"></view>
  8. </view> -->
  9. <view class="fontfpm fontr32 center maintitle titleStyle" style="line-height: 44px;">{{videoObj.title}}</view>
  10. </view>
  11. <view wx:if="{{!!videoObj.title}}" class="page">
  12. <view class="{{videoObj.video_type==1?'videoBoxUp':'videoBox'}}">
  13. <video-list id="myVideo1" loop="{{false}}" autoplay="{{autoplay}}" vidoesrc="{{videoObj.video_url}}" poster="{{imgsrc}}" objectfit="contain" showProgress="{{true}}" showBottomProgress="{{true}}" showFullscreenBtn="{{false}}"/>
  14. </view>
  15. </view>
  16. <calcprice priceflag='{{priceflag}}' bind:run="closepricetap"></calcprice>
  17. <scheme priceflag='{{designPlan}}' rType="Video" curId="{{vid}}" bind:run="closeDesigntap"></scheme>
  18. <view class="textPosition">
  19. <button class="signUpBtn" open-type="getPhoneNumber" data-type='1' bindgetphonenumber="getPhoneNumberTap">报名免费设计>></button>
  20. <view class="videoTitle ellipsis">{{'@'+companyobj.company_name}}</view>
  21. <view wx:if="{{!showDsc && (videoObj.description.length > 28)}}" bindtap="showdscMsg" class="videocontent ellipsisTwo {{showDsc?'videocontentshow':''}}">{{filters.getsubstr(videoObj.description,28)}}... 展开</view>
  22. <view wx:else="" bindtap="showdscMsg" class="videocontent {{showDsc?'videocontentshow':''}}" >{{videoObj.description}}{{showDsc?'<<隐藏':''}}</view>
  23. <view wx:if="{{!!videoObj.type}}" class="videotype ellipsisTwo {{!customerFlag?'videotypeshow':''}}">#{{videoObj.type}}</view>
  24. </view>
  25. <!-- <view class="personMsgBox {{!customerFlag?'personMsgBoxshow':''}}" >
  26. <view class="headImg pull-left">
  27. <image src="{{shareobj.headimgurl}}" ></image>
  28. </view>
  29. <view class="name ellipsis pull-left">{{shareobj.nickname}}</view>
  30. </view> -->
  31. <view wx:if="{{!!videoObj.title}}" class="sharenumBox sharenumBoxshow">
  32. <block wx:if="{{!!shareobj.headimgurl||!!shareobj.nickname}}">
  33. <button class="box-center" style="height:140rpx;">
  34. <image class="avatarBox" src="{{shareobj.headimgurl}}" alt></image>
  35. <view class="ellipsis" style="width: 140rpx;">{{shareobj.name}}</view>
  36. </button>
  37. <button class="box-center" bindtap="prelooktap">
  38. <image src="../../../img/addedwx.png" alt></image>
  39. <view>微信咨询</view>
  40. </button>
  41. <button class="box-center" bindtap="callphonetap">
  42. <image class="bwicon" src="../../../img/wphoneicon.png" alt></image>
  43. <view class="btext">电话预约</view>
  44. </button>
  45. </block>
  46. <button class="box-center" open-type="share">
  47. <image class="bwicon" src="../../../img/bshareicon.png" alt></image>
  48. <view class="btext">转发</view>
  49. </button>
  50. <image bindtap="priceshowtap" class="pricebtnimg" src="{{imgUrl}}xcx/aaa/pricebtn.gif"></image>
  51. </view>
  52. <view wx:if="{{loginFlag==true}}" class="viewBox">
  53. <button wx:if="{{canIUseGetUserProfile&&loginFlag==true}}" class="userLogin" bindtap="getUserProfile">授权登录</button>
  54. <button wx:if="{{!canIUseGetUserProfile&&loginFlag==true}}" open-type="getUserInfo" class="userLogin" bindgetuserinfo="getUserInfoTap">授权登录 </button>
  55. </view>
  56. <!-- <view wx:if="{{phoneFlag==true}}" class="viewBox">
  57. <button class="userLogin" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap">授权登录</button>
  58. </view> -->
  59. <!-- <view wx:if="{{(!!shareobj.headimgurl||!!shareobj.nickname)&&!employeeflag}}" class="footerbox fontr28">
  60. <image class="mineheading pull-left" src="{{shareobj.headimgurl}}"></image>
  61. <view class="fontfpr color210605 lhr98 minename pull-left ellipsis">专属客服{{shareobj.nickname}}</view>
  62. <view bindtap="prelooktap" class=" pull-left addwxbox">
  63. <image src="../../../img/indexwx.png"></image>
  64. <view class="lhr30 fontfpr color210605">微信咨询</view>
  65. </view>
  66. <view bindtap="callphonetap" class="phonebox pull-right fontr28 colorfff">立即咨询</view>
  67. </view> -->
  68. <view class="width100 center deltext fontr36" wx:if="{{loadflag==true&&!videoObj.title}}">此视频已删除</view>
  69. <mustlogin loginFlag="{{loginFlag}}" orgname="{{companyobj.company_name}}" logo="{{companyobj.logo}}" canIUseGetUserProfile="{{canIUseGetUserProfile}}" mobileflag="{{mobileflag}}" phoneflag="{{true}}" typenum="{{0}}" id="loginbox" bind:cancelPhone="cancelGetPhone" bind:run="videofun"></mustlogin>