generated from maochaoying/dreamworks-frontend-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
762 B
32 lines
762 B
<template>
|
|
<div class="case_show_container">
|
|
<HeadLine
|
|
themeTitle="案例"
|
|
title="展示"
|
|
line1="医疗健康、智能硬件、工业设备、高铁设备、户外设备"
|
|
line2="特种设备、智能家居、实验仪器、消费电子"
|
|
/>
|
|
<Card :caseList="getData()" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import HeadLine from 'cpns/HeadLine'
|
|
import { caseList, hardCaseList } from '@/mock'
|
|
import Card from 'cpns/Card.vue'
|
|
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>
|
|
.case_show_container {
|
|
margin-top: 360px;
|
|
padding-bottom: 7px;
|
|
}
|
|
</style>
|