<template>
  <div>
    <!-- banner区域 start -->
    <div class="swiper-container banner" id="banner">
      <div class="swiper-wrapper">
        <div class="swiper-slide">
          <img src="/img/rollaction-banner.jpg" alt="" />
        </div>
      </div>
      <!-- <div class="swiper-pagination"></div> -->
    </div>
    <!-- banner区域 end -->

    <div class="main">
      <div class="container about">
        <div class="section-title">
          <img src="/img/rollaction-title-equipment.png" alt="品牌设备" />
          <h3>品牌设备</h3>
        </div>
        <div class="content clearfix">
          <div class="cover fl">
            <img src="/img/rollaction-about-cover.png" alt="" />
          </div>
          <div class="info fr">
            <div class="name">Rollaction</div>
            <div class="subname">创新理疗按摩系统</div>
            <div class="line"></div>
            <div class="description">
              <p>一款创新理疗活化身体按摩系统，以其精准的力量和能量控制，让身体护理达到卓越的效果，专业手法和创新科技的结合实现对人体的护理。</p>
              <p>以非侵入式方式启动人体代谢，干预人体血管、肌肉和皮肤系统，恢复人体内部协调性、平衡性。</p>
            </div>
          </div>
        </div>
      </div>

      <div class="container difference">
        <div class="section-title">
          <img src="/img/rollaction-title-differences.png" alt="技术区别" />
          <h3>技术区别</h3>
        </div>
        <div class="content">
          <div class="section">
            <div class="cover">
              <img src="/img/rollaction-difference-01.png" alt="其他设备技术：抽吸" />
            </div>
            <div class="info">
              <div class="title">其他设备技术：抽吸</div>
              <div class="description">传统仪器对皮肤表面进行夹、抽、吸等机械牵引动作进行按摩无法抵达组织深层，甚至造成萎缩</div>
            </div>
          </div>
          <div class="section">
            <div class="cover only-mobile">
              <img src="/img/rollaction-difference-02.png" alt="Rollaction技术：按压" />
            </div>
            <div class="info">
              <div class="title">Rollaction技术：按压</div>
              <div class="description">作用于所有深层组织且不产生任何牵引，而是通过对从皮肤到深层肌肉的所有组织进行可控的规律性按压</div>
            </div>
            <div class="cover only-pc">
              <img src="/img/rollaction-difference-02.png" alt="Rollaction技术：按压" />
            </div>
          </div>
        </div>
      </div>

      <div class="container effect">
        <div class="section-title">
          <img src="/img/rollaction-title-effect.png" alt="技术区别" />
          <h3>作用</h3>
        </div>
        <div class="content">
          <div class="section">
            <div class="info">
              <div class="title">紧致皮肤</div>
              <div class="description">Rollaction直接作用于深层脂肪，淡化橘皮纹</div>
            </div>
            <div class="cover">
              <img src="/img/rollaction-effect-01.png" alt="紧致皮肤" />
            </div>
          </div>
          <div class="section">
            <div class="info">
              <div class="title">塑形</div>
              <div class="description">探头的滚动旋转动作溶解积聚的脂肪，并加速其通过淋巴 管排出</div>
            </div>
            <div class="cover">
              <img src="/img/rollaction-effect-01.png" alt="塑形" />
            </div>
          </div>
          <div class="section">
            <div class="info">
              <div class="title">紧实</div>
              <div class="description">肌肉痉挛压迫到血管，阻止血液顺利到达组织。深层的理 疗活性按摩能够提供足够氧气和营养，滋养修复肌肉纤维</div>
            </div>
            <div class="cover">
              <img src="/img/rollaction-effect-01.png" alt="紧实" />
            </div>
          </div>
          <div class="section">
            <div class="info">
              <div class="title">血液系统</div>
              <div class="description">通过机械刺激，血管壁中的肌肉纤维被激活。血液供应的 增加促进了代谢，从而改善循环系统</div>
            </div>
            <div class="cover">
              <img src="/img/rollaction-effect-01.png" alt="血液系统" />
            </div>
          </div>
          <div class="section">
            <div class="info">
              <div class="title">护理效果</div>
              <div class="description">
                错误姿势、久坐不动的生活方式、肌肉损伤等都会导致肌肉痉挛，阻碍供氧途。Rollaction作用于整个肌肉区域，其旋转滚动和渐进施压，有助于恢复护理区域的血液循环和神经冲动
              </div>
            </div>
            <div class="cover">
              <img src="/img/rollaction-effect-01.png" alt="护理效果" />
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  head() {
    return {
      title: '首页-艾斯佰丽官网-产品系列-ROLLACTION',
    }
  },
  mounted() {
    var bannerSwiper = new Swiper('#banner', {
      loop: false, // 循环模式选项
      // 如果需要分页器
      pagination: {
        el: '.swiper-pagination',
      },
    })
  },
}
</script>

