This commit is contained in:
zlwu committed 2026-07-05 10:07:24 +08:00
1 parent 33c038b8d9
commit 54b27a3f0e
253 files changed
+30060 -14298

No files matched your search

+65 -13
View File
@@ -316,23 +316,22 @@
color: var(--text);
}
/* 列表合计:第 4 列常为「本页合计(n单)」加粗(备用金申请页除外,见下条) */
.table-scroll.table-page-summary:not(.advance-apply-summary-merge)
.el-table__footer-wrapper
td:nth-child(4)
.cell {
/* 列表合计:金额列等 footer 单元格样式(如有需要可在此扩展) */
.table-scroll.table-page-summary .el-table__footer-wrapper td:nth-child(4) .cell {
font-weight: 600;
color: var(--text);
}
/* 备用金申请:合计行首格 colspan=4 合并多选+序号+单号+申请人 */
.table-scroll.table-page-summary.advance-apply-summary-merge
.el-table__footer-wrapper
td:first-child
.cell {
.table-scroll.table-page-summary .el-table__footer-wrapper td.col-apply-code .cell {
font-weight: 600;
color: var(--text);
text-align: center;
}
/* 合并申请单列表:金额合计按备用金 / 报销单分列展示 */
.table-scroll.table-page-summary-biz-split .el-table__footer-wrapper td.col-money .cell {
white-space: normal;
line-height: 1.45;
font-size: 13px;
}
.bx-table .col-actions .cell > * {
@@ -463,7 +462,7 @@
overflow: hidden;
display: flex;
flex-direction: column;
max-height: calc(100vh - 64px);
max-height: var(--dialog-max-height, calc(100vh - 40px));
}
.bx-dialog .el-dialog__header {
@@ -483,7 +482,7 @@
padding: 20px 22px;
overflow-y: auto;
flex: 1;
max-height: calc(100vh - 200px);
min-height: 0;
}
.bx-dialog .el-dialog__footer {
@@ -605,6 +604,27 @@
margin-top: 14px;
}
.dlg-view-section-tabs {
padding-top: 12px;
}
.dlg-view-flow-tabs {
.el-tabs__header {
margin: 0 0 14px;
}
.el-tabs__nav-wrap::after {
height: 1px;
background-color: var(--border);
}
.el-tabs__item {
height: 40px;
padding: 0 16px;
font-size: 14px;
}
}
/* @deprecated 旧版左右 KV,迁移至 BxViewKvGrid 后删除 */
.dlg-kv {
display: grid;
@@ -945,6 +965,10 @@
margin-top: 12px;
}
.offset-pager + .el-form-item {
margin-top: 16px;
}
.list-toolbar-actions .bx-btn.el-button:not(.el-button--primary) {
background: var(--surface);
border-color: var(--border);
@@ -955,3 +979,31 @@
background: var(--row-alt);
}
/* 报销新增/编辑弹窗:label 左、控件右,垂直居中,label 可换行(栅格列数不变) */
.bx-dialog-form {
.el-form-item {
align-items: center;
}
[class*='form-grid-'] > .el-form-item {
margin-bottom: 0;
}
[class*='form-grid-'] {
row-gap: 16px;
}
.el-form-item__label {
white-space: normal;
word-break: break-word;
line-height: 1.45;
height: auto !important;
padding-right: 12px;
align-self: center;
}
.el-form-item__content {
min-width: 0;
}
}
+33 -6
View File
@@ -8,7 +8,8 @@
> .list-toolbar-selected,
> .list-toolbar-date-shortcuts,
> .el-input,
> .quick-search-group,
> .quick-search-input,
> .el-button {
flex-shrink: 0;
}
@@ -17,7 +18,7 @@
flex-wrap: nowrap;
}
.db-toolbar-quick-search-input.el-input {
.quick-search-group .quick-search-input {
width: 360px;
max-width: 360px;
flex: 0 0 360px;
@@ -53,10 +54,6 @@
--el-button-hover-border-color: rgba(28, 168, 81, 0.45);
}
.db-quick-search-icon {
cursor: pointer;
}
.db-op-actions {
display: flex;
justify-content: center;
@@ -502,3 +499,33 @@
color: var(--text-muted);
margin-top: 4px;
}
/* 地磅新增/编辑弹窗:label 左、控件右,垂直居中,label 可换行(栅格列数不变) */
.db-dialog-form {
.el-form-item {
align-items: center;
}
&[class*='form-grid-'] > .el-form-item,
[class*='form-grid-'] > .el-form-item {
margin-bottom: 0;
}
&[class*='form-grid-'],
[class*='form-grid-'] {
row-gap: 16px;
}
.el-form-item__label {
white-space: normal;
word-break: break-word;
line-height: 1.45;
height: auto !important;
padding-right: 12px;
align-self: center;
}
.el-form-item__content {
min-width: 0;
}
}
+31
View File
@@ -0,0 +1,31 @@
/* 运输(pl)模块样式 */
/* 新增/编辑弹窗:label 左、控件右,垂直居中,label 可换行(栅格列数不变) */
.pl-dialog-form {
.el-form-item {
align-items: center;
}
&[class*='form-grid-'] > .el-form-item,
[class*='form-grid-'] > .el-form-item {
margin-bottom: 0;
}
&[class*='form-grid-'],
[class*='form-grid-'] {
row-gap: 16px;
}
.el-form-item__label {
white-space: normal;
word-break: break-word;
line-height: 1.45;
height: auto !important;
padding-right: 12px;
align-self: center;
}
.el-form-item__content {
min-width: 0;
}
}
+140 -6
View File
@@ -3,8 +3,8 @@
--van-success-color: #1ca851;
--van-button-primary-background: #1ca851;
--van-button-primary-border-color: #1ca851;
--van-nav-bar-background: #e6f8ed;
--van-nav-bar-title-text-color: #168f45;
--van-nav-bar-background: #059669;
--van-nav-bar-title-text-color: #fff;
--van-cell-group-inset-padding: 0;
--van-uploader-size: 96px;
--van-uploader-upload-background: #e6f8ed;
@@ -13,16 +13,70 @@
}
.public-pl-transport-page {
--van-cell-group-title-padding: 2px 10px;
--van-cell-group-inset-title-padding: 2px 10px;
--van-cell-group-title-font-size: 12px;
--van-cell-group-title-line-height: 1.1;
--van-button-primary-background: #059669;
--van-button-primary-border-color: #059669;
padding-bottom: 72px;
}
.public-pl-transport-page .section-card .van-cell-group__title,
.public-pl-transport-page .section-card .van-cell-group__title--inset {
display: flex;
align-items: center;
gap: 6px;
padding: 2px 10px;
margin: 0;
min-height: 0;
line-height: 1.1;
font-size: 12px;
font-weight: 600;
color: #047857;
letter-spacing: 0.01em;
background: linear-gradient(90deg, #ecfdf5 0%, rgb(236 253 245 / 0%) 72%);
&::before {
content: '';
flex-shrink: 0;
width: 3px;
height: 12px;
border-radius: 2px;
background: #059669;
}
}
.public-pl-transport-page .section-card .van-cell {
padding: 7px 14px;
line-height: 1.35;
font-size: 14px;
}
.public-pl-transport-page .section-card .van-field {
padding: 4px 14px 10px;
}
.public-pl-transport-page .section-card .van-field__control {
line-height: 1.35;
font-size: 14px;
}
.public-pl-transport-page .section-card .van-cell::after {
right: 14px;
left: 14px;
}
.public-pl-transport-page .van-cell__title {
color: #64748b;
line-height: 1.35;
}
.public-pl-transport-page .van-cell__value {
color: #1e293b;
font-weight: 600;
line-height: 1.35;
}
.public-pl-transport-page .route-cell .van-cell__value {
@@ -30,18 +84,26 @@
line-height: 1.5;
}
.public-pl-transport-page .product-cell .van-cell__title {
.public-pl-transport-page .product-cell .van-cell__title,
.public-pl-site-page .product-cell .van-cell__title {
color: #1e293b;
font-weight: 600;
line-height: 1.5;
line-height: 1.35;
white-space: normal;
}
.public-pl-transport-page .product-cell .van-cell__label {
.public-pl-transport-page .product-cell .van-cell__label,
.public-pl-site-page .product-cell .van-cell__label {
display: none;
}
.public-pl-transport-page .page-footer {
.public-pl-transport-page .product-cell .van-cell__value,
.public-pl-site-page .product-cell .van-cell__value {
display: none;
}
.public-pl-transport-page .page-footer,
.public-pl-site-page .page-footer {
position: fixed;
left: 50%;
bottom: 0;
@@ -51,4 +113,76 @@
background: rgba(248, 250, 252, 0.96);
border-top: 1px solid #d9e8e2;
box-sizing: border-box;
.van-button--primary {
background: #059669;
border-color: #059669;
}
}
.public-pl-site-page {
--van-cell-group-title-padding: 2px 10px;
--van-cell-group-inset-title-padding: 2px 10px;
--van-cell-group-title-font-size: 12px;
--van-cell-group-title-line-height: 1.1;
--van-button-primary-background: #059669;
--van-button-primary-border-color: #059669;
padding-bottom: 72px;
}
.public-pl-site-page .section-card .van-cell-group__title,
.public-pl-site-page .section-card .van-cell-group__title--inset {
display: flex;
align-items: center;
gap: 6px;
padding: 2px 10px;
margin: 0;
min-height: 0;
line-height: 1.1;
font-size: 12px;
font-weight: 600;
color: #047857;
letter-spacing: 0.01em;
background: linear-gradient(90deg, #ecfdf5 0%, rgb(236 253 245 / 0%) 72%);
&::before {
content: '';
flex-shrink: 0;
width: 3px;
height: 12px;
border-radius: 2px;
background: #059669;
}
}
.public-pl-site-page .section-card .van-cell {
padding: 7px 14px;
line-height: 1.35;
font-size: 14px;
}
.public-pl-site-page .section-card .van-field {
padding: 4px 14px 10px;
}
.public-pl-site-page .section-card .van-field__control {
line-height: 1.35;
font-size: 14px;
}
.public-pl-site-page .section-card .van-cell::after {
right: 14px;
left: 14px;
}
.public-pl-site-page .van-cell__title {
color: #64748b;
line-height: 1.35;
}
.public-pl-site-page .van-cell__value {
color: #1e293b;
font-weight: 600;
line-height: 1.35;
}
+31
View File
@@ -0,0 +1,31 @@
/* 系统管理(sys)模块样式 */
/* 新增/编辑弹窗:label 左、控件右,垂直居中,label 可换行(栅格列数不变) */
.sys-dialog-form {
.el-form-item {
align-items: center;
}
&[class*='form-grid-'] > .el-form-item,
[class*='form-grid-'] > .el-form-item {
margin-bottom: 0;
}
&[class*='form-grid-'],
[class*='form-grid-'] {
row-gap: 16px;
}
.el-form-item__label {
white-space: normal;
word-break: break-word;
line-height: 1.45;
height: auto !important;
padding-right: 12px;
align-self: center;
}
.el-form-item__content {
min-width: 0;
}
}
+31
View File
@@ -0,0 +1,31 @@
/* 工作流(wf)模块样式 */
/* 新增/编辑弹窗:label 左、控件右,垂直居中,label 可换行(栅格列数不变) */
.wf-dialog-form {
.el-form-item {
align-items: center;
}
&[class*='form-grid-'] > .el-form-item,
[class*='form-grid-'] > .el-form-item {
margin-bottom: 0;
}
&[class*='form-grid-'],
[class*='form-grid-'] {
row-gap: 16px;
}
.el-form-item__label {
white-space: normal;
word-break: break-word;
line-height: 1.45;
height: auto !important;
padding-right: 12px;
align-self: center;
}
.el-form-item__content {
min-width: 0;
}
}