调整 上涨概率显示
This commit is contained in:
@@ -348,7 +348,7 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq
|
|||||||
if(!isNaN(xqPotentialIndexValue)){
|
if(!isNaN(xqPotentialIndexValue)){
|
||||||
//涨跌幅大于零
|
//涨跌幅大于零
|
||||||
if(parseInt(xqPotentialIndexValue)>=50){
|
if(parseInt(xqPotentialIndexValue)>=50){
|
||||||
html += "<div>下跌概率: <em class='up'>"+xqPotentialIndexValue+"%<i class='icon icon-arrow-red'></i></em></div>";
|
html += "<div>上涨概率: <em class='up'>"+xqPotentialIndexValue+"%<i class='icon icon-arrow-red'></i></em></div>";
|
||||||
}else{
|
}else{
|
||||||
html += "<div>下跌概率: <em class='down'>"+(parseInt(100)-parseInt(xqPotentialIndexValue))+"%<i class='icon icon-arrow-green'></i></em></div>";
|
html += "<div>下跌概率: <em class='down'>"+(parseInt(100)-parseInt(xqPotentialIndexValue))+"%<i class='icon icon-arrow-green'></i></em></div>";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user