diff --git a/src/assets/img/case/bg.png b/src/assets/img/case/bg.png new file mode 100644 index 0000000..27c5fd4 Binary files /dev/null and b/src/assets/img/case/bg.png differ diff --git a/src/assets/img/case/btn.png b/src/assets/img/case/btn.png new file mode 100644 index 0000000..3e27745 Binary files /dev/null and b/src/assets/img/case/btn.png differ diff --git a/src/assets/img/case/header.png b/src/assets/img/case/header.png new file mode 100644 index 0000000..40cdb85 Binary files /dev/null and b/src/assets/img/case/header.png differ diff --git a/src/assets/img/case/left.png b/src/assets/img/case/left.png new file mode 100644 index 0000000..5ecbd32 Binary files /dev/null and b/src/assets/img/case/left.png differ diff --git a/src/assets/img/case/right.png b/src/assets/img/case/right.png new file mode 100644 index 0000000..1ac5759 Binary files /dev/null and b/src/assets/img/case/right.png differ diff --git a/src/components/case/index.vue b/src/components/case/index.vue new file mode 100644 index 0000000..2d2fbca --- /dev/null +++ b/src/components/case/index.vue @@ -0,0 +1,727 @@ + + + + + \ No newline at end of file diff --git a/src/pages/bank/list/index.vue b/src/pages/bank/list/index.vue index a2624b6..88f1486 100644 --- a/src/pages/bank/list/index.vue +++ b/src/pages/bank/list/index.vue @@ -14,49 +14,27 @@ -
- - - -
- - -
-
+ @@ -141,92 +119,4 @@ export default { cursor: pointer; } } - .case-dia{ - position: absolute; - top: 200px; - left: 40px; - width: 600px; - background-color: #fff; - border-radius: 20px; - overflow: hidden; - .close{ - position: absolute; - top: 15px; - right: 15px; - cursor: pointer; - } - .tab{ - display: flex; - background: url(../../../assets/img/case-tab-bg.png) 0 0 /auto 100% repeat-x; - border-top-left-radius: 20px; - border-top-right-radius: 20px; - li{ - flex: 1; - line-height: 72px; - font-size: 24px; - text-align: center; - cursor: pointer; - &.active{ - background: #fff; - } - } - } - .table{ - $serial-width: 20%; - $name-width: 50%; - .thead{ - display: flex; - line-height: 60px; - border-bottom: 2px solid #F2F3F9; - li{ - text-align: center; - font-size: 16px; - } - .serial{ - width: $serial-width; - } - .name{ - width: $name-width; - } - .action{ - flex: 1; - } - } - .tbody{ - li{ - display: flex; - padding: 15px 0; - .serial{ - width: $serial-width; - color: #5583FF; - font-size: 20px; - font-weight: bold; - text-align: center; - } - .name{ - width: $name-width; - font-size: 18px; - } - .action{ - flex: 1; - text-align: center; - button{ - padding: 0 30px; - color: #fff; - line-height: 36px; - font-size: 18px; - text-align: center; - background-color: #5583FF; - border: 0; - border-radius: 18px; - cursor: pointer; - &:hover{ - opacity: .9; - } - } - } - } - } - } - } \ No newline at end of file diff --git a/src/router/routes.js b/src/router/routes.js index 23a0332..80a8438 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -7,7 +7,7 @@ import BasicLayout from '@/layouts/home' const frameIn = [ { path: '/', - redirect: '/login', + redirect: '/index/list', }, { path: '/', diff --git a/src/setting.js b/src/setting.js index 15fc707..a6c8cb6 100644 --- a/src/setting.js +++ b/src/setting.js @@ -24,7 +24,7 @@ const Setting = { // Cookies 默认保存时间,单位:天 cookiesExpires: 1, /** - * 免登录保存的token的key + * token的key */ tokenKey: 'bank_token', /** @@ -35,6 +35,10 @@ const Setting = { * sessionStorage里username的key */ usernameKey: 'bank_username', + /** + * 系统id + */ + systemId: 12, /** * 默认密码 */