2023-03-10 10:05:02 +08:00
|
|
|
|
<template>
|
2023-03-10 17:15:31 +08:00
|
|
|
|
<div class="summary13" :class="'summary13-' + theme">
|
2023-03-10 10:05:02 +08:00
|
|
|
|
<div class="summary13-item" v-for="(item, index) in data" :key="index" v-if="index < 4">
|
|
|
|
|
|
<h2>{{ item[keys] }}:</h2>
|
|
|
|
|
|
<p>{{ item[value] }}</p>
|
2023-03-10 17:31:59 +08:00
|
|
|
|
<i class="lt"></i>
|
|
|
|
|
|
<i class="lb"></i>
|
|
|
|
|
|
<i class="rt"></i>
|
|
|
|
|
|
<i class="rb"></i>
|
2023-03-10 10:05:02 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
|
|
|
|
|
name: 'summary13',
|
|
|
|
|
|
|
|
|
|
|
|
props: {
|
|
|
|
|
|
data: {
|
|
|
|
|
|
type: Array,
|
|
|
|
|
|
default: () => []
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
keys: {
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
default: 'key'
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
value: {
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
default: 'value'
|
2023-03-10 17:15:31 +08:00
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
theme: {
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
default: '0'
|
2023-03-10 10:05:02 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
data () {
|
|
|
|
|
|
return {
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
.summary13 {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
div {
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.summary13-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 150px;
|
|
|
|
|
|
height: 40px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
font-size: 14px;
|
2023-03-10 17:31:59 +08:00
|
|
|
|
border-top: 1px solid #717171;
|
|
|
|
|
|
border-bottom: 1px solid #717171;
|
2023-03-10 10:05:02 +08:00
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
|
|
color: #C4D8DB;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
|
color: #C4D8DB;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-10 17:31:59 +08:00
|
|
|
|
.lt {
|
2023-03-10 10:05:02 +08:00
|
|
|
|
position: absolute;
|
2023-03-10 17:31:59 +08:00
|
|
|
|
left: 0;
|
|
|
|
|
|
top: 0;
|
2023-03-10 10:05:02 +08:00
|
|
|
|
z-index: 11;
|
|
|
|
|
|
width: 1px;
|
2023-03-10 17:31:59 +08:00
|
|
|
|
height: 14px;
|
|
|
|
|
|
background: #717171;
|
2023-03-10 10:05:02 +08:00
|
|
|
|
content: ' ';
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-03-10 17:31:59 +08:00
|
|
|
|
.lb {
|
2023-03-10 10:05:02 +08:00
|
|
|
|
position: absolute;
|
2023-03-10 17:31:59 +08:00
|
|
|
|
left: 0;
|
|
|
|
|
|
bottom: 0;
|
2023-03-10 10:05:02 +08:00
|
|
|
|
z-index: 11;
|
|
|
|
|
|
width: 1px;
|
2023-03-10 17:31:59 +08:00
|
|
|
|
height: 14px;
|
|
|
|
|
|
background: #717171;
|
|
|
|
|
|
content: ' ';
|
|
|
|
|
|
}
|
|
|
|
|
|
.rt {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
z-index: 11;
|
|
|
|
|
|
width: 1px;
|
|
|
|
|
|
height: 14px;
|
|
|
|
|
|
background: #717171;
|
|
|
|
|
|
content: ' ';
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rb {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
z-index: 11;
|
|
|
|
|
|
width: 1px;
|
|
|
|
|
|
height: 14px;
|
|
|
|
|
|
background: #717171;
|
2023-03-10 10:05:02 +08:00
|
|
|
|
content: ' ';
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-03-10 17:15:31 +08:00
|
|
|
|
|
|
|
|
|
|
&.summary13-1 {
|
2023-03-10 17:31:59 +08:00
|
|
|
|
.summary13-item {
|
|
|
|
|
|
border-top: 1px solid #9f6456;
|
|
|
|
|
|
border-bottom: 1px solid #9f6456;
|
|
|
|
|
|
|
|
|
|
|
|
.lt {
|
|
|
|
|
|
background: #9f6456;
|
|
|
|
|
|
}
|
2023-03-10 17:15:31 +08:00
|
|
|
|
|
2023-03-10 17:31:59 +08:00
|
|
|
|
.lb {
|
|
|
|
|
|
background: #9f6456;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rt {
|
|
|
|
|
|
background: #9f6456;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rb {
|
|
|
|
|
|
background: #9f6456;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-03-10 17:15:31 +08:00
|
|
|
|
}
|
2023-03-10 10:05:02 +08:00
|
|
|
|
}
|
|
|
|
|
|
</style>
|