zuozhengqing
2023-09-25 f3d9e9f22e115c399af7adf9759f5846c8c33bd5
src/components/goodsCard/goodsCard.vue
@@ -11,7 +11,10 @@
            alt=""
          />
        </div>
        <div v-show="item.goodsRightShow === 1" class="goods_card_right">
        <div
          v-show="item.goodsRightShow === 1"
          class="goods_card_right card_height"
        >
          <h1>{{ item.goodsVersions }}</h1>
          <h2>
            {{ item.introduce }}
@@ -23,7 +26,7 @@
          <div class="project">
            <ul>
              <div>产品特点</div>
              <div style="display: flex; flex-wrap: wrap; width: 600px">
              <div >
                <li v-for="(item1, index1) in item.trait" :key="index1">
                  {{ item1 }}
                </li>
@@ -31,12 +34,11 @@
            </ul>
          </div>
        </div>
        <div v-show="item.goodsRightShow === 2" class="goods_card_tab">
        <!-- <div v-show="item.goodsRightShow === 2" class="goods_card_tab">
          <div class="pane_top">
            <el-button @click="tab1">智慧终端系列1</el-button>
            <el-button @click="tab2">智慧终端系列2</el-button>
          </div>
          <!-- 走马灯 -->
          <el-carousel trigger="click" arrow="never" ref="carousel">
            <el-carousel-item
              v-for="(pageItem, pageIndex) in item.series"
@@ -84,15 +86,107 @@
              </div>
            </el-carousel-item>
          </el-carousel>
        </div> -->
        <div
          v-show="item.goodsRightShow === 2"
          class="goods_card_tab card_height"
        >
          <div class="right boot">
            <div class="top">
              <div>智慧终端系列1</div>
              <div>智慧终端系列1</div>
            </div>
            <h2>
              通过在每一个工序的设备或机台合适位置,安装触摸智能终端设备,用于将排产任务下发至每一个智能终端屏幕
            </h2>
            <div class="button">
              <div class="go">立即购买</div>
              <div class="in">立即咨询</div>
            </div>
            <div class="project">
            <ul >
              <div style="color: #FA640A;">产品优势</div>
              <li>建立设备台账、资产档案,掌握设备整个周期的动态信息</li>
              <li>
                收集设备使用过程中的各种信息数据,自动汇总运算,生成各类专业的设备管理报表
              </li>
              <div style="margin-top: 37px;color: #FA640A;">配置</div>
              <li>英特尔 志强 Silver 4114 10核处理器 x 2</li>
              <li>64GB 内存 (16GB x 4) + 480GB SSD 存储 + 8TB HDD 存储</li>
              <li>千兆 LAN x 4</li>
            </ul>
          </div>
          </div>
        </div>
        <!-- <div v-show="item.goodsRightShow === 2" class="goods_card_tab">
          <div class="pane_top">
            <el-button @click="tab1">智慧终端系列1</el-button>
            <el-button @click="tab2">智慧终端系列2</el-button>
          </div>
          <el-carousel trigger="click" arrow="never" ref="carousel">
            <el-carousel-item
              v-for="(pageItem, pageIndex) in item.series"
              :key="pageIndex"
            >
              <div class="pane_box_wrap">
                <div class="pane_left">
                  <p>{{ pageItem.goodsVersions }}</p>
                  <p class="tinge" style="color: #999">
                    {{ pageItem.introduce }}
                  </p>
                  <br />
                  <el-button>立即咨询</el-button>
                  <el-button>立即购买</el-button>
                  <div></div>
                  <h4>特点</h4>
                  <ul>
                    <div style="display: flex; flex-wrap: wrap">
                      <li
                        v-for="(item2, index2) in pageItem.trait"
                        :key="index2"
                      >
                        {{ item2 }}
                      </li>
                    </div>
                  </ul>
                  <h4>配置</h4>
                  <ul>
                    <li
                      v-for="(item3, index3) in pageItem.Configure"
                      :key="index3"
                    >
                      {{ item3 }}
                    </li>
                  </ul>
                </div>
                <div class="pane_right">
                  <img
                    :src="
                      require(`../../../public/image/home/projectImg/${pageItem.imgSrc}`)
                    "
                    alt=""
                  />
                </div>
              </div>
            </el-carousel-item>
          </el-carousel>
        </div> -->
        <div
          v-show="item.goodsRightShow === 3"
          class="goods_card_right goods_ai"
        >
          <GoodsInfo :goodsAiInfo="goodsAiInfo"></GoodsInfo>
          <!-- <GoodsInfo :goodsAiInfo="goodsAiInfo"></GoodsInfo> -->
        </div>
        <!-- 管理中心 -->
        <div
        <!-- <div
          v-show="item.goodsRightShow === 4"
          class="goods_card_right management"
        >
