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
f6368e31
Commit
f6368e31
authored
Sep 11, 2023
by
杨思琦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!31
parents
35211f22
8703dbfb
Pipeline
#78702
waiting for manual action with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
proxy.js
config/proxy.js
+1
-1
index.js
src/pages/bootpage/index.js
+3
-3
index.js
src/pages/bootpage/integration/index.js
+2
-3
index.less
src/pages/bootpage/integration/index.less
+8
-3
No files found.
config/proxy.js
View file @
f6368e31
/* eslint-disable */
/* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
// const proxyURL = 'https://work.panda-water.cn';
// const proxyURL = 'https://work.panda-water.cn';
const
proxyURL
=
'http://1
92.168.8.27:8023
'
;
const
proxyURL
=
'http://1
20.194.86.66:8096/
'
;
// const proxyURL = 'https://panda-water.cn'
// const proxyURL = 'https://panda-water.cn'
//const proxyURL = 'http://192.168.12.189:8816/'
//const proxyURL = 'http://192.168.12.189:8816/'
module
.
exports
=
{
module
.
exports
=
{
...
...
src/pages/bootpage/index.js
View file @
f6368e31
...
@@ -13,7 +13,7 @@ const BootPageTemplate = {
...
@@ -13,7 +13,7 @@ const BootPageTemplate = {
integration
:
IntegrationPage
integration
:
IntegrationPage
};
};
let
first
=
true
;
const
BootPage
=
props
=>
{
const
BootPage
=
props
=>
{
const
[
info
,
setInfo
]
=
useState
({
const
[
info
,
setInfo
]
=
useState
({
first
:
true
,
first
:
true
,
...
@@ -23,8 +23,8 @@ const BootPage = props => {
...
@@ -23,8 +23,8 @@ const BootPage = props => {
const
[
template
,
setTemplate
]
=
useState
(
'default'
);
const
[
template
,
setTemplate
]
=
useState
(
'default'
);
const
RenderComponent
=
useMemo
(()
=>
{
const
RenderComponent
=
useMemo
(()
=>
{
if
(
window
?.
globalConfig
?.
isIntegration
>=
1
&&
first
)
{
first
=
false
;
if
(
window
?.
globalConfig
?.
isIntegration
>=
1
)
{
//集成登录
//集成登录
return
BootPageTemplate
.
integration
return
BootPageTemplate
.
integration
}
else
{
}
else
{
...
...
src/pages/bootpage/integration/index.js
View file @
f6368e31
...
@@ -55,7 +55,7 @@ const Integration = props => {
...
@@ -55,7 +55,7 @@ const Integration = props => {
config
.
client
=
cli
config
.
client
=
cli
}
}
props
.
instance
&&
props
.
instance
.
updateConfig
(
config
);
//
props.instance && props.instance.updateConfig(config);
loginAction
&&
loginAction
.
getUserInfoAndConfig
(
''
,
true
,
item
.
type
,
cli
);
loginAction
&&
loginAction
.
getUserInfoAndConfig
(
''
,
true
,
item
.
type
,
cli
);
}
}
};
};
...
@@ -145,8 +145,7 @@ const Integration = props => {
...
@@ -145,8 +145,7 @@ const Integration = props => {
<
/div
>
<
/div
>
)}
)}
<
/li
>
<
/li
>
),
))
:
''
}
)
:
''
}
<
/ul
>
<
/ul
>
<
/section
>
<
/section
>
<
/div
>
<
/div
>
...
...
src/pages/bootpage/integration/index.less
View file @
f6368e31
...
@@ -111,8 +111,10 @@
...
@@ -111,8 +111,10 @@
}
}
.bootPageList {
.bootPageList {
width: 100%;
// width: 100%;
height: 100%;
// height: 100%;
width: 300px;
height: 270px;
border-radius: 4px;
border-radius: 4px;
transition: all .2s ease-out;
transition: all .2s ease-out;
display: flex;
display: flex;
...
@@ -130,6 +132,8 @@
...
@@ -130,6 +132,8 @@
}
}
.listMain {
.listMain {
width: 207px;
height: 218px;
transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
display: flex;
display: flex;
align-items: center;
align-items: center;
...
@@ -137,7 +141,8 @@
...
@@ -137,7 +141,8 @@
background: url('@/assets/bootPage/bg.png');
background: url('@/assets/bootPage/bg.png');
background-size: 100%;
background-size: 100%;
background-repeat: no-repeat;
background-repeat: no-repeat;
padding: 30px 54px 48px 43px;
// padding: 30px 54px 48px 43px;
padding-top: 30px;
img {
img {
// width: 298px;
// width: 298px;
...
...
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