@chenchaolong/plugin-trade-compliance-workbench 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
return h('div', { className: 'tcw-shell' },
|
|
272
|
-
h('header', { className: 'tcw-header' },
|
|
272
|
+
h('header', { className: 'tcw-header tcw-frame' },
|
|
273
273
|
h('div', { className: 'tcw-title-block' },
|
|
274
274
|
h('span', { className: 'tcw-kicker' }, '外贸合规工作台'),
|
|
275
275
|
h('h1', null, pageTitle(activePage)),
|
|
@@ -281,13 +281,13 @@
|
|
|
281
281
|
)
|
|
282
282
|
),
|
|
283
283
|
notice ? h('div', { className: 'tcw-notice' }, notice) : null,
|
|
284
|
-
h('nav', { className: 'tcw-tabs' }, [
|
|
284
|
+
h('nav', { className: 'tcw-tabs tcw-frame' }, [
|
|
285
285
|
tab('overview-page', '工作台总览'),
|
|
286
286
|
tab('controlled-goods-page', '管控商品'),
|
|
287
287
|
tab('products-page', '供应商商品'),
|
|
288
288
|
tab('workbooks-page', '销售发票')
|
|
289
289
|
]),
|
|
290
|
-
h('main', { className: 'tcw-main' },
|
|
290
|
+
h('main', { className: 'tcw-main tcw-frame' },
|
|
291
291
|
h('section', { className: 'tcw-content' },
|
|
292
292
|
activePage === 'overview-page' ? renderOverviewPage() : null,
|
|
293
293
|
activePage === 'controlled-goods-page' ? renderControlledGoodsPage() : null,
|
|
@@ -791,8 +791,9 @@
|
|
|
791
791
|
* { box-sizing: border-box; }
|
|
792
792
|
body { margin: 0; background: var(--tcw-bg); color: var(--tcw-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
|
|
793
793
|
button, input { font: inherit; letter-spacing: 0; }
|
|
794
|
-
.tcw-shell { display: grid; gap: 10px; min-height: 100vh; padding: 12px
|
|
795
|
-
.tcw-
|
|
794
|
+
.tcw-shell { display: grid; grid-template-rows: auto auto auto 1fr; gap: 10px; min-height: 100vh; padding: 12px 8px 18px; }
|
|
795
|
+
.tcw-frame { width: 100%; max-width: none; margin: 0; justify-self: stretch; }
|
|
796
|
+
.tcw-header { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(340px, 520px); gap: 12px; align-items: center; border: 1px solid var(--tcw-border); border-radius: 8px; background: var(--tcw-card); padding: 12px 14px; }
|
|
796
797
|
.tcw-title-block { display: grid; gap: 3px; }
|
|
797
798
|
.tcw-kicker { color: var(--tcw-primary); font-size: 12px; font-weight: 900; }
|
|
798
799
|
.tcw-title-block h1 { margin: 0; font-size: 20px; line-height: 1.22; }
|
|
@@ -815,16 +816,16 @@ button, input { font: inherit; letter-spacing: 0; }
|
|
|
815
816
|
.tcw-main.with-drawer { grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); }
|
|
816
817
|
.tcw-content, .tcw-drawer, .tcw-panel, .tcw-supplier-block { border: 1px solid var(--tcw-border); border-radius: 8px; background: var(--tcw-card); }
|
|
817
818
|
.tcw-content { min-width: 0; border: 0; background: transparent; padding: 0; }
|
|
818
|
-
.tcw-page { display: grid; gap: 12px; }
|
|
819
|
+
.tcw-page { display: grid; gap: 12px; width: 100%; }
|
|
819
820
|
.tcw-page-head, .tcw-drawer-head, .tcw-supplier-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
820
821
|
.tcw-page-head h2, .tcw-drawer-head h2, .tcw-panel h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.35; }
|
|
821
822
|
.tcw-button-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
|
|
822
823
|
.tcw-panel { display: grid; gap: 10px; padding: 12px; }
|
|
823
|
-
.tcw-business-panel { display: grid; gap: 0; border: 1px solid var(--tcw-border); border-radius: 8px; background: var(--tcw-card); overflow: hidden; }
|
|
824
|
-
.tcw-business-head { display: flex; align-items:
|
|
824
|
+
.tcw-business-panel { display: grid; width: 100%; gap: 0; border: 1px solid var(--tcw-border); border-radius: 8px; background: var(--tcw-card); overflow: hidden; }
|
|
825
|
+
.tcw-business-head { display: flex; min-height: 118px; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--tcw-border); background: var(--tcw-card); padding: 22px 28px; }
|
|
825
826
|
.tcw-business-head h2 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; }
|
|
826
827
|
.tcw-business-head p { margin: 0; color: var(--tcw-muted); font-size: 13px; }
|
|
827
|
-
.tcw-business-body { display: grid; gap: 12px; padding:
|
|
828
|
+
.tcw-business-body { display: grid; gap: 12px; padding: 20px 28px 24px; }
|
|
828
829
|
.tcw-table-section { display: grid; gap: 0; }
|
|
829
830
|
.tcw-history-section { display: grid; gap: 10px; border-top: 1px solid var(--tcw-border); padding-top: 14px; }
|
|
830
831
|
.tcw-subsection-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chenchaolong/plugin-trade-compliance-workbench",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Trade Compliance Workbench app plugin for controlled goods review, supplier product management, and customs workbook generation.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "XpertAI",
|