CameraContent-1-3-3.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. <img
  9. draggable="false"
  10. src="@/assets/images/mobile/bg_1-min.jpg"
  11. >
  12. <div class="content-wrap-c">
  13. <div class="design-wrap-left">
  14. <p class="card-title left">
  15. 重要建筑构件瓦当与滴水
  16. </p>
  17. <p class="text-indent">
  18. 瓦当与滴水是用在古代建筑檐口的瓦件,分别与筒瓦、板瓦相连,既具有保护木构的作用,也有装饰和等级意味。元代高等级建筑使用的龙纹瓦当、滴水,在元大都、元中都、元上都都有不少发现,其中以黄绿琉璃最为常见。元人尚白,考古也曾发现白色瓷瓦或琉璃瓦。发现数量更多的是灰陶瓦件,元大都出土的灰陶瓦当、滴水,以花草纹、凤鸟纹、兽面纹为大宗。
  19. </p>
  20. </div>
  21. <div class="design-wrap-right">
  22. <img
  23. class="detail-img"
  24. draggable="false"
  25. :src="require(`@/assets/images/1331.png`)"
  26. alt=""
  27. >
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. </template>
  33. <script setup>
  34. const {
  35. windowSizeInCssForRef,
  36. windowSizeWhenDesignForRef,
  37. } = useSizeAdapt(1920, 970)
  38. const emit = defineEmits(['close'])
  39. </script>
  40. <style lang="less" scoped>
  41. .camera-content-1-1{
  42. position: absolute;
  43. left: 0;
  44. top: 0;
  45. width: 100%;
  46. height: 100%;
  47. background: rgba(0,0,0,0.45);
  48. backdrop-filter: blur(60px);
  49. >button.return{
  50. position: absolute;
  51. width: 58px;
  52. height: 58px;
  53. left: 42px;
  54. top: 68px;
  55. background-image: url(@/assets/images/btn-return.png);
  56. background-size: contain;
  57. background-repeat: no-repeat;
  58. background-position: center center;
  59. z-index: 1;
  60. }
  61. .content-wrap{
  62. position: absolute;
  63. left: 50%;
  64. top: 54%;
  65. width: 100%;
  66. transform: translate(-50%, -50%);
  67. > img {
  68. width: 100%
  69. }
  70. &-c {
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. right: 0;
  75. bottom: 0;
  76. display: flex;
  77. align-items: center;
  78. justify-content: center;
  79. }
  80. .card-title {
  81. margin-bottom: 20px;
  82. }
  83. .text-indent {
  84. font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  85. }
  86. }
  87. .design-wrap-left {
  88. position: relative;
  89. top: calc(0px - 30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  90. width: 690px;
  91. }
  92. .design-wrap-right {
  93. margin-left: calc(150 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  94. display: flex;
  95. align-items: center;
  96. justify-content: center;
  97. width: 709px;
  98. >.btn-left {
  99. width: 60px;
  100. height: 60px;
  101. position: absolute;
  102. left: -30px;
  103. top: 50%;
  104. transform: translateY(-50%);
  105. z-index: 2;
  106. cursor: pointer;
  107. }
  108. >.btn-right {
  109. width: 60px;
  110. height: 60px;
  111. position: absolute;
  112. right: -30px;
  113. top: 50%;
  114. transform: translateY(-50%);
  115. z-index: 2;
  116. cursor: pointer;
  117. }
  118. .btn-left,
  119. .btn-right {
  120. transition: all linear .2s;
  121. &:hover {
  122. transform: translateY(-50%) scale(1.2);
  123. }
  124. }
  125. .detail-img {
  126. width: 100%;
  127. }
  128. }
  129. }
  130. @media screen and (max-height: 480px) {
  131. .camera-content-1-1 .content-wrap {
  132. top: 50%;
  133. .design-wrap-right {
  134. margin-left: calc(100 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
  135. width: 900px;
  136. }
  137. }
  138. }
  139. </style>