index.vue 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <template>
  2. <div class="home-layout">
  3. <div class="plate01">
  4. <div class="my-video">
  5. <video :src="language==='en'?`${$cdn}video/banner1.mp4`:require('@/assets/images/refactor/home-video.mp4')" autoplay muted loop></video>
  6. <div class="container">
  7. <div class="video-info">
  8. <h1>四维看看Pro</h1>
  9. <p>精准实景复刻 传递空间价值</p>
  10. <div class="actions-w">
  11. <router-link class="buy-btn" to="/mall/kankanPro">立即购买</router-link>
  12. <router-link class="action-link" to="/about">了解更多</router-link>
  13. <span class="watch-btn action-link" @click="detailVideo">介绍视频</span>
  14. </div>
  15. <div class="distributor">
  16. <router-link to="/distributor" class=""><h-icon type="shouyegongzi" class="icon" /><span>成为经销商</span></router-link>
  17. </div>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <div class="plate02 container">
  23. <h1 class="common-title">行业解决方案</h1>
  24. <ul class="programme-list">
  25. <li :class="`programme-item ${active_index === index ? 'active' : ''}`" v-for="(item, index) in programme" :key="index" @click="changeActiveIndex(index)">
  26. {{ item.title }}
  27. </li>
  28. </ul>
  29. <ul class="solution-list">
  30. <li class="solution-content clear" v-for="(item,index) in programme" :key="index" >
  31. <transition name="fade">
  32. <div v-show="active_index === index">
  33. <div class="solution-bg" :style="{backgroundImage: `url(${item.img})`}" ></div>
  34. <div :class="`solution-intro `">
  35. <h4>{{ item.title_sub }}</h4>
  36. <p>{{ item.desc }}</p>
  37. <ul>
  38. <li v-for="(item, index) in item.list" :key="index">{{ item }}</li>
  39. </ul>
  40. <a href="javascript:;" class="more" @click="toMore(item)">更多 ></a>
  41. </div>
  42. </div>
  43. </transition>
  44. </li>
  45. </ul>
  46. </div>
  47. <div class="plate03 container clear">
  48. <h1 class="common-title">看看空间
  49. <router-link to="/cases/全部" class="more">更多</router-link>
  50. </h1>
  51. <h-row class="space-list" :gutter="20">
  52. <h-col :span="6" class="space-item" v-for="(item,index) in space" :key="index">
  53. <a :href="item.link" target="_blank">
  54. <img :src="item.bgImg">
  55. <p>{{item.text}}</p>
  56. </a>
  57. </h-col>
  58. </h-row>
  59. </div>
  60. <div class="plate04 container">
  61. <h1 class="common-title">核心技术</h1>
  62. <ul class="plate04-list">
  63. <li class="plate04-item" v-for="(item, index) in plate04List" :key="index">
  64. <img :src="item.imgUrl" alt="">
  65. <h3>{{item.title}}</h3>
  66. <p>{{item.desc}}</p>
  67. </li>
  68. </ul>
  69. </div>
  70. <div class="plate05 " ref="numcount">
  71. <div class="container">
  72. <h1 class="common-title">新闻动态
  73. <router-link to="/news" class="more">更多</router-link>
  74. </h1>
  75. <ul class="news-list">
  76. <li class="news-item" v-for="(item, index) in plate05List" :key="index" >
  77. <div class="news-img" :style="{backgroundImage: `url(${item.img})`}"></div>
  78. <div class="news-info">
  79. <p class="news-time">{{ item.time }}</p>
  80. <h5 class="news-title">{{ item.title }}</h5>
  81. <p class="news-content">{{ item.text }}</p>
  82. <div class="news-tag">{{ item.sub }}</div>
  83. </div>
  84. </li>
  85. </ul>
  86. </div>
  87. </div>
  88. <div class="plate06 container">
  89. <h1 class="common-title">合作伙伴</h1>
  90. </div>
  91. </div>
  92. </template>
  93. <script>
  94. import slide from '@/components/slide'
  95. import vcenter from '@/components/vcenter'
  96. import number from '@/components/number'
  97. import sequence from '@/components/sequence'
  98. import {mapState} from 'vuex'
  99. import { News } from '@/config/newsData'
  100. export default {
  101. data () {
  102. return {
  103. active_index: 0,
  104. isAnimation: false,
  105. swiperOptions: {
  106. effect: 'fade'
  107. },
  108. programme: [{
  109. title: '房产营销',
  110. title_sub: '房产营销',
  111. desc: '海量复刻真房源',
  112. img: require('@/assets/images/home/solutions-house.png'),
  113. list: ['AI自动建模,高效复刻真实房源', '云带看/云讲房,全方位介绍房源信息', '易上手操作,人人都能掌握拍摄流程', '专业地产营销系统,高效管理租售信息'],
  114. link: '/conductHouse'
  115. }, {
  116. title: '线上展会',
  117. title_sub: '线上展会',
  118. desc: '全方位复现展会信息,全球买家在线看展',
  119. img: require('@/assets/images/home/solutions-zhan.png'),
  120. list: ['AI图像重构技术,真实还原线下布展效果', '3D展品互动,720°无死角展示', '同屏在线洽谈,系统可对接供采信息', '自动收集展会数据,数据分析挖掘,降低获客成本'],
  121. link: '/conductExhibition'
  122. },
  123. {
  124. title: '数字文博',
  125. title_sub: '数字文博',
  126. desc: '助力打造永不落幕的博物馆',
  127. img: require('@/assets/images/home/solutions-bo.png'),
  128. list: ['珍贵陈展3D高清记录,方便留存与保护', '空间交互,让空间表达更多历史内涵', '大师讲解,一带多同屏讲述文化故事', '推动社科教育,促进社会参与'],
  129. link: '/conductSubject'
  130. },
  131. {
  132. title: 'VR购物',
  133. title_sub: 'VR购物',
  134. desc: '海量复刻真房源',
  135. img: require('@/assets/images/home/solutions-shop.png'),
  136. list: ['AI自动建模,高效复刻真实房源', '云带看/云讲房,全方位介绍房源信息', '易上手操作,人人都能掌握拍摄流程', '专业地产营销系统,高效管理租售信息']
  137. },
  138. {
  139. title: '安防勘查',
  140. title_sub: '安防勘查',
  141. desc: '高效复刻灾害现场,记录全面三维档案',
  142. img: require('@/assets/images/home/solutions-sec.png'),
  143. list: ['高效复刻灾害现场,记录全面三维档案', '支持预先采集存档,减少理赔纠纷']
  144. }],
  145. space: [
  146. {
  147. text: '雍正故宫',
  148. bgImg: require('@/assets/images/home/4case_01@2x.png')
  149. },
  150. {
  151. text: '小米有品',
  152. bgImg: require('@/assets/images/home/4case_02@2x.png'),
  153. link: 'https://www.4dkankan.com/showProPC.html?m=5p1fFyLxv'
  154. },
  155. {
  156. text: '华发依山郡',
  157. bgImg: require('@/assets/images/home/4case_03@2x.png')
  158. },
  159. {
  160. text: '万豪酒店',
  161. bgImg: require('@/assets/images/home/4case_04@2x.png')
  162. }
  163. ],
  164. plate04List: [
  165. {
  166. title: '空间数字化',
  167. desc: '自动化三维数字重建还原空间布局与结构',
  168. imgUrl: require('@/assets/images/home/space_01.png')
  169. },
  170. {
  171. title: '空间互动',
  172. desc: '自动导览 互动视频多形态动态热点',
  173. imgUrl: require('@/assets/images/home/space_02.png')
  174. },
  175. {
  176. title: '空间展示',
  177. desc: '无需插件,多端展示实现720°沉浸体验',
  178. imgUrl: require('@/assets/images/home/space_03.png')
  179. }
  180. ],
  181. plate05List: News.slice(0, 4)
  182. }
  183. },
  184. methods: {
  185. gobuy () {
  186. this.language === 'en' ? window.open('https://www.alibaba.com/product-detail/4DKanKan-Pro-3D-camera-3D-space_62183626283.html?spm=a2700.icbuShop.74.1.66b35b10I4miJd') : this.$router.push({url: '/mall/kankanPro'})
  187. },
  188. mediaClick () {
  189. this.$bus.$emit('showLeft', 'mediaInfo', {id: 83})
  190. },
  191. goto (url) {
  192. window.open(url, '_blank')
  193. },
  194. changeActiveIndex (index) {
  195. this.active_index = index
  196. this.isAnimation = true
  197. setTimeout(() => {
  198. this.isAnimation = false
  199. }, 500)
  200. },
  201. toMore (item) {
  202. this.$router.push(item.link)
  203. },
  204. detailVideo() {
  205. this.$bus.$emit('toggleVideo', { url: `https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/4dHouse/%E5%9B%9B%E7%BB%B4%E7%9C%8B%E7%9C%8BPro-%202020-7-22%E7%89%88%E6%9C%AC%288K%29.mp4` })
  206. }
  207. },
  208. computed: {
  209. ...mapState({
  210. langHome: state => state.language.home.home,
  211. language: state => state.language.current,
  212. token: state => state.user.token
  213. }),
  214. activeSolution () {
  215. return this.programme[this.active_index]
  216. }
  217. },
  218. mounted () {
  219. let open = this.$route.query.open
  220. setTimeout(() => {
  221. if (open && !this.token) {
  222. this.$bus.$emit('showAside')
  223. }
  224. })
  225. },
  226. destroyed () {
  227. },
  228. components: {vcenter,
  229. slide,
  230. number,
  231. sequence,
  232. }
  233. }
  234. </script>
  235. <style lang="scss" scoped>
  236. @import './style.scss';
  237. .fade-enter-active {
  238. opacity: 1;
  239. transition: opacity .5s ease-in-out;
  240. }
  241. .fade-leave-active {
  242. opacity: 0;
  243. }
  244. .fade-enter-to {
  245. opacity: 1;
  246. }
  247. .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  248. opacity: 0;
  249. }
  250. </style>