- Vue 3 + TypeScript + Element Plus 前端界面 - Pinia 状态管理 - Vue Router 4 路由管理 - Axios HTTP 客户端 - MSW (Mock Service Worker) 开发环境模拟 - 账户管理界面 (列表、详情、三科目余额展示) - 交易管理界面 (列表、详情) - 对账管理界面 (三账校验) - 完善的 API 客户端封装 - Docker 容器化配置 - Nginx 配置用于生产环境
116 lines
2.1 KiB
SCSS
116 lines
2.1 KiB
SCSS
@use '../mixins/mixins' as *;
|
|
@use '../common/var' as *;
|
|
|
|
@include b(time-spinner) {
|
|
&.has-seconds {
|
|
.#{$namespace}-time-spinner__wrapper {
|
|
width: 33.3%;
|
|
}
|
|
}
|
|
|
|
@include e(wrapper) {
|
|
max-height: 192px;
|
|
overflow: auto;
|
|
display: inline-block;
|
|
width: 50%;
|
|
vertical-align: top;
|
|
position: relative;
|
|
|
|
&.#{$namespace}-scrollbar__wrap:not(
|
|
.#{$namespace}-scrollbar__wrap--hidden-default
|
|
) {
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
@include when(arrow) {
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
|
|
.#{$namespace}-time-spinner__list {
|
|
transform: translateY(-32px);
|
|
}
|
|
|
|
.#{$namespace}-time-spinner__item:hover:not(.is-disabled):not(
|
|
.is-active
|
|
) {
|
|
background: getCssVar('fill-color', 'light');
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|
|
|
|
@include e(arrow) {
|
|
font-size: 12px;
|
|
color: getCssVar('text-color', 'secondary');
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: getCssVar('index-normal');
|
|
text-align: center;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
color: getCssVar('color-primary');
|
|
}
|
|
|
|
&.arrow-up {
|
|
top: 10px;
|
|
}
|
|
|
|
&.arrow-down {
|
|
bottom: 10px;
|
|
}
|
|
}
|
|
|
|
@include e(input) {
|
|
&.#{$namespace}-input {
|
|
width: 70%;
|
|
|
|
.#{$namespace}-input__inner {
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
@include e(list) {
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
text-align: center;
|
|
|
|
&::after,
|
|
&::before {
|
|
content: '';
|
|
display: block;
|
|
width: 100%;
|
|
height: 80px;
|
|
}
|
|
}
|
|
|
|
@include e(item) {
|
|
height: 32px;
|
|
line-height: 32px;
|
|
font-size: 12px;
|
|
color: getCssVar('text-color', 'regular');
|
|
|
|
&:hover:not(.is-disabled):not(.is-active) {
|
|
background: getCssVar('fill-color', 'light');
|
|
cursor: pointer;
|
|
}
|
|
|
|
&.is-active:not(.is-disabled) {
|
|
color: getCssVar('text-color', 'primary');
|
|
font-weight: bold;
|
|
}
|
|
|
|
&.is-disabled {
|
|
color: getCssVar('text-color', 'placeholder');
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
}
|