mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
自定义用户信息页面背景图片
This commit is contained in:
1 parent
a8bddb4519
commit
d14b63883e
5 files changed
+17
-16
No files matched your search
@@ -158,11 +158,16 @@ class HomeSettingsHandler extends Handler {
|
||||
}
|
||||
|
||||
async get({ category }) {
|
||||
const path = [
|
||||
['Hydro', '/'],
|
||||
['home_settings', null],
|
||||
];
|
||||
this.response.template = 'home_settings.html';
|
||||
this.response.body = {
|
||||
category,
|
||||
page_name: `home_${category}`,
|
||||
current: this.user,
|
||||
path,
|
||||
};
|
||||
if (category === 'preference') {
|
||||
this.response.body.settings = setting.PREFERENCE_SETTINGS;
|
||||
|
||||
Reference in new issue
Block a user