From 1b6e96aba2ad05b2aa2572ee5b99527b089cb6a4 Mon Sep 17 00:00:00 2001 From: xujiang Date: Sat, 3 Jul 2021 00:43:16 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20=E4=BC=98=E5=8C=96=E7=95=8C?= =?UTF-8?q?=E9=9D=A2UI,=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 +- src/pages/editor/components/Header/index.less | 27 +++++++++++-------- src/pages/editor/components/Header/index.tsx | 16 ++++++++--- src/pages/home/index.tsx | 2 +- src/pages/login/index.tsx | 7 +++-- 5 files changed, 35 insertions(+), 19 deletions(-) diff --git a/readme.md b/readme.md index 7279f7b..3da584c 100644 --- a/readme.md +++ b/readme.md @@ -156,7 +156,7 @@ or cnpm run start ``` -## How to run the downloaded code ? +## 如何运行下载后的代码? | How to run the downloaded code ? 1. 可以将压缩包解压直接放到服务器根目录, 访问根目录地址即可 2. `vscode`安装Live Server插件, 将下载的压缩包解压成文件夹, 用`vscode`打开, 点击Live Server即可, 注意要删除启动路径的`index.html`, 改成`/` diff --git a/src/pages/editor/components/Header/index.less b/src/pages/editor/components/Header/index.less index ea65b90..fec6e52 100644 --- a/src/pages/editor/components/Header/index.less +++ b/src/pages/editor/components/Header/index.less @@ -9,25 +9,30 @@ background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); .logoArea { - width: 300px; + position: relative; + width: 258px; .backBtn { display: inline-block; - padding: 12px 10px; - margin-right: 22px; + padding: 12px 6px; + margin-right: 18px; cursor: pointer; } .logo { - position: fixed; display: inline-block; width: 120px; - height: 35px; - border-radius: 3px; overflow: hidden; - background: url(../../../../assets/logo.png) no-repeat; - background-size: contain; - line-height: 50px; - margin-top: 7px; - margin-left: -20px; + border-radius: 3px; + vertical-align: middle; + margin-top: -10px; + img { + width: 100%; + } + } + p { + position: absolute; + color: #888; + font-size: 12px; + transform: scale(0.9) translate(88px, -15px); } } .controlArea { diff --git a/src/pages/editor/components/Header/index.tsx b/src/pages/editor/components/Header/index.tsx index d782070..906cbea 100644 --- a/src/pages/editor/components/Header/index.tsx +++ b/src/pages/editor/components/Header/index.tsx @@ -19,7 +19,6 @@ import QRCode from 'qrcode.react'; import { saveAs } from 'file-saver'; import req from '@/utils/req'; import { uuid } from '@/utils/tool'; -import Code from '@/assets/code.png'; import styles from './index.less'; import MyPopover from 'yh-react-popover'; @@ -119,10 +118,14 @@ const HeaderComponent = memo((props: HeaderComponentProps) => { const useTemplate = () => { Modal.info({ - title: '该功能正在升级,可以关注下方公众号实时查看动态', + title: '该功能属于企业版功能,可以关注下方公众号获取线上版登录码体验', content: (
- 趣谈前端 + 趣谈前端
), okText: '客官知道啦', @@ -217,7 +220,12 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
-
+
+ + Dooring-强大的h5编辑器 + +
+

再硬的🚪也抵不过傻瓜般的坚持!

- H5-Dooring是一款功能强大,开源免费的H5可视化页面配置解决方案, + H5-Dooring是一款功能强大,高扩展性的H5可视化页面配置解决方案, 致力于提供一套简单方便、专业可靠、无限可能的H5落地页最佳实践。 技术栈以react为主, 后台采用nodejs开发。

diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index e8aa1c2..969e360 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -1,7 +1,6 @@ import { Form, Input, Button, Popover } from 'antd'; import React from 'react'; import req from '@/utils/req'; -import CodeImg from '@/assets/code.png'; import { history } from 'umi'; import styles from './index.less'; @@ -22,7 +21,11 @@ const tailLayout = { const content = ( <>
- 趣谈前端-徐小夕 + 趣谈前端-徐小夕

扫描上方二维码,关注【趣谈前端】公众号,回复"登录码" 即可获取