From 4c21dd0236529a6aa6953d81e0ededac54a5421b Mon Sep 17 00:00:00 2001
From: eson <474420502@qq.com>
Date: Wed, 9 Dec 2020 01:53:54 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=B8=83=E5=B1=80=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/component/anchor.js | 72 +++++++++------------------------------
src/component/anchor.less | 5 +--
2 files changed, 19 insertions(+), 58 deletions(-)
diff --git a/src/component/anchor.js b/src/component/anchor.js
index 17b6a49..bdbf096 100644
--- a/src/component/anchor.js
+++ b/src/component/anchor.js
@@ -3,6 +3,18 @@ import { Header } from 'antd/lib/layout/layout';
import React from 'react';
import './anchor.less';
+class AnchorItem extends React.Component {
+ render() {
+ return (
+
+
+
+
)
+ }
+}
+
//
class Anchor extends React.Component {
state = {
@@ -11,65 +23,13 @@ class Anchor extends React.Component {
render() {
var rstyle = {
- pointerEvents: "visibleStroke",
+ // pointerEvents: "none",
+
+
}
return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
)
}
diff --git a/src/component/anchor.less b/src/component/anchor.less
index ee2570a..4b44e23 100644
--- a/src/component/anchor.less
+++ b/src/component/anchor.less
@@ -2,11 +2,12 @@
.datagod-anchor {
height: 0;
- right: 0;
+ align-self: flex-end;
+ display: flex;
}
.datagod-anchor-button {
- text-align: right;
+ // text-align: right;
color: rgb(0, 156, 156);
:hover{