Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
98ba6f58
Commit
98ba6f58
authored
Oct 09, 2020
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改创建资讯中标签样式问题
parent
5fd68dfe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
Tags.less
src/pages/content/components/Tags/Tags.less
+6
-4
Tags.tsx
src/pages/content/components/Tags/Tags.tsx
+1
-0
infomationInfoSchema.tsx
src/pages/content/infomation/schema/infomationInfoSchema.tsx
+4
-0
No files found.
src/pages/content/components/Tags/Tags.less
View file @
98ba6f58
...
...
@@ -4,10 +4,10 @@
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-wrap:
no
wrap;
flex-wrap: wrap;
.selectionItem {
height: 24px;
//
height: 24px;
font-size: 12px;
padding: 0px 7px;
margin: 0 16px 16px 0;
...
...
@@ -37,11 +37,11 @@
.tags {
display: flex;
flex-direction: row;
flex-wrap:
no
wrap;
flex-wrap: wrap;
cursor: pointer;
user-select: none;
.tagItem {
height: 28px;
//
height: 28px;
padding: 0 6px;
background: #F4F5F7;
border-radius: 4px;
...
...
@@ -51,6 +51,7 @@
justify-content: center;
align-items: center;
margin-right: 16px;
margin-bottom: 16px;
}
}
}
\ No newline at end of file
src/pages/content/components/Tags/Tags.tsx
View file @
98ba6f58
...
...
@@ -40,6 +40,7 @@ const Tags = (props) => {
const
dataSource
=
props
.
props
[
'x-component-props'
][
'dataSource'
]
||
[];
const
selected
=
dataSource
.
filter
((
item
)
=>
tags
.
includes
(
item
.
value
)
)
return
(
<
div
className=
{
styles
.
tagContainer
}
>
<
div
className=
{
styles
.
selection
}
>
...
...
src/pages/content/infomation/schema/infomationInfoSchema.tsx
View file @
98ba6f58
...
...
@@ -37,6 +37,10 @@ const schema = {
},
"x-rules"
:
[
{
"required"
:
true
,
"message"
:
"请填写标题"
},
{
limitByte
:
true
,
maxByte
:
60
}
...
...
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