<script>$(function () { var content = $(".refs").html(); var more = true; //限制字符个数 var hide = function () { $(".refs").each(function () { var maxheight = 120; if ($(this).text().length > maxheight) { $(this).text($(this).text().substring(0, maxheight)); $(this).html($(this).html() + '...'); more = true; $('.more').html("查看更多"); } else { $('.more').hide(); } }); }; hide(); $('.more').click(function () { if (more) { $(".refs").html(content); $(this).html("收起"); more = false; } else { hide(); } }); })cript>
101140-06-1
穗花杉双黄酮(Amentoflavone)
CAS: 1617-53-4;101140-06-1
化学式: C30H18O10
<"" ="xl" "">