|
|
@@ -2,7 +2,8 @@
|
|
|
<div :class="roleIdStr==14?'mt':''">
|
|
|
<div class="list" v-for="item in historyList" :key="item.id" @click="$router.push({path:'/followUp/details',query:{id:item.id}})">
|
|
|
<div class="img">
|
|
|
- <van-image fit="cover" :src="getpics(item.pics)" alt="" />
|
|
|
+ <img class="tx" :src="item.photoImgUrl?item.photoImgUrl:require('../../assets/tx.png')" alt="">
|
|
|
+ <img v-if="item.followNum == 0" class="warning" src="../../assets/warning.png" alt="">
|
|
|
</div>
|
|
|
<div class="text">
|
|
|
<p class="title">{{item.name}}-{{item.sex}}-{{item.age}}<span class="mes">{{item.childTypeName}}</span></p>
|
|
|
@@ -47,15 +48,16 @@ export default {
|
|
|
align-items: center;
|
|
|
margin-bottom: 26px;
|
|
|
.img {
|
|
|
- .van-image {
|
|
|
- width: 260px;
|
|
|
- height: 160px;
|
|
|
+ .tx {
|
|
|
+ width: 100px;
|
|
|
+ height: 100px;
|
|
|
+ border-radius: 50%;
|
|
|
}
|
|
|
}
|
|
|
.text {
|
|
|
text-align: left;
|
|
|
margin-left: 26px;
|
|
|
- width: calc(100% - 300px);
|
|
|
+ width: calc(100% - 116px);
|
|
|
.title {
|
|
|
overflow: hidden;
|
|
|
white-space: nowrap;
|