Visit7.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <template>
  2. <div class='Visit7' data-aria-viewport-area tabindex="0"
  3. aria-label aria-description=" You have reached the content area of the Visitor Guidelines page. To browse the content, please use the tab key."
  4. >
  5. <div class="conten">
  6. <div class="top" tabindex="0"
  7. aria-label="" aria-description="Visitor Guidelines"
  8. >
  9. <img src="../../assets/images/Visit/last1.jpg" alt="">
  10. </div>
  11. <div class="txt">
  12. <div>
  13. <p tabindex="0"><span>01</span>All exhibitions in the museum are free.</p>
  14. <p tabindex="0"><span>02</span>The museum opens from Tuesday to Sunday, 9:00 - 17:00 (no admission after 16:00), but is closed on Mondays (except for holidays).</p>
  15. <p tabindex="0"><span>03</span>Please make ticket reservations at least one day before the desired visit and obtain your free ticket with your reservation number.</p>
  16. <p tabindex="0"><span>04</span>Please keep your valid ID (passport) available for inspection.</p>
  17. </div>
  18. <div>
  19. <p tabindex="0"><span>05</span>Inebriated and improperly-dressed persons will be refused entry.</p>
  20. <p tabindex="0"><span>06</span>Inflammable and explosive materials, knives subject to control and dangerous articles cannot be brought into the museum.</p>
  21. <p tabindex="0"><span>07</span>Photography is permitted, but flash and tripod is not allowed.</p>
  22. <p tabindex="0"><span>08</span>In case of an emergency, please follow the directions of our museum staff.</p>
  23. </div>
  24. </div>
  25. <div class="thank" tabindex="0">Thank you for your cooperation.</div>
  26. <div class="bottom">
  27. <p tabindex="0">Official website of Capital Museum <a :href="$homePageUrl" tabindex="0">{{$homePageUrl}}</a></p>
  28. <p tabindex="0">Telephone reservation (individual visitors) <span>+86 (10) 63393339</span></p>
  29. <p tabindex="0">Telephone reservation (group visitors) <span>+86 (10) 63370458</span></p>
  30. <p tabindex="0">Inquiry Hotline <span>+86 (10) 63370491</span></p>
  31. </div>
  32. </div>
  33. </div>
  34. </template>
  35. <script>
  36. export default {
  37. name:'Visit7',
  38. components: {},
  39. data() {
  40. //这里存放数据
  41. return {
  42. };
  43. },
  44. //监听属性 类似于data概念
  45. computed: {},
  46. //监控data中的数据变化
  47. watch: {},
  48. //方法集合
  49. methods: {
  50. },
  51. //生命周期 - 创建完成(可以访问当前this实例)
  52. created() {
  53. },
  54. //生命周期 - 挂载完成(可以访问DOM元素)
  55. mounted() {
  56. this.$eventBus.$emit('request-read', `You have reached the Visitor Guidelines page of the Visit section. This page includes one navigation section, six window sections, and one interactive section. To choose an area, please hit the shortcut key.`)
  57. },
  58. beforeCreate() {}, //生命周期 - 创建之前
  59. beforeMount() {}, //生命周期 - 挂载之前
  60. beforeUpdate() {}, //生命周期 - 更新之前
  61. updated() {}, //生命周期 - 更新之后
  62. beforeDestroy() {}, //生命周期 - 销毁之前
  63. destroyed() {}, //生命周期 - 销毁完成
  64. activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
  65. }
  66. </script>
  67. <style lang='less' scoped>
  68. .Visit7{
  69. .conten{
  70. width: 1200px;
  71. font-size: 18px;
  72. line-height: 26px;
  73. margin: auto;
  74. .top{
  75. margin-bottom: 20px;
  76. width: 100%;
  77. height: 70px;
  78. &>img{
  79. width: 100%;
  80. height: 100%;
  81. }
  82. }
  83. .txt{
  84. display: flex;
  85. &>div{
  86. padding-top: 20px;
  87. width: 50%;
  88. &>p{
  89. position: relative;
  90. display: flex;
  91. align-items: center;
  92. font-size: 14px;
  93. margin-bottom: 20px;
  94. padding-left: 45px;
  95. &>span{
  96. position: absolute;
  97. top: -5px;
  98. left: 0;
  99. display: block;
  100. font-size: 30px;
  101. }
  102. }
  103. &:nth-of-type(1){
  104. border-right: 1px solid #ccc;
  105. padding-right: 20px;
  106. }
  107. &:nth-of-type(2){
  108. padding-left: 20px;
  109. &>p{
  110. margin-bottom: 30px;
  111. }
  112. }
  113. &>p{
  114. &:last-child{
  115. margin-bottom: 0;
  116. }
  117. }
  118. }
  119. }
  120. .thank{
  121. color: rgb(255, 0, 0);
  122. font-size: 14px;
  123. text-align: center;
  124. margin: 20px 0;
  125. }
  126. .bottom{
  127. margin-bottom: 30px;
  128. padding: 20px 0;
  129. border: 1px solid black;
  130. &>p{
  131. text-align: center;
  132. font-size: 14px;
  133. margin: 20px;
  134. &>span, a{
  135. color: rgb(255, 0, 0);
  136. }
  137. }
  138. }
  139. }
  140. }
  141. </style>