diff --git a/web/src/app/home/bots/components/bot-card/botCard.module.css b/web/src/app/home/bots/components/bot-card/botCard.module.css index 95c7d034..4d08ca65 100644 --- a/web/src/app/home/bots/components/bot-card/botCard.module.css +++ b/web/src/app/home/bots/components/bot-card/botCard.module.css @@ -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 { diff --git a/web/src/app/home/bots/page.tsx b/web/src/app/home/bots/page.tsx index 1866d7c5..9a432d58 100644 --- a/web/src/app/home/bots/page.tsx +++ b/web/src/app/home/bots/page.tsx @@ -26,15 +26,9 @@ export default function BotConfigPage() { const [nowSelectedBotCard, setNowSelectedBotCard] = useState(); useEffect(() => { - // TODO:补齐加载转圈逻辑 - + getBotList(); }, []); - async function checkHasLLM(): Promise { - // NOT IMPL - return true; - } - async function getBotList() { const adapterListResp = await httpClient.getAdapters(); diff --git a/web/src/app/home/models/component/llm-card/LLMCard.module.css b/web/src/app/home/models/component/llm-card/LLMCard.module.css index 8f443214..14f95717 100644 --- a/web/src/app/home/models/component/llm-card/LLMCard.module.css +++ b/web/src/app/home/models/component/llm-card/LLMCard.module.css @@ -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 { diff --git a/web/src/app/home/pipelines/components/pipeline-card/pipelineCard.module.css b/web/src/app/home/pipelines/components/pipeline-card/pipelineCard.module.css index 0bbaee6d..dc110769 100644 --- a/web/src/app/home/pipelines/components/pipeline-card/pipelineCard.module.css +++ b/web/src/app/home/pipelines/components/pipeline-card/pipelineCard.module.css @@ -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 {