Skip to content

Commit 8678e82

Browse files
committed
feat: Fantuan Delivery-权限提示-通知权限、评价提示 (#778)
1 parent d43cab4 commit 8678e82

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

src/apps/com.ca.fantuan.customer.ts

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import { defineGkdApp } from '@gkd-kit/define';
2+
3+
export default defineGkdApp({
4+
id: 'com.ca.fantuan.customer',
5+
name: 'Fantuan Delivery',
6+
groups: [
7+
{
8+
key: 1,
9+
name: '权限提示-通知权限',
10+
desc: '点击关闭',
11+
fastQuery: true,
12+
rules: [
13+
{
14+
key: 0,
15+
activityIds: '.app.orderdetail.view.OrderDetailActivity',
16+
matches: [
17+
'[text^="开启消息通知"][visibleToUser=true]',
18+
'[vid="tv_cancel"][visibleToUser=true]',
19+
],
20+
exampleUrls: 'https://e.gkd.li/da797ec4-c26b-4a16-b155-cb9b18ada22f',
21+
snapshotUrls: 'https://i.gkd.li/i/19429371',
22+
},
23+
{
24+
key: 1,
25+
activityIds: '.app.mainv2.view.MainActivity',
26+
matches: '[vid="iv_notification_close"][visibleToUser=true]',
27+
exampleUrls: 'https://e.gkd.li/2ad12abb-c306-43dc-b1d1-ec7710c86431',
28+
snapshotUrls: 'https://i.gkd.li/i/19428517',
29+
},
30+
],
31+
},
32+
{
33+
key: 2,
34+
name: '评价提示',
35+
desc: '点击关闭',
36+
rules: [
37+
{
38+
fastQuery: true,
39+
activityIds: '.app.mainv2.view.MainActivity',
40+
matches: '[text="写评价"][visibleToUser=true]',
41+
exampleUrls: 'https://e.gkd.li/f2302eb6-24dd-4e1e-9a7c-3c254a4649c9',
42+
snapshotUrls: 'https://i.gkd.li/i/19429428',
43+
},
44+
],
45+
},
46+
],
47+
});

0 commit comments

Comments
 (0)