表情
This commit is contained in:
@@ -26,7 +26,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
component: "List",
|
component: "Detail",
|
||||||
params: {},
|
params: {},
|
||||||
include: [],
|
include: [],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -99,12 +99,17 @@
|
|||||||
<div>{{item.cardUserId}}</div>
|
<div>{{item.cardUserId}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-right">
|
<div class="card-right">
|
||||||
<img src="./img/user-img.png" alt="">
|
<img :src="item.cardUserAvatar" alt="" v-if="item.cardUserAvatar">
|
||||||
|
<img src="./img/user-img.png" alt="" v-else>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="bottom">个人名片</div> -->
|
<!-- <div class="bottom">个人名片</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<img :src="item.sdkFileUrl" alt="" v-if="item.msgType == 'emotion'" :style="[{width: item.width+'px'}, {height: item.height+'px'}]">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<img :src="item.userAvatar" alt="" class="user-img" v-if="item.userId == id">
|
<img :src="item.userAvatar" alt="" class="user-img" v-if="item.userId == id">
|
||||||
<!-- <i class="el-icon-warning" v-if="item.userId != id"></i> -->
|
<!-- <i class="el-icon-warning" v-if="item.userId != id"></i> -->
|
||||||
</div>
|
</div>
|
||||||
@@ -168,7 +173,7 @@
|
|||||||
this.id = this.params.id
|
this.id = this.params.id
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
// this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user