mirror of
https://github.com/certd/certd.git
synced 2026-04-23 11:37:23 +08:00
perf: 支持邮件模版设置
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<template>
|
||||
<div class="params-show">
|
||||
<div v-for="item of params" :key="item.value" class="item">
|
||||
<span class="label">{{ item.label }}:</span>
|
||||
<fs-copyable>{{ item.value }}</fs-copyable>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
defineOptions({
|
||||
name: "ParamsShow",
|
||||
});
|
||||
|
||||
const props = defineProps<{
|
||||
params: { value: string; label: string }[];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
.params-show {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
|
||||
.item {
|
||||
width: 200px;
|
||||
display: flex;
|
||||
margin-bottom: 5px;
|
||||
align-items: center;
|
||||
|
||||
.label {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.fs-copyable {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user