渐变文字标题、tailwindcss升级

This commit is contained in:
2025-02-04 16:39:06 +08:00
parent 0811790009
commit 72a208d4d8
31 changed files with 367 additions and 1088 deletions

View File

@@ -11,7 +11,11 @@
:style="{ margin: 0, fontSize: '18px' }"
:heading="5"
>
测试管理平台
<div
class="font-extrabold bg-clip-text text-transparent bg-gradient-to-r from-blue-500 to-purple-600"
>
测试管理平台
</div>
</a-typography-title>
<a-typography-title :heading="6" class="version">V0.0.4</a-typography-title>
<icon-menu-fold
@@ -23,8 +27,14 @@
</div>
<div class="center-side flex items-center justify-center font-bold text-lg">
<template v-if="title">
<a-typography-title :style="{ margin: 0, fontSize: '1.1rem', fontWeight: 'bold' }" :heading="4">
项目名称{{ $route.query.ident }}-{{ title }}
<a-typography-title
:style="{ margin: 0, fontSize: '1.1rem', fontWeight: 'bold' }"
:heading="4"
:ellipsis="{
rows: 2
}"
>
<div>项目名称{{ $route.query.ident }}-{{ title }}</div>
</a-typography-title>
</template>
<Menu v-if="topMenu"></Menu>

View File

@@ -7,18 +7,20 @@
<a-layout class="layout layout-demo">
<a-layout-sider class="layout-sider">
<div class="p-2 overflow-auto myhcalc">
<a-input-group class="mb-2 w-full flex items-center h-1/12" size="mini">
<a-input-group class="mb-2 w-full flex items-center" size="mini">
<a-input style="height: 32px" v-model="searchKey" allow-clear></a-input>
<a-button @click="handleSearchTreeDataClick">搜索</a-button>
</a-input-group>
<a-button type="primary" @click="toggleExpanded" class="mb-1">
{{ expandedKeys?.length ? "全部收缩" : "全部展开" }}
</a-button>
<a-popconfirm type="warning" @ok="handleCopyNode" content="是否确定根据选中节点进行创建?">
<a-button type="outline" status="warning" class="ml-1">
<template #icon> <icon-plus /></template>点击复制创建轮次
<div class="flex justify-between mb-2">
<a-button type="primary" @click="toggleExpanded" class="w-5/12">
{{ expandedKeys?.length ? "全部收缩" : "全部展开" }}
</a-button>
</a-popconfirm>
<a-popconfirm type="warning" @ok="handleCopyNode" content="是否确定根据选中节点进行创建?">
<a-button type="outline" status="warning">
<template #icon> <icon-plus /></template>点击复制创建轮次
</a-button>
</a-popconfirm>
</div>
<a-tree
class="h-10/12 select-none my-arco-wrap-class"
:data="treeData"