修改大屏显示

master
夜笙歌 11 months ago
parent f330b3e68e
commit 6e5b51f04c

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@ -1 +1 @@
{"sky":{"a":"sky/a/04a7d4d3-c071-4223-9ecb-b3f7463aa257.hdr","b":"sky/b/1d41cc4e-2504-42c8-b6ab-1710d79052f8.jpg"},"mat":["mat/08b5ea5843d94451a0c4672ad705fb2e.json"],"instance":["instance/9d3f64f01c95465e9e015fb7da48c737.mrmb"],"box":{"max":[1643.9346923828125,36.417999267578125,656.109375],"min":[-1077.169921875,-6.0707221031188965,-843.8449096679688]},"m":["m/617164a797ff4561a3e172adc780e6d6.mrmb"],"addition":["addition/2dbf16100d85430c9bfba3b033161313.mrmb"]}
{"sky":{"a":"sky/a/04a7d4d3-c071-4223-9ecb-b3f7463aa257.hdr","b":"sky/b/1d41cc4e-2504-42c8-b6ab-1710d79052f8.jpg"},"mat":["mat/mat.json"],"instance":["instance/9d3f64f01c95465e9e015fb7da48c737.mrmb"],"box":{"max":[1643.9346923828125,36.417999267578125,656.109375],"min":[-1077.169921875,-6.0707221031188965,-843.8449096679688]},"m":["m/617164a797ff4561a3e172adc780e6d6.mrmb"],"scene":"scene/scene.json","sceneData":"sceneData/sceneData.json","addition":["addition/2dbf16100d85430c9bfba3b033161313.mrmb"]}

@ -1 +0,0 @@
{"a":[{"ee":"wire_137180228","ii":32,"a":0,"b":[0.5373,0.7059,0.8941],"jr":1,"j":1},{"ee":"wire_075148229","ii":32,"a":1,"b":[0.2941,0.5804,0.898],"jr":1,"j":1},{"ee":"wire_195174000","ii":32,"a":2,"b":[0.7647,0.6824,0],"jr":1,"j":1},{"ee":"wire_145197255","ii":32,"a":3,"b":[0.5686,0.7725,1],"jr":1,"j":1},{"a":4,"re":2}],"b":{},"version":"1","z":{}}

@ -0,0 +1 @@
{"a":[{"gg":0,"hh":0,"ii":32,"jj":true,"kk":2000,"ee":"wire_195174000","a":2,"b":[0.7647,0.6824,0],"d":[0,0,0],"os":false,"e":1,"pv":true,"g":0,"h":0,"jr":1,"i":1,"j":1,"lw":false,"transparent":false,"dt":true,"dw":true,"si":0,"rm":false,"qn":0},{"gg":0,"hh":0,"ii":32,"jj":true,"kk":2000,"ee":"wire_145197255","a":3,"b":[0.5686,0.7725,1],"d":[0,0,0],"os":false,"e":1,"pv":true,"g":0,"h":0,"jr":1,"i":1,"j":1,"lw":false,"transparent":false,"dt":true,"dw":true,"si":0,"rm":false,"qn":0},{"gg":0,"hh":0,"ii":1,"jj":true,"kk":2000,"ee":"wire_075148229","a":1,"b":[0.2901960784313726,0.5803921568627451,0.8941176470588236],"d":[0,0,0],"os":false,"e":1,"pv":true,"g":0,"h":0,"jr":1,"i":1,"j":1,"lw":false,"transparent":false,"dt":true,"dw":true,"si":2,"rm":false,"qn":0},{"gg":0,"hh":0,"ii":1,"jj":true,"kk":2000,"ee":"wire_137180228","a":0,"b":[0.8431372549019608,0.9490196078431372,1],"d":[0,0,0],"os":false,"e":1,"pv":true,"g":0,"h":0,"jr":1,"i":1,"j":1,"lw":false,"transparent":false,"dt":true,"dw":true,"si":2,"rm":false,"qn":0},{"a":4,"re":2}],"b":{},"c":{},"z":{},"ed":true}

