2022-08-11 18:43:34 +08:00
|
|
|
<template>
|
2022-08-31 18:07:01 +08:00
|
|
|
<Card title="项目信息">
|
|
|
|
|
<div class="container">
|
2022-09-07 15:51:48 +08:00
|
|
|
<vue-scroll style="height: 100%;">
|
|
|
|
|
<div class="list">
|
|
|
|
|
<div class="list-item" v-for="(item, index) in list" :key="index">
|
|
|
|
|
<span class="label">{{ item.name }}</span>
|
|
|
|
|
<span class="value">{{ item.content }}</span>
|
|
|
|
|
</div>
|
2022-08-11 18:43:34 +08:00
|
|
|
</div>
|
2022-09-07 15:51:48 +08:00
|
|
|
</vue-scroll>
|
2022-08-31 18:07:01 +08:00
|
|
|
</div>
|
|
|
|
|
</Card>
|
2022-08-11 18:43:34 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2022-08-24 15:52:18 +08:00
|
|
|
import Card from '../components/Card'
|
2022-08-11 18:43:34 +08:00
|
|
|
export default {
|
2022-08-24 15:52:18 +08:00
|
|
|
components: { Card },
|
2022-08-31 18:07:01 +08:00
|
|
|
data: () => ({
|
|
|
|
|
list: [
|
2022-09-05 18:02:08 +08:00
|
|
|
{ name: '项目位置', content: '建宁路与热河交叉路口' },
|
|
|
|
|
{ name: '用地面积', content: '112768.21㎡' },
|
|
|
|
|
{ name: '建设单位', content: '中建四局发展(广州天河)有限公司' },
|
|
|
|
|
{ name: '设计单位', content: '中国建筑第四工程局有限公司' },
|
2022-09-06 11:25:11 +08:00
|
|
|
{ name: '勘察单位', content: '贵州中建建筑科研设计院有限公司' },
|
2022-09-05 18:02:08 +08:00
|
|
|
{ name: '监理单位', content: '广州宏元建设工程咨询有限公司' },
|
2022-09-01 17:57:36 +08:00
|
|
|
]
|
|
|
|
|
})
|
2022-08-24 15:52:18 +08:00
|
|
|
}
|
2022-08-11 18:43:34 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
2022-08-31 18:07:01 +08:00
|
|
|
.container {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
.list {
|
2022-09-01 17:57:36 +08:00
|
|
|
width: 100%;
|
2022-08-31 18:07:01 +08:00
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
color: #fff;
|
2022-09-07 15:51:48 +08:00
|
|
|
// overflow-y: scroll;
|
2022-08-31 18:07:01 +08:00
|
|
|
|
|
|
|
|
.list-item {
|
2022-09-06 11:25:11 +08:00
|
|
|
position: relative;
|
2022-09-01 17:57:36 +08:00
|
|
|
display: flex;
|
2022-08-31 18:07:01 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-left: 4px solid #66d3d8;
|
|
|
|
|
margin-bottom: 5px;
|
2022-09-01 17:57:36 +08:00
|
|
|
padding: 10px 0;
|
2022-08-31 18:07:01 +08:00
|
|
|
width: 100%;
|
2022-09-01 17:57:36 +08:00
|
|
|
background-image: linear-gradient(to right, #3b7589, #212c3e);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 500;
|
2022-08-31 18:07:01 +08:00
|
|
|
cursor: pointer;
|
2022-09-01 17:57:36 +08:00
|
|
|
transition: all 0.3s;
|
|
|
|
|
white-space: nowrap;
|
2022-08-31 18:07:01 +08:00
|
|
|
|
|
|
|
|
&:hover {
|
2022-09-01 17:57:36 +08:00
|
|
|
padding: 20px 0;
|
2022-09-06 11:25:11 +08:00
|
|
|
&::before {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 8px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
transform: translate(0, -50%);
|
|
|
|
|
width: 8px;
|
|
|
|
|
height: 14px;
|
|
|
|
|
background-image: url('../assets/images/command-center/triangle.png');
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
transition: all .3s;
|
|
|
|
|
}
|
2022-08-31 18:07:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover .value {
|
|
|
|
|
color: #c2805f;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-01 17:57:36 +08:00
|
|
|
.label,
|
|
|
|
|
.value {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-31 18:07:01 +08:00
|
|
|
.label {
|
2022-09-01 17:57:36 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 25%;
|
|
|
|
|
padding-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.value {
|
|
|
|
|
width: 75%;
|
2022-08-31 18:07:01 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-08-12 10:32:11 +08:00
|
|
|
}
|
2022-08-24 15:52:18 +08:00
|
|
|
</style>
|