作者 王智

baoxiu22

... ... @@ -289,7 +289,7 @@
<span class="label label-success pull-right">{:__('Real time')}</span>
<h5 onmouseover="func()" onmouseout="func1()">
{$vo.zhandian_name}</h5>
<input type="text" name="" id="input1" value="{$vo.id}" style="display: block">{$vo.id}
<div id="div1">{$vo.id}</div>
</div>
<div class="panel-content">
<h1>{$vo.baoxiu_num}</h1>
... ... @@ -343,11 +343,11 @@
<!--</script>-->
<script>
var c;
var input1 = document.getElementById("input1").value;
var div1 = document.getElementById("div1").innerHTML;
var func = function () {
c = setTimeout(function () {
console.log('鼠标悬浮');
console.log(input1);
console.log(div1);
}, 2000);
}
var func1 = function () {
... ...