首页自适应bug
This commit is contained in:
12
.idea/workspace.xml
generated
12
.idea/workspace.xml
generated
@@ -6,18 +6,6 @@
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="4bc89476-3ad2-4028-ab7f-8bbdfce6a0f0" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/15/dfd35f20ab3bfb99d8ba2275cbc142.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/29/87299ed82abe41e34ad72ad2252d69.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/31/8e96ee85dd912c4e0338bb54078732.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/44/c10c7e1b5fe1b59ef1daababce97ea.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/7f/43685433cb7b053fc25679cc4a473e.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/8e/287457582475174c4ce6b1ef7daa34.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/aa/54d5a0f00143a7d4deda7bcc8b5437.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/b3/aa26c3e083dd4303eb87f6f626dc4e.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/d4/b0cfa16c008423bcb805cac827dc85.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/f2/481f823f955f04ea0c1c6d8c2e0189.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/cache/2775a0b6acc2ed6e6929f76d12caf1ab/f5/0a1b2290c9ad9e22f30ef6d5d8950c.php" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/runtime/temp/a5e210a649a5e95e997b060b5952c7de.php" beforeDir="false" />
|
||||
</list>
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
|
@@ -14,6 +14,7 @@
|
||||
<style>
|
||||
.lengchen{
|
||||
height: 900px;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.lengchen .lc1{
|
||||
font-weight: bold;
|
||||
@@ -24,92 +25,90 @@
|
||||
line-height:200px;
|
||||
}
|
||||
.lengchen .lc2{
|
||||
margin-left: 300px;
|
||||
margin-top: 70px;
|
||||
margin-right: 30px;
|
||||
margin-left: 16%;
|
||||
margin-top: 4%;
|
||||
float:left;
|
||||
width:600px;
|
||||
width:35%;
|
||||
height: 270px;
|
||||
}
|
||||
.lengchen .lc3{
|
||||
margin-top: 50px;
|
||||
margin-top: 3%;
|
||||
margin-left: 2%;
|
||||
float:left;
|
||||
width:600px;
|
||||
height: 300px;
|
||||
width:37%;
|
||||
background: #dc2529;
|
||||
}
|
||||
.lengchen .lc3 .lc4{
|
||||
font-size: 20px;
|
||||
font-size: 18px;
|
||||
float:left;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
margin-top: 90px;
|
||||
margin-left: 60px;
|
||||
width:300px;
|
||||
height: 30px;
|
||||
color: white;
|
||||
margin-top: 10%;
|
||||
margin-left: 8%;
|
||||
width:60%;
|
||||
height: 10%;
|
||||
}
|
||||
.lengchen .lc3 .lc5{
|
||||
font-size: 16px;
|
||||
font-size: 18px;
|
||||
float:left;
|
||||
color: #fff;
|
||||
margin-top: 10px;
|
||||
padding-top: 15px;
|
||||
margin-left: 60px;
|
||||
width:500px;
|
||||
height: 60px;
|
||||
color: white;
|
||||
margin-top: 1%;
|
||||
padding-top: 2%;
|
||||
margin-left: 8%;
|
||||
width:85%;
|
||||
height: 180px;
|
||||
border-top: 1px solid rgba(255,255,255,0.4);
|
||||
line-height: 1.5;
|
||||
}
|
||||
.lengchen2{
|
||||
height: 400px;
|
||||
padding-left: 160px;
|
||||
padding-left: 10%;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.lengchen2 .sheji2{
|
||||
float: left;
|
||||
width: 350px;
|
||||
width: 20%;
|
||||
height: 200px;
|
||||
background:#f5f5f5 ;
|
||||
margin-top: 150px;
|
||||
margin-right: 50px;
|
||||
background:#fff ;
|
||||
margin-top: 10%;
|
||||
margin-right: 4%;
|
||||
}
|
||||
.lengchen2 .sheji2 .ren1{
|
||||
font-size: 16px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
width: 220px;
|
||||
height: 50px;
|
||||
margin-top: 30px;
|
||||
background:#f5f5f5 ;
|
||||
width: 60%;
|
||||
margin-top: 5%;
|
||||
background: #fff;
|
||||
}
|
||||
.lengchen2 .sheji2 .ren2{
|
||||
width: 100px;
|
||||
width: 30%;
|
||||
height: 100px;
|
||||
float: left;
|
||||
margin-left: 230px;
|
||||
margin-left: 8%;
|
||||
background: #fff;
|
||||
margin-top: -100px;
|
||||
margin-top: -8%;
|
||||
-moz-border-radius: 50px;
|
||||
-webkit-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
|
||||
}
|
||||
.lengchen2 .sheji2 .ren3{
|
||||
font-size: 14px;
|
||||
color: grey;
|
||||
float: left;
|
||||
width: 300px;
|
||||
width: 95%;
|
||||
height: 60px ;
|
||||
background:#f5f5f5 ;
|
||||
margin-left: 25px;
|
||||
margin-top: 10px;
|
||||
background: #fff;
|
||||
margin-left: 4%;
|
||||
margin-top: 4%;
|
||||
}
|
||||
.lengchen2 .sheji2 .ren4{
|
||||
font-size: 14px;
|
||||
float: left;
|
||||
width: 80px;
|
||||
width: 30%;
|
||||
height: 30px;
|
||||
margin-left: 260px;
|
||||
margin-top: 10px;
|
||||
margin-left: 65%;
|
||||
margin-top: 3%;
|
||||
border: 1px solid #ccc;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
@@ -286,7 +285,7 @@
|
||||
<dl>
|
||||
<!--<dt>{$v[cat_name]}</dt>-->
|
||||
<tpshop sql="select * from `__PREFIX__article` where cat_id = $v[cat_id] and is_open=1 limit 5" key="k2" item='v2'>
|
||||
<dd class="lc2"><img src="{$v2[thumb]}"></dd>
|
||||
<dd class="lc2"><img style="max-width:100%;max-height:100%;" src="{$v2[thumb]}"></dd>
|
||||
<div class="lc3">
|
||||
<dd class="lc4"><a href="{:U('Home/Article/detail',array('article_id'=>$v2[article_id]))}">{$v2[title]}</a></dd>
|
||||
<dd class="lc5"><a href="{:U('Home/Article/detail',array('article_id'=>$v2[article_id]))}">{$v2[description]}</a></dd></div>
|
||||
|
@@ -1048,7 +1048,7 @@ ul,ol,li{
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
color:#58747f!important;
|
||||
color:#fff;
|
||||
}
|
||||
span{
|
||||
color:#678386;
|
||||
|
Reference in New Issue
Block a user