|
@@ -24,12 +24,12 @@ function ListeningRate(prop) {
|
|
|
}}>
|
|
|
<For each={prop.list}>{(item, i) => <div class="tr trColor" style={{ display: i() + 1 > 6 ? 'none' : 'flex' }}>
|
|
|
<div class='td'>{i() + 1}</div>
|
|
|
- <Show when={item.activity.length > 9}>
|
|
|
+ <Show when={item.activity.length > 11}>
|
|
|
<marquee class='td' style={{ "flex": "2", "min-width": "0" }}>
|
|
|
{item.activity}
|
|
|
</marquee>
|
|
|
</Show>
|
|
|
- <Show when={item.activity.length <= 9}>
|
|
|
+ <Show when={item.activity.length <= 11}>
|
|
|
<dev class='td' style={{ "flex": "2", "min-width": "0" }}>
|
|
|
{item.activity}
|
|
|
</dev>
|
|
@@ -49,12 +49,12 @@ function ListeningRate(prop) {
|
|
|
}}>
|
|
|
<For each={prop.list}>{(item, i) => <div class="tr trColor" style={{ display: i() + 1 <= 6 ? 'none' : 'flex' }}>
|
|
|
<div class='td'>{i() + 1}</div>
|
|
|
- <Show when={item.activity.length > 9}>
|
|
|
+ <Show when={item.activity.length > 11}>
|
|
|
<marquee class='td' style={{ "flex": "2", "min-width": "0" }}>
|
|
|
{item.activity}
|
|
|
</marquee>
|
|
|
</Show>
|
|
|
- <Show when={item.activity.length <= 9}>
|
|
|
+ <Show when={item.activity.length <= 11}>
|
|
|
<dev class='td' style={{ "flex": "2", "min-width": "0" }}>
|
|
|
{item.activity}
|
|
|
</dev>
|