tailwindcss upgrade

This commit is contained in:
2025-01-28 18:13:24 +08:00
parent 3bcd12eaaf
commit ab54c72179
8 changed files with 407 additions and 69 deletions

View File

@@ -2,6 +2,7 @@ import { ref } from "vue"
/**
* 该hook传入一个远程数据储存默认值以及请求服务器的异步函数以及请求远程数据的函数
* 后续使用@tanstack/vue-query库来管理远程数据
*/
const useFetchData = (defaultValue = {}, fetDataFunc) => {
const loadingData = ref(defaultValue) // 远程请求的数据

View File

@@ -6,7 +6,7 @@
}
}
// 覆盖arco的圆角设置原来设置是0、2px、4px、6px
// arco全局覆盖覆盖arco全局的圆角设置原来设置是0、2px、4px、6px
body {
--border-radius-none: 0;
--border-radius-small: 0px;

View File

@@ -22,8 +22,12 @@
<a-button type="outline" class="w-full">感谢MineAdmin</a-button>
</a>
</a-card>
<div class="mt-2">管理平台版本</div>
<a-tag class="mt-2 w-fit" color="#0fc6c2">TestPlant V0.0.4</a-tag>
<div class="mt-2">
<div class="text-center leading-[32px]">管理平台版本:</div>
</div>
<div class="mt-2 leading-[32px]">
<a-tag class="w-fit h-[32px]" color="#0fc6c2">TestPlant V0.0.4</a-tag>
</div>
</div>
</div>
</template>

View File

@@ -1,6 +1,6 @@
<template>
<div class="w-full mx-auto">
<div class="block lg:grid lg:grid-cols-4 lg:gap-1">
<div class="lg:grid lg:grid-cols-4 lg:gap-1">
<a-card
style="height: 65px"
class="rounded-sm mt-3"

View File

@@ -31,6 +31,6 @@ const { chartData, chartConfig } = useVueDataUI(data)
<style lang="less" scoped>
.chartContainer {
width: 100%;
height: 300px;
// height: 300px;
}
</style>