作者 王智

baoxiu22

... ... @@ -279,31 +279,25 @@
<div class="col-lg-12">
</div>
<div id="open">
<?php foreach ($row as $info) { ?>
<div class="col-xs-6 col-md-3">
<div class="panel bg-blue">
<div class="panel-body">
<div class="panel-title">
<span class="label label-success pull-right">{:__('Real time')}</span>
<h5><?= $info["zhandian_name"]?></h5>
</div>
<div class="panel-content">
<h1 class="no-margins"><?= $info["baoxiu_num"]?></h1>
<!--<div class="stat-percent font-bold text-gray"><i class="fa fa-commenting"></i>-->
<!--1234-->
<!--</div>-->
<small>{:__('Category count tips')}</small>
</div>
<?php foreach ($row as $info) { ?>
<div class="col-xs-6 col-md-3">
<div class="panel bg-blue">
<div class="panel-body">
<div class="panel-title">
<span class="label label-success pull-right">{:__('Real time')}</span>
<h5><?= $info["zhandian_name"]?></h5>
</div>
<div class="panel-content">
<h1 class="no-margins"><?= $info["baoxiu_num"]?></h1>
<!--<div class="stat-percent font-bold text-gray"><i class="fa fa-commenting"></i>-->
<!--1234-->
<!--</div>-->
<small>{:__('Category count tips')}</small>
</div>
</div>
</div>
<?php } ?>
</div>
<div id="close" style="background-color: red">
</div>
<?php } ?>
</div>
</div>
... ... @@ -343,18 +337,3 @@
}
;
</script>
<script>
window.onload = function () {
var open = document.getElementById("open");
var close = document.getElementById("close");
close.style.display = "none";
open.onmouseover = function () {
close.style.display = "block";
open.style.display = "none";
};
open.onmouseout = function () {
open.style.display = "block";
close.style.display = "none";
};
};
</script>
... ...