Skip to content

Commit a63cbe7

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

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/8dd09677-8a02-4496-8611-c37b70e981d7',
21+
snapshotUrls: 'https://i.gkd.li/i/19442163',
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/8b4acc85-dacd-4ffc-a866-71e5b78c82b2',
28+
snapshotUrls: 'https://i.gkd.li/i/19442191',
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/8bd038b0-c555-4ac5-b1c0-c31c351cd788',
42+
snapshotUrls: 'https://i.gkd.li/i/19442188',
43+
},
44+
],
45+
},
46+
],
47+
});

0 commit comments

Comments
 (0)