From 98e65cfae40676a33f05b7a9cb3842cbe909cd33 Mon Sep 17 00:00:00 2001 From: bright Date: Wed, 23 Mar 2022 13:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BD=E5=85=94=E6=9C=AA?= =?UTF-8?q?=E8=AF=BB=E6=B6=88=E6=81=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/club.hares.top/config.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/resource/sites/club.hares.top/config.json b/resource/sites/club.hares.top/config.json index 605503c1a..182ba62ee 100644 --- a/resource/sites/club.hares.top/config.json +++ b/resource/sites/club.hares.top/config.json @@ -13,7 +13,8 @@ "host": "club.hares.top", "collaborator": [ "kevgao", - "枕头啊枕头" + "枕头啊枕头", + "bright" ], "formerHosts": [], "searchEntryConfig": { @@ -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,