Visit6.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <div class="Visit6" data-aria-viewport-area tabindex="0"
  3. aria-label aria-description="You have reached the content area of the Café & Shop page. To browse the content, please use the tab key."
  4. >
  5. <div class="conten">
  6. <div class="row">
  7. <div>
  8. <h3 tabindex="0">Cafeteria</h3>
  9. <p tabindex="0">
  10. The cafeteria is located on the northeast corner of the round exhibition room at basement level. Covering about 200 square meters, it offers coffee, soft drinks and low alcohol beverages.
  11. </p>
  12. </div>
  13. <div>
  14. <img src="../../assets/images/Visit/cafe1.jpg" alt="Cafeteria"
  15. tabindex="0"
  16. aria-description="Cafeteria"
  17. >
  18. </div>
  19. </div>
  20. <div class="row">
  21. <div>
  22. <img src="../../assets/images/Visit/cafe2.jpg" alt="Shop"
  23. tabindex="0"
  24. aria-description="Shop"
  25. >
  26. </div>
  27. <div class="blank">
  28. <h3 tabindex="0">Shop</h3>
  29. <p tabindex="0">
  30. Located in the southwest of the museum's basement and with a floor space of about
  31. 550 square meters, the souvenir shop offers a wide variety of souvenirs including special
  32. souvenirs from the museum, books, and audio-visual products. Also on sale here are
  33. various arts and crafts with local characteristics, gold and jade ornaments, collotype
  34. calligraphic works and paintings of great collecting value, and other arts and crafts with
  35. unique features. The thousands of books on sale here mainly have a "Beijing taste" or
  36. are books on collecting and connoisseurship.
  37. </p>
  38. </div>
  39. </div>
  40. <div class="buy">
  41. <img src="../../assets/images/Visit/cafeBuy.jpg" alt="">
  42. </div>
  43. </div>
  44. </div>
  45. </template>
  46. <script>
  47. export default {
  48. name: "Visit6",
  49. components: {},
  50. data() {
  51. //这里存放数据
  52. return {};
  53. },
  54. //监听属性 类似于data概念
  55. computed: {},
  56. //监控data中的数据变化
  57. watch: {},
  58. //方法集合
  59. methods: {},
  60. //生命周期 - 创建完成(可以访问当前this实例)
  61. created() {},
  62. //生命周期 - 挂载完成(可以访问DOM元素)
  63. mounted() {
  64. this.$eventBus.$emit('request-read', `You have reached the Café & Shop page of the Visit section. This page includes one navigation section, six window sections, and one interactive section. To choose an section, please hit the shortcut key.`)
  65. },
  66. beforeCreate() {}, //生命周期 - 创建之前
  67. beforeMount() {}, //生命周期 - 挂载之前
  68. beforeUpdate() {}, //生命周期 - 更新之前
  69. updated() {}, //生命周期 - 更新之后
  70. beforeDestroy() {}, //生命周期 - 销毁之前
  71. destroyed() {}, //生命周期 - 销毁完成
  72. activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
  73. };
  74. </script>
  75. <style lang='less' scoped>
  76. .Visit6{
  77. .conten{
  78. color: #000;
  79. width: 1200px;
  80. font-size: 18px;
  81. line-height: 26px;
  82. margin: auto;
  83. .row{
  84. width: 866px;
  85. display: flex;
  86. &>div{
  87. width: 50%;
  88. &>h3{
  89. padding-top: 30px;
  90. font-size: 18px;
  91. font-weight: 700;
  92. margin-bottom: 20px;
  93. }
  94. &>p{
  95. font-size: 14px;
  96. }
  97. &>img{
  98. width: 100%;
  99. }
  100. }
  101. .blank{
  102. padding-left: 10px;
  103. }
  104. }
  105. .buy{
  106. margin: 30px 0 10px;
  107. text-align: center;
  108. }
  109. }
  110. }
  111. </style>