Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
b31ef261
Commit
b31ef261
authored
May 29, 2023
by
杨思琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
feat: 大足登录页修改 See merge request
!18
parents
0aa6ea6d
f0a1b740
Pipeline
#73291
passed with stages
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
10 deletions
+53
-10
1.png
src/pages/user/login/template/project/dazu/images/1.png
+0
-0
index.js
src/pages/user/login/template/project/dazu/index.js
+19
-2
index.less
src/pages/user/login/template/project/dazu/index.less
+34
-5
index.less
src/pages/user/login/template/project/lvcheng/index.less
+0
-3
No files found.
src/pages/user/login/template/project/dazu/images/1.png
0 → 100644
View file @
b31ef261
This diff was suppressed by a .gitattributes entry.
src/pages/user/login/template/project/dazu/index.js
View file @
b31ef261
...
@@ -20,8 +20,19 @@ import styles from './index.less';
...
@@ -20,8 +20,19 @@ import styles from './index.less';
import
Account
from
'../../../js/useAccount'
;
import
Account
from
'../../../js/useAccount'
;
import
{
defaultApp
}
from
'../../../../../../micro'
;
import
{
defaultApp
}
from
'../../../../../../micro'
;
import
logo
from
'./images/logo.png'
;
import
logo
from
'./images/logo.png'
;
import
qrcodePng
from
'./images/1.png'
import
QRCode
from
'qrcode.react'
;
import
loginTitlePng
from
'./images/text.png'
;
import
loginTitlePng
from
'./images/text.png'
;
const
PopOvercontent
=
()
=>
{
const
qrcodes
=
window
.
globalConfig
&&
window
.
globalConfig
.
qrcode
;
if
(
qrcodes
)
{
return
<
QRCode
value
=
{
qrcodes
}
/>
;
}
return
<
span
>
手持
APP
下载未配置
<
/span>
;
}
const
Login
=
forwardRef
((
props
,
_ref
)
=>
{
const
Login
=
forwardRef
((
props
,
_ref
)
=>
{
const
sliVerify
=
useRef
();
const
sliVerify
=
useRef
();
const
videoRef
=
useRef
();
const
videoRef
=
useRef
();
...
@@ -183,7 +194,7 @@ const Login = forwardRef((props, _ref) => {
...
@@ -183,7 +194,7 @@ const Login = forwardRef((props, _ref) => {
<
div
className
=
{
classnames
(
styles
.
dazulogin
)}
onClick
=
{
onShow
}
>
<
div
className
=
{
classnames
(
styles
.
dazulogin
)}
onClick
=
{
onShow
}
>
{
show
?
(
{
show
?
(
<>
<
div
className
=
{
classnames
(
styles
[
'wrapper'
])}
>
<
QueueAnim
type
=
"top"
>
<
QueueAnim
type
=
"top"
>
<
div
key
=
"outwrapper"
className
=
{
styles
.
dazu_out_wrapper
}
>
<
div
key
=
"outwrapper"
className
=
{
styles
.
dazu_out_wrapper
}
>
<
div
className
=
{
styles
.
dazu_out_logo
}
>
<
div
className
=
{
styles
.
dazu_out_logo
}
>
...
@@ -202,9 +213,15 @@ const Login = forwardRef((props, _ref) => {
...
@@ -202,9 +213,15 @@ const Login = forwardRef((props, _ref) => {
{
renderPlatform
()}
{
renderPlatform
()}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
Popover
content
=
{
PopOvercontent
}
title
=
"扫码下载APP"
placement
=
'right'
overlayClassName
=
{
'popover-style'
}
>
<
img
src
=
{
qrcodePng
}
alt
=
"APP"
className
=
{
styles
[
'qrcode-box'
]}
/
>
<
/Popover
>
<
/div
>
<
/div
>
<
/QueueAnim
>
<
/QueueAnim
>
<
div
key
=
"loginheader"
className
=
{
classnames
(
styles
[
'login-header'
])}
>
<
div
key
=
"loginheader"
className
=
{
classnames
(
styles
[
'login-header'
])}
>
<
QueueAnim
type
=
"left"
>
<
QueueAnim
type
=
"left"
>
<
div
key
=
"logintitle"
className
=
{
styles
[
'left-title'
]}
>
<
div
key
=
"logintitle"
className
=
{
styles
[
'left-title'
]}
>
...
@@ -224,7 +241,7 @@ const Login = forwardRef((props, _ref) => {
...
@@ -224,7 +241,7 @@ const Login = forwardRef((props, _ref) => {
<
/div
>
<
/div
>
<
/QueueAnim
>
<
/QueueAnim
>
<
/div
>
<
/div
>
<
/
>
<
/
div
>
)
:
null
}
)
:
null
}
{
videoShow
?
(
{
videoShow
?
(
<
video
<
video
...
...
src/pages/user/login/template/project/dazu/index.less
View file @
b31ef261
...
@@ -220,9 +220,9 @@
...
@@ -220,9 +220,9 @@
.qrcode-box {
.qrcode-box {
position: absolute;
position: absolute;
bottom: 0;
bottom: 0;
right: -
35
px;
right: -
23
px;
width:
35
px;
width:
23
px;
height:
35
px;
height:
23
px;
background: #FFFFFF;
background: #FFFFFF;
opacity: 0.8;
opacity: 0.8;
cursor: pointer;
cursor: pointer;
...
@@ -231,4 +231,33 @@
...
@@ -231,4 +231,33 @@
}
}
& :global {}
& :global {
\ No newline at end of file
.popover-style{
.@{ant-prefix}-popover-inner-content{
display: flex;
justify-content: center;
align-items: center;
}
.@{ant-prefix}-popover-title{
display: flex;
justify-content: center;
align-items: center;
}
}
}
:global{
.popover-style{
.@{ant-prefix}-popover-inner-content{
display: flex;
justify-content: center;
align-items: center;
}
.@{ant-prefix}-popover-title{
display: flex;
justify-content: center;
align-items: center;
}
}
}
\ No newline at end of file
src/pages/user/login/template/project/lvcheng/index.less
View file @
b31ef261
...
@@ -211,9 +211,6 @@
...
@@ -211,9 +211,6 @@
align-items: center;
align-items: center;
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment