Skip to content
项目
群组
代码片段
帮助
正在加载...
登录/注册
切换导航
广
广东建设用地-前端
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
广东建设用地
广东建设用地-前端
Commits
76e74597
提交
76e74597
authored
10月 19, 2023
作者:
gjx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改登录页面
上级
54dc7f31
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
40 行增加
和
57 行删除
+40
-57
html.ts
build/vite/plugin/html.ts
+2
-2
index.html
index.html
+2
-2
jeecg_bg.jpg
src/assets/loginmini/icon/jeecg_bg.jpg
+0
-0
title_logo.png
src/assets/loginmini/icon/title_logo.png
+0
-0
base.less
src/assets/loginmini/style/base.less
+2
-1
home.less
src/assets/loginmini/style/home.less
+26
-17
sys.ts
src/locales/lang/zh-CN/sys.ts
+1
-1
LoginForm.vue
src/views/sys/login/LoginForm.vue
+5
-32
TokenLoginPage.vue
src/views/sys/login/TokenLoginPage.vue
+2
-2
MiniLogin.vue
src/views/system/loginmini/MiniLogin.vue
+0
-0
yarn.lock
yarn.lock
+0
-0
没有找到文件。
build/vite/plugin/html.ts
浏览文件 @
76e74597
...
...
@@ -8,7 +8,7 @@ import pkg from '../../../package.json';
import
{
GLOB_CONFIG_FILE_NAME
}
from
'../../constant'
;
export
function
configHtmlPlugin
(
env
:
ViteEnv
,
isBuild
:
boolean
)
{
const
{
VITE_GLOB_APP_TITLE
,
VITE_PUBLIC_PATH
}
=
env
;
const
{
VITE_PUBLIC_PATH
}
=
env
;
const
path
=
VITE_PUBLIC_PATH
.
endsWith
(
'/'
)
?
VITE_PUBLIC_PATH
:
`
${
VITE_PUBLIC_PATH
}
/`
;
...
...
@@ -21,7 +21,7 @@ export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) {
inject
:
{
// Inject data into ejs template
data
:
{
title
:
VITE_GLOB_APP_TITLE
,
title
:
''
,
},
// Embed the generated app.config.js file
tags
:
isBuild
...
...
index.html
浏览文件 @
76e74597
...
...
@@ -10,7 +10,7 @@
/>
<title><
%=
title
%
></title>
<link
rel=
"icon"
href=
"/logo.png"
/>
<!-- 全局配置 -->
<script>
window
.
_CONFIG
=
{};
...
...
@@ -157,7 +157,7 @@
</style>
<div
class=
"app-loading"
>
<div
class=
"app-loading-wrap"
>
<img
src=
"/resource/img/logo.png"
class=
"app-loading-logo"
alt=
"Logo"
/>
<div
class=
"app-loading-dots"
>
<span
class=
"dot dot-spin"
><i></i><i></i><i></i><i></i></span>
</div>
...
...
src/assets/loginmini/icon/jeecg_bg.jpg
0 → 100644
浏览文件 @
76e74597
185.5 KB
src/assets/loginmini/icon/title_logo.png
0 → 100644
浏览文件 @
76e74597
4.9 KB
src/assets/loginmini/style/base.less
浏览文件 @
76e74597
...
...
@@ -225,6 +225,7 @@ a {
min-width: 0;
font-size: 14px;
color: #333;
}
/* 必要布局样式css */
...
...
@@ -358,7 +359,7 @@ a {
}
.login-background-img {
background-image: url(../icon/jeecg_bg.
pn
g);
background-image: url(../icon/jeecg_bg.
jp
g);
background-size: cover;
background-position: top center;
background-repeat: no-repeat;
...
...
src/assets/loginmini/style/home.less
浏览文件 @
76e74597
...
...
@@ -6,9 +6,9 @@
.aui-container {
max-width: 1000px;
margin: 0 auto;
box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.2);
//
box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.2);
position: fixed;
top:
50
%;
top:
48
%;
left: 50%;
width: 92%;
height: auto;
...
...
@@ -20,13 +20,14 @@
}
.aui-form {
width: 100%;
background: #eee;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
width: 480px;
margin: 0 auto;
// background: #eee;
// display: -webkit-box;
// display: -moz-box;
// display: -ms-flexbox;
// display: -webkit-flex;
// display: flex;
}
.aui-image {
...
...
@@ -48,9 +49,11 @@
flex-basis: 40%;
-webkit-flex-basis: 40%;
box-sizing: border-box;
padding: 30px
2
0px;
padding: 30px
4
0px;
background: #fff;
box-shadow: 2px 9px 49px -17px rgba(0, 0, 0, 0.1);
border-radius: 15px;
}
.aui-logo {
...
...
@@ -235,10 +238,11 @@
}
.aui-form-nav .aui-flex-box {
color:
#040404
;
font-size:
18
px;
color:
rgba(103,103,103,1)
;
font-size:
25
px;
font-weight: 500;
cursor: pointer;
font-weight: bold;
}
.aui-clear-left {
...
...
@@ -325,33 +329,38 @@
.aui-inputClear {
width: 100%;
border
-bottom: 1px solid #cccccc
;
border
: 1px solid rgba(122,175,255,1)
;
position: relative;
padding-left: 20px;
background: #fff;
margin-bottom: 8px;
margin-top: 20px;
border-radius: 6px;
padding-top:5px ;
padding-bottom:5px ;
background-color: #f7f5f4;
}
.aui-inputClear .icon {
position: absolute;
top: 1
0
px;
left:
0
;
top: 1
5
px;
left:
20px
;
}
.aui-inputClear input {
width:
100
%;
width:
93
%;
padding: 10px;
border: none;
color: #333333;
font-size: 14px;
background: none;
margin-left: 20px;
}
.aui-code {
position: absolute;
right: 8px;
bottom:
0
;
bottom:
9px
;
width: 115px;
cursor: pointer;
}
...
...
src/locales/lang/zh-CN/sys.ts
浏览文件 @
76e74597
...
...
@@ -61,7 +61,7 @@ export default {
},
login
:
{
backSignIn
:
'返回'
,
signInFormTitle
:
'登录'
,
signInFormTitle
:
'
账户
登录'
,
mobileSignInFormTitle
:
'手机登录'
,
qrSignInFormTitle
:
'二维码登录'
,
signUpFormTitle
:
'注册'
,
...
...
src/views/sys/login/LoginForm.vue
浏览文件 @
76e74597
...
...
@@ -55,35 +55,10 @@
{{
t
(
'sys.login.registerButton'
)
}}
</Button>
-->
</FormItem>
<ARow
class=
"enter-x"
>
<ACol
:md=
"8"
:xs=
"24"
>
<Button
block
@
click=
"setLoginState(LoginStateEnum.MOBILE)"
>
{{
t
(
'sys.login.mobileSignInFormTitle'
)
}}
</Button>
</ACol>
<ACol
:md=
"8"
:xs=
"24"
class=
"!my-2 !md:my-0 xs:mx-0 md:mx-2"
>
<Button
block
@
click=
"setLoginState(LoginStateEnum.QR_CODE)"
>
{{
t
(
'sys.login.qrSignInFormTitle'
)
}}
</Button>
</ACol>
<ACol
:md=
"7"
:xs=
"24"
>
<Button
block
@
click=
"setLoginState(LoginStateEnum.REGISTER)"
>
{{
t
(
'sys.login.registerButton'
)
}}
</Button>
</ACol>
</ARow>
<Divider
class=
"enter-x"
>
{{
t
(
'sys.login.otherSignIn'
)
}}
</Divider>
<div
class=
"flex justify-evenly enter-x"
:class=
"`$
{prefixCls}-sign-in-way`">
<a
@
click=
"onThirdLogin('github')"
title=
"github"
><GithubFilled
/></a>
<a
@
click=
"onThirdLogin('wechat_enterprise')"
title=
"企业微信"
>
<icon-font
class=
"item-icon"
type=
"icon-qiyeweixin3"
/></a>
<a
@
click=
"onThirdLogin('dingtalk')"
title=
"钉钉"
><DingtalkCircleFilled
/></a>
<a
@
click=
"onThirdLogin('wechat_open')"
title=
"微信"
><WechatFilled
/></a>
</div>
</Form>
<!-- 第三方登录相关弹框 -->
<ThirdModal
ref=
"thirdModalRef"
></ThirdModal>
</
template
>
<
script
lang=
"ts"
setup
>
import
{
reactive
,
ref
,
toRaw
,
unref
,
computed
,
onMounted
}
from
'vue'
;
...
...
@@ -91,7 +66,7 @@
import
{
Checkbox
,
Form
,
Input
,
Row
,
Col
,
Button
,
Divider
}
from
'ant-design-vue'
;
import
{
GithubFilled
,
WechatFilled
,
DingtalkCircleFilled
,
createFromIconfontCN
}
from
'@ant-design/icons-vue'
;
import
LoginFormTitle
from
'./LoginFormTitle.vue'
;
import
ThirdModal
from
'./ThirdModal.vue'
;
import
{
useI18n
}
from
'/@/hooks/web/useI18n'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
...
...
@@ -117,7 +92,7 @@
const
{
getFormRules
}
=
useFormRules
();
const
formRef
=
ref
();
const
thirdModalRef
=
ref
();
const
loading
=
ref
(
false
);
const
rememberMe
=
ref
(
false
);
...
...
@@ -186,9 +161,7 @@
* 第三方登录
* @param type
*/
function
onThirdLogin
(
type
)
{
thirdModalRef
.
value
.
onThirdLogin
(
type
);
}
//初始化验证码
onMounted
(()
=>
{
handleChangeCheckCode
();
...
...
src/views/sys/login/TokenLoginPage.vue
浏览文件 @
76e74597
<
template
>
<div
class=
"app-loading"
>
<div
class=
"app-loading-wrap"
>
<img
src=
"/resource/img/logo.png"
class=
"app-loading-logo"
alt=
"Logo"
>
<div
class=
"app-loading-dots"
>
<span
class=
"dot dot-spin"
><i></i><i></i><i></i><i></i></span>
</div>
<div
class=
"app-loading-title"
>
JeecgBoot 企业级低代码平台
</div>
</div>
</div>
</
template
>
...
...
src/views/system/loginmini/MiniLogin.vue
浏览文件 @
76e74597
差异被折叠。
点击展开。
yarn.lock
0 → 100644
浏览文件 @
76e74597
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论