...
|
...
|
@@ -282,7 +282,7 @@ |
|
|
<?php foreach ($row as $info) { ?>
|
|
|
<div class="col-xs-6 col-md-3">
|
|
|
<div class="panel bg-blue">
|
|
|
<div class="panel-body" id="open" onclick="">
|
|
|
<div class="panel-body" onmouseover="func()" onmouseout="func1()" id="open" onclick="">
|
|
|
<div class="panel-title">
|
|
|
<span class="label label-success pull-right">{:__('Real time')}</span>
|
|
|
<h5><?= $info["zhandian_name"]?></h5>
|
...
|
...
|
@@ -338,18 +338,12 @@ |
|
|
;
|
|
|
</script>
|
|
|
<script type="text/javascript">
|
|
|
var Open = document.getElementById("open");
|
|
|
|
|
|
function HoverAndMouseout() {
|
|
|
Open.hover(
|
|
|
function () {
|
|
|
console.log(1);
|
|
|
$(this).css({"width": "500px"});//移上宽度变为500
|
|
|
});
|
|
|
Open.mouseout(
|
|
|
function () {
|
|
|
console.log(2);
|
|
|
$(this).css({"width": "170px"});//移开还原
|
|
|
});
|
|
|
function func() {
|
|
|
// var Open = document.getElementById("open");
|
|
|
console.log(1);
|
|
|
}
|
|
|
|
|
|
function func1() {
|
|
|
console.log(2);
|
|
|
}
|
|
|
</script> |
...
|
...
|
|