Skip to content

Commit

Permalink
修复白兔未读消息提示
Browse files Browse the repository at this point in the history
  • Loading branch information
Bright-W committed Mar 23, 2022
1 parent d78e24a commit 98e65cf
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions resource/sites/club.hares.top/config.json
Expand Up @@ -13,7 +13,8 @@
"host": "club.hares.top",
"collaborator": [
"kevgao",
"枕头啊枕头"
"枕头啊枕头",
"bright"
],
"formerHosts": [],
"searchEntryConfig": {
Expand Down Expand Up @@ -145,7 +146,16 @@
"enabled": false
}
],
"selectors": {
"selectors": {
"userBaseInfo": {
"merge":true,
"fields": {
"messageCount": {
"selector": [".unread"],
"filters": ["query.text().match(/(\\d+)/)", "(query && query.length>=2)?parseInt(query[1]):0"]
}
}
},
"userExtendInfo": {
"page":"/userdetails.php?id=$user.id$",
"merge":true,
Expand Down

0 comments on commit 98e65cf

Please sign in to comment.