Merge branch 'hotfix/2.9.42310.01' into release/2.9.42309.01-个税

This commit is contained in:
黎永顺 2023-09-25 16:21:22 +08:00
commit 30f76505fe
3 changed files with 48 additions and 2 deletions

View File

@ -50,7 +50,6 @@ export const condition = [
options: [],
viewAttr: 2,
helpfulTip: "",
hide: true
},
{
colSpan: 1,
@ -92,7 +91,6 @@ export const reportCondition = [
rules: "required|string",
viewAttr: 3,
helpfulTip: "",
hide: true
}
],
title: "",

View File

@ -97,6 +97,13 @@ class ReportList extends Component {
</Dropdown>
}
</div>
{
isShare &&
<div className="ant-ribbon ant-ribbon-placement-end">
<span className="ant-ribbon-text">{getLabel(111, "被分享")}</span>
<div className="ant-ribbon-corner"></div>
</div>
}
</div>
</Col>;
})

View File

@ -31,6 +31,47 @@
justify-content: space-between;
padding: 22px 0 22px 16px;
border: 1px solid #e5e5e5;
position: relative;
.ant-ribbon {
padding: 0 8px;
color: #1677ff;
font-size: 12px;
line-height: 22px;
list-style: none;
position: absolute;
top: 0;
white-space: nowrap;
background-color: #1677ff;
border-radius: 4px;
.ant-ribbon-text {
color: #FFF;
}
.ant-ribbon-corner {
position: absolute;
top: 100%;
width: 8px;
height: 8px;
color: currentcolor;
border: 4px solid;
transform: scaleY(.75);
transform-origin: top;
filter: brightness(75%);
}
}
.ant-ribbon-placement-end {
inset-inline-end: -8px;
border-end-end-radius: 0;
.ant-ribbon-corner {
inset-inline-end: 0;
border-inline-end-color: transparent;
border-block-end-color: transparent;
}
}
.cardLeft {
display: flex;