Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
fxPark
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-04-15 15:41:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a424a8f6ff39b68fb50f321fcc4864c53110acb4
a424a8f6
1 parent
62ce5565
新增弹幕我的显示样式调整
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/components/danmaku.vue
src/components/danmaku.vue
View file @
a424a8f
<!--
* @Date: 2024-04-10 14:16:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-04-15 1
0:07:31
* @LastEditTime: 2024-04-15 1
4:35:29
* @FilePath: /fxPark/src/components/danmaku.vue
* @Description: 弹幕组件
-->
...
...
@@ -10,7 +10,9 @@
<vue-danmaku ref="danmakuRef" class="danmu-boxer" v-model:danmus="danmus" useSlot loop :channels="4" :speeds="30" :top="0">
<template v-slot:dm="{ index, danmu }">
<div class="dm-item">
<van-icon v-if="danmu.status === '2'" name="fire-o" color="red" />
<!-- <van-icon v-if="danmu.status === '2'" name="fire-o" color="red" /> -->
<span v-if="danmu.status === '2'" style="color: #975E4D; font-weight: bold;">我:</span>
<span>{{ danmu.note }}</span>
</div>
</template>
...
...
Please
register
or
login
to post a comment