king
2019-12-11 a426c23b9bc90df787bc4d66718872f7c95c255a
2019-12-11
1 文件已重命名
5个文件已修改
6个文件已删除
2个文件已添加
31 ■■■■■ 已修改文件
public/emp-favicon.ico 补丁 | 查看 | 原始文档 | blame | 历史
public/hlogo.png 补丁 | 查看 | 原始文档 | blame | 历史
public/logo.png 补丁 | 查看 | 原始文档 | blame | 历史
public/options.js 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/positec.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/loginbg-origin.jpg 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/loginbg.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/logo.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/logo1.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/main-logo.png 补丁 | 查看 | 原始文档 | blame | 历史
src/components/header/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/header/index.scss 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login/index.scss 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/emp-favicon.ico
Binary files differ
public/hlogo.png
public/logo.png
Binary files differ
public/options.js
@@ -5,9 +5,11 @@
  title: '',
  platName: '',
  logo: '',
  mainlogo: '',
  bgImage: '',
  copyRight: '',
  icp: '',
  bgColor: '',
  lineColor: ''
  lineColor: '',
  website: ''
}
public/positec.png
src/assets/img/loginbg-origin.jpg
Binary files differ
src/assets/img/loginbg.png
Binary files differ
src/assets/img/logo.png
Binary files differ
src/assets/img/logo1.png
Binary files differ
src/assets/img/main-logo.png

src/components/header/index.jsx
@@ -12,7 +12,7 @@
import zhCN from '@/locales/zh-CN/header.js'
import enUS from '@/locales/en-US/header.js'
import Utils from '@/utils/utils.js'
import logourl from '@/assets/img/mlogo.png'
import logourl from '@/assets/img/main-logo.png'
import avatar from '@/assets/img/avatar.jpg'
import './index.scss'
@@ -32,7 +32,8 @@
    visible: false, // 修改密码模态框
    dict: (!localStorage.getItem('lang') || localStorage.getItem('lang') === 'zh-CN') ? zhCN : enUS,
    confirmLoading: false,
    userName: localStorage.getItem('username')
    userName: localStorage.getItem('username'),
    logourl: window.GLOB.mainlogo || logourl
  }
  handleCollapse = () => {
@@ -225,7 +226,6 @@
  }
  render () {
    // let logourl = window.GLOB.logo
    const menu = (
      <Menu overlayclassname="header-dropdown">
        {this.props.debug && <Menu.Item key="0">
@@ -239,7 +239,7 @@
    return (
      <header className="header-container ant-menu-dark">
        <div className={this.props.collapse ? "collapse header-logo" : "header-logo"}><img src={logourl} alt=""/></div>
        <div className={this.props.collapse ? "collapse header-logo" : "header-logo"}><img src={this.state.logourl} alt=""/></div>
        <div className={this.props.collapse ? "collapse header-collapse" : "header-collapse"} onClick={this.handleCollapse}>
          <Icon type={this.props.collapse ? 'menu-unfold' : 'menu-fold'} />
        </div>
src/components/header/index.scss
@@ -12,14 +12,14 @@
  .header-logo {
    float: left;
    width: 155px;
    width: 170px;
    line-height: 48px;
    text-align: center;
    opacity: 1;
    transition: width 0.2s, opacity 0.15s;
    img {
      max-width: 100%;
      max-height: 35px;
      max-height: 40px;
    }
  }
  .header-logo.collapse {
@@ -31,7 +31,7 @@
    float: left;
    width: 80px;
    line-height: 48px;
    padding-left: 45px;
    padding-left: 30px;
    cursor: pointer;
    transition: padding-left 0.15s;
    i {
src/views/login/index.jsx
@@ -27,7 +27,8 @@
    copyright: window.GLOB.copyRight || 'Copyright©2017    所有相关版权归    北京明科普华信息技术有限公司',
    ICP: window.GLOB.icp || 'ICP备案: 京ICP备12007830号',
    bgColor: window.GLOB.bgColor || '#000000',
    lineColor: window.GLOB.lineColor || '#06b4f7'
    lineColor: window.GLOB.lineColor || '#06b4f7',
    website: window.GLOB.website || (!window.GLOB.copyRight && 'http://minkesoft.com')
  }
  changelang (item) {
@@ -143,7 +144,10 @@
          />
        </div>
        <div className="login-bottom">
          <p dangerouslySetInnerHTML={{ __html: this.state.copyright.replace(/\s/ig, '&nbsp;') }}></p>
          {this.state.website ?
            <a target="blank" href={this.state.website} dangerouslySetInnerHTML={{ __html: this.state.copyright.replace(/\s/ig, '&nbsp;') }}></a> :
            <p dangerouslySetInnerHTML={{ __html: this.state.copyright.replace(/\s/ig, '&nbsp;') }}></p>
          }
          <p dangerouslySetInnerHTML={{ __html: this.state.ICP.replace(/\s/ig, '&nbsp;') }}></p>
        </div>
      </div>
src/views/login/index.scss
@@ -100,6 +100,11 @@
    p span.split {
      margin-right: 15px;
    }
    a {
      display: inline-block;
      margin-bottom: 5px;
      color: #ffffff;
    }
  }
  .ant-btn-primary[disabled] {
    color: #fff;