提交
This commit is contained in:
1 parent
0e1b750457
commit
8c49021d38
93 files changed
+22731
-12107
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/* 按钮点击加载:文案淡化 + 居中自绘转圈(与发起页暂存/提交一致) */
|
||||
.oa-btn-loading {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.oa-btn-loading.is-loading.van-button--disabled {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
.oa-btn-loading.is-loading {
|
||||
pointer-events: none;
|
||||
}
|
||||
.oa-btn-loading.is-loading .oa-btn-loading__label {
|
||||
opacity: 0.25;
|
||||
}
|
||||
.oa-btn-loading__spin {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
pointer-events: none;
|
||||
}
|
||||
.oa-btn-loading__spin::before {
|
||||
content: '';
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border: 2px solid currentColor;
|
||||
border-right-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: oa-btn-loading-spin 0.7s linear infinite;
|
||||
}
|
||||
@keyframes oa-btn-loading-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user