除地图和对接数据外已完成

This commit is contained in:
aixianling
2023-10-23 16:32:13 +08:00
parent 1420676c7c
commit 4ec643dd1a
9 changed files with 323 additions and 28 deletions

View File

@@ -0,0 +1,50 @@
<template>
<section class="fdItem">
<label v-text="label"/>
<div class="content fill">
<slot v-if="$slots.default"/>
<div v-else-if="value" v-html="value"/>
</div>
</section>
</template>
<script>
export default {
name: "fdItem",
props: {
label: String,
value: {default: null}
},
}
</script>
<style scoped lang="scss">
.fdItem {
display: flex;
justify-content: space-between;
align-items: baseline;
font-size: 14px;
margin-bottom: 8px;
&:last-of-type {
margin-bottom: 0;
}
& > label {
flex-shrink: 0;
color: #FFFFFF;
text-align: right;
&:after {
content: "";
}
}
.content {
display: flex;
align-items: center;
justify-content: flex-end;
text-align: right;
margin-left: 8px;
color: #FFD324;
}
}
</style>