diff --git a/src/pages.json b/src/pages.json index e6d8560..6b56e7b 100644 --- a/src/pages.json +++ b/src/pages.json @@ -39,6 +39,12 @@ "style": { "navigationBarTitleText": "我的" } + }, + { + "path": "pages/pay/pay", + "style": { + "navigationBarTitleText": "结算" + } } ], "globalStyle": { diff --git a/src/pages/cart/cart.vue b/src/pages/cart/cart.vue index f95ec8f..4536364 100644 --- a/src/pages/cart/cart.vue +++ b/src/pages/cart/cart.vue @@ -85,7 +85,8 @@ export default { icon: "none" }) }else{ - console.log("跳转到结算页面") } + wx.navigateTo({url:"/pages/pay/pay"}) + } } }, //深度监听 diff --git a/src/pages/pay/pay.vue b/src/pages/pay/pay.vue new file mode 100644 index 0000000..3ef1d6f --- /dev/null +++ b/src/pages/pay/pay.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file