<template>
  <div class="Box" id="top">
    <div class="module_1">
      <video ref="video" src="../../assets/video/P1 横版_x264.mp4" width="100%" height="100%" autoplay muted="muted" loop="loop" />
      <div class="titleBox">
        <div class="title_item1" v-if="characters == 1">打造自主数字人IP 沉淀数字资产</div>
        <div class="title_item3" v-if="characters == 1">自动化实时创作过程 帮助您快速定义形象 多种类型</div>
        <div class="title_item3" v-if="characters == 1">创造生成 超真实 超写实 风格化 不同性别</div>
        <div class="title_item3" v-if="characters == 1">多人种 分身化身随心创造</div>

        <div class="title_item1_y" v-if="characters != 1">Create virtual human IP</div>
        <div class="title_item2" v-if="characters != 1">for your business as digital assets</div>
        <div class="title_item3" v-if="characters != 1">
          Automatic creation process, speed up character defined from months to hours Diversity character types, ultra-realistic, stylized or customized freely
        </div>

        <div class="title_btn" @click="showBox">
          {{ characters == 1 ? '立刻体验' : 'Try it now' }}
        </div>
      </div>
      <div class="md1" id="md1"></div>
    </div>

    <div class="module_2" id="module_2">
      <div class="characters_l">
        <div class="titleBox">
          <div class="title">
            {{ characters == 1 ? '文字语音AI驱动' : 'Text /Audio AI manipulation' }}
          </div>
        </div>
        <div class="ctnBox">
          <div class="title_ctn1">
            {{
              characters == 1
                ? '文字/语音驱动生成数字人，邃芒技术所呈现的高自然度，以及多语言多种输入方式，'
                : 'Text/audio manipulate the virtual human created, Metavatar AIGC delivers high resolution, naturally and vividly character moves.'
            }}
          </div>
          <div class="title_ctn1">
            {{
              characters == 1
                ? '让您的数字人可以快速进行内容生产，真正实现智能全自动的内容生产（AIGC）。'
                : 'supporting multiple languages and inputs, generating digital content, bring new intelligence experience far more exciting than before .'
            }}
          </div>
        </div>
      </div>

      <div class="characters_2">
        <div class="titleBox">
          <div class="title">
            {{ characters == 1 ? '中之人驱动' : '“中の人”manipulation' }}
          </div>
        </div>

        <div class="ctnBox">
          <div class="title_ctn1">
            {{
              characters == 1
                ? '中之人驱动数字形象，快速生产各种背景下的视频，短片，影视剧等，让您的数字人轻松进入各种复杂场景，'
                : 'Metavatar also supports the “中の人“ vtuber manipulation. Generating videos and broadcasting content on demand in any complex cases.'
            }}
          </div>
          <div class="title_ctn1">
            {{
              characters == 1 ? '为企业在数字内容上提供丰富的体验，大幅节省成本提高生产效率。' : 'Provide extremely expenses saving & extendable user experience in digital content producing process.'
            }}
          </div>
        </div>
      </div>
    </div>

    <div class="module_3" id="module_3">
      <div class="imgBox1" @click="goSetVedio(isPlayed)">
        <img v-if="isPlayed" class="play" src="../../assets/img/play.png" title="click to play" />
        <img v-else class="play" src="../../assets/img/pause.png" title="click to pause" />
        <video ref="videoII" src="../../assets/video/video2.mp4" />
      </div>
      <div class="imgBox2">
        <img src="../../assets/img/module_3_2.png" alt />
      </div>
    </div>
    <div class="module_4" id="module_4">
      <div class="btnBox1">
        <div class="btnText" @click="showBox">
          {{ characters == 1 ? '立刻体验' : 'Try it now' }}
        </div>
      </div>
      <div class="btnBox2">
        <div class="btnText" @click="showBox">
          {{ characters == 1 ? '立刻体验' : 'Try it now' }}
        </div>
      </div>
    </div>

    <div class="module_7">
      <div class="fillBox">
        <div class="title">
          {{ characters == 1 ? '超写实数字人的互动全新体验' : 'A new interactive experience of hyper-realistic digital people' }}
        </div>
        <div class="hintBox">
          <div class="triangle"></div>
          <div class="news1">
            {{ characters == 1 ? '你好，我是XXXX' : "Hello, I'm XXXX" }}
          </div>
        </div>
        <div class="hintBox_1">
          <div class="triangle"></div>
          <div class="news1">
            {{ characters == 1 ? '你会说英语吗？Avrli' : 'Do you speak English? Avrli' }}
          </div>
        </div>
        <div class="hintBox">
          <div class="triangle"></div>
          <div class="news1">Which one would you like--this one or that one</div>
        </div>
        <div class="hintBox_1">
          <div class="triangle"></div>
          <div class="news1">
            {{ characters == 1 ? '你会说英语吗？Avrli' : 'Do you speak English? Avrli' }}
          </div>
        </div>
        <div class="hintBox">
          <div class="triangle"></div>
          <div class="news1">
            {{ characters == 1 ? '据北京市气象局消息，丰台、石景山有雷阵雨天气' : 'According to the Beijing Meteorological Bureau,' }}
          </div>
        </div>
        <div class="bnt_look" @click="showBox">
          {{ characters == 1 ? '立刻体验' : 'Try it now' }}
        </div>
      </div>
    </div>

    <div :class="characters == 1 ? 'module_5_0' : 'module_5_1'" id="Technology">
      <div :class="characters == 1 ? 'titleBox' : 'titleBox1'">
        <div class="title">
          {{ characters == 1 ? '快速 高效 完美' : 'Flexible and Vivid Avatar' }}
        </div>
        <div class="paragraph">
          {{
            characters == 1
              ? 'MetaGene是邃芒科技自主技术研发的自动化数字人平台，以GAN（生成对抗网络）、NeRF（神经辐射场）、多模态合成技术为基础，并加持NLP与知识图谱能力，建设元宇宙的基础设施。MetaGene 实现无人工干预的形象创造、数字人驱动以及智能交互全流程，通过MetaGene可以实时创造高辨率的虚拟数字人形象，数字分身，并且可以自由的编辑及风格化。'
              : 'MetaGene is an automated digital human platform developed by Metavatar. MetaGene is based on GAN (Generative Adversarial Network), NeRF (Neural Radiation Field) and multimodal synthesis technology, combined by NLP and knowledge graph capabilities to build the infrastructure of the Metaverse. '
          }}
        </div>

        <!-- <div class="paragraph" v-if="characters != 1">
          User can experiences a completely automatic process of character
          creation, manipulation and intelligent interaction without any
          intervention.MetaGene provides high-resolution virtual digital human ,
          “digital twin”, symbolization characters editable freely rapidly.
        </div> -->

        <div class="paragraph">
          {{
            characters == 1
              ? 'MetaGene不仅支持通过语音、文字、视频等多种有/无中之人的数字人驱动方式，为用户生成实时的生成高质量的视频内容；还通过先进技术手段降低前端算力依赖，解决直播实时性等复杂场景问题。'
              : 'MetaGene not only supports real-time high-quality video content generation for users through voice, text, video and other manipulation approaches; It also reduces the front-end computing power cost and compatible in the complex scenario, such as live broadcast real-time.'
          }}
        </div>

        <div class="paragraph">
          {{
            characters == 1
              ? 'MetaGene为数字人提供了智能交互的能力，让输出的形象具备智能化互动功能，帮助处理实际业务中的问题，协助完成任务。'
              : 'MetaGene provides digital human with the interactive ability, the character will have intelligent interactive functions, help to deal with real world problems in the business and assistance in completing tasks.'
          }}
        </div>

        <div class="read_btn" @click="showBox">
          {{ characters == 1 ? '了解详情' : 'Read more' }}
        </div>
      </div>

      <div class="md1" id="Solutions"></div>
    </div>

    <div class="module_6" id="module_6">
      <div class="title">
        {{ characters == 1 ? '解决方案' : 'Solutions' }}
      </div>
      <div class="imgBox">
        <div class="itemBox" v-for="(item, index) in module_6_data" :key="index">
          <img :src="item.url" alt />
          <p class="title">{{ characters == 1 ? item.name : item.name_y }}</p>
          <p :class="characters == 1 ? 'des' : 'des_y'">
            {{ characters == 1 ? item.des : item.des_y }}
          </p>
        </div>
      </div>
    </div>

    <!-- <div class="module_8" id="Cases">
      <div class="title">SELECTED CASES</div>
      <div class="title_1">{{ characters == 1 ? "经典案例" : "" }}</div>
      <div class="xian"></div>
      <div class="swiper-container">
        <div class="swiper-wrapper">
          <div
            class="swiper-slide"
            v-for="(item, index) in carouselLsit"
            :key="index"
          >
            <img class="swiper-slide-img" :src="item.url" />
          </div>
        </div>
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next"></div>
      </div>
      <div class="tiktok">
        {{ characters == 1 ? "tiktok直播Rilloky" : "tiktokRilloky" }}
      </div>
      <div class="tiktok_ctn">
        {{
          characters == 1
            ? "随着元宇宙概念的升温，数字艺人开始广泛的出现在公众面前为人们所习惯。邃芒科技的AI养成路线，致力于打造超写实虚"
            : "With the warming of the concept of meta-universe, digital artists begin to appear widely in front of the public, and people are used to it. Jia Mang Technology's AI"
        }}
      </div>
    </div> -->

    <div class="module_9" id="aboutUs">
      <div class="weBox">
        <div class="weText">
          <div class="conBox">
            <div class="title_h" v-if="characters == 1">关于我们</div>
            <div class="title" v-if="characters != 1">About Us</div>
            <!-- <div :class="characters == 1 ? 'ctn1' : 'ctn'">
              {{
                characters == 1
                  ? "北京邃芒科技公司正式成立于2021年8月，团队组建于2018年10月。"
                  : "Metavatar is founded in August 2021, the team built up in year 2018. "
              }}
            </div> -->
            <div :class="characters == 1 ? 'ctn_c1' : 'ctn_c'">
              {{
                characters == 1
                  ? '北京邃芒科技公司正式成立于2021年8月，团队组建于2018年10月，3年迭代形成AI技术为基础的数字人全生产流程，拥有业界顶尖AI形象生成和驱动技术，积累了独有的亚洲超现实数字人数据资产，已成功商用于工业级影视、品牌商和直播。团队均来自科研机构及一流院所，拥有来自悉尼科技大学, 北邮，中科院，清华的博士硕士团队和行业内一流人才。邃芒科技专注虚拟数字人，提供未来世界数字形象巨量需求的生产力与能力，依靠技术与商业双轮驱动为用户打开元宇宙大门。'
                  : "Metavatar is founded in August 2021, the team built up in year 2018.In the past 3 years, Metavatar has iteratively been forming the whole production process of digital human based on AI technology. We own the industry's top AI image generation and driving technology, and has accumulated unique Asian surreal digital human data assets, which have been successfully used in industrial-grade film and television, brand owners and live broadcasts. The team is from scientific research institutions and first-class institutes, with PhD and Masters from the UTS, BUPT  , CAS, Tsinghua University and first-class talents in the industry.Metavatar focus on digital human sector, provides capability of producing the massive amount requirements for the future metaverse. Vision to be the first level company as a KEY to knock out the door of metaverse; Developing the leading technology and create customer value along the way."
              }}
            </div>
            <!-- <div :class="characters == 1 ? 'ctn_c1' : 'ctn_c'">
              {{
                characters == 1
                  ? "邃芒科技专注虚拟数字人，提供未来世界数字形象巨量需求的生产力与能力，依靠技术与商业双轮驱动为用户打开元宇宙大门。"
                  : "Metavatar focus on digital human sector, provides capability of producing the massive amount requirements for the future metaverse. Vision to be the first level company as a KEY to knock out the door of metaverse; Developing the leading technology and create customer value along the way."
              }}
            </div> -->
          </div>
        </div>
        <img src="../../assets/img/me.png" alt class="weImg" />
      </div>

      <div class="timeBox">
        <div class="xian"></div>
        <div class="timeF">
          <div class="itemBox" v-for="(item, index) in timeLsit" :key="index" @click="timeFlag = index">
            <div class="timeText">{{ item.title }}</div>
            <div class="ImgBox">
              <!-- <img
                :src="
                  timeFlag == index
                    ? require('../../assets/img/a.png')
                    : require('../../assets/img/h.png')
                "
                alt
              /> -->
              <div class="circle"></div>
            </div>
            <div class="ctn">
              {{ characters == 1 ? item.ctn1 : item.ctn1_y }}
            </div>
            <div class="ctn">
              {{ characters == 1 ? item.ctn2 : item.ctn2_y }}
            </div>
          </div>
        </div>
      </div>

      <div class="cooperationBox" v-if="characters == 1">
        <div class="titleBox">
          <div class="title">PARTNER</div>
          <div class="title_h" v-if="characters == 1">合作伙伴</div>
        </div>
      </div>

      <div class="cooperation" v-if="characters == 1">
        <div class="cooperationItem" v-for="(item, index) in partnerLsit" :key="index">
          <img :src="item.url" />
        </div>
      </div>
    </div>

    <el-dialog :title="characters == 1 ? '留下您的信息，我们会尽快与您取得联系' : 'Tell us about yourself, we ll be in touch right away.'" :visible.sync="dialogVisible" width="34%">
      <el-form ref="form" :rules="rules" :model="form">
        <el-form-item class="width" prop="name">
          <el-input v-model="form.name" maxlength="10" :placeholder="characters == 1 ? '姓名' : 'Name'"></el-input>
        </el-form-item>
        <el-form-item class="width" prop="phone">
          <el-input v-model="form.phone" :placeholder="characters == 1 ? '手机' : 'Phone'"></el-input>
        </el-form-item>
        <el-form-item class="width" prop="Pmail">
          <el-input v-model="form.email" placeholder="Email"></el-input>
        </el-form-item>
      </el-form>
      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">{{ characters == 1 ? '取 消' : 'Cancel' }}</el-button>
        <el-button type="primary" @click="submit()">{{ characters == 1 ? '提 交' : 'Submit' }}</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
