Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
V
vue-quasar-admin-dev
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
vue-quasar-admin-dev
Commits
6ef5c9b4
Commit
6ef5c9b4
authored
Mar 05, 2026
by
周海峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6f8d06e0
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
36 行增加
和
12 行删除
+36
-12
src/components/organization-ant.vue
+36
-12
没有找到文件。
src/components/organization-ant.vue
View file @
6ef5c9b4
<
template
>
<div
style=
"position: relative;"
>
<!-- Loading遮罩层 - 覆盖
整个组件
-->
<!-- Loading遮罩层 - 覆盖
树的半透明效果
-->
<div
class=
"
component
-loading-overlay"
:
style=
"
{ display: checkLoading ? 'flex' : 'none'
}"
class=
"
tree
-loading-overlay"
:
class=
"
{ 'is-loading': checkLoading
}"
>
处理中...
<div
class=
"tree-loading-content"
>
<q-spinner-orbit
color=
"primary"
size=
"40px"
/>
<span
class=
"tree-loading-text"
>
处理中...
</span>
</div>
</div>
<div
v-show=
"treeData.length > 0
"
>
<div
class=
"tree-wrapper"
:class=
"
{ 'is-dimmed': checkLoading }
">
<div
class=
"search-container"
>
<div
class=
"search-wrapper"
>
<q-input
...
...
@@ -274,7 +277,7 @@
this
.
checkLoading
=
false
;
// 恢复页面滚动
this
.
restoreBodyScroll
();
},
2
00
);
// 最少显示200ms,让用户看到反馈
},
5
00
);
// 最少显示200ms,让用户看到反馈
}
catch
(
error
)
{
console
.
error
(
'勾选处理出错:'
,
error
);
...
...
@@ -714,21 +717,42 @@
background
:
rgba
(
0
,
0
,
0
,
0.3
);
}
/*
组件Loading遮罩层样式 - 覆盖整个组件
*/
.
component
-loading-overlay
{
/*
树组件的半透明Loading遮罩层
*/
.
tree
-loading-overlay
{
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background-color
:
rgba
(
255
,
255
,
255
,
0.
9
);
backdrop-filter
:
blur
(
3
px
);
z-index
:
100
0
;
background-color
:
rgba
(
255
,
255
,
255
,
0.
75
);
backdrop-filter
:
blur
(
2
px
);
z-index
:
100
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border-radius
:
8px
;
overflow
:
hidden
;
/* 防止遮罩层内部滚动 */
opacity
:
0
;
visibility
:
hidden
;
transition
:
opacity
0.2s
ease
,
visibility
0.2s
ease
;
}
.tree-loading-overlay.is-loading
{
opacity
:
1
;
visibility
:
visible
;
}
.tree-wrapper
{
transition
:
opacity
0.2s
ease
;
}
.tree-wrapper.is-dimmed
{
opacity
:
0.3
;
}
.tree-loading-text
{
color
:
#666
;
font-size
:
14px
;
font-weight
:
500
;
}
/* 响应式设计 */
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论