Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
69260db3
提交
69260db3
authored
3月 10, 2026
作者:
liuluyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新登录页面
上级
8acc7933
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
68 行增加
和
78 行删除
+68
-78
index.html
zrch-risk-client-39/index.html
+1
-1
background.jpg
zrch-risk-client-39/src/assets/loginmini/icon/background.jpg
+0
-0
base.less
zrch-risk-client-39/src/assets/loginmini/style/base.less
+1
-1
home.less
zrch-risk-client-39/src/assets/loginmini/style/home.less
+13
-14
sys.ts
zrch-risk-client-39/src/locales/lang/zh-CN/sys.ts
+8
-6
MiniLogin.vue
zrch-risk-client-39/src/views/system/loginmini/MiniLogin.vue
+45
-56
没有找到文件。
zrch-risk-client-39/index.html
浏览文件 @
69260db3
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
.app-loading
.app-loading-logo
{
.app-loading
.app-loading-logo
{
display
:
block
;
display
:
block
;
width
:
30
0px
;
width
:
13
0px
;
margin
:
0
auto
;
margin
:
0
auto
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
...
...
zrch-risk-client-39/src/assets/loginmini/icon/background.jpg
0 → 100644
浏览文件 @
69260db3
差异被折叠。
点击展开。
zrch-risk-client-39/src/assets/loginmini/style/base.less
浏览文件 @
69260db3
...
@@ -358,7 +358,7 @@ a {
...
@@ -358,7 +358,7 @@ a {
}
}
.login-background-img {
.login-background-img {
background-image: url(../icon/
jeecg_bg.pn
g);
background-image: url(../icon/
background.jp
g);
background-size: cover;
background-size: cover;
background-position: top center;
background-position: top center;
background-repeat: no-repeat;
background-repeat: no-repeat;
...
...
zrch-risk-client-39/src/assets/loginmini/style/home.less
浏览文件 @
69260db3
...
@@ -4,19 +4,19 @@
...
@@ -4,19 +4,19 @@
}
}
.aui-container {
.aui-container {
max-width:
10
00px;
max-width:
4
00px;
margin: 0 auto;
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;
position: fixed;
top: 50%;
top: 50%;
left: 5
0%;
right: 1
0%;
width: 92%;
width: 92%;
height: auto;
height: auto;
-webkit-transform: translate
X(-50%) translate
Y(-50%);
-webkit-transform: translateY(-50%);
-moz-transform: translate
X(-50%) translate
Y(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translate
X(-50%) translate
Y(-50%);
-ms-transform: translateY(-50%);
transform: translate
X(-50%) translate
Y(-50%);
transform: translateY(-50%);
-webkit-transform: translate
X(-50%) translate
Y(-50%);
-webkit-transform: translateY(-50%);
}
}
.aui-form {
.aui-form {
...
@@ -45,11 +45,10 @@
...
@@ -45,11 +45,10 @@
}
}
.aui-formBox {
.aui-formBox {
flex-basis: 40%;
width: 100%;
-webkit-flex-basis: 40%;
box-sizing: border-box;
box-sizing: border-box;
padding: 30px 20px;
padding: 30px 20px;
background:
#fff
;
background:
rgb(58, 113, 168)
;
box-shadow: 2px 9px 49px -17px rgba(0, 0, 0, 0.1);
box-shadow: 2px 9px 49px -17px rgba(0, 0, 0, 0.1);
}
}
...
@@ -235,10 +234,10 @@
...
@@ -235,10 +234,10 @@
}
}
.aui-form-nav .aui-flex-box {
.aui-form-nav .aui-flex-box {
color: #
040404
;
color: #
fff
;
font-size:
18
px;
font-size:
24
px;
font-weight:
5
00;
font-weight:
6
00;
cursor: pointer;
//
cursor: pointer;
}
}
.aui-clear-left {
.aui-clear-left {
...
...
zrch-risk-client-39/src/locales/lang/zh-CN/sys.ts
浏览文件 @
69260db3
import
{
sign
}
from
'crypto'
;
export
default
{
export
default
{
api
:
{
api
:
{
operationFailed
:
'操作失败'
,
operationFailed
:
'操作失败'
,
...
@@ -62,11 +64,11 @@ export default {
...
@@ -62,11 +64,11 @@ export default {
login
:
{
login
:
{
backSignIn
:
'返回'
,
backSignIn
:
'返回'
,
signInFormTitle
:
'登录'
,
signInFormTitle
:
'登录'
,
platformTitle
:
'科技风险管理平台'
,
mobileSignInFormTitle
:
'手机登录'
,
mobileSignInFormTitle
:
'手机登录'
,
qrSignInFormTitle
:
'二维码登录'
,
qrSignInFormTitle
:
'二维码登录'
,
signUpFormTitle
:
'注册'
,
signUpFormTitle
:
'注册'
,
forgetFormTitle
:
'重置密码'
,
forgetFormTitle
:
'重置密码'
,
signInTitle
:
'Jeecg Boot'
,
signInTitle
:
'Jeecg Boot'
,
signInDesc
:
'是中国最具影响力的 企业级低代码平台!在线开发,可视化拖拽设计,零代码实现80%的基础功能~'
,
signInDesc
:
'是中国最具影响力的 企业级低代码平台!在线开发,可视化拖拽设计,零代码实现80%的基础功能~'
,
policy
:
'我同意敲敲云隐私政策'
,
policy
:
'我同意敲敲云隐私政策'
,
...
@@ -105,10 +107,10 @@ export default {
...
@@ -105,10 +107,10 @@ export default {
subTitleText
:
'{0}秒后返回登录页面'
,
subTitleText
:
'{0}秒后返回登录页面'
,
//重置密码页面中文
//重置密码页面中文
authentication
:
'验证身份'
,
authentication
:
'验证身份'
,
resetLoginPassword
:
'重置登录密码'
,
resetLoginPassword
:
'重置登录密码'
,
resetSuccess
:
'重置成功'
,
resetSuccess
:
'重置成功'
,
nextStep
:
'下一步'
,
nextStep
:
'下一步'
,
goToLogin
:
'去登录'
goToLogin
:
'去登录'
,
},
},
};
};
zrch-risk-client-39/src/views/system/loginmini/MiniLogin.vue
浏览文件 @
69260db3
<
template
>
<
template
>
<div
:class=
"prefixCls"
class=
"login-background-img"
>
<div
:class=
"prefixCls"
class=
"login-background-img"
>
<AppLocalePicker
class=
"absolute top-4 right-4 enter-x xl:text-gray-600"
:showText=
"false"
/>
<AppLocalePicker
class=
"absolute top-4 right-4 enter-x xl:text-gray-600"
:showText=
"false"
/>
<AppDarkModeToggle
class=
"absolute top-3 right-7 enter-x"
/>
<AppDarkModeToggle
class=
"absolute top-3 right-7 enter-x"
/>
<div
class=
"aui-logo"
v-if=
"!getIsMobile"
>
<div
class=
"aui-logo"
v-if=
"!getIsMobile"
>
</div>
</div>
<div
v-else
class=
"aui-phone-logo"
>
<div
v-else
class=
"aui-phone-logo"
>
<img
:src=
"logoImg"
alt=
"jeecg"
/>
<img
:src=
"logoImg"
alt=
"jeecg"
/>
</div>
</div>
<div
v-show=
"type === 'login'"
>
<div
v-show=
"type === 'login'"
>
<div
class=
"aui-content"
>
<div
class=
"aui-content"
>
<div
class=
"aui-container"
>
<div
class=
"aui-container"
>
<div
class=
"aui-form"
>
<div
class=
"aui-image"
>
<div
class=
"aui-image-text"
>
<MiniLoginAd></MiniLoginAd>
</div>
</div>
<div
class=
"aui-formBox"
>
<div
class=
"aui-formBox"
>
<div
class=
"aui-formWell"
>
<div
class=
"aui-formWell"
>
<div
class=
"aui-flex aui-form-nav investment_title"
>
<div
class=
"aui-flex aui-form-nav investment_title"
>
<div
class=
"aui-flex-box"
:class=
"activeIndex === 'accountLogin' ? 'activeNav on' : ''"
@
click=
"loginClick('accountLogin')"
<div
class=
"aui-flex-box"
>
>
{{
t
(
'sys.login.signInFormTitle'
)
}}
<img
src=
"/@/assets/loginmini/icon/jeecg_logo.png"
style=
"float: left"
/>
{{
t
(
'sys.login.platformTitle'
)
}}
</div>
</div>
<div
class=
"aui-flex-box"
:class=
"activeIndex === 'phoneLogin' ? 'activeNav on' : ''"
@
click=
"loginClick('phoneLogin')"
<!--
<div
class=
"aui-flex-box"
:class=
"activeIndex === 'phoneLogin' ? 'activeNav on' : ''"
@
click=
"loginClick('phoneLogin')"
>
{{
t
(
'sys.login.mobileSignInFormTitle'
)
}}
>
{{
t
(
'sys.login.mobileSignInFormTitle'
)
}}
</div>
</div>
-->
</div>
</div>
<div
class=
"aui-form-box"
style=
"height: 180px"
>
<div
class=
"aui-form-box"
style=
"height: 180px"
>
<a-form
ref=
"loginRef"
:model=
"formData"
v-if=
"activeIndex === 'accountLogin'"
@
keyup
.
enter
.
native=
"loginHandleClick"
>
<a-form
ref=
"loginRef"
:model=
"formData"
v-if=
"activeIndex === 'accountLogin'"
@
keyup
.
enter
.
native=
"loginHandleClick"
>
...
@@ -85,17 +78,18 @@
...
@@ -85,17 +78,18 @@
<div
class=
"aui-formButton"
>
<div
class=
"aui-formButton"
>
<div
class=
"aui-flex"
>
<div
class=
"aui-flex"
>
<a-button
:loading=
"loginLoading"
class=
"aui-link-login"
type=
"primary"
@
click=
"loginHandleClick"
>
<a-button
:loading=
"loginLoading"
class=
"aui-link-login"
type=
"primary"
@
click=
"loginHandleClick"
>
{{
t
(
'sys.login.loginButton'
)
}}
</a-button>
{{
t
(
'sys.login.loginButton'
)
}}
</a-button
>
</div>
</div>
<div
class=
"aui-flex"
>
<!--
<div
class=
"aui-flex"
>
<a
class=
"aui-linek-code aui-flex-box"
@
click=
"codeHandleClick"
>
{{
t
(
'sys.login.qrSignInFormTitle'
)
}}
</a>
<a
class=
"aui-linek-code aui-flex-box"
@
click=
"codeHandleClick"
>
{{
t
(
'sys.login.qrSignInFormTitle'
)
}}
</a>
</div>
</div>
-->
<div
class=
"aui-flex"
>
<!--
<div
class=
"aui-flex"
>
<a
class=
"aui-linek-code aui-flex-box"
@
click=
"registerHandleClick"
>
{{
t
(
'sys.login.registerButton'
)
}}
</a>
<a
class=
"aui-linek-code aui-flex-box"
@
click=
"registerHandleClick"
>
{{
t
(
'sys.login.registerButton'
)
}}
</a>
</div>
-->
</div>
</div>
</div>
</div>
</div>
<!--
<a-form
@
keyup
.
enter
.
native=
"loginHandleClick"
>
<a-form
@
keyup
.
enter
.
native=
"loginHandleClick"
>
<div
class=
"aui-flex aui-third-text"
>
<div
class=
"aui-flex aui-third-text"
>
<div
class=
"aui-flex-box aui-third-border"
>
<div
class=
"aui-flex-box aui-third-border"
>
<span>
{{
t
(
'sys.login.otherSignIn'
)
}}
</span>
<span>
{{
t
(
'sys.login.otherSignIn'
)
}}
</span>
...
@@ -123,8 +117,7 @@
...
@@ -123,8 +117,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</a-form>
</a-form>
-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -149,7 +142,6 @@
...
@@ -149,7 +142,6 @@
import
{
getCaptcha
,
getCodeInfo
}
from
'/@/api/sys/user'
;
import
{
getCaptcha
,
getCodeInfo
}
from
'/@/api/sys/user'
;
import
{
computed
,
onMounted
,
reactive
,
ref
,
toRaw
,
unref
}
from
'vue'
;
import
{
computed
,
onMounted
,
reactive
,
ref
,
toRaw
,
unref
}
from
'vue'
;
import
codeImg
from
'/@/assets/images/checkcode.png'
;
import
codeImg
from
'/@/assets/images/checkcode.png'
;
import
{
Rule
}
from
'/@/components/Form'
;
import
{
useUserStore
}
from
'/@/store/modules/user'
;
import
{
useUserStore
}
from
'/@/store/modules/user'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
{
useI18n
}
from
'/@/hooks/web/useI18n'
;
import
{
useI18n
}
from
'/@/hooks/web/useI18n'
;
...
@@ -159,26 +151,20 @@
...
@@ -159,26 +151,20 @@
import
MiniRegister
from
'./MiniRegister.vue'
;
import
MiniRegister
from
'./MiniRegister.vue'
;
import
MiniCodelogin
from
'./MiniCodelogin.vue'
;
import
MiniCodelogin
from
'./MiniCodelogin.vue'
;
import
logoImg
from
'/@/assets/loginmini/icon/jeecg_logo.png'
;
import
logoImg
from
'/@/assets/loginmini/icon/jeecg_logo.png'
;
import
adTextImg
from
'/@/assets/loginmini/icon/jeecg_ad_text.png'
;
import
{
AppLocalePicker
,
AppDarkModeToggle
}
from
'/@/components/Application'
;
import
{
AppLocalePicker
,
AppDarkModeToggle
}
from
'/@/components/Application'
;
import
{
useLocaleStore
}
from
'/@/store/modules/locale'
;
import
{
useLocaleStore
}
from
'/@/store/modules/locale'
;
import
{
useDesign
}
from
"/@/hooks/web/useDesign"
;
import
{
useDesign
}
from
'/@/hooks/web/useDesign'
;
import
{
useAppInject
}
from
"/@/hooks/web/useAppInject"
;
import
{
useAppInject
}
from
'/@/hooks/web/useAppInject'
;
import
{
GithubFilled
,
WechatFilled
,
DingtalkCircleFilled
,
createFromIconfontCN
}
from
'@ant-design/icons-vue'
;
import
{
GithubFilled
,
WechatFilled
,
DingtalkCircleFilled
}
from
'@ant-design/icons-vue'
;
import
CaptchaModal
from
'@/components/jeecg/captcha/CaptchaModal.vue'
;
import
CaptchaModal
from
'@/components/jeecg/captcha/CaptchaModal.vue'
;
import
{
useModal
}
from
"@/components/Modal"
;
import
{
useModal
}
from
'@/components/Modal'
;
import
{
ExceptionEnum
}
from
"@/enums/exceptionEnum"
;
import
{
ExceptionEnum
}
from
'@/enums/exceptionEnum'
;
import
MiniLoginAd
from
"./MiniLoginAd.vue"
const
IconFont
=
createFromIconfontCN
({
scriptUrl
:
'//at.alicdn.com/t/font_2316098_umqusozousr.js'
,
});
const
{
prefixCls
}
=
useDesign
(
'mini-login'
);
const
{
prefixCls
}
=
useDesign
(
'mini-login'
);
const
{
notification
,
createMessage
}
=
useMessage
();
const
{
notification
,
createMessage
}
=
useMessage
();
const
userStore
=
useUserStore
();
const
userStore
=
useUserStore
();
const
{
t
}
=
useI18n
();
const
{
t
}
=
useI18n
();
const
localeStore
=
useLocaleStore
();
const
localeStore
=
useLocaleStore
();
const
showLocale
=
localeStore
.
getShowPicker
;
const
randCodeData
=
reactive
<
any
>
({
const
randCodeData
=
reactive
<
any
>
({
randCodeImage
:
''
,
randCodeImage
:
''
,
requestCodeSuccess
:
false
,
requestCodeSuccess
:
false
,
...
@@ -342,9 +328,9 @@
...
@@ -342,9 +328,9 @@
}
}
//update-begin---author:wangshuai---date:2024-04-18---for:【QQYUN-9005】同一个IP,1分钟超过5次短信,则提示需要验证码---
//update-begin---author:wangshuai---date:2024-04-18---for:【QQYUN-9005】同一个IP,1分钟超过5次短信,则提示需要验证码---
//update-begin---author:wangshuai---date:2025-07-15---for:【issues/8567】严重:修改密码存在水平越权问题:登录应该用登录模板不应该用忘记密码的模板---
//update-begin---author:wangshuai---date:2025-07-15---for:【issues/8567】严重:修改密码存在水平越权问题:登录应该用登录模板不应该用忘记密码的模板---
const
result
=
await
getCaptcha
({
mobile
:
phoneFormData
.
mobile
,
smsmode
:
SmsEnum
.
LOGIN
}).
catch
((
res
)
=>
{
const
result
=
await
getCaptcha
({
mobile
:
phoneFormData
.
mobile
,
smsmode
:
SmsEnum
.
LOGIN
}).
catch
((
res
)
=>
{
//update-end---author:wangshuai---date:2025-07-15---for:【issues/8567】严重:修改密码存在水平越权问题:登录应该用登录模板不应该用忘记密码的模板---
//update-end---author:wangshuai---date:2025-07-15---for:【issues/8567】严重:修改密码存在水平越权问题:登录应该用登录模板不应该用忘记密码的模板---
if
(
res
.
code
===
ExceptionEnum
.
PHONE_SMS_FAIL_CODE
)
{
if
(
res
.
code
===
ExceptionEnum
.
PHONE_SMS_FAIL_CODE
)
{
openCaptchaModal
(
true
,
{});
openCaptchaModal
(
true
,
{});
}
}
});
});
...
@@ -399,7 +385,7 @@
...
@@ -399,7 +385,7 @@
*/
*/
function
handleSuccess
(
value
)
{
function
handleSuccess
(
value
)
{
Object
.
assign
(
formData
,
value
);
Object
.
assign
(
formData
,
value
);
Object
.
assign
(
phoneFormData
,
{
mobile
:
""
,
smscode
:
""
});
Object
.
assign
(
phoneFormData
,
{
mobile
:
''
,
smscode
:
''
});
type
.
value
=
'login'
;
type
.
value
=
'login'
;
activeIndex
.
value
=
'accountLogin'
;
activeIndex
.
value
=
'accountLogin'
;
handleChangeCheckCode
();
handleChangeCheckCode
();
...
@@ -460,11 +446,11 @@
...
@@ -460,11 +446,11 @@
color: #aaa !important;
color: #aaa !important;
}
}
:deep(.jeecg-dark-switch){
:deep(.jeecg-dark-switch)
{
position:absolute;
position:
absolute;
margin-right: 10px;
margin-right: 10px;
}
}
.aui-link-login{
.aui-link-login
{
height: 42px;
height: 42px;
padding: 10px 15px;
padding: 10px 15px;
font-size: 14px;
font-size: 14px;
...
@@ -474,23 +460,23 @@
...
@@ -474,23 +460,23 @@
flex: 1;
flex: 1;
color: #fff;
color: #fff;
}
}
.aui-phone-logo{
.aui-phone-logo
{
position: absolute;
position: absolute;
margin-left: 10px;
margin-left: 10px;
width: 60px;
width: 60px;
top:2px;
top:
2px;
z-index: 4;
z-index: 4;
}
}
.top-3{
.top-3
{
top: 0.45rem;
top: 0.45rem;
}
}
</
style
>
</
style
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@prefix-cls: ~'@{namespace}-mini-login';
@prefix-cls: ~'@{namespace}-mini-login';
@dark-bg: #293146;
@dark-bg: #293146;
html[data-theme='dark'] {
html[data-theme='dark'] {
.@{prefix-cls} {
.@{prefix-cls} {
background-color: @dark-bg !important;
background-color: @dark-bg !important;
background-image: none;
background-image: none;
...
@@ -498,7 +484,7 @@ html[data-theme='dark'] {
...
@@ -498,7 +484,7 @@ html[data-theme='dark'] {
&::before {
&::before {
background-image: url(/@/assets/svg/login-bg-dark.svg);
background-image: url(/@/assets/svg/login-bg-dark.svg);
}
}
.aui-inputClear
{
.aui-inputClear
{
background-color: #232a3b !important;
background-color: #232a3b !important;
}
}
.ant-input,
.ant-input,
...
@@ -517,28 +503,31 @@ html[data-theme='dark'] {
...
@@ -517,28 +503,31 @@ html[data-theme='dark'] {
.app-iconify {
.app-iconify {
color: #fff !important;
color: #fff !important;
}
}
.aui-inputClear input,.aui-input-line input,.aui-choice{
.aui-inputClear input,
.aui-input-line input,
.aui-choice {
color: #c9d1d9 !important;
color: #c9d1d9 !important;
}
}
.aui-formBox
{
.aui-formBox
{
background-color: @dark-bg !important;
background-color: @dark-bg !important;
}
}
.aui-third-text span
{
.aui-third-text span
{
background-color: @dark-bg !important;
background-color: @dark-bg !important;
}
}
.aui-form-nav .aui-flex-box
{
.aui-form-nav .aui-flex-box
{
color: #c9d1d9 !important;
color: #c9d1d9 !important;
}
}
.aui-formButton .aui-linek-code
{
.aui-formButton .aui-linek-code
{
background: @dark-bg !important;
background: @dark-bg !important;
color: white !important;
color: white !important;
}
}
.aui-code-line
{
.aui-code-line
{
border-left: none !important;
border-left: none !important;
}
}
.ant-checkbox-inner,.aui-success h3{
.ant-checkbox-inner,
.aui-success h3 {
border-color: #c9d1d9;
border-color: #c9d1d9;
}
}
//update-begin---author:wangshuai ---date:20230828 for:【QQYUN-6363】这个样式代码有问题,不在里面,导致表达式有问题------------
//update-begin---author:wangshuai ---date:20230828 for:【QQYUN-6363】这个样式代码有问题,不在里面,导致表达式有问题------------
...
@@ -566,8 +555,8 @@ html[data-theme='dark'] {
...
@@ -566,8 +555,8 @@ html[data-theme='dark'] {
font-size: 12px !important;
font-size: 12px !important;
color: @text-color-secondary !important;
color: @text-color-secondary !important;
}
}
.aui-third-login a
{
.aui-third-login a
{
background: transparent;
background: transparent;
}
}
}
}
</
style
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论