优化已知问题

This commit is contained in:
2025-03-15 16:37:11 +08:00
parent abb9a4dbe7
commit 287ceacaf3
19 changed files with 279 additions and 123 deletions

View File

@@ -8,18 +8,30 @@
<el-image :src="form.websiteLogo" shape="square"
class="hidden-sm-and-down bg-white w-[128px] h-[128px] cursor-pointer rounded-avatar shadow-sm hover:shadow mr-6"/>
</template>
<div class="title flex flex-col">
<h1
<div class="title flex flex-col justify-between">
<div>
<h1
class="text-2xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-3xl lg:text-3xl">
<el-space>
<span>{{ form.websiteName }}</span>
</el-space>
</h1>
<div class="my-1 text-sm text-gray-500 w-auto sm:max-w-3xl max-w-xs flex-1 dark:text-gray-400">
{{ form?.comments || desc }}
<el-space>
<span>{{ form.websiteName }}</span>
</el-space>
</h1>
<div class="text-sm mt-1 text-gray-500 w-auto sm:max-w-4xl line-clamp-2 max-w-xs dark:text-gray-400">
{{ form?.comments }}
</div>
</div>
<el-space class="btn">
<nuxt-link target="_blank"><el-button type="primary" round>获取</el-button></nuxt-link>
<nuxt-link v-if="form.domain" :to="`https://${form.domain}`" target="_blank"><el-button round type="primary">访问</el-button></nuxt-link>
<nuxt-link v-if="form.adminUrl" :to="`https://${form.adminUrl}`" target="_blank"><el-button round>管理</el-button></nuxt-link>
<!-- <el-dropdown>-->
<!-- <el-button :icon="MoreFilled" round></el-button>-->
<!-- <template #dropdown>-->
<!-- <el-dropdown-menu>-->
<!-- <el-dropdown-item @click="openUrl(`https://git.websoft.top`)">源码</el-dropdown-item>-->
<!-- <el-dropdown-item divided><nuxt-link to="/developer">编辑</nuxt-link></el-dropdown-item>-->
<!-- </el-dropdown-menu>-->
<!-- </template>-->
<!-- </el-dropdown>-->
</el-space>
</div>
</div>
@@ -33,6 +45,7 @@
import type {ApiResult} from "~/api";
import type {Company} from "~/api/system/company/model";
import type {CmsWebsite} from "~/api/cms/cmsWebsite/model";
import {MoreFilled} from "@element-plus/icons-vue";
const token = useToken();