videoshare.wxml 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <wxs module="filters" src="../../../utils/filters.wxs"></wxs>
  2. <cover-view hidden="{{isfullScreen}}" class="topbox" style="padding-top:{{top}}px;height:{{top*1+hgt*1}}px;">
  3. <cover-view class="leftindexbox clearfix" style="top: {{top*1+8}}px;">
  4. <cover-image bindtap="golastap" class="leftgoto" src="../../img/back1.png"></cover-image>
  5. <cover-view bindtap="golastap" class="leftitbox"></cover-view>
  6. <cover-view class="text"></cover-view>
  7. <cover-image bindtap="goindextap" class="gotoindex" src="../../../img/goindex.png"></cover-image>
  8. <cover-view bindtap="goindextap" class="gotoidxbox"></cover-view>
  9. </cover-view>
  10. <cover-view class="fontfpm fontr32 center maintitle titleStyle" style="line-height: 44px;padding-left: 82px;">{{filters.titext(videoObj.title)}}</cover-view>
  11. </cover-view>
  12. <view wx:if="{{!!videoObj.title}}" class="page" style="padding-top: {{top*1+hgt*1}}px;">
  13. <view hidden="{{priceflag==true}}" class="{{videoObj.video_type==1?'videoBoxUp':'videoBox'}}">
  14. <video-list miLinToken="327d74d81bca11ee8eba017370856519" id="myVideo1" loop="{{false}}" autoplay="{{autoplay}}" src="{{videoObj.video_url}}" poster="{{imgsrc}}" objectfit="contain" show-progress="{{true}}" bindprogress="bindprogress" bindfullscreenchange="onFullScreenChange" show-fullscreen-btn="{{videoObj.video_type==1}}" />
  15. <view bindtap="videotap" wx:if="{{playflag==2}}" class="videoloading"></view>
  16. </view>
  17. </view>
  18. <calcprice hidden="{{isfullScreen}}" priceflag='{{priceflag}}' bind:run="closepricetap"></calcprice>
  19. <scheme priceflag='{{designPlan}}' rType="Video" curId="{{vid}}" bind:run="closeDesigntap"></scheme>
  20. <cover-view hidden="{{isfullScreen||hiddenBtn}}" class="textPosition">
  21. <button class="signUpBtn" open-type="getPhoneNumber" data-type='1' bindgetphonenumber="getPhoneNumberTap">报名免费设计>></button>
  22. <cover-view class="videoTitle ellipsis">{{'@'+companyobj.company_name}}</cover-view>
  23. <cover-view wx:if="{{!showDsc && (videoObj.description.length > 28)}}" bindtap="showdscMsg" class="videocontent ellipsisTwo {{showDsc?'videocontentshow':''}}">{{filters.getsubstr(videoObj.description,28)}}... 展开</cover-view>
  24. <cover-view wx:else="" bindtap="showdscMsg" class="videocontent {{showDsc?'videocontentshow':''}}">{{videoObj.description}}{{showDsc?'<<隐藏':''}}</cover-view>
  25. <cover-view wx:if="{{!!videoObj.type}}" class="videotype ellipsisTwo {{!customerFlag?'videotypeshow':''}}">#{{videoObj.type}}</cover-view>
  26. </cover-view>
  27. <cover-view hidden="{{isfullScreen}}" wx:if="{{!!videoObj.title}}" class="sharenumBox sharenumBoxshow">
  28. <block wx:if="{{!!shareobj.headimgurl||!!shareobj.nickname}}">
  29. <button class="box-center" style="height:140rpx;">
  30. <cover-image class="avatarBox" src="{{shareobj.headimgurl}}" alt></cover-image>
  31. <cover-view class="ellipsis" style="width: 140rpx;">{{shareobj.name}}</cover-view>
  32. </button>
  33. <button class="box-center" bindtap="prelooktap">
  34. <cover-image src="../../../img/addedwx.png" alt></cover-image>
  35. <cover-view>微信咨询</cover-view>
  36. </button>
  37. <button class="box-center" bindtap="callphonetap">
  38. <cover-image class="bwicon" src="../../../img/wphoneicon.png" alt></cover-image>
  39. <cover-view class="btext">电话预约</cover-view>
  40. </button>
  41. </block>
  42. <button class="box-center" open-type="share">
  43. <cover-image class="bwicon" src="../../../img/bshareicon.png" alt></cover-image>
  44. <cover-view class="btext">转发</cover-view>
  45. </button>
  46. <cover-image bindtap="priceshowtap" class="pricebtnimg" src="{{imgUrl}}xcx/aaa/pricebtn.gif"></cover-image>
  47. </cover-view>
  48. <!-- loginFlag==true -->
  49. <cover-view wx:if="{{false}}" class="viewBox">
  50. <button wx:if="{{canIUseGetUserProfile&&loginFlag==true}}" class="userLogin" bindtap="getUserProfile">授权登录</button>
  51. <button wx:if="{{!canIUseGetUserProfile&&loginFlag==true}}" open-type="getUserInfo" class="userLogin" bindgetuserinfo="getUserInfoTap">授权登录 </button>
  52. </cover-view>
  53. <!-- <view wx:if="{{phoneFlag==true}}" class="viewBox">
  54. <button class="userLogin" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap">授权登录</button>
  55. </view> -->
  56. <!-- 经纪人报名 -->
  57. <button wx:if="{{isBroker}}" data-type="broker" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap" class="application">立即报名</button>
  58. <signup dialog="{{showMask}}" phone="{{fPhone}}" agentid="{{agid}}" bind:close="hiddenMaskFunc"></signup>
  59. <cover-view class="width100 center deltext fontr36" wx:if="{{loadflag==true&&!videoObj.title}}">此视频已删除</cover-view>
  60. <!-- 隐私协议授权 -->
  61. <privacy-popup bind:agree="agreePrivacy"></privacy-popup>
  62. <mustlogin loginFlag="{{loginFlag}}" orgname="{{companyobj.company_name}}" logo="{{companyobj.logo}}" mobileflag="{{phoneFlag}}" phoneflag="{{true}}" typenum="{{0}}" id="loginbox" bind:cancelPhone="cancelGetPhone" bind:run="videofun"></mustlogin>