index.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>首页</title>
  7. <link rel="stylesheet" href="./css/common/default.css" />
  8. <link rel="stylesheet" href="./css/components/header.css" />
  9. <link rel="stylesheet" href="./css/components/footer.css" />
  10. <link rel="stylesheet" href="./css/index.css" />
  11. <link rel="stylesheet" href="./css/common/swiper-bundle.min.css" />
  12. <script src="./js/lib/swiper-bundle.min.js"></script>
  13. <script src="./js/lib/vue.min.js"></script>
  14. <script src="./js/lib/axios.min.js"></script>
  15. <script src="./js/common/browser-resize.js"></script>
  16. </head>
  17. <body>
  18. <div class="wrap">
  19. <div
  20. id="header"
  21. class="header"
  22. style="background: transparent; --color: #fff"
  23. >
  24. <img class="header-logo" :src="logo_path" alt="" />
  25. <div class="header-nav">
  26. <a
  27. v-for="item in path_list"
  28. :href="item.path"
  29. :class="{'current':current_path.includes(item.path)}"
  30. >{{text(item.name)}}</a
  31. >
  32. </div>
  33. <div class="header-language">
  34. <span
  35. :class="[current_language=='chs'?'current':'no-current']"
  36. @click="changeLanguage('chs')"
  37. >中文(简体)</span
  38. >
  39. <span>|</span>
  40. <span
  41. :class="[current_language=='en'?'current':'no-current']"
  42. @click="changeLanguage('en')"
  43. >English</span
  44. >
  45. </div>
  46. </div>
  47. <div id="app">
  48. <div class="swiper carousel">
  49. <div class="swiper-wrapper">
  50. <div class="swiper-slide" v-for="item in carousel_list">
  51. <div class="carousel-item">
  52. <img
  53. class="carousel-img"
  54. :src="item.image
  55. "
  56. />
  57. <div class="carousel-info" v-html="item[lan_key('title')]">
  58. <!-- <div class="title-1">紧凑级高性价比</div>
  59. <div class="title-2">全场景物联网终端芯片</div>
  60. <div class="title-3">解决方案</div> -->
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="carousel-control">
  66. <div
  67. class="btn"
  68. :class="{disabled : !swiper.activeIndex}"
  69. @click="swiper.slidePrev()"
  70. >
  71. <img class="icon" src="./static/toleft.png" alt="" />
  72. </div>
  73. <div class="index">
  74. <span>{{swiper.activeIndex + 1}}</span> / {{carousel_list.length}}
  75. </div>
  76. <div
  77. class="btn"
  78. :class="{disabled : carousel_list.length - 1 == swiper.activeIndex }"
  79. @click="swiper.slideNext()"
  80. >
  81. <img class="icon" src="./static/toright.png" alt="" />
  82. </div>
  83. </div>
  84. <div class="carousel-scroll">
  85. <div
  86. class="scroll-item"
  87. v-for="(_ , index) in carousel_list"
  88. :class="{current:index == swiper.activeIndex}"
  89. @click="swiper.slideTo(index)"
  90. ></div>
  91. </div>
  92. <div class="carousel-info">
  93. <div class="title-1">紧凑级高性价比</div>
  94. <div class="title-2">全场景物联网终端芯片</div>
  95. <div class="title-3">解决方案</div>
  96. </div>
  97. </div>
  98. <div class="about">
  99. <div class="info">
  100. <a class="href" href="/about.html">{{text('关于蓝芯算力')}}</a>
  101. <div class="title">{{config[lan_key('web_about')]}}</div>
  102. <div class="detail">{{config[lan_key('web_about_content')]}}</div>
  103. <a class="more a-btn" href="/about.html">{{text('探索更多')}}</a>
  104. </div>
  105. <video controls muted loop class="video">
  106. <source
  107. v-if="config.web_about_video"
  108. :src="baseURL + config.web_about_video"
  109. />
  110. </video>
  111. </div>
  112. <div
  113. class="company"
  114. :style="{backgroundImage:`url(${baseURL}${company_list[company_tab]})`}"
  115. >
  116. <div class="company-tab">
  117. <div class="tab-item" @click="company_tab = 0">
  118. {{text('公司使命')}}
  119. <div class="tab-item-bottom" v-if="company_tab == 0"></div>
  120. </div>
  121. <div class="tab-line">
  122. <div></div>
  123. <div></div>
  124. <div></div>
  125. </div>
  126. <div class="tab-item" @click="company_tab = 1">
  127. {{text('公司愿景')}}
  128. <div class="tab-item-bottom" v-if="company_tab == 1"></div>
  129. </div>
  130. <div class="tab-line">
  131. <div></div>
  132. <div></div>
  133. <div></div>
  134. </div>
  135. <div class="tab-item" @click="company_tab = 2">
  136. {{text('未来设想')}}
  137. <div class="tab-item-bottom" v-if="company_tab == 2"></div>
  138. </div>
  139. </div>
  140. </div>
  141. <div class="product">
  142. <div class="product-title">{{text('产品中心')}}</div>
  143. <div class="product-tips">
  144. {{config[lan_key('web_product_text')]}}
  145. </div>
  146. <img class="product-img" :src="baseURL + product_img" />
  147. <!-- <div class="product-tab">
  148. <div
  149. class="tab-item"
  150. v-for="item in product_tab_list"
  151. :class="{current:item == product_tab}"
  152. @click="product_tab = item"
  153. >
  154. {{item[lan_key('name')]}}
  155. </div>
  156. </div> -->
  157. <!-- <div class="product-content">
  158. <div class="content-info">
  159. <div class="info-title">{{product_tab[lan_key('name')]}}</div>
  160. <div class="info-detail">
  161. {{product_tab[lan_key('description')]}}
  162. </div>
  163. <a class="info-more a-btn" href="/product.html"
  164. >{{text('了解更多')}}</a
  165. >
  166. </div>
  167. <img class="content-img" :src="product_tab.image" alt="" />
  168. </div> -->
  169. </div>
  170. <div class="news">
  171. <div class="news-title">{{text('新闻资讯')}}</div>
  172. <div class="news-tips">{{config[lan_key('web_news_text')]}}</div>
  173. <div class="news-content">
  174. <div class="news-item" v-for="item in new_list.slice( 0 , 3 )">
  175. <img class="item-cover" :src="item.image" alt="" />
  176. <div class="item-time">{{item.time}}</div>
  177. <div class="item-title">{{item[lan_key('name')]}}</div>
  178. <div class="item-detail">{{item[lan_key('description')]}}</div>
  179. <a
  180. class="item-view-detail"
  181. :href="'/news-detail.html?id=' + item.id"
  182. >{{text('阅读详情')}}</a
  183. >
  184. </div>
  185. </div>
  186. <a class="a-btn news-more" href="/news.html">{{text('查看更多')}}</a>
  187. </div>
  188. <div
  189. class="contact"
  190. :style="{backgroundImage:`url(${baseURL}${config.web_contact_image})`}"
  191. >
  192. <div class="contact-card">
  193. <div class="card-title">{{text('在线留言')}}</div>
  194. <input
  195. type="text"
  196. v-model="params.realname"
  197. :placeholder="text('请输入您的称呼')"
  198. />
  199. <input
  200. type="text"
  201. v-model="params.tel"
  202. :placeholder="text('请输入您的手机号')"
  203. />
  204. <input
  205. type="text"
  206. v-model="params.email"
  207. :placeholder="text('请输入您的邮箱地址')"
  208. />
  209. <textarea
  210. v-model="params.content"
  211. :placeholder="text('请输入您的需求内容')"
  212. ></textarea>
  213. <div class="a-btn card-confirm" @click="submit">
  214. {{text('提交')}}
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. <div id="footer" class="footer">
  220. <div class="footer-company-page">
  221. <!-- <div class="footer-company">蓝芯算力(深圳)科技有限公司</div> -->
  222. <img
  223. class="footer-company"
  224. :src="baseURL + config.web_logo_footer"
  225. alt=""
  226. />
  227. <div class="footer-page">
  228. <a
  229. class="footer-page-item"
  230. v-for="item in path_list"
  231. :href="item.path"
  232. >{{text(item.name)}}</a
  233. >
  234. </div>
  235. </div>
  236. <div class="footer-email-time">
  237. <div class="footer-email footer-info">
  238. <img class="footer-icon" src="./static/email.png" alt="" />
  239. <span>{{config.web_email}}</span>
  240. </div>
  241. <!-- <div class="footer-time">周一至周日9:00-18:00 (法定节假日除外)</div> -->
  242. </div>
  243. <div class="footer-place-phone">
  244. <div class="footer-place footer-info">
  245. <img class="footer-icon" src="./static/place.png" alt="" />
  246. <span>{{config[lan_key('web_company_address')]}}</span>
  247. </div>
  248. <div
  249. class="footer-phone footer-info"
  250. v-if="config.web_tel && config.web_tel.tel1"
  251. >
  252. <img class="footer-icon" src="./static/phone.png" alt="" />
  253. <span>{{config.web_tel? config.web_tel.tel1 : '-'}}</span>
  254. </div>
  255. </div>
  256. <div class="footer-line"></div>
  257. <div class="footer-term-ICP">
  258. <div class="footer-term">
  259. <a class="footer-term-item" href="/agreement.html?type=1"
  260. >{{text('法律声明')}}</a
  261. >
  262. <span>|</span>
  263. <a class="footer-term-item" href="/agreement.html?type=2"
  264. >{{text('隐私条款')}}</a
  265. >
  266. </div>
  267. <div class="footer-ICP">
  268. {{config[lan_key('web_copyright')]}}&emsp;
  269. <a :href="config.web_beian_url">{{config.web_beian}}</a>
  270. </div>
  271. </div>
  272. </div>
  273. </div>
  274. <script type="module" src="./js/components/header.js"></script>
  275. <script type="module" src="./js/components/footer.js"></script>
  276. <script type="module" src="./js/index.js"></script>
  277. </body>
  278. </html>