sbd-npm 1.5.62 → 1.5.63
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/package.json +1 -1
- package/stock_basics.js +3 -3
package/package.json
CHANGED
package/stock_basics.js
CHANGED
|
@@ -210,9 +210,9 @@ let Stock = {
|
|
|
210
210
|
if (item.is_margin_minimum) {
|
|
211
211
|
remark_html.push("<a class='btn btn-xs btn-danger' href='" + Util.get_url("rank_margin_minimum") + "'>融资余额创新低</a>");
|
|
212
212
|
}
|
|
213
|
-
if (item.
|
|
214
|
-
let
|
|
215
|
-
remark_html.push("<b class='text-success'>最近解禁<a href='" + Util.get_url("holder_restricted") + "?tab=
|
|
213
|
+
if (item.restricted_date && item.restricted_date > 0) {
|
|
214
|
+
let restricted_date = Util.seconds_to_format(item.restricted_date, "%Y-%m-%d");
|
|
215
|
+
remark_html.push("<b class='text-success'>最近解禁<a href='" + Util.get_url("holder_restricted") + "?tab=restricted_list&date=" + restricted_date + "'>" + restricted_date + "</a></b>, ");
|
|
216
216
|
}
|
|
217
217
|
if (item.price > 0 && item.price < item.block_trade_price) {
|
|
218
218
|
remark_html.push("<b class='text-danger'>当前价小于最近<a href='" + Util.get_url("daily_block") + "?code=" + item.code + "&start_date=" + Util.seconds_to_format(Stock.ttm_second, "%Y-%m-%d") + "'>大宗交易价(" + item.block_trade_price + ")</a></b>, ");
|