sbd-npm 1.2.63 → 1.2.65
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 +2 -1
- package/package.json +1 -1
- package/util.js +8 -5
package/constant.js
CHANGED
@@ -136,10 +136,11 @@ const MenuList = [
|
|
136
136
|
{'key': 'concept_recommend', 'name': '关注', 'url': '/27ca098faad33a8e4d109efe0112fd16'},
|
137
137
|
{'key': 'concept_macd', 'name': 'MACD', 'url': '/3400774e910fb611625b31d049d571fb'},
|
138
138
|
{'key': 'concept_cloud', 'name': '心似白云常自在', 'url': '/1d883188398a3a8c743748c5eb81fe7b'},
|
139
|
+
{'key': 'concept_vegetable', 'name': 'Veget', 'url': '/b1769a58f0f3d4a92bad61c97a2232f0'},
|
139
140
|
{'key': 'concept_zan', 'name': 'zangyn', 'url': '/860a3a9647efad436894b4aa3843da42'},
|
140
141
|
{'key': 'concept_wen', 'name': '崇文不尚武', 'url': '/b6fd64a2c54250b8ac039123e74e9b7e'},
|
141
142
|
{'key': 'concept_dao', 'name': '成长股事(大道)', 'url': '/7b7ea877f6793752e2b981d82da81e1b'},
|
142
|
-
{'key': '
|
143
|
+
{'key': 'concept_peng', 'name': '吴小朋同学', 'url': '/8aa7536ca01724a5d2b580b22dea15de'},
|
143
144
|
{'key': 'concept_bellwether', 'name': '龙头股', 'url': '/2995afdea420471e00c536182e711bef'},
|
144
145
|
{'key': 'concept_market_situation', 'name': '市值风云', 'url': '/02fdaf4d66cdecb092bcd65f569aa493'},
|
145
146
|
{'key': 'concept_down_top', 'name': '15-21年的超跌股', 'url': '/ae3bbf97a358392cfaa0ceb35cb3fb57'},
|
package/package.json
CHANGED
package/util.js
CHANGED
@@ -740,7 +740,7 @@ const Util = {
|
|
740
740
|
options["head_cols"].forEach(function (col) {
|
741
741
|
let td_attr = "", td_class = [];
|
742
742
|
if (col["id"]) {
|
743
|
-
|
743
|
+
td_attr += ' id="' + col["id"] + '"';
|
744
744
|
}
|
745
745
|
if (col["title"]) {
|
746
746
|
td_attr += ' title="' + col["title"] + '"';
|
@@ -749,7 +749,7 @@ const Util = {
|
|
749
749
|
td_attr += ' style="' + col["style"] + '"';
|
750
750
|
}
|
751
751
|
if (col["class"]) {
|
752
|
-
|
752
|
+
td_class.push(col["class"]);
|
753
753
|
}
|
754
754
|
if (col["colspan"]) {
|
755
755
|
if (col["colspan"] > 1) {
|
@@ -757,9 +757,6 @@ const Util = {
|
|
757
757
|
}
|
758
758
|
td_attr += ' colspan="' + col["colspan"] + '"';
|
759
759
|
}
|
760
|
-
if (td_class.length > 0) {
|
761
|
-
td_attr += ' class="' + td_class.join(" ") + '"';
|
762
|
-
}
|
763
760
|
if (col["select_id"]) {
|
764
761
|
let option_html = '<option value="">' + col["name"] + '</option>';
|
765
762
|
if (col["select_options"]) {
|
@@ -769,6 +766,9 @@ const Util = {
|
|
769
766
|
});
|
770
767
|
option_html = option_html.join("");
|
771
768
|
}
|
769
|
+
if (td_class.length > 0) {
|
770
|
+
td_attr += ' class="' + td_class.join(" ") + '"';
|
771
|
+
}
|
772
772
|
_html.push('<td', td_attr, '><label for="' + col["select_id"] + '"></label><select id="' + col["select_id"] + '">' + option_html + '</select></td>');
|
773
773
|
} else {
|
774
774
|
if (col["table_sort"]) {
|
@@ -782,6 +782,9 @@ const Util = {
|
|
782
782
|
col["name"] = Util.pack_html_link(col["link"], col["name"]);
|
783
783
|
}
|
784
784
|
}
|
785
|
+
if (td_class.length > 0) {
|
786
|
+
td_attr += ' class="' + td_class.join(" ") + '"';
|
787
|
+
}
|
785
788
|
let tooltip = "";
|
786
789
|
if (col["tooltip"]) {
|
787
790
|
is_tooltip = 1;
|