中建四局(进度管理):图片替换
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'
|
axios.defaults.baseURL = 'https://www.ceshi.com'
|
||||||
} else if (process.env.NODE_ENV == 'production') {
|
} else if (process.env.NODE_ENV == 'production') {
|
||||||
let host = window.location.host
|
let host = window.location.host
|
||||||
axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
// axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
||||||
// axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
||||||
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
|
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
|
||||||
// axios.defaults.baseURL = 'http://zhgd.loganwy.com/'
|
// 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>
|
<template>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div class="top">
|
<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">
|
<div class="right">
|
||||||
<TopRight />
|
<TopRight />
|
||||||
</div>
|
</div>
|
||||||
@ -16,25 +23,25 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TopRight from './topRight.vue'
|
import TopRight from "./topRight.vue";
|
||||||
export default {
|
export default {
|
||||||
components: { TopRight },
|
components: { TopRight },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
progress: [
|
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>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@ -50,7 +57,39 @@ export default {
|
|||||||
.left {
|
.left {
|
||||||
width: 76%;
|
width: 76%;
|
||||||
height: 100%;
|
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 {
|
.right {
|
||||||
width: calc(24% - 20px);
|
width: calc(24% - 20px);
|
||||||
@ -69,7 +108,7 @@ export default {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: "";
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@ -77,7 +116,7 @@ export default {
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
&:not(:last-child)::after {
|
&:not(:last-child)::after {
|
||||||
content: '';
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
bottom: calc(100% - 5px);
|
bottom: calc(100% - 5px);
|
||||||
|
|||||||
@ -49,6 +49,6 @@ export default {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background-image: url(../assets/images/common/bgc_bim.png);
|
background-image: url(../assets/images/common/bgc_bim.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 110%;
|
background-size: 130%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -40,7 +40,8 @@ export default {
|
|||||||
// this.iframe = document.getElementById('iframe')
|
// this.iframe = document.getElementById('iframe')
|
||||||
this.load()
|
this.load()
|
||||||
window.addEventListener('message', this.getIframeMessage)
|
window.addEventListener('message', this.getIframeMessage)
|
||||||
this.getModelList();
|
// this.getModelList();
|
||||||
|
// this.getToken()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -60,6 +61,7 @@ export default {
|
|||||||
res.result.page.records.forEach(item => {
|
res.result.page.records.forEach(item => {
|
||||||
if (item.isEnable) {
|
if (item.isEnable) {
|
||||||
this.getToken(item.fileId)
|
this.getToken(item.fileId)
|
||||||
|
// this.getToken()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user