From e2bd373db26c5016a4195fdab9466cadb538f65b Mon Sep 17 00:00:00 2001 From: yuanteng <1876787513@qq.com> Date: Thu, 31 Oct 2024 18:26:36 +0800 Subject: [PATCH 1/4] 121 --- src/views/Commodity/MerchandiseCenter.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/Commodity/MerchandiseCenter.vue b/src/views/Commodity/MerchandiseCenter.vue index e891704..33932ad 100644 --- a/src/views/Commodity/MerchandiseCenter.vue +++ b/src/views/Commodity/MerchandiseCenter.vue @@ -36,6 +36,7 @@ + @@ -47,7 +48,7 @@ - + + + + 个人中心 + + 用户列表 - - - 个人中心 - @@ -54,6 +55,17 @@ + + + + + + 订单列表 + + diff --git a/src/router/routes.ts b/src/router/routes.ts index 453b754..25ffd85 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -13,16 +13,16 @@ export const routes = [ path: '/manage', component: () => import("@/layout/Manage.vue"), children:[ - { - path: '/UserManagement', - name:'用户列表', - component: ()=> import("../views/User/UserManagement.vue") - }, { path: '/PersonalCenter', name:'个人中心', component: ()=> import("../views/User/PersonalCenter.vue") }, + { + path: '/UserManagement', + name:'用户列表', + component: ()=> import("../views/User/UserManagement.vue") + }, { path: '/AddProduct', name: '添加商品', @@ -37,6 +37,11 @@ export const routes = [ path: '/TypeManagement', name: '类别管理', component: ()=> import("../views/Commodity/TypeManagement.vue") + }, + { + path: '/OrderList', + name: '订单列表', + component: ()=> import("../views/Orders/OrderList.vue") } ] }, diff --git a/src/store/userStore.ts b/src/store/userStore.ts index ef749c2..eb4ade1 100644 --- a/src/store/userStore.ts +++ b/src/store/userStore.ts @@ -1,5 +1,4 @@ import { defineStore } from "pinia"; -import myAxios from '../api/myAxios' export const userStore = defineStore( 'user' , { //state是应用的核心数据,通常用于管理用户信息、应用设置、数据列表等。 @@ -26,7 +25,6 @@ export const userStore = defineStore( 'user' , { //更新state updateUser(payLoad : any) { this.loginUser = payLoad - console.log(payLoad,2654615165) } } }) \ No newline at end of file diff --git a/src/views/Commodity/AddProduct.vue b/src/views/Commodity/AddProduct.vue index 1a9ea12..f677fb5 100644 --- a/src/views/Commodity/AddProduct.vue +++ b/src/views/Commodity/AddProduct.vue @@ -1,260 +1,172 @@ - --> - - - - - - - - - - -
- - - - - - - - - - - - - - - - + + + + + + - + - - + + - - - - + + + + + + + - + + + + + - - - 材料包 - 手持物 - 头饰 - 定制 - + + - - - - - + + 上架 + + 重置 +
\ No newline at end of file diff --git a/src/views/Commodity/MerchandiseCenter.vue b/src/views/Commodity/MerchandiseCenter.vue index 6baf5f4..5462ee3 100644 --- a/src/views/Commodity/MerchandiseCenter.vue +++ b/src/views/Commodity/MerchandiseCenter.vue @@ -1,7 +1,9 @@