generated from maochaoying/dreamworks-frontend-template
11 changed files with 179 additions and 87 deletions
-
4src/components/Card.vue
-
21src/components/Top.vue
-
84src/pages/Hardware.bak.vue
-
100src/pages/Hardware.vue
-
48src/pages/Industry.vue
-
7src/pages/index.vue
-
2src/router/index.js
-
BINsrc/static/img/banner/newlogo2.png
-
BINsrc/static/img/newpage/home1.png
-
BINsrc/static/img/newpage/home2.png
-
BINsrc/static/img/newpage/home4.png
@ -0,0 +1,84 @@ |
|||||
|
<template> |
||||
|
<div class="hardware_home_container"> |
||||
|
<Swiper page="hardware" /> |
||||
|
<CaseShow /> |
||||
|
<div class="img_wrap"> |
||||
|
<img :src="Hard" class="img" alt="" /> |
||||
|
</div> |
||||
|
<HeadLine |
||||
|
title="合作过的" |
||||
|
themeTitle="芯片原厂" |
||||
|
:flip="true" |
||||
|
line1="医疗企业 互联网公司 智能硬件公司 科研院所 工业自动化企业" |
||||
|
/> |
||||
|
<img :src="Chip" class="img" alt="" /> |
||||
|
<img :src="Wu" class="img" alt="" /> |
||||
|
<!-- <Track /> --> |
||||
|
<HeadLine |
||||
|
title="专家" |
||||
|
themeTitle="电机控制" |
||||
|
line1="自主研发电机驱动器,让控制更加精准" |
||||
|
/> |
||||
|
<div class="img_wrap"> |
||||
|
<img :src="Dian" class="img" alt="" /> |
||||
|
<div class="gif_wrap"> |
||||
|
<img :src="Gif2" class="left_img" alt="" /> |
||||
|
<img :src="SAccelerate" class="right_img" alt="" /> |
||||
|
</div> |
||||
|
<div class="gif_wrap"> |
||||
|
<img :src="Gif1" class="left_img" alt="" /> |
||||
|
<img :src="TAccelerate" class="right_img" alt="" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
<AboutUs /> |
||||
|
<Cooperation /> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script setup> |
||||
|
import Swiper from 'cpns/Swiper' |
||||
|
import CaseShow from 'cpns/CaseShow' |
||||
|
import Hard from '@/static/img/hardware/hardware.png' |
||||
|
import Chip from '@/static/img/hardware/chip.png' |
||||
|
import HeadLine from 'cpns/HeadLine' |
||||
|
import Track from 'cpns/Track' |
||||
|
import Wu from '@/static/img/hardware/wulianwang.png' |
||||
|
import Dian from '@/static/img/hardware/dianji.png' |
||||
|
import AboutUs from 'cpns/AboutUs.vue' |
||||
|
import Cooperation from 'cpns/Cooperation' |
||||
|
import Bottom from 'cpns/Bottom' |
||||
|
import SAccelerate from '@/static/img/hardware/s-accelerate.png' |
||||
|
import TAccelerate from '@/static/img/hardware/t-accelerate.png' |
||||
|
import Gif1 from '@/static/img/hardware/1.gif' |
||||
|
import Gif2 from '@/static/img/hardware/2.gif' |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.hardware_home_container { |
||||
|
background: #f5f5f5; |
||||
|
max-width: 100vw; |
||||
|
overflow: hidden; |
||||
|
.img_wrap { |
||||
|
padding: 0 7px; |
||||
|
.gif_wrap { |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
margin-bottom: 5px; |
||||
|
border-radius: 3px; |
||||
|
overflow: hidden; |
||||
|
.left_img { |
||||
|
width: 133px; |
||||
|
height: 67px; |
||||
|
} |
||||
|
.right_img { |
||||
|
width: 63%; |
||||
|
height: 67px; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
.img { |
||||
|
width: 100%; |
||||
|
height: auto; |
||||
|
} |
||||
|
} |
||||
|
</style> |
@ -1,83 +1,47 @@ |
|||||
<template> |
<template> |
||||
<div class="hardware_home_container"> |
|
||||
<Swiper page="hardware" /> |
|
||||
<CaseShow /> |
|
||||
<div class="img_wrap"> |
|
||||
<img :src="Hard" class="img" alt="" /> |
|
||||
</div> |
|
||||
<HeadLine |
|
||||
title="合作过的" |
|
||||
themeTitle="芯片原厂" |
|
||||
:flip="true" |
|
||||
line1="医疗企业 互联网公司 智能硬件公司 科研院所 工业自动化企业" |
|
||||
/> |
|
||||
<img :src="Chip" class="img" alt="" /> |
|
||||
<img :src="Wu" class="img" alt="" /> |
|
||||
<!-- <Track /> --> |
|
||||
<HeadLine |
|
||||
title="专家" |
|
||||
themeTitle="电机控制" |
|
||||
line1="自主研发电机驱动器,让控制更加精准" |
|
||||
/> |
|
||||
<div class="img_wrap"> |
|
||||
<img :src="Dian" class="img" alt="" /> |
|
||||
<div class="gif_wrap"> |
|
||||
<img :src="Gif2" class="left_img" alt="" /> |
|
||||
<img :src="SAccelerate" class="right_img" alt="" /> |
|
||||
</div> |
|
||||
<div class="gif_wrap"> |
|
||||
<img :src="Gif1" class="left_img" alt="" /> |
|
||||
<img :src="TAccelerate" class="right_img" alt="" /> |
|
||||
</div> |
|
||||
</div> |
|
||||
<AboutUs /> |
|
||||
<Cooperation /> |
|
||||
|
<div class="hardware_container"> |
||||
|
<div class="top_wrap"><Top /></div> |
||||
|
<img :src="Home1" class="bg" alt="" /> |
||||
|
<Card :caseList="getData()" /> |
||||
|
<img :src="Home2" class="bg" alt="" /> |
||||
</div> |
</div> |
||||
</template> |
</template> |
||||
|
|
||||
<script setup> |
<script setup> |
||||
import Swiper from 'cpns/Swiper' |
|
||||
import CaseShow from 'cpns/CaseShow' |
|
||||
import Hard from '@/static/img/hardware/hardware.png' |
|
||||
import Chip from '@/static/img/hardware/chip.png' |
|
||||
|
import Top from 'cpns/Top' |
||||
import HeadLine from 'cpns/HeadLine' |
import HeadLine from 'cpns/HeadLine' |
||||
import Track from 'cpns/Track' |
|
||||
import Wu from '@/static/img/hardware/wulianwang.png' |
|
||||
import Dian from '@/static/img/hardware/dianji.png' |
|
||||
import AboutUs from 'cpns/AboutUs.vue' |
|
||||
import Cooperation from 'cpns/Cooperation' |
|
||||
import Bottom from 'cpns/Bottom' |
|
||||
import SAccelerate from '@/static/img/hardware/s-accelerate.png' |
|
||||
import TAccelerate from '@/static/img/hardware/t-accelerate.png' |
|
||||
import Gif1 from '@/static/img/hardware/1.gif' |
|
||||
import Gif2 from '@/static/img/hardware/2.gif' |
|
||||
|
import Home1 from '@/static/img/newpage/home1.png' |
||||
|
import Home2 from '@/static/img/newpage/home4.png' |
||||
|
import Card from 'cpns/Card' |
||||
|
import { caseList, hardCaseList } from '@/mock' |
||||
|
import { useRoute } from 'vue-router' |
||||
|
const route = useRoute() |
||||
|
|
||||
|
const getData = () => { |
||||
|
if (route.path.indexOf('/hardware') != -1) { |
||||
|
return hardCaseList |
||||
|
} |
||||
|
return caseList |
||||
|
} |
||||
</script> |
</script> |
||||
|
|
||||
<style lang="scss" scoped> |
<style lang="scss" scoped> |
||||
.hardware_home_container { |
|
||||
background: #f5f5f5; |
|
||||
|
.hardware_container { |
||||
max-width: 100vw; |
max-width: 100vw; |
||||
overflow: hidden; |
overflow: hidden; |
||||
.img_wrap { |
|
||||
padding: 0 7px; |
|
||||
.gif_wrap { |
|
||||
display: flex; |
|
||||
align-items: center; |
|
||||
margin-bottom: 5px; |
|
||||
border-radius: 3px; |
|
||||
overflow: hidden; |
|
||||
.left_img { |
|
||||
width: 133px; |
|
||||
height: 67px; |
|
||||
} |
|
||||
.right_img { |
|
||||
width: 63%; |
|
||||
height: 67px; |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
.img { |
|
||||
|
padding-bottom: 12px; |
||||
|
background: #f6f6f6; |
||||
|
.top_wrap { |
||||
|
position: absolute; |
||||
|
left: 0; |
||||
|
top: 0; |
||||
|
right: 0; |
||||
width: 100%; |
width: 100%; |
||||
|
height: 47px; |
||||
|
z-index: 200; |
||||
|
} |
||||
|
.bg { |
||||
|
width: 100vw; |
||||
height: auto; |
height: auto; |
||||
} |
} |
||||
} |
} |
||||
|
@ -0,0 +1,48 @@ |
|||||
|
<template> |
||||
|
<div class="industry_container"> |
||||
|
<div class="top_wrap"><Top /></div> |
||||
|
<img :src="Home1" class="bg" alt="" /> |
||||
|
<Card :caseList="getData()" /> |
||||
|
<img :src="Home2" class="bg" alt="" /> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script setup> |
||||
|
import Top from 'cpns/Top' |
||||
|
import HeadLine from 'cpns/HeadLine' |
||||
|
import Home1 from '@/static/img/newpage/home1.png' |
||||
|
import Home2 from '@/static/img/newpage/home2.png' |
||||
|
import Card from 'cpns/Card' |
||||
|
import { caseList, hardCaseList } from '@/mock' |
||||
|
import { useRoute } from 'vue-router' |
||||
|
const route = useRoute() |
||||
|
|
||||
|
const getData = () => { |
||||
|
if (route.path.indexOf('/hardware') != -1) { |
||||
|
return hardCaseList |
||||
|
} |
||||
|
return caseList |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.industry_container { |
||||
|
max-width: 100vw; |
||||
|
overflow: hidden; |
||||
|
padding-bottom: 12px; |
||||
|
background: #f6f6f6; |
||||
|
.top_wrap { |
||||
|
position: absolute; |
||||
|
left: 0; |
||||
|
top: 0; |
||||
|
right: 0; |
||||
|
width: 100%; |
||||
|
height: 47px; |
||||
|
z-index: 200; |
||||
|
} |
||||
|
.bg { |
||||
|
width: 100vw; |
||||
|
height: auto; |
||||
|
} |
||||
|
} |
||||
|
</style> |
After Width: 258 | Height: 74 | Size: 7.4 KiB |
After Width: 1100 | Height: 1313 | Size: 807 KiB |
After Width: 1080 | Height: 2973 | Size: 1.0 MiB |
After Width: 1080 | Height: 2735 | Size: 874 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue