chore: 集成vben

This commit is contained in:
xiaojunnuo
2025-03-07 18:01:51 +08:00
parent 8fcabc5e9f
commit 9557fc799e
26 changed files with 232 additions and 169 deletions
@@ -6,7 +6,7 @@
<td style="width: 100px; text-align: center">记录类型</td>
<td style="width: 250px">请设置CNAME记录验证成功以后不要删除</td>
<td style="width: 120px" class="center">状态</td>
<td style="width: 80px" class="center">操作</td>
<td style="width: 90px" class="center">操作</td>
</tr>
</thead>
<template v-for="key in domains" :key="key">
@@ -13,7 +13,7 @@ const slots = defineSlots();
<div class="tutorial-button pointer" @click="open">
<template v-if="!slots.default">
<fs-icon icon="ant-design:question-circle-outlined"></fs-icon>
<div class="ml-5">使用教程</div>
<div class="hidden md:block ml-0.5">使用教程</div>
</template>
<slot></slot>
<a-modal v-model:open="openedRef" class="tutorial-modal" width="90%">
@@ -3,10 +3,10 @@
<contextHolder />
<fs-icon icon="mingcute:vip-1-line" :title="text.title" />
<div v-if="mode !== 'icon'" class="text">
<div v-if="mode !== 'icon'" class="text hidden md:block ml-0.5">
<a-tooltip>
<template #title> {{ text.title }}</template>
<span>{{ text.name }}</span>
<span class="">{{ text.name }}</span>
</a-tooltip>
</div>
</div>
@@ -390,7 +390,6 @@ onMounted(() => {
}
.text {
margin-left: 5px;
}
}