This commit is contained in:
shijingjing
2022-02-14 11:18:44 +08:00
parent 7e738bc11b
commit c3ec7b1dcd
3 changed files with 9 additions and 28 deletions

View File

@@ -353,13 +353,6 @@ uni-page-body {
} }
} }
.status0 {
color: #ff883c;
.icon {
background: #ff883c;
}
}
.status1 { .status1 {
color: #1aaaff; color: #1aaaff;
.icon { .icon {
@@ -373,13 +366,6 @@ uni-page-body {
background: #42d784; background: #42d784;
} }
} }
.status3 {
color: #ff4466;
.icon {
background: #ff4466;
}
}
} }
} }

View File

@@ -1,11 +1,13 @@
<template> <template>
<div class="Detail" v-if="showPage"> <div class="Detail" v-if="showPage">
<div class="header-top"> <div class="header-top">
<div class="avatars" v-if="data.name">{{ data.name.substring(data.name.length, data.name.length - 2) }}</div> <div class="avatars" v-if="data.openId">
<!-- {{ data.name.substring(data.name.length, data.name.length - 2) }} -->
<AiOpenData v-if="data.openId" type="userName" :openid="data.openId" style="display: inline-block;"/>
</div>
<div class="right"> <div class="right">
<!-- {{ data.name }} --> <div class="names"><AiOpenData v-if="data.openId" type="userName" :openid="data.openId" style="display: inline-block;" />的上报</div>
<div class="names"><AiOpenData v-if="data.name" type="userName" :openid="data.name" />的上报</div>
<div class="times">{{ data.createTime }}</div> <div class="times">{{ data.createTime }}</div>
</div> </div>
@@ -14,7 +16,7 @@
<div class="header-middle"> <div class="header-middle">
<div class="titles">{{ data.content }}</div> <div class="titles">{{ data.content }}</div>
<span class="status status0" :class="data.eventStatus == 0 ? 'status1' : 'status2'" v-if="data.eventStatus"> {{ $dict.getLabel('clapEventStatus', data.eventStatus) }}</span> <span class="status status1" :class="data.eventStatus == 0 ? 'status1' : 'status2'" v-if="data.eventStatus"> {{ $dict.getLabel('clapEventStatus', data.eventStatus) }}</span>
<div class="card"> <div class="card">
<span class="card-left">事件类型</span> <span class="card-left">事件类型</span>
@@ -214,9 +216,6 @@ uni-page-body {
color: #ffffff; color: #ffffff;
border-radius: 8px; border-radius: 8px;
} }
.status0 {
background: #ff883c;
}
.status1 { .status1 {
background: #1aaaff; background: #1aaaff;
@@ -226,10 +225,6 @@ uni-page-body {
background: #42d784; background: #42d784;
} }
.status3 {
background: #ff4466;
}
.card { .card {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -257,8 +252,8 @@ uni-page-body {
} }
img { img {
width: 225px; width: 220px;
height: 226px; height: 220px;
margin-right: 8px; margin-right: 8px;
} }
img:nth-child(3n) { img:nth-child(3n) {

View File

@@ -7,7 +7,7 @@
<div class="area-select"> <div class="area-select">
<div class="select-content"> <div class="select-content">
<div class="search-input" v-if="tabIndex"> <div class="search-input" v-if="tabIndex">
<u-search placeholder="请输入姓名" v-model="name" maxlength="20" placeholder-style="color:#999;font-size:13px;" :show-action="false" height="18" @search="getUserList" @clear="getUserList"></u-search> <u-search placeholder="请输入姓名、身份证号、手机号" v-model="name" maxlength="20" placeholder-style="color:#999;font-size:13px;" :show-action="false" height="18" @search="getUserList" @clear="getUserList"></u-search>
</div> </div>
</div> </div>
</div> </div>