CameraContent-2-2-1.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <template>
  2. <div class="camera-content-1-1">
  3. <button
  4. class="return"
  5. @click="emit('close')"
  6. />
  7. <div class="content-wrap">
  8. <div class="left">
  9. <h2 class="one">
  10. 菏泽沉船
  11. </h2>
  12. <p class="one text-indent">
  13. 2010 年发现的菏泽元代沉船,向世人展示了一处完整的内河沉船遗迹。该船为木质单桅货船,船型狭长,方首,方尾,平底,共 12 个舱,主体用材为杉木。据专家研究,这艘沉船发现的位置正在元朝的黄河北支上,而黄河北支此时与会通河相接,当时凡从运河北上元大都或南下去往杭州方向的船只,在徐州到济宁段都需要经过这段河道。
  14. </p>
  15. <h2 class="two">
  16. 菏泽沉船上的瓷器
  17. </h2>
  18. <p class="two text-indent">
  19. 沉船中还出土了包括精美瓷器在内的160余件遗物,其中瓷器主要为景德镇青花与青白釉瓷器、磁州窑瓷器、龙泉窑瓷器、钧窑瓷器等,而这也是元大都内最常发现的瓷器组合。
  20. </p>
  21. </div>
  22. <div class="right">
  23. <img
  24. class=""
  25. src="@/assets/images/camera-content-2-1-1-img.png"
  26. alt=""
  27. draggable="false"
  28. >
  29. </div>
  30. </div>
  31. </div>
  32. </template>
  33. <script setup>
  34. import { ref, computed, watch, onMounted } from "vue"
  35. import { useRoute, useRouter } from "vue-router"
  36. import { useStore } from "vuex"
  37. const {
  38. windowSizeInCssForRef,
  39. windowSizeWhenDesignForRef,
  40. } = useSizeAdapt(1920, 970)
  41. const route = useRoute()
  42. const router = useRouter()
  43. const store = useStore()
  44. const emit = defineEmits(['close'])
  45. </script>
  46. <style lang="less" scoped>
  47. .camera-content-1-1{
  48. position: absolute;
  49. left: 0;
  50. top: 0;
  51. width: 100%;
  52. height: 100%;
  53. background: rgba(0,0,0,0.45);
  54. backdrop-filter: blur(60px);
  55. >button.return{
  56. position: absolute;
  57. width: 58px;
  58. height: 58px;
  59. left: 42px;
  60. top: 68px;
  61. background-image: url(@/assets/images/btn-return.png);
  62. background-size: contain;
  63. background-repeat: no-repeat;
  64. background-position: center center;
  65. }
  66. >.content-wrap{
  67. position: absolute;
  68. left: 50%;
  69. top: 54%;
  70. width: 100%;
  71. // width: calc(1920 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  72. height: calc(723 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  73. transform: translate(-50%, -50%);
  74. background-image: url(@/assets/images/camera-content-2-1-1-design-bg.png);
  75. background-size: cover;
  76. background-repeat: no-repeat;
  77. background-position: center center;
  78. display: flex;
  79. justify-content: space-evenly;
  80. align-items: center;
  81. >.left{
  82. flex: 0 0 auto;
  83. width: calc(818 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  84. height: calc(438 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  85. >h2{
  86. width: calc(616 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  87. height: calc(62 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  88. font-size: calc(28 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  89. font-family: Source Han Serif SC, Source Han Serif SC;
  90. font-weight: 600;
  91. color: #6A3906;
  92. line-height: calc(33 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  93. letter-spacing: calc(5 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  94. background-image: url(@/assets/images/camera-content-1-1-3-title-bg.png);
  95. background-size: contain;
  96. background-repeat: no-repeat;
  97. background-position: center center;
  98. display: flex;
  99. justify-content: center;
  100. align-items: center;
  101. padding-top: calc(2 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  102. padding-left: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  103. margin-bottom: calc(15 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  104. }
  105. >p{
  106. font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  107. // font-family: Source Han Sans CN, Source Han Sans CN;
  108. font-weight: 300;
  109. color: #000000;
  110. line-height: 30px;
  111. // letter-spacing: calc(8 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  112. }
  113. >p.one{
  114. margin-bottom: calc(50 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  115. }
  116. }
  117. >.right{
  118. flex: 0 0 auto;
  119. position: relative;
  120. width: calc(818 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  121. height: calc(438 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  122. >img{
  123. position: absolute;
  124. left: 0;
  125. top: 0;
  126. width: 100%;
  127. height: 100%;
  128. background: rgba(145,129,117,0.25);
  129. border: 1px solid #FFE88B;
  130. padding: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  131. }
  132. }
  133. }
  134. }
  135. </style>