fix:根据ui调整卡片样式 #201

Merged
zhaohui merged 1 commits from fix/change_task into test 1 year ago

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

@ -520,7 +520,7 @@ async function query(page: number, pageSize: number, filterId?: any, taskName?:
async function handleSorterChange(value) {
let name = value.columnKey
if (name === 'fromuptime')
name = 'field11'
name = 'submit_date_timestamp'
else if (name === 'similarityscore')
name = 'similarity_score'
else if (name === 'fromusername')

@ -549,8 +549,8 @@ function checkBottom() {
class="img"
:style="
item.serverThumbnailUrl != null
? `background:url(${item.serverThumbnailUrl});background-size:100%;background-repeat: no-repeat;`
: `background:url(${item.imgUrl});background-size:100%;background-repeat: no-repeat;`
? `background:url(${item.serverThumbnailUrl});background-size:100% 100%;background-repeat: no-repeat;`
: `background:url(${item.imgUrl});background-size:100% 100%;background-repeat: no-repeat;`
"
>
<div class="check_box" v-show="item.states == 2">
@ -582,9 +582,9 @@ function checkBottom() {
index == 2 || item.states == 3
? 'color:#02C984'
: item.states == 2
? 'color: #fe9800;background:#f7eac0'
? 'color: #fe9800;background:#f7eac075'
: item.states == 5
? 'color:#FF4E4F;background:#f7c0c0'
? 'color:#FF4E4F;background:#f7c0c06b'
: 'color:#02C984'
"
>
@ -766,7 +766,7 @@ function checkBottom() {
font-weight: bolder;
text-align: left;
color: #666666;
line-height: 0.8rem;
line-height: 0.88rem;
}
}
}
@ -787,8 +787,11 @@ function checkBottom() {
min-width: 23%;
margin-left: 2.3%;
height: 12.4vh;
background: #ffffff;
border: 0.075rem solid #e8e8e8;
background: url("@/assets/images/cardbg.png");
background-repeat: no-repeat;
background-size: 100% 100%;
// border: 0.075rem solid #e8e8e8;
border-radius: 0.18rem;
padding: 0.5rem 0.625rem;
// margin-right: 20px;
@ -818,6 +821,7 @@ function checkBottom() {
.title,
.date {
font-size: 0.68rem;
font-family: PingFang SC, PingFang SC-Medium;
font-weight: bolder;
text-align: left;
color: #323233;
@ -841,7 +845,7 @@ function checkBottom() {
letter-spacing: 0.006rem;
margin-right: 0.5rem;
// opacity: 0.1;
background: #c0f7e4;
background: #c0f7ec69;
border-radius: 0.125rem;
text-align: center;
white-space: nowrap;

Loading…
Cancel
Save