detail.vue 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. <template>
  2. <view>
  3. <view style="position: fixed;width: 100%;z-index: 999;background: #FFFFFF;top: 0;" id="top">
  4. <view class="video_box" v-if="!startStatus">
  5. <image :src="$method.splitImgHost(detail.coverUrl)" style="width: 100%;height: 460rpx;"></image>
  6. <image v-if="false" class="video_play" src="/static/play.png" @click="startVideo"></image>
  7. </view>
  8. <view v-else class="video_box" style="width: 100%;height: 460rpx;">
  9. <polyv-player
  10. id="playerVideo"
  11. playerId="playerVideo"
  12. height="460rpx"
  13. :vid="vid"
  14. :showSettingBtn="true"
  15. :enablePlayGesture="true"
  16. ></polyv-player>
  17. </view>
  18. <view>
  19. <u-row>
  20. <u-col span="10">
  21. <view class="video_t1">{{ detail.courseName }}</view>
  22. </u-col>
  23. <u-col span="2">
  24. <view class="video_t1_t" @click="openPhoto">
  25. <image src="/static/icon/jy_icon.png" style="width: 40rpx;height: 40rpx;"></image>
  26. 讲义
  27. </view>
  28. </u-col>
  29. </u-row>
  30. </view>
  31. <u-line color="#D6D6DB" />
  32. <view>
  33. <view style="width: 240px;margin: 0 auto;">
  34. <u-tabs :list="list" item-width="150" font-size="24" bar-width="80" :current="current" @change="change" active-color="#007AFF"></u-tabs>
  35. </view>
  36. </view>
  37. <u-line color="#D6D6DB" />
  38. </view>
  39. <view class="box">
  40. <!--目录 -->
  41. <view v-show="current == 0">
  42. <view class="menuBox" v-for="(item, index) in menuList">
  43. <!--模块 -->
  44. <view v-if="item.type == 1"><courseModule :isBuy="true" :menuItem="item"></courseModule></view>
  45. <!--章 -->
  46. <view v-if="item.type == 2"><courseChapter :isBuy="true" :menuItem="item"></courseChapter></view>
  47. <!--节 -->
  48. <view v-if="item.type == 3"><courseSection :isBuy="true" :menuItem="item"></courseSection></view>
  49. </view>
  50. </view>
  51. <!--笔记 -->
  52. <view v-show="current == 1">
  53. <view class="inputBottom">
  54. <view style="width: 10%;"><image src="/static/icon/note3.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image></view>
  55. <view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;">
  56. <u-input height="78" fixed="true" :placeholder="placeholder" type="textarea" :custom-style="inputStyle" v-model="value" />
  57. </view>
  58. <view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;">提交</view>
  59. </view>
  60. <view v-for="(item, index) in menuList">
  61. <view class="dateBox">2021年10月30日</view>
  62. <view class="noteBox">
  63. <view class="tBox">
  64. <image src="/static/icon/note1.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
  65. <view class="title leftPadding">施工承发包模式-施工合同与物资采购合同</view>
  66. </view>
  67. <view class="tBox2">
  68. <view class="title" style="width: 39rpx;height: 39rpx;margin:0 29rpx;">00:20</view>
  69. <view class="t2Content leftPadding">这是一段用户记录的笔记本文,当内容过长时 需要换行,完整显示文字内容。</view>
  70. </view>
  71. <view class="tBox">
  72. <image src="/static/icon/note2.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image>
  73. <view class="title leftPadding">施工承发包模式-施工合同与物资采购合同</view>
  74. </view>
  75. <view style="margin-left: 97rpx;" class="t2Content leftPadding">这是一段用户记录的笔记本文,当内容过长时 需要换行,完整显示文字内容。</view>
  76. </view>
  77. </view>
  78. </view>
  79. <!--答疑 -->
  80. <view v-show="current == 2">
  81. <view class="inputBottom">
  82. <view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;margin-left: 10% ;">
  83. <u-input height="78" fixed="true" placeholder="您可以在这里输入答疑内容" type="textarea" :custom-style="inputStyle" v-model="value" />
  84. </view>
  85. <view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;">提交</view>
  86. </view>
  87. <view v-for="(item, index) in menuList" style="background-color: #FFFFFF;">
  88. <view class="chat_box">
  89. <view><image src="https://file-dev.xyyxt.net/oss/images/avatar/20210623/1624414559368_44562477.png" style="width: 64rpx;height: 64rpx;"></image></view>
  90. <view style="margin-left: 15rpx;">
  91. <view class="chat1">倪虹洁</view>
  92. <view class="chat2">2021/10/31 09:36:23</view>
  93. <view class="chat3">老师的课讲得太棒了!</view>
  94. </view>
  95. </view>
  96. <u-line color="#D6D6DB" />
  97. </view>
  98. </view>
  99. </view>
  100. <!-- 播放前拍照start -->
  101. <u-popup v-model="photoPopup" mode="bottom" border-radius="32">
  102. <view class="photoBox">
  103. <view class="photoTop">
  104. <view class="sqzz">
  105. <u-icon name="close" color="#333333" size="30" @click="closePhoto"></u-icon>
  106. </view>
  107. <view class="centersq">
  108. 请正视手机屏幕
  109. </view>
  110. <view class="sqzz">
  111. </view>
  112. </view>
  113. <view class="photoCenter">
  114. <camera device-position="front" flash="off" @error="error" style="width: 100%; height: 100%" v-if="photoPopup"></camera>
  115. <view class="custom">
  116. <image src="@/static/zhezhao@2x.png" mode=""></image>
  117. </view>
  118. </view>
  119. <view class="btnResult" @click="takePhoto">
  120. 拍照
  121. </view>
  122. </view>
  123. </u-popup>
  124. <!-- 播放前拍照end -->
  125. </view>
  126. </template>
  127. <script>
  128. import eventHub from '@/common/eventHub.js';
  129. import courseModule from '@/components/course/courseModule.vue';
  130. import courseChapter from '@/components/course/courseChapter.vue';
  131. import courseSection from '@/components/course/courseSection.vue';
  132. import { mapGetters } from 'vuex';
  133. export default {
  134. components: {
  135. courseModule,
  136. courseChapter,
  137. courseSection
  138. },
  139. data() {
  140. return {
  141. startStatus: false,
  142. detail: {},
  143. courseId: 0,
  144. placeholder: '您可以在这里输入笔记内容\n还可以点击左侧图标为笔记加上时间标记',
  145. inputStyle: {
  146. background: 'rgba(244, 244, 244, 0.98)',
  147. borderRadius: '24rpx',
  148. padding: '8rpx',
  149. marginBottom: '10rpx'
  150. },
  151. playbackRate: [0.5, 0.8, 1.0],
  152. list: [
  153. {
  154. name: '目录'
  155. },
  156. {
  157. name: '笔记'
  158. },
  159. {
  160. name: '答疑'
  161. }
  162. ],
  163. menuList: [
  164. {
  165. list: [
  166. {
  167. showChildren: false,
  168. children: [1, 2, 3]
  169. },
  170. {
  171. showChildren: false,
  172. children: [1]
  173. },
  174. {
  175. showChildren: false,
  176. children: [1, 2]
  177. }
  178. ],
  179. type: 1
  180. },
  181. {
  182. type: 2,
  183. showChildren: false,
  184. list: [{}, {}, {}]
  185. },
  186. {
  187. type: 3,
  188. list: [{}, {}]
  189. }
  190. ],
  191. current: 0,
  192. vid:'',
  193. goodsId:0,
  194. goodsData:{},
  195. photoPopup:false,
  196. };
  197. },
  198. onUnload() {},
  199. computed: { ...mapGetters(['userInfo']) },
  200. onLoad(option) {
  201. this.courseId = option.id;
  202. this.goodsId = uni.getStorageSync('courseGoodsId');
  203. this.courseDetail();
  204. this.getMenuList();
  205. this.getGoodsDetail()
  206. },
  207. onShow() {},
  208. mounted() {
  209. eventHub.$on('getSection', item => {
  210. this.vid = item.recordingUrl
  211. this.startStatus = true
  212. });
  213. },
  214. methods: {
  215. //拍照
  216. openPhoto(){
  217. this.photoPopup = true
  218. },
  219. //确认拍照
  220. takePhoto() {
  221. var self = this
  222. const ctx = uni.createCameraContext();
  223. ctx.takePhoto({
  224. quality: 'high',
  225. success: res => {
  226. console.log(res.tempImagePath)
  227. self.photoPopup = false
  228. },
  229. fail: err => {
  230. console.log(err)
  231. }
  232. });
  233. },
  234. //拍照报错
  235. error(e) {
  236. console.log(e.detail);
  237. },
  238. //关闭相机
  239. closePhoto(){
  240. this.photoPopup = false
  241. },
  242. getGoodsDetail(){
  243. let self = this
  244. this.$api.goodsDetail(this.goodsId).then(res => {
  245. self.goodsData = res.data.data;
  246. })
  247. },
  248. startVideo() {
  249. this.startStatus = true;
  250. },
  251. getMenuList() {
  252. let self = this;
  253. this.$api.menuList({ courseId: this.courseId }).then(res => {
  254. if (res.data.code == 200) {
  255. for (let i = 0; i < res.data.rows.length; i++) {
  256. let item = res.data.rows[i];
  257. item.down = true;
  258. item.id = item.menuId;
  259. item.name = item.menuName;
  260. }
  261. self.menuList = res.data.rows;
  262. }
  263. });
  264. },
  265. courseDetail() {
  266. let self = this;
  267. this.$api.courseDetail(this.courseId).then(res => {
  268. if (res.data.code == 200) {
  269. self.detail = res.data.data;
  270. }
  271. });
  272. },
  273. open(item) {
  274. item.showChildren = !item.showChildren;
  275. },
  276. change(index) {
  277. this.current = index;
  278. }
  279. }
  280. };
  281. </script>
  282. <style lang="scss" scope>
  283. .photoBox{
  284. .photoTop{
  285. height: 74upx;
  286. display: flex;
  287. align-items: center;
  288. justify-content: space-between;
  289. padding: 0upx 38upx;
  290. .sqzz{
  291. width: 28upx;
  292. height: 28upx;
  293. display: flex;
  294. align-items: center;
  295. justify-content: center;
  296. }
  297. .centersq{
  298. color: #333;
  299. font-size: 30upx;
  300. font-weight: 500;
  301. }
  302. }
  303. .photoCenter{
  304. width: 750upx;
  305. height: 979upx;
  306. position: relative;
  307. .custom{
  308. width: 750upx;
  309. height: 979upx;
  310. position: absolute;
  311. top: 0;
  312. left: 0;
  313. image{
  314. width: 100%;
  315. height: 100%;
  316. }
  317. }
  318. }
  319. .btnResult{
  320. height: 100upx;
  321. width: 100%;
  322. background-color: #07c160;
  323. text-align: center;
  324. line-height: 100upx;
  325. color: #fff;
  326. font-size: 32upx;
  327. font-weight: bold;
  328. }
  329. }
  330. .chat_box {
  331. display: flex;
  332. padding: 20rpx;
  333. }
  334. .chat3 {
  335. font-size: 30rpx;
  336. font-family: PingFang SC;
  337. font-weight: 500;
  338. color: #666666;
  339. margin-top: 10rpx;
  340. }
  341. .chat2 {
  342. font-size: 20rpx;
  343. font-family: PingFang SC;
  344. font-weight: 500;
  345. color: #999999;
  346. margin-top: 10rpx;
  347. }
  348. .chat1 {
  349. font-size: 24rpx;
  350. font-family: PingFang SC;
  351. font-weight: 500;
  352. color: #333333;
  353. }
  354. .leftPadding {
  355. margin-left: 8rpx;
  356. }
  357. .t2Content {
  358. font-size: 30rpx;
  359. font-family: PingFang SC;
  360. font-weight: bold;
  361. color: #333333;
  362. line-height: 48rpx;
  363. }
  364. .tBox2 {
  365. display: flex;
  366. padding-top: 10rpx;
  367. }
  368. .tBox {
  369. display: flex;
  370. align-items: center;
  371. padding-top: 10rpx;
  372. }
  373. .title {
  374. font-size: 24rpx;
  375. color: #999999;
  376. }
  377. page {
  378. padding-top: 10px;
  379. padding-top: constant(safe-area-inset-top);
  380. padding-top: env(safe-area-inset-top);
  381. }
  382. .inputBottom {
  383. position: fixed;
  384. left: 0;
  385. bottom: 0;
  386. background: #ffffff;
  387. height: 98rpx;
  388. display: flex;
  389. align-items: center;
  390. width: 100%;
  391. }
  392. .noteBox {
  393. width: 100%;
  394. background: #ffffff;
  395. border-radius: 16rpx;
  396. padding: 10rpx;
  397. }
  398. .dateBox {
  399. width: 216rpx;
  400. height: 48rpx;
  401. background: #ffffff;
  402. border-radius: 24rpx;
  403. font-size: 24rpx;
  404. color: #666666;
  405. text-align: center;
  406. line-height: 48rpx;
  407. margin: 20rpx 0;
  408. }
  409. .t_content1 {
  410. color: #007aff;
  411. margin-left: 10rpx;
  412. }
  413. .tag1 {
  414. border: 2rpx solid #007aff;
  415. border-radius: 8rpx;
  416. font-size: 20rpx;
  417. color: #007aff;
  418. padding: 5rpx;
  419. }
  420. .b_title {
  421. color: #333333;
  422. font-size: 30rpx;
  423. font-weight: bold;
  424. }
  425. page {
  426. background: #eaeef1;
  427. }
  428. .menuBox {
  429. width: 100%;
  430. background: #ffffff;
  431. border-radius: 16rpx;
  432. padding: 20rpx;
  433. margin-bottom: 20rpx;
  434. }
  435. .btnspric {
  436. border-top: 1rpx solid #eee;
  437. display: flex;
  438. align-items: center;
  439. justify-content: space-between;
  440. height: 108rpx;
  441. padding-left: 43rpx;
  442. padding-right: 32rpx;
  443. }
  444. .btnspric > .lefprL {
  445. font-size: 36rpx;
  446. color: #0c141f;
  447. font-weight: bold;
  448. }
  449. .btnspric > .lefprR {
  450. padding: 0rpx 24rpx;
  451. height: 60rpx;
  452. line-height: 60rpx;
  453. text-align: center;
  454. color: #fff;
  455. background: #32467b;
  456. border-radius: 24rpx;
  457. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  458. }
  459. .yhj,
  460. .hdyhj {
  461. padding: 24rpx 29rpx 24rpx 34rpx;
  462. }
  463. .yhj {
  464. border-bottom: 16rpx solid #f9f9f9;
  465. }
  466. .yhjtit {
  467. font-size: 30rpx;
  468. color: #0c141f;
  469. font-weight: 500;
  470. margin-bottom: 14rpx;
  471. }
  472. .yhjList {
  473. display: flex;
  474. align-items: center;
  475. justify-content: space-between;
  476. margin-bottom: 14rpx;
  477. }
  478. .yhjList > .yhjLefts {
  479. display: flex;
  480. align-items: center;
  481. }
  482. .yhjLefts > .yhl {
  483. color: #32467b;
  484. font-size: 30rpx;
  485. margin-right: 31rpx;
  486. }
  487. .yhjLefts > .yhbq {
  488. font-size: 24rpx;
  489. color: #ff9500;
  490. border-radius: 18rpx;
  491. background-color: rgba(255, 149, 0, 0.2);
  492. border: 2rpx solid #ff9500;
  493. height: 38rpx;
  494. line-height: 38rpx;
  495. padding: 0rpx 16rpx;
  496. }
  497. .ts {
  498. font-size: 24rpx;
  499. color: #999;
  500. margin: 14rpx 0rpx;
  501. padding-right: 29rpx;
  502. padding-left: 34rpx;
  503. }
  504. .yh {
  505. padding-top: 20rpx;
  506. }
  507. .yh > .yhtitle {
  508. display: flex;
  509. align-items: center;
  510. justify-content: space-between;
  511. padding-right: 29rpx;
  512. padding-left: 34rpx;
  513. }
  514. .priceBxs {
  515. display: flex;
  516. align-items: center;
  517. }
  518. .priceBxs > .pricleft {
  519. border-radius: 24rpx;
  520. border: 1rpx solid #e91313;
  521. background-color: rgba(233, 19, 19, 0.1);
  522. padding: 0rpx 18rpx;
  523. height: 49rpx;
  524. line-height: 49rpx;
  525. text-align: center;
  526. font-size: 30rpx;
  527. font-weight: 500;
  528. color: #e91313;
  529. margin-right: 13rpx;
  530. }
  531. .topBox {
  532. padding: 32rpx 32rpx 24rpx;
  533. border-bottom: 1rpx solid #eeeeee;
  534. }
  535. .topBox > .boldFonstType {
  536. font-weight: 500;
  537. font-size: 30rpx;
  538. margin: 16rpx 0rpx 23rpx;
  539. }
  540. .topBox > .firstTopL {
  541. display: flex;
  542. align-items: center;
  543. }
  544. .topBox > .firstTopL > .imageBs {
  545. width: 331rpx;
  546. height: 160rpx;
  547. border-radius: 6rpx;
  548. overflow: hidden;
  549. margin-right: 8rpx;
  550. box-shadow: 0rpx 6rpx 6rpx 0rpx rgba(47, 67, 121, 0.08);
  551. }
  552. .topBox > .firstTopL > .imageBs > image {
  553. width: 100%;
  554. height: 100%;
  555. }
  556. .topBox > .firstTopL > .textBs {
  557. font-size: 30rpx;
  558. font-weight: bold;
  559. color: #0c141f;
  560. }
  561. .content {
  562. padding: 24rpx;
  563. text-align: left;
  564. }
  565. .catalogBox {
  566. display: flex;
  567. align-items: center;
  568. flex-wrap: nowrap;
  569. overflow-x: auto;
  570. padding-left: 38rpx;
  571. max-height: 305rpx;
  572. overflow-y: auto;
  573. transition: all 0.4s;
  574. }
  575. .catalogBox > .catalogA {
  576. min-width: 200rpx;
  577. height: 48rpx;
  578. line-height: 48rpx;
  579. // text-align: center;
  580. border: 2rpx solid transparent;
  581. white-space: nowrap;
  582. text-overflow: ellipsis;
  583. overflow: hidden;
  584. word-break: break-all;
  585. border-radius: 10rpx;
  586. background: rgba(22, 119, 255, 0.05);
  587. padding-left: 19rpx;
  588. box-sizing: border-box;
  589. padding-right: 15rpx;
  590. margin-right: 16rpx;
  591. margin-bottom: 20rpx;
  592. margin-top: 15rpx;
  593. font-size: 24rpx;
  594. color: #666;
  595. }
  596. .catalogBox > .activesq {
  597. border-color: #1677ff;
  598. }
  599. .changeCatalogBox {
  600. display: block;
  601. }
  602. .catalogBox::-webkit-scrollbar {
  603. display: none; /* Chrome Safari */
  604. }
  605. .box {
  606. position: relative;
  607. top: 650rpx;
  608. padding-bottom: 88rpx;
  609. margin: 20rpx;
  610. }
  611. .price_t2 {
  612. font-size: 18rpx;
  613. font-family: PingFang SC;
  614. font-weight: 500;
  615. text-decoration: line-through;
  616. color: #999999;
  617. }
  618. .price_t1 {
  619. font-size: 33rpx;
  620. font-family: PingFang SC;
  621. font-weight: bold;
  622. color: #e91313;
  623. }
  624. .sc_t {
  625. font-size: 22rpx;
  626. color: #000000;
  627. }
  628. .sc {
  629. width: 29rpx;
  630. height: 29rpx;
  631. }
  632. .buy {
  633. width: 138rpx;
  634. height: 48rpx;
  635. line-height: 48rpx;
  636. background: #32467b;
  637. border-radius: 10rpx;
  638. color: #ffffff;
  639. font-size: 28rpx;
  640. text-align: center;
  641. vertical-align: middle;
  642. position: absolute;
  643. right: 30rpx;
  644. }
  645. .video_body {
  646. padding-bottom: 96rpx;
  647. }
  648. .footer_tab {
  649. position: fixed;
  650. bottom: 0;
  651. height: 96rpx;
  652. width: 100%;
  653. background-color: #ffffff;
  654. }
  655. .tj_box {
  656. width: 50%;
  657. display: inline-block;
  658. text-align: center;
  659. margin: 10rpx 0;
  660. }
  661. .teacher_t {
  662. font-size: 24rpx;
  663. font-family: PingFang SC;
  664. font-weight: 400;
  665. color: #666666;
  666. line-height: 36rpx;
  667. margin-left: 15rpx;
  668. }
  669. .teacher_img {
  670. width: 87rpx;
  671. height: 129rpx;
  672. }
  673. .t2 {
  674. font-size: 24rpx;
  675. font-family: PingFang SC;
  676. color: #666666;
  677. line-height: 36rpx;
  678. margin: 15rpx;
  679. }
  680. .r_t2 {
  681. width: 201rpx;
  682. height: 49rpx;
  683. background: rgba(22, 119, 255, 0.05);
  684. border: 1rpx solid #32467b;
  685. border-radius: 16rpx;
  686. color: #666666;
  687. font-size: 23rpx;
  688. text-align: center;
  689. display: flex;
  690. align-items: center;
  691. padding: 5rpx;
  692. }
  693. .scroll_box {
  694. width: 100%;
  695. height: 60rpx;
  696. background: #ffffff;
  697. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  698. white-space: nowrap;
  699. overflow: hidden;
  700. margin: 15rpx 0;
  701. }
  702. .r_sliper {
  703. padding: 0 20rpx;
  704. }
  705. .top_line {
  706. width: 6rpx;
  707. height: 22rpx;
  708. background: #32467b;
  709. margin-right: 10rpx;
  710. }
  711. .video_t2 {
  712. font-size: 24rpx;
  713. font-family: PingFang SC;
  714. font-weight: 500;
  715. color: #666666;
  716. }
  717. .video_t1 {
  718. height: 80rpx;
  719. color: #333333;
  720. line-height: 80rpx;
  721. font-size: 30rpx;
  722. font-family: PingFang SC;
  723. font-weight: bold;
  724. color: #333333;
  725. }
  726. .video_t1_t {
  727. display: flex;
  728. flex-direction: column;
  729. height: 80rpx;
  730. color: #333333;
  731. text-align: center;
  732. align-items: center;
  733. border-left: solid 1px #d6d6db;
  734. }
  735. .video_play {
  736. position: absolute;
  737. width: 95rpx;
  738. height: 95rpx;
  739. top: 0;
  740. left: 0;
  741. right: 0;
  742. bottom: 0;
  743. margin: auto;
  744. }
  745. .video_box {
  746. position: relative;
  747. }
  748. .rotoct {
  749. transform: rotate(90deg);
  750. }
  751. </style>