Skip to content

Commit 9732021

Browse files
committed
🚧 Implemented clipboard widget
1 parent 38ad856 commit 9732021

File tree

2 files changed

+64
-64
lines changed

2 files changed

+64
-64
lines changed

public/cn.widgetjs.widgets.hotspot.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"url": "",
2222
"widgets": [
2323
{
24-
"name": "cn.widgetjs.widgets.hotspot.zhihu",
24+
"name": "ccn.widgetjs.widgets.hotspot.weibo",
2525
"title": {
26-
"zh-CN": "知乎"
26+
"zh-CN": "微博热搜"
2727
},
2828
"description": {
29-
"zh-CN": "知乎热榜与日报"
29+
"zh-CN": "微博热搜"
3030
},
3131
"keywords": [
3232
"recommend"
@@ -38,31 +38,31 @@
3838
"height": 3,
3939
"maxWidth": 6,
4040
"webviewTag": false,
41-
"maxHeight": 4,
41+
"maxHeight": 6,
4242
"minWidth": 4,
4343
"minHeight": 3,
4444
"movable": true,
4545
"singleton": false,
4646
"resizable": true,
47-
"path": "/widget/zhihu",
47+
"path": "/widget/weibo",
4848
"meta": {},
4949
"backgroundThrottling": true,
50-
"previewImage": "/images/preview_zhihu.png",
50+
"previewImage": "/images/weibo_hot_search.png",
5151
"supportDeployMode": 17,
5252
"routes": [
5353
{
54-
"url": "/widget/zhihu",
54+
"url": "/widget/weibo",
5555
"name": "index"
5656
}
5757
]
5858
},
5959
{
60-
"name": "ccn.widgetjs.widgets.hotspot.weibo",
60+
"name": "cn.widgetjs.widgets.hotspot.zhihu",
6161
"title": {
62-
"zh-CN": "微博热搜"
62+
"zh-CN": "知乎"
6363
},
6464
"description": {
65-
"zh-CN": "微博热搜"
65+
"zh-CN": "知乎热榜与日报"
6666
},
6767
"keywords": [
6868
"recommend"
@@ -74,20 +74,20 @@
7474
"height": 3,
7575
"maxWidth": 6,
7676
"webviewTag": false,
77-
"maxHeight": 6,
77+
"maxHeight": 4,
7878
"minWidth": 4,
7979
"minHeight": 3,
8080
"movable": true,
8181
"singleton": false,
8282
"resizable": true,
83-
"path": "/widget/weibo",
83+
"path": "/widget/zhihu",
8484
"meta": {},
8585
"backgroundThrottling": true,
86-
"previewImage": "/images/weibo_hot_search.png",
86+
"previewImage": "/images/preview_zhihu.png",
8787
"supportDeployMode": 17,
8888
"routes": [
8989
{
90-
"url": "/widget/weibo",
90+
"url": "/widget/zhihu",
9191
"name": "index"
9292
}
9393
]
@@ -129,12 +129,12 @@
129129
]
130130
},
131131
{
132-
"name": "cn.widgetjs.widgets.hotspot.bilibili",
132+
"name": "cn.widgetjs.widgets.hotspot.bangumi",
133133
"title": {
134-
"zh-CN": "bilibili热搜"
134+
"zh-CN": "B站新番时间表"
135135
},
136136
"description": {
137-
"zh-CN": "看看年轻人在B站搜什么"
137+
"zh-CN": "追番小助手"
138138
},
139139
"keywords": [
140140
"recommend"
@@ -143,34 +143,34 @@
143143
"permissions": [],
144144
"lang": "zh-CN",
145145
"width": 4,
146-
"height": 3,
146+
"height": 4,
147147
"maxWidth": 6,
148148
"webviewTag": false,
149-
"maxHeight": 6,
149+
"maxHeight": 4,
150150
"minWidth": 4,
151-
"minHeight": 3,
151+
"minHeight": 4,
152152
"movable": true,
153153
"singleton": false,
154154
"resizable": true,
155-
"path": "/widget/bilibili",
155+
"path": "/widget/bangumi",
156156
"meta": {},
157157
"backgroundThrottling": true,
158-
"previewImage": "/images/bilibili_hot_search.png",
158+
"previewImage": "/images/preview_bangumi.png",
159159
"supportDeployMode": 17,
160160
"routes": [
161161
{
162-
"url": "/widget/bilibili",
162+
"url": "/widget/bangumi",
163163
"name": "index"
164164
}
165165
]
166166
},
167167
{
168-
"name": "cn.widgetjs.widgets.hotspot.bangumi",
168+
"name": "cn.widgetjs.widgets.hotspot.bilibili",
169169
"title": {
170-
"zh-CN": "B站新番时间表"
170+
"zh-CN": "bilibili热搜"
171171
},
172172
"description": {
173-
"zh-CN": "追番小助手"
173+
"zh-CN": "看看年轻人在B站搜什么"
174174
},
175175
"keywords": [
176176
"recommend"
@@ -179,23 +179,23 @@
179179
"permissions": [],
180180
"lang": "zh-CN",
181181
"width": 4,
182-
"height": 4,
182+
"height": 3,
183183
"maxWidth": 6,
184184
"webviewTag": false,
185-
"maxHeight": 4,
185+
"maxHeight": 6,
186186
"minWidth": 4,
187-
"minHeight": 4,
187+
"minHeight": 3,
188188
"movable": true,
189189
"singleton": false,
190190
"resizable": true,
191-
"path": "/widget/bangumi",
191+
"path": "/widget/bilibili",
192192
"meta": {},
193193
"backgroundThrottling": true,
194-
"previewImage": "/images/preview_bangumi.png",
194+
"previewImage": "/images/bilibili_hot_search.png",
195195
"supportDeployMode": 17,
196196
"routes": [
197197
{
198-
"url": "/widget/bangumi",
198+
"url": "/widget/bilibili",
199199
"name": "index"
200200
}
201201
]

public/widget.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"url": "",
2222
"widgets": [
2323
{
24-
"name": "cn.widgetjs.widgets.hotspot.zhihu",
24+
"name": "ccn.widgetjs.widgets.hotspot.weibo",
2525
"title": {
26-
"zh-CN": "知乎"
26+
"zh-CN": "微博热搜"
2727
},
2828
"description": {
29-
"zh-CN": "知乎热榜与日报"
29+
"zh-CN": "微博热搜"
3030
},
3131
"keywords": [
3232
"recommend"
@@ -38,31 +38,31 @@
3838
"height": 3,
3939
"maxWidth": 6,
4040
"webviewTag": false,
41-
"maxHeight": 4,
41+
"maxHeight": 6,
4242
"minWidth": 4,
4343
"minHeight": 3,
4444
"movable": true,
4545
"singleton": false,
4646
"resizable": true,
47-
"path": "/widget/zhihu",
47+
"path": "/widget/weibo",
4848
"meta": {},
4949
"backgroundThrottling": true,
50-
"previewImage": "/images/preview_zhihu.png",
50+
"previewImage": "/images/weibo_hot_search.png",
5151
"supportDeployMode": 17,
5252
"routes": [
5353
{
54-
"url": "/widget/zhihu",
54+
"url": "/widget/weibo",
5555
"name": "index"
5656
}
5757
]
5858
},
5959
{
60-
"name": "ccn.widgetjs.widgets.hotspot.weibo",
60+
"name": "cn.widgetjs.widgets.hotspot.zhihu",
6161
"title": {
62-
"zh-CN": "微博热搜"
62+
"zh-CN": "知乎"
6363
},
6464
"description": {
65-
"zh-CN": "微博热搜"
65+
"zh-CN": "知乎热榜与日报"
6666
},
6767
"keywords": [
6868
"recommend"
@@ -74,20 +74,20 @@
7474
"height": 3,
7575
"maxWidth": 6,
7676
"webviewTag": false,
77-
"maxHeight": 6,
77+
"maxHeight": 4,
7878
"minWidth": 4,
7979
"minHeight": 3,
8080
"movable": true,
8181
"singleton": false,
8282
"resizable": true,
83-
"path": "/widget/weibo",
83+
"path": "/widget/zhihu",
8484
"meta": {},
8585
"backgroundThrottling": true,
86-
"previewImage": "/images/weibo_hot_search.png",
86+
"previewImage": "/images/preview_zhihu.png",
8787
"supportDeployMode": 17,
8888
"routes": [
8989
{
90-
"url": "/widget/weibo",
90+
"url": "/widget/zhihu",
9191
"name": "index"
9292
}
9393
]
@@ -129,12 +129,12 @@
129129
]
130130
},
131131
{
132-
"name": "cn.widgetjs.widgets.hotspot.bilibili",
132+
"name": "cn.widgetjs.widgets.hotspot.bangumi",
133133
"title": {
134-
"zh-CN": "bilibili热搜"
134+
"zh-CN": "B站新番时间表"
135135
},
136136
"description": {
137-
"zh-CN": "看看年轻人在B站搜什么"
137+
"zh-CN": "追番小助手"
138138
},
139139
"keywords": [
140140
"recommend"
@@ -143,34 +143,34 @@
143143
"permissions": [],
144144
"lang": "zh-CN",
145145
"width": 4,
146-
"height": 3,
146+
"height": 4,
147147
"maxWidth": 6,
148148
"webviewTag": false,
149-
"maxHeight": 6,
149+
"maxHeight": 4,
150150
"minWidth": 4,
151-
"minHeight": 3,
151+
"minHeight": 4,
152152
"movable": true,
153153
"singleton": false,
154154
"resizable": true,
155-
"path": "/widget/bilibili",
155+
"path": "/widget/bangumi",
156156
"meta": {},
157157
"backgroundThrottling": true,
158-
"previewImage": "/images/bilibili_hot_search.png",
158+
"previewImage": "/images/preview_bangumi.png",
159159
"supportDeployMode": 17,
160160
"routes": [
161161
{
162-
"url": "/widget/bilibili",
162+
"url": "/widget/bangumi",
163163
"name": "index"
164164
}
165165
]
166166
},
167167
{
168-
"name": "cn.widgetjs.widgets.hotspot.bangumi",
168+
"name": "cn.widgetjs.widgets.hotspot.bilibili",
169169
"title": {
170-
"zh-CN": "B站新番时间表"
170+
"zh-CN": "bilibili热搜"
171171
},
172172
"description": {
173-
"zh-CN": "追番小助手"
173+
"zh-CN": "看看年轻人在B站搜什么"
174174
},
175175
"keywords": [
176176
"recommend"
@@ -179,23 +179,23 @@
179179
"permissions": [],
180180
"lang": "zh-CN",
181181
"width": 4,
182-
"height": 4,
182+
"height": 3,
183183
"maxWidth": 6,
184184
"webviewTag": false,
185-
"maxHeight": 4,
185+
"maxHeight": 6,
186186
"minWidth": 4,
187-
"minHeight": 4,
187+
"minHeight": 3,
188188
"movable": true,
189189
"singleton": false,
190190
"resizable": true,
191-
"path": "/widget/bangumi",
191+
"path": "/widget/bilibili",
192192
"meta": {},
193193
"backgroundThrottling": true,
194-
"previewImage": "/images/preview_bangumi.png",
194+
"previewImage": "/images/bilibili_hot_search.png",
195195
"supportDeployMode": 17,
196196
"routes": [
197197
{
198-
"url": "/widget/bangumi",
198+
"url": "/widget/bilibili",
199199
"name": "index"
200200
}
201201
]

0 commit comments

Comments
 (0)