feat: 增加状态

pull/1/head
lizijiee 1 year ago
parent dba698848e
commit d29f6c9a27

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="61px" height="27px" viewBox="0 0 61 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>不通过</title>
<defs>
<linearGradient x1="-4.97303838%" y1="41.5988857%" x2="45.6925102%" y2="55.4227602%" id="linearGradient-1">
<stop stop-color="#FF8686" offset="0%"></stop>
<stop stop-color="#FF4E4F" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="PrevailCloud-Design-图标集" transform="translate(-1606.000000, -6777.000000)">
<g id="不通过-3" transform="translate(1606.000000, 6777.000000)">
<g id="不通过" transform="translate(0.500000, 0.000000)">
<polygon id="路径-5" fill="#D13333" points="3.91304348 23.0854896 0 23.0854896 3.7945822 27"></polygon>
<g id="编组-5备份">
<path d="M5.2173913,0 L54.7826087,0 C57.6640943,3.58858093e-16 60,2.33590565 60,5.2173913 L60,18.2608696 C60,21.1423552 57.6640943,23.4782609 54.7826087,23.4782609 L0,23.4782609 L0,23.4782609 L0,5.2173913 C-3.52880218e-16,2.33590565 2.33590565,-1.24703651e-15 5.2173913,0 Z" id="矩形" fill="url(#linearGradient-1)"></path>
<text id="不通过" font-family="PingFangSC-Medium, PingFang SC" font-size="14" font-weight="400" line-spacing="23.4782609" fill="#FFFFFF">
<tspan x="8.52173913" y="15">不通过</tspan>
</text>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="54px" height="27px" viewBox="0 0 54 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>通过</title>
<defs>
<linearGradient x1="-31.4290365%" y1="26.5492888%" x2="57.6741536%" y2="57.6149674%" id="linearGradient-1">
<stop stop-color="#11E6BA" offset="0%"></stop>
<stop stop-color="#07C984" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="PrevailCloud-Design-图标集" transform="translate(-1457.000000, -6777.000000)">
<g id="通过" transform="translate(1458.000000, 6777.000000)">
<polygon id="路径-5" fill="#004A2F" points="3.91304348 23.0854896 0 23.0854896 3.7945822 27"></polygon>
<g id="编组-5备份">
<path d="M5.2173913,0 L46.7826087,0 C49.6640943,-1.41749875e-15 52,2.33590565 52,5.2173913 L52,18.2608696 C52,21.1423552 49.6640943,23.4782609 46.7826087,23.4782609 L0,23.4782609 L0,23.4782609 L0,5.2173913 C-1.24105864e-15,2.33590565 2.33590565,-2.13521493e-15 5.2173913,0 Z" id="矩形" fill="url(#linearGradient-1)"></path>
<text id="通过" font-family="PingFangSC-Medium, PingFang SC" font-size="14" font-weight="400" line-spacing="23.4782609" fill="#FFFFFF">
<tspan x="11.5217391" y="15">通过</tspan>
</text>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="54px" height="27px" viewBox="0 0 54 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>重复</title>
<defs>
<linearGradient x1="-5.49504207%" y1="42.7952614%" x2="139.160156%" y2="68.5061521%" id="linearGradient-1">
<stop stop-color="#FFDF8C" offset="0%"></stop>
<stop stop-color="#FE9800" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="PrevailCloud-Design-图标集" transform="translate(-1763.000000, -6777.000000)">
<g id="重复" transform="translate(1764.000000, 6777.000000)">
<polygon id="路径-5" fill="#895200" points="3.91304348 23.0854896 0 23.0854896 3.7945822 27"></polygon>
<g id="编组-5备份">
<path d="M5.2173913,0 L46.7826087,0 C49.6640943,-1.41749875e-15 52,2.33590565 52,5.2173913 L52,18.2608696 C52,21.1423552 49.6640943,23.4782609 46.7826087,23.4782609 L0,23.4782609 L0,23.4782609 L0,5.2173913 C-1.24105864e-15,2.33590565 2.33590565,-2.13521493e-15 5.2173913,0 Z" id="矩形" fill="url(#linearGradient-1)"></path>
<text id="重复" font-family="PingFangSC-Medium, PingFang SC" font-size="14" font-weight="400" line-spacing="23.4782609" fill="#FFFFFF">
<tspan x="11.5217391" y="15">重复</tspan>
</text>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -657,12 +657,22 @@ function previewHandler(event: MouseEvent) {
{{ item?.maxSimilarity && Number(item?.maxSimilarity).toFixed(0) }}%
</div>
</div>
<div class="mark">
<SvgIcon v-show="item.iztrueorfalse === 0" name="jia" />
<!-- <div class="pass-status">
<SvgIcon name="pass-icon" style="width:52;height:24px"/>
</div> -->
<!-- <div class="pass-status">
<SvgIcon name="no-pass-icon" style="width:52;height:24px"/>
</div>-->
<!-- <div class="pass-status">
<SvgIcon name="repeat-icon" style="width:52;height:24px"/>
</div> -->
<!-- <div class="mark">
<SvgIcon name="jia" />
</div>
<div class="mark">
<SvgIcon v-show="item.iztrueorfalse === 1" name="zhen" />
</div>
<SvgIcon name="zhen" />
</div> -->
<div v-show="overTask && overTask.id === item.id" class="action">
<SvgIcon style="cursor: pointer" name="t1" @click.stop="trueHandler" />
<SvgIcon style="cursor: pointer" name="t2" @click.stop="falseHandler" />
@ -939,7 +949,11 @@ function previewHandler(event: MouseEvent) {
line-height: 24px;
}
}
.pass-status {
position: absolute;
left: 0px;
top: 14px;
}
.mark {
position: absolute;
z-index: 3;
@ -956,6 +970,7 @@ function previewHandler(event: MouseEvent) {
}
}
.action {
position: absolute;
z-index: 5;

Loading…
Cancel
Save