fix(homepage): 修复个人主页样式和功能问题

修复个人主页的响应式布局问题,优化移动端显示效果
调整分类和排序区域的样式,移除不必要的margin-left
更新投票组件的内容显示类名为one-line-display-v2
修复主页加载逻辑,优化数据获取和分页处理
移除未使用的代码和注释,清理CSS样式
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-12-26 18:50:05 +08:00
parent 82e67b2a0b
commit ea6ae8d7fc
17 changed files with 1033 additions and 453 deletions

View File

@@ -24,7 +24,7 @@ const ajax = (url, data) => {
url = url.indexOf("https://") > -1 ? url : forumBaseURL + url;
if (data) data["v"] = vParam || "v2";
return new Promise(function (resolve, reject) {
if (location.hostname == "127.0.0.1") axios.defaults.headers.common["Authorization"] = "d1329afaff3230eae2463306371e74eb";
if (location.hostname == "127.0.0.1") axios.defaults.headers.common["Authorization"] = "5bc5ed1bbdb36205042098dd2022bf32";
axios
.post(url, data, {
@@ -89,7 +89,7 @@ const ajaxGet = (url) => {
url = `${url}${paramSymbol}v=${vParam || "v2"}`;
return new Promise(function (resolve, reject) {
if (location.hostname == "127.0.0.1") axios.defaults.headers.common["Authorization"] = "d1329afaff3230eae2463306371e74eb";
if (location.hostname == "127.0.0.1") axios.defaults.headers.common["Authorization"] = "5bc5ed1bbdb36205042098dd2022bf32";
axios
.get(