- Vue 3 + TypeScript + Element Plus 前端界面 - Pinia 状态管理 - Vue Router 4 路由管理 - Axios HTTP 客户端 - MSW (Mock Service Worker) 开发环境模拟 - 账户管理界面 (列表、详情、三科目余额展示) - 交易管理界面 (列表、详情) - 对账管理界面 (三账校验) - 完善的 API 客户端封装 - Docker 容器化配置 - Nginx 配置用于生产环境
94 lines
1.7 KiB
SCSS
94 lines
1.7 KiB
SCSS
@use 'sass:map';
|
|
|
|
@use 'mixins/mixins' as *;
|
|
@use 'mixins/var' as *;
|
|
@use 'common/var' as *;
|
|
|
|
@include b(anchor) {
|
|
@include set-component-css-var('anchor', $anchor);
|
|
|
|
position: relative;
|
|
background-color: getCssVar('anchor-bg-color');
|
|
|
|
@include e(marker) {
|
|
position: absolute;
|
|
background-color: getCssVar('anchor-marker-bg-color');
|
|
border-radius: 4px;
|
|
opacity: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
&.#{$namespace}-anchor--vertical {
|
|
@include e(marker) {
|
|
width: 4px;
|
|
height: 14px;
|
|
top: 8px;
|
|
left: 0;
|
|
transition:
|
|
top 0.25s ease-in-out,
|
|
opacity 0.25s;
|
|
}
|
|
|
|
@include e(list) {
|
|
padding-left: getCssVar('anchor-padding-indent');
|
|
}
|
|
|
|
&.#{$namespace}-anchor--underline {
|
|
&::before {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 2px;
|
|
height: 100%;
|
|
background-color: rgba(5, 5, 5, 0.06);
|
|
content: '';
|
|
}
|
|
|
|
@include e(marker) {
|
|
width: 2px;
|
|
border-radius: unset;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.#{$namespace}-anchor--horizontal {
|
|
@include e(marker) {
|
|
height: 2px;
|
|
width: 20px;
|
|
bottom: 0;
|
|
transition:
|
|
left 0.25s ease-in-out,
|
|
opacity 0.25s,
|
|
width 0.25s;
|
|
}
|
|
|
|
@include e(list) {
|
|
display: flex;
|
|
padding-bottom: 4px;
|
|
|
|
@include e(item) {
|
|
padding-left: 16px;
|
|
|
|
&:first-child {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.#{$namespace}-anchor--underline {
|
|
&::before {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 2px;
|
|
background-color: rgba(5, 5, 5, 0.06);
|
|
content: '';
|
|
}
|
|
|
|
@include e(marker) {
|
|
height: 2px;
|
|
border-radius: unset;
|
|
}
|
|
}
|
|
}
|
|
}
|