Browse Source

(*)一体化大屏首页适应优化

master
peng.peng 1 year ago
parent
commit
6529270731
  1. 8
      super-screen/client/src/sections/homePage/containers/homePage.js
  2. 9
      super-screen/client/src/sections/homePage/containers/style.less
  3. 1
      super-screen/client/src/sections/water-prevention/components/style.less

8
super-screen/client/src/sections/homePage/containers/homePage.js

@ -2,13 +2,17 @@ import React, { useEffect, useState } from 'react'
import { connect } from 'react-redux';
import { push } from 'react-router-redux';
import './style.less'
import { FullScreenContainer } from '$components'
function homePage(props) {
const { dispatch } = props;
const childStyle = { height: '32%', color: '#fff', marginBottom: 17 }
const cardHeight = document.body.clientHeight * 0.896 * 0.32
const cardContentHeight = cardHeight - 42 - 13
return <div className='enter_homepage'>
return <div className='enter_container'>
<FullScreenContainer>
<div className='enter_homepage'>
<div className='_enter_title'></div>
<div className='_enter_row1'>
<div className='_row1_item' onClick={() => { window.open('https://superchangnan.anxinyun.cn/') }}></div>
@ -21,6 +25,8 @@ function homePage(props) {
<div className='_row2_item3' onClick={() => { dispatch(push('/firecontrol')) }}></div>
</div>
</div>
</FullScreenContainer>
</div>
}

9
super-screen/client/src/sections/homePage/containers/style.less

@ -1,4 +1,4 @@
.enter_homepage {
.enter_container {
width: 100%;
height: 100%;
position: absolute;
@ -7,6 +7,10 @@
background: url('/assets/images/homepage/enter/bg.gif') !important;
background-repeat: no-repeat;
background-size: 100% 100%;
.enter_homepage {
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
@ -174,6 +178,9 @@
}
}
.list {
list-style: none;

1
super-screen/client/src/sections/water-prevention/components/style.less

@ -785,6 +785,7 @@
justify-content: center;
.doc_img {
margin-top: 11px;
width: 361.63px;
height: 242.49px;
background: url(/assets/images/homepage/water/doc.png);

Loading…
Cancel
Save