diff --git a/src/components/ContactService/index.vue b/src/components/ContactService/index.vue
index 3b49172..dad1cfb 100644
--- a/src/components/ContactService/index.vue
+++ b/src/components/ContactService/index.vue
@@ -1,6 +1,7 @@
diff --git a/src/components/top-nav/RightTopUser.vue b/src/components/top-nav/RightTopUser.vue
index 95eda12..331b042 100644
--- a/src/components/top-nav/RightTopUser.vue
+++ b/src/components/top-nav/RightTopUser.vue
@@ -859,10 +859,11 @@ const onMenuClick = async (event: { key: string }) => {
display: inline-flex;
align-items: center;
justify-content: center;
- border-radius: 7px;
+ border-radius: 999px;
font-size: 13px;
+ line-height: 0;
color: rgba(26, 46, 56, 0.55);
- background: rgba(15, 23, 42, 0.04);
+ background: rgba(26, 46, 56, 0.05);
}
&__item-label {
diff --git a/src/components/top-nav/SelectLang.vue b/src/components/top-nav/SelectLang.vue
index 93d5a79..ff2d5cb 100644
--- a/src/components/top-nav/SelectLang.vue
+++ b/src/components/top-nav/SelectLang.vue
@@ -73,17 +73,20 @@ function changeLang({ key }: { key: string }) {
}
.dropDown {
cursor: pointer;
- color: inherit;
+ color: rgba(26, 46, 56, 0.52);
display: inline-flex;
align-items: center;
justify-content: center;
- width: 28px;
- height: 28px;
- border-radius: 8px;
- transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
+ width: 30px;
+ height: 30px;
+ border-radius: 999px;
+ background: rgba(26, 46, 56, 0.05);
+ line-height: 0;
+ transition: background-color 0.14s ease, color 0.14s ease;
&:hover {
- background-color: rgba(0, 0, 0, 0.05);
+ color: #1a2e38;
+ background: rgba(26, 46, 56, 0.09);
}
&.is-sider {
@@ -98,7 +101,11 @@ function changeLang({ key }: { key: string }) {
}
.lang-icon {
- font-size: 16px;
+ display: block;
+ width: 15px;
+ height: 15px;
+ font-size: 15px;
+ line-height: 1;
}
}
diff --git a/src/components/top-nav/index.vue b/src/components/top-nav/index.vue
index 5d5fdde..61ab236 100644
--- a/src/components/top-nav/index.vue
+++ b/src/components/top-nav/index.vue
@@ -233,7 +233,15 @@
@keydown.enter.prevent="onPrintConnectionClick"
>
-
+
@@ -1410,7 +1418,7 @@ onUnmounted(() => {
align-items: center;
gap: 8px;
- /* 独立白底胶囊标(高度与 .top-nav-menu 同为 44) */
+ /* 与客户侧栏品牌椭圆同步:浅灰底、无描边 */
.top-nav-logo {
position: relative;
z-index: 2;
@@ -1418,42 +1426,39 @@ onUnmounted(() => {
align-items: center;
justify-content: center;
flex-shrink: 0;
- height: 44px;
- min-width: 64px;
+ width: 72px;
+ height: 42px;
+ min-width: 72px;
margin: 0;
- padding: 0 14px;
+ padding: 0;
+ border: none;
border-radius: 999px;
- background: #fff;
- border: 1px solid rgba(15, 23, 42, 0.08);
- box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
+ background: rgba(26, 46, 56, 0.05);
+ box-shadow: none;
color: inherit;
text-decoration: none;
cursor: pointer;
overflow: hidden;
box-sizing: border-box;
- transition:
- border-color 0.18s ease,
- box-shadow 0.18s ease,
- transform 0.14s ease;
+ line-height: 0;
+ transition: background-color 0.14s ease;
&:hover {
- border-color: rgba(15, 23, 42, 0.12);
- box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
+ background: rgba(26, 46, 56, 0.09);
}
&:active {
- border-color: rgba(15, 23, 42, 0.1);
- box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
+ background: rgba(26, 46, 56, 0.08);
transform: scale(0.98);
}
img {
- height: 28px;
- width: auto;
- max-width: 88px;
+ width: 36px;
+ height: 36px;
box-sizing: border-box;
object-fit: contain;
display: block;
+ border: none;
background: transparent;
border: none;
border-radius: 0;
@@ -1570,7 +1575,7 @@ onUnmounted(() => {
.top-nav-right-cluster {
display: inline-flex;
align-items: center;
- gap: 2px;
+ gap: 6px;
min-width: 0;
&--meta {
@@ -1600,7 +1605,7 @@ onUnmounted(() => {
position: relative;
&--warehouse {
- max-width: 180px;
+ max-width: 220px;
}
}
@@ -1611,48 +1616,91 @@ onUnmounted(() => {
justify-content: center;
width: 30px;
height: 30px;
- border-radius: 9px;
- color: var(--color-text-3, #86909c);
+ border-radius: 999px;
+ background: rgba(26, 46, 56, 0.05);
+ color: rgba(26, 46, 56, 0.52);
+ line-height: 0;
text-decoration: none;
cursor: pointer;
outline: none;
transition:
- color 0.16s ease,
- background-color 0.16s ease,
- opacity 0.16s ease;
+ color 0.14s ease,
+ background-color 0.14s ease,
+ opacity 0.14s ease;
&:hover {
- color: var(--color-text-1, #1d2129);
- background-color: rgba(15, 23, 42, 0.045);
+ color: #1a2e38;
+ background: rgba(26, 46, 56, 0.09);
}
&.is-enabled {
- color: var(--color-text-1, #1d2129);
+ color: var(--app-primary-color, #1d7281);
+ background: color-mix(in srgb, var(--app-primary-color, #1d7281) 12%, #fff);
}
&.is-loading {
- opacity: 0.5;
+ opacity: 0.55;
pointer-events: none;
}
}
.print-connection-icon {
+ display: block;
+ width: 15px;
+ height: 15px;
font-size: 15px;
+ line-height: 1;
}
- .print-connection-dot {
+ .print-connection-ping {
+ --print-ping: #c9cdd4;
position: absolute;
- right: 5px;
- bottom: 5px;
- width: 6px;
- height: 6px;
+ top: 4px;
+ right: 4px;
+ width: 7px;
+ height: 7px;
border-radius: 50%;
- background: var(--color-text-4, #c9cdd4);
- box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.92);
+ background: var(--print-ping);
+ box-shadow: 0 0 0 1.5px #fff;
+ pointer-events: none;
+
+ &::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ border-radius: 50%;
+ background: var(--print-ping);
+ animation: top-nav-chip-ping 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
+ }
+
+ &.is-on {
+ --print-ping: #00b42a;
+ }
+
+ &.is-busy {
+ --print-ping: #ff7d00;
+ }
+
+ &.is-off {
+ --print-ping: #c9cdd4;
+ }
}
- .print-connection-trigger.is-enabled .print-connection-dot {
- background: #22c55e;
+ @keyframes top-nav-chip-ping {
+ 0% {
+ transform: scale(1);
+ opacity: 0.7;
+ }
+ 100% {
+ transform: scale(2.6);
+ opacity: 0;
+ }
+ }
+
+ @media (prefers-reduced-motion: reduce) {
+ .print-connection-ping::before {
+ animation: none;
+ }
}
.balance-dropdown-trigger {
@@ -1694,47 +1742,34 @@ onUnmounted(() => {
padding-right: 2px;
}
- /* 统一消息 / 语言触控态 */
+ /* 统一消息 / 语言:圆钮,与客户门户工具条一致 */
:deep(.dropDown) {
width: 30px;
height: 30px;
min-width: 30px;
padding: 0;
- border-radius: 9px;
- color: var(--color-text-3, #86909c);
+ border-radius: 999px;
+ background: rgba(26, 46, 56, 0.05);
+ color: rgba(26, 46, 56, 0.52);
+ line-height: 0;
transition:
- color 0.16s ease,
- background-color 0.16s ease;
+ color 0.14s ease,
+ background-color 0.14s ease;
&:hover {
- color: var(--color-text-1, #1d2129);
- background-color: rgba(15, 23, 42, 0.045);
+ color: #1a2e38;
+ background: rgba(26, 46, 56, 0.09);
}
}
- :deep(.message-dropdown-trigger) {
- min-width: 30px;
- height: 30px;
- padding: 0 6px;
- border-radius: 9px;
- color: var(--color-text-3, #86909c);
- transition:
- color 0.16s ease,
- background-color 0.16s ease;
-
- &:hover {
- color: var(--color-text-1, #1d2129);
- background-color: rgba(15, 23, 42, 0.045);
- }
- }
-
- :deep(.message-icon),
:deep(.lang-icon) {
+ display: block;
+ width: 15px;
+ height: 15px;
font-size: 15px;
+ line-height: 1;
}
- /* 未读数样式由 RightTopMessage 红底胶囊负责,勿在此盖 opacity/字色 */
-
/* 用户头像:右侧锚点,轻描边即可,不做坞 */
:deep(.user-dropdown-trigger.is-compact) {
width: 30px;
@@ -1767,7 +1802,7 @@ onUnmounted(() => {
.top-nav-tabs {
height: @headerTabNavHeight;
background: transparent;
- border-bottom: 1px dashed rgba(26, 46, 56, 0.14);
+ border-bottom: none;
box-sizing: border-box;
}
}
diff --git a/src/layout/default-layout.vue b/src/layout/default-layout.vue
index f902e01..3e98251 100644
--- a/src/layout/default-layout.vue
+++ b/src/layout/default-layout.vue
@@ -168,7 +168,7 @@
align-items: center;
gap: 12px;
background: transparent;
- border-bottom: 1px dashed rgba(26, 46, 56, 0.14);
+ border-bottom: none;
box-sizing: border-box;
padding-right: 12px;
/* 虚线分割与下方页面内容留白(原先贴死到工作台卡片) */
diff --git a/src/locale/en-US.ts b/src/locale/en-US.ts
index b729049..df7adf6 100644
--- a/src/locale/en-US.ts
+++ b/src/locale/en-US.ts
@@ -222,12 +222,16 @@ export default {
'warehouse.storageRent.price.volume': 'Volume band (CBM)',
'warehouse.storageRent.price.customer': 'Customer group',
'warehouse.storageRent.price.matrixHint': '{rows} rows × {cols} customer columns; unit: CNY/CBM/day',
+ 'warehouse.storageRent.price.editHint': 'Existing combos keep prices; select rows to batch-fill',
+ 'warehouse.storageRent.price.selected': '{count} selected',
+ 'warehouse.storageRent.price.formula': 'Formula',
'warehouse.storageRent.placeholder.rateName': 'e.g. SZ warehouse standard rent',
'warehouse.storageRent.placeholder.remark': 'Optional',
'warehouse.storageRent.placeholder.warehouses': 'Select warehouses',
'warehouse.storageRent.placeholder.customers': 'Select customer groups',
'warehouse.storageRent.placeholder.days': 'e.g. 0-7 or (0-7], integer days inclusive',
'warehouse.storageRent.placeholder.volume': 'e.g. (0-1], custom allowed',
+ 'warehouse.storageRent.placeholder.batchFill': 'Enter unit price',
'warehouse.storageRent.bill.billNo': 'Bill no.',
'warehouse.storageRent.bill.billDate': 'Bill date',
'warehouse.storageRent.bill.totalCbm': 'Total CBM',
@@ -235,6 +239,10 @@ export default {
'warehouse.storageRent.bill.unitPrice': 'Unit price',
'warehouse.storageRent.bill.detailTitle': 'Storage rent bill',
'warehouse.storageRent.action.syncPrice': 'Sync price grid',
+ 'warehouse.storageRent.action.mergeSame': 'Merge same values',
+ 'warehouse.storageRent.action.selectAll': 'Select all',
+ 'warehouse.storageRent.action.clearSelect': 'Clear selection',
+ 'warehouse.storageRent.action.batchFill': 'Batch fill',
'warehouse.storageRent.action.addRate': 'Add rate',
'warehouse.storageRent.action.reset': 'Reset',
'warehouse.storageRent.action.disable': 'Disable',
@@ -264,6 +272,18 @@ export default {
'warehouse.storageRent.message.backfillOk': 'Backfill done',
'warehouse.storageRent.message.backfillFail': 'Backfill failed',
'warehouse.storageRent.message.synced': 'Price grid synced',
+ 'warehouse.storageRent.message.factorsDirty':
+ 'Billing factors changed. Sync the price grid to refresh rows/columns (filled unit prices are kept when dimensions still match).',
+ 'warehouse.storageRent.message.syncConfirmTitle': 'Sync price grid',
+ 'warehouse.storageRent.message.syncConfirmContent':
+ 'The grid already has unit prices. Sync will rebuild rows/columns from current factors (matching dimensions keep prices). Continue?',
+ 'warehouse.storageRent.message.batchFillNeedSelect': 'Select rows to fill first',
+ 'warehouse.storageRent.message.batchFillInvalid': 'Enter a valid unit price (≥0)',
+ 'warehouse.storageRent.message.batchFillNoCustomer': 'No customer price columns',
+ 'warehouse.storageRent.message.batchFillSelected': '{count} rows selected',
+ 'warehouse.storageRent.message.batchFillValue': 'Unit price',
+ 'warehouse.storageRent.message.batchFillOk': 'Filled {count} cells',
+ 'warehouse.storageRent.message.batchFillNone': 'Nothing to fill',
'warehouse.common.search': 'Search',
'warehouse.common.add': 'Add',
diff --git a/src/locale/zh-CN.ts b/src/locale/zh-CN.ts
index 070ccdb..6a3cd94 100644
--- a/src/locale/zh-CN.ts
+++ b/src/locale/zh-CN.ts
@@ -397,12 +397,16 @@ export default {
'warehouse.storageRent.price.volume': '体积区间(CBM)',
'warehouse.storageRent.price.customer': '客户组',
'warehouse.storageRent.price.matrixHint': '共 {rows} 行 × {cols} 个客户组列,单价单位:元/CBM/天',
+ 'warehouse.storageRent.price.editHint': '已有组合会保留单价;选中行可批量填价',
+ 'warehouse.storageRent.price.selected': '已选 {count}',
+ 'warehouse.storageRent.price.formula': '计算公式',
'warehouse.storageRent.placeholder.rateName': '例如:深圳仓标准仓租',
'warehouse.storageRent.placeholder.remark': '选填',
'warehouse.storageRent.placeholder.warehouses': '选择适用仓库',
'warehouse.storageRent.placeholder.customers': '选择客户组',
'warehouse.storageRent.placeholder.days': '如 0-7 或 (0-7],按整数天闭区间匹配',
'warehouse.storageRent.placeholder.volume': '如 (0-1],可自定义',
+ 'warehouse.storageRent.placeholder.batchFill': '输入统一单价',
'warehouse.storageRent.bill.billNo': '账单号',
'warehouse.storageRent.bill.billDate': '计费日',
'warehouse.storageRent.bill.totalCbm': '总体积',
@@ -410,6 +414,10 @@ export default {
'warehouse.storageRent.bill.unitPrice': '单价',
'warehouse.storageRent.bill.detailTitle': '仓租账单详情',
'warehouse.storageRent.action.syncPrice': '同步价格表',
+ 'warehouse.storageRent.action.mergeSame': '合并相同值',
+ 'warehouse.storageRent.action.selectAll': '全选',
+ 'warehouse.storageRent.action.clearSelect': '取消全选',
+ 'warehouse.storageRent.action.batchFill': '批量填价',
'warehouse.storageRent.action.addRate': '新增费率',
'warehouse.storageRent.action.reset': '重置',
'warehouse.storageRent.action.disable': '禁用',
@@ -439,6 +447,18 @@ export default {
'warehouse.storageRent.message.backfillOk': '反灌完成',
'warehouse.storageRent.message.backfillFail': '反灌失败',
'warehouse.storageRent.message.synced': '价格表已同步',
+ 'warehouse.storageRent.message.factorsDirty':
+ '计费因素已变更,请同步价格表以更新行列(已填单价会按维度尽量保留)',
+ 'warehouse.storageRent.message.syncConfirmTitle': '同步价格表',
+ 'warehouse.storageRent.message.syncConfirmContent':
+ '矩阵中已有单价,同步将按当前计费因素重建行列(同维度单价尽量保留)。是否继续?',
+ 'warehouse.storageRent.message.batchFillNeedSelect': '请先勾选要填价的行',
+ 'warehouse.storageRent.message.batchFillInvalid': '请输入有效单价(≥0)',
+ 'warehouse.storageRent.message.batchFillNoCustomer': '当前没有客户组价格列',
+ 'warehouse.storageRent.message.batchFillSelected': '已选 {count} 行',
+ 'warehouse.storageRent.message.batchFillValue': '统一单价',
+ 'warehouse.storageRent.message.batchFillOk': '已填充 {count} 个价格格',
+ 'warehouse.storageRent.message.batchFillNone': '没有需要填充的格子',
'warehouse.parcel.status.all': '全部',
'warehouse.parcel.status.inTransit': '在途',
'warehouse.parcel.status.arrived': '已到仓',
diff --git a/src/utils/customer-portal-nav.ts b/src/utils/customer-portal-nav.ts
index 19468d4..d07b04c 100644
--- a/src/utils/customer-portal-nav.ts
+++ b/src/utils/customer-portal-nav.ts
@@ -10,10 +10,11 @@ export const CUSTOMER_TOP_NAV_PRIORITY_PATHS = [
'/order/myOrders',
] as const
-export const CUSTOMER_SIDE_RAIL_COLLAPSED_WIDTH = 64
+/** 收起宽与品牌椭圆 badge(72px)对齐 */
+export const CUSTOMER_SIDE_RAIL_COLLAPSED_WIDTH = 72
/** 默认展开宽;可拖拽,落在 MIN~MAX */
-export const CUSTOMER_SIDE_RAIL_EXPANDED_WIDTH = 180
-export const CUSTOMER_SIDE_RAIL_MIN_WIDTH = 160
+export const CUSTOMER_SIDE_RAIL_EXPANDED_WIDTH = 156
+export const CUSTOMER_SIDE_RAIL_MIN_WIDTH = 140
export const CUSTOMER_SIDE_RAIL_MAX_WIDTH = 280
export const CUSTOMER_SIDE_RAIL_STORAGE_KEY = 'oms.customerSideRail.collapsed'
export const CUSTOMER_SIDE_RAIL_WIDTH_STORAGE_KEY = 'oms.customerSideRail.expandedWidth'
@@ -235,6 +236,8 @@ export function readCustomerSideRailExpandedWidth(
if (raw == null || raw === '') return clampCustomerSideRailWidth(fallback)
const n = Number(raw)
if (!Number.isFinite(n)) return clampCustomerSideRailWidth(fallback)
+ // 旧默认 180 → 新默认,避免本地缓存挡住缩窄
+ if (n === 180) return clampCustomerSideRailWidth(fallback)
return clampCustomerSideRailWidth(n)
} catch {
return clampCustomerSideRailWidth(fallback)
diff --git a/src/views/api/downstreamInterface/index.vue b/src/views/api/downstreamInterface/index.vue
index 6c40742..c1f9077 100644
--- a/src/views/api/downstreamInterface/index.vue
+++ b/src/views/api/downstreamInterface/index.vue
@@ -2006,16 +2006,17 @@
}
}
+/* 与上游 interface-layout 对齐:吃满 page-layout,自管 16 内边距(覆盖全局 padding-top 8) */
.service-provider-layout {
display: flex;
- height: calc(100vh - 86px);
- max-height: calc(100vh - 86px);
- padding: 16px;
+ height: 100%;
+ min-height: 0;
+ width: 100%;
+ padding: 16px !important;
gap: 16px;
background-color: var(--app-page-bg);
overflow: hidden;
box-sizing: border-box;
- width: 100%;
}
/* 左侧使用自定义左菜单组件,仅保留布局 */
diff --git a/src/views/api/upstreamInterface/index.vue b/src/views/api/upstreamInterface/index.vue
index 1a8ca94..171820c 100644
--- a/src/views/api/upstreamInterface/index.vue
+++ b/src/views/api/upstreamInterface/index.vue
@@ -1526,7 +1526,6 @@
-
-
+
+
+