Skip to content

Commit 1882e12

Browse files
committed
docs: fix welcome demo
1 parent d84506a commit 1882e12

File tree

1 file changed

+1
-57
lines changed

1 file changed

+1
-57
lines changed

copilot-demo/pages/Welcome/index.ts

+1-57
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,3 @@
11
//@ts-ignore
22

3-
Page({
4-
data: {
5-
basicList: [
6-
{
7-
title: '理解问题',
8-
content: '3A游戏',
9-
icon: 'CheckCircleOutline'
10-
},
11-
{
12-
title: '没有在本地找到结果',
13-
content: '当前主流显卡',
14-
icon: 'CheckCircleOutline'
15-
},
16-
{
17-
title: '在互联网上搜索问题',
18-
content: '黑神话悟空所需显卡',
19-
icon: 'MoreOutline',
20-
},
21-
],
22-
customList: [
23-
{
24-
title: '理解问题',
25-
content: '解析语法结构',
26-
},
27-
{
28-
status: 'loading',
29-
title: '搜索问题',
30-
content: [
31-
{
32-
title: '理解问题',
33-
},
34-
{
35-
title: '联网搜索',
36-
content: '1. 黑神话悟空介绍',
37-
},
38-
{
39-
title: '已根据搜索结果精选3篇资料',
40-
content: [
41-
'1. 黑神话悟空介绍',
42-
'2. 对于1080p显示器,4060ti和4060该选哪个?',
43-
'3. 黑神话悟空官方建议配置',
44-
],
45-
},
46-
{
47-
title: '联想更多结果',
48-
},
49-
],
50-
},
51-
],
52-
},
53-
onContentItemTap(e) {
54-
const { content } = e.target.dataset || {};
55-
my.alert({
56-
content: `点击了内容「${content}」`,
57-
});
58-
},
59-
});
3+
Page({});

0 commit comments

Comments
 (0)