Skip to content

Commit

Permalink
🎨 卡片增加个人主页展示
Browse files Browse the repository at this point in the history
  • Loading branch information
csfwff committed Dec 7, 2023
1 parent ba593c4 commit 822a4fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/main/resources/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1515,6 +1515,7 @@ var Util = {
}
});
}
console.log(data)
let followerCount = data.followerCount;
let followingUserCount = data.followingUserCount;
let oId = data.oId;
Expand Down Expand Up @@ -1610,6 +1611,16 @@ var Util = {
' </svg>\n' +
'</a>\n';
}
if (userURL !== "") {
html += '' +
'<a target="_blank" href="' + Label.servePath + '/forward?goto=' + userURL + '" class="tooltipped-new tooltipped__n" rel="nofollow"\n' +
' aria-label="' + userURL + '">\n' +
' <svg>\n' +
' <use xlink:href="#ic-url"></use>\n' +
' </svg>\n' +
'</a>\n';
}

html += '' +
'<a class="tooltipped-new tooltipped__n" rel="nofollow" onclick="javascript:void(0)" style="background-color:#eeeeeecc;border-radius:5px;padding:0 7px 0 4px;cursor:default;color:#6d6c6c;font-size:12px;"\n' +
' aria-label="' + userNo + ' 号成员">\n' +
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/js/symbol-defs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 822a4fe

Please sign in to comment.