From 666b32b5ac04f9594763f4b6b34747dc10b66a3f Mon Sep 17 00:00:00 2001 From: shenyuan Date: Fri, 10 Feb 2023 10:34:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/config/router.config.js | 4 + ant-design-vue-jeecg/src/permission.js | 2 +- .../shopping/components/Order/placeOrder.vue | 94 +++++++++++++++++++ .../views/shopping/pages/gerenzhongxin.vue | 10 +- .../src/views/shopping/pages/pay.vue | 38 ++++++++ 5 files changed, 146 insertions(+), 2 deletions(-) create mode 100644 ant-design-vue-jeecg/src/views/shopping/pages/pay.vue diff --git a/ant-design-vue-jeecg/src/config/router.config.js b/ant-design-vue-jeecg/src/config/router.config.js index 6f23714e..315632f9 100644 --- a/ant-design-vue-jeecg/src/config/router.config.js +++ b/ant-design-vue-jeecg/src/config/router.config.js @@ -660,4 +660,8 @@ export const constantRouterMap = [ path: '/shopping/news',//这里是你需要设置新窗口打开的页面的路径s component: () => import('@/views/shopping/pages/news'), }, + { + path: '/shopping/pay',//这里是你需要设置新窗口打开的页面的路径s + component: () => import('@/views/shopping/pages/pay'), + }, ] diff --git a/ant-design-vue-jeecg/src/permission.js b/ant-design-vue-jeecg/src/permission.js index 84cfc773..94ad8060 100644 --- a/ant-design-vue-jeecg/src/permission.js +++ b/ant-design-vue-jeecg/src/permission.js @@ -19,7 +19,7 @@ const whiteList = ['/user/login','/userequip/loginequip','/user/sgin', '/sckz/sckzzxt','/sbjm/sbjmsjkzxt','/jxgl/jxglsjkzxt','/szls/szlssjkzxt','/jxdsj/jxdsjzszxt', '/ybgl/ybglsjkzxt','/mflgl/mflglsjkzxt','/ddcl/ddclzxt','/ddgl/ddglzxt','/dyhsc/dyhsczxt','/znyy/znyysczhgkzzrj', '/znyyjc/znyycjrjxt','/gdgz/gdgzzxt','/shopping/shopHome','/shopping/clothType','/shopping/sirendingzhi', - '/shopping/ClothDetail','/shopping/person','/shopping/person','/shopping/order','/shopping/chengyi','/shopping/news'] // no redirect whitelist + '/shopping/ClothDetail','/shopping/person','/shopping/person','/shopping/order','/shopping/chengyi','/shopping/news','/shopping/pay'] // no redirect whitelist router.beforeEach((to, from, next) => { NProgress.start() // start progress bar diff --git a/ant-design-vue-jeecg/src/views/shopping/components/Order/placeOrder.vue b/ant-design-vue-jeecg/src/views/shopping/components/Order/placeOrder.vue index 8558d2a6..6fcf475f 100644 --- a/ant-design-vue-jeecg/src/views/shopping/components/Order/placeOrder.vue +++ b/ant-design-vue-jeecg/src/views/shopping/components/Order/placeOrder.vue @@ -7,12 +7,76 @@

我们将通过以下手机号码向您发送订单相关信息

17719145652

+
+
+ 1 + 配送地址
+
+ + + + + 送货上门 + + + 门店自提 + + + + + + + + + + +
+
+
+
1
+ --> + +