Commit d27b783b authored by 程恺文's avatar 程恺文

fix:'水利集成登录页提交'

parents 61be4530 ed743225
Pipeline #96757 waiting for manual action with stages
......@@ -118,8 +118,8 @@
"@wisdom-map/arcgismap":"^2.0.101",
"@wisdom-map/basemap":"^2.0.8",
"@wisdom-map/util":"1.2.9",
"@wisdom-map/gis-utils": "^1.0.43",
"@wisdom-map/pd-map": "^1.0.144",
"@wisdom-map/gis-utils": "^1.0.47",
"@wisdom-map/pd-map": "^1.0.148",
"@wisdom-utils/components": "0.1.376",
"@wisdom-utils/runtime": "0.0.51",
"@wisdom-utils/utils": "0.1.412",
......
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.
......@@ -71,7 +71,7 @@ const GlobalHeaderRight = props => {
className = `${styles.right} ${styles.dark}`;
}
const intl = useIntl();
const goHome = event => {
event.stopPropagation();
......@@ -252,6 +252,24 @@ const GlobalHeaderRight = props => {
},200)
resetMenu()
};
useEffect(() => {
const dispatchChangeGlobMenuStation = ({stationAlias, stationName, callBack})=>{
callBack?.();
currentStationChange(stationAlias || stationName, stationName);
}
if(window.share && window.share.event && window.share.event.emit) {
window.share.event.on('dispatchChangeGlobMenuStation', dispatchChangeGlobMenuStation);
}
return ()=>{
if(window.share && window.share.event && window.share.event.emit) {
window.share.event.removeListener('dispatchChangeGlobMenuStation', dispatchChangeGlobMenuStation)
}
};
},[stationvalue]);
useEffect(() => {
if (global.userInfo) {
if(window._changeStation){
......
......@@ -22,7 +22,6 @@ import JianshiPage from './project/jianshi';
import XinyuanPage from './project/xinyuan';
import SuzhouPage from './project/suzhou';
import IntegrationNewPage from './integrationNew';
import SLPage from './project/SL';
export const guidePage = [
// type 为true 则需要 功能配置 isPanda 为true
{
......@@ -105,6 +104,10 @@ export const guidePage = [
value: 'suzhouPage',
previewSrc: require('@/assets/images/integration/previewImg/宿州北排.png'),
},
{
label: '榆林集成登录',
value: 'yulinPage',
},
{
label: '演示环境(旧版)',
type: true,
......@@ -134,5 +137,4 @@ export const BootPageTemplate = {
wulaingyePage: WuliangyePage,
aizhongPage: AizhongPage,
suzhouPage: SuzhouPage,
SLPage:SLPage
};
/* eslint-disable prettier/prettier */
/*
* @Title: 图片引用,import引用的图片 打包时不会丢失
* @Author: hongmye
* @Date: 2025-04-01 11:43:45
*/
import 背景 from '@/assets/images/integration/yulin/背景.jpg';
import 标题背景 from '@/assets/images/integration/yulin/标题背景.png';
import tip1 from '@/assets/images/integration/yulin/tip1.png';
import 节水优先 from '@/assets/images/integration/yulin/节水优先.png';
import icon from '@/assets/images/integration/yulin/icon.png';
import 榆阳区 from '@/assets/images/integration/yulin/榆阳区.png';
import 定边县 from '@/assets/images/integration/yulin/定边县.png';
import 府谷县 from '@/assets/images/integration/yulin/府谷县.png';
import 横山区 from '@/assets/images/integration/yulin/横山区.png';
import 佳县 from '@/assets/images/integration/yulin/佳县.png';
import 靖边县 from '@/assets/images/integration/yulin/靖边县.png';
import 米脂县 from '@/assets/images/integration/yulin/米脂县.png';
import 清涧县 from '@/assets/images/integration/yulin/清涧县.png';
import 神木区 from '@/assets/images/integration/yulin/神木区.png';
import 绥德县 from '@/assets/images/integration/yulin/绥德县.png';
import 吴堡县 from '@/assets/images/integration/yulin/吴堡县.png';
import 子洲县 from '@/assets/images/integration/yulin/子洲县.png';
export const imgMap = {
背景,
标题背景,
tip1,
icon,
节水优先,
榆阳区,
定边县,
府谷县,
横山区,
佳县,
靖边县,
米脂县,
清涧县,
神木区,
绥德县,
吴堡县,
子洲县,
};
This diff is collapsed.
@imgSrc: '@/assets/images/integration/xinyuan/';
@yulinImgSrc: '@/assets/images/integration/yulin/';
.integrationYulin {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
background: rgb(15, 51, 93);
.hide {
visibility: hidden;
}
.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 {
width: 44px;
height: 44px;
position: absolute;
top: 4px;
left: 0;
color: #FFF;
cursor: pointer;
user-select: none;
position: absolute;
z-index: 110;
}
.iframeExitLeft {
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:hover {
.iframeExitIcon {
left: 0;
}
.iframeExitLeft {
left: -15px;
}
}
.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);
}
.iframeBackIcon {
position: absolute;
top: 0;
right: -45px;
display: flex;
height: 44px;
width: 44px;
background: rgba(28, 94, 180, 0.95);
border-radius: 7px 0px 0px 7px;
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;
}
}
.iframeBack:hover {
.iframeBackIcon {
right: 0;
}
.iframeBackLeft {
right: -15px;
}
}
.iframeBackLeft {
position: absolute;
top: 0;
right: 0;
width: 14px;
height: 44px;
background: rgba(28, 94, 180, 0.95);
border-radius: 7px 0 0 7px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
img {
width: 6px;
height: 11px;
}
}
.iframeBack {
width: 44px;
height: 44px;
position: absolute;
top: 20px;
right: 0;
color: #FFF;
cursor: pointer;
user-select: none;
position: absolute;
z-index: 110;
}
.integrationYulin_title {
display: flex;
// align-items: center;
justify-content: center;
padding-top: 15px;
height: 140px;
width: 1754px;
margin: 0 auto;
background: url('@{yulinImgSrc}/标题背景.png') center center no-repeat;
background-size: 100% 100%;
padding-left: 30px;
&_text {
flex: none;
color: #fff;
span {
font-family: Alimama ShuHeiTi;
line-height: 1;
color: #fff;
font-size: 34px;
letter-spacing: 2px;
background: linear-gradient(0deg, #56A1EF 0%, #FFFFFF 80%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: bolder;
}
}
}
.home_page {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
background: url('@{yulinImgSrc}/背景.jpg') center center no-repeat;
background-size: 100% 100%;
}
.home_bottom {
width: 849px;
height: 57px;
position: absolute;
left: 50%;
bottom: 24px;
transform: translateX(-50%);
img {
width: 100%;
}
}
.home_page {
.tip1 {
position: absolute;
left: 206px;
top: 179px;
width: 863px;
height: 273px;
background: url('@{yulinImgSrc}/tip1.png') center center no-repeat;
background-size: 100% 100%;
color: #fff;
padding-top: 15px;
.tip_title {
font-weight: bold;
font-size: 18px;
line-height: 1;
background: url('@{yulinImgSrc}/icon.png') 36px center no-repeat;
background-size: 21px 22px;
padding-left: 75px;
}
.tip_box {
padding: 8px 35px 0;
display: flex;
}
img {
width: 226px;
height: 188px;
border-radius: 4px;
margin-top: 10px;
}
.tip_content {
width: 208px;
font-weight: 400;
font-size: 14px;
height: 195px;
overflow-y: auto;
margin-left: 10px;
}
}
.tip_icon {
position: absolute;
}
}
.page1 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.backBtn {
z-index: 10;
position: absolute;
left: 25px;
top: 15px;
padding-left: 36px;
height: 28px;
background: url('@{imgSrc}/返回.png') left center no-repeat;
background-size: 28px 28px;
font-weight: bold;
font-size: 14px;
line-height: 28px;
color: #FFFFFF;
}
}
.iframeBox{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: 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;
}
@keyframes bounceIn {
0% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
15% {
-webkit-transform: scale3d(1.25, 0.75, 1);
transform: scale3d(1.25, 0.75, 1);
}
20% {
-webkit-transform: scale3d(0.75, 1.25, 1);
transform: scale3d(0.75, 1.25, 1);
}
25% {
-webkit-transform: scale3d(1.15, 0.85, 1);
transform: scale3d(1.15, 0.85, 1);
}
33% {
-webkit-transform: scale3d(0.95, 1.05, 1);
transform: scale3d(0.95, 1.05, 1);
}
38% {
-webkit-transform: scale3d(1.05, 0.95, 1);
transform: scale3d(1.05, 0.95, 1);
}
50% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
}
// @keyframes bounceIn {
// 0% {
// opacity: 0;
// transform: scale3d(0.5, 0.5, 0.5);
// }
// 30% {
// transform: scale3d(1.04, 1.04, 1.04);
// }
// 60% {
// opacity: 1;
// transform: scale3d(0.96, 0.96, 0.96);
// }
// 100% {
// opacity: 1;
// transform: scale3d(1, 1, 1);
// }
// }
.animate__m__bounceIn {
cursor: pointer;
-webkit-animation: bounceIn 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite both;
animation: bounceIn 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite both;
}
@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;
}
\ 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