fix(nav): header publish menu + userbox card polish
Unpaint multi-type 发布 wrapper, fix light-menu ink, avatar unread dot clipping, check-in REST double namespace, and user-card VIP/check-in layout.
This commit is contained in:
1 parent
df2874698c
commit
77164fee45
9 files changed
+126
-38
No files matched your search
@@ -68,7 +68,7 @@
|
||||
if (!btn || btn.disabled) return;
|
||||
e.preventDefault();
|
||||
btn.disabled = true;
|
||||
fetch(restBase() + 'aksrt/v1/signin', {
|
||||
fetch(restBase() + 'signin', {
|
||||
method: 'POST',
|
||||
credentials: 'same-origin',
|
||||
headers: {
|
||||
@@ -91,7 +91,7 @@
|
||||
}
|
||||
toast((res.data && res.data.message) || '签到成功', 'success');
|
||||
btn.classList.add('is-done');
|
||||
btn.innerHTML = '<i class="fa fa-calendar-check-o" aria-hidden="true"></i> 今日已签到';
|
||||
btn.innerHTML = '<i class="fas fa-calendar-check" aria-hidden="true"></i> 今日已签到';
|
||||
})
|
||||
.catch(function () {
|
||||
toast('网络错误', 'danger');
|
||||
|
||||
Reference in new issue
Block a user