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
92e6ddad
Commit
92e6ddad
authored
Mar 24, 2025
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref: 五粮液集成登录loading修改
parent
663e1724
Pipeline
#96457
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
index.js
src/pages/bootpage/template/project/wuliangye/index.js
+9
-8
No files found.
src/pages/bootpage/template/project/wuliangye/index.js
View file @
92e6ddad
...
...
@@ -22,14 +22,14 @@ import { store } from '@wisdom-utils/utils';
import
LoginAction
from
'@/pages/user/login/login'
;
import
{
defaultApp
}
from
'@/micro'
;
import
useFullScreen
from
'../../demonstration/components/useFullScreen'
;
import
styles
from
'./index.less'
;
import
titleIcon
from
"@/assets/images/integration/wuliangye/标题.png"
;
import
Icon10
from
"@/assets/images/integration/wuliangye/酒瓶.png"
;
import
tipIcon
from
"@/assets/images/integration/wuliangye/tip框.png"
;
import
BGIcon
from
"@/assets/images/integration/wuliangye/五粮液背景.png"
;
import
dxIcon
from
"@/assets/images/integration/wuliangye/动效1.gif"
;
import
dxIcon2
from
"@/assets/images/integration/wuliangye/动效2.gif"
;
import
styles
from
'./index.less'
;
import
useFullScreen
from
'../../demonstration/components/useFullScreen'
;
import
pageConfig
from
"./config"
;
const
{
modalConfig
,
BIConfig
}
=
pageConfig
...
...
@@ -71,8 +71,8 @@ const IntegrationQinzhou = props => {
boxHeight
:
930
,
});
const
[
linkUrl
,
setLinkUrl
]
=
useState
(
''
);
const
[
jumpLoading
,
setJumpLoading
]
=
useState
(
false
);
const
[
progressValue2
,
setProgressValue2
]
=
useState
(
0
);
const
[
jumpLoading
,
setJumpLoading
]
=
useState
(
!!
window
.
jumpLoadingProgress
);
const
[
progressValue2
,
setProgressValue2
]
=
useState
(
window
.
jumpLoadingProgress
||
0
);
const
[
showBackBtn
,
setShowBackBtn
]
=
useState
(
false
);
// 是否显示iframe 返回按钮,三维平台用
const
[
loginAction
,
setAction
]
=
useState
(()
=>
new
LoginAction
(
props
));
...
...
@@ -175,6 +175,7 @@ const IntegrationQinzhou = props => {
setJumpLoading
(
true
);
jumpProgressStart
();
startTiming
(
6
);
window
.
jumpLoadingProgress
=
99
;
try
{
const
res
=
await
appService
.
getTicketByToken
({
token
:
window
.
globalConfig
?.
token
});
if
(
res
.
code
===
0
)
{
...
...
@@ -319,6 +320,7 @@ const IntegrationQinzhou = props => {
setJumpLoading(false);
jumpProgressEnd();
window.jumpLoadingProgress = 0;
window.jumpLoadingProgress = 0;
let url = '';
if (window.clientInfo?.url && window.clientInfo.subType === '内链') {
url = searchUrl(window.clientInfo.url);
...
...
@@ -329,6 +331,7 @@ const IntegrationQinzhou = props => {
defaultApp(url);
};
const handleError = () => {
window.jumpLoadingProgress = 0;
setJumpLoading(false);
jumpProgressEnd();
};
...
...
@@ -410,8 +413,7 @@ const IntegrationQinzhou = props => {
</div>
<div ref={cardRef} className={styles.integrationTips}>
{
BIConfig.map(item => {
return <div
BIConfig.map(item => <div
title={`
点击
$
{
item
.
name
}
跳转
`}
className={classNames(styles.integration_card,
item.name ? integrationData[item.name] ? styles.integration_row_col_link : styles.integration_row_col_no : '',
...
...
@@ -421,8 +423,7 @@ const IntegrationQinzhou = props => {
>
<div className={styles.integration_TitBG} style={{ background: `
url
(
$
{
tipIcon
})
center
/
100
%
100
%
no
-
repeat
` }} >{item.name}</div>
<img src={item.icon} />
</div>
})
</div>)
}
</div>
</div>
...
...
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