Skip to content

Commit 69a5290

Browse files
committed
perf: 酷狗概念版 功能类-播放页听歌领VIP
1 parent ceb37b3 commit 69a5290

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

src/apps/com.kugou.android.lite.ts

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,24 @@ export default defineGkdApp({
152152
key: 6,
153153
name: '功能类-播放页听歌领VIP',
154154
fastQuery: true,
155-
activityIds: 'com.kugou.android.app.MediaActivity',
155+
activityIds: [
156+
'com.kugou.android.app.MediaActivity',
157+
'com.kugou.framework.musicfees.ui.feeintercept.FeeInterceptWebActivity',
158+
'com.kugou.android.app.flexowebview.KGFlexoWebActivity',
159+
],
156160
rules: [
157161
{
158162
key: 0,
159-
matches: '@LinearLayout[clickable=true] > TextView[text="听歌领VIP"]',
160-
exampleUrls: 'https://e.gkd.li/df927124-4e7a-43bd-8d42-3eb428eecf78',
161-
snapshotUrls: 'https://i.gkd.li/i/16554695',
163+
matches:
164+
'@LinearLayout[clickable=true] +(7,8) LinearLayout > [text="评论"][visibleToUser=true]',
165+
snapshotUrls: [
166+
'https://i.gkd.li/i/16554695',
167+
'https://i.gkd.li/i/26031429',
168+
],
169+
exampleUrls: [
170+
'https://e.gkd.li/df927124-4e7a-43bd-8d42-3eb428eecf78',
171+
'https://e.gkd.li/bda1a85c-0fab-48e6-bb3f-35fd8bd01464',
172+
],
162173
},
163174
{
164175
key: 1,
@@ -167,6 +178,21 @@ export default defineGkdApp({
167178
exampleUrls: 'https://e.gkd.li/51fbe6aa-d0da-4f08-aae0-2eed4e6c0ad1',
168179
snapshotUrls: 'https://i.gkd.li/i/16594001',
169180
},
181+
{
182+
key: 2,
183+
preKeys: [0],
184+
matches:
185+
'@Button[text^="点击浏览10秒广告"] < * <4 View <2 * < * < * < WebView < WebView',
186+
snapshotUrls: 'https://i.gkd.li/i/26031660',
187+
exampleUrls: 'https://e.gkd.li/3b87b4b5-c144-4125-9218-ee78ce2a6399',
188+
},
189+
{
190+
preKeys: [2],
191+
matches: '[text="看1条广告领取明天"][visibleToUser=true]',
192+
action: 'back',
193+
snapshotUrls: 'https://i.gkd.li/i/26031715',
194+
exampleUrls: 'https://e.gkd.li/59a14c6a-0e22-4a9e-9b9c-2f7eb462c69e',
195+
},
170196
],
171197
},
172198
{

0 commit comments

Comments
 (0)