Files
Aida_Purchaser_Front/src/views/collectionStory/index.vue

127 lines
2.5 KiB
Vue
Raw Normal View History

2026-04-20 14:06:02 +08:00
<script setup lang="ts">
2026-04-20 14:14:31 +08:00
import { ref, onMounted, onUnmounted, reactive, toRefs } from "vue";
2026-04-21 10:47:41 +08:00
import Detail from "./detail/index.vue";
2026-04-23 14:30:09 +08:00
import myEvent from '@/utils/myEvent'
2026-04-20 14:14:31 +08:00
//const props = defineProps({
//})
//const emit = defineEmits([
//])
let data = reactive({
})
2026-04-23 14:30:09 +08:00
const addShopping = (item) => {
myEvent.emit('addShopping', item)
}
2026-04-20 14:14:31 +08:00
onMounted(()=>{
})
onUnmounted(()=>{
})
defineExpose({})
const {} = toRefs(data);
2026-04-20 14:06:02 +08:00
</script>
2026-04-20 14:14:31 +08:00
<template>
<div class="collectionStory">
2026-04-21 10:47:41 +08:00
<div class="first-screen">
<img class="banner" src="@/assets/images/collectionStory/collection_story_banner.png" alt="">
<div class="back">
<SvgIcon name="collectionStory-back" size="20" />
<div class="text">Back to Home</div>
</div>
<div class="title-content">
<div class="title-box">
2026-05-11 16:16:59 +08:00
<div class="title">
Were Seeking
2026-04-21 10:47:41 +08:00
</div>
2026-05-11 16:16:59 +08:00
<div class="info">
Fashion Voice Worth Featuring.
2026-04-21 10:47:41 +08:00
</div>
</div>
2026-05-11 16:16:59 +08:00
<div class="button">
<a href="mailto:info@code-create.com.hk">Contact Us if Interested</a>
2026-04-21 10:47:41 +08:00
</div>
</div>
</div>
<div class="content">
2026-04-23 14:30:09 +08:00
<Detail @addShopping="addShopping"></Detail>
2026-04-20 14:14:31 +08:00
</div>
2026-04-21 15:57:37 +08:00
<Footer></Footer>
2026-04-20 14:14:31 +08:00
</div>
</template>
<style lang="less" scoped>
.collectionStory{
width: 100%;
height: 100%;
position: relative;
2026-04-21 10:47:41 +08:00
overflow-y: auto;
.first-screen{
position: relative;
height: auto;
display: flex;
overflow: hidden;
> .back{
position: absolute;
top: 2.4rem;
left: 2.4rem;
display: flex;
align-items: center;
gap: .8rem;
2026-05-11 16:16:59 +08:00
color: #000;
2026-04-21 10:47:41 +08:00
cursor: pointer;
> .text{
font-size: 2rem;
font-weight: 500;
white-space: nowrap;
}
}
> .title-content{
width: 100%;
position: absolute;
2026-05-11 16:16:59 +08:00
padding: 0 6.7rem;
margin-top: 11.5rem;
2026-04-21 10:47:41 +08:00
display: flex;
flex-direction: column;
2026-05-11 16:16:59 +08:00
align-items: flex-start;
> .title-box{
display: flex;
flex-direction: column;
> .title{
font-size: 6.5rem;
line-height: 100%;
font-weight: 500;
color: #585858;
2026-04-21 15:57:37 +08:00
}
2026-05-11 16:16:59 +08:00
> .info{
font-size: 3rem;
font-weight: 500;
line-height: 100%;
color: #585858;
2026-04-21 15:57:37 +08:00
}
2026-05-11 16:16:59 +08:00
}
> .button{
padding: 0 4.5rem;
line-height: 5.1rem;
background-color: #1B1B1B;
color: #fff;
margin-top: 4rem;
font-weight: 700;
font-size: 2rem;
letter-spacing: -0.4px;
cursor: pointer;
> a{
color: #fff;
text-decoration: none;
2026-04-21 15:57:37 +08:00
}
}
2026-04-21 10:47:41 +08:00
}
.banner{
width: 100%;
z-index: -1;
}
}
.content{
width: 100%;
2026-04-21 15:57:37 +08:00
// min-height: 100%;
// height: 100%;
2026-04-21 10:47:41 +08:00
}
2026-04-20 14:06:02 +08:00
}
2026-04-20 14:14:31 +08:00
</style>