ufutx-pc-website/src/views/Network/sections/AppPromotion.vue

127 lines
2.7 KiB
Vue
Raw Normal View History

<template>
<section class="app-promotion">
<div class="section-bg">
<h2 class="section-title">提供专属健康服务和服务方案</h2>
<el-button type="primary" class="btn-glow consult-btn" @click="openReport"> 领取您的AI健康解决方案 </el-button>
</div>
<div class="app-download">
<div class="app-item">
<div class="app-section">
<img src="@/assets/icons/ios.png" alt="iOS" />
<p><span class="_text">iOS</span>客户端</p>
</div>
<span>版本号1.1.1</span>
</div>
<div class="app-item">
<div class="app-section">
<img src="@/assets/icons/android.png" alt="Android" />
<p><span class="_text">Android</span>客户端</p>
</div>
<span>版本号1.1.1</span>
</div>
</div>
</section>
</template>
<script setup lang="ts">
// 18 import { ElButton } from 'element-plus'
import { openExternalLink } from '@/utils/navigation.ts' // 确保按需导入
// 外部链接跳转(新标签)
const openReport = () => {
openExternalLink('https://sj.qq.com/appdetail/com.ufutx.lovehealth', '_blank')
}
</script>
<style scoped lang="less">
.app-promotion {
text-align: center;
}
.section-bg {
.pt(36px);
.pb(36px);
background-image: url('https://images.health.ufutx.com/202506/18/e403f857ad7385ea660987cbcbdcf198.png');
}
.section-title {
font-weight: bold;
font-size: 30px;
padding: 10px;
.mb(10px);
}
.consult-btn {
//display: flex;
height: 57px;
padding: 16px 30px;
border-radius: 10px;
background: var(--Style, #1060ff);
font-size: 18px;
color: #fff;
font-weight: bold;
.mt(10px);
}
.app-download {
height: 620px;
display: flex;
justify-content: center;
gap: 40px;
width: 100%;
background-image: url('https://images.health.ufutx.com/202506/18/f27ffc4b59df0dc6f53133bb1115b44a.png');
background-size: cover;
}
.app-item {
text-align: left;
display: flex;
width: 408px;
height: 150px;
padding: 50px 50px 30px 50px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px;
flex-shrink: 0;
border-radius: 30px;
background: var(--ffffff, #fff);
.mt(428px);
.app-section {
.flex-center();
}
._text {
font-weight: bold;
font-size: 20px;
}
}
.app-item img {
width: 26px;
height: 26px;
margin-right: 5px;
}
.app-item p {
font-size: 18px;
font-weight: 400;
.ml(3px);
}
.app-item span {
font-size: 15px;
color: #666;
letter-spacing: 0.9px;
}
.contact-info {
margin-top: 40px;
}
.contact-info p {
font-size: 14px;
color: #666;
margin: 8px 0;
}
.qrcode-group {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 16px;
}
.qrcode-group img {
width: 60px;
height: 60px;
}
</style>