调整 loading 效果, 调整 js 先em css效果

This commit is contained in:
raoyanhui
2018-03-29 17:44:04 +08:00
parent 58f361aae2
commit b58cc2781a
@@ -13,9 +13,9 @@
<link rel="stylesheet" href="../../css/theme-orange.css">
<style>
em{font-style:normal;}
/*em{font-style:normal;}
em.up{color:#ff1100;}
em.down{color:#2cb66a;}
em.down{color:#2cb66a;}*/
.list-block .item-title{font-size:0.85rem;}
.list-block .item-title span.span01{font-size:0.7rem;color:#666;margin-left:0.3rem;}
.icon-add{width:0.6rem;height:0.6rem;background:url(../../images/icon-add.png) no-repeat center center;background-size:100%;margin-right:0.3rem;}
@@ -159,7 +159,7 @@ function selectEvaluateList(){
htmlContent = htmlContent + "<div>近30天涨跌幅: <em class='up'>"+xqOneMonthUpDownRangeValue+"%<i class='icon icon-arrow-red'></i></em></div>";
}else{
//涨跌幅小于零
htmlContent = htmlContent + "<div>近30天涨跌幅: <em class='down'>"+xqOneMonthUpDownRangeValue+"%<i class='icon icon-arrow-green'></i></em></div>";
htmlContent = htmlContent + "<div>近30天涨跌幅: <em class='down'>"+Math.abs(xqOneMonthUpDownRangeValue)+"%<i class='icon icon-arrow-green'></i></em></div>";
}
}else{
//为非数字清空放空格