This commit is contained in:
liuye
2022-01-13 18:42:09 +08:00
parent cd3a686a0a
commit 1f0b96bfc2
2 changed files with 19 additions and 36 deletions

View File

@@ -10,7 +10,8 @@
</div>
<div class="title">网格人员</div>
<div class="user-content" v-for="(item, index) in dataInfo.parentGirdMembers" :key="index">
<img src="./components/img/big-user.png" alt="">
<img :src="item.photo" alt="" v-if="item.photo">
<img src="./components/img/big-user.png" alt="" v-else>
<div class="right">
<div class="name">{{item.name}}</div>
<div class="gird">{{item.checkType == 2 ? '网格长' : '网格员'}}</div>
@@ -18,7 +19,8 @@
</div>
</div>
<div class="user-content user-item" v-for="(item, index) in dataInfo.girdMembers" :key="index">
<img src="./components/img/user-img.png" alt="">
<img :src="item.photo" alt="" v-if="item.photo">
<img src="./components/img/user-img.png" alt="" v-else>
<div class="right">
<div class="name">{{item.name}}
<span class="gird">{{item.checkType == 2 ? '网格长' : '网格员'}}</span>
@@ -27,6 +29,7 @@
<p>{{item.girdName}} </p>
</div>
</div>
</div>
</template>