@ -0,0 +1 @@
{"a":{"aa":"#ffffff","ab":0.7},"b":{"bb":0.3,"bc":[0,0.7071067811865475,0.7071067811865475],"bv":true,"ba":"#ffffff"},"c":1,"ei":0.7,"e":"04a7d4d3-c071-4223-9ecb-b3f7463aa257.hdr","f":{"a":0,"b":0,"v":false},"g":{"d":0,"o":0,"v":false},"k":{"b":0,"h":0,"s":0,"v":false},"q":{"c":[],"d":0,"o":1,"r":[],"v":false},"s":{"r":0,"s":0,"v":false},"u":{"r":0,"s":0,"v":false},"v":true,"ea":0,"ca":"1d41cc4e-2504-42c8-b6ab-1710d79052f8.jpg","cb":0.5}

@ -0,0 +1 @@
{"skybox":{"name":"默认","img":"https://laozi-model.obs.cn-east-2.myhuaweicloud.com/sky-box/04a7d4d3-c071-4223-9ecb-b3f7463aa257.hdr","blur":3,"visible":true,"brightness":0.5},"image":{"pc":"","mobile":""},"color":"#000000","shadow":{"visible":false,"strength":10,"decay":1,"offset":0},"animation":{"loop":1,"speed":1,"default":null,"hidden":[]},"hotspotStyle":0,"hotspot":[],"rotation":[0,0,0,"XYZ"],"sizeColor":"#FFF","size":"","enablePlan":false,"cameraSetting":{"autoRotation":false,"autoScaleLimit":false,"scaleLimit":[10,400],"polarAngleLimit":[-90,90],"azimuthAngleLimit":[-360,360]},"view":{"position":[-1.4541451476611817,86.61108151820008,134.07239853766015],"target":[0,0,0]}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 KiB

@ -61,9 +61,9 @@ export default {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 8vw;
height:4vw;
height:3vw;
position: absolute;
top: -1%;
top: 1%;
left: 1%;
}
</style>

@ -476,6 +476,12 @@ export default {
Chart
},
name: "Liner",
props: {
id: {
type: String,
default: ''
}
},
data() {
return {
show: true,
@ -1580,11 +1586,11 @@ export default {
this.show = !this.show
}, 30 * 1000)
console.log(this.$route.query.id)
if (this.$route.query.id === '1') {
if (this.$route.query.id === '1' && this.id === '1') {
this.RequestDataSet.forEach(val => {
mixData(val)
})
} else if (this.$route.query.id === '2') {
} else if (this.$route.query.id === '2' && this.id === '2') {
this.RequestDataSet1.forEach(val => {
mixData(val)
})

@ -8,6 +8,7 @@ import * as echarts from 'echarts';
require('echarts/theme/macarons') // echarts theme
import resize from './mixins/resize'
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
export default {
mixins: [resize],
props: {
@ -142,6 +143,18 @@ export default {
// }
}
},
label: {
normal: {
show: true,
position: "top",
textStyle: {
color: "#a8aab0",
fontStyle: "normal",
fontFamily: "微软雅黑",
fontSize: 0.75 * vw,
},
},
},
data: expectedData,
animationDuration: 1000,
animationEasing: 'quadraticOut'
@ -151,6 +164,18 @@ export default {
smooth: false,
type: 'bar',
barMaxWidth:60,
label: {
normal: {
show: true,
position: "top",
textStyle: {
color: "#a8aab0",
fontStyle: "normal",
fontFamily: "微软雅黑",
fontSize: 0.75 * vw,
},
},
},
itemStyle: {
normal: {
color: '#9fe080',

@ -164,9 +164,9 @@ export default {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 8vw;
height: 4vw;
height: 3vw;
position: absolute;
top: -1%;
top: 1%;
left: 1%;
}

@ -3,7 +3,7 @@
<div>
<liner v-if="show === 'liner'"/>
<caseShell v-if="show === 'caseShell'"/>
<foaming v-if="show === 'foaming'"/>
<foaming v-if="show === 'foaming'" id="1"/>
<foaming2 v-if="show === 'foaming2'"/>
<pourInto f v-if="show === 'pourInto'"/>
<finalAssembly v-if="show === 'finalAssembly'"/>
@ -77,7 +77,7 @@ export default {
},
methods: {
exitFun() {
this.exit()
this.exit(true)
}
}
}
@ -120,9 +120,9 @@ export default {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 8vw;
height: 4vw;
height:3vw;
position: absolute;
top: -1%;
top: 1%;
left: 1%;
}
</style>

File diff suppressed because it is too large Load Diff

@ -13,14 +13,14 @@
<div class="boxTitle"> </div>
<p>1. 澳柯玛中国区智能制造中心大规模冷柜生产基地</p>
<p>2. 华中营销中心辐射晋渝等</p>
<p>3. 华中仓储物流中心构建统一的物流产业体系智能产业园建成后形成集生产销售仓储物流一体化</p>
<p>3. 华中仓储物流中心构建统一的物流产业体系<br>智能产业园建成后形成集生产销售仓储物流一体化</p>
</div>
<div class="box4">
<img src="../../assets/model/factoryIntroduction/bg2.png" alt="" style="width: 80%;margin-left: 10%">
<div class="boxTitle"> </div>
<p>澳云数智自主可控工业互联网平台数字孪生大数据分析
MESSCADA质量分析SPC能源管理EMS
混流自动成型钣金线双进双出高效直线发泡工业机器人
<p>澳云数智自主可控工业互联网平台数字孪生大数据分析<br>
MESSCADA质量分析SPC能源管理EMS<br>
混流自动成型钣金线双进双出高效直线发泡工业机器人<br>
采用行业领先的R134a混合多元醇发泡体系产品节能环保
</p>
</div>

@ -3,6 +3,7 @@
<div class="test">
<div id="container" class="container"></div>
<div class="headTitle">河南澳柯玛智能制造中心</div>
<div class="tool">
<el-row>
<el-col :span="5">
@ -20,39 +21,39 @@
<el-col :span="5">
<div class="toolItem" @click="click1('dataCentre')">
<img class="icon" src="@/assets/model/model/dataCentre.png"/>
<div class="whiteSpan grid-content bg-purple">数据中心</div>
<div class="whiteSpan grid-content bg-purple">数据中心</div>
</div>
</el-col>
<el-col :span="5">
<div class="toolItem" @click="click1('live')">
<img class="icon" src="@/assets/model/model/live.png"/>
<div class="whiteSpan grid-content bg-purple">现场直播</div>
</div>
</el-col>
<el-col :span="4">
<div class="toolItem" @click="click2()">
<img class="icon" src="@/assets/model/model/process.png"/>
<div class="whiteSpan grid-content bg-purple-light">工艺流程</div>
</div>
</el-col>
<!-- <el-col :span="3">-->
<!-- <div class="toolItem" @click="click1('production')">-->
<!-- <img class="icon" src="@/assets/model/model/production.png"/>-->
<!-- <div class="whiteSpan grid-content bg-purple">生产</div>-->
<!-- </div>-->
<!-- </el-col>-->
<!-- <el-col :span="3">-->
<!-- <div class="toolItem" @click="click1('quality')">-->
<!-- <img class="icon" src="@/assets/model/model/quality.png"/>-->
<!-- <div class="whiteSpan grid-content bg-purple-light">质量</div>-->
<!-- </div>-->
<!-- </el-col>-->
<!-- <el-col :span="3">-->
<!-- <div class="toolItem" @click="click1('equipment')">-->
<!-- <img class="icon" src="@/assets/model/model/equipment.png"/>-->
<!-- <div class="whiteSpan grid-content bg-purple-light">设备</div>-->
<!-- </div>-->
<!-- </el-col>-->
<el-col :span="4">
<div class="toolItem" @click="click1('live')">
<img class="icon" src="@/assets/model/model/live.png"/>
<div class="whiteSpan grid-content bg-purple">现场直播</div>
</div>
</el-col>
<!-- <el-col :span="3">-->
<!-- <div class="toolItem" @click="click1('production')">-->
<!-- <img class="icon" src="@/assets/model/model/production.png"/>-->
<!-- <div class="whiteSpan grid-content bg-purple">生产</div>-->
<!-- </div>-->
<!-- </el-col>-->
<!-- <el-col :span="3">-->
<!-- <div class="toolItem" @click="click1('quality')">-->
<!-- <img class="icon" src="@/assets/model/model/quality.png"/>-->
<!-- <div class="whiteSpan grid-content bg-purple-light">质量</div>-->
<!-- </div>-->
<!-- </el-col>-->
<!-- <el-col :span="3">-->
<!-- <div class="toolItem" @click="click1('equipment')">-->
<!-- <img class="icon" src="@/assets/model/model/equipment.png"/>-->
<!-- <div class="whiteSpan grid-content bg-purple-light">设备</div>-->
<!-- </div>-->
<!-- </el-col>-->
</el-row>
</div>
@ -145,7 +146,7 @@ export default {
},
data() {
return {
params:'',
params: '',
viewer: null,
show: '',
show1: false,
@ -188,7 +189,7 @@ export default {
height: 4,
bgColor: '#2f5597',
text: '箱壳<br>自动成型',
link: 'caseShell2',
link: 'caseShell',
},
{
top: 35,
@ -217,7 +218,7 @@ export default {
height: 4,
bgColor: '#f4b183',
text: '壳胆<br>组装',
link: 'caseShell2',
link: 'caseShell',
},
{
top: 17,
@ -225,8 +226,8 @@ export default {
width: 6,
height: 4,
bgColor: '#7f7f7f',
text: '箱体<br>预装',
link: 'caseShell2',
text: '预装<br>箱体库',
link: 'caseShell',
},
{
top: 17,
@ -252,7 +253,7 @@ export default {
width: 6,
height: 4,
bgColor: '#7f7f7f',
text: '发泡箱体库',
text: '发泡<br>箱体库',
},
{
top: 17,
@ -563,8 +564,8 @@ export default {
// }
const viewer = new AMRT.Viewer('container', {offline: true})
viewer.sceneManager.setBackground('http://10.100.72.10:8900/docs/img/bg.jpg')
viewer.controls.setTarget(274.6358405397289, -37.33559004514912, -36.790464998609494)
viewer.controls.setPosition(269.40613433119415, 1031.916487517178, 1606.6479803575144)
viewer.controls.setTarget(321.2619851034551, -68.14384719285539, -14.54458931238174)
viewer.controls.setPosition(324.86156622859767, 1621.3543644968465, 1351.2054516306407)
let modelArr = [
@ -676,8 +677,8 @@ export default {
]
let num = 10
const setModel = (e,i)=>{
modelArr.slice(e,i).forEach(val => {
const setModel = (e, i) => {
modelArr.slice(e, i).forEach(val => {
viewer.loadModel(val, {
background: false,
focus: false,
@ -685,17 +686,18 @@ export default {
onLoad: function (m) {
num += 1
if(num < modelArr.length){
setModel(num,num+1)
if (num < modelArr.length) {
setModel(num, num + 1)
}
m.on('click', function () {
console.log(val)
})
}
})
})
}
// setModel(0,10)
viewer.operator.enabled = true
setModel(0, 10)
// viewer.operator.enabled = true
// setInterval(() => {
// console.log(viewer.controls.getView())
@ -717,13 +719,17 @@ export default {
this.show1 = false
}
},
exit() {
exit(val) {
this.show = ''
if (val) {
this.show1 = true
}
},
setNowFlowIndex(k) {
this.nowFlowIndex = k
},
toLink(e) {
if (e.link) {
this.show1 = false
console.log(e)
// e.link && this.$router.push(e.link)
@ -731,6 +737,7 @@ export default {
this.params = e.link
}
}
}
};
</script>
<style lang="less" scoped>
@ -745,6 +752,16 @@ export default {
margin: 0 auto;
}
.headTitle {
position: absolute;
top: 5%;
left: 50%;
transform: translate(-50%, -100%);
font-size: 1.5vw;
color: #d6eaed;
letter-spacing: 10px;
}
.container {
overflow: hidden;
background-image: url("../../assets/model/model/bg.jpg");
@ -874,7 +891,8 @@ export default {
}
}
}
.whiteSpan{
color:white;
.whiteSpan {
color: white;
}
</style>

@ -154,9 +154,9 @@ export default {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 8vw;
height:4vw;
height:3vw;
position: absolute;
top: -1%;
top: 1%;
left: 1%;
}
.register {

Loading…
Cancel
Save