<template>
  <div class="function-page">
    <div class="header-banner">
      <div class="image">
        <img
          src="../../assets/images/banner.jpg"
          style="width: 100%; height: 100%; object-fit: cover" />
      </div>
      <div class="text">
        <h2>核心功能</h2>
        <p>
          九猫ERP处理订单更加智捷、高效；供货承诺数据详实，生产进度一目了然；在线设计器一键合成，文创产品轻松出单。
        </p>
      </div>
    </div>
    <div class="content-body">
      <div class="tab-content">
        <div class="t-row">
          <div class="t-row-1">
            <div class="card-inner">
              <h3 style="text-align: center; font-size: 32px; font-weight: 100">
                订单管理
              </h3>
              <h4 style="text-align: center">获取面单、智能打单发货</h4>
              <div
                class="card-inner-content"
                :style="$isMobile ? 'flex-direction: column-reverse' : ''">
                <div class="left">
                  <div class="content-text">
                    <h4>自定义规则匹配物流商</h4>
                    <div class="text-des" style="margin-left: 0">
                      <p>订单批量审核，异常状态标识归纳，超时自动拆单发货</p>
                      <p>
                        支持自定义规则进行物流商自动匹配，智能物流推荐，科学预估包裹运费，提前把控物流成本，降低亏损风险，并实时追踪全球物流轨迹
                      </p>
                      <p>一键获取面单、智能打单发货、回传跟踪号到平台</p>
                      <p>
                        订单管理与包裹管理相结合，既方便运营把控订单发货情况，也便于仓库人员高效打包发货
                      </p>
                    </div>
                  </div>
                </div>
                <div class="right content-text-wrap">
                  <img src="../../assets/images/function/R-B.png" />
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- <div class="t-row">
          <div class="t-row-1">
            <div class="card-inner">
              <h3 style="text-align: center; font-size: 32px; font-weight: 100">
                POD订单
              </h3>
              <h4 style="text-align: center">
                pod产品开发，一键合成，一键上架
              </h4>
              <div class="card-inner-content">
                <div class="left">
                  <img src="../../assets/images/function/01.png" />
                </div>
                <div class="right content-text-wrap">
                  <div class="content-text">
                    <h4 :style="$isMobile ? 'text-align:left' : 'text-align: center'">图文定制</h4>
                    <div class="text-des">
                      <p :style="$isMobile ? 'text-align:left;font-size:14px' : 'text-align: center'">
                        支持客户图文定制，自动抓取客户设计的成品图和设计图
                      </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="t-row-2">
            <div class="card-inner">
              <div class="card-inner-content" :style="$isMobile ? 'flex-direction: column-reverse;align-items: flex-start;' : ''">
                <div class="left content-text-wrap">
                  <div class="content-text">
                    <h4>订单流程</h4>
                    <div class="text-des text-des-2">
                      <p>订单流程受pod生产控制，互相对应</p>
                    </div>
                  </div>
                </div>
                <div class="right">
                  <img src="../../assets/images/function/02.png" />
                </div>
              </div>
            </div>
          </div>
          <div class="t-row-3">
            <div class="card-inner">
              <div class="card-inner-content">
                <div class="left">
                  <img src="../../assets/images/function/03.png" />
                </div>
                <div class="right content-text-wrap">
                  <div class="content-text">
                    <h4 :style="$isMobile ? 'text-align:left' : 'text-align: center'">方便快捷出单、装箱</h4>
                    <div class="text-des">
                      <p :style="$isMobile ? 'text-align:left;font-size:14px' : 'text-align: center'">
                        生产完成扫码，单件直接出面单，多件放入周转箱等待配齐
                      </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="t-row">
          <div class="t-row-1">
            <div class="card-inner">
              <h3 style="text-align: center; font-size: 32px; font-weight: 100">
                POD 生产管理
              </h3>
              <h4 style="text-align: center">实时统计订单产品数据</h4>
              <div class="card-inner-content">
                <div class="left">
                  <img src="../../assets/images/function/04.png" />
                </div>
                <div class="right content-text-wrap">
                  <div class="content-text">
                    <h4 :style="$isMobile ? 'text-align:left' : 'text-align: center'">一键创建生产单</h4>
                    <div class="text-des text-des-2" style="margin-left: 0">
                      <p style="text-align: center">
                        操作简单明了，一健创建生产单
                      </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="t-row-2">
            <div class="card-inner">
              <div class="card-inner-content" :style="$isMobile ? 'flex-direction: column-reverse' : ''">
                <div class="left content-text-wrap">
                  <div class="content-text">
                    <h4>批量发货一步到位</h4>
                    <div class="text-des" style="margin-left: 0">
                      <p>分配供应商，打印生产单，拣胚贴码</p>
                      <p>工厂下载生产图进行压烫</p>
                      <p>扫码验货进行生产完成，批量发货</p>
                    </div>
                  </div>
                </div>
                <div class="right">
                  <img class="t1" src="../../assets/images/function/05.png" />
                </div>
              </div>
            </div>
          </div>
        </div> -->
        <div class="t-row">
          <div class="t-row-1">
            <div class="card-inner">
              <h3 style="text-align: center; font-size: 32px; font-weight: 100">
                智能采购系统
              </h3>
              <h4 style="text-align: center">实现供采双方信息互通</h4>
              <div class="card-inner-content">
                <div class="left">
                  <img src="../../assets/images/function/R-C.png" />
                </div>
                <div class="right content-text-wrap">
                  <div class="content-text">
                    <h4
                      :style="
                        $isMobile ? 'text-align:left' : 'text-align: center'
                      ">
                      根据库存和销量，自动下单给供应商
                    </h4>
                    <div class="text-des">
                      <p>
                        采购数据信息自动流转给供应商，减少下单环节和沟通成本，提高采购效率
                      </p>
                      <p>开放供应商打印商品标签</p>
                      <p>
                        让供应商在系统里一键打印客户SKU标签，大大减少企业的入库工作量
                      </p>
                      <p>库存周转周期可调节，资金周转灵活</p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="t-row">
          <div class="t-row-1">
            <div class="card-inner">
              <h3 style="text-align: center; font-size: 32px; font-weight: 100">
                精准可视化决策系统
              </h3>
              <h4 style="text-align: center">
                实时统计报表数据，洞察业务数据变化
              </h4>
              <div
                class="card-inner-content"
                :style="$isMobile ? 'flex-direction: column-reverse' : ''">
                <div class="left">
                  <div class="content-text">
                    <h4>精准高效决策</h4>
                    <div class="text-des" style="margin-left: 0">
                      <p>订单处理、店铺发货报表数据分析，业务情况了如指掌</p>
                      <p>产品销售报表数据分析，让公司管理有数据可循</p>
                      <p>利润统计、开发业绩统计报表分析，更懂您的利润</p>
                      <p>
                        物流费用和物流状态报表数据分析，为降低产品成本提供依据
                      </p>
                    </div>
                  </div>
                </div>
                <div class="right content-text-wrap">
                  <img src="../../assets/images/function/R-A.png" />
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'functionPage',
}
</script>
<style scoped lang="scss">
.header-banner {
  position: relative;
}

