diff --git a/src/router/index.ts b/src/router/index.ts index 7e13bba..d682466 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -77,6 +77,24 @@ export const constantRoutes: RouteRecordRaw[] = [ }, }, ], + },// 修改密码 + { + path: "/", + component: Layout, + redirect: "/myPassword", + children: [ + { + path: "myPassword", + component: () => import("@/views/myPassword/index.vue"), + name: "myPassword", + meta: { + title: "myPassword", + icon: "homepage", + affix: true, + name: "修改密码", + }, + }, + ], }, // 商店 { diff --git a/src/styles/my.scss b/src/styles/my.scss index c923403..b80a479 100644 --- a/src/styles/my.scss +++ b/src/styles/my.scss @@ -8,6 +8,12 @@ div { cursor: default; + +} + +// 鼠标放上去变小手 +.pointer { + cursor: pointer; } .myBtn { @@ -20,22 +26,24 @@ div { p { margin: 0; } + // y轴滚动盒子auto .scrolly { - overflow-y: auto; /* 启用Y轴滚动 */ + overflow-y: auto; + /* 启用Y轴滚动 */ // overflow-y: scroll; /* 启用Y轴滚动 */ - scrollbar-width: thin; /* 在支持的浏览器上显示细的滚动条 */ + scrollbar-width: thin; + /* 在支持的浏览器上显示细的滚动条 */ } .scrolly::-webkit-scrollbar { display: none; width: 0; } + // 主题色 .themeColor { - background: linear-gradient( - 225deg, - rgb(81 217 202 / 100%), - rgb(114 100 245 / 100%) - ); -} + background: linear-gradient(225deg, + rgb(81 217 202 / 100%), + rgb(114 100 245 / 100%)); +} \ No newline at end of file diff --git a/src/views/myAccount/index.vue b/src/views/myAccount/index.vue index eba9393..10877b4 100644 --- a/src/views/myAccount/index.vue +++ b/src/views/myAccount/index.vue @@ -10,14 +10,18 @@