Commit 70d227c4 authored by 周宏民's avatar 周宏民

feat: 钦州集成登录

parent 42a90f21
Pipeline #92942 waiting for manual action with stages
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
......@@ -14,6 +14,7 @@ import YixingPage from './project/yixing';
import DanlingPage from './project/danling';
import MilePage from './project/mile';
import DongyingPage from './project/dongying';
import QinzhouPage from './project/qinzhou';
export const guidePage = [
// type 为true 则需要 功能配置 isPanda 为true
{
......@@ -48,6 +49,10 @@ export const guidePage = [
label: '东营集成登录',
value: 'dongyingPage',
},
{
label: '钦州集成登录',
value: 'qinzhouPage',
},
{
label: '演示环境(旧版)',
type: true,
......@@ -70,4 +75,5 @@ export const BootPageTemplate = {
danlingPage: DanlingPage,
milePage: MilePage,
dongyingPage: DongyingPage,
qinzhouPage: QinzhouPage,
};
{
"业务应用": [
{
"name": "综合业务大屏",
"label": "",
"url": "",
"client": ""
},
{
"name": "OA办公系统",
"label": "",
"url": "",
"client": ""
},
{
"name": "营业收费系统",
"label": "",
"url": "http://221.7.220.45:7700/jpcd-bcs-server/sysUser/ssoGCK",
"paramName": "ticket",
"client": ""
}
],
"综合监控管理平台": {
"name": "综合监控管理平台",
"label": "",
"url": "",
"client": ""
},
"应用系统": [
{
"name": "管网GIS系统",
"label": "",
"url": "",
"client": ""
},
{
"name": "水厂监控系统",
"label": "",
"url": "",
"client": ""
},
{
"name": "污水厂监控系统",
"label": "",
"url": "",
"client": ""
},
{
"name": "管网采集系统",
"label": "",
"url": "",
"client": ""
},
{
"name": "二供监控系统",
"label": "",
"url": "",
"client": ""
},
{
"name": "污水站监控系统",
"label": "",
"url": "",
"client": ""
}
],
"基础平台": [
{
"name": "物联接入平台",
"label": "",
"url": "",
"client": ""
},
{
"name": "视频接入平台",
"label": "",
"url": "",
"client": ""
},
{
"name": "报警管理平台",
"label": "",
"url": "",
"client": ""
},
{
"name": "运维管理平台",
"label": "",
"url": "http://111.59.43.216:8100/civmanage/",
"client": ""
}
],
"标题": "钦州开投水务综合管理平台"
}
\ No newline at end of file
import { appService } from '@/api';
import { FullscreenExitOutlined, FullscreenOutlined } from '@ant-design/icons';
import { message, Button } from 'antd';
import classNames from 'classnames';
import { debounce } from 'lodash';
import React, { useRef, useEffect, useState, useMemo } from 'react';
import backImg from '@/assets/images/demonstration/返回.png';
import arrowLeftImg from '@/assets/images/demonstration/左箭头.png';
import LoadPage from '@/components/LoadPage';
import { connect } from 'react-redux';
import { actionCreators } from '@/containers/App/store';
import { getUserInfo, getWebSiteConfig } from '@/api/service/base';
import { params } from '@wisdom-utils/utils/lib/helpers';
import axios from 'axios';
import { useHistory, useAliveController } from '@wisdom-utils/runtime';
import Cookies from 'js-cookie';
import { store } from '@wisdom-utils/utils';
import LoginAction from '@/pages/bootpage/demonstration/components/login';
import { defaultApp } from '@/micro';
import useFullScreen from '../../demonstration/components/useFullScreen';
import defaultConfig from './data.json';
import styles from './index.less';
import Iframe from '../../demonstration/components/Iframe';
const boxWidth = 1920;
const boxHeight = 930;
const IntegrationQinzhou = props => {
const [ref, isFullscreen, handleFullScreen, handleExitFullScreen] = useFullScreen(false);
const history = useHistory();
let integrationClient = window?.globalConfig?.client || 'city'; // 集成登录client
const { clear } = useAliveController();
const timer2 = useRef(null);
const timer3 = useRef(null);
const progressRef2 = useRef(0);
// 退出
const exit = () => {
if (isFullscreen) {
handleExitFullScreen && handleExitFullScreen();
} else {
handleFullScreen && handleFullScreen();
}
};
const [boxSize, setBoxSize] = useState({
scale: 1,
boxHeight: 930,
});
const [linkUrl, setLinkUrl] = useState('');
const [jumpLoading, setJumpLoading] = useState(false);
const [progressValue2, setProgressValue2] = useState(0);
const [showBackBtn, setShowBackBtn] = useState(true); // 是否显示iframe 返回按钮,三维平台用
const [mClient, setMClient] = useState('');
const [loginAction, setAction] = useState(() => new LoginAction(props));
const configName = '集成配置文件';
const [configData, setConfigData] = useState(defaultConfig);
const jumpProgressStart = () => {
if (timer2.current) {
clearInterval(timer2.current);
timer2.current = null;
}
progressRef2.current = 0;
setProgressValue2(0);
timer2.current = setInterval(() => {
if (progressRef2.current < 97.5) {
progressRef2.current += 2.5;
setProgressValue2(progressRef2.current);
} else {
setProgressValue2(99);
timer2.current && clearInterval(timer2.current);
timer2.current = null;
}
}, 100);
};
const jumpProgressEnd = () => {
setProgressValue2(100);
timer2.current && clearInterval(timer2.current);
timer2.current = null;
};
const getData = async () => {
appService
.GetConfigJson({
config: configName,
})
.then(res => {
if (res.code === 0 && res.data) {
const data = JSON.parse(res.data) || defaultConfig;
setConfigData(data);
}
});
appService
.GetIntegratedloginSetting({
ignoreSite: true,
})
.then(res => {
const { code, data } = res;
if (data.client) {
integrationClient = data.client;
localStorage.setItem('integrationClient', data.client);
}
});
};
const onResize = () => {
if (ref?.current) {
const { clientWidth, clientHeight } = ref.current;
if (!boxWidth || !boxHeight) return;
const xScale = clientWidth / boxWidth;
const yScale = clientHeight / boxHeight;
const poor = clientHeight / clientWidth - boxHeight / boxWidth;
let n = Math.min(xScale, yScale);
let bHeight = boxHeight;
if (poor > 0.05) {
bHeight = boxHeight + 30;
}
// 高度为偶数
bHeight = parseInt(bHeight, 10);
if (bHeight % 2 !== 0) {
bHeight += 1;
}
n = Number(n.toFixed(4));
setBoxSize({
scale: n,
boxHeight: bHeight,
});
}
};
const handError = err => {
if (err) {
message.error(err);
}
setLinkUrl('');
setJumpLoading(false);
jumpProgressEnd();
};
const onMessageBack = data => {
if (!data?.type) return;
console.log('onMessageBack ~ data:', data);
switch (data?.type) {
// 页面加载完成
// 登录成功
case 'runAfterFirstMounted':
case 'loginSuccess':
jumpProgressEnd();
setTimeout(() => {
setJumpLoading(false);
}, 100);
break;
case 'loginError':
message.warning('登录失败,请联系管理人员');
handError();
break;
case '无法连接':
message.warning('该站点无法连接,请联系管理人员');
setTimeout(() => {
handError();
}, 100);
break;
case 'showBack':
setShowBackBtn(true);
break;
case 'hideBack':
setShowBackBtn(false);
break;
default:
break;
}
};
const iframeItem = useMemo(() => {
if (!linkUrl) return null;
return (
<>
<div className={classNames(!jumpLoading ? styles.scaleInCenter : styles.hide, 'animate__animated')}>
<Iframe linkUrl={linkUrl} onMessageBack={onMessageBack} />
</div>
</>
);
}, [linkUrl, jumpLoading]);
const startTiming = (time = 2) => {
if (timer3.current) {
clearInterval(timer3.current);
timer3.current = null;
}
timer3.current = setTimeout(() => {
setJumpLoading(false);
timer2.current && clearInterval(timer2.current);
timer2.current = null;
}, time * 1000);
};
const toRevenue = async item => {
setJumpLoading(true);
jumpProgressStart();
startTiming(6);
try {
const res = await appService.getTicketByToken({ token: window.globalConfig?.token });
if (res.code === 0) {
// 营收是api-bcs,直饮水是api-ddw
const apiPath = `${item.url}?sysFlag=0&${item.paramName}=${res.data}`;
setLinkUrl(apiPath);
const res2 = await axios({
url: apiPath,
method: 'get',
dataType: 'json',
});
if (res2?.data?.resultcode !== 'no') {
setLinkUrl('');
setJumpLoading(false);
jumpProgressEnd();
message.warning('没权限,请联系管理员');
}
} else {
res.msg && message.error(res.msg);
setJumpLoading(false);
jumpProgressEnd();
}
} catch (error) {
setJumpLoading(false);
jumpProgressEnd();
}
};
const onLink = (item, loginA) => {
const { url, client } = item;
if (!url && !client) return message.warning('未配置功能路径');
if (url) {
if (item.paramName) {
toRevenue(item);
return;
}
setJumpLoading(true);
jumpProgressStart();
setLinkUrl(url);
let time = 15;
if (!url.includes('user/noscret')) {
time = 4;
}
startTiming(time);
}
if (client) {
if (window.qiankunIsCache) {
store.set('event:dropCache');
}
Cookies.set('client', client, {
expires: 86400000 / (24 * 60 * 60 * 1000),
path: '/',
});
sessionStorage.setItem('client', client);
const currentProduct = `__global__recent_productIndex__micro_${window.location.hostname}_${window.globalConfig
?.client ?? 'city'}`;
sessionStorage.removeItem(currentProduct);
const currentProductNew = `__global__recent_productIndex__micro_${window.location.hostname}_${client || 'city'}`;
sessionStorage.setItem(currentProductNew, 0);
setMClient(client);
const config = props.global;
window.qiankunStarted = false;
if (client) {
config.client = client;
}
const token = props.global?.token || Cookies.get('token');
if (!token) {
history.push(`/user/login?client=${integrationClient}`, { reload: true });
clear();
props.logout();
} else {
setJumpLoading(true);
jumpProgressStart();
startTiming(15);
window.jumpLoadingProgress = 99;
getWebSiteConfig({
identity: token,
client,
})
.then(res => {
const data = res.data?.[0] || {};
config.uiwidgets = data.uiwidgets || [];
config.widgets = data.widgets || [];
config.allWidgets = data.widgets || [];
const homeType = config.productType || 'civweb4';
let homepage = params.getParams('homepage') ? params.getParams('homepage') : '';
if (!homepage) {
homepage =
homeType && data.homepage ? `${homeType}/${params.getParams('homepage') || data.homepage}` : '';
}
config.homepage = homepage;
config.hideFeedback =
data.afterSales && typeof data.afterSales === 'string'
? data.afterSales.split(',').includes(`${props.global?.userInfo?.OID}`)
: false;
config.IsOpenTransitionPage = data.IsOpenTransitionPage || false;
config.openAnnouncement = data.openAnnouncement;
config.announcementContent = data.announcementContent;
if (!config.widgets.length) {
message.error({
duration: 3,
content: '您没有该板块权限',
});
setJumpLoading(false);
jumpProgressEnd();
window.jumpLoadingProgress = 0;
return;
}
loginAction.updateConfig && loginAction.updateConfig(config);
loginAction && loginAction.getIndustry(true, token);
})
.catch(err => {
setJumpLoading(false);
jumpProgressEnd();
window.jumpLoadingProgress = 0;
});
}
}
};
useEffect(() => {
getData();
window.addEventListener('resize', debounce(onResize, 300));
onResize();
return () => {
window.removeEventListener('resize', onResize);
timer2.current && clearInterval(timer2.current);
timer2.current = null;
timer3.current && clearInterval(timer3.current);
timer3.current = null;
};
}, []);
useEffect(() => {
const handleToggleIndustry = event => {
setJumpLoading(false);
jumpProgressEnd();
window.jumpLoadingProgress = 0;
props.updateCurrentIndex && props.updateCurrentIndex(0);
props.history.push(`/?client=${mClient || props.global.client}`);
defaultApp();
};
const handleError = () => {
setJumpLoading(false);
jumpProgressEnd();
};
loginAction.events.on('loginSuccess', handleToggleIndustry);
loginAction.events.on('loginError', handleError);
return () => {
loginAction && loginAction.events && loginAction.events.removeListener('loginSuccess', handleToggleIndustry);
loginAction && loginAction.events && loginAction.events.removeListener('loginError', handleError);
};
}, [loginAction.events, props, mClient]);
return (
<div className={classNames(styles.integrationQinzhou, 'integrationQinzhou')} ref={ref}>
{jumpLoading ? (
<div className={styles.integrationJumpLoad} key="jumpLoading">
<div style={{ width: '285px' }}>
<LoadPage percent={progressValue2 / 100} text="页面加载中~" />
</div>
</div>
) : null}
{!linkUrl ? (
<div className={styles.integrationQinzhou_exit} onClick={exit}>
<Button type="text" style={{ color: '#fff', fontSize: '24px' }}>
{isFullscreen ? <FullscreenExitOutlined /> : <FullscreenOutlined />}
</Button>
</div>
) : null}
<div
className={styles.integration_content}
style={{
width: boxWidth,
height: boxSize.boxHeight,
transform: `scale(${boxSize.scale}) translate(-50%,-50%)`,
}}
>
<div className={styles.integrationQinzhou_title}>
<div className={styles.integrationQinzhou_title_left} />
<div className={styles.integrationQinzhou_title_text}>
<span>{configData?.['标题'] || '智慧水务综合监控平台'}</span>
</div>
<div className={styles.integrationQinzhou_title_right} />
</div>
<div className={styles.integration_row} type="业务应用">
<div className={styles.integration_row_title} type="业务应用">
业务应用
</div>
<div className={styles.integration_row_list}>
<div className={styles.integration_row_grid} type="业务应用">
{configData['业务应用'] &&
configData['业务应用'].map(item => (
<div
key={item.name}
className={classNames(
styles.integration_row_col,
item.url || item.client ? styles.integration_row_col_link : styles.integration_row_col_no,
)}
type="业务应用"
onClick={() => onLink(item)}
>
<div className={styles.integration_row_col_content} name={item.name}>
<div className={styles.integration_row_col_text} type="业务应用">
{item.label || item.name}
</div>
<div className={styles.integration_row_col_sub}>{item.english || ''}</div>
</div>
</div>
))}
</div>
</div>
</div>
<div className={styles.integration_row} type="应用系统">
<div className={styles.integration_row_title} type="应用系统">
应用系统
</div>
<div className={styles.integration_row_list} type="应用系统">
{configData['综合监控管理平台'] ? (
<div
className={classNames(
styles.integration_row_col,
configData['综合监控管理平台'].url || configData['综合监控管理平台'].client
? styles.integration_row_col_link
: styles.integration_row_col_no,
)}
type="综合监控管理平台"
onClick={() => onLink(configData['综合监控管理平台'])}
>
<div className={styles.integration_row_col_content} name="综合监控管理平台">
<div className={styles.integration_row_col_text} type="业务应用">
{configData['综合监控管理平台'].label || configData['综合监控管理平台'].name}
</div>
</div>
</div>
) : null}
<div className={styles.integration_row_grid} type="应用系统">
{configData['应用系统'] &&
configData['应用系统'].map(item => (
<div
key={item.name}
className={classNames(
styles.integration_row_col,
item.url || item.client ? styles.integration_row_col_link : styles.integration_row_col_no,
)}
type="应用系统"
onClick={() => onLink(item)}
>
<div
className={classNames(
styles.integration_row_col_hover,
'animate__fadeIn animate__animated duration-100ms',
)}
/>
<div className={styles.integration_row_col_content} name={item.name}>
<div className={styles.integration_row_col_text}>{item.label || item.name}</div>
</div>
</div>
))}
</div>
</div>
</div>
<div className={styles.integration_row} type="基础平台">
<div className={styles.integration_row_title} type="基础平台">
基础平台
</div>
<div className={styles.integration_row_list} type="基础平台">
<div className={styles.integration_row_grid} type="基础平台">
{configData['基础平台'] &&
configData['基础平台'].map(item => (
<div
key={item.name}
className={classNames(
styles.integration_row_col,
item.url || item.client ? styles.integration_row_col_link : styles.integration_row_col_no,
)}
type={item.name}
onClick={() => onLink(item)}
>
<div
className={classNames(
styles.integration_row_col_hover,
'animate__fadeIn animate__animated duration-100ms',
)}
/>
<div className={styles.integration_row_col_content} name={item.name}>
<div className={styles.integration_row_col_text}>{item.label || item.name}</div>
<div className={styles.integration_row_col_sub}>{item.english || ''}</div>
</div>
</div>
))}
</div>
</div>
</div>
</div>
{linkUrl && showBackBtn ? (
<div
className={classNames(styles.iframeExit, 'animate__animated', 'animate__fadeIn')}
onClick={() => setLinkUrl('')}
>
<div className={styles.iframeBackLeft}>
<img src={arrowLeftImg} alt="返回" />
</div>
<div className={styles.iframeExitIcon}>
<img src={backImg} alt="返回" />
返回
</div>
</div>
) : null}
{iframeItem}
</div>
);
};
const mapStateToProps = state => ({
global: state.getIn(['global', 'globalConfig']),
});
const mapDispatchToProps = dispatch => ({
updateConfig(config) {
dispatch(actionCreators.getConfig(config));
},
createContext(data) {
dispatch(actionCreators.createContext(data));
},
updateCurrentIndex(index) {
dispatch(actionCreators.updateCurrentIndex(index));
},
logout() {
dispatch(actionCreators.logout());
},
});
export default connect(
mapStateToProps,
mapDispatchToProps,
)(IntegrationQinzhou);
@imgSrc: '@/assets/images/integration/qinzhou/';
.integrationQinzhou {
width: 100%;
position: relative;
height: 100%;
overflow: hidden;
background: url('@/assets/images/integration/taihu2/背景2.jpg') center/100% 100% no-repeat;
.iframeExitIcon {
position: absolute;
top: 0;
left: -45px;
display: flex;
height: 44px;
width: 44px;
background: rgba(28, 94, 180, 0.95);
border-radius: 0 7px 7px 0;
flex-direction: column;
justify-content: space-around;
align-items: center;
font-size: 12px;
transition: all 0.2s;
padding: 3px 0;
img {
width: 17px;
height: 12px;
}
}
.iframeExit:hover {
.iframeExitIcon {
left: 0;
}
.iframeBackLeft {
left: -15px;
}
}
.iframeBackLeft {
position: absolute;
top: 0;
left: 0;
width: 14px;
height: 44px;
background: rgba(28, 94, 180, 0.95);
border-radius: 0 7px 7px 0;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
img {
width: 6px;
height: 11px;
}
}
.iframeExit {
width: 44px;
height: 44px;
position: absolute;
top: 4px;
left: 0;
color: #FFF;
cursor: pointer;
user-select: none;
position: absolute;
z-index: 110;
}
.integrationQinzhou_exit {
position: absolute;
right: 10px;
top: 10px;
z-index: 100;
}
.integration_content {
display: flex;
flex-direction: column;
align-items: center;
transform-origin: left top;
position: absolute;
left: 50%;
top: 50%;
padding: 0px 20px 10px;
}
.integration_row {
display: flex;
width: 1360px;
overflow: hidden;
margin-bottom: 14px;
.integration_row_title {
flex: none;
margin-right: 8px;
position: relative;
writing-mode: vertical-rl;
font-weight: bold;
font-size: 18px;
color: #fff;
line-height: 33px;
text-shadow: 0 0 18px rgba(0, 144, 255, 0.5);
display: flex;
align-items: flex-start;
justify-content: center;
letter-spacing: 3px;
padding-right: 30px;
}
.integration_row_list {
flex: 1;
display: flex;
align-items: center;
}
}
.integration_row_col {
position: relative;
cursor: pointer;
}
.integration_row_col_text {
font-weight: bold;
font-size: 20px;
color: #FFFFFF;
transition: all 0.1s;
position: relative;
white-space: nowrap;
}
.integration_row_col_no {
filter: grayscale(80%) brightness(105%);
cursor: not-allowed;
}
.integration_row_col_link:hover {
filter: brightness(120%);
.integration_row_col_hover {
display: block !important;
}
.integration_row_col_tip {
display: none;
}
.integration_row_col_text {
color: #fff !important;
}
.integration_row_col_sub {
color: #fff !important;
}
}
.integration_row_title[type='业务应用'] {
width: 71px;
height: 133px;
background: url('@{imgSrc}/业务应用left.png') center center no-repeat;
background-size: 100% 100%;
}
.integration_row_title[type='应用系统'] {
width: 74px;
height: 318px;
background: url('@{imgSrc}/应用系统left.png') center center no-repeat;
background-size: 100% 100%;
}
.integration_row_title[type='基础平台'] {
width: 73px;
height: 133px;
background: url('@{imgSrc}/基础平台left.png') center center no-repeat;
background-size: 100% 100%;
}
// 业务应用start
.integration_row[type='业务应用'] {
overflow: hidden;
display: flex;
align-items: center;
.integration_row_list {
height: 100%;
padding-top: 6px;
flex: 1;
padding-left: 2px;
}
}
.integration_row_grid[type='业务应用'] {
display: flex;
justify-content: space-between;
width: 100%;
}
.integration_row_col[type='业务应用'] {
width: 416px;
height: 111px;
position: relative;
flex: none;
.integration_row_col_text {
font-weight: bold;
font-size: 20px;
color: #FFED9A;
text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
}
.integration_row_col_sub {
font-weight: 400;
font-size: 13px;
color: rgba(231, 215, 138, 0.6);
}
.integration_row_col_content {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 181px;
line-height: 1;
}
.integration_row_col_content[name='综合业务大屏'] {
background: url('@{imgSrc}/综合业务大屏.png') 59px 33px no-repeat,
url('@{imgSrc}/业务应用bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='OA办公系统'] {
background: url('@{imgSrc}/OA办公系统.png') 62px 31px no-repeat,
url('@{imgSrc}/业务应用bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='营业收费系统'] {
background: url('@{imgSrc}/营业收费系统.png') 64px 30px no-repeat,
url('@{imgSrc}/业务应用bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
}
// 业务应用end
// 应用系统
.integration_row[type='应用系统'] {
display: flex;
margin-bottom: 10px;
}
.integration_row_list[type='应用系统'] {
flex-direction: column;
padding-top: 4px;
.integration_row_col_one {}
.integration_row_col_text {
font-weight: bold;
font-size: 20px;
color: #AEEFFF;
text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
}
.integration_row_col_content {
width: 100%;
height: 100%;
padding-left: 182px;
}
}
.integration_row_grid[type='应用系统'] {
display: flex;
position: relative;
flex-wrap: wrap;
justify-content: space-between;
}
.integration_row_col[type='应用系统'] {
width: 416px;
height: 93px;
margin-bottom: 12px;
.integration_row_col_content {
line-height: 93px;
}
}
.integration_row_col[type='综合监控管理平台'] {
width: 100%;
height: 93px;
margin-bottom: 12px;
.integration_row_col_content[name='综合监控管理平台'] {
background: url('@{imgSrc}/综合监控管理平台.png') 488px 24px no-repeat,
url('@{imgSrc}/综合监控管理平台bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
padding-left: 590px;
line-height: 93px;
}
}
.integration_row_list[type='应用系统'] {
.integration_row_col_content[name='管网GIS系统'] {
background: url('@{imgSrc}/管网GIS系统.png') 62px 22px no-repeat,
url('@{imgSrc}/管网GIS系统bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='水厂监控系统'] {
background: url('@{imgSrc}/水厂监控系统.png') 62px 22px no-repeat,
url('@{imgSrc}/管网GIS系统bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='污水厂监控系统'] {
background: url('@{imgSrc}/污水厂监控系统.png') 63px 22px no-repeat,
url('@{imgSrc}/管网GIS系统bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='管网采集系统'] {
background: url('@{imgSrc}/管网采集系统.png') 63px 22px no-repeat,
url('@{imgSrc}/管网GIS系统bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='二供监控系统'] {
background: url('@{imgSrc}/二供监控系统.png') 63px 22px no-repeat,
url('@{imgSrc}/管网GIS系统bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='污水站监控系统'] {
background: url('@{imgSrc}/污水站监控系统.png') 63px 22px no-repeat,
url('@{imgSrc}/管网GIS系统bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
}
// 应用系统end
// 基础平台start
.integration_row[type='基础平台'] {
display: flex;
align-items: flex-start;
}
.integration_row_list[type='基础平台'] {
flex: 1;
overflow: hidden;
padding-top: 6px;
.integration_row_grid {
display: flex;
justify-content: space-between;
width: 100%;
}
.integration_row_col_text {
font-weight: bold;
font-size: 20px;
color: #89FFDC;
text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
}
.integration_row_col_sub {
font-weight: 400;
font-size: 13px;
color: rgba(137, 255, 220, 0.6);
}
.integration_row_col_content {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 136px;
}
.integration_row_col {
width: 308px;
height: 111px;
}
.integration_row_col_content[name='物联接入平台'] {
background: url('@{imgSrc}/物联接入平台.png') 33px 28px no-repeat,
url('@{imgSrc}/基础平台bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='视频接入平台'] {
background: url('@{imgSrc}/视频接入平台.png') 31px 29px no-repeat,
url('@{imgSrc}/基础平台bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='报警管理平台'] {
background: url('@{imgSrc}/报警管理平台.png') 33px 29px no-repeat,
url('@{imgSrc}/基础平台bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
.integration_row_col_content[name='运维管理平台'] {
background: url('@{imgSrc}/运维管理平台.png') 33px 30px no-repeat,
url('@{imgSrc}/基础平台bg.png') center center no-repeat;
background-size: 48px 48px, 100% 100%;
}
}
//基础平台end
.integrationQinzhou_title {
display: flex;
align-items: center;
justify-content: center;
padding-top: 30px;
padding-bottom: 30px;
&_left {
width: 372px;
height: 75px;
background: url('@/assets/images/integration2/left.png') center/100% 100% no-repeat;
}
&_text {
flex: none;
color: #fff;
span {
line-height: 97px;
color: #fff;
font-size: 50px;
font-weight: bold;
letter-spacing: 4px;
background: linear-gradient(0deg, #56A1EF 0%, #FFFFFF 59%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
// top: -8px;
font-weight: bolder;
padding: 0px 10px;
}
}
&_right {
width: 372px;
height: 75px;
background: url('@/assets/images/integration2/right.png') center/100% 100% no-repeat;
}
}
}
.integrationJumpLoad {
width: 100%;
height: 100%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
top: 0;
left: 0;
z-index: 1080;
padding-bottom: 50px;
background-color: rgba(0, 0, 0, 0.6);
}
.hide {
visibility: hidden;
}
@-webkit-keyframes scale-in-center {
0% {
-webkit-transform: scaleY(0);
transform: scaleY(0);
opacity: 1;
}
100% {
-webkit-transform: scaleY(1);
transform: scaleY(1);
opacity: 1;
}
}
@keyframes scale-in-center {
0% {
-webkit-transform: scaleY(0);
transform: scaleY(0);
opacity: 1;
}
100% {
-webkit-transform: scaleY(1);
transform: scaleY(1);
opacity: 1;
}
}
.scaleInCenter {
visibility: visible;
-webkit-animation: scale-in-center .3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
animation: scale-in-center .3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
& :global {
.integrationQinzhou {
.anticon {
vertical-align: 0.125em;
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment