|
@@ -1,15 +1,16 @@
|
|
|
<template>
|
|
|
- <div v-if="repealMsg" class="msg-item-common msg-repeal-item" :class="[{'show-full':isShowFullInfo}]">
|
|
|
+ <div v-if="repealMsg" class="msg-item-common msg-repeal-item">
|
|
|
{{repealStr}}
|
|
|
</div>
|
|
|
- <div v-else-if="msg_type == 5 && joinMsg" class="msg-item-common msg-join-item" :class="[{'show-full':isShowFullInfo}]">
|
|
|
+ <div v-else-if="msg_type == 5 && joinMsg" class="msg-item-common msg-join-item">
|
|
|
<span>{{joinMsg}}</span>
|
|
|
</div>
|
|
|
<redPack-tip
|
|
|
v-else-if="msg_type == 5 && redpackGrapInfo"
|
|
|
- :info="redpackGrapInfo">
|
|
|
+ :info="redpackGrapInfo"
|
|
|
+ :class="[{'show-full':isShowFullInfo || (timeMsg && timestamp)}]">
|
|
|
</redPack-tip>
|
|
|
- <div class="msg-item-common msg-item clearfix" :class="[{'show-full':isShowFullInfo},type]" v-else>
|
|
|
+ <div class="msg-item-common msg-item clearfix" :class="[{'show-full':isShowFullInfo || (timeMsg && timestamp)},type]" v-else>
|
|
|
<msg-time :timestamp="timestamp" v-if="timeMsg && timestamp"></msg-time>
|
|
|
<img v-if="avatarUrl" class="user-avatar avatar" src="../../assets/loading.gif" :originurl="avatarUrl" @click="clickInfo" alt>
|
|
|
<div v-else
|