@@ -183,26 +183,26 @@ export default defineGkdGlobalGroups([
183183 key : 0 ,
184184 name : '快手SDK-类型1' ,
185185 fastQuery : true ,
186- matches : `ImageView${ COMMON_PREFIX } < @ViewGroup[childCount=1][clickable=true] <<n ViewGroup >n [text="广告"]` ,
186+ matches : `ImageView${ COMMON_PREFIX } < @ViewGroup[childCount=1][clickable=true] <<n ViewGroup >n [text="广告"][visibleToUser=true] ` ,
187187 } ,
188188 {
189189 key : 1 ,
190190 name : '快手SDK-类型2' ,
191191 fastQuery : true ,
192- matches : `[text="跳过"]${ COMMON_PREFIX } < @ViewGroup[childCount=4][clickable=true] <<n ViewGroup >n [text="广告"]` ,
192+ matches : `[text="跳过"]${ COMMON_PREFIX } < @ViewGroup[childCount=4][clickable=true] <<n ViewGroup >n [text="广告"][visibleToUser=true] ` ,
193193 } ,
194194 {
195195 key : 2 ,
196196 name : '快手SDK-类型3' ,
197197 fastQuery : true ,
198- matches : `@ImageView${ COMMON_PREFIX } <<n ViewGroup[childCount=3][checked=false] -2 ViewGroup >n [text="广告"]` ,
198+ matches : `@ImageView${ COMMON_PREFIX } <<n ViewGroup[childCount=3][checked=false] -2 ViewGroup >n [text="广告"][visibleToUser=true] ` ,
199199 snapshotUrls : [ 'https://i.gkd.li/i/13625303' ] ,
200200 } ,
201201 {
202202 key : 3 ,
203203 name : '快手SDK-类型4' ,
204204 matches :
205- 'ImageView[childCount=0][text=null] < @ViewGroup[childCount=1][clickable=true][visibleToUser=true] <<(1, 3) ViewGroup +(1, 2, 4) ViewGroup[childCount=2] >(1,3) [text="广告"]' ,
205+ 'ImageView[childCount=0][text=null] < @ViewGroup[childCount=1][clickable=true][visibleToUser=true] <<(1, 3) ViewGroup +(1, 2, 4) ViewGroup[childCount=2] >(1,3) [text="广告"][visibleToUser=true] ' ,
206206 snapshotUrls : [
207207 'https://i.gkd.li/import/13259198' ,
208208 'https://i.gkd.li/i/16837806' ,
@@ -268,7 +268,7 @@ export default defineGkdGlobalGroups([
268268 name : '快手SDK-类型5' ,
269269 fastQuery : true ,
270270 matches : [
271- '[text="广告"]' ,
271+ '[text="广告"][visibleToUser=true] ' ,
272272 '@ImageView[clickable=true] - [text="|"] - [text$="s"]' ,
273273 ] ,
274274 snapshotUrls : [ 'https://i.gkd.li/i/13625303' ] ,
0 commit comments