<style lang="scss" scoped>
@media screen and (min-width: 768px) {
  .main {
    .about {
      .cover {
        img {
          display: block;
          width: 470px;
          height: 480px;
        }
      }

      .info {
        width: 660px;
        padding-top: 65px;

        .name {
          font-size: 50px;
          color: #b62d1a;
          font-weight: bold;
        }
        .subname {
          font-size: 30px;
          margin-top: 15px;
        }
        .line {
          width: 36px;
          height: 7px;
          background: #b62d1a;
          margin: 20px 0 30px;
        }
        .description {
          text-align: justify;
          word-break: break-all;
          line-height: 36px;
          p {
            margin-top: 24px;
            font-size: 20px;
          }
        }
      }
    }

    .difference {
      .content {
        .section {
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-pack: justify;
          -ms-flex-pack: justify;
          justify-content: space-between;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          background-color: #eeeeee;
          padding: 20px;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          margin-top: 44px;

          &:first-child {
            margin-top: 0;
          }

          .cover {
            -ms-flex-negative: 0;
            flex-shrink: 0;
            img {
              display: -webkit-box;
              display: -ms-flexbox;
              display: flex;
              width: 450px;
            }
          }

          &:nth-child(2n-1) {
            .info {
              margin-left: 60px;
              margin-right: 30px;
            }
          }

          &:nth-child(2n) {
            .info {
              margin-right: 60px;
              margin-left: 30px;
            }
          }

          .info {
            -webkit-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
            -ms-flex-negative: 0;
            flex-shrink: 0;

            .title {
              color: #b62d1a;
              font-size: 37px;
              font-weight: bold;
            }
            .description {
              font-size: 27px;
              color: #434343;
              line-height: 38px;
              margin-top: 38px;
            }
          }
        }
      }
    }

    .effect {
      .content {
        .section {
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-pack: justify;
          -ms-flex-pack: justify;
          justify-content: space-between;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          margin-top: 24px;

          &:first-child {
            margin-top: 0;
          }

          .cover {
            -ms-flex-negative: 0;
            flex-shrink: 0;
            img {
              display: -webkit-box;
              display: -ms-flexbox;
              display: flex;
              width: 388px;
            }
          }

          .info {
            -webkit-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
            -ms-flex-negative: 0;
            flex-shrink: 0;
            margin: 0 60px;

            .title {
              color: #b62d1a;
              font-size: 34px;
              font-weight: bold;
            }
            .description {
              font-size: 27px;
              color: #434343;
              line-height: 40px;
              margin-top: 38px;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .main {
    .about {
      .content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        .cover {
          margin-top: 0.4rem;
          img {
            display: block;
            width: 5.46rem;
            height: 5.57rem;
          }
        }

        .info {
          width: 6.5rem;
          margin: 0 auto;
          .name {
            font-size: 0.34rem;
            color: #b62d1a;
            text-align: center;
            font-weight: bold;
          }
          .subname {
            font-size: 0.26rem;
            margin-top: 0.16rem;
            text-align: center;
          }
          .line {
            width: 0.4rem;
            height: 0.06rem;
            background: #b62d1a;
            margin: 0.32rem auto;
          }
          .description {
            text-align: justify;
            word-break: break-all;
            color: #333333;
            text-align: center;
            p {
              font-size: 0.26rem;
              line-height: 0.48rem;
            }
          }
        }
      }
    }

    .difference {
      .content {
        .section {
          width: 6.86rem;
          background-color: #eeeeee;
          padding: 0.4rem 0.7rem;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          margin: 0 auto;
          margin-top: 0.32rem;

          &:first-child {
            margin-top: 0;
          }

          .cover {
            img {
              display: block;
              width: 4.5rem;
              margin: 0 auto;
            }
          }

          .info {
            .title {
              color: #b62d1a;
              font-size: 0.3rem;
              font-weight: bold;
              margin: 0.4rem 0 0.32rem;
              text-align: center;
            }
            .description {
              font-size: 0.26rem;
              color: #333;
              line-height: 0.48rem;
              text-align: center;
            }
          }
        }
      }
    }

    .effect {
      .content {
        .section {
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-orient: vertical;
          -webkit-box-direction: reverse;
          -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          width: 5.98rem;
          margin: 0 auto;
          text-align: center;
          margin-top: 0.8rem;

          &:first-child {
            margin-top: 0;
          }

          .cover {
            img {
              width: 3.88rem;
            }
          }

          .info {
            .title {
              color: #b62d1a;
              font-size: 0.3rem;
              font-weight: bold;
              margin: 0.24rem 0 0.16rem;
            }
            .description {
              font-size: 0.26rem;
              color: #333;
              line-height: 0.48rem;
            }
          }
        }
      }
    }
  }
}
</style>
