Commit 98ba6f58 authored by Bill's avatar Bill

修改创建资讯中标签样式问题

parent 5fd68dfe
......@@ -4,10 +4,10 @@
display: flex;
flex-direction: row;
justify-content: flex-start;
flex-wrap: nowrap;
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: nowrap;
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
......@@ -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}>
......
......@@ -37,6 +37,10 @@ const schema = {
},
"x-rules": [
{
"required": true,
"message": "请填写标题"
},
{
limitByte: true,
maxByte: 60
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment