diff --git a/jero-web/src/assets/home1366.png b/jero-web/src/assets/home1366.png new file mode 100644 index 00000000..6442bc23 Binary files /dev/null and b/jero-web/src/assets/home1366.png differ diff --git a/jero-web/src/assets/home1920.png b/jero-web/src/assets/home1920.png new file mode 100644 index 00000000..862069ef Binary files /dev/null and b/jero-web/src/assets/home1920.png differ diff --git a/jero-web/src/assets/home3840.png b/jero-web/src/assets/home3840.png new file mode 100644 index 00000000..2f9a7bc0 Binary files /dev/null and b/jero-web/src/assets/home3840.png differ diff --git a/jero-web/src/assets/logo1366.png b/jero-web/src/assets/logo1366.png new file mode 100644 index 00000000..1649fa7b Binary files /dev/null and b/jero-web/src/assets/logo1366.png differ diff --git a/jero-web/src/assets/logoNew.png b/jero-web/src/assets/logoNew.png new file mode 100644 index 00000000..1836992b Binary files /dev/null and b/jero-web/src/assets/logoNew.png differ diff --git a/jero-web/src/components/layouts/UserLayout.vue b/jero-web/src/components/layouts/UserLayout.vue index fd5b63c6..41a618b2 100644 --- a/jero-web/src/components/layouts/UserLayout.vue +++ b/jero-web/src/components/layouts/UserLayout.vue @@ -1,28 +1,10 @@ @@ -46,103 +28,140 @@ }, } - - \ No newline at end of file + @media screen and (max-width:1920px){ // 分辨率<=1920px + #userLayout.user-layout-wrapper .container { + background: url(~@/assets/home1920.png) no-repeat; + background-size: 100% 100%; + } + } + @media screen and (max-width:1366px){ // 分辨率<=1366px + #userLayout.user-layout-wrapper .container { + background: url(~@/assets/home1366.png) no-repeat; + background-size: 100% 100%; + } + } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/jero-web/src/config/router.config.js b/jero-web/src/config/router.config.js index 774214da..1ca9f4cd 100644 --- a/jero-web/src/config/router.config.js +++ b/jero-web/src/config/router.config.js @@ -367,5 +367,4 @@ export const constantRouterMap = [ path: '/404', component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') }, - ] diff --git a/jero-web/src/router/index.js b/jero-web/src/router/index.js index bdbe3740..791a550e 100644 --- a/jero-web/src/router/index.js +++ b/jero-web/src/router/index.js @@ -4,6 +4,12 @@ import { constantRouterMap } from '@/config/router.config' Vue.use(Router) +const originalPush = Router.prototype.push +Router.prototype.push = function push(location, onResolve, onReject) { + if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject) + return originalPush.call(this, location).catch(err => err) +} + export default new Router({ mode: 'history', base: process.env.BASE_URL, diff --git a/jero-web/src/views/user/Login.vue b/jero-web/src/views/user/Login.vue index 1f74de80..3e0b9317 100644 --- a/jero-web/src/views/user/Login.vue +++ b/jero-web/src/views/user/Login.vue @@ -1,154 +1,114 @@ - - \ No newline at end of file diff --git a/jero-web/src/views/user/alteration/Alteration.vue b/jero-web/src/views/user/alteration/Alteration.vue index 6af56f61..001d720a 100644 --- a/jero-web/src/views/user/alteration/Alteration.vue +++ b/jero-web/src/views/user/alteration/Alteration.vue @@ -1,5 +1,5 @@