中建四局(进度管理):图片替换
This commit is contained in:
parent
a6239989e2
commit
7ba3978765
@ -76,8 +76,8 @@ if (process.env.NODE_ENV == 'development') {
|
||||
axios.defaults.baseURL = 'https://www.ceshi.com'
|
||||
} else if (process.env.NODE_ENV == 'production') {
|
||||
let host = window.location.host
|
||||
axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
||||
// axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
||||
// axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
||||
axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
||||
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
|
||||
// axios.defaults.baseURL = 'http://zhgd.loganwy.com/'
|
||||
}
|
||||
|
||||
BIN
src/views/projectAdmin/zjsj/assets/temp/bgc_video1.png
Normal file
BIN
src/views/projectAdmin/zjsj/assets/temp/bgc_video1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 752 KiB |
BIN
src/views/projectAdmin/zjsj/assets/temp/bgc_video2.png
Normal file
BIN
src/views/projectAdmin/zjsj/assets/temp/bgc_video2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 749 KiB |
@ -1,7 +1,14 @@
|
||||
<template>
|
||||
<div class="progress">
|
||||
<div class="top">
|
||||
<div class="left"></div>
|
||||
<div class="left">
|
||||
<div class="left1">
|
||||
<div class="video">摄像头1</div>
|
||||
</div>
|
||||
<div class="left2">
|
||||
<div class="project">工程1</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<TopRight />
|
||||
</div>
|
||||
@ -16,25 +23,25 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TopRight from './topRight.vue'
|
||||
import TopRight from "./topRight.vue";
|
||||
export default {
|
||||
components: { TopRight },
|
||||
data() {
|
||||
return {
|
||||
progress: [
|
||||
{ name: '基础工程', date: '2022-02-02' },
|
||||
{ name: '主体结构施工', date: '2022-02-02' },
|
||||
{ name: '屋面工程', date: '2022-02-02' },
|
||||
{ name: '机械设备安拆工程', date: '2022-02-02' },
|
||||
{ name: '室内装饰装修工程', date: '2022-02-02' },
|
||||
{ name: '室内装饰装修工程', date: '2022-02-02' },
|
||||
{ name: '室内装饰装修工程', date: '2022-02-02' },
|
||||
{ name: '室内装饰装修工程', date: '2022-02-02' },
|
||||
{ name: '室内装饰装修工程', date: '2022-02-02' }
|
||||
{ name: "基础工程", date: "2022-02-02" },
|
||||
{ name: "主体结构施工", date: "2022-02-02" },
|
||||
{ name: "屋面工程", date: "2022-02-02" },
|
||||
{ name: "机械设备安拆工程", date: "2022-02-02" },
|
||||
{ name: "室内装饰装修工程", date: "2022-02-02" },
|
||||
{ name: "室内装饰装修工程", date: "2022-02-02" },
|
||||
{ name: "室内装饰装修工程", date: "2022-02-02" },
|
||||
{ name: "室内装饰装修工程", date: "2022-02-02" },
|
||||
{ name: "室内装饰装修工程", date: "2022-02-02" }
|
||||
]
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@ -50,7 +57,39 @@ export default {
|
||||
.left {
|
||||
width: 76%;
|
||||
height: 100%;
|
||||
border: 1px solid skyblue;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.left1,.left2 {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background-image: url(../assets/temp/bgc_video2.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
color: #fafbfa;
|
||||
.video , .project{
|
||||
position: relative;
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
background-color: #506173;
|
||||
margin-left: 15px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.video::before,.project::before{
|
||||
content: '';
|
||||
top: 25%;
|
||||
left: 10%;
|
||||
position: absolute;
|
||||
border: 8px solid transparent;
|
||||
border-left: 8px solid white;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
.left2 {
|
||||
background-image: url(../assets/temp/bgc_video1.png);
|
||||
}
|
||||
}
|
||||
.right {
|
||||
width: calc(24% - 20px);
|
||||
@ -69,7 +108,7 @@ export default {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
&::before {
|
||||
content: '';
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: #fff;
|
||||
@ -77,7 +116,7 @@ export default {
|
||||
border-radius: 50%;
|
||||
}
|
||||
&:not(:last-child)::after {
|
||||
content: '';
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: calc(100% - 5px);
|
||||
|
||||
@ -49,6 +49,6 @@ export default {
|
||||
height: 100%;
|
||||
background-image: url(../assets/images/common/bgc_bim.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 110%;
|
||||
background-size: 130%;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -40,7 +40,8 @@ export default {
|
||||
// this.iframe = document.getElementById('iframe')
|
||||
this.load()
|
||||
window.addEventListener('message', this.getIframeMessage)
|
||||
this.getModelList();
|
||||
// this.getModelList();
|
||||
// this.getToken()
|
||||
})
|
||||
}
|
||||
},
|
||||
@ -60,6 +61,7 @@ export default {
|
||||
res.result.page.records.forEach(item => {
|
||||
if (item.isEnable) {
|
||||
this.getToken(item.fileId)
|
||||
// this.getToken()
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user