2023-11-29
This commit is contained in:
@@ -8,5 +8,5 @@ VUE_APP_BASE_API = '/api'
|
|||||||
# VUE_APP_URL = "http://jianguan.yyundong.com/shgfapi"
|
# VUE_APP_URL = "http://jianguan.yyundong.com/shgfapi"
|
||||||
|
|
||||||
|
|
||||||
VUE_APP_URL = "http://192.168.2.104:7201"
|
VUE_APP_URL = "http://192.168.2.110:7201"
|
||||||
##VUE_APP_URL = "http://8.130.39.13:8112"
|
##VUE_APP_URL = "http://8.130.39.13:8112"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import qs from 'qs'
|
|||||||
// 登录
|
// 登录
|
||||||
export function doLogin(data) {
|
export function doLogin(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/gf/sys/doLogin',
|
url: '/sysuser/doLogin',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data,
|
data: data,
|
||||||
headers: { 'Content-Type': 'application/json' }
|
headers: { 'Content-Type': 'application/json' }
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 600 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 443 KiB After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 18 KiB |
@@ -12,14 +12,45 @@ import codemenu from './modules/codemenu'
|
|||||||
export const constantRoutes = [
|
export const constantRoutes = [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: 'userInfo'
|
redirect: 'login'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/index',
|
path: '/login',
|
||||||
component: () => import('@/views/userInfo/index.vue'),
|
component: () => import('@/views/login/login.vue'),
|
||||||
name: 'index'
|
name: 'login'
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
// {
|
||||||
|
// path: '/',
|
||||||
|
// redirect: 'userInfo/index'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// path: '/index',
|
||||||
|
// component: () => import('@/views/userInfo/index.vue'),
|
||||||
|
// name: 'index'
|
||||||
|
|
||||||
|
// },
|
||||||
|
|
||||||
|
{
|
||||||
|
path: '/index',
|
||||||
|
component: Layout,
|
||||||
|
redirect: '/index',
|
||||||
|
children: [{
|
||||||
|
path: '/index',
|
||||||
|
component: () =>
|
||||||
|
import('@/views/index.vue'),
|
||||||
|
name: 'index',
|
||||||
|
meta: {
|
||||||
|
title: '主页',
|
||||||
|
noCache: true,
|
||||||
|
affix: true
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/userInfo',
|
path: '/userInfo',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="login">
|
<div class="login">
|
||||||
<div class="logoTitle" style="margin-left: 50px;margin-top: 50px;">
|
<div class="logoTitle" style="margin-left: 50px;margin-top: 50px;">
|
||||||
<img src="../../assets/loginImg/shgf.png"
|
<!-- <img src="../../assets/loginImg/shgf.png"
|
||||||
style="width: 50px;height: 50px; margin-right: 10px;" /><span>汇融惠享</span>
|
style="width: 50px;height: 50px; margin-right: 10px;" /><span>汇融惠享</span>
|
||||||
<p class="title" style="margin-top: 5px;">汇融惠享管理平台</p>
|
<p class="title" style="margin-top: 5px;">汇融惠享管理平台</p> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<el-input v-model="loginForm.password" autocomplete="off" placeholder="请输入密码" prefix-icon="el-icon-lock"
|
<el-input v-model="loginForm.password" autocomplete="off" placeholder="请输入密码" prefix-icon="el-icon-lock"
|
||||||
show-password>
|
show-password>
|
||||||
</el-input>
|
</el-input>
|
||||||
<span class="nopsw register" @click="forgetPwd = true">忘记密码 ?</span>
|
<!-- <span class="nopsw register" @click="forgetPwd = true">忘记密码 ?</span> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="showMsg" style="margin-bottom:0;">
|
<el-form-item v-show="showMsg" style="margin-bottom:0;">
|
||||||
<span class="text-danger">提示:用户名或密码错误,请重试!</span>
|
<span class="text-danger">提示:用户名或密码错误,请重试!</span>
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
background-image: url(../../assets/home/bj.png);
|
background-image: url(../../assets/home/bj.jpg);
|
||||||
background-position: center;
|
background-position: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
@@ -176,10 +176,11 @@
|
|||||||
/*height: 640px;*/
|
/*height: 640px;*/
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 13px 12px 0px rgba(0, 0, 0, 0.15);
|
box-shadow: 0px 13px 12px 0px rgba(0, 0, 0, 0.15);
|
||||||
opacity: 0.9;
|
opacity: 0.8;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10%;
|
right: 15%;
|
||||||
|
top:35%;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -234,7 +235,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.register {
|
.register {
|
||||||
color: #018ad2;
|
color: #EE640C;
|
||||||
}
|
}
|
||||||
|
|
||||||
.register:hover,
|
.register:hover,
|
||||||
@@ -253,17 +254,17 @@
|
|||||||
.login-btn {
|
.login-btn {
|
||||||
margin: 10px 0 10px 0;
|
margin: 10px 0 10px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #007fff;
|
background-color: #EE640C;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-btn:hover {
|
.login-btn:hover {
|
||||||
background-color: #007fdd;
|
background-color: #EE640C;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input--prefix .el-input__inner {
|
.el-input--prefix .el-input__inner {
|
||||||
border: 1px solid #018ad2;
|
border: 1px solid #EE640C;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: #333 !important;
|
color: #333 !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user