微件:Mpstyle:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第3行: | 第3行: | ||
padding-block: 0.5em; | padding-block: 0.5em; | ||
}</style> | }</style> | ||
<script> | |||
if ($('.menu ul:first').length) { | |||
console.log("mobile menu exists"); | |||
$('.menu ul:first').after( | |||
'<ul id="p-otherlink" class="toggle-list__list"> \ | |||
<li class="toggle-list-item"> \ | |||
<a class="toggle-list-item__anchor menu__item--link1" href="https://discuss.jjjstudent.com" data-mw="interface"> \ | |||
<i class="fa fa-users" style="width: 20px; height: 20px; color: var(--color-subtle,#54595d); margin-right: 8px; line-height: inherit; text-align: center;"></i> \ | |||
<span class="toggle-list-item__label">论坛</span> \ | |||
</a> \ | |||
</li> \ | |||
<li class="toggle-list-item"> \ | |||
<a class="toggle-list-item__anchor menu__item--link2" href="https://old.jjjstudent.com" data-mw="interface"> \ | |||
<i class="fa fa-archive" style="width: 20px; height: 20px; color: var(--color-subtle,#54595d); margin-right: 8px; line-height: inherit; text-align: center;"></i> \ | |||
<span class="toggle-list-item__label">文档存档</span> \ | |||
</a> \ | |||
</li> \ | |||
</ul>' | |||
); | |||
}; | |||
</script> | |||