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 @@ -