This commit is contained in:
dhr
2025-09-12 19:34:45 +08:00
parent 10d4314780
commit 120a46d76c
7 changed files with 3062 additions and 84 deletions

View File

@ -1,30 +1,31 @@
<template>
<el-row>
<el-col>
<div style="color: rgba(0, 30, 59, 1);;font-family: 'Alibaba-PuHuiTi-Bold';margin: 10px 0 0 0;"
:style="{ fontSize: fontLevelMap[props.fontLevel] }">
{{ props.title }}
</div>
</el-col>
<el-col>
<p style="color: rgba(154, 154, 154, 1);font-size: 14px;">
{{ props.subtitle }}
</p>
</el-col>
</el-row>
<el-row>
<el-col>
<div
style="color: rgba(0, 30, 59, 1); font-family: 'Alibaba-PuHuiTi-Bold'; margin: 10px 0 0 0"
:style="{ fontSize: fontLevelMap[props.fontLevel] }"
>
{{ props.title }}
</div>
</el-col>
<el-col>
<p style="color: rgba(154, 154, 154, 1); font-size: 14px">
{{ props.subtitle }}
</p>
</el-col>
</el-row>
</template>
<script setup>
const props = defineProps({
title: String,
subtitle: String,
fontLevel: {
type: Number,
default: 1
}
})
title: String,
subtitle: String,
fontLevel: {
type: Number,
default: 1
}
});
const fontLevelMap = {
1: "24px",
2: "18px"
}
</script>
1: '24px',
2: '18px'
};
</script>