<template>
|
<div class="home-container">
|
<div class="carousel-container" style="margin-top:60px;">
|
<!-- 上方主要轮播 -->
|
<el-carousel ref="mainCarousel"
|
indicator-position="none" trigger="click" height="550px" :pause-on-hover="false"
|
@change="handleMainChange">
|
<el-carousel-item v-for="(item, index) in items" :key="index"
|
style="display: flex; justify-content: center;">
|
<div class="carousel-content-main" :style="{
|
backgroundImage: `url(http://192.168.1.201:9000/portal/bg.png)`,
|
backgroundSize: 'cover',
|
backgroundPosition: 'center',
|
width: '100%',
|
height: '100%'
|
}">
|
aaaaaaaaaaa{{ item }}
|
</div>
|
</el-carousel-item>
|
</el-carousel>
|
|
<!-- 下方卡片模式轮播 -->
|
<el-carousel ref="cardCarousel" :interval="3000" arrow="always" indicator-position="none" trigger="click" type="card" height="100px"
|
class="overlay-carousel" @change="handleCardChange">
|
<el-carousel-item v-for="(item, index) in items" :key="index">
|
<div class="carousel-content">
|
<div class="title">aaaaaaaaaaa{{ item }}</div>
|
<div class="content">我是内容我是内容我是内容我是内容我是内容</div>
|
</div>
|
</el-carousel-item>
|
</el-carousel>
|
</div>
|
|
<div class="our-products">
|
<div class="our-products-title">
|
<h1>我们的产品</h1>
|
</div>
|
<div class="our-products-carousel">
|
<el-carousel :interval="3000" arrow="always">
|
<el-carousel-item v-for="item in 4" :key="item">
|
<!-- 这里是存放产品信息 -->
|
<el-row>
|
<el-col :span="6" v-for="o in 4" :key="o">
|
<div class="our-products-carousel-product">
|
<el-card>
|
<div class="card-content-div"><span class="card-content-div-title">智慧校园门户网站</span></div>
|
<div class="card-content-div"><span
|
class="card-content-div-content">提供全流程、一体化的数据治理与数据服务提供全流程、一体化的数据治理与数据服务</span></div>
|
<img src="http://192.168.1.201:9000/portal/bg.png"
|
style="width: 100%; height: 100px;object-fit: cover;" />
|
</el-card>
|
</div>
|
</el-col>
|
</el-row>
|
</el-carousel-item>
|
</el-carousel>
|
</div>
|
</div>
|
|
<div class="third-other">
|
<el-row>
|
<el-col :span="8">
|
<div>产品中心</div>
|
<ul class="footer-list footer-list-menus">
|
<li><el-link :underline="false" href="./product/tymhxt.html"><span class="f12">智慧校园信息服务门户</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/tyrzxt.html"><span class="f12">统一身份认证服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/ydglxt.html"><span class="f12">移动智慧校园平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/sjglxt.html"><span class="f12">数据管理中心平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/jcpt.html"><span class="f12">集成平台</span></el-link> </li>
|
<li><el-link :underline="false" href="./product/jxglxt.html"><span class="f12">教学管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/zsglxt.html"><span class="f12">招生管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/yxglxt.html"><span class="f12">迎新管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/xgmhxt.html"><span class="f12">学生工作管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/lxglxt.html"><span class="f12">离校管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/jyglxt.html"><span class="f12">就业管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/kyglxt.html"><span class="f12">科研管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/zyglxt.html"><span class="f12">人力资源管理服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/zhbgpt.html"><span class="f12">智慧办公服务平台</span></el-link>
|
</li>
|
<li><el-link :underline="false" href="./product/wsbs.html"><span class="f12">网上办事大厅</span></el-link> </li>
|
<li><el-link :underline="false" href="./product/yjsxxfwxt.html"><span
|
class="f12">研究生信息管理与服务平台</span></el-link> </li>
|
<li><el-link :underline="false" href="./product/zzcxdyytj.html"><span class="f12">自助查询打印一体机</span></el-link>
|
</li>
|
</ul>
|
</el-col>
|
<el-col :span="8">
|
<div>合作过的客户</div>
|
<div>
|
<img v-for="(item, index) in 28" src="http://192.168.1.201:9000/portal/bg.png" class="cooperation-img" />
|
</div>
|
</el-col>
|
<el-col :span="8">
|
<div>公司信息</div>
|
<div class="contact-us">
|
<div class="j-a-c">
|
<div class="j-a-c">
|
<img src="@/assets/logo/logo.png" alt="云游四方" class="logo-l" />
|
<span class="logo-l-text">云游四方</span>
|
</div>
|
<div class="f12 m-10"> 科技创新 服务教育</div>
|
</div>
|
<div class="j-a-c">
|
<p><span class="f12 m-10">全国热线电话:</span>
|
<el-link :underline="false" href="tel:400-102-8686"><span class="f12 m-10">400-102-8686</span></el-link>
|
<el-link :underline="false" href="tel:400-102-8686"><span class="f12 m-10">400-102-8686</span></el-link>
|
</p>
|
</div>
|
<div class="j-a-c">
|
<p><span class="f12 m-10">全国售后电话:</span>
|
<el-link :underline="false" href="tel:400-102-8686"><span class="f12 m-10">400-102-8686</span></el-link>
|
<el-link :underline="false" href="tel:400-102-8686"><span class="f12 m-10">400-102-8686</span></el-link>
|
</p>
|
</div>
|
<div class="j-a-c">
|
<p><span class="f12 m-10">地址:浙江省杭州市西湖区紫霞街176号杭州互联网创新创业园2-301</span></p>
|
</div>
|
<div class="footer-QR-code">
|
<div class="j-a-c"><img src="@/assets/logo/logo.png" alt="云游四方" class="qr-code-img" /></div>
|
<div class="j-a-c"><img src="@/assets/logo/logo.png" alt="云游四方" class="qr-code-img" /></div>
|
</div>
|
|
</div>
|
</el-col>
|
</el-row>
|
</div>
|
|
|
|
<el-backtop :right="20" :bottom="50" style="width: 30px; height: 30px;" />
|
|
<!-- 右侧悬浮按钮 -->
|
|
<div class="float-buttons">
|
<el-popover placement="left" trigger="hover">
|
<img src="http://192.168.1.201:9000/portal/wechat.png" alt="微信二维码" class="popover-img" />
|
<template #reference>
|
<img src="http://192.168.1.201:9000/portal/wechat.png" alt="微信" class="xuanfu" />
|
</template>
|
</el-popover>
|
|
<el-popover placement="left" trigger="hover">
|
<p>123-456-789</p>
|
<template #reference>
|
<img src="http://192.168.1.201:9000/portal/phone.png" alt="电话" class="xuanfu" />
|
</template>
|
</el-popover>
|
</div>
|
|
</div>
|
</template>
|
|
<script lang="ts" setup>
|
import { ref } from 'vue'
|
import { Phone, Monitor, Service, Top } from '@element-plus/icons-vue'
|
import type { ElCarousel } from "element-plus";
|
import HeaderMenu from '@/components/HeaderMenu.vue';
|
|
const handleSelect = (key: string, keyPath: string[]) => {
|
console.log(key, keyPath)
|
}
|
|
const menuIndex = ref<String>("index"); // 共享当前索引
|
|
|
const items = ref([0, 1, 2, 3]); // 轮播项
|
const mainCarousel = ref<InstanceType<typeof ElCarousel> | null>(null);
|
const cardCarousel = ref<InstanceType<typeof ElCarousel> | null>(null);
|
|
const handleMainChange = (index: number) => {
|
if (cardCarousel.value) {
|
cardCarousel.value.setActiveItem(index); // 同步下方轮播
|
}
|
};
|
|
const handleCardChange = (index: number) => {
|
if (mainCarousel.value) {
|
mainCarousel.value.setActiveItem(index); // 同步上方轮播
|
}
|
};
|
</script>
|
|
<style scoped>
|
.home-container {
|
position: relative;
|
width: 100%;
|
min-height: 100vh;
|
margin: 0;
|
padding: 0;
|
}
|
|
|
|
.el-menu--horizontal {
|
--el-menu-horizontal-height: 40px;
|
}
|
|
.logo-container {
|
display: flex;
|
align-items: center;
|
}
|
|
.logo {
|
height: 40px;
|
margin-right: 10px;
|
}
|
|
.logo-text {
|
font-size: 18px;
|
font-weight: bold;
|
color: #333;
|
}
|
|
|
|
.main-content {
|
width: 100%;
|
margin-top: 60px;
|
/* 为固定的header留出空间 */
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
padding: 0px;
|
/* height: 600px; */
|
width: 100%;
|
}
|
|
.banner {
|
position: relative;
|
width: 100%;
|
min-height: calc(100vh - 60px);
|
/* 减去header高度 */
|
background: linear-gradient(to bottom, #1a237e, #3949ab);
|
color: white;
|
/* padding: 40px 0; */
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
box-sizing: border-box;
|
}
|
|
.logos-container {
|
display: flex;
|
justify-content: center;
|
gap: 40px;
|
margin: 30px 0;
|
}
|
|
.cert-logo,
|
.company-logo {
|
height: 80px;
|
}
|
|
.main-title {
|
font-size: 36px;
|
text-align: center;
|
margin: 40px 0;
|
}
|
|
.organizers {
|
display: flex;
|
justify-content: center;
|
gap: 20px;
|
margin: 20px 0;
|
}
|
|
.org-item {
|
display: flex;
|
align-items: center;
|
}
|
|
.org-label {
|
color: #ccc;
|
margin-right: 5px;
|
}
|
|
.org-name {
|
color: white;
|
}
|
|
.location {
|
margin: 40px 0;
|
}
|
|
.location h2 {
|
font-size: 32px;
|
text-align: center;
|
}
|
|
.info-cards {
|
display: flex;
|
justify-content: center;
|
gap: 20px;
|
width: 80%;
|
margin-top: 40px;
|
margin-bottom: 40px;
|
/* 添加底部间距 */
|
flex-wrap: wrap;
|
/* 在小屏幕上允许换行 */
|
}
|
|
.info-card {
|
background-color: rgba(255, 255, 255, 0.1);
|
padding: 20px;
|
border-radius: 5px;
|
flex: 1;
|
min-width: 250px;
|
/* 确保在小屏幕上有最小宽度 */
|
}
|
|
.card-title {
|
font-size: 18px;
|
margin-bottom: 10px;
|
color: white;
|
}
|
|
.card-desc {
|
color: #ddd;
|
font-size: 14px;
|
}
|
|
.float-buttons {
|
position: fixed;
|
right: 20px;
|
bottom: 100px;
|
display: flex;
|
flex-direction: column;
|
gap: 10px;
|
}
|
|
.float-btn {
|
width: 60px;
|
height: 60px;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
}
|
|
.btn-content {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
font-size: 12px;
|
}
|
|
.product-btn {
|
background-color: #fff;
|
color: #333;
|
}
|
|
.service-btn {
|
background-color: #fff;
|
color: #333;
|
}
|
|
.top-btn {
|
background-color: #fff;
|
color: #333;
|
}
|
|
/* 添加响应式设计 */
|
@media (max-width: 768px) {
|
.organizers {
|
flex-direction: column;
|
align-items: center;
|
}
|
|
.info-cards {
|
width: 90%;
|
}
|
|
.main-title {
|
font-size: 28px;
|
padding: 0 15px;
|
}
|
}
|
</style>
|
|
|
<style scoped>
|
.demonstration {
|
color: var(--el-text-color-secondary);
|
}
|
|
.el-carousel__item h3 {
|
color: #475669;
|
opacity: 0.75;
|
line-height: 150px;
|
margin: 0;
|
text-align: center;
|
}
|
|
.el-carousel__item:nth-child(2n) {
|
/* background-color: #FFFFFF; */
|
}
|
|
.el-carousel__item:nth-child(2n + 1) {
|
/* background-color: #FFFFFF; */
|
}
|
</style>
|
|
<style scoped>
|
.carousel-container {
|
position: relative;
|
margin-top: 30px;
|
}
|
|
.overlay-carousel {
|
position: absolute;
|
top: 400px;
|
/* 调整此值控制重叠程度 */
|
left: 50%;
|
transform: translateX(-50%);
|
width: 80%;
|
/* 适当调整宽度 */
|
}
|
|
.our-products {
|
margin-top: 10px;
|
width: 100%;
|
display: flex;
|
flex-direction: column;
|
/* 设置子元素垂直排列 */
|
align-items: center;
|
/* 可选:将子元素水平居中 */
|
padding: 0 20px;
|
}
|
|
.our-products-title {
|
width: 100%;
|
height: 50px;
|
text-align: center;
|
}
|
|
.our-products-carousel {
|
margin-top: 30px;
|
width: 80%;
|
/* height: 300px; */
|
}
|
|
.our-products-carousel-product {
|
width: 100%;
|
display: flex;
|
flex-direction: column;
|
/* 设置子元素垂直排列 */
|
align-items: center;
|
/* 可选:将子元素水平居中 */
|
padding: 0 5px;
|
}
|
|
.card-content-div {
|
text-align: center;
|
margin: 10px;
|
}
|
|
.card-content-div-title {
|
font-weight: 500;
|
}
|
|
.card-content-div-content {
|
color: gray;
|
font-size: 14px;
|
}
|
|
.third-other {
|
width: 100%;
|
text-align: center;
|
margin-top: 20px;
|
background-color: #F2F5FA;
|
}
|
|
|
.footer-list {
|
display: flex;
|
flex-wrap: wrap;
|
/* Allow wrapping to new lines */
|
}
|
|
.footer-list li {
|
width: 48%;
|
/* Adjust this value to control the width of each item */
|
margin-bottom: 5px;
|
/* Optional: Adds space between rows */
|
text-align: left;
|
}
|
|
.f12 {
|
font-size: 12px;
|
color: #2B2B2B;
|
}
|
|
ul,
|
ol,
|
li {
|
list-style: none;
|
}
|
|
ul {
|
margin: 0;
|
}
|
|
ol,
|
ul {
|
margin-top: 0;
|
margin-bottom: 10px;
|
}
|
|
.cooperation-img {
|
width: 50px;
|
height: 50px;
|
object-fit: cover;
|
margin: 5px;
|
}
|
|
.contact-us {
|
margin: 10px;
|
}
|
|
.j-a-c {
|
display: flex;
|
/* justify-content: center; */
|
align-items: center;
|
}
|
|
.logo-l {
|
height: 20px;
|
}
|
|
.logo-l-text {
|
font-size: 12px;
|
font-weight: bold;
|
color: #333;
|
}
|
|
.m-10 {
|
margin-left: 10px;
|
}
|
|
.footer-QR-code {
|
display: flex;
|
justify-content: flex-start;
|
margin-top: 10px;
|
}
|
|
.qr-code-img {
|
width: 60px;
|
height: 60px;
|
}
|
|
.xuanfu {
|
width: 30px;
|
height: 30px;
|
}
|
|
|
::v-deep .el-carousel__mask {
|
/* background-color: var(--el-color-white); */
|
height: 100%;
|
left: 0;
|
opacity: .24;
|
position: absolute;
|
top: 0;
|
transition: var(--el-transition-duration-fast);
|
width: 100%;
|
}
|
.carousel-content{
|
/* width: 50%;
|
background-color: #FFFFFF; */
|
text-align: center;
|
}
|
</style>
|