- Vue 3 + TypeScript + Element Plus 前端界面 - Pinia 状态管理 - Vue Router 4 路由管理 - Axios HTTP 客户端 - MSW (Mock Service Worker) 开发环境模拟 - 账户管理界面 (列表、详情、三科目余额展示) - 交易管理界面 (列表、详情) - 对账管理界面 (三账校验) - 完善的 API 客户端封装 - Docker 容器化配置 - Nginx 配置用于生产环境
59 lines
1.2 KiB
SCSS
59 lines
1.2 KiB
SCSS
@use 'mixins/mixins' as *;
|
|
@use 'common/var' as *;
|
|
|
|
@include b(carousel) {
|
|
@include e(item) {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
z-index: calc(getCssVar('index', 'normal') - 1);
|
|
|
|
@include when(active) {
|
|
z-index: calc(getCssVar('index', 'normal') - 1);
|
|
}
|
|
|
|
@include when(animating) {
|
|
transition: transform 0.4s ease-in-out;
|
|
}
|
|
|
|
@include m(card) {
|
|
width: 50%;
|
|
transition: transform 0.4s ease-in-out;
|
|
|
|
&.is-in-stage {
|
|
cursor: pointer;
|
|
z-index: getCssVar('index', 'normal');
|
|
|
|
&:hover .#{$namespace}-carousel__mask,
|
|
&.is-hover .#{$namespace}-carousel__mask {
|
|
opacity: 0.12;
|
|
}
|
|
}
|
|
|
|
&.is-active {
|
|
z-index: calc(getCssVar('index', 'normal') + 1);
|
|
}
|
|
}
|
|
|
|
@include m(card-vertical) {
|
|
width: 100%;
|
|
height: 50%;
|
|
}
|
|
}
|
|
|
|
@include e(mask) {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: getCssVar('color', 'white');
|
|
opacity: 0.24;
|
|
transition: getCssVar('transition-duration', 'fast');
|
|
}
|
|
}
|