diff --git a/order-app/project.config.json b/order-app/project.config.json index 7beff81..5411f3f 100644 --- a/order-app/project.config.json +++ b/order-app/project.config.json @@ -12,7 +12,16 @@ "outputPath": "" }, "useCompilerPlugins": false, - "minifyWXML": true + "minifyWXML": true, + "compileWorklet": false, + "uploadWithSourceMap": true, + "packNpmManually": false, + "minifyWXSS": true, + "localPlugins": false, + "disableUseStrict": false, + "condition": false, + "swc": false, + "disableSWC": true }, "compileType": "miniprogram", "simulatorPluginLibVersion": {}, @@ -21,5 +30,6 @@ "include": [] }, "appid": "wx6a41b250d82adc97", - "editorSetting": {} + "editorSetting": {}, + "libVersion": "3.9.1" } \ No newline at end of file diff --git a/order-app/project.private.config.json b/order-app/project.private.config.json index 69bf04d..ca75d67 100644 --- a/order-app/project.private.config.json +++ b/order-app/project.private.config.json @@ -9,6 +9,14 @@ "preloadBackgroundData": false, "autoAudits": false, "showShadowRootInWxmlPanel": true, - "compileHotReLoad": true + "compileHotReLoad": true, + "useApiHook": true, + "useApiHostProcess": true, + "useStaticServer": false, + "useLanDebug": false, + "showES6CompileOption": false, + "checkInvalidKey": true, + "ignoreDevUnusedFiles": true, + "bigPackageSizeSupport": false } } \ No newline at end of file diff --git a/order-app/src/pages.json b/order-app/src/pages.json index 1540273..eaec275 100644 --- a/order-app/src/pages.json +++ b/order-app/src/pages.json @@ -37,15 +37,21 @@ }, { "path": "pages/address/address", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "新增地址" } }, + // { + // "path": "common/common", + // "style": { + // "navigationBarTitleText": "" + // } + // }, { - "path" : "common/common", - "style" : - { - "navigationBarTitleText" : "" - } } + "path": "pages/confirm/confirm", + "style": { + "navigationBarTitleText": "确认订单" + } + } ], "globalStyle": { // 导航字体颜色,仅支持 black/white diff --git a/order-app/src/pages/car/car.vue b/order-app/src/pages/car/car.vue index 7e19901..c5b828e 100644 --- a/order-app/src/pages/car/car.vue +++ b/order-app/src/pages/car/car.vue @@ -35,7 +35,7 @@ 总计:¥ {{totalPrice}} - + 结算({{totalNum}}) @@ -130,7 +130,7 @@ }) return totalNum }) - + //总共价格 const totalPrice = computed(() => { let totalPrice = 0; store.carList.map(item => { @@ -138,6 +138,12 @@ }) return totalPrice }) + //跳转确认订单 + const confirm = (item) => { + uni.navigateTo({ + url: '../confirm/confirm' + }); + } \ No newline at end of file diff --git a/order-app/src/pages/detail/detail.vue b/order-app/src/pages/detail/detail.vue index 3bfd1e6..78d5148 100644 --- a/order-app/src/pages/detail/detail.vue +++ b/order-app/src/pages/detail/detail.vue @@ -1,8 +1,7 @@ - \ No newline at end of file + diff --git a/order-app/src/pages/index/index.vue b/order-app/src/pages/index/index.vue index 7485e7e..2669895 100644 --- a/order-app/src/pages/index/index.vue +++ b/order-app/src/pages/index/index.vue @@ -52,10 +52,6 @@