|
|
@ -1,22 +1,25 @@ |
|
|
|
<template> |
|
|
|
<div class="detail_container"> |
|
|
|
<SubNavigation title="国网照明巡检摄像头 - 详情页" /> |
|
|
|
<Paragraph |
|
|
|
text="电力运维人员的日常工作有相当一部分是需要走到第一线去的,如设备检修、线路巡检 电源放电等。电力运维人员的一线工作呈现出“点多、" |
|
|
|
/> |
|
|
|
<CardTitle title="设计" blue_title="研发型外观" en="APPEARANCE" /> |
|
|
|
<Img :pic1="A1" :pic2="A1" /> |
|
|
|
<Intro :cardIntro="cardIntro" /> |
|
|
|
<Paragraph |
|
|
|
text="电力运维人员的日常工作有相当一部分是需要走到第一线去的,如设备检修、线路巡检 电源放电等。电力运维人员的一线工作呈现出“点多、" |
|
|
|
/> |
|
|
|
<video |
|
|
|
controls |
|
|
|
style="width: 100%; height: auto; object-fit: fill" |
|
|
|
controlslist="nodownload" |
|
|
|
> |
|
|
|
<source :src="MP4" /> |
|
|
|
</video> |
|
|
|
<Paragraph :text="getList()?.topText" /> |
|
|
|
<div v-for="(item, index) in getList()?.card" :key="index"> |
|
|
|
<CardTitle |
|
|
|
:title="item?.cardTitle" |
|
|
|
:blue_title="item?.cardBlueTitle" |
|
|
|
:en="item?.en" |
|
|
|
/> |
|
|
|
<Img :double="item?.isDouble" :pic1="item?.pic1" :pic2="item?.pic2" /> |
|
|
|
<Intro v-if="item?.cardIntro" :cardIntro="item?.cardIntro" /> |
|
|
|
<Paragraph v-if="item?.cardText" :text="item?.cardText" /> |
|
|
|
<video |
|
|
|
v-if="item?.video" |
|
|
|
controls |
|
|
|
style="width: 100%; height: auto; object-fit: fill" |
|
|
|
controlslist="nodownload" |
|
|
|
> |
|
|
|
<source :src="item?.video" /> |
|
|
|
</video> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -26,15 +29,24 @@ import Paragraph from 'cpns/detail/Paragraph' |
|
|
|
import CardTitle from 'cpns/detail/CardTitle' |
|
|
|
import Img from 'cpns/detail/Img' |
|
|
|
import Intro from 'cpns/detail/Intro' |
|
|
|
import MP4 from '@/static/video/a.mp4' |
|
|
|
import A1 from '@/static/img/company.jpg' |
|
|
|
import { ref } from 'vue' |
|
|
|
const cardIntro = ref([ |
|
|
|
{ |
|
|
|
title: '主机模块', |
|
|
|
desc: '内置自研电路板,光学机芯,电池,天线等。', |
|
|
|
}, |
|
|
|
]) |
|
|
|
import { detailList } from '@/mock/case_detail' |
|
|
|
import { useRoute } from 'vue-router' |
|
|
|
import { ref, onMounted } from 'vue' |
|
|
|
const route = useRoute() |
|
|
|
|
|
|
|
const getList = () => { |
|
|
|
return detailList[classify.value][pId.value] |
|
|
|
} |
|
|
|
|
|
|
|
const classify = ref('1') |
|
|
|
const pId = ref('1') |
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
if (route.query.t && route.query.p) { |
|
|
|
classify.value = route.query.t || '1' |
|
|
|
pId.value = route.query.p || '1' |
|
|
|
} |
|
|
|
}) |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|