标签一行

cyl/master-0819
zsk 3 months ago
parent 66a1310cae
commit 1d13b2a6a4

@ -252,7 +252,7 @@
<div style="font-size: 14px;color: #666;margin-top: 8px;margin-bottom: 8px;">
{{ JSON.parse(props.msg.attachment.raw).info }}
</div>
<view class="g_flex_row_start" v-if="JSON.parse(props.msg.attachment.raw).label.length > 0">
<view class="g_flex_row_start" style="height: 26px;overflow: hidden;" v-if="JSON.parse(props.msg.attachment.raw).label.length > 0">
<view v-for="(item, index) in JSON.parse(props.msg.attachment.raw).label"
:style="{ color: `${labelColor[index % labelColor.length]}`, 'background-color': `${bgColor[index % bgColor.length]}` }"
class="g_mr_8 g_mb_8 g_pl_4 g_pr_4" style="font-size: 14px;">

Loading…
Cancel
Save