From 794beec9df46e4834a588b9b07a4303c19b711fc Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 18 Apr 2024 23:59:06 +0800 Subject: [PATCH] add --- pages.json | 7 ++ pages/product/addGood/addGood.vue | 8 +- pages/product/addGoodDetail/goodsPrice.vue | 64 ++++++++++- pages/product/addGoodDetail/goodsSearch.vue | 120 ++++++++++++++++++++ 4 files changed, 193 insertions(+), 6 deletions(-) create mode 100644 pages/product/addGoodDetail/goodsSearch.vue diff --git a/pages.json b/pages.json index 10f70e4..d16b92c 100644 --- a/pages.json +++ b/pages.json @@ -1570,6 +1570,13 @@ "navigationBarTitleText": "价格与规格", "enablePullDownRefresh": false } + }, + { + "path": "addGoodDetail/goodsSearch", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } } ] diff --git a/pages/product/addGood/addGood.vue b/pages/product/addGood/addGood.vue index e095336..71adcb2 100644 --- a/pages/product/addGood/addGood.vue +++ b/pages/product/addGood/addGood.vue @@ -3,7 +3,8 @@ - + @@ -102,6 +103,11 @@ uni.navigateTo({ url: '/pages/product/addGoodDetail/addGoodDetail' }) + }, + navgo(url) { + uni.navigateTo({ + url + }) } }, diff --git a/pages/product/addGoodDetail/goodsPrice.vue b/pages/product/addGoodDetail/goodsPrice.vue index 359b13b..60e2a06 100644 --- a/pages/product/addGoodDetail/goodsPrice.vue +++ b/pages/product/addGoodDetail/goodsPrice.vue @@ -3,8 +3,44 @@ - - 规格1 + + 规格1 + + + + + + + + + / + + + + + + 商品库存 + + + + + + + 条形码 + + + + + + + + 删除 + + + + 启用 + @@ -12,6 +48,15 @@ \ No newline at end of file