|
|
@ -1,18 +1,37 @@ |
|
|
|
<template> |
|
|
|
<div class="hardware_container"> |
|
|
|
<div class="top_wrap"><Top /></div> |
|
|
|
<div class="top_wrap"><Top :hardLogo="true" /></div> |
|
|
|
<img :src="Home1" class="bg" alt="" /> |
|
|
|
<Card :caseList="getData()" /> |
|
|
|
<HeadLine title="专家" themeTitle="电机控制" /> |
|
|
|
<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> |
|
|
|
<img :src="Home2" class="bg" alt="" /> |
|
|
|
<img :src="Home5" 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 Dian from '@/static/img/hardware/dianji.png' |
|
|
|
import Home1 from '@/static/img/newpage/home3.png' |
|
|
|
import SAccelerate from '@/static/img/hardware/s-accelerate.png' |
|
|
|
import TAccelerate from '@/static/img/hardware/t-accelerate.png' |
|
|
|
import Home2 from '@/static/img/newpage/home4.png' |
|
|
|
import Home5 from '@/static/img/newpage/home5.png' |
|
|
|
import Card from 'cpns/Card' |
|
|
|
import Gif1 from '@/static/img/hardware/1.gif' |
|
|
|
import Gif2 from '@/static/img/hardware/2.gif' |
|
|
|
import { caseList, hardCaseList } from '@/mock' |
|
|
|
import { useRoute } from 'vue-router' |
|
|
|
const route = useRoute() |
|
|
@ -31,6 +50,24 @@ const getData = () => { |
|
|
|
overflow: hidden; |
|
|
|
padding-bottom: 12px; |
|
|
|
background: #f6f6f6; |
|
|
|
.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; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.top_wrap { |
|
|
|
position: absolute; |
|
|
|
left: 0; |
|
|
@ -44,5 +81,9 @@ const getData = () => { |
|
|
|
width: 100vw; |
|
|
|
height: auto; |
|
|
|
} |
|
|
|
.img { |
|
|
|
width: 100%; |
|
|
|
height: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |