Commit 5b73ad0f authored by 王万里's avatar 王万里

fix: 新干登录页修改背景图

parent 3c5bc323
Pipeline #82070 passed with stages
...@@ -12,6 +12,7 @@ import Account from '../../../js/useAccount'; ...@@ -12,6 +12,7 @@ import Account from '../../../js/useAccount';
import { defaultApp } from '../../../../../../micro'; import { defaultApp } from '../../../../../../micro';
import logoPng from './images/7.png' import logoPng from './images/7.png'
import qrcodePng from './images/1.png' import qrcodePng from './images/1.png'
import bgImage from './images/2.png'
import QRCode from 'qrcode.react'; import QRCode from 'qrcode.react';
import classnames from 'classnames'; import classnames from 'classnames';
import moment from 'moment'; import moment from 'moment';
...@@ -153,6 +154,7 @@ const Login = forwardRef((props, _ref) => { ...@@ -153,6 +154,7 @@ const Login = forwardRef((props, _ref) => {
<meta name="description" content={props.global.title || defaultSetting.title} /> <meta name="description" content={props.global.title || defaultSetting.title} />
</Helmet> </Helmet>
<div className={classnames(styles.xinganlogin, "xinganxian")}> <div className={classnames(styles.xinganlogin, "xinganxian")}>
<img src={bgImage} alt='' className={styles['bg-image']}/>
<div className={styles['inner-wrapper']}> <div className={styles['inner-wrapper']}>
{/* <div className={styles['left-imgbox']}></div> */} {/* <div className={styles['left-imgbox']}></div> */}
<div className={styles['inner-center']}> <div className={styles['inner-center']}>
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
.xinganlogin { .xinganlogin {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url('./images/2.png') no-repeat; // background: url('./images/2.png') no-repeat;
background-size: 100% 100%; // background-size: 100% 100%;
background-clip: border-box; background-clip: border-box;
position: relative; position: relative;
min-height: 7.0rem; min-height: 7.0rem;
...@@ -13,6 +13,14 @@ ...@@ -13,6 +13,14 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.bg-image{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.inner-bg { .inner-bg {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
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