<script type="text/javascript" class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$(".boolstate").each(function () {
if ($(this).text() == "偏多")
{ $(this).html("<span style=\"color:#6db001;float:left;\">暂缓献血</span>"); }
if ($(this).text() == "正常")
{ $(this).html("<span style=\"color:red;float:left;\">欢迎献血</span>"); }
if ($(this).text() == "偏少")
{ $(this).html("<span style=\"color:#ff5656;float:left;\">尽快献血</span><img src=\"/images/nn_131.gif\" style=\"padding-top:1px;\" />"); }
if ($(this).text() == "急需")
{ $(this).html("<span style=\"color:red;float:left;\">急需献血</span><img src=\"/images/nn_13.gif\" style=\"padding-top:1px;\" />"); }
})
});
</script>
共同学习,写下你的评论
评论加载中...
作者其他优质文章