king
2020-07-20 2dc12c551cd60f2e3c976ed608d260b1d78ce759
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React, {Component} from 'react';
import asyncComponent from '@/utils/asyncPage'
import './index.scss';
 
const Login1 = asyncComponent(() => import('@/components/login/login-1'))
 
class Main extends Component {
 
 
  render () {
    const config = {
      type: 'login',
      subtype: 'mob-login-1',
      box: { eleType: 'box', style: {color: '#ffffff', backgroundImage: 'linear-gradient(#378DBE, #46C29E, #48A9D6)'}},
      logo: { eleType: 'img', style: {} },
      title: { eleType: 'text', content: '明科商业智能开放平台', style: {fontSize: '20px', fontWeight: 'bold', color: '#ffffff', textAlign: 'center', marginTop: '15px', marginBottom: '30px'}},
      login: { eleType: 'button', content: '登录', style: {fontSize: '18px', color: '#ffffff', textAlign: 'center', lineHeight: 2.4, borderRadius: '25px'}},
      copyright: { eleType: 'textarea', content: 'Copyright©2017  所有相关版权归  北京明科普华信息技术有限公司', style: {fontSize: '12px', color: '#ffffff', textAlign: 'center'} }
    }
 
    return (
      <div className="main-page">
        <Login1 config={config} />
      </div>
    );
  }
}
 
export default Main;