sbd-npm 1.2.62 → 1.2.64
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 +3 -7
- package/package.json +1 -1
- package/util.js +23 -21
package/constant.js
CHANGED
@@ -135,23 +135,19 @@ const MenuList = [
|
|
135
135
|
'menu': [
|
136
136
|
{'key': 'concept_recommend', 'name': '关注', 'url': '/27ca098faad33a8e4d109efe0112fd16'},
|
137
137
|
{'key': 'concept_macd', 'name': 'MACD', 'url': '/3400774e910fb611625b31d049d571fb'},
|
138
|
-
{'key': 'concept_bellwether', 'name': '龙头股', 'url': '/2995afdea420471e00c536182e711bef'},
|
139
|
-
{'key': 'concept_market_situation', 'name': '市值风云', 'url': '/02fdaf4d66cdecb092bcd65f569aa493'},
|
140
138
|
{'key': 'concept_cloud', 'name': '心似白云常自在', 'url': '/1d883188398a3a8c743748c5eb81fe7b'},
|
141
139
|
{'key': 'concept_zan', 'name': 'zangyn', 'url': '/860a3a9647efad436894b4aa3843da42'},
|
142
140
|
{'key': 'concept_wen', 'name': '崇文不尚武', 'url': '/b6fd64a2c54250b8ac039123e74e9b7e'},
|
143
141
|
{'key': 'concept_dao', 'name': '成长股事(大道)', 'url': '/7b7ea877f6793752e2b981d82da81e1b'},
|
144
|
-
{'key': '
|
145
|
-
{'key': '
|
146
|
-
{'key': '
|
142
|
+
{'key': 'concept_vegetable', 'name': 'Veget', 'url': '/b1769a58f0f3d4a92bad61c97a2232f0'},
|
143
|
+
{'key': 'concept_bellwether', 'name': '龙头股', 'url': '/2995afdea420471e00c536182e711bef'},
|
144
|
+
{'key': 'concept_market_situation', 'name': '市值风云', 'url': '/02fdaf4d66cdecb092bcd65f569aa493'},
|
147
145
|
{'key': 'concept_down_top', 'name': '15-21年的超跌股', 'url': '/ae3bbf97a358392cfaa0ceb35cb3fb57'},
|
148
146
|
{'key': 'concept_auto_intelligent', 'name': '智能电动车', 'url': '/cd7be404357809849d267f24fceebcd2'},
|
149
147
|
{'key': 'concept_hk', 'name': '港股', 'url': '/ef12a56d360da9b20c79a763681de1e4'},
|
150
148
|
{'key': 'concept_us', 'name': '美股', 'url': '/f986a81550e4d8a902f8bc0ef07757a6'},
|
151
149
|
{'key': 'concept_chip', 'name': '芯片', 'url': '/491de7096b1cb9355766e5ffdd7018b6'},
|
152
150
|
{'key': 'concept_military', 'name': '军工', 'url': '/1eb37c30e6be05148ba47c8ca6498a48'},
|
153
|
-
{'key': 'concept_ah', 'name': 'AH股', 'url': '/16f12053b288726b5d4720de879c3b5c'},
|
154
|
-
{'key': 'concept_st', 'name': 'ST股', 'url': '/e0eb8a51da63f7ceb16a769d7d20bada'},
|
155
151
|
{'key': 'concept_ten', 'name': '十倍股', 'url': '/c08abb44c7d6ce6fa09a8a66421acb20'},
|
156
152
|
]
|
157
153
|
},
|
package/package.json
CHANGED
package/util.js
CHANGED
@@ -738,6 +738,25 @@ const Util = {
|
|
738
738
|
_html.push('<thead><tr>');
|
739
739
|
}
|
740
740
|
options["head_cols"].forEach(function (col) {
|
741
|
+
let td_attr = "", td_class = [];
|
742
|
+
if (col["id"]) {
|
743
|
+
td_attr += ' id="' + col["id"] + '"';
|
744
|
+
}
|
745
|
+
if (col["title"]) {
|
746
|
+
td_attr += ' title="' + col["title"] + '"';
|
747
|
+
}
|
748
|
+
if (col["style"]) {
|
749
|
+
td_attr += ' style="' + col["style"] + '"';
|
750
|
+
}
|
751
|
+
if (col["class"]) {
|
752
|
+
td_class.push(col["class"]);
|
753
|
+
}
|
754
|
+
if (col["colspan"]) {
|
755
|
+
if (col["colspan"] > 1) {
|
756
|
+
head_length += (col["colspan"] - 1);
|
757
|
+
}
|
758
|
+
td_attr += ' colspan="' + col["colspan"] + '"';
|
759
|
+
}
|
741
760
|
if (col["select_id"]) {
|
742
761
|
let option_html = '<option value="">' + col["name"] + '</option>';
|
743
762
|
if (col["select_options"]) {
|
@@ -747,28 +766,11 @@ const Util = {
|
|
747
766
|
});
|
748
767
|
option_html = option_html.join("");
|
749
768
|
}
|
750
|
-
|
751
|
-
|
752
|
-
let td_attr = "";
|
753
|
-
let td_class = [];
|
754
|
-
if (col["id"]) {
|
755
|
-
td_attr += ' id="' + col["id"] + '"';
|
756
|
-
}
|
757
|
-
if (col["title"]) {
|
758
|
-
td_attr += ' title="' + col["title"] + '"';
|
759
|
-
}
|
760
|
-
if (col["style"]) {
|
761
|
-
td_attr += ' style="' + col["style"] + '"';
|
762
|
-
}
|
763
|
-
if (col["class"]) {
|
764
|
-
td_class.push(col["class"]);
|
765
|
-
}
|
766
|
-
if (col["colspan"]) {
|
767
|
-
if (col["colspan"] > 1) {
|
768
|
-
head_length += (col["colspan"] - 1);
|
769
|
-
}
|
770
|
-
td_attr += ' colspan="' + col["colspan"] + '"';
|
769
|
+
if (td_class.length > 0) {
|
770
|
+
td_attr += ' class="' + td_class.join(" ") + '"';
|
771
771
|
}
|
772
|
+
_html.push('<td', td_attr, '><label for="' + col["select_id"] + '"></label><select id="' + col["select_id"] + '">' + option_html + '</select></td>');
|
773
|
+
} else {
|
772
774
|
if (col["table_sort"]) {
|
773
775
|
is_table_sort = 1;
|
774
776
|
td_class.push("table_sort");
|