tj
2025-03-17 0b058116985f0b3415f01c69c1735e1f6a7b51ea
src/pages/Home.vue
@@ -2,30 +2,28 @@
    <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"
      <el-carousel ref="mainCarousel" indicator-position="none" trigger="click" height="100vh" :pause-on-hover="false"
          @change="handleMainChange">
          <el-carousel-item v-for="(item, index) in items" :key="index"
            style="display: flex; justify-content: center;">
        <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)`,
            backgroundImage: `url(${item.url})`,
              backgroundSize: 'cover',
              backgroundPosition: 'center',
              width: '100%',
              height: '100%'
            }">
              aaaaaaaaaaa{{ item }}
            <!-- {{ item.content }} -->
            </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 ref="cardCarousel" :interval="5000" 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 class="title">{{ item.title }}</div>
            <div class="content">{{ item.content }}</div>
            </div>
          </el-carousel-item>
        </el-carousel>
@@ -36,18 +34,17 @@
          <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-carousel :interval="3000" arrow="always" height="400px" >
          <el-carousel-item v-for="(group, groupIndex) in productGroups" :key="groupIndex">
              <el-row>
                <el-col :span="6" v-for="o in 4" :key="o">
              <el-col :span="6" v-for="(product, productIndex) in group.products" :key="productIndex">
                  <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;" />
                    <div class="card-content-div"><span class="card-content-div-title">{{ product.title }}</span></div>
                    <div class="card-content-div">
                      <span class="card-content-div-content">{{ product.desc }}</span>
                    </div>
                    <img :src="product.imgUrl" style="width: 100%; height: 100px; object-fit: cover;" />
                    </el-card>
                  </div>
                </el-col>
@@ -60,99 +57,67 @@
      <div class="third-other">
        <el-row>
          <el-col :span="8">
            <div>产品中心</div>
          <div class="third-other-title">产品中心</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>
            <li v-for="(item, index) in ProductCenters"><el-link :underline="false" :href="item.url" target="_blank"><span class="f12">{{item.name}}</span></el-link></li>
            </ul>
          </el-col>
          <el-col :span="8">
            <div>合作过的客户</div>
          <div class="third-other-title">合作过的客户</div>
            <div>
              <img v-for="(item, index) in 28" src="http://192.168.1.201:9000/portal/bg.png" class="cooperation-img" />
            <img v-for="(item, index) in cooperativeClients" :src="item.url" class="cooperation-img" />
            </div>
          </el-col>
          <el-col :span="8">
            <div>公司信息</div>
          <div class="third-other-title">公司信息</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>
                <img :src="companyInfo.logo" alt="云游四方" class="logo-l" />
                <span class="logo-l-text">{{ companyInfo.name }}</span>
                </div>
                <div class="f12 m-10"> 科技创新 服务教育</div>
              <div class="f12 m-10"> {{ companyInfo.desc }}</div>
              </div>
              <div class="j-a-c">
            <!-- <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>
                <el-link v-for="(item, index) in companyInfo.phoneHotList" :underline="false" href="tel:400-102-8686"><span class="f12 m-10">{{ item }}</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>
                <el-link v-for="(item, index) in companyInfo.phoneSaleAfterList" :underline="false" href="tel:400-102-8686"><span class="f12 m-10">{{ item }}</span></el-link>
                </p>
              </div>
            </div> -->
              <div class="j-a-c">
                <p><span class="f12 m-10">地址:浙江省杭州市西湖区紫霞街176号杭州互联网创新创业园2-301</span></p>
              <p><span class="f12 m-10">地址:{{ companyInfo.address }}</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 class="j-a-c-column" v-for="(item, index) in companyInfo.qrCodeList"><img :src="item.url" alt="云游四方" class="qr-code-img" /><span>{{ item.name }}</span></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" />
        <div class="j-a-c">
            <img :src="companyInfo.wechat" alt="微信二维码" class="popover-img" style="width: 100px; height: 100px;" />
        </div>
          <template #reference>
          <div class="j-a-c">
            <img src="http://192.168.1.201:9000/portal/wechat.png" alt="微信" class="xuanfu" />
          </div>
          </template>
        </el-popover>
  
        <el-popover placement="left" trigger="hover">
          <p>123-456-789</p>
        <p>18913206309</p>
          <template #reference>
            <img src="http://192.168.1.201:9000/portal/phone.png" alt="电话" class="xuanfu" />
          </template>
@@ -164,32 +129,98 @@
  
  <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';
import { CarouselItem, CooperativeClient, ProductCenter, CompanyInfo, Products, ProductGroup } from '@/models/portalModels';
  
  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 items = ref<CarouselItem[]>([
  {url:'http://192.168.1.201:9000/portal/bg.png', title:'', content:''},
  // {url:'http://192.168.1.201:9000/portal/bg.png', title:'统一认证', content:'统一身份认证平台'},
  // {url:'http://192.168.1.201:9000/portal/bg.png', title:'数据管理', content:'数据管理中心平台'}
]);
  
  const handleMainChange = (index: number) => {
    if (cardCarousel.value) {
      cardCarousel.value.setActiveItem(index); // 同步下方轮播
    }
  };
  const handleCardChange = (index: number) => {
    if (mainCarousel.value) {
      mainCarousel.value.setActiveItem(index); // 同步上方轮播
    }
  };
const cooperativeClients = ref<CooperativeClient[]>([
  {url:'http://192.168.1.201:9000/portal/customers/c29.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c34.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c1.png',  name:'图片1', desc:'图片1'},
  {url:'http://192.168.1.201:9000/portal/customers/c22.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c23.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c24.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c25.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c26.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c27.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c28.png', name:'图片2', desc:'图片2'},
  // {url:'http://192.168.1.201:9000/portal/customers/c29.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c30.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c31.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c32.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c33.png', name:'图片2', desc:'图片2'},
  // {url:'http://192.168.1.201:9000/portal/customers/c34.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c35.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c36.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c37.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c38.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c39.png', name:'图片2', desc:'图片2'},
  {url:'http://192.168.1.201:9000/portal/customers/c40.png', name:'图片2', desc:'图片2'},
])
// 新增产品组数据
const productGroups = ref<ProductGroup[]>([
  {
    products: [
      { imgUrl: 'http://192.168.1.201:9000/portal/product-our/S2B2B.png', title: 'S2B2B', desc: '通过数字化整合上下游资源,重构传统供应链“多级分销、信息割裂”的痛点,实现供应商增收......' },
      { imgUrl: 'http://192.168.1.201:9000/portal/product-our/实验室管理系统.png', title: '实验室管理系统', desc: '主要应用于汽车零部件质检行业。它能解决委托单流转、设备管理、数据管理、权限管理等方面的痛点,具备委托单管理.....' },
      { imgUrl: 'http://192.168.1.201:9000/portal/product-our/TQS系统.png', title: 'TQS系统', desc: '解决制造业、汽车业培训痛点。它涵盖多个模块,具备人员信息管理、培训管理、岗位技能培训管理等功能,能实现培训数字...' },
      { imgUrl: 'http://192.168.1.201:9000/portal/product-our/外部供应商管理系统.png', title: '外部供应商管理系统', desc: '破信息壁垒,实现数据共享,自动化处理订单,增强沟通与生产跟踪。系统具备多模块功能,涵盖用户、订单、工单等管理,支持移动端扫码记录工时...' }
    ]
  },
  { products: [
      { imgUrl: 'http://192.168.1.201:9000/portal/product-our/JIT.png', title: 'JIT', desc: '面向工业领域的生产管理系统,旨在减少库存和浪费、提升生产效率。它针对数据出错、库存积压等行业痛点,提供数字化管理、自动化检测等解决方案。系统具备物料管理、工艺路线管理等多种功能,实现生产全过程管控与高效运营' },
      { imgUrl: 'http://192.168.1.201:9000/portal/product-our/CPTM.png', title: 'CPTM', desc: '优化人力开发流程,助力企业发展。它解决了企业培训管理缺乏系统化、报考流程效率低等问题,具备集成平台管理、自动化流程、技能评估等功能,涵盖培训管理、人员信息管理等模块,推动员工和团队能力提升。' },
  ] }
]);
const ProductCenters = ref<ProductCenter[]>([
  { url:'http://192.168.1.201:9000/portal/product-center/LIMS系统介绍方案.pdf', name:'LIMS实验室管理系统', desc:'LIMS实验室管理系统'},
  { url:'http://192.168.1.201:9000/portal/product-center/外部供应商管理系统介绍.pdf', name:'供应商管理系统',  desc:'供应商管理系统'},
  { url:'http://192.168.1.201:9000/portal/product-center/TQS系统介绍与解决方案.pdf', name:'TQS企业培训系统',  desc:'TQS企业培训系统'},
  { url:'http://192.168.1.201:9000/portal/product-center/花满芫小程序产品介绍.pdf', name:'S2B2B小程序平台',  desc:'S2B2B小程序平台'},
  { url:'http://192.168.1.201:9000/portal/product-center/JIT系统介绍.pdf', name:'JIT系统',  desc:'JIT系统'},
  { url:'http://192.168.1.201:9000/portal/product-center/CPTM软件产品介绍.pdf', name:'CPTM企业能力管理系统',  desc:'CPTM企业能力管理系统'},
])
const companyInfo = ref<CompanyInfo>({
  logo: "http://192.168.1.201:9000/portal/logo.png",
  name: "云游四方",
  desc: "专注于智能化解决方案",
  address: "江苏省苏州市虎丘区华云路1号桑田岛科创园",
  wechat:"http://192.168.1.201:9000/portal/company-info/联系微信.png",
  phoneHotList: ["400-123-4567", "010-88889999"],
  phoneSaleAfterList: ["400-987-6543", "010-66667777"],
  qrCodeList: [
    { url:"http://192.168.1.201:9000/portal/company-info/服务号.jpg", name:"服务号"},
    { url:"http://192.168.1.201:9000/portal/company-info/联系微信.png",name: "联系微信"},
  ]
});
  </script>
  
  <style scoped>
@@ -415,11 +446,15 @@
  .carousel-container {
    position: relative;
    margin-top: 30px;
  min-height: calc(100vh - 60px);
}
.carousel-content-main{
  height: 100%;
  }
  
  .overlay-carousel {
    position: absolute;
    top: 400px;
  top: calc(100vh - 200px);
    /* 调整此值控制重叠程度 */
    left: 50%;
    transform: translateX(-50%);
@@ -428,14 +463,15 @@
  }
  
  .our-products {
    margin-top: 10px;
  margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* 设置子元素垂直排列 */
    align-items: center;
    /* 可选:将子元素水平居中 */
    padding: 0 20px;
  padding: 0 50px;
  }
  
  .our-products-title {
@@ -477,8 +513,14 @@
  .third-other {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  margin-top: 30px;
    background-color: #F2F5FA;
  padding: 20px;
}
.third-other-title {
  margin: 0 20px;
  }
  
  
@@ -534,6 +576,12 @@
    align-items: center;
  }
  
.j-a-c-column{
  display: flex;
  align-items: center;
  flex-direction: column;
}
  .logo-l {
    height: 20px;
  }
@@ -564,9 +612,9 @@
    height: 30px;
  }
/*
::v-deep .el-carousel__mask {
    /* background-color: var(--el-color-white); */
    height: 100%;
    left: 0;
    opacity: .24;
@@ -574,7 +622,8 @@
    top: 0;
    transition: var(--el-transition-duration-fast);
    width: 100%;
}
} */
  .carousel-content{
    /* width: 50%;
    background-color: #FFFFFF; */