@@ -134,7 +228,7 @@
              <el-button>立即购买</el-button>
            </div>
          </el-card>
        </div>
        </div> -->
      </div>
    </template>
  </div>
@@ -150,8 +244,8 @@
      activeName: "first",
      goodsRightShow: false, //是否展示右侧信息栏,false:tab页不显示
      isBtnClass: false,
      goodsAiInfo: this.cardData[3].cards, //子组件卡片数据
      manageInfo: this.cardData[4].cards,
      // goodsAiInfo: this.cardData[3].cards, //子组件卡片数据
      // manageInfo: this.cardData[4].cards,
    };
  },
  computed: {},
@@ -285,17 +379,23 @@
  padding: 0;
  height: 400px;
}
::v-deep .goods_card_left:last-of-type() {
  height: 800px !important;
  min-height: 800px;
  max-height: 900px;
}
.goods_card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  // height: 400px;
  height: 600px;
  margin-bottom: 70px;
  cursor: pointer;
  .goods_card_left {
    width: 20%;
    min-height: 400px;
    min-height: 600px;
    max-height: 700px;
    height: 100%;
    box-sizing: border-box;
@@ -310,6 +410,7 @@
      text-align: left;
    }
    p {
      margin-top: 50px;
      font-size: 14px;
      color: #fff;
    }
@@ -518,7 +619,7 @@
        bottom: 0;
        left: 0;
        // display: none;
        transition: height 0.3s ease-in-out;
        transition: height 0.3s ease-in-out;
        .el-button {
          display: block;
          width: 100%;
@@ -534,7 +635,7 @@
      .box_card_bottom {
        height: 100px;
        display: none;
        .el-button{
        .el-button {
          height: 100%;
        }
      }
@@ -573,6 +674,22 @@
    }
  }
}
.goods_card:nth-of-type(1){
  .goods_card_right{
    background-image: url(../../../public/image/home/crm.png);
    background-size: 576px 327px;
    background-repeat: no-repeat;
    background-position: 90% 60%;
  }
}
.goods_card:nth-of-type(2){
  .goods_card_right {
    background-image: url(../../../public/image/home/wms.png);
    background-size: 576px 327px;
    background-repeat: no-repeat;
    background-position: 90% 60%;
  }
}
.goods_card:nth-of-type(4) .goods_card_left {
  height: 600px;
}
@@ -582,4 +699,149 @@
  box-sizing: border-box;
  padding: 0;
}
.right {
  flex: 1;
  box-sizing: border-box;
  padding-left: 59px;
  padding-top: 50px;
  border: 1px solid #e1e1e1;
  position: relative;
  left: 0;
  top: 0;
  // background-image: url(../../../public/image/home/编组\ 10@3x.png);
  background-size: 620px 340px;
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: bottom;
  .top {
    margin-top: -20px;
    width: 364px;
    height: 46px;
    margin-bottom: 14px;
    display: flex;
    div {
      width: 50%;
      height: 100%;
      background: #fff;
      font-size: 16px;
      line-height: 46px;
      font-weight: 600;
      box-sizing: border-box;
      text-align: center;
      cursor: pointer;
    }
    :first-child {
      border-top: 3px solid #ff680d;
    }
    :last-child {
      font-weight: 500;
    }
  }
  h1 {
    font-size: 20px;
    line-height: 28x;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 12px;
  }
  h2 {
    font-size: 14px;
    line-height: 20px;
    width: 93%;
    color: #999;
    font-weight: 500;
    margin-bottom: 24px;
  }
  .button {
    display: flex;
    div {
      width: 120px;
      height: 44px;
      background: #ff680d;
      font-size: 16px;
      line-height: 44px;
      color: #fff;
      text-align: center;
      border: 2px solid #ff680d;
      cursor: pointer;
    }
    .in {
      background: #fff;
      color: #ff680d;
      margin-left: 16px;
    }
  }
  ul {
    list-style: none;
    width: 400px;
    li {
      list-style: none;
      word-wrap: break-word;
    }
  }
  .project {
    width: 300px !important;
    display: block;
    ul {
      padding: 0;
      // position: absolute;
      bottom: 48px;
      display: flex;
      flex-wrap: wrap;
      margin-bottom: -20px;
      margin-top: 20px;
      // width: 100%;
      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;
      }
    }
    .project_img {
      display: flex;
      align-items: center;
      justify-content: center;
      img {
        width: 300px;
        height: 180px;
        padding-right: 70px;
        cursor: pointer;
      }
    }
  }
}
.boot {
  background-image: url(../../../public/image/home/Group.png);
  background-color: #f9f9f8;
  background-size: 533.1px 324px;
  background-position: 90% 55%;
}
.card_height {
  height: 600px !important;
  .right {
    height: 600px;
  }
}
</style>