rcs5.0 commit

This commit is contained in:
wangxinfei
2025-05-19 17:29:51 +08:00
commit e8af49b0f5
720 changed files with 175022 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
<template>
<div class="titiebox">
<div
v-if="label"
:style="{ width: width }"
class="titieboxlabel"
>
<span
v-if="needStar"
style="color: #f00"
>{{ "*" }}</span>{{ label }}
<!-- <span>{{ ':' }}</span> -->
</div>
<div class="titieboxvalue">
<slot />
</div>
</div>
</template>
<script>
export default {
props: {
label: {
type: String,
default: '',
},
needStar: {
type: Boolean,
default: false,
},
width: {
type: String,
default: '100px',
},
},
};
</script>
<style lang="scss" scoped>
.titiebox {
display: flex;
flex-wrap: nowrap;
align-items: center;
font-size: 12px;
width: 100%;
.titieboxlabel {
padding-right: 12px;
height: 24px;
line-height: 24px;
text-align: right;
}
.titieboxvalue {
flex: 1;
box-sizing: border-box;
}
}
</style>