Visit2.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  1. <template>
  2. <div class="Visit2" data-aria-viewport-area tabindex="0"
  3. aria-label aria-description="You've reached the content area for the Reservation page. This area contains three parts of content. Please press the tab key to browse the information."
  4. >
  5. <!-- <div
  6. class="public"
  7. :class="{ hintShow: hintShow }"
  8. @click="hintShow = true"
  9. >
  10. <div tabindex="0"
  11. aria-description="The reservation service is now under maintenance. Please go to Capital
  12. Museum's WeChat account for reservation."
  13. >
  14. The reservation service is now under maintenance. Please go to Capital
  15. Museum's WeChat account for reservation.<span>X</span>
  16. </div>
  17. </div> -->
  18. <div class="mm1" tabindex="-1">
  19. <div class="mm1l">
  20. <p>
  21. <img src="../../assets/images/Visit/pLeft.jpg" alt="" />
  22. <span>&nbsp;<strong tabindex="0">How to Make a Reservation?</strong></span>
  23. </p>
  24. <p><br /></p>
  25. <p tabindex="0">Telephone Reservation:</p>
  26. <p tabindex="0">•&nbsp; Individual visitors:&nbsp;<span style="color: rgb(255, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 14px;">+86 (10) 63393339</span></p>
  27. <p tabindex="0">•&nbsp; Group visitors:&nbsp;<span style="font-size: 14px; color: rgb(255, 0, 0);">+86 (10) 63370458</span></p>
  28. <p tabindex="0">From 9:00 to 17:00 every day.</p>
  29. <p><br /></p>
  30. </div>
  31. <div class="mm1r">
  32. <p tabindex="0">
  33. Either system will issue a confirmation number. Visitors will be
  34. required to show the number and valid ID in order to receive free
  35. entrance tickets on the day of their visit.
  36. </p>
  37. <!-- <h2 tabindex="0">Online Reservation</h2> -->
  38. </div>
  39. </div>
  40. <div class="sidebar" tabindex="-1">
  41. <ul>
  42. <!-- 第一个内容 -->
  43. <li class="title">
  44. <div class="showCon" @click="cutFlag('one')"></div>
  45. <span tabindex="0">Guidelines for Reservations</span>
  46. <span
  47. class="arrow"
  48. :class="{ 'arrow-up': flag === 'one' }"
  49. @keydown.enter.passive="cutFlag('one')"
  50. tabindex="0"
  51. aria-label="Button"
  52. aria-description="Show / hide detail"
  53. ></span>
  54. <div class="in-sidebar" :class="{ inSidebarOne: flag === 'one' }">
  55. <p style="text-align: center"><br /></p>
  56. <p>
  57. <img src="../../assets/images/Visit/pp1.jpg" alt=""
  58. tabindex="0" aria-describedat="Ways of Reservation"
  59. />
  60. </p>
  61. <p><br /></p>
  62. <p>
  63. <span tabindex="0"><strong>Ways of Reservation</strong></span>
  64. </p>
  65. <p><br /></p>
  66. <p tabindex="0"
  67. aria-description=""
  68. >
  69. <span
  70. style="
  71. font-family: arial, helvetica, sans-serif;
  72. font-size: 14px;
  73. "
  74. >
  75. There are 3,600 daily personal booking places, available
  76. through website (3000 places) and telephone (600 places). The
  77. website
  78. </span>
  79. <a
  80. style="
  81. font-family: arial, helvetica, sans-serif;
  82. font-size: 14px;
  83. text-decoration: none;
  84. color: rgb(255, 0, 0)
  85. "
  86. :href="$homePageUrl"
  87. tabindex="0"
  88. >
  89. {{$homePageUrl}}
  90. </a>
  91. <span
  92. style="
  93. font-family: arial, helvetica, sans-serif;
  94. font-size: 14px;
  95. "
  96. >
  97. offers&nbsp;24-hour&nbsp;
  98. </span>
  99. <span
  100. style="
  101. font-family: arial, helvetica, sans-serif;
  102. font-size: 14px;
  103. "
  104. >
  105. service, and the&nbsp;telephone
  106. </span>
  107. <span
  108. style="
  109. font-family: arial, helvetica, sans-serif;
  110. font-size: 14px;
  111. color: rgb(255, 0, 0);
  112. "
  113. >
  114. +86 (10) 63393339
  115. </span>
  116. <span
  117. style="
  118. font-family: arial, helvetica, sans-serif;
  119. font-size: 14px;
  120. "
  121. >
  122. service is available from 09:00 to 17:00. One person is only
  123. allowed to book one ticket.
  124. </span>
  125. </p>
  126. <p><br /></p>
  127. <p tabindex="0">
  128. <span
  129. style="
  130. font-family: arial, helvetica, sans-serif;
  131. font-size: 14px;
  132. "
  133. >For group reservation, we offer 400 tickets a day. Please
  134. call<span
  135. style="
  136. font-size: 14px;
  137. font-family: arial, helvetica, sans-serif;
  138. color: rgb(255, 0, 0);
  139. "
  140. >+86 (10) 63370458&nbsp;&nbsp;</span
  141. >between 09:00 to 17:00. Identity information of the group
  142. leader is required.</span
  143. >
  144. </p>
  145. <p><br /></p>
  146. <p tabindex="0">
  147. <span
  148. style="
  149. font-family: arial, helvetica, sans-serif;
  150. font-size: 14px;
  151. "
  152. >Reservation should be made at least one day in advance, and at
  153. most seven days in advance.</span
  154. >
  155. </p>
  156. <p><br /></p>
  157. <table data-sort="sortDisabled">
  158. <tbody>
  159. <tr class="firstRow">
  160. <td
  161. valign="top"
  162. colspan="2"
  163. rowspan="1"
  164. >
  165. <p style="text-align: center; height: 1px">
  166. <img
  167. src="../../assets/images/Visit/pp4.jpg"
  168. style="max-width: 100%"
  169. />
  170. </p>
  171. </td>
  172. </tr>
  173. <tr>
  174. <td width="420" valign="top">
  175. <p style="text-align: center">
  176. <img
  177. src="../../assets/images/Visit/pp2.jpg"
  178. style="max-width: 100%"
  179. tabindex="0"
  180. aria-description="Way to Get Ticket"
  181. />
  182. </p>
  183. </td>
  184. <td width="420" valign="top">
  185. <p>
  186. <span style="font-family: arial, helvetica, sans-serif"
  187. ><strong>&nbsp; &nbsp;&nbsp;</strong></span
  188. >
  189. </p>
  190. <p tabindex="0">
  191. <strong style="font-family: arial, helvetica, sans-serif"
  192. ><span style="font-size: 18px"
  193. >Way to Get Ticket</span
  194. ></strong
  195. >
  196. </p>
  197. <p><br /></p>
  198. <p tabindex="0">
  199. <span
  200. style="
  201. font-size: 14px;
  202. font-family: arial, helvetica, sans-serif;
  203. "
  204. >
  205. For personal visitors, please obtain the ticket at the
  206. service center at the north door by showing your booking number and the ID card used when
  207. the booking was made.
  208. </span>
  209. </p>
  210. <p><br /></p>
  211. <p tabindex="0">
  212. <span
  213. style="
  214. font-size: 14px;
  215. font-family: arial, helvetica, sans-serif;
  216. "
  217. >
  218. For group visitors, the leader can obtain the ticket at the east door of the ground floor with valid documents and introductory letters.
  219. </span>
  220. </p>
  221. <p><br /></p>
  222. </td>
  223. </tr>
  224. </tbody>
  225. </table>
  226. <br/>
  227. <table data-sort="sortDisabled">
  228. <tbody>
  229. <tr class="firstRow">
  230. <td
  231. valign="top"
  232. colspan="2"
  233. rowspan="1"
  234. >
  235. <p style="text-align: center; height: 1px">
  236. <img
  237. src="../../assets/images/Visit/pp4.jpg"
  238. style="max-width: 100%"
  239. />
  240. </p>
  241. </td>
  242. </tr>
  243. <tr>
  244. <td width="420" valign="top">
  245. <p>
  246. <strong
  247. style="
  248. font-family: arial, helvetica, sans-serif;
  249. font-size: 18px;
  250. "
  251. ><br
  252. /></strong>
  253. </p>
  254. <p tabindex="0">
  255. <strong
  256. style="
  257. font-family: arial, helvetica, sans-serif;
  258. font-size: 18px;
  259. "
  260. >&nbsp; Entrance Time</strong
  261. ><br />
  262. </p>
  263. <p><br /></p>
  264. <p tabindex="0">
  265. <span
  266. style="
  267. font-family: arial, helvetica, sans-serif;
  268. font-size: 14px;
  269. "
  270. >From 09:00-16:00, Tuesday to Sunday.&nbsp;</span
  271. >
  272. </p>
  273. <p tabindex="0">
  274. <span
  275. style="
  276. font-family: arial, helvetica, sans-serif;
  277. font-size: 14px;
  278. "
  279. >The museum is closed every Monday, except for
  280. holidays.&nbsp;</span
  281. >
  282. </p>
  283. <p tabindex="0">
  284. <span
  285. style="
  286. font-family: arial, helvetica, sans-serif;
  287. font-size: 14px;
  288. "
  289. >Please enter the museum before 16:00.</span
  290. >
  291. </p>
  292. </td>
  293. <td width="420" valign="top">
  294. <p style="text-align: center">
  295. <img
  296. src="../../assets/images/Visit/pp3.jpg"
  297. style="max-width: 100%"
  298. tabindex="0"
  299. aria-description="Entrance Time"
  300. />
  301. </p>
  302. </td>
  303. </tr>
  304. </tbody>
  305. </table>
  306. <p tabindex="0">
  307. <span
  308. style="
  309. font-family: arial, helvetica, sans-serif;
  310. font-size: 18px;
  311. "
  312. ><strong>Special Notices</strong></span
  313. >
  314. </p>
  315. <p><br /></p>
  316. <p tabindex="0">
  317. <span
  318. style="
  319. font-family: arial, helvetica, sans-serif;
  320. font-size: 14px;
  321. "
  322. >1. One ticket is only for one person and the ticket is only
  323. valid on the date printed.&nbsp;Please have the ticket checked
  324. at the entrance.</span
  325. >
  326. </p>
  327. <p tabindex="0">
  328. <span
  329. style="
  330. font-family: arial, helvetica, sans-serif;
  331. font-size: 14px;
  332. "
  333. >2. Senior citizens (above 60) and handicapped persons can enter
  334. the exhibition with valid documents even without reservation.
  335. Please ask museum personnel for help.</span
  336. ><br />
  337. </p>
  338. <p tabindex="0"
  339. aria-description="3. Space in the exhibition is limited, so museum may control the visitor numbers at any time to ensure orderly and pleasant viewing. Thanks for your understanding and cooperation."
  340. >
  341. <span
  342. style="
  343. font-family: arial, helvetica, sans-serif;
  344. font-size: 14px;
  345. "
  346. >3. Space in the exhibition is limited, so museum may control
  347. the visitor numbers at any time to ensure orderly and pleasant
  348. viewing. Thanks for your understanding and&nbsp;</span
  349. ><br />
  350. </p>
  351. <p>
  352. <span
  353. style="
  354. font-family: arial, helvetica, sans-serif;
  355. font-size: 14px;
  356. "
  357. >&nbsp; &nbsp; cooperation.</span
  358. ><br />
  359. </p>
  360. <p tabindex="0">
  361. <span
  362. style="
  363. font-family: arial, helvetica, sans-serif;
  364. font-size: 14px;
  365. "
  366. >4. The exhibition lasts for three months. Please keep this in
  367. mind when planning a visit.</span
  368. ><br />
  369. </p>
  370. <p><br /></p>
  371. </div>
  372. </li>
  373. <!-- 第二个内容 -->
  374. <li class="title title2">
  375. <div class="showCon" @click="cutFlag('tow')"></div>
  376. <span tabindex="0">Group Visit</span>
  377. <span
  378. class="arrow"
  379. :class="{ 'arrow-up': flag === 'tow' }"
  380. @keydown.enter.passive="cutFlag('tow')"
  381. tabindex="0"
  382. aria-label="Button"
  383. aria-description="Show / hide detail"
  384. ></span>
  385. <div class="in-sidebar" :class="{ inSidebarTow: flag === 'tow' }">
  386. <table data-sort="sortDisabled">
  387. <tbody>
  388. <tr class="firstRow">
  389. <td
  390. valign="top"
  391. colspan="2"
  392. rowspan="1"
  393. >
  394. <p style="text-align: center">
  395. <img
  396. src="../../assets/images/Visit/pp4.jpg"
  397. style="max-width: 100%"
  398. />
  399. </p>
  400. </td>
  401. </tr>
  402. <tr>
  403. <td width="430" valign="top">
  404. <p><br /></p>
  405. <p tabindex="0">
  406. <span
  407. style="
  408. font-family: arial, helvetica, sans-serif;
  409. font-size: 14px;
  410. "
  411. >We encourage groups and travel agencies to make
  412. reservations by telephone.</span
  413. >
  414. </p>
  415. <p><br /></p>
  416. <p tabindex="0">
  417. <span
  418. style="
  419. font-family: arial, helvetica, sans-serif;
  420. font-size: 14px;
  421. "
  422. >
  423. Requirements: Name of the tour group,
  424. full name of the person making the reservation,
  425. contact information and number of group members.
  426. </span>
  427. </p>
  428. <p><br /></p>
  429. <p>
  430. <span
  431. tabindex="0"
  432. style="
  433. font-family: arial, helvetica, sans-serif;
  434. font-size: 14px;
  435. "
  436. >Telephone reservation (group visitors):
  437. <span
  438. tabindex="0"
  439. style="
  440. font-size: 14px;
  441. font-family: arial, helvetica, sans-serif;
  442. color: rgb(255, 0, 0);
  443. "
  444. >+86 (10) 63370458&nbsp;</span
  445. ></span
  446. >
  447. </p>
  448. <p><br /><br /></p>
  449. <p>
  450. <span
  451. style="
  452. color: rgb(255, 0, 0);
  453. font-family: arial, helvetica, sans-serif;
  454. font-size: 14px;
  455. "
  456. ><br
  457. /></span>
  458. </p>
  459. <p style="text-align: center">
  460. <img
  461. src="../../assets/images/Visit/pp6.jpg"
  462. style="max-width: 100%"
  463. />
  464. </p>
  465. </td>
  466. <td width="430" valign="top">
  467. <p style="text-align: center"><br /></p>
  468. <p>
  469. <img
  470. src="../../assets/images/Visit/pp5.jpg"
  471. style="max-width: 100%"
  472. /><br />
  473. </p>
  474. </td>
  475. </tr>
  476. </tbody>
  477. </table>
  478. <p><br /></p>
  479. </div>
  480. </li>
  481. <!-- 第三个内容 -->
  482. <li class="title title3">
  483. <div class="showCon" @click="cutFlag('three')"></div>
  484. <span tabindex="0">Relevant Information</span>
  485. <span
  486. class="arrow"
  487. :class="{ 'arrow-up': flag === 'three' }"
  488. @keydown.enter.passive="cutFlag('three')"
  489. tabindex="0"
  490. aria-label="Button"
  491. aria-description="Show / hide detail"
  492. ></span>
  493. <div class="in-sidebar" :class="{ inSidebarThree: flag === 'three' }">
  494. <p><br /></p>
  495. <p tabindex="0">
  496. <span
  497. style="
  498. font-family: arial, helvetica, sans-serif;
  499. font-size: 14px;
  500. "
  501. >
  502. Ticket-reservation is subject to change when there is a large
  503. museum event or a special opening ceremony for a new exhibition.
  504. The Capital Museum will make a public announcement in advance. Please visit the official website or
  505. inquire by telephone for detailed information.
  506. </span>
  507. </p>
  508. <p><br /></p>
  509. <p>
  510. <span
  511. tabindex="0"
  512. style="
  513. font-family: arial, helvetica, sans-serif;
  514. font-size: 14px;
  515. "
  516. >
  517. Official website:
  518. </span>
  519. <a
  520. tabindex="0"
  521. style="
  522. font-size: 14px;
  523. font-family: arial, helvetica, sans-serif;
  524. color: rgb(255, 0, 0);
  525. "
  526. >
  527. {{$homePageUrl}}
  528. </a>
  529. <span
  530. tabindex="0"
  531. style="
  532. font-family: arial, helvetica, sans-serif;
  533. font-size: 14px;
  534. "
  535. >
  536. &nbsp; &nbsp; &nbsp; &nbsp;Phone:
  537. </span>
  538. <span
  539. tabindex="0"
  540. style="
  541. font-size: 14px;
  542. font-family: arial, helvetica, sans-serif;
  543. color: rgb(255, 0, 0);
  544. "
  545. >
  546. +86 (10) 63370491
  547. </span>
  548. </p>
  549. </div>
  550. </li>
  551. </ul>
  552. </div>
  553. </div>
  554. </template>
  555. <script>
  556. export default {
  557. name: "Visit2",
  558. components: {},
  559. data() {
  560. //这里存放数据
  561. return {
  562. hintShow: false,
  563. // 3个栏目的显示和隐藏
  564. flag: null,
  565. };
  566. },
  567. //监听属性 类似于data概念
  568. computed: {},
  569. //监控data中的数据变化
  570. watch: {},
  571. //方法集合
  572. methods: {
  573. cutFlag(val) {
  574. if (this.flag && val === this.flag) this.flag = null;
  575. else this.flag = val;
  576. },
  577. },
  578. //生命周期 - 创建完成(可以访问当前this实例)
  579. created() {},
  580. //生命周期 - 挂载完成(可以访问DOM元素)
  581. mounted() {
  582. this.$eventBus.$emit('request-read', `You have reached the Reservation page of the Visit section. This page comprises one navigation section, six window sections, and one interactive section. To choose a section, please hit the shortcut key.`)
  583. },
  584. beforeCreate() {}, //生命周期 - 创建之前
  585. beforeMount() {}, //生命周期 - 挂载之前
  586. beforeUpdate() {}, //生命周期 - 更新之前
  587. updated() {}, //生命周期 - 更新之后
  588. beforeDestroy() {}, //生命周期 - 销毁之前
  589. destroyed() {}, //生命周期 - 销毁完成
  590. activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
  591. };
  592. </script>
  593. <style lang='less' scoped>
  594. .Visit2 {
  595. strong {
  596. font-weight: 700;
  597. font-size: 16px;
  598. }
  599. .public {
  600. overflow: hidden;
  601. transition: all 0.3s;
  602. height: 39px;
  603. background-color: rgba(206, 36, 69, 0.97);
  604. width: 100%;
  605. cursor: pointer;
  606. position: absolute;
  607. left: 0;
  608. top: 60px;
  609. & > div {
  610. width: 1180px;
  611. margin: 0 auto;
  612. padding: 5px 0;
  613. font-size: 18px;
  614. line-height: 1.6;
  615. color: #fff;
  616. & > span {
  617. float: right;
  618. }
  619. }
  620. }
  621. .hintShow {
  622. height: 0px;
  623. }
  624. .mm1 {
  625. width: 1180px;
  626. margin: auto;
  627. height: 1%;
  628. overflow: hidden;
  629. padding-bottom: 30px;
  630. .mm1l {
  631. width: 550px;
  632. float: left;
  633. font-size: 18px;
  634. line-height: 28px;
  635. & > p {
  636. font-size: 14px;
  637. }
  638. }
  639. .mm1r {
  640. width: 590px;
  641. float: right;
  642. padding-top: 43px;
  643. & > p {
  644. padding: 15px;
  645. font-size: 14px;
  646. line-height: 28px;
  647. }
  648. & > h2 {
  649. cursor: pointer;
  650. clear: both;
  651. background-color: #c90006;
  652. text-align: center;
  653. height: 30px;
  654. line-height: 30px;
  655. color: #fff;
  656. font-weight: normal;
  657. }
  658. }
  659. }
  660. .sidebar {
  661. img {
  662. border: none;
  663. vertical-align: top;
  664. max-width: 100%;
  665. }
  666. width: 1180px;
  667. font-family: Arial;
  668. margin: auto;
  669. color: #f4f4f4;
  670. clear: both;
  671. & > ul {
  672. .title {
  673. position: relative;
  674. font-size: 24px;
  675. line-height: 50px;
  676. margin-bottom: 1px;
  677. background: url("../../assets/images/Visit/m-28.jpg") no-repeat;
  678. .showCon{
  679. cursor: pointer;
  680. position: absolute;
  681. top: 0;
  682. left: 0;
  683. width: 100%;
  684. height: 50px;
  685. }
  686. span {
  687. margin-left: 10px;
  688. }
  689. .arrow {
  690. float: right;
  691. cursor: pointer;
  692. width: 50px;
  693. height: 50px;
  694. background: url("../../assets/images/Visit/m-31.png") no-repeat center
  695. left;
  696. }
  697. .arrow-up {
  698. background: url("../../assets/images/Visit/m-32.png") no-repeat center
  699. left;
  700. }
  701. div {
  702. font-size: 18px;
  703. line-height: 28px;
  704. color: #000;
  705. }
  706. .in-sidebar {
  707. height: 0px;
  708. overflow: hidden;
  709. transition: all 0.3s;
  710. padding: 0 20px;
  711. background-color: rgb(255, 255, 255);
  712. display: block;
  713. }
  714. .inSidebarOne {
  715. height: 1495px;
  716. }
  717. .firstRow {
  718. p {
  719. height: 1px;
  720. }
  721. }
  722. }
  723. .title2 {
  724. background: url("../../assets/images/Visit/m-29.jpg") no-repeat;
  725. .inSidebarTow {
  726. height: 550px;
  727. }
  728. }
  729. .title3 {
  730. background: url("../../assets/images/Visit/m-30.jpg") no-repeat;
  731. .inSidebarThree {
  732. height: 170px;
  733. }
  734. }
  735. }
  736. }
  737. }
  738. </style>