|
@@ -0,0 +1,279 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+ <head>
|
|
|
+ <meta charset="UTF-8" />
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
+ <title>首页</title>
|
|
|
+ <link rel="stylesheet" href="./css/common/default.css" />
|
|
|
+ <link rel="stylesheet" href="./css/components/header.css" />
|
|
|
+ <link rel="stylesheet" href="./css/components/footer.css" />
|
|
|
+ <link rel="stylesheet" href="./css/index.css" />
|
|
|
+ <link rel="stylesheet" href="./css/common/swiper-bundle.min.css" />
|
|
|
+ <script src="./js/lib/swiper-bundle.min.js"></script>
|
|
|
+ <script src="./js/lib/vue.min.js"></script>
|
|
|
+ <script src="./js/lib/axios.min.js"></script>
|
|
|
+ <script src="./js/common/browser-resize.js"></script>
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div class="wrap">
|
|
|
+ <div
|
|
|
+ id="header"
|
|
|
+ class="header"
|
|
|
+ style="background: transparent; --color: #fff"
|
|
|
+ >
|
|
|
+ <img class="header-logo" :src="logo_path" alt="" />
|
|
|
+ <div class="header-nav">
|
|
|
+ <a
|
|
|
+ v-for="item in path_list"
|
|
|
+ :href="item.path"
|
|
|
+ :class="{'current':current_path.includes(item.path)}"
|
|
|
+ >{{text(item.name)}}</a
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <div class="header-language">
|
|
|
+ <span
|
|
|
+ :class="[current_language=='chs'?'current':'no-current']"
|
|
|
+ @click="changeLanguage('chs')"
|
|
|
+ >中文(简体)</span
|
|
|
+ >
|
|
|
+ <span>|</span>
|
|
|
+ <span
|
|
|
+ :class="[current_language=='en'?'current':'no-current']"
|
|
|
+ @click="changeLanguage('en')"
|
|
|
+ >English</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="app">
|
|
|
+ <div class="swiper carousel">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <div class="swiper-slide" v-for="item in carousel_list">
|
|
|
+ <div class="carousel-item">
|
|
|
+ <img
|
|
|
+ class="carousel-img"
|
|
|
+ :src="item.image
|
|
|
+ "
|
|
|
+ />
|
|
|
+ <div class="carousel-info" v-html="item[lan_key('title')]">
|
|
|
+ <!-- <div class="title-1">紧凑级高性价比</div>
|
|
|
+ <div class="title-2">全场景物联网终端芯片</div>
|
|
|
+ <div class="title-3">解决方案</div> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="carousel-control">
|
|
|
+ <div
|
|
|
+ class="btn"
|
|
|
+ :class="{disabled : !swiper.activeIndex}"
|
|
|
+ @click="swiper.slidePrev()"
|
|
|
+ >
|
|
|
+ <img class="icon" src="./static/toleft.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div class="index">
|
|
|
+ <span>{{swiper.activeIndex + 1}}</span> / {{carousel_list.length}}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="btn"
|
|
|
+ :class="{disabled : carousel_list.length - 1 == swiper.activeIndex }"
|
|
|
+ @click="swiper.slideNext()"
|
|
|
+ >
|
|
|
+ <img class="icon" src="./static/toright.png" alt="" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="carousel-scroll">
|
|
|
+ <div
|
|
|
+ class="scroll-item"
|
|
|
+ v-for="(_ , index) in carousel_list"
|
|
|
+ :class="{current:index == swiper.activeIndex}"
|
|
|
+ @click="swiper.slideTo(index)"
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
+ <div class="carousel-info">
|
|
|
+ <div class="title-1">紧凑级高性价比</div>
|
|
|
+ <div class="title-2">全场景物联网终端芯片</div>
|
|
|
+ <div class="title-3">解决方案</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="about">
|
|
|
+ <div class="info">
|
|
|
+ <a class="href" href="/about.html">{{text('关于蓝芯算力')}}</a>
|
|
|
+ <div class="title">{{config[lan_key('web_about')]}}</div>
|
|
|
+ <div class="detail">{{config[lan_key('web_about_content')]}}</div>
|
|
|
+ <a class="more a-btn" href="/about.html">{{text('探索更多')}}</a>
|
|
|
+ </div>
|
|
|
+ <video controls muted loop class="video">
|
|
|
+ <source
|
|
|
+ v-if="config.web_about_video"
|
|
|
+ :src="baseURL + config.web_about_video"
|
|
|
+ />
|
|
|
+ </video>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="company"
|
|
|
+ :style="{backgroundImage:`url(${baseURL}${company_list[company_tab]})`}"
|
|
|
+ >
|
|
|
+ <div class="company-tab">
|
|
|
+ <div class="tab-item" @click="company_tab = 0">
|
|
|
+ {{text('公司使命')}}
|
|
|
+ <div class="tab-item-bottom" v-if="company_tab == 0"></div>
|
|
|
+ </div>
|
|
|
+ <div class="tab-line">
|
|
|
+ <div></div>
|
|
|
+ <div></div>
|
|
|
+ <div></div>
|
|
|
+ </div>
|
|
|
+ <div class="tab-item" @click="company_tab = 1">
|
|
|
+ {{text('公司愿景')}}
|
|
|
+ <div class="tab-item-bottom" v-if="company_tab == 1"></div>
|
|
|
+ </div>
|
|
|
+ <div class="tab-line">
|
|
|
+ <div></div>
|
|
|
+ <div></div>
|
|
|
+ <div></div>
|
|
|
+ </div>
|
|
|
+ <div class="tab-item" @click="company_tab = 2">
|
|
|
+ {{text('未来设想')}}
|
|
|
+ <div class="tab-item-bottom" v-if="company_tab == 2"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="product">
|
|
|
+ <div class="product-title">{{text('产品中心')}}</div>
|
|
|
+ <div class="product-tips">
|
|
|
+ {{config[lan_key('web_product_text')]}}
|
|
|
+ </div>
|
|
|
+ <img class="product-img" :src="baseURL + product_img" />
|
|
|
+ <!-- <div class="product-tab">
|
|
|
+ <div
|
|
|
+ class="tab-item"
|
|
|
+ v-for="item in product_tab_list"
|
|
|
+ :class="{current:item == product_tab}"
|
|
|
+ @click="product_tab = item"
|
|
|
+ >
|
|
|
+ {{item[lan_key('name')]}}
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
+ <!-- <div class="product-content">
|
|
|
+ <div class="content-info">
|
|
|
+ <div class="info-title">{{product_tab[lan_key('name')]}}</div>
|
|
|
+ <div class="info-detail">
|
|
|
+ {{product_tab[lan_key('description')]}}
|
|
|
+ </div>
|
|
|
+ <a class="info-more a-btn" href="/product.html"
|
|
|
+ >{{text('了解更多')}}</a
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <img class="content-img" :src="product_tab.image" alt="" />
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
+ <div class="news">
|
|
|
+ <div class="news-title">{{text('新闻资讯')}}</div>
|
|
|
+ <div class="news-tips">{{config[lan_key('web_news_text')]}}</div>
|
|
|
+ <div class="news-content">
|
|
|
+ <div class="news-item" v-for="item in new_list.slice( 0 , 3 )">
|
|
|
+ <img class="item-cover" :src="item.image" alt="" />
|
|
|
+ <div class="item-time">{{item.time}}</div>
|
|
|
+ <div class="item-title">{{item[lan_key('name')]}}</div>
|
|
|
+ <div class="item-detail">{{item[lan_key('description')]}}</div>
|
|
|
+ <a
|
|
|
+ class="item-view-detail"
|
|
|
+ :href="'/news-detail.html?id=' + item.id"
|
|
|
+ >{{text('阅读详情')}}</a
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <a class="a-btn news-more" href="/news.html">{{text('查看更多')}}</a>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="contact"
|
|
|
+ :style="{backgroundImage:`url(${baseURL}${config.web_contact_image})`}"
|
|
|
+ >
|
|
|
+ <div class="contact-card">
|
|
|
+ <div class="card-title">{{text('在线留言')}}</div>
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ v-model="params.realname"
|
|
|
+ :placeholder="text('请输入您的称呼')"
|
|
|
+ />
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ v-model="params.tel"
|
|
|
+ :placeholder="text('请输入您的手机号')"
|
|
|
+ />
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ v-model="params.email"
|
|
|
+ :placeholder="text('请输入您的邮箱地址')"
|
|
|
+ />
|
|
|
+ <textarea
|
|
|
+ v-model="params.content"
|
|
|
+ :placeholder="text('请输入您的需求内容')"
|
|
|
+ ></textarea>
|
|
|
+ <div class="a-btn card-confirm" @click="submit">
|
|
|
+ {{text('提交')}}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="footer" class="footer">
|
|
|
+ <div class="footer-company-page">
|
|
|
+ <!-- <div class="footer-company">蓝芯算力(深圳)科技有限公司</div> -->
|
|
|
+ <img
|
|
|
+ class="footer-company"
|
|
|
+ :src="baseURL + config.web_logo_footer"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ <div class="footer-page">
|
|
|
+ <a
|
|
|
+ class="footer-page-item"
|
|
|
+ v-for="item in path_list"
|
|
|
+ :href="item.path"
|
|
|
+ >{{text(item.name)}}</a
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="footer-email-time">
|
|
|
+ <div class="footer-email footer-info">
|
|
|
+ <img class="footer-icon" src="./static/email.png" alt="" />
|
|
|
+ <span>{{config.web_email}}</span>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="footer-time">周一至周日9:00-18:00 (法定节假日除外)</div> -->
|
|
|
+ </div>
|
|
|
+ <div class="footer-place-phone">
|
|
|
+ <div class="footer-place footer-info">
|
|
|
+ <img class="footer-icon" src="./static/place.png" alt="" />
|
|
|
+ <span>{{config[lan_key('web_company_address')]}}</span>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="footer-phone footer-info"
|
|
|
+ v-if="config.web_tel && config.web_tel.tel1"
|
|
|
+ >
|
|
|
+ <img class="footer-icon" src="./static/phone.png" alt="" />
|
|
|
+ <span>{{config.web_tel? config.web_tel.tel1 : '-'}}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="footer-line"></div>
|
|
|
+ <div class="footer-term-ICP">
|
|
|
+ <div class="footer-term">
|
|
|
+ <a class="footer-term-item" href="/agreement.html?type=1"
|
|
|
+ >{{text('法律声明')}}</a
|
|
|
+ >
|
|
|
+ <span>|</span>
|
|
|
+ <a class="footer-term-item" href="/agreement.html?type=2"
|
|
|
+ >{{text('隐私条款')}}</a
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <div class="footer-ICP">
|
|
|
+ {{config[lan_key('web_copyright')]}} 
|
|
|
+ <a :href="config.web_beian_url">{{config.web_beian}}</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <script type="module" src="./js/components/header.js"></script>
|
|
|
+ <script type="module" src="./js/components/footer.js"></script>
|
|
|
+ <script type="module" src="./js/index.js"></script>
|
|
|
+ </body>
|
|
|
+</html>
|