MoreContent.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917
  1. <template>
  2. <!-- pc端才使用 v-touch-->
  3. <!--
  4. v-touch:swipe.left="() => onSwipeChange(1)"
  5. v-touch:swipe.right="() => onSwipeChange(-1)"
  6. :swipe-options="{ direction: 'horizontal' }"
  7. -->
  8. <div
  9. class="ZMoveBox"
  10. @touchstart="(e) => touchstart(e.touches[0].pageX)"
  11. @touchmove="(e) => touchmove(e.touches[0].pageX)"
  12. @touchend="(e) => touchend((val) => onSwipeChange(val))"
  13. >
  14. <div
  15. class="ZMbox"
  16. :style="`width: ${pageWidth * pageNum}px;
  17. transform: translateX(-${indexAc * pageWidth}px) translateZ(0)
  18. `"
  19. >
  20. <div
  21. v-for="(item1, index1) in listArr"
  22. :key="index1"
  23. :class="`ROW ${item1.classWai}`"
  24. :style="`width:${pageWidth}px; opacity:${
  25. index1 === indexAc ? '1' : isOpcMove ? '0' : ''
  26. }`"
  27. >
  28. <!-- 热点 -->
  29. <HotspotComp
  30. v-if="index1 === 0"
  31. class="hotspot"
  32. @click="
  33. router.replace({
  34. name: 'BambooHot',
  35. })
  36. "
  37. />
  38. <div
  39. v-show="index1 === indexAc"
  40. class="ROWtxt"
  41. >
  42. <div
  43. v-if="item1.nameArr"
  44. class="ROWtxtTabBox"
  45. >
  46. <div
  47. v-for="(item2, index2) in item1.nameArr"
  48. :key="index2"
  49. :style="{background: item2.txt == '画作'?'none':''}"
  50. class="ROWtxtTab animation-show-long-hide"
  51. @click="item2.fu()"
  52. >
  53. {{ item2.txt }}
  54. </div>
  55. </div>
  56. <div
  57. v-else
  58. class="ROWlast"
  59. >
  60. <img
  61. src="@/assets/images/wu-jing-cang.png"
  62. alt=""
  63. >
  64. <div
  65. class="game-box"
  66. @click="OpenScene()"
  67. >
  68. 线上展厅
  69. </div>
  70. <div
  71. class="online-box"
  72. @click="
  73. () => {
  74. store.state.haveShownStartup = false;
  75. router.replace('/?back=1');
  76. }
  77. "
  78. >
  79. 重新开始
  80. </div>
  81. <div class="about-box">
  82. <img
  83. class="about-open"
  84. src="@/assets/images/icon-about-open.png"
  85. @click="isShowAboutText = !isShowAboutText"
  86. >
  87. <img
  88. :style="{opacity: isShowAboutText ? '1':'0'}"
  89. src="@/assets/images/about-us.png"
  90. >
  91. <!-- <div style="display: flex">
  92. <div style="font-weight: bold;">
  93. 《无尽藏》展览策展人:
  94. </div><span>庞鸥</span>
  95. </div>
  96. <div style="font-weight: bold;margin-top: 5px;">
  97. 线上策展团队:
  98. </div>
  99. <div class="about-bottom">
  100. 南京博物院: 张莅坤 刘佳 李文彬 张晓婉
  101. 珠海市四维时代网络科技有限公司
  102. </div> -->
  103. <!-- <div class="about-bottom">
  104. </div> -->
  105. </div>
  106. </div>
  107. <div
  108. v-if="item1.nameArr"
  109. class="ROWtxtIcon"
  110. >
  111. {{ item1.name }}
  112. <img
  113. class="deco"
  114. :class="{'deco2': item1.name == '画作创作'}"
  115. src="@/assets/images/more-content-deco.png"
  116. alt=""
  117. draggable="false"
  118. >
  119. </div>
  120. </div>
  121. <!--
  122. :style="`transform: translateX(${isMoveFu(index1, item3.num)}px)`"
  123. -->
  124. <img
  125. v-for="(item3, index3) in item1.imgArr"
  126. :key="index3"
  127. :class="`${item3.className}`"
  128. :src="
  129. require(`@/assets/images/fade-chapter-wood/${item3.imgName}${item3.imgName === '1_01'|| item3.imgName === '1_02' || item3.imgName === '1_03' || item3.imgName === '1_04' ? '.webp':'.png'}`)
  130. "
  131. :style="`transform: translateX(${isMoveFu(
  132. index1,
  133. item3.num
  134. )}px) translateZ(0)`"
  135. alt=""
  136. >
  137. </div>
  138. </div>
  139. <!-- 全局遮罩 -->
  140. <div class="shandow-box" />
  141. <!-- 指示器 -->
  142. <ProgressBar
  143. class="pagination"
  144. :totle-unit="4"
  145. :type="1"
  146. :cur-percentage="indexAc"
  147. color-ac="#7B916B"
  148. color="#7B916B60"
  149. @go-to-slide="clickSonIndFu"
  150. />
  151. <!-- 返回按钮 -->
  152. <BtnBack
  153. style="z-index: 200"
  154. @click="router.replace('/?back=1')"
  155. />
  156. <!-- 提示语 -->
  157. <div :class="`operation-tip ${titShow && route.query.anchorIdx !='3' ? '' : 'operation-tipHide'}`">
  158. 左右滑动
  159. <img
  160. class=""
  161. :src="require(`@/assets/images/icon_operation_h_green.png`)"
  162. alt=""
  163. draggable="false"
  164. >
  165. </div>
  166. <!-- 跳转的视频 -->
  167. <Transition name="fade-in">
  168. <div
  169. v-if="isShowVideo"
  170. :class="`RWbox`"
  171. >
  172. <video
  173. ref="videoRef"
  174. :src="
  175. require(`@/assets/videos/${
  176. isShowVideo === 'RWvideo'
  177. ? 'fade-at-mo-zhu'
  178. : 'fade-at-shuang-gou'
  179. }.mp4`)
  180. "
  181. playsinline
  182. muted
  183. webkit-playsinline="true"
  184. x5-video-player-type="h5"
  185. @ended="
  186. router.replace({
  187. name: isShowVideo === 'RWvideo' ? 'PoemList' : 'ShuanggouDetail',
  188. })
  189. "
  190. />
  191. <img
  192. v-show="isShowVideo === 'RWvideo'"
  193. class="RWvideoTxt"
  194. src="@/assets/images/RW/titile_mozhu-min.png"
  195. alt=""
  196. >
  197. </div>
  198. </Transition>
  199. </div>
  200. </template>
  201. <script setup>
  202. import { ref, onBeforeMount, nextTick, onMounted } from "vue"
  203. import { useRoute, useRouter } from "vue-router"
  204. import { useStore } from "vuex"
  205. import useMoveFu from "../moveFu"
  206. const { touchstart, touchmove, touchend } = useMoveFu()
  207. const listArr = [
  208. {
  209. name: "双钩设色",
  210. nameArr: [
  211. {
  212. txt: "查看详情",
  213. fu: () => {
  214. playVideoFu("XQvideo")
  215. },
  216. },
  217. ],
  218. classWai: "ROW1",
  219. imgArr: [
  220. { className: "ROW1_1", imgName: "1_01", num: 100 },
  221. { className: "ROW1_2", imgName: "1_02", num: 100 },
  222. { className: "ROW1_3", imgName: "2_01", num: 80 },
  223. // { className: "ROW1_4", imgName: "2_03", num: 80 },
  224. // { className: "ROW1_5", imgName: "3_01", num: 60 },
  225. { className: "ROW1_6", imgName: "4_01", num: 120 },
  226. { className: "ROW1_7", imgName: "4_02", num: 120 },
  227. ],
  228. },
  229. {
  230. name: "墨竹",
  231. nameArr: [
  232. {
  233. txt: "人文",
  234. fu: () => {
  235. playVideoFu("RWvideo")
  236. },
  237. },
  238. {
  239. txt: "画作",
  240. fu: () => {
  241. playVideoFu("PaintingList", true)
  242. },
  243. },
  244. {
  245. txt: "竹谱",
  246. fu: () => {
  247. playVideoFu("BambooBook", true)
  248. },
  249. },
  250. ],
  251. classWai: "ROW2",
  252. imgArr: [
  253. { className: "ROW2_1", imgName: "1_03", num: 100 },
  254. { className: "ROW2_2", imgName: "2_02", num: 80 },
  255. { className: "ROW2_3", imgName: "2_03", num: 80 },
  256. // { className: "ROW2_4", imgName: "3_01", num: 60 },
  257. // { className: "ROW2_5", imgName: "3_02", num: 60 },
  258. { className: "ROW2_6", imgName: "4_01", num: 120 },
  259. { className: "ROW2_7", imgName: "4_02", num: 120 },
  260. // { className: "ROW2_8", imgName: "4_05", num: 40 },
  261. ],
  262. },
  263. {
  264. name: "画作创作",
  265. nameArr: [
  266. {
  267. txt: "开始体验",
  268. fu: () => {
  269. router.replace("/game")
  270. },
  271. },
  272. ],
  273. classWai: "ROW3",
  274. imgArr: [
  275. // { className: "ROW3_1", imgName: "4_07", num: 40 },
  276. { className: "ROW3_2", imgName: "4_08", num: 120 },
  277. // { className: "ROW3_3", imgName: "4_09", num: 40 },
  278. // { className: "ROW3_4", imgName: "4_10", num: 40 },
  279. // { className: "ROW3_5", imgName: "4_12", num: 40 },
  280. // { className: "ROW3_6", imgName: "3_04", num: 60 },
  281. { className: "ROW3_7", imgName: "2_02", num: 80 },
  282. { className: "ROW3_8", imgName: "2_04", num: 80 },
  283. { className: "ROW3_9", imgName: "2_05", num: 80 },
  284. { className: "ROW3_10", imgName: "1_04", num: 100 },
  285. { className: "ROW3_11", imgName: "1_01", num: 100 },
  286. ],
  287. },
  288. {
  289. name: "最后一页",
  290. classWai: "ROW4",
  291. imgArr: [
  292. { className: "ROW4_1", imgName: "4_08", num: 120 },
  293. // { className: "ROW4_2", imgName: "4_09", num: 40 },
  294. // { className: "ROW4_3", imgName: "4_10", num: 40 },
  295. // { className: "ROW4_4", imgName: "4_12", num: 40 },
  296. // { className: "ROW4_5", imgName: "3_03", num: 60 },
  297. { className: "ROW4_6", imgName: "3_04", num: 80 },
  298. { className: "ROW4_7", imgName: "2_04", num: 80 },
  299. { className: "ROW4_8", imgName: "2_04-1", num: 80 },
  300. { className: "ROW4_9", imgName: "1_05", num: 100 },
  301. // { className: "ROW4_10", imgName: "2_05", num: 100 },
  302. ],
  303. },
  304. ]
  305. const route = useRoute()
  306. const router = useRouter()
  307. const store = useStore()
  308. const isShowAboutText = ref(false)
  309. // 点击指示器移动透明的问题
  310. const isOpcMove = ref(true)
  311. // 点击线上展厅
  312. const OpenScene = () => {
  313. const musicDom = document.getElementById("bg-music")
  314. musicDom.pause()
  315. router.replace("/scene")
  316. // window.open('https://www.4dkankan.com/spg.html?m=KJ-et2X3su4ofm', '_parent')
  317. // window.location.replace('https://www.4dkankan.com/spg.html?m=KJ-et2X3su4ofm')
  318. // window.location.replace('http://192.168.20.50:8082/spg.html?m=KJ-et2X3su4ofm')
  319. window.location.replace('./scene/smg.html?m=KJ-et2X3su4ofm')
  320. }
  321. // 提示语的显示隐藏
  322. const titShow = ref(true)
  323. // 向右是-1
  324. // 向左是 1
  325. const indexFlag = ref(0)
  326. // 左右滑动
  327. const onSwipeChange = (val) => {
  328. let numResTemp = indexAc.value + val
  329. let indexFlagTemp = -val
  330. if (val === -1 && indexAc.value === 0) {
  331. return
  332. }
  333. if (val === 1 && indexAc.value === listArr.length - 1) {
  334. return
  335. }
  336. titShow.value = false
  337. indexAc.value = numResTemp
  338. indexFlag.value = indexFlagTemp
  339. }
  340. // 点击底部的指示器 改变 indexAc
  341. const clickSonIndFu = (index) => {
  342. if (index === indexAc.value) return
  343. titShow.value = false
  344. isOpcMove.value = false
  345. setTimeout(() => {
  346. isOpcMove.value = true
  347. }, 300)
  348. indexAc.value = index
  349. }
  350. // 是否触发移动的逻辑
  351. const isMoveFu = (index, num) => {
  352. let numRes
  353. if (index === indexAc.value) numRes = 0
  354. else numRes = indexFlag.value * num * 2
  355. return numRes
  356. }
  357. // 当前页面的宽度
  358. const pageWidth = ref(0)
  359. // 当前有4个页面
  360. const pageNum = 4
  361. onMounted(() => {
  362. // alert(window.innerWidth)
  363. if (window.innerWidth >= 600) {
  364. pageWidth.value = window.innerWidth
  365. } else {
  366. pageWidth.value = window.innerWidth >= 500 ? 500 : window.innerWidth
  367. }
  368. })
  369. // 当前页面的索引
  370. const indexAc = ref(0)
  371. onBeforeMount(() => {
  372. if (route.query.anchorIdx) {
  373. indexAc.value = Number(route.query.anchorIdx)
  374. }
  375. })
  376. // 视频的显示和播放
  377. const isShowVideo = ref("")
  378. const videoRef = ref(null)
  379. // 点击查看详情 / 人文
  380. const playVideoFu = (val, flag) => {
  381. if (flag) {
  382. router.replace({
  383. name: val,
  384. })
  385. } else {
  386. isShowVideo.value = val
  387. nextTick(() => {
  388. videoRef.value.play()
  389. })
  390. }
  391. }
  392. </script>
  393. <style lang="less" scoped>
  394. body {
  395. -webkit-transform: translate3d(0, 0, 0);
  396. transform: translate3d(0, 0, 0);
  397. }
  398. .ZMoveBox {
  399. width: 100%;
  400. height: 100%;
  401. background-color: #f5f5f3;
  402. position: relative;
  403. .ZMbox {
  404. width: 1000px;
  405. height: 100%;
  406. overflow: hidden;
  407. position: relative;
  408. left: 0;
  409. top: 0;
  410. display: flex;
  411. background-image: url("../assets/images/fade-chapter-wood/bg-more-content.jpg");
  412. background-size: contain;
  413. transition: transform 1.2s;
  414. -webkit-transform: translateZ(0);
  415. -moz-transform: translateZ(0);
  416. -ms-transform: translateZ(0);
  417. -o-transform: translateZ(0);
  418. transform: translateZ(0);
  419. -webkit-backface-visibility: hidden;
  420. backface-visibility: hidden;
  421. .ROW {
  422. position: relative;
  423. transition: opacity 1.2s;
  424. height: 100%;
  425. .hotspot {
  426. position: absolute;
  427. top: 46%;
  428. left: 15%;
  429. z-index: 20;
  430. @media screen and (min-width: 600px) {
  431. left: 8%;
  432. }
  433. }
  434. .ROWtxt {
  435. z-index: 100;
  436. position: relative;
  437. top: 28%;
  438. left: 55%;
  439. .ROWtxtTabBox {
  440. position: absolute;
  441. top: 65%;
  442. left: -10%;
  443. .ROWtxtTab {
  444. padding: 20px 0;
  445. background-image: url(@/assets/images/fade-chapter-btn-bg-big.png);
  446. background-size: contain;
  447. background-repeat: no-repeat;
  448. background-position: center center;
  449. font-family: KaiTi;
  450. font-weight: 400;
  451. writing-mode: vertical-lr;
  452. letter-spacing: 0;
  453. white-space: pre;
  454. color: #b8ae7a;
  455. margin-bottom: 10px;
  456. font-size: 20px;
  457. margin-bottom: 0;
  458. @media screen and (min-width: 600px) {
  459. font-size: 28px;
  460. }
  461. }
  462. }
  463. div.ROWtxtIcon {
  464. pointer-events: none;
  465. font-size: 38px;
  466. font-family: KingHwa_OldSong;
  467. color: #474747;
  468. writing-mode: vertical-lr;
  469. letter-spacing: 0.3em;
  470. white-space: pre;
  471. position: relative;
  472. @media screen and (min-width: 600px) {
  473. font-size: 60px;
  474. }
  475. img.deco {
  476. z-index: 10;
  477. position: absolute;
  478. bottom: 1em;
  479. right: -0.05em;
  480. width: 40%;
  481. }
  482. img.deco2{
  483. @media screen and (min-width: 600px) {
  484. right: auto;
  485. left: -0.05em;
  486. }
  487. }
  488. }
  489. }
  490. & > img {
  491. position: absolute;
  492. bottom: 0;
  493. height: 100%;
  494. transition: transform 1.2s;
  495. -webkit-transform: translateZ(0);
  496. -moz-transform: translateZ(0);
  497. -ms-transform: translateZ(0);
  498. -o-transform: translateZ(0);
  499. transform: translateZ(0);
  500. -webkit-backface-visibility: hidden;
  501. backface-visibility: hidden;
  502. }
  503. .ROW1_1 {
  504. z-index: 5;
  505. left: 0;
  506. }
  507. .ROW1_2 {
  508. z-index: 4;
  509. right: -15%;
  510. @media screen and (min-width: 600px) {
  511. right: -8%;
  512. }
  513. }
  514. .ROW1_3 {
  515. z-index: 3;
  516. left: 0%;
  517. }
  518. .ROW1_4 {
  519. z-index: 3;
  520. right: -50%;
  521. }
  522. .ROW1_5 {
  523. z-index: 2;
  524. right: -12%;
  525. }
  526. .ROW1_6 {
  527. height: 35%;
  528. left: -5%;
  529. }
  530. .ROW1_7 {
  531. height: 45%;
  532. left: 20%;
  533. }
  534. .ROW2_1 {
  535. z-index: 5;
  536. right: -13%;
  537. @media screen and (min-width: 600px) {
  538. right: -8%;
  539. }
  540. }
  541. .ROW2_2 {
  542. z-index: 4;
  543. right: -22%;
  544. @media screen and (min-width: 600px) {
  545. right: -14%;
  546. }
  547. }
  548. .ROW2_3 {
  549. z-index: 4;
  550. left: -38%;
  551. @media screen and (min-width: 600px) {
  552. left: -28%;
  553. }
  554. }
  555. .ROW2_4 {
  556. z-index: 3;
  557. left: -38%;
  558. }
  559. .ROW2_5 {
  560. z-index: 3;
  561. right: 2%;
  562. }
  563. .ROW2_6 {
  564. left: 0;
  565. height: 30%;
  566. @media screen and (min-width: 600px) {
  567. left: -28%;
  568. }
  569. }
  570. .ROW2_7 {
  571. left: -24%;
  572. height: 40%;
  573. }
  574. .ROW2_8 {
  575. left: 0%;
  576. }
  577. .ROW3_1 {
  578. left: -24%;
  579. }
  580. .ROW3_2 {
  581. height: 30%;
  582. right: -14%;
  583. }
  584. .ROW3_3 {
  585. right: -14%;
  586. }
  587. .ROW3_4 {
  588. right: -24%;
  589. }
  590. .ROW3_5 {
  591. right: -36%;
  592. }
  593. .ROW3_6 {
  594. z-index: 3;
  595. right: -3%;
  596. }
  597. .ROW3_7 {
  598. z-index: 4;
  599. left: -48%;
  600. @media screen and (min-width: 600px) {
  601. left: -36%;
  602. }
  603. }
  604. .ROW3_8 {
  605. z-index: 4;
  606. right: -20%;
  607. }
  608. .ROW3_9 {
  609. z-index: 4;
  610. right: -37%;
  611. @media screen and (min-width: 600px) {
  612. right: -25%;
  613. }
  614. }
  615. .ROW3_10 {
  616. z-index: 5;
  617. right: -3%;
  618. @media screen and (min-width: 600px) {
  619. right: 2%;
  620. }
  621. }
  622. .ROW3_11 {
  623. z-index: 5;
  624. left: -15%;
  625. @media screen and (min-width: 600px) {
  626. left: -12%;
  627. }
  628. }
  629. .ROW4_1 {
  630. z-index: 5;
  631. left: 2%;
  632. height: 40%;
  633. @media screen and (min-width: 600px) {
  634. left: 13%;
  635. }
  636. }
  637. .ROW4_2 {
  638. left: -26%;
  639. }
  640. .ROW4_3 {
  641. left: -13%;
  642. }
  643. .ROW4_4 {
  644. left: -28%;
  645. }
  646. .ROW4_5 {
  647. z-index: 3;
  648. right: 8%;
  649. }
  650. .ROW4_6 {
  651. z-index: 3;
  652. left: -30%;
  653. @media screen and (min-width: 600px) {
  654. left: -18%;
  655. }
  656. }
  657. .ROW4_7 {
  658. z-index: 4;
  659. left: -70%;
  660. @media screen and (min-width: 600px) {
  661. left: 51%;
  662. }
  663. }
  664. .ROW4_8 {
  665. z-index: 4;
  666. right: -5%;
  667. @media screen and (min-width: 600px) {
  668. right: -2%;
  669. }
  670. }
  671. .ROW4_9 {
  672. z-index: 5;
  673. right: -5%;
  674. @media screen and (min-width: 600px) {
  675. right: -2%;
  676. }
  677. }
  678. .ROW4_10 {
  679. z-index: 4;
  680. left: -60%;
  681. }
  682. }
  683. .ROW2 {
  684. .ROWtxt {
  685. top: 28%;
  686. left: 52%;
  687. .ROWtxtTabBox {
  688. top: 38%;
  689. left: -9%;
  690. }
  691. }
  692. }
  693. // 最后一页的文字
  694. .ROW4 {
  695. .ROWtxt {
  696. top: 15%;
  697. left: 37%;
  698. }
  699. }
  700. .ROWlast {
  701. font-family: "KingHwa_OldSong";
  702. color: white;
  703. z-index: 20;
  704. width: 20%;
  705. @media screen and (min-width: 600px) {
  706. width: 19%;
  707. }
  708. & > img {
  709. pointer-events: none;
  710. width: 118px;
  711. @media screen and (min-width: 600px) {
  712. width: 115%;
  713. }
  714. }
  715. .game-box {
  716. width: 198%;
  717. background: url(@/assets/images/game-bg.png);
  718. background-size: 100% 100%;
  719. padding: 60%;
  720. white-space: nowrap;
  721. display: flex;
  722. justify-content: center;
  723. align-items: center;
  724. margin-top: 40%;
  725. margin-left: -25%;
  726. font-size: 18px;
  727. @media screen and (min-width: 600px) {
  728. font-size: 24px;
  729. margin-top: 25%;
  730. }
  731. }
  732. .online-box {
  733. font-weight: 700;
  734. color: #768c77;
  735. width: 50%;
  736. white-space: nowrap;
  737. display: flex;
  738. justify-content: center;
  739. align-items: center;
  740. margin-left: 54%;
  741. font-size: 18px;
  742. @media screen and (min-width: 600px) {
  743. font-size: 24px;
  744. margin-left: 45%;
  745. }
  746. }
  747. .about-box{
  748. display: flex;
  749. flex-direction: column;
  750. align-items: center;
  751. justify-content: center;
  752. color: #688067;
  753. font-size: 12px;
  754. transform: translateX(-30%);
  755. position: fixed;
  756. bottom: 35px;
  757. >.about-open{
  758. width: 20px;
  759. height: 20px;
  760. margin-bottom: 5px;
  761. @media screen and (min-width: 600px) {
  762. width: 35px;
  763. height: 35px;
  764. }
  765. }
  766. >img{
  767. width: 75vw;
  768. @media screen and (min-width: 600px) {
  769. width: 65vw;
  770. }
  771. }
  772. >div{
  773. white-space: nowrap;
  774. }
  775. >.strong{
  776. font-weight: bold;
  777. }
  778. .about-bottom{
  779. // width: calc(230 / v-bind("windowSizeWhenDesignForRef") * v-bind("windowSizeInCssForRef"));
  780. text-align: justify;
  781. text-align-last: justify;
  782. white-space: pre-wrap;
  783. }
  784. }
  785. }
  786. }
  787. // 视频盒子
  788. .RWbox {
  789. position: absolute;
  790. left: 0;
  791. top: 0;
  792. width: 100%;
  793. height: 100%;
  794. z-index: 150;
  795. .RWvideoTxt {
  796. width: 18%;
  797. position: absolute;
  798. z-index: 10;
  799. top: 32%;
  800. left: 44%;
  801. }
  802. & > video {
  803. width: 100%;
  804. }
  805. }
  806. .shandow-box{
  807. width: 100%;
  808. height:100px;
  809. left:0;
  810. background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 100%);
  811. position:absolute;
  812. bottom: 0;
  813. z-index: 2;
  814. }
  815. // 指示器
  816. .pagination {
  817. position: absolute;
  818. z-index: 20;
  819. left: 50%;
  820. transform: translateX(-50%);
  821. bottom: 2%;
  822. }
  823. // 提示语
  824. .operation-tip {
  825. position: absolute;
  826. z-index: 30;
  827. left: 50%;
  828. bottom: 7%;
  829. transform: translateX(-50%);
  830. color: #7f9470;
  831. font-size: 12px;
  832. letter-spacing: 3px;
  833. pointer-events: none;
  834. display: flex;
  835. align-items: center;
  836. opacity: 1;
  837. transition: opacity 1s;
  838. @media screen and (min-width: 600px) {
  839. font-size: 22px;
  840. }
  841. img {
  842. width: 30px;
  843. @media screen and (min-width: 600px) {
  844. width: 50px;
  845. }
  846. }
  847. }
  848. .operation-tipHide {
  849. opacity: 0;
  850. }
  851. }
  852. </style>