diff --git a/ant-design-vue-jeecg/src/config/router.config.js b/ant-design-vue-jeecg/src/config/router.config.js index 3b149bb7..6f23714e 100644 --- a/ant-design-vue-jeecg/src/config/router.config.js +++ b/ant-design-vue-jeecg/src/config/router.config.js @@ -652,4 +652,12 @@ export const constantRouterMap = [ path: '/shopping/order',//这里是你需要设置新窗口打开的页面的路径s component: () => import('@/views/shopping/pages/orderDetails'), }, + { + path: '/shopping/chengyi',//这里是你需要设置新窗口打开的页面的路径s + component: () => import('@/views/shopping/pages/chengyi'), + }, + { + path: '/shopping/news',//这里是你需要设置新窗口打开的页面的路径s + component: () => import('@/views/shopping/pages/news'), + }, ] diff --git a/ant-design-vue-jeecg/src/permission.js b/ant-design-vue-jeecg/src/permission.js index 11fee8c4..84cfc773 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'] // no redirect whitelist + '/shopping/ClothDetail','/shopping/person','/shopping/person','/shopping/order','/shopping/chengyi','/shopping/news'] // no redirect whitelist router.beforeEach((to, from, next) => { NProgress.start() // start progress bar diff --git a/ant-design-vue-jeecg/src/views/shopping/components/Header/HeaderView.vue b/ant-design-vue-jeecg/src/views/shopping/components/Header/HeaderView.vue index 50b7937d..b18320cb 100644 --- a/ant-design-vue-jeecg/src/views/shopping/components/Header/HeaderView.vue +++ b/ant-design-vue-jeecg/src/views/shopping/components/Header/HeaderView.vue @@ -12,10 +12,10 @@ 私人定制 - 成衣推荐 - 关于我们 diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/chengyi.vue b/ant-design-vue-jeecg/src/views/shopping/pages/chengyi.vue new file mode 100644 index 00000000..d880218c --- /dev/null +++ b/ant-design-vue-jeecg/src/views/shopping/pages/chengyi.vue @@ -0,0 +1,518 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue index 056dae28..cdfad00a 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue @@ -13,24 +13,27 @@ 我的账户 我的收藏 地址管理 - + 发票管理 - + Option 1 - + Option 2 - + Option 3 - + Option 4 全部订单 + + 全部订单 + 待支付 @@ -46,7 +49,7 @@ -
+
订单编号:{{item.orderNum}} @@ -91,7 +94,7 @@ data() { return { current: ['mail'], - allOrders:[ + allOrders1:[ { id:1, orderNum:'CN172839729', @@ -119,6 +122,7 @@ total:5912 } ], + allOrders:[], }; }, @@ -127,8 +131,14 @@ console.log(key); }, menuChange(key){ - if(key == daizhifu){ - // this.allOrders.forEach() + this.current.shift() + this.current.push(key.key) + console.log(this.allOrders) + + if(key.key == 'allorders'){ + console.log('----') + this.allOrders = this.allOrders1 + console.log(this.allOrders) } } }, diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/news.vue b/ant-design-vue-jeecg/src/views/shopping/pages/news.vue new file mode 100644 index 00000000..1f9b77ba --- /dev/null +++ b/ant-design-vue-jeecg/src/views/shopping/pages/news.vue @@ -0,0 +1,34 @@ + + + + + + + + + diff --git a/ant-design-vue-jeecg/src/views/shopping/shopHome.vue b/ant-design-vue-jeecg/src/views/shopping/shopHome.vue index e51da067..b2b0d412 100644 --- a/ant-design-vue-jeecg/src/views/shopping/shopHome.vue +++ b/ant-design-vue-jeecg/src/views/shopping/shopHome.vue @@ -87,6 +87,10 @@

15分钟前定制

+
+ 更多西装 + +
@@ -110,7 +114,7 @@
@@ -129,32 +133,7 @@
- 更多衬衫 - -
-
-
- -

- {{ item.title1 }}|{{ item.title1 }} -

-
- {{ item.tag1 }}{{ item.tag2 }} -
-

- {{ item.price }}已售{{ item.sold }}件 -

-
-
-
- 更多西装 + 更多西装
@@ -162,32 +141,7 @@
- -

- {{ item.title1 }}|{{ item.title1 }} -

-
- {{ item.tag1 }}{{ item.tag2 }} -
-

- {{ item.price }}已售{{ item.sold }}件 -

-
-
-
- 更多衬衫 - -
-
-
@@ -206,7 +160,7 @@
- 更多西装 + 更多西装
@@ -214,7 +168,7 @@
@@ -233,45 +187,22 @@
- 更多衬衫 - -
-
-
- -

- {{ item.title1 }}|{{ item.title1 }} -

-
- {{ item.tag1 }}{{ item.tag2 }} -
-

- {{ item.price }}已售{{ item.sold }}件 -

-
-
-
- 更多西装 + 更多西装
+