提交 c98fe8fa authored 作者: 郑景霖's avatar 郑景霖

查看简历样式调整

上级 c28de6d7
......@@ -99,7 +99,7 @@
</el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
v-model:limit="queryParams.pageSize" @pagination="getList" />
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc">
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc-soft">
<el-descriptions title="基本信息">
<el-descriptions-item label="姓名">{{ lookInfo.userInfo.name }}</el-descriptions-item>
<el-descriptions-item label="性别">{{ lookInfo.userInfo.sex ? '男' : '女' }}</el-descriptions-item>
......@@ -265,18 +265,215 @@ function resetQuery() {
// }
getList();
</script>
<style lang="scss" scoped>
.el-dialog .el-dialog__body {
max-height: 650px;
}
</style>
<style lang="scss">
.jltc {
.el-descriptions{
border-bottom: 1px solid #eee;
/* 简历弹窗 · 柔和卡片式风格 */
.el-dialog.jltc-soft {
overflow: hidden;
border-radius: 16px;
box-shadow: 0 24px 60px -22px rgba(23, 43, 77, 0.3), 0 10px 24px -16px rgba(23, 43, 77, 0.16);
/* ---------- 顶部 ---------- */
.el-dialog__header {
position: relative;
padding: 18px 58px 18px 24px;
margin: 0;
background: linear-gradient(135deg, #f8fbff 0%, #eff5ff 58%, #eaf2ff 100%);
border-bottom: 1px solid #e7eefb;
&::after {
content: "";
position: absolute;
left: 24px;
bottom: -1px;
width: 44px;
height: 2px;
border-radius: 2px;
background: linear-gradient(90deg, #3f7cff, #8ab6ff);
}
}
.el-dialog__title {
font-size: 17px;
font-weight: 600;
letter-spacing: 0.5px;
color: #1f2e46;
}
.el-dialog__headerbtn {
top: 12px;
right: 12px;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 10px;
transition: background-color 0.25s ease;
.el-dialog__close {
transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.25s ease;
}
&:hover {
background-color: rgba(63, 124, 255, 0.1);
.el-dialog__close {
transform: rotate(90deg);
}
}
}
/* ---------- 内容区:卡片 + 丝滑滚动 ---------- */
.el-dialog__body {
max-height: min(62vh, 600px);
padding: 18px 22px 14px;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
background-color: #fff;
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
background-color: #dde4ef;
border-radius: 8px;
transition: background-color 0.25s ease;
}
&::-webkit-scrollbar-thumb:hover {
background-color: #c3cede;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
}
/* 每个信息分区 = 一张柔和的卡片 */
.el-descriptions {
padding: 14px 18px 4px;
margin-bottom: 12px;
background: linear-gradient(180deg, #fdfeff 0%, #f8fafd 100%);
border: 1px solid #eef2f8;
border-radius: 12px;
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
animation: jltc-soft-rise 0.44s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
&:hover {
border-color: #e0e9f8;
box-shadow: 0 12px 26px -18px rgba(63, 124, 255, 0.5);
transform: translateY(-1px);
}
&:last-child {
margin-bottom: 0;
}
}
/* 分区标题 + 左侧小竖条 */
.el-descriptions__header {
margin-bottom: 10px;
}
.el-descriptions__title {
position: relative;
padding-left: 12px;
font-size: 14px;
font-weight: 600;
color: #24344d;
&::before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 3px;
height: 14px;
margin-top: -7px;
border-radius: 3px;
background: linear-gradient(180deg, #6ea2ff, #3f7cff);
}
}
.el-descriptions__body {
background-color: transparent;
}
/* 字段名 / 字段值 的层次 */
.el-descriptions table {
.el-descriptions__label {
padding-right: 14px;
font-weight: 400;
color: #8b96a8;
}
.el-descriptions__content {
font-weight: 500;
color: #22304a;
word-break: break-word;
}
}
/* ---------- 底部 ---------- */
.el-dialog__footer {
padding: 14px 22px 18px;
background-color: #fafcff;
border-top: 1px solid #eef2f8;
}
.el-dialog__footer .el-button {
padding: 9px 24px;
font-weight: 500;
border-radius: 10px;
transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s ease;
&:hover {
transform: translateY(-1px);
}
&:active {
transform: translateY(0);
}
}
.el-dialog__footer .el-button--primary {
box-shadow: 0 8px 18px -8px rgba(63, 124, 255, 0.6);
&:hover {
box-shadow: 0 12px 24px -10px rgba(63, 124, 255, 0.7);
}
}
.el-descriptions:last-child{
border-bottom: none;
}
/* 分区依次浮入,形成顺滑的节奏 */
.el-dialog.jltc-soft .el-descriptions:nth-of-type(1) { animation-delay: 0.02s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(2) { animation-delay: 0.07s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(3) { animation-delay: 0.12s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(4) { animation-delay: 0.17s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(n + 5) { animation-delay: 0.22s; }
@keyframes jltc-soft-rise {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 弹层进出场更柔和 */
.dialog-fade-enter-from .jltc-soft,
.dialog-fade-leave-to .jltc-soft {
opacity: 0;
transform: translateY(10px) scale(0.97);
}
.dialog-fade-enter-active .jltc-soft,
.dialog-fade-leave-active .jltc-soft {
transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
</style>
\ No newline at end of file
......@@ -29,7 +29,7 @@
</el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
v-model:limit="queryParams.pageSize" @pagination="getList" />
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc">
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc-soft">
<el-descriptions title="基本信息">
<el-descriptions-item label="姓名">{{ lookInfo.userInfo.name }}</el-descriptions-item>
<el-descriptions-item label="性别">{{ lookInfo.userInfo.sex ? '男' : '女' }}</el-descriptions-item>
......@@ -147,12 +147,214 @@ getList();
</style>
<style lang="scss">
.jltc {
.el-descriptions{
border-bottom: 1px solid #eee;
/* 简历弹窗 · 柔和卡片式风格 */
.el-dialog.jltc-soft {
overflow: hidden;
border-radius: 16px;
box-shadow: 0 24px 60px -22px rgba(23, 43, 77, 0.3), 0 10px 24px -16px rgba(23, 43, 77, 0.16);
/* ---------- 顶部 ---------- */
.el-dialog__header {
position: relative;
padding: 18px 58px 18px 24px;
margin: 0;
background: linear-gradient(135deg, #f8fbff 0%, #eff5ff 58%, #eaf2ff 100%);
border-bottom: 1px solid #e7eefb;
&::after {
content: "";
position: absolute;
left: 24px;
bottom: -1px;
width: 44px;
height: 2px;
border-radius: 2px;
background: linear-gradient(90deg, #3f7cff, #8ab6ff);
}
}
.el-dialog__title {
font-size: 17px;
font-weight: 600;
letter-spacing: 0.5px;
color: #1f2e46;
}
.el-dialog__headerbtn {
top: 12px;
right: 12px;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 10px;
transition: background-color 0.25s ease;
.el-dialog__close {
transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.25s ease;
}
&:hover {
background-color: rgba(63, 124, 255, 0.1);
.el-dialog__close {
transform: rotate(90deg);
}
}
}
/* ---------- 内容区:卡片 + 丝滑滚动 ---------- */
.el-dialog__body {
max-height: min(62vh, 600px);
padding: 18px 22px 14px;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
background-color: #fff;
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
background-color: #dde4ef;
border-radius: 8px;
transition: background-color 0.25s ease;
}
&::-webkit-scrollbar-thumb:hover {
background-color: #c3cede;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
}
/* 每个信息分区 = 一张柔和的卡片 */
.el-descriptions {
padding: 14px 18px 4px;
margin-bottom: 12px;
background: linear-gradient(180deg, #fdfeff 0%, #f8fafd 100%);
border: 1px solid #eef2f8;
border-radius: 12px;
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
animation: jltc-soft-rise 0.44s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
&:hover {
border-color: #e0e9f8;
box-shadow: 0 12px 26px -18px rgba(63, 124, 255, 0.5);
transform: translateY(-1px);
}
&:last-child {
margin-bottom: 0;
}
}
/* 分区标题 + 左侧小竖条 */
.el-descriptions__header {
margin-bottom: 10px;
}
.el-descriptions:last-child{
border-bottom: none;
.el-descriptions__title {
position: relative;
padding-left: 12px;
font-size: 14px;
font-weight: 600;
color: #24344d;
&::before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 3px;
height: 14px;
margin-top: -7px;
border-radius: 3px;
background: linear-gradient(180deg, #6ea2ff, #3f7cff);
}
}
.el-descriptions__body {
background-color: transparent;
}
/* 字段名 / 字段值 的层次 */
.el-descriptions table {
.el-descriptions__label {
padding-right: 14px;
font-weight: 400;
color: #8b96a8;
}
.el-descriptions__content {
font-weight: 500;
color: #22304a;
word-break: break-word;
}
}
/* ---------- 底部 ---------- */
.el-dialog__footer {
padding: 14px 22px 18px;
background-color: #fafcff;
border-top: 1px solid #eef2f8;
}
.el-dialog__footer .el-button {
padding: 9px 24px;
font-weight: 500;
border-radius: 10px;
transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s ease;
&:hover {
transform: translateY(-1px);
}
&:active {
transform: translateY(0);
}
}
.el-dialog__footer .el-button--primary {
box-shadow: 0 8px 18px -8px rgba(63, 124, 255, 0.6);
&:hover {
box-shadow: 0 12px 24px -10px rgba(63, 124, 255, 0.7);
}
}
}
/* 分区依次浮入,形成顺滑的节奏 */
.el-dialog.jltc-soft .el-descriptions:nth-of-type(1) { animation-delay: 0.02s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(2) { animation-delay: 0.07s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(3) { animation-delay: 0.12s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(4) { animation-delay: 0.17s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(n + 5) { animation-delay: 0.22s; }
@keyframes jltc-soft-rise {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 弹层进出场更柔和 */
.dialog-fade-enter-from .jltc-soft,
.dialog-fade-leave-to .jltc-soft {
opacity: 0;
transform: translateY(10px) scale(0.97);
}
.dialog-fade-enter-active .jltc-soft,
.dialog-fade-leave-active .jltc-soft {
transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
</style>
\ No newline at end of file
......@@ -98,7 +98,7 @@
</el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
v-model:limit="queryParams.pageSize" @pagination="getList" />
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc">
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc-soft">
<el-descriptions title="基本信息">
<el-descriptions-item label="姓名">{{ lookInfo.userInfo.name }}</el-descriptions-item>
<el-descriptions-item label="性别">{{ lookInfo.userInfo.sex ? '男' : '女' }}</el-descriptions-item>
......@@ -267,12 +267,214 @@ getList();
}
</style>
<style lang="scss">
.jltc {
.el-descriptions{
border-bottom: 1px solid #eee;
/* 简历弹窗 · 柔和卡片式风格 */
.el-dialog.jltc-soft {
overflow: hidden;
border-radius: 16px;
box-shadow: 0 24px 60px -22px rgba(23, 43, 77, 0.3), 0 10px 24px -16px rgba(23, 43, 77, 0.16);
/* ---------- 顶部 ---------- */
.el-dialog__header {
position: relative;
padding: 18px 58px 18px 24px;
margin: 0;
background: linear-gradient(135deg, #f8fbff 0%, #eff5ff 58%, #eaf2ff 100%);
border-bottom: 1px solid #e7eefb;
&::after {
content: "";
position: absolute;
left: 24px;
bottom: -1px;
width: 44px;
height: 2px;
border-radius: 2px;
background: linear-gradient(90deg, #3f7cff, #8ab6ff);
}
}
.el-dialog__title {
font-size: 17px;
font-weight: 600;
letter-spacing: 0.5px;
color: #1f2e46;
}
.el-dialog__headerbtn {
top: 12px;
right: 12px;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 10px;
transition: background-color 0.25s ease;
.el-dialog__close {
transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.25s ease;
}
&:hover {
background-color: rgba(63, 124, 255, 0.1);
.el-dialog__close {
transform: rotate(90deg);
}
}
}
/* ---------- 内容区:卡片 + 丝滑滚动 ---------- */
.el-dialog__body {
max-height: min(62vh, 600px);
padding: 18px 22px 14px;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
background-color: #fff;
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
background-color: #dde4ef;
border-radius: 8px;
transition: background-color 0.25s ease;
}
&::-webkit-scrollbar-thumb:hover {
background-color: #c3cede;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
}
/* 每个信息分区 = 一张柔和的卡片 */
.el-descriptions {
padding: 14px 18px 4px;
margin-bottom: 12px;
background: linear-gradient(180deg, #fdfeff 0%, #f8fafd 100%);
border: 1px solid #eef2f8;
border-radius: 12px;
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
animation: jltc-soft-rise 0.44s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
&:hover {
border-color: #e0e9f8;
box-shadow: 0 12px 26px -18px rgba(63, 124, 255, 0.5);
transform: translateY(-1px);
}
&:last-child {
margin-bottom: 0;
}
}
/* 分区标题 + 左侧小竖条 */
.el-descriptions__header {
margin-bottom: 10px;
}
.el-descriptions:last-child{
border-bottom: none;
.el-descriptions__title {
position: relative;
padding-left: 12px;
font-size: 14px;
font-weight: 600;
color: #24344d;
&::before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 3px;
height: 14px;
margin-top: -7px;
border-radius: 3px;
background: linear-gradient(180deg, #6ea2ff, #3f7cff);
}
}
.el-descriptions__body {
background-color: transparent;
}
/* 字段名 / 字段值 的层次 */
.el-descriptions table {
.el-descriptions__label {
padding-right: 14px;
font-weight: 400;
color: #8b96a8;
}
.el-descriptions__content {
font-weight: 500;
color: #22304a;
word-break: break-word;
}
}
/* ---------- 底部 ---------- */
.el-dialog__footer {
padding: 14px 22px 18px;
background-color: #fafcff;
border-top: 1px solid #eef2f8;
}
.el-dialog__footer .el-button {
padding: 9px 24px;
font-weight: 500;
border-radius: 10px;
transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s ease;
&:hover {
transform: translateY(-1px);
}
&:active {
transform: translateY(0);
}
}
.el-dialog__footer .el-button--primary {
box-shadow: 0 8px 18px -8px rgba(63, 124, 255, 0.6);
&:hover {
box-shadow: 0 12px 24px -10px rgba(63, 124, 255, 0.7);
}
}
}
/* 分区依次浮入,形成顺滑的节奏 */
.el-dialog.jltc-soft .el-descriptions:nth-of-type(1) { animation-delay: 0.02s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(2) { animation-delay: 0.07s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(3) { animation-delay: 0.12s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(4) { animation-delay: 0.17s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(n + 5) { animation-delay: 0.22s; }
@keyframes jltc-soft-rise {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 弹层进出场更柔和 */
.dialog-fade-enter-from .jltc-soft,
.dialog-fade-leave-to .jltc-soft {
opacity: 0;
transform: translateY(10px) scale(0.97);
}
.dialog-fade-enter-active .jltc-soft,
.dialog-fade-leave-active .jltc-soft {
transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
</style>
......@@ -98,7 +98,7 @@
</el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
v-model:limit="queryParams.pageSize" @pagination="getList" />
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc">
<el-dialog title="简历" v-model="lookShow" width="1000px" append-to-body :close-on-click-modal="false" class="jltc-soft">
<el-descriptions title="基本信息">
<el-descriptions-item label="姓名">{{ lookInfo.userInfo.name }}</el-descriptions-item>
<el-descriptions-item label="性别">{{ lookInfo.userInfo.sex ? '男' : '女' }}</el-descriptions-item>
......@@ -267,12 +267,214 @@ getList();
}
</style>
<style lang="scss">
.jltc {
.el-descriptions{
border-bottom: 1px solid #eee;
/* 简历弹窗 · 柔和卡片式风格 */
.el-dialog.jltc-soft {
overflow: hidden;
border-radius: 16px;
box-shadow: 0 24px 60px -22px rgba(23, 43, 77, 0.3), 0 10px 24px -16px rgba(23, 43, 77, 0.16);
/* ---------- 顶部 ---------- */
.el-dialog__header {
position: relative;
padding: 18px 58px 18px 24px;
margin: 0;
background: linear-gradient(135deg, #f8fbff 0%, #eff5ff 58%, #eaf2ff 100%);
border-bottom: 1px solid #e7eefb;
&::after {
content: "";
position: absolute;
left: 24px;
bottom: -1px;
width: 44px;
height: 2px;
border-radius: 2px;
background: linear-gradient(90deg, #3f7cff, #8ab6ff);
}
}
.el-dialog__title {
font-size: 17px;
font-weight: 600;
letter-spacing: 0.5px;
color: #1f2e46;
}
.el-dialog__headerbtn {
top: 12px;
right: 12px;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 10px;
transition: background-color 0.25s ease;
.el-dialog__close {
transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.25s ease;
}
&:hover {
background-color: rgba(63, 124, 255, 0.1);
.el-dialog__close {
transform: rotate(90deg);
}
}
}
/* ---------- 内容区:卡片 + 丝滑滚动 ---------- */
.el-dialog__body {
max-height: min(62vh, 600px);
padding: 18px 22px 14px;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
background-color: #fff;
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
background-color: #dde4ef;
border-radius: 8px;
transition: background-color 0.25s ease;
}
&::-webkit-scrollbar-thumb:hover {
background-color: #c3cede;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
}
/* 每个信息分区 = 一张柔和的卡片 */
.el-descriptions {
padding: 14px 18px 4px;
margin-bottom: 12px;
background: linear-gradient(180deg, #fdfeff 0%, #f8fafd 100%);
border: 1px solid #eef2f8;
border-radius: 12px;
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
animation: jltc-soft-rise 0.44s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
&:hover {
border-color: #e0e9f8;
box-shadow: 0 12px 26px -18px rgba(63, 124, 255, 0.5);
transform: translateY(-1px);
}
&:last-child {
margin-bottom: 0;
}
}
/* 分区标题 + 左侧小竖条 */
.el-descriptions__header {
margin-bottom: 10px;
}
.el-descriptions:last-child{
border-bottom: none;
.el-descriptions__title {
position: relative;
padding-left: 12px;
font-size: 14px;
font-weight: 600;
color: #24344d;
&::before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 3px;
height: 14px;
margin-top: -7px;
border-radius: 3px;
background: linear-gradient(180deg, #6ea2ff, #3f7cff);
}
}
.el-descriptions__body {
background-color: transparent;
}
/* 字段名 / 字段值 的层次 */
.el-descriptions table {
.el-descriptions__label {
padding-right: 14px;
font-weight: 400;
color: #8b96a8;
}
.el-descriptions__content {
font-weight: 500;
color: #22304a;
word-break: break-word;
}
}
/* ---------- 底部 ---------- */
.el-dialog__footer {
padding: 14px 22px 18px;
background-color: #fafcff;
border-top: 1px solid #eef2f8;
}
.el-dialog__footer .el-button {
padding: 9px 24px;
font-weight: 500;
border-radius: 10px;
transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s ease;
&:hover {
transform: translateY(-1px);
}
&:active {
transform: translateY(0);
}
}
.el-dialog__footer .el-button--primary {
box-shadow: 0 8px 18px -8px rgba(63, 124, 255, 0.6);
&:hover {
box-shadow: 0 12px 24px -10px rgba(63, 124, 255, 0.7);
}
}
}
/* 分区依次浮入,形成顺滑的节奏 */
.el-dialog.jltc-soft .el-descriptions:nth-of-type(1) { animation-delay: 0.02s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(2) { animation-delay: 0.07s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(3) { animation-delay: 0.12s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(4) { animation-delay: 0.17s; }
.el-dialog.jltc-soft .el-descriptions:nth-of-type(n + 5) { animation-delay: 0.22s; }
@keyframes jltc-soft-rise {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 弹层进出场更柔和 */
.dialog-fade-enter-from .jltc-soft,
.dialog-fade-leave-to .jltc-soft {
opacity: 0;
transform: translateY(10px) scale(0.97);
}
.dialog-fade-enter-active .jltc-soft,
.dialog-fade-leave-active .jltc-soft {
transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
</style>
\ No newline at end of file
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论