From 8e0d8d36459492dec02eac540086521f3e95ecf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=96=87=E5=8F=AF?= <1041367524@qq.com> Date: Wed, 20 Apr 2022 14:05:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=95=86=E5=93=81=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sales/product/form/step2.vue | 29 +++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/views/sales/product/form/step2.vue b/src/views/sales/product/form/step2.vue index 2cd400b..c445c3a 100644 --- a/src/views/sales/product/form/step2.vue +++ b/src/views/sales/product/form/step2.vue @@ -2,7 +2,25 @@
- 设置商品属性 + +
+ 属性规格: + + + +
+
+ 尺码: + {{ item }} + + + +
+
@@ -29,8 +47,11 @@ loading: false, refsForm: null, currentTab: 'APP', + skuName: null, + skuValue: [], form: { id: '123', + skus: [], picture: [], desc: null, }, @@ -48,6 +69,7 @@ } }; onActivated(handleLoad); + const handleAddSku = () => {}; const handleSave = async () => { state.loading = true; try { @@ -69,6 +91,7 @@ ...toRefs(state), opts, handleSave, + handleAddSku, }; }, }); @@ -88,6 +111,10 @@ width: 50%; } } + .label { + word-break: keep-all; + margin-right: @layout-space; + } } .step-footer { margin: 10px 0;