/* * @Description: * @Version: 1.0 * @Author: yangsx * @Date: 2019-11-29 14:24:10 * @LastEditors: yangsx * @LastEditTime: 2019-12-02 14:34:01 */ $("#mapSearch").click(function() { var searchText = $("#mapSearchText").val(); var str = ""; for (var i = 0; i < 5; i++) { str += "
二氧化硫
" + "SO₂
" + "

1,009g/mol

"; } $(".map_tool_monitor_content").html(str); $(".map_tool_monitor").show(); }); $("#monitorClose").click(function() { $(".map_tool_monitor, #monTitle").hide(); });