cleaning - 前端基础样式调整v1.0 (#2)
Some checks failed
Web UI CI/CD / build-and-deploy (push) Failing after 46m41s
Some checks failed
Web UI CI/CD / build-and-deploy (push) Failing after 46m41s
## 描述 将 `cleaning` 开发分支合并到 `master`。 主要改动包括: - 基础前端页面调整为初版设计 `cleaning` 分支中包含了多个开发过程的提交,本次合并计划 **使用 Squash 合并为一次提交**,以保持 `master` 分支历史清晰。 ## 类型 - [ ] Bug 修复(非破坏性修改) - [x] 新功能(非破坏性新增功能) - [ ] 破坏性修改(修改会影响现有功能) - [ ] 需要更新文档 - [x] 除非引入新的测试示例,否则不修改 `pnpm-lock.yaml` Reviewed-on: http://124.221.55.225:3000/XW-AIOT/aiot-platform-ui/pulls/2
This commit is contained in:
@@ -151,7 +151,7 @@ function onMouseDown(e: MouseEvent, tab: TabConfig) {
|
||||
|
||||
<!-- tab-item-main -->
|
||||
<div
|
||||
class="tabs-chrome__item-main z-[2] mx-[calc(var(--gap)*2)] my-0 flex h-full items-center overflow-hidden rounded-tl-[5px] rounded-tr-[5px] pl-2 pr-4 text-accent-foreground duration-150 group-[.is-active]:text-primary dark:group-[.is-active]:text-accent-foreground"
|
||||
class="tabs-chrome__item-main z-[2] mx-[calc(var(--gap)*2)] my-0 flex h-full items-center overflow-hidden rounded-tl-[5px] rounded-tr-[5px] pl-2 pr-4 text-accent-foreground duration-150 group-[.is-active]:font-semibold group-[.is-active]:text-[#b34e00] dark:group-[.is-active]:text-accent-foreground"
|
||||
>
|
||||
<VbenIcon
|
||||
v-if="showIcon"
|
||||
|
||||
@@ -96,7 +96,7 @@ function onMouseDown(e: MouseEvent, tab: TabConfig) {
|
||||
typeWithClass.content,
|
||||
]"
|
||||
:data-index="i"
|
||||
class="tab-item translate-all group relative flex cursor-pointer select-none [&:not(.is-active)]:hover:bg-accent"
|
||||
class="tab-item translate-all group relative flex cursor-pointer select-none [&.is-active]:font-semibold [&:not(.is-active)]:hover:bg-accent"
|
||||
data-tab-item="true"
|
||||
@click="active = tab.key"
|
||||
@mousedown="onMouseDown($event, tab)"
|
||||
|
||||
Reference in New Issue
Block a user