feat ui设计稿

This commit is contained in:
Ironsp
2026-09-30 15:55:36 +08:00
parent ce8210fb3f
commit 9ab6253c81
102 changed files with 4855 additions and 2359 deletions

View File

@@ -146,24 +146,52 @@ onMounted(() => {
<style lang="less" scoped>
.invoice-titles {
.flex(column, flex-start);
align-items: stretch;
gap: @spacing-base;
padding-top: @spacing-lg;
padding-bottom: @spacing-xxl;
width: 100%;
max-width: @container-width;
margin: 0 auto;
padding: @spacing-lg @spacing-base @spacing-xxl;
// 设计 35/36:面包屑 13 设计px → 11px,前缀灰、当前页深灰
&__breadcrumb {
font-size: @font-size-base;
font-size: 11px;
color: @text-color-disabled;
> span:last-child {
color: @text-color;
}
}
// 顶部「发票管理」白卡条(设计 35:蓝竖条标题 + 右侧按钮组)
&__head {
.flex(row, space-between, center);
flex-wrap: wrap;
gap: @spacing-base;
padding: 14px 20px;
border-radius: @radius-base;
background: @white;
box-shadow: @shadow-base;
}
&__title {
font-size: @font-size-xl;
font-weight: 600;
position: relative;
padding-left: 10px;
font-size: 12px;
font-weight: 700;
color: @heading-color;
&::before {
content: '';
position: absolute;
top: 50%;
left: 0;
width: 4px;
height: 14px;
border-radius: @radius-round;
background: @primary-strong;
transform: translateY(-50%);
}
}
&__filters {
@@ -172,36 +200,51 @@ onMounted(() => {
}
&__filter {
height: 34px;
padding: 0 @spacing-base;
height: 26px;
padding: 0 14px;
border: 1px solid @border-color;
border-radius: @radius-base;
border-radius: @radius-sm;
background: @white;
color: @text-color;
font-size: @font-size-base;
font-size: 11px;
transition: all 0.2s;
&:hover {
border-color: @primary-color;
color: @primary-color;
border-color: @primary-strong;
color: @primary-strong;
}
&.is-active {
border-color: @primary-color;
background: @primary-color;
border-color: @primary-strong;
background: @primary-strong;
color: @white;
}
}
// 「+ 新增抬头」:设计 35 实底 #024FFF 小按钮
:deep(.app-button--primary) {
height: 26px;
padding: 0 12px;
border-radius: @radius-sm;
background: @primary-strong;
font-size: 11px;
&:hover {
background: @primary-color;
}
}
// 抬头卡纵排铺满(设计 35 一行一张)
&__grid {
.flex(row, flex-start);
flex-wrap: wrap;
display: flex;
flex-direction: column;
gap: @spacing-base;
}
&__empty {
padding: @spacing-xl 0;
font-size: @font-size-base;
font-size: 11px;
text-align: center;
}
}
</style>