diff --git a/src/compenents/footer/index.tsx b/src/compenents/footer/index.tsx
index 7c84f2c..8017ab5 100644
--- a/src/compenents/footer/index.tsx
+++ b/src/compenents/footer/index.tsx
@@ -1,5 +1,6 @@
import React from "react";
import { Layout } from "antd";
+import { Link } from "react-router-dom";
export const Footer: React.FC = () => {
return (
@@ -12,10 +13,13 @@ export const Footer: React.FC = () => {
textAlign: "center",
}}
>
-
+
+ {}}
+ >
+
);
};
diff --git a/src/index.less b/src/index.less
index 32ef7db..a3b2ee4 100644
--- a/src/index.less
+++ b/src/index.less
@@ -567,3 +567,10 @@ textarea.ant-input {
overflow: hidden;
text-overflow: ellipsis;
}
+
+.footer-icon {
+ cursor: pointer;
+ &:hover {
+ opacity: 0.8;
+ }
+}
diff --git a/src/pages/dashboard/index.tsx b/src/pages/dashboard/index.tsx
index 4630052..2c1ce82 100644
--- a/src/pages/dashboard/index.tsx
+++ b/src/pages/dashboard/index.tsx
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from "react";
import styles from "./index.module.less";
import { Row, Col, message } from "antd";
-import { useNavigate } from "react-router-dom";
+import { Link, useNavigate } from "react-router-dom";
import banner from "../../assets/images/dashboard/img-a1.png";
import icon from "../../assets/images/dashboard/icon-more.png";
import iconN1 from "../../assets/images/dashboard/icon-n1.png";
@@ -53,24 +53,13 @@ export const Dashboard: React.FC = () => {
tooltip: {
show: true, // 是否显示提示框
},
- title: {
- text: "", //主标题
- left: "center", // 水平对齐方式
- bottom: 0,
- itemGap: 4, // 主副标题相隔间距
- textStyle: {
- // 主标题样式
- fontSize: 16,
- fontWeight: 400,
- },
- },
series: [
{
type: "pie",
radius: ["40%", "60%"], // 环比 圈的大小
center: ["50%", "40%"], // 图形在整个canvas中的位置
color: ["#FE8650", "#FFB504"], // item的取色盘
- avoidLabelOverlap: false,
+ avoidLabelOverlap: true,
itemStyle: {
borderColor: "#fff", // 白边
borderWidth: 2,
@@ -80,16 +69,6 @@ export const Dashboard: React.FC = () => {
disabled: true,
},
label: {
- show: true,
- position: "center",
- formatter: "总资源数" + num, // 可以自定义,也可以{a}{b}{c}这种
- textStyle: {
- // 主标题样式
- fontSize: 14,
- fontWeight: 600,
- },
- },
- labelLine: {
show: false,
},
data: data,
@@ -299,10 +278,10 @@ export const Dashboard: React.FC = () => {
使用指南

-
+
点击查看产品手册,快速玩转Playedu!

-
+