diff --git a/src/apps/com.maxhom.weibu.ts b/src/apps/com.maxhom.weibu.ts index bb1e21c8..41e790e0 100644 --- a/src/apps/com.maxhom.weibu.ts +++ b/src/apps/com.maxhom.weibu.ts @@ -14,21 +14,34 @@ export default defineAppConfig({ rules: [ { key: 0, - name: '点击右侧X', - matches: ['ImageView - FrameLayout > ImageView'], + name: '类型1-点击右侧X', + matches: [ + 'TextView[text.length>0] < FrameLayout + FrameLayout > ImageView', + ], snapshotUrls: [ 'https://i.gkd.li/import/13377607', 'https://i.gkd.li/import/13377810', + 'https://i.gkd.li/import/13728552', ], }, { preKeys: 0, key: 1, - name: '点击弹出窗口的X', + name: '类型1-点击弹出窗口的X', matches: '[text.length>=2&&text.length<=6] ImageView', snapshotUrls: ['https://i.gkd.li/import/13377611'], }, + { + key: 2, + name: '类型2-点击右侧X', + matches: ['[id="com.maxhom.weibu:id/anythink_myoffer_banner_close"]'], + snapshotUrls: [ + 'https://i.gkd.li/import/13702305', + 'https://i.gkd.li/import/13702339', + 'https://i.gkd.li/import/13702345', + ], + }, ], }, {