<template>
  <div class="container df fdc">
    <navbar />
    <div class="flex-1 df ai-c jc-c">
      <van-swipe :loop="false">
        <van-swipe-item>
          <div class="tc pl30 pr30 pt16 pb30">
            <h3 class="f22 fw">电视投屏</h3>
            <div class="block mt35 df fdc">
              <div class="flex-1 df ai-c jc-c ">
                <img class="a1" src="@/assets/guide/miracast-1@2x.png" />
              </div>
            </div>
            <p class="mt35 tl">
              我们推荐使用电视投屏功能进行运动，可以获得更好的体验
            </p>
          </div>
        </van-swipe-item>
        <van-swipe-item>
          <div class="tc pl30 pr30 pt16 pb30">
            <h3 class="f22 fw">电视投屏</h3>
            <div class="block df ai-c jc-c mt35">
              <img class="a2" src="@/assets/guide/miracast-2@2x.png" />
            </div>
            <p class="mt35 tl">
              如果您的电视支持手机投屏功能，按照电视的投屏办法，正常把手机投屏到电视即可。
            </p>
          </div>
        </van-swipe-item>
        <van-swipe-item>
          <div class="tc pl30 pr30 pt16 pb30">
            <h3 class="f22 fw">电视投屏</h3>
            <div class="block df ai-c jc-c mt35">
              <img class="a3" src="@/assets/guide/miracast-3@2x.png" />
            </div>
            <p class="mt35 tl">
              如果您的电视不支持手机投屏，
              可以考虑在淘宝或京东搜索“投屏器”购买可以同时匹配您电视和手机的投屏器。
            </p>
          </div>
        </van-swipe-item>
      </van-swipe>
    </div>
  </div>
</template>
<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
  setup() {
    return {};
  }
});
</script>
<style lang="scss" scoped>
.container {
  width: 100vw;
  min-height: 100vh;
  background-color: white;
  overflow-x: hidden;
  .block {
    width: 100%;
    height: 399px;
    background-color: #f5f3f3;
    border-radius: 8px;
  }
  p {
    line-height: 1.5;
  }
  .f14 {
    line-height: 1.5;
  }
  .a1 {
    width: 255px;
    height: 174.5px;
  }
  .a2 {
    width: 256px;
    height: 176.5px;
  }
  .a3 {
    width: 204px;
    height: 216px;
  }

  ::v-deep .van-swipe__indicator {
    background-color: #dcdcdc;
    opacity: 0.8;
  }
  ::v-deep .van-swipe__indicator--active {
    background-color: #ffc400;
  }
}
</style>
