|
|
|
@ -1,71 +1,88 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<div id="container" class="container"></div>
|
|
|
|
|
<div class="tool">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('factoryIntroduction')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">工厂介绍</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('productDistribution')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">产品分布</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('dataCentre')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">数据中心</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('现场直播')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">现场直播</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('工艺流程')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">工艺流程</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('production')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">生产</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('质量')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">质量</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('厂房视角')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">设备</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="test">
|
|
|
|
|
<div id="container" class="container"></div>
|
|
|
|
|
<div class="tool">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('factoryIntroduction')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">工厂介绍</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('productDistribution')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">产品分布</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('dataCentre')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">数据中心</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('现场直播')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">现场直播</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click2()">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">工艺流程</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('production')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple">生产</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('质量')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">质量</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="toolItem" @click="click1('厂房视角')">
|
|
|
|
|
<i class="el-icon-s-tools" style="font-size:2.2vw"></i>
|
|
|
|
|
<div class="grid-content bg-purple-light">设备</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<factory-introduction :exit="exit" v-if="show === 'factoryIntroduction'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<product-distribution :exit="exit" v-if="show === 'productDistribution'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<data-centre :exit="exit" v-if="show === 'dataCentre'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<production :exit="exit" v-if="show === 'production'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<factory-introduction :exit="exit" v-if="show === 'factoryIntroduction'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<product-distribution :exit="exit" v-if="show === 'productDistribution'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<data-centre :exit="exit" v-if="show === 'dataCentre'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<transition name="children">
|
|
|
|
|
<production :exit="exit" v-if="show === 'production'"/>
|
|
|
|
|
</transition>
|
|
|
|
|
<div class="flowChart" v-show="show1">
|
|
|
|
|
<div class="flowItem" v-for="(i,k) in flowItemOptions" @click="setNowFlowIndex(k)"
|
|
|
|
|
:class="nowFlowIndex === k ? 'wireAnimation' : ''"
|
|
|
|
|
:style="`width:${i.width}vw;height:${i.height}vw;top:${i.top}%;left:${i.left}%;background: linear-gradient(to bottom, ${nowFlowIndex === k ? '#00911F': i.bgColor+'66'}, ${nowFlowIndex === k ? '#00370C': i.bgColor});z-index:2;`">
|
|
|
|
|
<span>{{ i.text }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wire" v-for="i in wireOptions"
|
|
|
|
|
:style="`width:${i.width}vw;height:${i.height}vw;top:${i.top}%;left:${i.left}%;background-color:${i.bgColor};z-index:0;`"></div>
|
|
|
|
|
<div class="wire1" v-for="i in wireOptions1"
|
|
|
|
|
:style="`width:${i.width}vw;height:${i.height}vw;top:${i.top}%;left:${i.left}%;background-color:${i.bgColor};z-index:0;`"></div>
|
|
|
|
|
<div class="arrows" v-for="i in arrowsOptions"
|
|
|
|
|
:style="`top:${i.top}%;left:${i.left}%;z-index:1;`"></div>
|
|
|
|
|
<div class="arrows1"
|
|
|
|
|
style="top: 44.3%;left: 53.7%;z-index: 1;"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -100,6 +117,394 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
viewer: null,
|
|
|
|
|
show: '',
|
|
|
|
|
show1: false,
|
|
|
|
|
nowFlowIndex: null,
|
|
|
|
|
flowItemOptions: [
|
|
|
|
|
// 一层
|
|
|
|
|
{
|
|
|
|
|
top: 2,
|
|
|
|
|
left: 1,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '内胆自助成型'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 2,
|
|
|
|
|
left: 9.3,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '内胆预装'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 2,
|
|
|
|
|
left: 17.6,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '内胆集存库'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 二层
|
|
|
|
|
{
|
|
|
|
|
top: 35,
|
|
|
|
|
left: 1,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '箱壳自动成型'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 35,
|
|
|
|
|
left: 9.3,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '箱壳预装'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 35,
|
|
|
|
|
left: 17.6,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '箱壳集存库'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 一二合
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 25.9,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '壳胆组装'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 34.2,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '箱体预装'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 42.5,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '箱体发泡'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 50.8,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '门体安装'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 59.1,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '发泡箱体库'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 67.4,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '焊接'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 75.7,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '抽空灌注'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 84,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '性能检测'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 17,
|
|
|
|
|
left: 92.3,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '包装入库'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 三层
|
|
|
|
|
{
|
|
|
|
|
top: 68,
|
|
|
|
|
left: 1,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '门壳自动成型'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 68,
|
|
|
|
|
left: 17.6,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '门壳预装'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 68,
|
|
|
|
|
left: 34.2,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '门体发泡'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 68,
|
|
|
|
|
left: 50.8,
|
|
|
|
|
width: 6,
|
|
|
|
|
height: 4,
|
|
|
|
|
bgColor: '#00aa00',
|
|
|
|
|
text: '箱、门匹配输送'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
wireOptions: [
|
|
|
|
|
// 一层
|
|
|
|
|
{
|
|
|
|
|
top: 15,
|
|
|
|
|
left: 7,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 15,
|
|
|
|
|
left: 15.3,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 15,
|
|
|
|
|
left: 23.6,
|
|
|
|
|
width: 1,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 二层
|
|
|
|
|
{
|
|
|
|
|
top: 48,
|
|
|
|
|
left: 7,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 48,
|
|
|
|
|
left: 15.3,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 48,
|
|
|
|
|
left: 23.6,
|
|
|
|
|
width: 1,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 一二合
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 24.6,
|
|
|
|
|
width: 1,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 31.9,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 40.2,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 48.5,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 56.8,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 65.1,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 73.4,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 81.7,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 31,
|
|
|
|
|
left: 90,
|
|
|
|
|
width: 2,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 三层
|
|
|
|
|
{
|
|
|
|
|
top: 80,
|
|
|
|
|
left: 7,
|
|
|
|
|
width: 10,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 80,
|
|
|
|
|
left: 23.6,
|
|
|
|
|
width: 10,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 80,
|
|
|
|
|
left: 40.2,
|
|
|
|
|
width: 10,
|
|
|
|
|
height: 0.25,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
wireOptions1: [
|
|
|
|
|
{
|
|
|
|
|
top: 15,
|
|
|
|
|
left: 24.6,
|
|
|
|
|
width: 0.25,
|
|
|
|
|
height: 5,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 46.1,
|
|
|
|
|
left: 54.2,
|
|
|
|
|
width: 0.25,
|
|
|
|
|
height: 3.3,
|
|
|
|
|
bgColor: '#4472c4',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
arrowsOptions: [
|
|
|
|
|
|
|
|
|
|
// 一层
|
|
|
|
|
{
|
|
|
|
|
top: 13,
|
|
|
|
|
left: 8.5,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 13,
|
|
|
|
|
left: 16.8,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 二层
|
|
|
|
|
{
|
|
|
|
|
top: 46.3,
|
|
|
|
|
left: 8.5,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 46.3,
|
|
|
|
|
left: 16.8,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 一二合
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 25.1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 33.4,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 41.7,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 50,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 58.3,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 66.6,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 74.9,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 83.2,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 29.3,
|
|
|
|
|
left: 91.5,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 三层
|
|
|
|
|
{
|
|
|
|
|
top: 78.2,
|
|
|
|
|
left: 16.8,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 78.2,
|
|
|
|
|
left: 33.4,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
top: 78.2,
|
|
|
|
|
left: 50,
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async mounted() {
|
|
|
|
@ -109,11 +514,6 @@ export default {
|
|
|
|
|
appsecret: 'rXmhoLAiOPNKzbl7g2qxCV8tFwRdYuZM'
|
|
|
|
|
}
|
|
|
|
|
const viewer = new AMRT.Viewer('container', param)
|
|
|
|
|
console.log(viewer)
|
|
|
|
|
console.log(viewer.core)
|
|
|
|
|
console.log(viewer.core?.Object3D)
|
|
|
|
|
// const gui = new dat.GUI()
|
|
|
|
|
// console.log(gui)
|
|
|
|
|
let num = 0
|
|
|
|
|
let modelArr = [
|
|
|
|
|
// '1720315475507941376',
|
|
|
|
@ -147,8 +547,8 @@ export default {
|
|
|
|
|
// '1730412089115283456',
|
|
|
|
|
// '1730412127476387840',
|
|
|
|
|
// '1730412170082127872',
|
|
|
|
|
'1730434866786471936',
|
|
|
|
|
'1730434916656746496',
|
|
|
|
|
// '1730434866786471936',
|
|
|
|
|
// '1730434916656746496',
|
|
|
|
|
// '1730412271693336576',
|
|
|
|
|
// '1730412211886755840',
|
|
|
|
|
|
|
|
|
@ -204,9 +604,20 @@ export default {
|
|
|
|
|
methods: {
|
|
|
|
|
click1(e) {
|
|
|
|
|
this.show = e
|
|
|
|
|
this.show1 = false
|
|
|
|
|
},
|
|
|
|
|
click2() {
|
|
|
|
|
if (this.show1 === false) {
|
|
|
|
|
this.show1 = true
|
|
|
|
|
} else {
|
|
|
|
|
this.show1 = false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
exit() {
|
|
|
|
|
this.show = ''
|
|
|
|
|
},
|
|
|
|
|
setNowFlowIndex(k) {
|
|
|
|
|
this.nowFlowIndex = k
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
@ -219,16 +630,16 @@ export default {
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh
|
|
|
|
|
height: 33.33vw;
|
|
|
|
|
//height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tool {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 60%;
|
|
|
|
|
height: 20vh;
|
|
|
|
|
top: 80%;
|
|
|
|
|
top: 98%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
transform: translate(-50%, -100%);
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 1vw;
|
|
|
|
|
|
|
|
|
@ -243,6 +654,14 @@ export default {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.test {
|
|
|
|
|
top: 20%;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 33.33vw;
|
|
|
|
|
//height: 100vh;
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.children-enter-active {
|
|
|
|
|
animation: children-in 1s;
|
|
|
|
|
}
|
|
|
|
@ -261,4 +680,76 @@ export default {
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.flowChart {
|
|
|
|
|
width: 96vw;
|
|
|
|
|
height: 15vw;
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
left: 50%;
|
|
|
|
|
top: 1%;
|
|
|
|
|
|
|
|
|
|
.flowItem {
|
|
|
|
|
position: absolute;
|
|
|
|
|
border-radius: 0.5vw;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 1.05vw;
|
|
|
|
|
border: 0.25vw solid #fff;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
width: 90%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wire {
|
|
|
|
|
position: absolute;
|
|
|
|
|
border-radius: 0.15vw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wire1 {
|
|
|
|
|
position: absolute;
|
|
|
|
|
transform: translateX(-100%);
|
|
|
|
|
border-radius: 0.15vw;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arrows {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
border-top: 0.4vw solid transparent;
|
|
|
|
|
border-bottom: 0.4vw solid transparent;
|
|
|
|
|
border-left: 0.8vw solid #4472c4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arrows1 {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
border-left: 0.4vw solid transparent;
|
|
|
|
|
border-right: 0.4vw solid transparent;
|
|
|
|
|
border-bottom: 0.8vw solid #4472c4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wireAnimation {
|
|
|
|
|
animation: 2s linear 0s infinite normal none running current_winkle;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes current_winkle {
|
|
|
|
|
0% {
|
|
|
|
|
border: 0.25vw solid #fff;
|
|
|
|
|
}
|
|
|
|
|
50% {
|
|
|
|
|
border: 0.25vw solid #F70E0E;
|
|
|
|
|
}
|
|
|
|
|
100% {
|
|
|
|
|
border: 0.25vw solid #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|