.text {
  position: absolute;
  top: 30%;
  left: 5%;
}

.text h2 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 20px;
}

.text p {
  color: #fff;
  font-size: 24px;
}
.image {
  height: 33.33vw;
}

.content-body {
}

.text {
  position: absolute;
  top: 30%;
  left: 5%;
}

.text h2 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 20px;
}

.text p {
  color: #fff;
  font-size: 24px;
}
.image {
  height: 33.333vw;
}

.feature-list {
  display: flex;
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
  width: 1150px;
  background-color: #fff;
  border-radius: 6px;
  transition: all 0.3s;
}

.feature-item {
  flex: 1;
  text-align: center;
  padding: 20px;
  cursor: pointer;
}

.active {
  background-color: #0089ff;
  color: #fff;
}

.function-body {
}

.t-row-1 {
  padding-top: 70px;
  padding-bottom: 80px;
}

.t-row-2,
.t-row-4 {
  padding: 75px 0;
  background-color: #f7f8fa;
}

.t-row-3,
.t-row-5 {
  padding: 75px 0;
}

.t-row-2 .a-img {
  position: relative;
}

.t-row-2 .t1 {
  width: 100%;
}

.t-row-2 .t2 {
  position: absolute;
  width: 150px;
  left: 33px;
  top: 130px;
}

.t-row-2 .t3 {
  position: absolute;
  width: 160px;
  left: 290px;
  top: 80px;
}

.card-inner {
  margin: 0 auto;
  width: 1150px;
}

.card-inner h4 {
  color: #777;
  font-weight: 100;
  margin-top: 10px;
  margin-bottom: 80px;
}

.card-inner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.card-inner-content .content-text h4 {
  margin-bottom: 16px;
  line-height: 48px;
  font-weight: 500;
  font-size: 32px;
  position: relative;
}

.card-inner-content .content-text h4::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translate(-20px, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 84, 254, 0.1);
  background-color: #0089ff;
}

.left {
  flex: 1;
}

.left img {
  width: 100%;
}

.right img {
  width: 100%;
}

.right {
  flex: 1;
}

.feature-scrolling {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: unset;
  width: 100%;
  transform: translateX(0);
  border-radius: 0;
  box-shadow: none;
  z-index: 2;
}

.text-des {
  margin-left: 34px;
}

.text-des p {
  margin-bottom: 20px;
  color: #4e5969;
}

.text-des-2 {
  margin-left: 0;
}

@media screen and (max-width: 1100px) {
  .card-inner {
    width: 100%;
    padding: 0 20px;
  }

  .card-inner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .text {
    top: 20px;
    left: 20px;
    right: 20px;

    h2 {
      font-size: 20px;
    }
    p {
      font-size: 12px;
    }
  }

  .t-row-1 {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .card-inner h3 {
    font-size: 24px !important;
  }

  .card-inner h4 {
    margin-bottom: 20px;
  }

  .card-inner-content .content-text h4 {
    font-size: 22px;
    line-height: 30px;
  }

  .t-row-2,
  .t-row-4,
  .t-row-3 {
    padding: 30px 0;
  }

  .content-text {
    margin-top: 40px;
  }

  .text-des {
    margin-left: 0;
  }

  .text-des p {
    margin-bottom: 0;
    font-size: 14px;
  }

  .card-inner-content .content-text h4::before {
    content: "";
    position: unset;
    top: unset;
    transform: unset;
    width: unset;
    height: unset;
    border-radius: unset;
    box-shadow: unset;
    background-color: #0089ff;
}
}
</style>
