Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
eba467fd
Commit
eba467fd
authored
Apr 26, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 调整会员详情头部右侧渲染内容
parent
d4dac337
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
14 deletions
+17
-14
Item.tsx
src/pages/member/components/Bookmark/Item.tsx
+3
-1
index.less
src/pages/member/components/Bookmark/index.less
+12
-11
index.tsx
src/pages/member/memberMaintain/detailed/index.tsx
+1
-1
index.tsx
src/pages/member/memberQuery/detailed/index.tsx
+1
-1
No files found.
src/pages/member/components/Bookmark/Item.tsx
View file @
eba467fd
...
...
@@ -44,7 +44,8 @@ const BookmarkItem: React.FC<IProps> = (props: IProps) => {
};
return
(
<
li
<
li
className=
{
styles
[
'bookmark-itemWrap'
]
}
>
<
div
className=
{
classNames
(
styles
[
'bookmark-item'
],
{
[
styles
[
'bookmark-item-active'
]]:
value
===
bookmarkContext
.
value
,
})
}
...
...
@@ -58,6 +59,7 @@ const BookmarkItem: React.FC<IProps> = (props: IProps) => {
<
div
className=
{
styles
[
'bookmark-item-center'
]
}
>
{
title
}
</
div
>
</
div
>
</
li
>
);
};
...
...
src/pages/member/components/Bookmark/index.less
View file @
eba467fd
@import '~antd/es/style/themes/default.less';
.bookmark {
display: flex;
display:
inline-
flex;
align-items: center;
border: 1px solid #E4E6EB;
list-style: none;
padding: 0;
margin: 0;
margin: -@padding-xss;
&-itemWrap {
padding: @padding-xss;
}
&-item {
padding: @padding-xs @padding-md;
display: flex;
align-items: center;
background-color:
#FFFFFF
;
color:
#6B778C
;
background-color:
@background-color-light
;
color:
@text-color-secondary
;
cursor: pointer;
&:not(:last-child) {
border-right: 1px solid #E4E6EB;
}
border-radius: 4px;
&-left {
flex-shrink: 0;
...
...
@@ -31,8 +31,8 @@
&-active,
&:hover {
background-color:
#6B778C
;
color:
#FFFFFF
;
background-color:
@background-color-base
;
color:
@primary-color
;
}
}
}
\ No newline at end of file
src/pages/member/memberMaintain/detailed/index.tsx
View file @
eba467fd
...
...
@@ -117,7 +117,7 @@ const MemberMaintainDetailed: React.FC<IProps> = props => {
)
}
onBack=
{
()
=>
history
.
push
(
`/memberCenter/memberAbility/manage/maintain`
)
}
anchors=
{
anchors
}
extra
=
{
(
desc
=
{
(
<
Bookmark
value=
{
getBookmarkKey
()
}
onChange=
{
handleBookmarkChange
}
>
<
Bookmark
.
Item
value=
"basicInfo"
title=
{
intl
.
formatMessage
({
id
:
'member.management.maintain.basic'
})
}
icon=
{
<
UnorderedListOutlined
/>
}
/>
<
Bookmark
.
Item
value=
"archiveInfo"
title=
{
intl
.
formatMessage
({
id
:
'member.management.maintain.detail.archivalInfo'
})
}
icon=
{
<
FolderOutlined
/>
}
/>
...
...
src/pages/member/memberQuery/detailed/index.tsx
View file @
eba467fd
...
...
@@ -109,7 +109,7 @@ const MemberQueryDetailed: React.FC<IProps> = props => {
)
}
onBack=
{
()
=>
history
.
push
(
`/memberCenter/memberAbility/profile/query`
)
}
anchors=
{
anchors
}
extra
=
{
(
desc
=
{
(
<
Bookmark
value=
{
getBookmarkKey
()
}
onChange=
{
handleBookmarkChange
}
>
<
Bookmark
.
Item
value=
"basicInfo"
title=
{
intl
.
formatMessage
({
id
:
'member.management.maintain.basic'
})
}
icon=
{
<
UnorderedListOutlined
/>
}
/>
<
Bookmark
.
Item
value=
"archiveInfo"
title=
{
intl
.
formatMessage
({
id
:
'member.management.maintain.detail.archivalInfo'
})
}
icon=
{
<
FolderOutlined
/>
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment