diff --git a/apps/web/src/oj/class/components/PkDuel.vue b/apps/web/src/oj/class/components/PkDuel.vue index ef826d8..dc42d4c 100644 --- a/apps/web/src/oj/class/components/PkDuel.vue +++ b/apps/web/src/oj/class/components/PkDuel.vue @@ -70,19 +70,6 @@ const steadier = computed(() => { return `${nameOf(firstLeft > firstRight ? 0 : 1)}更稳` }) -/** 只有一个班布置过的题:不比,列几道名字 */ -const soloText = computed(() => { - const { solo } = props.pk - if (!solo.length) return "" - const names = solo.slice(0, 2).map((item) => `「${item.title}」`) - const owners = new Set(solo.map((item) => item.className)) - const who = - owners.size === 1 - ? `只有${nameOf(props.pk.classes.findIndex((item) => item.className === solo[0]!.className))}做过的` - : "只有一个班做过的" - return `${who} ${solo.length} 道不比:${names.join("、")}${solo.length > 2 ? " 等" : ""}` -}) - const SHOW_MOBILE = 7 const expanded = ref(false) const shownRows = computed(() => @@ -136,7 +123,7 @@ const tab = ref<"weekly" | "dist">("weekly")
拖拽节点到画布中
@@ -167,7 +166,6 @@ const saveStatusTitle = computed(() => { display: flex; align-items: center; justify-content: space-between; - margin-bottom: 6px; } .toolbar-header h3 { @@ -231,12 +229,6 @@ const saveStatusTitle = computed(() => { } } -.description { - margin: 0; - font-size: 12px; - color: #6b7280; -} - /* 节点列表样式 */ .nodes { display: flex;