中建四局:更改 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> <template>
<div> <div>
<CardData title="事件详情"> <Card title="事件详情">
<div class="contentBox"> <div class="contentBox">
123 123
</div> </div>
</CardData> </Card>
</div> </div>
</template> </template>
<script> <script>
import CardData from "../components/cardData"; import Card from '../components/Card'
export default { export default {
components: { CardData }, components: { Card },
data() { data() {
return {}; return {}
} }
}; }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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