style
This commit is contained in:
@ -580,7 +580,7 @@ export async function dst(
|
||||
if (q.rd) {
|
||||
t.img.src = q.rd.img
|
||||
t.intro.innerText = q.rd.intro
|
||||
goal(t.goal, q.rd.goal.map((g, n) => ({ nam: `${g}箱\n${q.rd!.prize[n]}`, pct: Math.round(100 * Math.min(1, q.rd!.sale / g)) })))
|
||||
goal(t.goal, q.rd.goal.map((g, n) => ({ nam: `${g}箱\n${q.rd?.prize[n] ?? ""}`, pct: Math.round(100 * Math.min(1, q.rd!.sale / g)) })))
|
||||
}
|
||||
label(t.idl, `(共${q.dst.length}个)`, true)
|
||||
ida(t.idl, q.dst.map(d => [`a${d.aid}`, `${q.anam.get(d.aid)}(${d.ndst}票)`]), "id")
|
||||
|
@ -538,13 +538,17 @@
|
||||
</section>
|
||||
<hr>
|
||||
<section>
|
||||
<label>目标奖品:</label>
|
||||
<p class="goal"></p>
|
||||
<label>活动奖励:</label>
|
||||
<img class="img" src="https://pic.imgdb.cn/item/6476b7d8f024cca1734cd90c.png" loading="lazy" width="100%">
|
||||
</section>
|
||||
<section>
|
||||
<label>目标:</label>
|
||||
<p class="goal" style="margin: 2ch 0;"></p>
|
||||
</section>
|
||||
<hr>
|
||||
<section>
|
||||
<section style="margin-top: 2ch;">
|
||||
<label>参赛投稿:</label>
|
||||
<p class="idl"></p>
|
||||
<p class="idl" style="margin: 2ch 0; line-height: 2;"></p>
|
||||
</section>
|
||||
<hr>
|
||||
<section class="pos flex">
|
||||
|
Reference in New Issue
Block a user