Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

159 linhas
9.0 KiB

  1. <view id="BoxBg" bindtap="hieaddCheck" >
  2. <view class="Box">
  3. <navbar back text="{{classTitle}}" background="#0E1119" color="#fff"></navbar>
  4. <prompt bind:hie="cancel" url="/pages/order/order" tt:if="{{showHie}}" titil="提示" text="您有已存在的订单" assistant="取消" advocate="去查看"></prompt>
  5. <view style="height:{{navigationBarHeight}} "></view>
  6. <video id="myVideo" bindtimeupdate="time" controls="{{btnSuspend}}" src="{{mp4Url}}"></video>
  7. <cover-view class="coverPay" tt:if="{{goPayFlag&&ifPay!='ios'}}" bindtap="goPay">¥ {{data.salePriceStr}} 购买</cover-view>
  8. <cover-view class="noCoverPay" tt:if="{{goPayFlag&&ifPay=='ios'}}" >暂不支持购买</cover-view>
  9. <view class="showContBox oh">
  10. <view class="titleBox">
  11. <view class="title">{{data.title}}</view>
  12. <view class="classBox oh">
  13. <!-- <image class="courseLogo" src="{{imgHttps+'upzy_icon_ks.png'}}" mode="" />
  14. <view class="classNum">56课时</view> -->
  15. <image class="heatLogo" src="{{imgHttps+'home_ic_renq.png'}}" mode="" />
  16. <view class="heatNum">人气{{data.popularity}}</view>
  17. </view>
  18. </view>
  19. <view class="collectBox" bindtap="setCollect">
  20. <image class="collect" src="{{imgHttps+'details_tab_sc.png'}}" mode="" tt:if="{{!iscollect}}"/>
  21. <image class="collect" src="{{imgHttps+'details_xx_huang.png'}}" mode="" tt:if="{{iscollect}}"/>
  22. <!-- details_xx_huang.png -->
  23. <view style="color: #fff;">收藏</view>
  24. </view>
  25. </view>
  26. <!-- 未购买出现 -->
  27. <view class="payBox oh" tt:if="{{data.salePriceStr!=0}}">
  28. <view class="payF">
  29. </view>
  30. <view class="payNum">
  31. {{data.salePriceStr}}
  32. </view>
  33. </view>
  34. <!-- 未购买出现 -->
  35. <!-- 购买出现 -->
  36. <view class="oh" tt:if="{{data.columnCoupons}}">
  37. <view class="purchaseBox oh" >
  38. <view bindtap="siteVid" data-id="{{item.videoId}}" data-index="{{index}}" class="{{anthology==index?'anthology_a':'anthology'}} anthology" tt:for="{{data.columnCoupons}}">
  39. <view class="anthologyItem">{{(index+1)+'.'+item.title}}</view>
  40. </view>
  41. </view>
  42. <!-- <image class="more" bindtap="setShowPopup" src="{{imgHttps+'me_icon_jiantou.png'}}" mode="" /> -->
  43. </view>
  44. <!-- 选集弹框 -->
  45. <!-- <view class="compilationsBox oh" tt:if="{{showPopup}}">
  46. <view class="oh">
  47. <view class="aaClassBox">
  48. <view class="anthologyBox oh">
  49. <view class="anthologyText">课程分集</view>
  50. <view class="xiao">共</view>
  51. <view class="Num">{{classNumber}}</view>
  52. <view class="xiao">集</view>
  53. </view>
  54. </view>
  55. <image class="pack" src="{{imgHttps+'details_icon_fenji.png'}}" mode="" bindtap="hiePopup"/>
  56. </view>
  57. <view class="numberBox oh">
  58. <view class="{{popupNum==index?'number_a':'number'}}" tt:for="{{3}}" bindtap="setPopupNum" data-index="{{index}}">1-20</view>
  59. </view>
  60. <view class="curriculumBox oh" tt:for="{{6}}" bindtap="setPopupIndex" data-index="{{index}}">
  61. <image class="bfLogo" src="{{imgHttps+'details_ml_bf.png'}}" mode="" />
  62. <view class="classnameBox">
  63. <view class="{{popupIndex==index?'classname_a':'classname'}}">1.健身私教体验课-常规课程训练</view>
  64. <view class="classTiemBox oh">
  65. <image class="time" src="{{imgHttps+'details_ml_sj.png'}}" mode="" />
  66. <view class="timeText">20:58</view>
  67. <image class="yuan" src="{{imgHttps+'details_ml_zzbf.png'}}" mode="" tt:if="{{popupIndex==index}}"/>
  68. <view class="then" tt:if="{{popupIndex==index}}">正在播放</view>
  69. </view>
  70. </view>
  71. </view>
  72. </view> -->
  73. <!-- 选集弹框 -->
  74. <!-- 购买出现 -->
  75. <view class="columnBox oh">
  76. <view class=" {{columnIndex==0?'introduce columnB_a':'introduce'}}" bindtap="setColumnIndex" data-index="{{0}}">
  77. 介绍
  78. </view>
  79. <view class=" {{columnIndex==1?'catalogue columnB_a':'catalogue'}}" bindtap="setColumnIndex" data-index="{{1}}" tt:if="{{data.type==1}}">
  80. <!-- 目录({{classNumber}}) -->
  81. 目录
  82. </view>
  83. </view>
  84. <navigator url="/pages/UpHome/UpHome?id={{data.merchantId}}&name={{data.merchantName}}" open-type="" hover-class="className" class="userParticularsBox oh" tt:if="{{columnIndex==0}}">
  85. <view class="userBox oh" >
  86. <image class="userLogo" src="{{data.merchantPic}}" mode="" />
  87. <view class="userNameBox oh">
  88. <view class="oh">
  89. <view class="userName">{{data.merchantName}}</view>
  90. <!-- <view class="attention">+ 关注</view> -->
  91. </view>
  92. <view class="classifyBoc oh" tt:if="{{data.businessName}}">
  93. <view class="classifyItem">{{data.businessName}}</view>
  94. <!-- <view class="classifyItem">健身</view> -->
  95. </view>
  96. </view>
  97. <image class="extend" src="{{imgHttps+'me_icon_jiantou.png'}}" mode="" />
  98. </view>
  99. <view class="userDescribe">{{data.author.introduction}}</view>
  100. </navigator>
  101. <view class="richtextBox" tt:if="{{columnIndex==0}}">
  102. <rich-text class="rich_text" nodes="{{data.html}}"></rich-text>
  103. </view>
  104. <view tt:if="{{columnIndex==1}}" class="catalogueBox">
  105. <view class="titleImgBox oh">
  106. <image src="{{imgHttps+'details_icon_kcfj.png'}}" mode="" class="h3Img"/>
  107. <view class="h3">课程分集</view>
  108. </view>
  109. <view class="playLsitBox oh" tt:for="{{data.columnCoupons}}" bindtap="setThenIndex" data-index="{{index}}" data-id="{{item.videoId}}">
  110. <image class="transmitImg" src="{{imgHttps+'details_ml_bf.png'}}" mode="" />
  111. <view class="timeBox oh">
  112. <view class="{{anthology==index?'timeBoxTitle_a':'timeBoxTitle'}} ">{{(index+1+'.')+item.title}}</view>
  113. <view class="tiemBoxImg oh">
  114. <!-- <image class="time" src="{{imgHttps+'details_ml_sj.png'}}" mode="" /> -->
  115. <!-- <view class="timeText">20:58</view> -->
  116. <image class="yuan" src="{{imgHttps+'details_ml_zzbf.png'}}" mode="" tt:if="{{anthology==index}}"/>
  117. <view class="then" tt:if="{{anthology==index}}">正在播放</view>
  118. </view>
  119. </view>
  120. <image class="try" src="{{imgHttps+'details_ml_sk.png'}}" mode="" tt:if="{{anthology==index}}"/>
  121. <image class="shuo" src="{{imgHttps+'details_ml_wgm.png'}}" mode="" tt:if="{{anthology==!index}}"/>
  122. </view>
  123. </view>
  124. <view class="hit"></view>
  125. <image catchtap="addCheck" class="add" src="{{imgHttps+'details_bat_xf_zk.png'}}" mode="" tt:if="{{addFlag}}"/>
  126. <view class="addBox {{extraClasses}} oh">
  127. <!-- <navigator url="" class="goruzu oh">
  128. <image src="{{imgHttps+'details_xf_ic_fbsp.png'}}" mode="" class="video"/>
  129. <view class="issue">发布视频</view>
  130. </navigator> -->
  131. <!-- <view class="xian"></view> -->
  132. <navigator url="/pages/upEnter/upEnter" class="goruzu oh">
  133. <image src="{{imgHttps+'details_xf_ic_sqrz.png'}}" mode="" class="checkImg"/>
  134. <view class="issue" url="/pages/upEnter/upEnter">申请入驻</view>
  135. </navigator>
  136. </view>
  137. <view class="shareBox oh">
  138. <image class="shareImg" src="{{imgHttps+'details_bat_fx.png'}}" mode=""/>
  139. <button class="service" open-type="share"> 分享 </button>
  140. <view class="xuxian"></view>
  141. <image class="consult" src="{{imgHttps+'details_bat_zx.png'}}" mode=""/>
  142. <button class="service" open-type="contact" > 咨询 </button>
  143. <view class="shopping" bindtap="goPay" tt:if="{{ifPay!='ios'&&!data.view}}">¥{{data.salePriceStr}}</view>
  144. <view class="nOshopping" bindtap="showIos" tt:if="{{ifPay=='ios'&&!data.view}}">¥{{data.salePriceStr}}</view>
  145. </view>
  146. </view>
  147. <prompt bind:hie="cancelIos" tt:if="{{showIos}}" titil="提示" text="Ios当前暂不支持购买" hidText="确定" ></prompt>
  148. </view>