123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <template>
- <div class="camera-content-1-1">
- <button
- class="return"
- @click="emit('close')"
- />
- <div class="content-wrap">
- <div class="left">
- <h2 class="one">
- 聊城古船
- </h2>
- <p class="text-indent">
- 船长126cm、船宽23cm、船高80cm
- </p>
- <p class="text-indent">
- 隔舱板及肋骨:江西小叶樟
- </p>
- <p class="text-indent">
- 甲板、船壳外板:柚木、梢木
- </p>
- <p class="one text-indent">
- 船附件:菠萝格、龙眼木
- </p>
- </div>
- <div class="right">
- <img
- class=""
- src="@/assets/images/camera-content-2-2-3-img.png"
- alt=""
- draggable="false"
- >
- <p> 图注:模型(依据史料定制复原)</p>
- </div>
- </div>
- </div>
- </template>
- <script setup>
- import { ref, computed, watch, onMounted } from "vue"
- import { useRoute, useRouter } from "vue-router"
- import { useStore } from "vuex"
- const {
- windowSizeInCssForRef,
- windowSizeWhenDesignForRef,
- } = useSizeAdapt(1920, 970)
- const route = useRoute()
- const router = useRouter()
- const store = useStore()
- const emit = defineEmits(['close'])
- </script>
- <style lang="less" scoped>
- .camera-content-1-1{
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background: rgba(0,0,0,0.45);
- backdrop-filter: blur(60px);
- >button.return{
- position: absolute;
- width: 58px;
- height: 58px;
- left: 42px;
- top: 68px;
- background-image: url(@/assets/images/btn-return.png);
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- >.content-wrap{
- position: absolute;
- left: 50%;
- top: 54%;
- width: 100%;
- // width: calc(1920 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- height: calc(723 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- transform: translate(-50%, -50%);
- background-image: url(@/assets/images/camera-content-2-1-1-design-bg.png);
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center center;
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- >.left{
- flex: 0 0 auto;
- width: calc(818 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- height: calc(438 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- >h2{
- width: calc(616 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- height: calc(62 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- font-size: calc(28 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- font-family: Source Han Serif SC, Source Han Serif SC;
- font-weight: 600;
- color: #6A3906;
- line-height: calc(33 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- letter-spacing: calc(5 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- background-image: url(@/assets/images/camera-content-1-1-3-title-bg.png);
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- display: flex;
- justify-content: center;
- align-items: center;
- padding-top: calc(2 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- padding-left: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- margin-bottom: calc(15 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- }
- >p{
- font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- font-family: Source Han Sans CN, Source Han Sans CN;
- font-weight: 300;
- color: #000000;
- line-height: 30px;
- // letter-spacing: calc(8 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- }
- >p.one{
- margin-bottom: calc(50 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- }
- }
- >.right{
- flex: 0 0 auto;
- position: relative;
- width: calc(818 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- height: calc(438 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- >img{
- // position: absolute;
- // left: 0;
- // top: 0;
- width: 100%;
- height: 100%;
- background: rgba(145,129,117,0.25);
- border: 1px solid #FFE88B;
- margin: 0;
- padding: 0;
- padding: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
- }
- >p{
- text-align: center;
- line-height: 1.5;
- // margin-top: 120%;
- }
- }
- }
- }
- </style>
|