From a73fbb298e5e0b00b3682630b7b906b1436aa113 Mon Sep 17 00:00:00 2001 From: yangdanqi <0027013580@iwhalecloud.com> Date: Thu, 24 Mar 2022 17:32:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E8=B4=AD=E8=AF=A6=E6=83=85=EF=BC=8C?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E6=8F=90=E4=BA=A4=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data.js | 20 ++++++ pages.json | 20 +++++- pages/order/order-detail.vue | 45 +++++++++++++ pages/product/product-detail.vue | 79 ++++++++++++++-------- pages/product/product-pick.vue | 109 +++++++++++++++++++++++++++++++ style/default.css | 4 +- 6 files changed, 245 insertions(+), 32 deletions(-) create mode 100644 pages/order/order-detail.vue create mode 100644 pages/product/product-pick.vue diff --git a/data.js b/data.js index 0209244..948fab4 100644 --- a/data.js +++ b/data.js @@ -249,6 +249,8 @@ const productDetail = { salePrice: 199.00, price: 300, saledCount: 370, + maxPieces: 1000, + comments: '备注', commission: 12 }, { id: 2, @@ -256,6 +258,8 @@ const productDetail = { salePrice: 240.00, price: 350, saledCount: 400, + maxPieces: 1001, + comments: '备注', commission: 16 }, { id: 3, @@ -263,6 +267,8 @@ const productDetail = { salePrice: 242.00, price: 352, saledCount: 350, + maxPieces: 1002, + comments: '备注', commission: 13 }, { id: 4, @@ -270,6 +276,8 @@ const productDetail = { salePrice: 243.00, price: 353, saledCount: 100, + maxPieces: 1003, + comments: '备注', commission: 14 }, { id: 5, @@ -277,6 +285,8 @@ const productDetail = { salePrice: 244.00, price: 354, saledCount: 109, + maxPieces: 1004, + comments: '备注', commission: 15 }, { id: 6, @@ -284,6 +294,8 @@ const productDetail = { salePrice: 244.00, price: 354, saledCount: 109, + maxPieces: 1005, + comments: '备注', commission: 15 }, { id: 7, @@ -291,6 +303,8 @@ const productDetail = { salePrice: 244.00, price: 354, saledCount: 109, + maxPieces: 1006, + comments: '备注', commission: 15 }, { id: 8, @@ -298,6 +312,8 @@ const productDetail = { salePrice: 244.00, price: 354, saledCount: 109, + maxPieces: 1007, + comments: '备注', commission: 15 }, { id: 9, @@ -305,6 +321,8 @@ const productDetail = { salePrice: 244.00, price: 354, saledCount: 109, + maxPieces: 1008, + comments: '备注', commission: 15 }, { id: 10, @@ -312,6 +330,8 @@ const productDetail = { salePrice: 244.00, price: 354, saledCount: 109, + maxPieces: 1009, + comments: '备注', commission: 15 }], reviewers: [{ diff --git a/pages.json b/pages.json index b3f385e..ceab90f 100644 --- a/pages.json +++ b/pages.json @@ -1,15 +1,29 @@ { "pages": [{ - "path": "pages/index/index" + "path": "pages/index/index" + // "path": "pages/order/order-detail" }, { "path": "pages/product/product-detail", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/product/product-pick", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } - - } + } + // , + // { + // "path": "pages/order/order-detail", + // "style": { + // "navigationBarTitleText": "", + // "enablePullDownRefresh": false + // } + // } ], "globalStyle": { "navigationStyle": "custom", diff --git a/pages/order/order-detail.vue b/pages/order/order-detail.vue new file mode 100644 index 0000000..9310401 --- /dev/null +++ b/pages/order/order-detail.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/pages/product/product-detail.vue b/pages/product/product-detail.vue index b2ef720..5074a7f 100644 --- a/pages/product/product-detail.vue +++ b/pages/product/product-detail.vue @@ -1,4 +1,5 @@ -