Browse Source

优化CSS

1.x
xiaoz 6 years ago
parent
commit
5c140bf631
  1. 4
      found.php
  2. 14
      static/style.css

4
found.php

@ -17,14 +17,14 @@ @@ -17,14 +17,14 @@
?>
<div class="layui-container" style = "margin-bottom:6em;">
<div class="layui-row">
<div class="layui-row" >
<div class="msg"><i class="layui-icon">&#xe645;</i> 此页面显示本月上传图片,如果不显示说明本月暂未上传图片。</div>
<div id = "found-img" class = "layui-col-space20">
<?php foreach ($datas as $img) {
$imgurl = $domain.$img['path'];
$imgid = $img['id'];
?>
<div class="layui-col-lg4">
<div class="layui-col-lg4" style = "height:220px;border:1px solid #ECECEC;margin-top:1em;">
<!-- <a href="javascript:;" onclick = "userpreview('<?php echo $imgurl ?>',<?php echo $imgid; ?>)"></a> -->
<img lay-src="<?php echo $imgurl ?>" layer-src="<?php echo $imgurl ?>" src = "./static/loading32.gif">
</div>

14
static/style.css

@ -72,15 +72,15 @@ @@ -72,15 +72,15 @@
margin-right:auto;
}
#found-img{
margin-top:4em;
margin-top:1em;
}
#found-img img{
max-width: 100%;
max-height:100%;
border:1px solid #ECECEC;
/*border:1px solid #ECECEC;*/
border-radius:5px;
margin-top:1em;
/*margin-top:1em;*/
margin-left:auto;
margin-right:auto;
}
@ -95,10 +95,16 @@ @@ -95,10 +95,16 @@
#left-menu{
top:4em;
}
.picadmin{
margin:0 auto;
height:200px;
border:1px solid #ECECEC;
margin-top:1em;
}
.picadmin img{
max-width: 100%;
max-height:100%;
border:1px solid #ECECEC;
/*border:1px solid #ECECEC;*/
border-radius:5px;
}
.page{

Loading…
Cancel
Save