这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 94e6b80

Browse files
committed
feat: 礼物弹幕支持定向礼物类型
1 parent e4eb9c4 commit 94e6b80

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/components/msgCom/GiftMsgCom.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,15 @@ const { msg } = defineProps<{
1515
<UserName :userInfo="msg.user" />
1616
<TBox>
1717
<TText>赠送了</TText>
18-
<TText>(¥{{ msg.price / 1000 }}) </TText>
19-
<TText>【{{ msg.gift_name }}】 * {{ msg.amount }}</TText>
18+
<TText>
19+
<TText color="magenta"> (¥{{ msg.price / 1000 }}) </TText>
20+
<TText color="magenta">{{ msg.gift_name }}</TText>
21+
<TText> * {{ msg.amount }}</TText>
22+
</TText>
23+
<TText v-if="msg.send_master?.uname">
24+
<TText> 给 </TText>
25+
<TText color="magenta" dimColor>{{ msg.send_master.uname }}</TText>
26+
</TText>
2027
</TBox>
2128
</TBox>
2229
</TBox>

0 commit comments

Comments
 (0)