sbd-npm 1.5.46 → 1.5.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constant.js +1 -1
- package/package.json +1 -1
- package/snowball_tweet.js +1 -1
- package/status.js +11 -5
package/constant.js
CHANGED
|
@@ -166,7 +166,7 @@ const MenuList = [
|
|
|
166
166
|
{'key': 'portfolio_uestc', 'name': '独钓寒江雪', 'url': '/0x7cbaee9df4ea09cc2ad0d001f4b948109b75f39f'},
|
|
167
167
|
{'key': 'portfolio_ning', 'name': '宁湖', 'url': '/0x69717049aefea13348d702755a4ed38a2f0e40ad'},
|
|
168
168
|
{'key': 'portfolio_two', 'name': '两瓢(彭波)', 'url': '/0x376350389c657c5153d59959b6351935c9357651'},
|
|
169
|
-
{'key': '
|
|
169
|
+
{'key': 'portfolio_benjamin', 'name': 'Benjamin华', 'url': '/0x1cc3f28dd896b3c7aa72d8d3f24e96adc41ab39c'},
|
|
170
170
|
{'key': 'portfolio_chen', 'name': '陈营长极品投资', 'url': '/0x3f8cbeeeb38138a626e935017a4cc25f47ce3dbe'},
|
|
171
171
|
{'key': 'portfolio_zeng', 'name': '老曾阿牛', 'url': '/0x2cf53b473b916e1d8b9998de00bb782171bb2630'},
|
|
172
172
|
{'key': 'portfolio_hk_mutual', 'name': '港股通新票', 'url': '/0xa496fad09b737531211cb588399cd5c9cac2f8b5'},
|
package/package.json
CHANGED
package/snowball_tweet.js
CHANGED
package/status.js
CHANGED
|
@@ -196,14 +196,20 @@ $(function () {
|
|
|
196
196
|
let html = [], ip_num = 0;
|
|
197
197
|
j.data.forEach(function (item) {
|
|
198
198
|
ip_num++;
|
|
199
|
+
let is_trigger_block_ip = 0;
|
|
199
200
|
if (item.type === 1) {
|
|
200
201
|
html.push("<tr class='success'>");
|
|
201
202
|
} else if (item.type === 2) {
|
|
202
203
|
html.push("<tr class='danger'>");
|
|
203
204
|
} else {
|
|
205
|
+
is_trigger_block_ip = 1;
|
|
204
206
|
html.push("<tr>");
|
|
205
207
|
}
|
|
206
|
-
|
|
208
|
+
if (is_trigger_block_ip === 1) {
|
|
209
|
+
html.push("<td><a href='#' class='block_ip'>", ip_num, "</a></td>");
|
|
210
|
+
} else {
|
|
211
|
+
html.push("<td>", ip_num, "</td>");
|
|
212
|
+
}
|
|
207
213
|
html.push("<td>", Util.pack_html_link(Status.ip_url(item.ip), item.ip), "</td>");
|
|
208
214
|
html.push("<td>", Status.map_url(Status.convert_ip_address(item)), "</td>");
|
|
209
215
|
html.push("<td>", item.times, "</td>");
|
|
@@ -665,11 +671,11 @@ $(function () {
|
|
|
665
671
|
} else {
|
|
666
672
|
Status.task_status = 0;
|
|
667
673
|
if (j.code === 2) {
|
|
668
|
-
|
|
669
|
-
$("#task_tips").html("<b class='text-danger'>已添加新任务" + do_content + "在处理中!</b>");
|
|
674
|
+
$("#task_tips").html("<b class='text-danger'>已添加新任务" + (j.do_content ? ("(" + j.do_content + ")") : "") + "在处理中!</b>");
|
|
670
675
|
} else if (j.code === 3) {
|
|
671
|
-
|
|
672
|
-
|
|
676
|
+
$("#task_tips").html("<b class='text-danger'>有任务" + (j.doing_content ? ("(" + j.doing_content + ")") : "") + "在执行中!</b>");
|
|
677
|
+
} else if (j.code === 4) {
|
|
678
|
+
$("#task_tips").html("<b class='text-danger'>任务 `" + (j.done_content ? j.done_content : "") + "` 已经执行过!</b>");
|
|
673
679
|
} else {
|
|
674
680
|
$("#task_tips").html("<b class='text-danger'>参数异常!</b>");
|
|
675
681
|
}
|