perf: card styles

This commit is contained in:
Junyan Qin
2025-05-09 10:06:01 +08:00
parent 7886702ef2
commit 6c6f4ff076
4 changed files with 7 additions and 13 deletions

View File

@@ -3,13 +3,13 @@
height: 10rem;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.2);
padding: 1.2rem;
cursor: pointer;
}
.cardContainer:hover {
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.1);
}
.iconBasicInfoContainer {

View File

@@ -26,15 +26,9 @@ export default function BotConfigPage() {
const [nowSelectedBotCard, setNowSelectedBotCard] = useState<BotCardVO>();
useEffect(() => {
// TODO补齐加载转圈逻辑
getBotList();
}, []);
async function checkHasLLM(): Promise<boolean> {
// NOT IMPL
return true;
}
async function getBotList() {
const adapterListResp = await httpClient.getAdapters();

View File

@@ -3,13 +3,13 @@
height: 10rem;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.2);
padding: 1.2rem;
cursor: pointer;
}
.cardContainer:hover {
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.1);
}
.iconBasicInfoContainer {

View File

@@ -3,7 +3,7 @@
height: 10rem;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.2);
padding: 1.2rem;
cursor: pointer;
display: flex;
@@ -13,7 +13,7 @@
}
.cardContainer:hover {
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.1);
}
.basicInfoContainer {