diff --git a/components.d.ts b/components.d.ts index 2af4210..a9e31d3 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,7 +7,16 @@ export {} declare module 'vue' { export interface GlobalComponents { + ElBadge: typeof import('element-plus/es')['ElBadge'] ElButton: typeof import('element-plus/es')['ElButton'] + ElForm: typeof import('element-plus/es')['ElForm'] + ElFormItem: typeof import('element-plus/es')['ElFormItem'] + ElIcon: typeof import('element-plus/es')['ElIcon'] + ElInput: typeof import('element-plus/es')['ElInput'] + ElMenu: typeof import('element-plus/es')['ElMenu'] + ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] + ElTable: typeof import('element-plus/es')['ElTable'] + ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/App.vue b/src/App.vue index f132c62..ac09804 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,107 @@ - + diff --git a/src/assets/img/home/2023_12_01_beijing2/beijing2.png b/src/assets/img/home/2023_12_01_beijing2/beijing2.png new file mode 100644 index 0000000..8d3823e Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/beijing2.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/dingdanxinxi.png b/src/assets/img/home/2023_12_01_beijing2/dingdanxinxi.png new file mode 100644 index 0000000..5893c06 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/dingdanxinxi.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/ditu.png b/src/assets/img/home/2023_12_01_beijing2/ditu.png new file mode 100644 index 0000000..f757023 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/ditu.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/fankuixinxi.png b/src/assets/img/home/2023_12_01_beijing2/fankuixinxi.png new file mode 100644 index 0000000..ee791eb Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/fankuixinxi.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/fuwuxiangmu.png b/src/assets/img/home/2023_12_01_beijing2/fuwuxiangmu.png new file mode 100644 index 0000000..0e8c63c Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/fuwuxiangmu.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/gouwu.png b/src/assets/img/home/2023_12_01_beijing2/gouwu.png new file mode 100644 index 0000000..53ba820 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/gouwu.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/lishijishi.png b/src/assets/img/home/2023_12_01_beijing2/lishijishi.png new file mode 100644 index 0000000..4998d36 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/lishijishi.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/logo.png b/src/assets/img/home/2023_12_01_beijing2/logo.png new file mode 100644 index 0000000..6677345 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/logo.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/quxiao.png b/src/assets/img/home/2023_12_01_beijing2/quxiao.png new file mode 100644 index 0000000..692fc3e Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/quxiao.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/sanjiaoxing.png b/src/assets/img/home/2023_12_01_beijing2/sanjiaoxing.png new file mode 100644 index 0000000..28583c5 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/sanjiaoxing.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/shoucang.png b/src/assets/img/home/2023_12_01_beijing2/shoucang.png new file mode 100644 index 0000000..6db9631 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/shoucang.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/shouji.png b/src/assets/img/home/2023_12_01_beijing2/shouji.png new file mode 100644 index 0000000..3743afe Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/shouji.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/u=2582695925,2435534682&fm=253&fmt=auto&app=138&f=JPEG.png b/src/assets/img/home/2023_12_01_beijing2/u=2582695925,2435534682&fm=253&fmt=auto&app=138&f=JPEG.png new file mode 100644 index 0000000..4a13698 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/u=2582695925,2435534682&fm=253&fmt=auto&app=138&f=JPEG.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/xiugai.png b/src/assets/img/home/2023_12_01_beijing2/xiugai.png new file mode 100644 index 0000000..7024670 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/xiugai.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/zhuxiao.png b/src/assets/img/home/2023_12_01_beijing2/zhuxiao.png new file mode 100644 index 0000000..fe9a936 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/zhuxiao.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/zuobian.png b/src/assets/img/home/2023_12_01_beijing2/zuobian.png new file mode 100644 index 0000000..e396c20 Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/zuobian.png differ diff --git a/src/assets/img/home/2023_12_01_beijing2/右边.png b/src/assets/img/home/2023_12_01_beijing2/右边.png new file mode 100644 index 0000000..b6561fd Binary files /dev/null and b/src/assets/img/home/2023_12_01_beijing2/右边.png differ diff --git a/src/main.ts b/src/main.ts index 5dcad83..b4a383c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,6 +5,7 @@ import { createPinia } from 'pinia' import App from './App.vue' import router from './router' +import './style/css/reset.css' const app = createApp(App) diff --git a/src/router/index.ts b/src/router/index.ts index eb93f7d..6dd9920 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -33,6 +33,100 @@ const routes: Array = [ AuthFlag: false }, children: [...myInfo] + }, + { + path: '/myuser', // 主路由地址 + name: 'myuser', + component: () => import('views/user/index.vue'), // 组件加载 + meta: { + title: '个人中心', + keepAlive: true, + AuthFlag: false + }, + redirect: '/myuser/baseInfo', + children: [ + { + path: 'baseInfo', + name: 'baseInfo', + component: () => import('views/user/baseInfo/index.vue'), + meta: { + title: '基础信息', + keepAlive: true, + AuthFlag: false + }, + }, + { + path: 'orderManagement', + name: 'orderManagement', + component: () => import('views/user/orderManagement/index.vue'), + meta: { + title: '基础信息', + keepAlive: true, + AuthFlag: false + }, + }, + { + path: 'subAccount', + name: 'subAccount', + component: () => import('views/user/subAccount/index.vue'), + meta: { + title: '基础信息', + keepAlive: true, + AuthFlag: false + }, + }, + { + path: 'orderManagementCz', + name: 'orderManagementCz', + component: () => import('views/user/orderManagementCz/index.vue'), + meta: { + title: '基础信息', + keepAlive: true, + AuthFlag: false + }, + }, + { + path: 'goodsManagement', + name: 'goodsManagement', + component: () => import('views/user/goodsManagement/index.vue'), + meta: { + title: '基础信息', + keepAlive: true, + AuthFlag: false + }, + }, + { + path: 'goodsUpdown', + name: 'goodsUpdown', + component: () => import('views/user/goodsUpdown/index.vue'), + meta: { + title: '基础信息', + keepAlive: true, + AuthFlag: false + }, + }, + { + path: 'operatorManagement', + name: 'operatorManagement', + component: () => import('views/user/operatorManagement/index.vue'), + meta: { + title: '基础信息', + keepAlive: true, + AuthFlag: false + }, + } + ] + }, + { + path: '/home', + name: 'home', + component: () => import('views/home/index.vue'), + meta: { + title: '首页', + keepAlive: true, + AuthFlag: false + }, + } ] diff --git a/src/style/css/reset.css b/src/style/css/reset.css index 7880151..05d1609 100644 --- a/src/style/css/reset.css +++ b/src/style/css/reset.css @@ -1,70 +1,148 @@ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { -     - margin: 0; -     - padding: 0; -     - border: 0; -     - font-size: 100%; -     - font: inherit; -     - vertical-align: baseline; +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + + padding: 0; + + border: 0; + + font-size: 100%; + + font: inherit; + + vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { -     - display: block; +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; } body { -     - line-height: 1; + line-height: 1; } -ol, ul { -     - list-style: none; +ol, +ul { + list-style: none; } -blockquote, q { -     - quotes: none; +blockquote, +q { + quotes: none; } -blockquote:before, blockquote:after, -q:before, q:after { -     - content: ''; -     - content: none; +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ""; + + content: none; } table { -     - border-collapse: collapse; -     - border-spacing: 0; + border-collapse: collapse; + + border-spacing: 0; } #app { -     - width: 100vw; -     - height: 100vh; + width: 100vw; + height: 100vh; + background: linear-gradient(180deg, #ecedf5 0%, #f2f3f9 55%, #ffffff 100%); +} + +.wapper { + width: 1200px; + margin: 0 auto; } diff --git a/src/views/Index.vue b/src/views/Index.vue index 88bcfc8..877d71e 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -1,56 +1,7 @@ - - - + \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue new file mode 100644 index 0000000..2c74b91 --- /dev/null +++ b/src/views/home/index.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/baseInfo/index.vue b/src/views/user/baseInfo/index.vue new file mode 100644 index 0000000..0d7fe20 --- /dev/null +++ b/src/views/user/baseInfo/index.vue @@ -0,0 +1,136 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/baseInfo/indexcopy.vue b/src/views/user/baseInfo/indexcopy.vue new file mode 100644 index 0000000..877d71e --- /dev/null +++ b/src/views/user/baseInfo/indexcopy.vue @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/goodsManagement/index.vue b/src/views/user/goodsManagement/index.vue new file mode 100644 index 0000000..b0d4ade --- /dev/null +++ b/src/views/user/goodsManagement/index.vue @@ -0,0 +1,77 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/goodsUpdown/index.vue b/src/views/user/goodsUpdown/index.vue new file mode 100644 index 0000000..7fa6ab2 --- /dev/null +++ b/src/views/user/goodsUpdown/index.vue @@ -0,0 +1,78 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/index.vue b/src/views/user/index.vue new file mode 100644 index 0000000..2f7cc74 --- /dev/null +++ b/src/views/user/index.vue @@ -0,0 +1,123 @@ + + + + + + + + \ No newline at end of file diff --git a/src/views/user/operatorManagement/index.vue b/src/views/user/operatorManagement/index.vue new file mode 100644 index 0000000..6b4137c --- /dev/null +++ b/src/views/user/operatorManagement/index.vue @@ -0,0 +1,59 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/orderManagement/index.vue b/src/views/user/orderManagement/index.vue new file mode 100644 index 0000000..ef66a17 --- /dev/null +++ b/src/views/user/orderManagement/index.vue @@ -0,0 +1,80 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/orderManagementCz/index.vue b/src/views/user/orderManagementCz/index.vue new file mode 100644 index 0000000..c9ff93e --- /dev/null +++ b/src/views/user/orderManagementCz/index.vue @@ -0,0 +1,79 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/subAccount/index.vue b/src/views/user/subAccount/index.vue new file mode 100644 index 0000000..abbb263 --- /dev/null +++ b/src/views/user/subAccount/index.vue @@ -0,0 +1,60 @@ + + + + + \ No newline at end of file