mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-03-26 23:33:12 +00:00
:add: 替换logo
This commit is contained in:
parent
22c4ef16bd
commit
03c0c94749
Binary file not shown.
|
Before Width: | Height: | Size: 8.7 KiB |
@ -12,6 +12,7 @@
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
.logoArea {
|
.logoArea {
|
||||||
|
display: contents;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #2f54eb;
|
color: #2f54eb;
|
||||||
@ -22,15 +23,21 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.logo {
|
.logo {
|
||||||
display: inline-block;
|
display: flex;
|
||||||
width: 38px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.logoText {
|
||||||
|
margin-left: 12px;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.operationBar {
|
.operationBar {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { Controlled } from 'react-codemirror2';
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Button, message } from 'antd';
|
import { Button, message } from 'antd';
|
||||||
import { saveAs } from 'file-saver';
|
import { saveAs } from 'file-saver';
|
||||||
import Logo from '@/assets/logo.png';
|
import Logo from '@/assets/logo.svg';
|
||||||
import styles from './index.less';
|
import styles from './index.less';
|
||||||
import { isDev, useGetRect } from 'utils/tool';
|
import { isDev, useGetRect } from 'utils/tool';
|
||||||
import { SaveOutlined } from '@ant-design/icons';
|
import { SaveOutlined } from '@ant-design/icons';
|
||||||
@ -139,7 +139,7 @@ export default function() {
|
|||||||
<img src={Logo} alt="Dooring-强大的h5编辑器" />
|
<img src={Logo} alt="Dooring-强大的h5编辑器" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
| 在线代码编辑器
|
<div className={styles.logoText}>| 在线代码编辑器</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.operationBar}>
|
<div className={styles.operationBar}>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
9
src/typings.d.ts
vendored
9
src/typings.d.ts
vendored
@ -1,5 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* @Description:
|
||||||
|
* @Version: 2.0
|
||||||
|
* @Autor: dragon
|
||||||
|
* @Date: 2020-10-13 14:55:47
|
||||||
|
* @LastEditors: dragon
|
||||||
|
* @LastEditTime: 2020-10-15 12:21:41
|
||||||
|
*/
|
||||||
declare module '*.css';
|
declare module '*.css';
|
||||||
declare module '*.png';
|
declare module '*.png';
|
||||||
|
declare module '*.svg';
|
||||||
declare module '*.less';
|
declare module '*.less';
|
||||||
interface Window {
|
interface Window {
|
||||||
currentCates: null | Array<string>;
|
currentCates: null | Array<string>;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user