This commit is contained in:
lxj
2025-09-09 05:15:48 +08:00
parent f55769df5e
commit e005f77176

View File

@@ -85,14 +85,17 @@ onMounted(loadChannelTree);
> >
<template #title="{ label, level, key }"> <template #title="{ label, level, key }">
<div class="flex"> <div class="flex">
<!-- 通道节点显示图标 -->
<div v-if="level == 2" class="tree-icon"> <div v-if="level == 2" class="tree-icon">
<!-- -->
<div <div
v-if="selectKeys.indexOf(key) > -1" v-if="selectKeys.indexOf(key) > -1"
class="icon playing" class="icon playing"
></div> ></div>
<div v-else class="icon unplay"></div> <div v-else class="icon unplay"></div>
</div> </div>
<span :style="currentSelectKey == key?'color:blue':''">
<span :style="currentSelectKey == key ? 'color:blue' : ''">
<span v-if="label.indexOf(searchValue) > -1"> <span v-if="label.indexOf(searchValue) > -1">
{{ label.substring(0, label.indexOf(searchValue)) }} {{ label.substring(0, label.indexOf(searchValue)) }}
<span style="color: #f50">{{ searchValue }}</span> <span style="color: #f50">{{ searchValue }}</span>