中建四局:更改 Card 组件样式

This commit is contained in:
Jack 2022-08-24 15:52:18 +08:00
parent ffddd5ec39
commit 620defed64
11 changed files with 111 additions and 120 deletions

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="事件详情">
<Card title="事件详情">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="项目人员管理">
<Card title="项目人员管理">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="设备管理">
<Card title="设备管理">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,29 +1,29 @@
<template>
<div>
<CardData title="项目信息">
<Card title="项目信息">
<div class="contentBox">
<div class="box">
<span>项目位置</span>
<span>建宁路与热河交叉路口</span>
</div>
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
.box{
height:40px;
.box {
height: 40px;
line-height: 40px;
background-image: url('~@/assets/images/projectZjsj/intro.png');
background-size: 100%;

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="进度管理">
<Card title="进度管理">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="人员概况">
<Card title="人员概况">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="亮点展示">
<Card title="亮点展示">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="安全管理">
<Card title="安全管理">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="环境监测">
<Card title="环境监测">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -1,22 +1,21 @@
<template>
<div>
<CardData title="质量管理">
<Card title="质量管理">
<div class="contentBox">
123
</div>
</CardData>
</Card>
</div>
</template>
<script>
import CardData from "../components/cardData";
import Card from '../components/Card'
export default {
components: { CardData },
components: { Card },
data() {
return {};
return {}
}
};
}
</script>
<style lang="less" scoped>
</style>
<style lang="less" scoped></style>

View File

@ -23,16 +23,16 @@ export default {
width: 100%;
height: 100%;
.title {
height: 45px;
height: 34px;
line-height: 32px;
text-align: center;
line-height: 40px;
font-size: 18px;
color: #ffffff;
background-image: url('~@/assets/images/projectZjsj/border.png');
background-image: url('../assets/images/common/bg-card.png');
background-size: 100%;
}
.content {
height: calc(100% - 45px);
height: calc(100% - 34px);
}
}
</style>