|
@ -2,6 +2,7 @@ |
|
|
<div class="homepage"> |
|
|
<div class="homepage"> |
|
|
<!-- 顶部主图背景 --> |
|
|
<!-- 顶部主图背景 --> |
|
|
<!-- <div class="main-icon"></div> --> |
|
|
<!-- <div class="main-icon"></div> --> |
|
|
|
|
|
|
|
|
<img class="main-icon" :src="robot" alt="AI小财神" /> |
|
|
<img class="main-icon" :src="robot" alt="AI小财神" /> |
|
|
<!-- 按钮区域 --> |
|
|
<!-- 按钮区域 --> |
|
|
<div class="buttons-container"> |
|
|
<div class="buttons-container"> |
|
@ -25,6 +26,7 @@ |
|
|
<div class="footer-text1"></div> |
|
|
<div class="footer-text1"></div> |
|
|
<div class="footer-text2"></div> |
|
|
<div class="footer-text2"></div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -35,7 +37,7 @@ import { setHeight } from "@/utils/setHeight"; |
|
|
import { useDataStore } from "@/store/dataList.js"; |
|
|
import { useDataStore } from "@/store/dataList.js"; |
|
|
const { getQueryVariable, setActiveTabIndex } = useDataStore(); |
|
|
const { getQueryVariable, setActiveTabIndex } = useDataStore(); |
|
|
|
|
|
|
|
|
import robot from "@/assets/img/Selectmodel/-s-机器人.png"; |
|
|
|
|
|
|
|
|
import robot from "@/assets/img/Selectmodel/机器人 拷贝.png"; |
|
|
|
|
|
|
|
|
const router = useRouter(); |
|
|
const router = useRouter(); |
|
|
const pageRef = ref(null); |
|
|
const pageRef = ref(null); |
|
@ -63,20 +65,20 @@ const goToEmotionsmodel = () => { |
|
|
|
|
|
|
|
|
<style scoped> |
|
|
<style scoped> |
|
|
.homepage { |
|
|
.homepage { |
|
|
/* height: 100vh; */ |
|
|
|
|
|
/* width: 100vw; */ |
|
|
|
|
|
/* min-height: 100vw; */ |
|
|
|
|
|
/* background-color: #000cfc; */ |
|
|
|
|
|
background-image: url("@/assets/img/Selectmodel/bg.png"); |
|
|
background-image: url("@/assets/img/Selectmodel/bg.png"); |
|
|
background-size: 100%; |
|
|
|
|
|
|
|
|
background-size: 100% 100%; |
|
|
background-position: center; |
|
|
background-position: center; |
|
|
background-repeat: no-repeat; |
|
|
background-repeat: no-repeat; |
|
|
|
|
|
width: 100vw; |
|
|
|
|
|
height: 100vh; |
|
|
|
|
|
/* min-height: 100vh; */ |
|
|
/* overflow-x: hidden; */ |
|
|
/* overflow-x: hidden; */ |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
box-sizing: border-box; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
|
/* box-sizing: border-box; |
|
|
|
|
|
text-align: center; */ |
|
|
|
|
|
background-attachment: fixed |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.main-icon { |
|
|
.main-icon { |
|
@ -84,17 +86,20 @@ const goToEmotionsmodel = () => { |
|
|
width: 28vw; |
|
|
width: 28vw; |
|
|
/* max-width: 280px; */ |
|
|
/* max-width: 280px; */ |
|
|
height: auto; |
|
|
height: auto; |
|
|
margin-top:39vw; |
|
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
top: 20vh; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* ===== 默认(PC端)按钮区域 ===== */ |
|
|
/* ===== 默认(PC端)按钮区域 ===== */ |
|
|
.buttons-container { |
|
|
.buttons-container { |
|
|
margin-top: 4vh; |
|
|
|
|
|
|
|
|
margin-top: 8vh; |
|
|
display: flex; |
|
|
display: flex; |
|
|
gap: 50vw; |
|
|
|
|
|
|
|
|
gap: 30vw; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: flex-end; |
|
|
align-items: flex-end; |
|
|
flex-wrap: nowrap; |
|
|
flex-wrap: nowrap; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
top: 40vh; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.btn-item { |
|
|
.btn-item { |
|
@ -159,29 +164,32 @@ const goToEmotionsmodel = () => { |
|
|
|
|
|
|
|
|
/* ===== 底部口号区域 ===== */ |
|
|
/* ===== 底部口号区域 ===== */ |
|
|
.footer-wrapper { |
|
|
.footer-wrapper { |
|
|
margin-top: 6vh; |
|
|
|
|
|
|
|
|
/* margin-top: 6vh; */ |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
gap: 5vh; |
|
|
gap: 5vh; |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: 20px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.footer-text1 { |
|
|
.footer-text1 { |
|
|
width: 200vw; |
|
|
|
|
|
max-width: 200vw; |
|
|
|
|
|
|
|
|
/* width: 200vw; */ |
|
|
|
|
|
/* max-width: 200vw; */ |
|
|
height: 6vw; |
|
|
height: 6vw; |
|
|
background-image: url("@/assets/img/Selectmodel/智能体 拷贝.png"); |
|
|
background-image: url("@/assets/img/Selectmodel/智能体 拷贝.png"); |
|
|
background-size: 100% 100%; |
|
|
background-size: 100% 100%; |
|
|
background-size: contain; |
|
|
background-size: contain; |
|
|
background-repeat: no-repeat; |
|
|
background-repeat: no-repeat; |
|
|
background-position: center; |
|
|
background-position: center; |
|
|
|
|
|
width: 100vw; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.footer-text2 { |
|
|
.footer-text2 { |
|
|
width: 70vw; |
|
|
width: 70vw; |
|
|
max-width: 360px; |
|
|
max-width: 360px; |
|
|
height: 30px; |
|
|
height: 30px; |
|
|
margin-bottom: 60px; |
|
|
|
|
|
|
|
|
/* margin-bottom: 60px; */ |
|
|
background-image: url("@/assets/img/Selectmodel/-s-弘历团队.png"); |
|
|
background-image: url("@/assets/img/Selectmodel/-s-弘历团队.png"); |
|
|
background-size: contain; |
|
|
background-size: contain; |
|
|
background-repeat: no-repeat; |
|
|
background-repeat: no-repeat; |
|
@ -189,9 +197,9 @@ const goToEmotionsmodel = () => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 手机适配 */ |
|
|
/* 手机适配 */ |
|
|
@media screen and (max-width: 600px) { |
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) { |
|
|
.homepage { |
|
|
.homepage { |
|
|
background-image: url("@/assets/img/Selectmodel/-s-bg.png"); |
|
|
|
|
|
|
|
|
background-image: url("@/assets/img/Selectmodel/手机bg.png"); |
|
|
/* height: auto; */ |
|
|
/* height: auto; */ |
|
|
/* 解决底部留白 */ |
|
|
/* 解决底部留白 */ |
|
|
/* width: 100%; */ |
|
|
/* width: 100%; */ |
|
@ -201,12 +209,15 @@ const goToEmotionsmodel = () => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.main-icon { |
|
|
.main-icon { |
|
|
margin-top: 350px; |
|
|
|
|
|
/* width: 9rem; */ |
|
|
|
|
|
|
|
|
background-image: url("@/assets/img/Selectmodel/机器人手机.png"); |
|
|
|
|
|
width: 70%; |
|
|
|
|
|
height: auto; |
|
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
|
background-size: 100% 100%; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.buttons-container { |
|
|
.buttons-container { |
|
|
margin-top: 80px; |
|
|
|
|
|
|
|
|
margin-top: 8rem; |
|
|
gap: 10vw; |
|
|
gap: 10vw; |
|
|
position: relative; |
|
|
position: relative; |
|
|
flex-wrap: nowrap; |
|
|
flex-wrap: nowrap; |
|
@ -258,24 +269,23 @@ const goToEmotionsmodel = () => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* 平板适配 */ |
|
|
/* 平板适配 */ |
|
|
@media screen and (min-width: 601px) and (max-width: 1024px) { |
|
|
|
|
|
|
|
|
/* @media screen and (min-width: 769px) and (max-width: 1024px) { |
|
|
.homepage { |
|
|
.homepage { |
|
|
background-image: url("@/assets/img/Selectmodel/-s-bg.png"); |
|
|
|
|
|
|
|
|
background-image: url("@/assets/img/Selectmodel/手机bg.png"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.main-icon { |
|
|
|
|
|
margin-top: calc(650px - 30vw); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.btn-item { |
|
|
.btn-item { |
|
|
padding-top: 20px; |
|
|
padding-top: 20px; |
|
|
width: 300vw; |
|
|
width: 300vw; |
|
|
position: relative; |
|
|
position: relative; |
|
|
} |
|
|
} |
|
|
.buttons-container{ |
|
|
|
|
|
gap:30vw; |
|
|
|
|
|
margin-top: 5vh; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.buttons-container { |
|
|
|
|
|
gap: 30vw; |
|
|
|
|
|
margin-top: 5vh; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.btn-icon, |
|
|
.btn-icon, |
|
|
.btn-ball { |
|
|
.btn-ball { |
|
|
height: 100px; |
|
|
height: 100px; |
|
@ -289,52 +299,5 @@ const goToEmotionsmodel = () => { |
|
|
left: 50%; |
|
|
left: 50%; |
|
|
transform: translate(-50%, -50%); |
|
|
transform: translate(-50%, -50%); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.footer-text1 { |
|
|
|
|
|
background-image: url("@/assets/img/Selectmodel/智能体.png"); |
|
|
|
|
|
width: 100vw; |
|
|
|
|
|
max-width: 900px; |
|
|
|
|
|
height: 200px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.footer-text2 { |
|
|
|
|
|
padding-top: 30px; |
|
|
|
|
|
height: 26px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 大屏幕适配 - 背景图铺满整个屏幕 */ |
|
|
|
|
|
@media screen and (min-width: 1025px) { |
|
|
|
|
|
.homepage { |
|
|
|
|
|
background-size: cover; |
|
|
|
|
|
min-height: 100vh; |
|
|
|
|
|
width: 100vw; |
|
|
|
|
|
overflow-x: hidden; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.main-icon { |
|
|
|
|
|
margin-top:46rem; |
|
|
|
|
|
width: calc(20vw + 100px); |
|
|
|
|
|
max-width: 300px; |
|
|
|
|
|
min-width: 300px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* 隐藏滚动条 */ |
|
|
|
|
|
body { |
|
|
|
|
|
overflow-x: hidden; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
html, body { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
max-width: 100vw; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
@media screen and (min-width: 1025px) and (max-width: 1700px){ |
|
|
|
|
|
.main-icon { |
|
|
|
|
|
max-width: 350px; |
|
|
|
|
|
width: 28vw; |
|
|
|
|
|
height: auto; |
|
|
|
|
|
margin-top:40rem; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} */ |
|
|
</style> |
|
|
</style> |