mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2025-12-10 16:52:49 +00:00
🆕 add vchart pkg
This commit is contained in:
parent
a3c482ae1d
commit
80607e279f
@ -59,6 +59,7 @@
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^4.2.1",
|
||||
"@antv/f2": "^3.7.7",
|
||||
"@visactor/vchart": "^1.12.1",
|
||||
"@uiw/react-baidu-map": "^1.17.3",
|
||||
"@umijs/plugin-esbuild": "^1.0.1",
|
||||
"@umijs/plugin-sass": "^1.1.1",
|
||||
|
||||
@ -132,7 +132,7 @@ export default function Layout({ children }: IRouteComponentProps) {
|
||||
<div style={{ height: 380 }}>
|
||||
<iframe
|
||||
style={{ width: "100%", height: "100%" }}
|
||||
src="//player.bilibili.com/player.html?aid=204342673&bvid=BV1jh411k7xs&cid=301889522&page=1"
|
||||
src="//player.bilibili.com/player.html?isOutside=true&aid=113028657906637&bvid=BV1shsJeDEZh&cid=500001663189447&p=1"
|
||||
scrolling="no"
|
||||
border="0"
|
||||
frameborder="no"
|
||||
|
||||
@ -61,12 +61,8 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
|
||||
}, 600);
|
||||
};
|
||||
|
||||
const toOnlineCoding = () => {
|
||||
window.open("/ide");
|
||||
};
|
||||
|
||||
const toVipLogin = () => {
|
||||
window.open("/login");
|
||||
window.open("http://doc.dooring.vip");
|
||||
};
|
||||
|
||||
const content = () => {
|
||||
@ -359,23 +355,13 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
|
||||
<Select.Option value="h5">h5模式</Select.Option>
|
||||
<Select.Option value="pc">pc模式</Select.Option>
|
||||
</Select> */}
|
||||
<Button
|
||||
type="primary"
|
||||
ghost
|
||||
onClick={toOnlineCoding}
|
||||
style={{ marginRight: "12px" }}
|
||||
>
|
||||
<CodeOutlined />
|
||||
在线编程
|
||||
</Button>
|
||||
<Button
|
||||
type="primary"
|
||||
ghost
|
||||
onClick={toVipLogin}
|
||||
style={{ marginRight: "12px" }}
|
||||
>
|
||||
<SketchOutlined />
|
||||
会员登录
|
||||
多模态文档编辑器
|
||||
</Button>
|
||||
</div>
|
||||
<Modal
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user