Skip to content

Commit a235412

Browse files
committed
📝 Update README
1 parent 22eada5 commit a235412

File tree

3 files changed

+49
-42
lines changed

3 files changed

+49
-42
lines changed

.eslintignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
dist/
22
node_modules
3-
node_modules/
43
patches/
54
types/
65
cache/

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ widget create
8383

8484
### 组件列表
8585

86+
### AI组件包
87+
88+
https://github.com/rtugeek/ai
89+
90+
#### 一键呼出ChatGPT
91+
92+
![png](https://raw.githubusercontent.com/rtugeek/ai/master/screenshot.png)
93+
8694
#### 键盘演示(src/widgets/keystroke)
8795

8896
![png](./public/images/preview_keystroke.png)

public/widget.json

+41-41
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,38 @@
1313
"hash": true,
1414
"url": "",
1515
"widgets": [
16+
{
17+
"name": "cn.widgetjs.widgets.water_reminder",
18+
"title": {
19+
"zh-CN": "喝水提醒"
20+
},
21+
"description": {
22+
"zh-CN": "每天N杯水,养成好习惯"
23+
},
24+
"keywords": [
25+
"recommend"
26+
],
27+
"security": false,
28+
"permissions": [],
29+
"lang": "zh-CN",
30+
"width": 2,
31+
"height": 2,
32+
"maxWidth": 2,
33+
"webviewTag": false,
34+
"maxHeight": 2,
35+
"minWidth": 2,
36+
"minHeight": 2,
37+
"movable": true,
38+
"singleton": false,
39+
"resizable": true,
40+
"path": "/widget/water_reminder",
41+
"meta": {},
42+
"backgroundThrottling": false,
43+
"previewImage": "/images/preview_water_reminder.png",
44+
"supportDeployMode": 17,
45+
"configPagePath": "/widget/config/water_reminder",
46+
"routes": []
47+
},
1648
{
1749
"name": "cn.widgetjs.widgets.wave_progress",
1850
"title": {
@@ -77,38 +109,6 @@
77109
"configPagePath": "/widget/config/todo_list",
78110
"routes": []
79111
},
80-
{
81-
"name": "cn.widgetjs.widgets.water_reminder",
82-
"title": {
83-
"zh-CN": "喝水提醒"
84-
},
85-
"description": {
86-
"zh-CN": "每天N杯水,养成好习惯"
87-
},
88-
"keywords": [
89-
"recommend"
90-
],
91-
"security": false,
92-
"permissions": [],
93-
"lang": "zh-CN",
94-
"width": 2,
95-
"height": 2,
96-
"maxWidth": 2,
97-
"webviewTag": false,
98-
"maxHeight": 2,
99-
"minWidth": 2,
100-
"minHeight": 2,
101-
"movable": true,
102-
"singleton": false,
103-
"resizable": true,
104-
"path": "/widget/water_reminder",
105-
"meta": {},
106-
"backgroundThrottling": false,
107-
"previewImage": "/images/preview_water_reminder.png",
108-
"supportDeployMode": 17,
109-
"configPagePath": "/widget/config/water_reminder",
110-
"routes": []
111-
},
112112
{
113113
"name": "cn.widgetjs.widgets.time_progress",
114114
"title": {
@@ -335,7 +335,7 @@
335335
"routes": []
336336
},
337337
{
338-
"name": "cn.widgetjs.widgets.countdown2",
338+
"name": "cn.widgetjs.widgets.countdown",
339339
"title": {
340340
"zh-CN": "倒计时"
341341
},
@@ -358,21 +358,21 @@
358358
"movable": true,
359359
"singleton": false,
360360
"resizable": true,
361-
"path": "/widget/countdown2",
361+
"path": "/widget/countdown",
362362
"meta": {},
363363
"backgroundThrottling": true,
364-
"previewImage": "/images/preview_countdown2.png",
364+
"previewImage": "/images/preview_countdown.png",
365365
"supportDeployMode": 17,
366-
"configPagePath": "/widget/config/countdown2",
366+
"configPagePath": "/widget/config/countdown",
367367
"routes": []
368368
},
369369
{
370-
"name": "cn.widgetjs.widgets.countdown",
370+
"name": "cn.widgetjs.widgets.countdown2",
371371
"title": {
372372
"zh-CN": "倒计时"
373373
},
374374
"description": {
375-
"zh-CN": "简单的倒计时组件,支持农历"
375+
"zh-CN": "日历样式的倒计时组件"
376376
},
377377
"keywords": [
378378
"recommend"
@@ -390,12 +390,12 @@
390390
"movable": true,
391391
"singleton": false,
392392
"resizable": true,
393-
"path": "/widget/countdown",
393+
"path": "/widget/countdown2",
394394
"meta": {},
395395
"backgroundThrottling": true,
396-
"previewImage": "/images/preview_countdown.png",
396+
"previewImage": "/images/preview_countdown2.png",
397397
"supportDeployMode": 17,
398-
"configPagePath": "/widget/config/countdown",
398+
"configPagePath": "/widget/config/countdown2",
399399
"routes": []
400400
},
401401
{

0 commit comments

Comments
 (0)