import 'swiper/dist/js/swiper';
import 'swiper/dist/css/swiper.css';
import Swiper from 'swiper';
import { mapState, mapActions } from 'vuex';

export default {
  data() {
    return {
      isPlayed: true,
      //零时存放
      charactersMy: 1,
      languageLsit: [
        {
          name: 'Cn',
          value: 1,
          url: require('../../assets/img/cn.jpeg')
        },
        {
          name: 'En',
          value: 2,
          url: require('../../assets/img/en.jpg')
        }
      ],

      //

      userName: '',
      phone: '',
      email: '',

      form: {
        name: '',
        phone: '',
        email: ''
      },

      rules: {
        name: [
          {
            required: true,
            min: 1,
            max: 10,
            message: '此项必填，内容最大10个字符!',
            trigger: 'blur'
          }
        ],
        phone: [
          {
            required: true,
            trigger: 'change',
            message: '请先输手机号'
          },
          {
            validator(rule, value, callback, source, options) {
              var errors = [];
              // var mobile = /^1[0|1|2|3|4|5|6|7|8|9]\d{9}$/,
              let phone = /^1[35789]\d{9}$/;
              if (value && !phone.test(value)) {
                callback('抱歉，请输入正确的手机号');
              }
              callback(errors);
            }
          }
        ],
        email: [
          {
            required: true,
            trigger: 'change',
            message: '请先输邮箱'
          }
        ]
      },
      // characters: 1, //1=》中文 2=》英文
      timeFlag: 5,
      dialogVisible: false,
      module_6_data: [
        {
          url: require('../../assets/img/demo_4.png'),
          name: '教育',
          name_y: 'Education',
          des: '创新和丰富的学习体验',
          des_y: 'Innovative & richinng the learning experience'
        },
        {
          url: require('../../assets/img/demo_3.png'),
          name: '金融',
          name_y: 'Finance',
          des: '加强客户服务，通过新颖的互动方式与客户搭建沟通桥梁',
          des_y: 'Enhance customer service, engage client relations through new innteravtive ways'
        },
        {
          url: require('../../assets/img/demo_5.png'),
          name: ' 电商',
          name_y: 'E-commerce',
          des: '7*24全天候数字员工线上销售和品牌推广',
          des_y: '7*24 employee online selling & brands promotion'
        },
        {
          url: require('../../assets/img/demo_7.png'),
          name: '零售与品牌',
          name_y: 'Retails',
          des: '数字广告代言人以前所未有的方式打造品牌',
          des_y: 'Branding in a different new way by digital Ads endorsers.'
        },
        {
          url: require('../../assets/img/demo_1.png'),
          name: '技术服务',
          name_y: 'Avatar tech provider',
          des: '可以将创造的数字人形象、行为和全部交互轻松的部署到自己的应用服务中',
          des_y: 'Provide all capability of avatar creation, manipulation & interactive of metavatar to deploy them in your own applications.'
        },
        {
          url: require('../../assets/img/demo_2.png'),
          name: '娱乐',
          name_y: 'Entertaining',
          des: '让您在元宇宙中拥有时尚靓丽的数字孪生',
          des_y: 'Exiciting etertaning experience by digital twins, stylishing the pictures & video, great looking avatars in metaverse.'
        },
        {
          url: require('../../assets/img/demo_6.png'),
          name: '影视特效 ',
          name_y: 'Special Effects',
          des: '通过Ai技术在电影特效中使用虚拟角色，极大的提高了效率，加强视觉效果',
          des_y: 'A.I. technology for avatars deployed in movie special effects, great enhancement of effects production.'
        },
        {
          url: require('../../assets/img/demo_8.png'),
          name: '公共服务',
          name_y: 'Public Sector',
          des: '当人们需要帮助和助手时，数字公共服务人员24*7随时为您的繁重工作待命',
          des_y: '24*7 public service employee for repetitive heavy duties, anytime ready when people need help and assistant.'
        }
      ],
      carouselLsit: [
        {
          url: require('../../assets/img/carousel1.png')
        },
        {
          url: require('../../assets/img/carousel2.png')
        },
        {
          url: require('../../assets/img/carousel3.png')
        }
      ],
      partnerLsit: [
        {
          url: require('../../assets/img/partner1.png'),
          path: ''
        },
        {
          url: require('../../assets/img/partner2.png'),
          path: ''
        },
        {
          url: require('../../assets/img/partner3.png'),
          path: ''
        },
        {
          url: require('../../assets/img/partner4.png'),
          path: ''
        },
        {
          url: require('../../assets/img/partner5.png'),
          path: ''
        },
        {
          url: require('../../assets/img/partner6.png'),
          path: ''
        },
        {
          url: require('../../assets/img/partner7.png'),
          path: ''
        }
      ],
      timeLsit: [
        {
          title: '2018-10',
          ctn1_y: 'Team built up in Oct. 2018',
          // ctn2_y: "Team built up in Oct. 2018",
          ctn1: '团队组建'
          // ctn2: "团队组建"
        },
        {
          url: require('../../assets/img/carousel2.png'),
          title: '2019',
          ctn1_y: 'Deliver the first movie project in May. 2019',
          // ctn2_y: "Deliver the first movie project in May. 2019",
          ctn1: '第一个影视特效 ',
          ctn2: '项目交付'
        },
        {
          url: require('../../assets/img/carousel3.png'),
          title: '2021-05',
          ctn1_y: 'Beta of MetaGene published in May,2021',
          // ctn2_y: "Beta of MetaGene published in May,2021",
          ctn1: '内部产品',
          ctn2: 'Metagene V1完成'
        },

        {
          url: require('../../assets/img/carousel3.png'),
          title: '2021-08',
          ctn1_y: 'Metavatar built up in Aug, 2021',
          // ctn2_y: "Metavatar built up in Aug, 2021",
          ctn1: '邃芒科技成立'
          // ctn2: "邃芒科技成立",
        },
        {
          url: require('../../assets/img/carousel3.png'),
          title: '2022-01',
          ctn1_y: 'Angel fund in Jan, 2022',
          // ctn2_y: "Angel fund in Jan, 2022",
          ctn1: '获得天使轮融资'
          // ctn2: "获得天使轮融资",
        },
        {
          url: require('../../assets/img/carousel3.png'),
          title: '2022-06',
          ctn1_y: 'Deliver the first project based on Magenta for our strategic partner in Jun,2022',
          // ctn2_y: "Beta of MetaGene published in May,2021",
          ctn1: '为战略合作伙伴新奥特',
          ctn2: '交付首个基于MetaGene的内容生产项目'
        }
      ]
    };
  },
  methods: {
    ...mapActions(['setCharacters']),

    change(value) {
      console.log(value);
      this.setCharacters(value);
    },

    goSetVedio(flag) {
      if (flag) {
        this.$refs['videoII'].play();
      } else {
        this.$refs['videoII'].pause();
      }
      this.isPlayed = !flag;
    },
    showBox() {
      this.dialogVisible = true;
    },

    goPages(path) {
      this.$router.push(path);
    },

    goView(id) {
      document.querySelector('#' + id).scrollIntoView({
        behavior: 'smooth', //定义动画过渡效果"auto"或 "smooth" 之一。默认为 "auto"。
        block: 'start', //定义垂直方向的对齐， "start", "center", "end", 或 "nearest"之一。默认为 "start"。
        inline: 'nearest' //"start", "center", "end", 或 "nearest"之一。默认为 "nearest"。
      });
      // console.log(document.querySelector(id),);
    },

    handleCommand(path) {
      this.$router.push(`/${path}`);
    },

    submit() {
      this.$refs.form.validate(valid => {
        console.log(valid);
        if (valid) {
          let params = {
            mallName: this.form.email, //邮箱
            applicant: this.form.name, //姓名
            phone: this.form.phone //电话
          };
          this.$axios({
            method: 'post',
            url: '/api/callback/wxMallApply/add',
            headers: {
              'Content-Type': 'application/json;charset=UTF-8'
            },
            data: params
          })
            .then(res => {
              this.form.email = '';
              this.form.name = '';
              this.form.phone = '';
              this.$message.success(this.characters == 1 ? '提交成功' : 'submit successfully');
              this.dialogVisible = false;
            })
            .catch(err => {
              this.$message.error(err.message);
            });
        }
      });
    },
    getLanguage() {
      const Browser_Agent = navigator.userAgent;
      // 浏览器为IE的情况
      if (Browser_Agent.indexOf(' MSIE ') != -1) {
        const a = navigator.browserLanguage;
        if (a != 'zh-cn') {
          // 英文网站
          console.log('英文网站');
          this.setCharacters(2);
        }
      }
      // 浏览器非IE的情况
      else {
        const b = navigator.language;
        if (b != 'zh-CN') {
          // 英文网站
          console.log('英文网站');
          this.setCharacters(2);
        }
      }
      // 获取当前网络ip地址
      this.$axios.get('https://ipv4.icanhazip.com/').then(async res => {
        let ip = res.data;
        // 获取当前ip地址首字段
        console.log('ip地址为', ip);
      });
    }
  },
  computed: {
    ...mapState({
      characters: state => state.publicObj.characters,
      view: state => state.publicObj.view
    })
  },

  mounted() {
    // console.log();
    new Swiper('.swiper-container', {
      slidesPerView: 3,
      spaceBetween: 30,
      centeredSlides: true,
      loop: true,

      // 如果需要分页器
      pagination: {
        el: '.swiper-pagination',
        clickable: true // 分页器可以点击
      },

      // 如果需要前进后退按钮
      navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev'
      },

      // 如果需要滚动条
      scrollbar: {
        el: '.swiper-scrollbar'
      }
    });
  },
  created() {
    this.getLanguage();
    const goView = this.$route.query.goView;
    if (goView) {
      console.log(true);
      this.$nextTick(() => {
        this.goView(goView);
      });
    }
  }
};
</script>
<style lang="scss" scoped>
.Box {
  width: 100%;
  overflow: hidden;
}
.topBox {
  width: 90%;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  // background-color: rgba(255, 255, 255, 0.1);
}
.logoBox {
  margin-top: 35px;
  margin-left: 35px;
  margin-bottom: 35px;
  float: left;
  overflow: hidden;
}
.logo {
  float: left;
  //   width: 60px;
  //   height: 30px;
}
.logoTitle {
  float: left;
  line-height: 30px;
  margin-left: 10px;
  font-size: 22px;
}
.categoryBox {
  height: 30px;
  width: 600px;
  float: left;
  margin-top: 20px;
  margin-left: 16%;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.categoryitem {
  width: 110px;
  line-height: 30px;
  color: #7d7d7d;
  font-size: 15px;
  // background-color: #16e9d6
}
.cutBox {
  float: right;
  margin-top: 35px;
  margin-right: 50px;
  overflow: hidden;
  cursor: pointer;
}
.cutImg {
  width: 30px;
  height: 20px;
  float: left;
  margin-top: 10px;
  margin-right: 10px;
}
.en {
  float: left;
  font-size: 15px;
}
.md1 {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 70px;
  width: 100%;
}
.module_1 {
  width: 100%;
  // height: 1080px;
  // background-color: aquamarine;
  // background-image: url("../../assets/img/bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
  position: relative;
  margin-top: 80px;
  background-color: #202020;
  .titleBox {
    width: 36%;
    position: absolute;
    top: 390px;
    left: 190px;
    overflow: hidden;
    color: #fff;
    .title_item1 {
      margin-bottom: 14px;
      font-size: 42px;
    }
    .title_item1_y {
      // margin-bottom: 14px;
      font-size: 42px;
    }
    .title_item2 {
      margin-bottom: 20px;
      font-size: 42px;
    }
    .title_item3 {
      font-size: 16px;
      line-height: 30px;
    }
    .title_btn {
      margin-top: 60px;
      height: 60px;
      width: 220px;
      text-align: center;
      line-height: 60px;
      color: #fff;
      border-radius: 40px;
      border: #fff solid 3px;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s;
      &:hover {
        color: #16e9d6;
        border: #16e9d6 solid 3px;
      }
    }
  }
}
.module_2 {
  overflow: hidden;
  height: 260px;
  background-color: #202020;
  .characters_l {
    width: 49%;
    float: left;
    height: 100%;
    text-align: right;
    .titleBox {
      overflow: hidden;
    }
    .title {
      margin-top: 50px;
      font-size: 30px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #cacaca;
      padding-bottom: 26px;
      border-bottom: 1px solid #16e9d6;
      float: right;
    }
    .ctnBox {
      margin-top: 30px;
      .title_ctn1 {
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #7e7e7e;
        margin-bottom: 8px;
      }
    }
  }
  .characters_2 {
    width: 49%;
    float: right;
    height: 100%;
    text-align: left;
    .titleBox {
      overflow: hidden;
      .title {
        margin-top: 50px;
        font-size: 30px;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: #cacaca;
        padding-bottom: 26px;
        border-bottom: 1px solid #16e9d6;
        float: left;
      }
    }
    .ctnBox {
      margin-top: 30px;
      .title_ctn1 {
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #7e7e7e;
        margin-bottom: 8px;
      }
    }
  }
}
.module_3 {
  overflow: hidden;
  background-color: #202020;
  .imgBox1 {
    position: relative;
    float: left;
    width: 49%;
    height: 570px;
    cursor: pointer;
    .play {
      position: absolute;
      top: 42%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100px;
      height: 100px;
      z-index: 99;
      transition: all 0.3s;
      transform: scale(10);
      opacity: 0;
    }
    // background-color: #16e9d6;
    video {
      width: 100%;
      height: 100%;
    }
    &:hover {
      .play {
        transform: scale(1);
        opacity: 1;
      }
    }
  }
  .imgBox2 {
    width: 49%;
    height: 570px;
    float: right;
    // background-color: #16e9d6;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
.module_4 {
  overflow: hidden;
  background-color: #202020;
  .btnBox1 {
    width: 49%;
    height: 240px;
    float: left;
    overflow: hidden;
    position: relative;
    .btnText {
      cursor: pointer;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      position: absolute;
      margin: auto;
      height: 60px;
      width: 220px;
      text-align: center;
      line-height: 60px;
      color: #16e9d6;
      border-radius: 40px;
      border: #16e9d6 solid 3px;
      font-size: 16px;
      transition: all 0.3s;
      &:hover {
        color: #fff;
        background-color: #16e9d6;
      }
    }
  }
  .btnBox2 {
    width: 49%;
    height: 240px;
    float: right;
    overflow: hidden;
    position: relative;
    .btnText {
      cursor: pointer;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      position: absolute;
      margin: auto;
      height: 60px;
      width: 220px;
      text-align: center;
      line-height: 60px;
      color: #16e9d6;
      border-radius: 40px;
      border: #16e9d6 solid 3px;
      font-size: 16px;
      transition: all 0.3s;
      &:hover {
        color: #fff;
        background-color: #16e9d6;
      }
    }
  }
}
.module_5_0 {
  height: 1080px;
  background-color: #010101;
  position: relative;
  overflow: hidden;
  // background-image: url("../../assets/img/module_5_bg1.png");
  background-image: url('../../assets/img/module_5_bg_cut.png');
  background-repeat: no-repeat;
  background-size: 92% 100%;
  background-position: 166% 20%;

  .titleBox {
    // position: absolute;
    // top: 26%;
    // left: 16%;
    margin-left: 220px;
    margin-top: 14%;
    width: 680px;
    .title {
      font-size: 48px;
      font-family: Inter;
      font-weight: 600;
      margin-bottom: 70px;
      color: #fff;
    }
    .paragraph {
      margin-bottom: 20px;
      font-weight: 400;
      color: #7e7e7e;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      line-height: 30px;
    }
    .read_btn {
      margin-top: 36px;
      height: 60px;
      width: 220px;
      text-align: center;
      line-height: 60px;
      color: #16e9d6;
      border-radius: 40px;
      border: #16e9d6 solid 3px;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s;
      &:hover {
        color: #fff;
        background-color: #16e9d6;
      }
    }
  }
  .titleBox1 {
    // position: absolute;
    // top: 20%;
    // left: 16%;
    margin-left: 220px;
    margin-top: 12%;
    width: 680px;
    .title {
      font-size: 44px;
      font-family: Inter;
      font-weight: 600;
      margin-bottom: 40px;
      color: #fff;
    }
    .paragraph {
      margin-bottom: 20px;
      font-weight: 400;
      color: #7e7e7e;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      line-height: 20px;
    }
    .read_btn {
      margin-top: 36px;
      height: 60px;
      width: 220px;
      text-align: center;
      line-height: 60px;
      color: #16e9d6;
      border-radius: 40px;
      border: #16e9d6 solid 3px;
      font-size: 16px;
      cursor: pointer;
    }
  }
}
.module_5_1 {
  height: 1080px;
  background-color: #010101;
  position: relative;
  overflow: hidden;
  background-image: url('../../assets/img/module_5_bg_cut.png');
  background-repeat: no-repeat;
  background-size: 92% 100%;
  background-position: 166% 20%;

  .titleBox {
    // position: absolute;
    // top: 26%;
    // left: 16%;
    margin-left: 220px;
    margin-top: 14%;
    width: 680px;
    .title {
      font-size: 48px;
      font-family: Inter;
      font-weight: 600;
      margin-bottom: 70px;
      color: #fff;
    }
    .paragraph {
      margin-bottom: 20px;
      font-weight: 400;
      color: #7e7e7e;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      line-height: 30px;
    }
    .read_btn {
      margin-top: 36px;
      height: 60px;
      width: 220px;
      text-align: center;
      line-height: 60px;
      color: #16e9d6;
      border-radius: 40px;
      border: #16e9d6 solid 3px;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s;
      &:hover {
        color: #fff;
        background-color: #16e9d6;
      }
    }
  }
  .titleBox1 {
    // position: absolute;
    // top: 20%;
    // left: 16%;
    margin-left: 220px;
    margin-top: 12%;
    width: 680px;
    .title {
      font-size: 44px;
      font-family: Inter;
      font-weight: 600;
      margin-bottom: 40px;
      color: #fff;
    }
    .paragraph {
      margin-bottom: 20px;
      font-weight: 400;
      color: #7e7e7e;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      line-height: 20px;
    }
    .read_btn {
      margin-top: 36px;
      height: 60px;
      width: 220px;
      text-align: center;
      line-height: 60px;
      color: #16e9d6;
      border-radius: 40px;
      border: #16e9d6 solid 3px;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s;
      &:hover {
        color: #fff;
        background-color: #16e9d6;
      }
    }
  }
}
.module_6 {
  height: 1080px;
  background-color: #fff;
  .title {
    text-align: center;
    font-size: 34px;
    color: #000;
    margin-top: 150px;
  }
  .imgBox {
    width: 1280px;
    height: 640px;
    margin: 130px auto 0 auto;
    display: flex;
    flex-wrap: wrap;

    .itemBox {
      width: 25%;
      height: 320px;
      position: relative;
      opacity: 0.8;
      overflow: hidden;
      transform: scale(0.9);
      transition: all 0.3s;
      cursor: pointer;
      img {
        width: 100%;
        height: 100%;
      }
      .title {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 14px;
        margin: auto;
        color: #fff;
        width: 90%;
        font-size: 18px;
        font-family: Microsoft YaHei;
        line-height: 24px;
        font-weight: 400;
        text-align: center;
        transition: all 0.3s;
      }
      .des {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 200px;
        background-color: rgba(0, 0, 0, 0.2);
        color: #fff;
        opacity: 0;
        transform: translate(-50%, -50%);
        transition: all 0.3s;
        padding: 15px;
      }
      .des_y {
        position: absolute;
        left: 50%;
        top: 50%;
        font-size: 22px;
        width: 240px;
        background-color: rgba(0, 0, 0, 0.2);
        color: #fff;
        opacity: 0;
        transform: translate(-50%, -50%);
        transition: all 0.3s;
        padding: 18px;
      }
      &:hover {
        border-radius: 10px;
        transform: scale(1.1);
        opacity: 1;
        .title {
          opacity: 0;
        }
        .des {
          opacity: 1;
        }
        .des_y {
          opacity: 1;
        }
      }
    }
  }
}
.module_7 {
  height: 1000px;
  background-color: #f0f4f7;
  position: relative;
  background-image: url('../../assets/img/module_7_bg.png');
  background-repeat: no-repeat;
  background-size: 775px 1000px;
  background-position: 10% 10%;
  .fillBox {
    position: absolute;
    top: 90px;
    left: 60%;
    .title {
      font-size: 24px;
      margin-bottom: 30px;
    }
    .hintBox {
      overflow: hidden;
      margin-top: 46px;
      .triangle {
        width: 0;
        height: 0;
        border: 14px solid transparent;
        border-right-color: #fff;
        float: left;
        margin-top: 20px;
        transition: all 0.3s;
      }
      .news1 {
        padding: 0 40px;
        height: 68px;
        background: #ffffff;
        // box-shadow: -1px 2px 4px 0px rgba(1, 3, 5, 0.1);
        border-radius: 12px;
        font-size: 18px;
        font-family: Inter;
        font-weight: 400;
        color: #232324;
        line-height: 62px;
        float: left;
        transition: all 0.3s;
        cursor: pointer;
      }
    }
    .hintBox_1 {
      overflow: hidden;
      margin-top: 46px;
      margin-left: 68px;
      .triangle {
        width: 0;
        height: 0;
        border: 14px solid transparent;
        border-right-color: #fff;
        float: left;
        margin-top: 20px;
      }
      .news1 {
        padding: 0 40px;
        height: 68px;
        background: #ffffff;
        // box-shadow: -1px 2px 4px 0px rgba(1, 3, 5, 0.1);
        border-radius: 12px;
        font-size: 18px;
        font-family: Inter;
        font-weight: 400;
        color: #232324;
        line-height: 62px;
        float: left;
        cursor: pointer;
      }
    }

    .bnt_look {
      margin-top: 110px;
      margin-left: 110px;
      width: 241px;
      height: 66px;
      border: 2px solid #000000;
      border-radius: 33px;
      font-size: 16px;
      font-family: Inter;
      font-weight: 600;
      color: #000000;
      line-height: 62px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s;
      &:hover {
        color: #16e9d6;
        border: #16e9d6 solid 2px;
      }
    }
  }
}
.module_8 {
  height: 1080px;
  background: #ffffff;
  .title {
    font-size: 30px;
    font-family: Inter;
    font-weight: 600;
    color: #191919;
    // line-height: 62px;
    margin-top: 80px;
    text-align: center;
    // margin-bottom: 40px;
  }
  .title_1 {
    text-align: center;
    font-size: 24px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #191919;
    line-height: 62px;
    height: 62px;
  }
  .xian {
    width: 66px;
    height: 3px;
    background: #16e9d6;
    margin: 0 auto;
    margin-bottom: 60px;
  }
  .tiktok {
    font-size: 18px;
    font-family: Inter;
    font-weight: 600;
    color: #0f1114;
    line-height: 62px;
    text-align: center;
  }
  .tiktok_ctn {
    width: 559px;
    height: 44px;
    font-size: 14px;
    font-family: Inter;
    font-weight: 400;
    color: #797979;
    line-height: 30px;
    text-align: center;
    margin: 0 auto;
  }
}
.module_9 {
  background-color: #d7d8de;
  overflow: hidden;
  .weBox {
    margin-top: 130px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 180px;
    width: 1300px;
    height: 550px;
    cursor: pointer;
    transition: all 0.3s;
    .weText {
      width: 576px;
      height: 530px;
      background-color: #191919;
      float: left;
      .conBox {
        width: 500px;
        margin: 40px auto 100px auto;
        .title {
          font-size: 30px;
          font-family: Inter;
          font-weight: 400;
          color: #ffffff;
          line-height: 62px;
          text-align: right;
        }
        .title_h {
          height: 18px;
          font-size: 18px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #ffffff;
          text-align: right;
        }
        .ctn {
          // width: 434px;
          font-size: 12px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #7e7e7e;
          line-height: 24px;
          margin-top: 10px;
        }
        .ctn_c {
          // width: 434px;
          font-size: 12px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #7e7e7e;
          line-height: 22px;
          margin-top: 30px;
        }
        .ctn1 {
          width: 436px;
          height: 222px;
          font-size: 12px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #7e7e7e;
          line-height: 30px;
          margin-top: 40px;
          margin-left: auto;
          margin-right: auto;
        }
        .ctn_c1 {
          width: 436px;
          height: 222px;
          font-size: 12px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #7e7e7e;
          line-height: 30px;
          margin-top: 74px;
          margin-left: auto;
          margin-right: auto;
        }
      }
    }
    .weImg {
      width: 724px;
      height: 530px;
      float: left;
    }
    &:hover {
      transform: scale(1.1);
    }
  }
  .timeBox {
    // overflow: hidden;
    position: relative;
    margin-bottom: 90px;
  }
  .xian {
    width: 100%;
    height: 6px;
    background: #ffffff;
    opacity: 0.57;
    position: absolute;
    top: 97px;
    left: 0;
  }
  .timeF {
    width: 1300px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    .itemBox {
      width: 180px;
      height: 250px;
      border: 1px solid #ffffff;
      opacity: 0.8;
      border-radius: 24px;
      background: #ffffff;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.3s;
      .timeText {
        width: 200px;
        font-size: 16px;
        font-family: Inter;
        font-weight: 600;
        color: #313131;
        line-height: 30px;
        text-align: center;
        margin-top: 28px;
        // margin-bottom: 20px;
      }
      .ImgBox {
        width: 23px;
        height: 23px;
        margin: 30px auto 10px auto;
        // margin-bottom: 10px;
        .circle {
          width: 23px;
          height: 23px;
          background: url('../../assets/img/h.png');
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          background-position: center;
          transform: scale(0.9);
          transition: all 0.3s;
        }
        img {
          width: 23px;
          height: 23px;
        }
      }
      .ctn {
        width: 160px;
        // height: 20px;
        font-size: 12px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #313131;
        line-height: 24px;
        margin: 0 auto;
        text-align: center;
      }
      &:hover {
        opacity: 0.65;
        transform: scale(1.1);
        .circle {
          width: 23px;
          height: 23px;
          background: url('../../assets/img/a.png');
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
          background-position: center;
          transform: scale(0.9);
        }
      }
    }
  }
  .cooperationBox {
    margin-bottom: 30px;
    .titleBox {
      display: flex;
      justify-content: center;
      .title {
        font-size: 30px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #0d0912;
        line-height: 62px;
      }
      .title_h {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #0d0912;
        line-height: 62px;
        margin-left: 10px;
      }
    }
  }
  .cooperation {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 130px;
    background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;

    .cooperationItem {
      display: flex;
      flex-wrap: nowrap;
      flex-direction: column;
      justify-content: center;

      vertical-align: bottom;
      width: 200px;
      height: 100px;
      // background-color: #f0f0f0;
      img {
        width: 100%;
        max-height: 100%;
        // margin: 20px 5%;
        cursor: pointer;
        transition: all 0.3s;
        &:hover {
          transform: scale(1.1);
        }
      }
    }
  }
}

.swiper-container {
  width: 100%;
}
.swiper-slide {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  // display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
  transform: scale(1);
}

.swiper-slide-img {
  width: 479px;
  height: 600px;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.3s;
  &:hover {
    opacity: 1;
    transform: scale(1.1);
  }
}

.topBox {
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #fff;
}
.logoBox {
  margin-top: 20px;
  margin-left: 35px;
  margin-bottom: 20px;
  float: left;
  overflow: hidden;
  cursor: pointer;
}
.logo {
  float: left;
  width: 60px;
  height: 30px;
}
.logoTitle {
  float: left;
  line-height: 30px;
  margin-left: 10px;
  font-size: 22px;
}
.categoryBox {
  float: left;
  display: flex;
  justify-content: space-between;
  height: 30px;
  margin-top: 20px;
  margin-left: 6%;
}
.categoryitem {
  line-height: 30px;
  color: #7d7d7d;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}
.el-dropdown-menu__item:focus,
.el-dropdown-menu__item:not(.is-disabled):hover {
  background-color: #16e9d6;
  color: #fff;
}
.categoryitem:hover {
  color: #16e9d6;
}
.cutBox {
  float: right;
  margin-top: 20px;
  margin-right: 50px;
  overflow: hidden;
  cursor: pointer;
}
.cutImg {
  width: 30px;
  height: 20px;
  float: left;
  margin-top: 6px;
  margin-right: 10px;
}
.en {
  float: left;
  font-size: 15px;
}
.el-select {
  width: 120px;
}
</style>
