feat 样式整改
This commit is contained in:
@@ -150,16 +150,17 @@ onMounted(() => {
|
||||
<style lang="less" scoped>
|
||||
.bill-detail {
|
||||
width: 100%;
|
||||
padding-bottom: 325px;
|
||||
background: @contract-page-bg;
|
||||
min-height: 100%;
|
||||
padding-bottom: @spacing-page-bottom;
|
||||
background: @bg-color;
|
||||
|
||||
&__breadcrumb {
|
||||
.flex(row, flex-start, center);
|
||||
height: 86px;
|
||||
padding-top: 34px;
|
||||
font-size: 13px;
|
||||
min-height: 48px;
|
||||
padding-top: @spacing-lg;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 400;
|
||||
line-height: 17px;
|
||||
line-height: 1.5;
|
||||
color: @project-muted;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -154,8 +154,9 @@ onMounted(() => {
|
||||
align-items: stretch;
|
||||
gap: 0;
|
||||
width: 100%;
|
||||
padding-bottom: 14px;
|
||||
background: @contract-page-bg;
|
||||
min-height: 100%;
|
||||
padding-bottom: @spacing-page-bottom;
|
||||
background: @bg-color;
|
||||
|
||||
&__breadcrumb {
|
||||
.flex(row, flex-start, center);
|
||||
@@ -185,9 +186,9 @@ onMounted(() => {
|
||||
&__stats {
|
||||
.flex(row, flex-start, flex-start);
|
||||
gap: 0;
|
||||
height: 106px;
|
||||
margin-top: 11px;
|
||||
border: 1px solid @finance-card-line;
|
||||
min-height: 96px;
|
||||
margin-top: @spacing-base;
|
||||
border: none;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
box-sizing: border-box;
|
||||
@@ -209,19 +210,19 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
&__stat-value {
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
line-height: 35px;
|
||||
font-size: @font-size-xl;
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
color: @finance-ink;
|
||||
}
|
||||
|
||||
&__toolbar {
|
||||
.flex(row, flex-start, center);
|
||||
gap: 0;
|
||||
height: 71px;
|
||||
margin-top: 14px;
|
||||
padding: 0 0 0 22px;
|
||||
border: 1px solid @finance-card-line;
|
||||
gap: @spacing-base;
|
||||
min-height: 64px;
|
||||
margin-top: @spacing-base;
|
||||
padding: 0 @spacing-lg;
|
||||
border: none;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
box-sizing: border-box;
|
||||
@@ -249,27 +250,29 @@ onMounted(() => {
|
||||
|
||||
:deep(.el-radio-button.is-active .el-radio-button__inner) {
|
||||
border-color: @primary-strong;
|
||||
background: @primary-strong;
|
||||
color: @white;
|
||||
background: @filter-selected-bg;
|
||||
color: @primary-strong;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
box-shadow: -1px 0 0 0 @primary-strong;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__search {
|
||||
width: 1300px;
|
||||
height: 37px;
|
||||
margin-left: 33px;
|
||||
flex-shrink: 0;
|
||||
flex: 0 1 360px;
|
||||
width: auto;
|
||||
height: 36px;
|
||||
margin-left: 0;
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
|
||||
:deep(.el-input__wrapper) {
|
||||
width: 1300px;
|
||||
height: 37px;
|
||||
padding: 0 16px;
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
padding: 0 @spacing-base;
|
||||
background: @finance-field-bg;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
box-shadow: 0 0 0 1px @border-color inset;
|
||||
border-radius: @radius-round;
|
||||
}
|
||||
|
||||
:deep(.el-input__inner) {
|
||||
@@ -314,36 +317,41 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
&__board {
|
||||
margin-top: 14px;
|
||||
border: 1px solid @finance-card-line;
|
||||
margin-top: @spacing-base;
|
||||
border: none;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
overflow: hidden;
|
||||
padding: @spacing-base @spacing-lg @spacing-lg;
|
||||
}
|
||||
|
||||
:deep(.pagination) {
|
||||
justify-content: flex-end;
|
||||
gap: 3.7px;
|
||||
padding: 8px 26px 30px 0;
|
||||
gap: @spacing-xs;
|
||||
padding: @spacing-base 0 0;
|
||||
}
|
||||
|
||||
:deep(.pagination__btn) {
|
||||
min-width: 0;
|
||||
height: 16px;
|
||||
padding: 0 3px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
color: @finance-muted-text;
|
||||
font-size: 12px;
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
padding: 0 6px;
|
||||
border: 1px solid @border-color;
|
||||
border-radius: @radius-sm;
|
||||
background: @white;
|
||||
color: @text-color;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 400;
|
||||
|
||||
&.is-active {
|
||||
min-width: 21.45px;
|
||||
min-width: 28px;
|
||||
border-color: @primary-strong;
|
||||
background: @primary-light;
|
||||
color: @primary-strong;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
&:hover:not(:disabled):not(.is-ellipsis) {
|
||||
border: none;
|
||||
border-color: @primary-strong;
|
||||
color: @primary-strong;
|
||||
}
|
||||
|
||||
|
||||
@@ -126,31 +126,36 @@ watch(
|
||||
|
||||
<style lang="less" scoped>
|
||||
.bill-table {
|
||||
width: 1765px;
|
||||
margin: 6.5px 0 0 14.5px;
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
margin: @spacing-sm 0 0;
|
||||
font-size: @font-size-sm;
|
||||
color: @finance-entry-text;
|
||||
|
||||
:deep(.el-table) {
|
||||
--el-table-border-color: @border-color;
|
||||
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.el-table__header-wrapper th.el-table__cell) {
|
||||
height: 41.77px;
|
||||
height: 44px;
|
||||
padding: 0;
|
||||
background: @finance-table-head-bg;
|
||||
border-right: 1px solid @project-divider;
|
||||
border-bottom: 1px solid @project-divider;
|
||||
color: @finance-entry-text;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid @border-color;
|
||||
color: @text-color-secondary;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
:deep(.el-table__header-wrapper th.el-table__cell:first-child) {
|
||||
border-left: 1px solid @project-divider;
|
||||
}
|
||||
|
||||
:deep(.el-table__body-wrapper td.el-table__cell) {
|
||||
height: 43.77px;
|
||||
height: 56px;
|
||||
padding: 0;
|
||||
border-bottom: 1px solid @project-divider;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid @border-color;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -159,17 +164,16 @@ watch(
|
||||
}
|
||||
|
||||
:deep(.el-table .cell) {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: @spacing-sm;
|
||||
padding-right: @spacing-sm;
|
||||
line-height: normal;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
// 首列(多选)左缩进对齐设计稿
|
||||
:deep(.el-table-column--selection .cell) {
|
||||
padding-left: 43.5px;
|
||||
padding-left: @spacing-base;
|
||||
}
|
||||
|
||||
&__ops {
|
||||
@@ -177,12 +181,12 @@ watch(
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 18px;
|
||||
gap: @spacing-base;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&__link {
|
||||
font-size: 12px;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 400;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -164,20 +164,22 @@ onMounted(() => {
|
||||
<style lang="less" scoped>
|
||||
.finance {
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
padding-bottom: @spacing-page-bottom;
|
||||
background: @bg-color;
|
||||
|
||||
&__top {
|
||||
.flex(row, flex-start, stretch);
|
||||
gap: 14px;
|
||||
margin-top: -56px;
|
||||
gap: @spacing-base;
|
||||
margin-top: @spacing-lg;
|
||||
}
|
||||
|
||||
&__entries {
|
||||
.flex(row, space-between, center);
|
||||
flex: 0 0 672px;
|
||||
height: 135px;
|
||||
// 设计稿 #20:首入口中心 x=1272、尾中心 x=1756,两侧对称 padding 66px 命中
|
||||
padding: 0 66px;
|
||||
border: 1px solid @finance-card-line;
|
||||
border: none;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -137,16 +137,17 @@ onMounted(() => {
|
||||
<style lang="less" scoped>
|
||||
.invoice-titles {
|
||||
width: 100%;
|
||||
padding-bottom: 459px;
|
||||
background: @contract-page-bg;
|
||||
min-height: 100%;
|
||||
padding-bottom: @spacing-page-bottom;
|
||||
background: @bg-color;
|
||||
|
||||
&__breadcrumb {
|
||||
.flex(row, flex-start, center);
|
||||
height: 81px;
|
||||
padding-top: 36px;
|
||||
font-size: 13px;
|
||||
min-height: 48px;
|
||||
padding-top: @spacing-lg;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: 400;
|
||||
line-height: 17px;
|
||||
line-height: 1.5;
|
||||
color: @project-muted;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -167,9 +168,9 @@ onMounted(() => {
|
||||
|
||||
&__head {
|
||||
.flex(row, space-between, center);
|
||||
height: 62px;
|
||||
padding: 0 33.56px 0 36px;
|
||||
border: 1px solid @finance-card-line;
|
||||
min-height: 56px;
|
||||
padding: 0 @spacing-lg;
|
||||
border: none;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -265,8 +265,10 @@ onMounted(() => {
|
||||
gap: @spacing-base;
|
||||
width: 100%;
|
||||
max-width: @container-width;
|
||||
min-height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: @spacing-lg @spacing-base @spacing-xxl;
|
||||
padding: @spacing-lg @spacing-base @spacing-page-bottom;
|
||||
background: @bg-color;
|
||||
|
||||
&__breadcrumb {
|
||||
font-size: 11px;
|
||||
@@ -346,13 +348,14 @@ onMounted(() => {
|
||||
|
||||
&.is-active {
|
||||
border-color: @primary-color;
|
||||
background: @primary-color;
|
||||
color: @white;
|
||||
background: @filter-selected-bg;
|
||||
color: @primary-color;
|
||||
font-weight: 500;
|
||||
|
||||
&:hover {
|
||||
border-color: @primary-color;
|
||||
background: @primary-color;
|
||||
color: @white;
|
||||
background: @filter-selected-bg;
|
||||
color: @primary-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -161,8 +161,10 @@ onMounted(() => {
|
||||
.pay {
|
||||
width: 100%;
|
||||
max-width: @container-width;
|
||||
min-height: 100%;
|
||||
margin: 0 auto;
|
||||
padding: @spacing-lg @spacing-base @spacing-xxl;
|
||||
padding: @spacing-lg @spacing-base @spacing-page-bottom;
|
||||
background: @bg-color;
|
||||
|
||||
&__breadcrumb {
|
||||
margin-bottom: @spacing-base;
|
||||
@@ -235,8 +237,8 @@ onMounted(() => {
|
||||
|
||||
&__amount {
|
||||
margin-top: 4px;
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
font-size: @font-size-xl;
|
||||
font-weight: 600;
|
||||
color: @danger-color;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user