zuozhengqing
2023-09-21 14184ede557eb7860f5bd2a1759f6b027dd060e3
add轮播图,样式修改
9个文件已添加
4个文件已修改
526 ■■■■ 已修改文件
package-lock.json 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/image/home/bannerImg/banner1.png 补丁 | 查看 | 原始文档 | blame | 历史
public/image/home/bannerImg/banner2.png 补丁 | 查看 | 原始文档 | blame | 历史
public/image/home/bannerImg/banner3.png 补丁 | 查看 | 原始文档 | blame | 历史
public/image/home/projectImg/projectImg1.png 补丁 | 查看 | 原始文档 | blame | 历史
public/image/home/projectImg/projectImg2.png 补丁 | 查看 | 原始文档 | blame | 历史
public/image/home/projectImg/projectImg3.png 补丁 | 查看 | 原始文档 | blame | 历史
public/image/home/projectImg/projectImg4.png 补丁 | 查看 | 原始文档 | blame | 历史
src/components/carouselImg/carouselImg.vue 144 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/goodsCard/goodsCard.vue 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/home/HomePage.vue 328 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
package-lock.json
@@ -9,7 +9,7 @@
      "version": "0.1.0",
      "dependencies": {
        "core-js": "^3.8.3",
        "element-ui": "^2.15.13",
        "element-ui": "^2.15.14",
        "vue": "^2.6.14"
      },
      "devDependencies": {
@@ -4916,9 +4916,9 @@
      "dev": true
    },
    "node_modules/element-ui": {
      "version": "2.15.13",
      "resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.13.tgz",
      "integrity": "sha512-LJoatEYX6WV74FqXBss8Xfho9fh9rjDSzrDrTyREdGb1h1R3uRvmLh5jqp2JU137aj4/BgqA3K06RQpQBX33Bg==",
      "version": "2.15.14",
      "resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.15.14.tgz",
      "integrity": "sha512-2v9fHL0ZGINotOlRIAJD5YuVB8V7WKxrE9Qy7dXhRipa035+kF7WuU/z+tEmLVPBcJ0zt8mOu1DKpWcVzBK8IA==",
      "dependencies": {
        "async-validator": "~1.8.1",
        "babel-helper-vue-jsx-merge-props": "^2.0.0",
package.json
@@ -9,7 +9,7 @@
  },
  "dependencies": {
    "core-js": "^3.8.3",
    "element-ui": "^2.15.13",
    "element-ui": "^2.15.14",
    "vue": "^2.6.14"
  },
  "devDependencies": {
public/image/home/bannerImg/banner1.png
public/image/home/bannerImg/banner2.png
public/image/home/bannerImg/banner3.png
public/image/home/projectImg/projectImg1.png
public/image/home/projectImg/projectImg2.png
public/image/home/projectImg/projectImg3.png
public/image/home/projectImg/projectImg4.png
src/components/carouselImg/carouselImg.vue
New file
@@ -0,0 +1,144 @@
<!-- 轮播 -->
<template>
  <div>
    <div class="banner">
      <div class="block" style="width: 100%">
        <el-carousel trigger="click" height="650px">
          <el-carousel-item v-for="(item, index) in bannerImgs" :key="index">
            <div
              class="banner_img"
              :style="item.style"
              style="width: 100%; height: 650px"
            >
              <div class="banner_center">
                <h2>{{ item.title1 }}</h2>
                <h3 :style="{ color: item.style.color }">
                  {{ item.title2 }}
                </h3>
                <div class="button">
                  <span class="go">立即购买</span>
                  <span>> ></span>
                  <!-- <span class="cry">申请使用</span> -->
                </div>
              </div>
            </div>
          </el-carousel-item>
        </el-carousel>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: {},
  data() {
    return {
      bannerImgs: [
        {
          style: {
            backgroundImage:
              "url(" +
              require("../../../public/image/home/bannerImg/banner1.png") +
              ")",
            backgroundRepeat: "no-repeat",
            color: "#000000",
          },
          title1: "SmartAI智慧工厂系统",
          title2:
            "实现生产流程的自动优化,赋能企业快速实现智能化改造,数字赋能企业生产自动化只能化改造升级,抢抓新旧动能转换重大工程机遇,加快生产制造的自动化、智能化建设",
          info: "立即抢购",
        },
        {
          style: {
            backgroundImage:
              "url(" +
              require("../../../public/image/home/bannerImg/banner2.png") +
              ")",
            backgroundRepeat: "no-repeat",
            color: "#ffffff",
          },
          title1: "WMS智能仓储管理系统",
          title2: "满足不同行业不同经营模式的智能仓储管理系统",
          info: "立即抢购",
        },
        {
          style: {
            backgroundImage:
              "url(" +
              require("../../../public/image/home/bannerImg/banner3.png") +
              ")",
            backgroundRepeat: "no-repeat",
            color: "#000000",
          },
          title1: "一站式全行业数智型CRM",
          title2: "赋能各行业实现一体化数字化转型",
          info: "立即体验",
        },
      ],
    };
  },
  computed: {},
  created() {},
  mounted() {},
  watch: {},
  methods: {},
  components: {},
};
</script>
<style scoped lang="scss">
::v-deep .el-carousel__button {
  background: #ccc;
  height: 5px;
}
::v-deep .is-active .el-carousel__button{
  background: #ff680d;
}
::v-deep .el-carousel{
  position: relative;
}
::v-deep .el-carousel__indicators {
  position: absolute;
  left: 13%;
  top: 500px;
  margin-left: 50px;
}
.banner {
  position: relative;
  width: 100%;
  height: 650px;
  .block {
    width: 100%;
    .banner_img {
      width: 100%;
      height: 650px;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      .banner_center {
        width: 600px;
        padding-top: 200px;
        padding-left: 13%;
        h2 {
          font-size: 40px;
          font-weight: normal;
          margin: 0;
        }
        h3 {
          width: 630px;
          font-size: 14px;
          line-height: 23px;
          color: rgba(0, 0, 0, 0.9);
          font-weight: 500;
          overflow: hidden;
        }
        .button {
          color: #ff680d;
          cursor: pointer;
        }
      }
    }
  }
}
</style>
src/components/goodsCard/goodsCard.vue
New file
@@ -0,0 +1,40 @@
<template>
  <div>
    goods card--
  </div>
</template>
<script>
export default {
  props: {
  },
  data() {
    return {
    };
  },
  computed: {
  },
  created() {
  },
  mounted() {
  },
  watch: {
  },
  methods: {
  },
  components: {
  },
};
</script>
<style scoped lang="scss">
</style>
src/components/home/HomePage.vue
@@ -1,5 +1,5 @@
/<template>
  <div>
  <div id="app">
    <div class="header">
      <div class="center">
        <div class="topleft">
@@ -17,7 +17,10 @@
        </div>
      </div>
    </div>
    <div class="banner">
    <div>
      <CarouselImg></CarouselImg>
    </div>
    <!-- <div class="banner">
      <div class="center">
        <h2>SmartAI智慧工厂系统</h2>
        <h3>
@@ -33,7 +36,7 @@
          <li></li>
        </ul>
      </div>
    </div>
    </div> -->
    <div class="third">
      <div class="center">
        <div>
@@ -68,8 +71,20 @@
        <h2>划线价格为产品历史销售标价而非原价</h2>
        <div class="bottom">
          <div class="change">
            <div class="left"><img src="../../../public/image/home/编组 13备份@3x.png" alt="" style="width: 40px;height: 40px;"></div>
            <div class="right"><img src="../../../public/image/home/编组 13@3x.png" alt="" style="width: 40px;height: 40px;"></div>
            <div class="left">
              <img
                src="../../../public/image/home/编组 13备份@3x.png"
                alt=""
                style="width: 40px; height: 40px"
              />
            </div>
            <div class="right">
              <img
                src="../../../public/image/home/编组 13@3x.png"
                alt=""
                style="width: 40px; height: 40px"
              />
            </div>
          </div>
          <div class="chil">
            <h1>设备故障检测</h1>
@@ -175,7 +190,7 @@
            <h1>SmartAI</h1>
            <h1>智慧工厂系统</h1>
            <h2>一键购买,实现企业智能化改造</h2>
            <img src="../../../public/image/home/箭头.png" alt=""/>
            <img src="../../../public/image/home/箭头.png" alt="" />
          </div>
          <div class="right">
            <h1>智慧工厂系统V1.0</h1>
@@ -184,16 +199,143 @@
            </h2>
            <div class="button">
              <div class="go">立即购买</div>
              <div class="in">立即咨询</div>
              <!-- <div class="in">立即咨询</div> -->
            </div>
            <ul>
              <div>产品优势</div>
              <li>过程监控</li>
              <li>数据可视化</li>
              <li>历史溯源</li>
              <li>预测性分析</li>
              <li>优化提升</li>
            </ul>
            <div class="project">
              <ul>
                <div>产品特点</div>
                <div style="display: flex; flex-wrap: wrap; width: 300px">
                  <li>过程监控</li>
                  <li>数据可视化</li>
                  <li>历史溯源</li>
                  <li>预测性分析</li>
                  <li>优化提升</li>
                </div>
              </ul>
              <div class="project_img">
                <img
                  src="../../../public/image/home/projectImg/projectImg1.png"
                  alt=""
                />
                <img
                  src="../../../public/image/home/projectImg/projectImg2.png"
                  alt=""
                />
              </div>
            </div>
          </div>
        </div>
          <GoodsCard></GoodsCard>
        <div class="pic">
          <div class="left">
            <!-- <h1>SmartAI</h1> -->
            <h1>CRM客户管理系统</h1>
            <h2>赋能各行业实现一体化数字化转型</h2>
            <img src="../../../public/image/home/箭头.png" alt="" />
          </div>
          <div class="right">
            <h1>CRM客户管理系统V1.0</h1>
            <h2>
              系统以数字内容为基础,以数据驱动为核心,通过实现全场景和数据互通,为线上经营管理、客户服务需求提供一站式技术服务。助力企业完成数字化管理升级,规范化管理流程。根据系统对客户信息的整理统筹与分配,从而提高销售效率减少人力上的消耗,防止员工离职导致客户流失,促进团队合作,达到企业降本增效的目的。
            </h2>
            <div class="button">
              <!-- <div class="go">立即购买</div> -->
              <!-- <div class="in">立即咨询</div> -->
            </div>
            <div class="project">
              <ul>
                <div>产品特点</div>
                <div style="display: flex; flex-wrap: wrap; width: 600px">
                  <li>市场营销自动化</li>
                  <li>销售过程自动化</li>
                  <li>客户服务自动化</li>
                </div>
              </ul>
            </div>
          </div>
        </div>
        <div class="pic">
          <div class="left">
            <!-- <h1>SmartAI</h1> -->
            <h1>WMS智能仓储管理系统</h1>
            <h2>满足不同行业不同经营模式的智能仓储管理系统</h2>
            <img src="../../../public/image/home/箭头.png" alt="" />
          </div>
          <div class="right">
            <h1>WMS系统V1.0</h1>
            <h2>
              通过wms仓库管理系统,可以有效处理现代物流信息,在很大程度上为管理层决策提供了有效支持,其功能特点应涵盖支持多仓库、多货主,多业务模式,可配置的灵活策略和流程增值服务,系统以产品信息和订单业务作为数据流动的基础,并且要对仓库进行智能分析与监控、简洁、直管、可视化,并跳出传统仓库流程框架,持续发力落实数字化转型,是企业对仓库智能化变革的核心重点。
            </h2>
            <div class="button">
              <!-- <div class="go">立即购买</div> -->
              <!-- <div class="in">立即咨询</div> -->
            </div>
            <div class="project">
              <ul>
                <div>产品特点</div>
                <div style="display: flex; flex-wrap: wrap; width: 400px">
                  <li>多层次管理</li>
                  <li>业务防呆机制</li>
                  <li>货品细化管理</li>
                  <li>出入库环节控制 </li>
                  <li>分批管理调度业务</li>
                </div>
              </ul>
            </div>
          </div>
        </div>
        <div class="pic">
          <div class="left">
            <!-- <h1>SmartAI</h1> -->
            <h1>VisionLink(智能终端)</h1>
            <h2>智能终端通过AI视频检测采集数据及PLC采集生产数据。智能终端采集的实时生产数据传递给算法,算法结合数据不断调整优化生产任务及分配策略。</h2>
            <img src="../../../public/image/home/箭头.png" alt="" />
          </div>
          <div class="right" style="padding: 0; border: none;" >
            <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
            <el-tab-pane label="智慧终端系列1" name="first" class="pane_box">
              <div class="pane_left">
                <p>VisionLink智能终端</p>
                <p class="tinge" style="color: #999;">通过在每个工序的设备或机台合适位置,安装触摸智能终端设备,用于将排产任务下发至每一个智能终端屏幕。</p>
                <br>
                <el-button>立即咨询</el-button>
                <el-button>立即购买</el-button>
                <div></div>
                <h4>特点</h4>
                <p class="tinge">建⽴设备台账、资产档案,掌握设备整个周期的动态信息</p>
                <p class="tinge">收集设备使⽤过程中的各种信息数据,⾃动汇总运算,生成各类专业的设备管理报表</p>
                <h4>配置</h4>
                <p class="tinge">英特尔 志强 Silver 4114 10核处理器 x 2</p>
                <p class="tinge">64GB 内存 (16GB x 4) + 480GB SSD 存储 + 8TB HDD 存储</p>
                <p class="tinge">千兆 LAN x 4</p>
              </div>
              <div class="pane_right">
                <img src="../../../public/image/home/projectImg/projectImg3.png"  alt="">
              </div>
            </el-tab-pane>
            <el-tab-pane label="智慧终端系列1" name="second" class="pane_box">
              <div class="pane_left">
                <p>LE-V-S003 高性能边缘计算主机</p>
                <p class="tinge" style="color: #999;">专为高性能视频应用打造,强悍的双志强处理器,轻松应对高算力应用场景的需求。</p>
                <br>
                <el-button>立即咨询</el-button>
                <el-button>立即购买</el-button>
                <div></div>
                <h4>特点</h4>
                <p class="tinge"> 搭载两颗高性能志强处理器,可提供高达64T的凶猛算力</p>
                <p class="tinge">Server系列,具备单台与集群服务</p>
                <p class="tinge">支持算力虚拟化管控,高稳定性单机热备</p>
                <h4>配置</h4>
                <p class="tinge">英特尔 志强 Silver 4114 10核处理器 x 2</p>
                <p class="tinge">64GB 内存 (16GB x 4) + 480GB SSD 存储 + 8TB HDD 存储</p>
                <p class="tinge">千兆 LAN x 4</p>
              </div>
              <div class="pane_right">
                <img src="../../../public/image/home/projectImg/projectImg4.png"  alt="">
              </div>
            </el-tab-pane>
          </el-tabs>
          </div>
        </div>
        <div class="pic">
@@ -201,9 +343,9 @@
            <h1>SmartAI</h1>
            <h1>智慧工厂系统</h1>
            <h2>一键购买,实现企业智能化改造</h2>
            <img src="../../../public/image/home/箭头.png" alt=""/>
            <img src="../../../public/image/home/箭头.png" alt="" />
          </div>
          <div class="right boot" >
          <div class="right boot">
            <div class="top">
              <div>智慧终端系列1</div>
              <div>智慧终端系列1</div>
@@ -230,7 +372,7 @@
        </div>
      </div>
    </div>
    <div class="sis">
    <!-- <div class="sis">
      <div class="center">
        <h1>AI爆款</h1>
        <h2>精心挑选的热门算法及应用,总有一款适合你</h2>
@@ -465,11 +607,32 @@
        </ul>
        <span> © 2009-2019 smartai.com 版权所有 ICP证:45456566</span>
      </div>
    </div>
    </div> -->
  </div>
</template>
<script>
import GoodsCard from "../goodsCard/goodsCard.vue"
import CarouselImg from "../carouselImg/carouselImg.vue";
export default {
  name: "HomePage",
  components: {
    CarouselImg,
    GoodsCard,
  },
  props: {},
  data() {
    return {
      activeName: 'first'
    };
  },
  computed: {},
  created() {},
  mounted() {},
  watch: {},
  methods: {},
};
</script>
<style  lang="scss" scoped>
@@ -482,6 +645,9 @@
  width: 75%;
  height: 50px;
  margin: auto;
}
::v-deep .el-tabs__item{
  width: 200px;
}
.header {
@@ -798,13 +964,12 @@
        position: absolute;
        top: 21px;
        right: 0;
        > div{
        > div {
          width: 40px;
          height: 40px;
          cursor: pointer;
        }
        :first-child {
          margin-right: 18px;
        }
      }
@@ -830,7 +995,7 @@
    }
    .pic {
      width: 100%;
      height: 600px;
      height: 400px;
      margin-bottom: 68px;
      display: flex;
      .left {
@@ -871,7 +1036,7 @@
        position: relative;
        left: 0;
        top: 0;
        background-image: url(../../../public/image/home/编组\ 10@3x.png);
        // background-image: url(../../../public/image/home/编组\ 10@3x.png);
        background-size: 620px 340px;
        background-repeat: no-repeat;
        background-position-x: right;
@@ -911,7 +1076,7 @@
          font-size: 14px;
          line-height: 20px;
          width: 93%;
          color: rgba(0, 0, 0, 0.9);
          color: #999;
          font-weight: 500;
          margin-bottom: 24px;
        }
@@ -934,37 +1099,100 @@
            margin-left: 16px;
          }
        }
        ul {
          padding: 0;
          position: absolute;
          left: 59px;
          bottom: 48px;
          div {
            font-size: 20px;
            line-height: 28px;
            color: #ff680d;
            margin-bottom: 16px;
        .project {
          width: 100%;
          display: flex;
          justify-content: right;
          align-items: center;
          ul {
            position: absolute;
            left: 59px;
            bottom: 48px;
            display: flex;
            flex-wrap: wrap;
            margin-bottom: -20px;
            div {
              font-size: 20px;
              line-height: 28px;
              color: #999999;
              margin-bottom: 16px;
              width: 100%;
            }
            li {
              color: #999999 !important;
              font-size: 15px;
              line-height: 21px;
              color: rgba(0, 0, 0, 0.9);
              margin-bottom: 19px;
              padding-left: 29px;
              padding-right: 5px;
              list-style: none;
              background-image: url(../../../public/image/home/对勾.png);
              background-size: 22px 22px;
              background-repeat: no-repeat;
              background-position-x: left;
              background-position-y: top;
              // list-style-image: url(../../../public/image/home/对勾.png);
            }
            li:hover {
              color: #000 !important;
              cursor: pointer;
            }
          }
          li {
            font-size: 15px;
            line-height: 21px;
            color: rgba(0, 0, 0, 0.9);
            margin-bottom: 19px;
            padding-left: 29px;
            list-style: none;
            background-image: url(../../../public/image/home/对勾.png);
            background-size: 22px 22px;
            background-repeat: no-repeat;
            background-position-x:left ;
            background-position-y:top ;
            // list-style-image: url(../../../public/image/home/对勾.png);
          .project_img {
            display: flex;
            align-items: center;
            justify-content: center;
            img {
              width: 300px;
              height: 180px;
              padding-right: 70px;
              cursor: pointer;
            }
          }
        }
      }
      .boot{
      .pane_box{
        display: flex;
        align-items: center;
        justify-content: center;
        .pane_left{
          width: 50%;
          box-sizing: border-box;
          padding: 20px;
          font-size: 14px;
          div{
            border-bottom: 0.5px solid #ccc;
            padding: 10px 0;
          }
          .el-button{
            border-radius: 0px;
            width: 120px;
            height: 44px;
            background: #FF680D;
            color: #fff;
            font-size: 16px;
          }
          .tinge{
            color:#999
          }
          h4{
            color: #333;
          }
        }
        .pane_right{
          width: 50%;
          text-align: center;
          img{
            width: 350px;
            height: 200px;
          }
        }
      }
      .boot {
        background-image: url(../../../public/image/home/位图@3x\(4\).png);
        background-color: #F9F9F8;
        background-color: #f9f9f8;
        background-size: 354px 497px;
      }
    }
src/main.js
@@ -1,8 +1,10 @@
import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.use(ElementUI);
window.document.title = "首页";
new Vue({