This commit is contained in:
728
2023-08-17 19:36:59 +08:00
parent 25ec04a2e5
commit cc792f7ff2
3 changed files with 7 additions and 7 deletions

View File

@ -93,7 +93,7 @@ export async function id(
await live()
const t = bind("id")
const c = h === "agd" ? "活动公示" : "同城小组"
const c = h === "agd" ? "活动公示" : "同城俱乐部"
idnam(t, `${h}${adm ?? ""}`, c)
t.meta.innerText = "\"以太假说\"杯投票通道已开启\n详情查看网站首页可投票数查看用户页面\n\n" + claim
label(t.idl, `${adm ?? ""}${idl.length} 个(按注册时间排序)`)
@ -137,7 +137,7 @@ export async function usr(
srec(t, "uid", u, froze)
if (froze) [t.nam, t.intro].forEach(el => el.classList.add("froze"))
else t.intro.innerText = u.intro
else t.intro.innerText = ""//u.intro
if (nav.pas) {
if (nav.pas.uid === uid) {
@ -206,7 +206,7 @@ export async function soc(
srec(t, "sid", s, froze)
if (froze) [t.nam, t.intro].forEach(el => el.classList.add("froze"))
else t.intro.innerText = s.intro
else t.intro.innerText = "" // s.intro
if (nav.pas) {
if (is_aut(nav.pas.aut, "aut") || is_sec(nav.pas, { sid: s._id }))
@ -255,7 +255,7 @@ export async function agd(
srec(t, "aid", a, froze)
if (froze) [t.nam, t.intro].forEach(el => el.classList.add("froze"))
else t.intro.innerText = a.intro
else t.intro.innerText = "" //a.intro
if (nav.pas) {
if (is_sec(nav.pas, { aid: a._id }) || is_uid(nav.pas, { aid: a._id })) {

View File

@ -7,11 +7,11 @@ export const adm1 = document.getElementById("adm1")! as HTMLMenuElement
export const adm2 = document.getElementById("adm2")! as HTMLMenuElement
export const claim = `称谓解释:
便
便
线线`
线线`
agd_a.title = soc_a.title = claim

View File

@ -28,7 +28,7 @@
<menu>
<li><a href="">主义主义</a></li>
<li><a id="agd_a" onclick="nav(this, false)" href="#agd"><em>活动</em>公示</a></li>
<li><a id="soc_a" onclick="nav(this)" href="#soc">同城<em>小组</em></a></li>
<li><a id="soc_a" onclick="nav(this)" href="#soc">同城<em>俱乐部</em></a></li>
<li><a onclick="nav(this)" href="#wsl">法律<em>援助</em></a></li>
<li><a onclick="nav(this)" href="#lit">理论<em>学习</em></a></li>
<li><a id="pas_a" href="#pas">用户登录</a></li>