7.
@洋 我想要你的 带点的那条轴,可以给我研究一下你的Css吗?
9.
@再也不会来了 轴是盒子边框,颜色是rgba,点就是png图片而已……
10.
@洋 我真的没有时间研究这个,寒假研究了一个多小时,最后完成了一半, 你把局部代码给我吧。
11. .point {
display:inline;
position:absolute;
left:0px;
margin:0px;
}
.content {
margin:0px 19px;
border:0px;
border-left:2px #888 solid;
padding:0px 25px;
}
.item {
clear:both;
background:rgba(20,20,200,0.2);
margin:20px 0px;
padding:3px;
}
#下面是smarty模板文件对应片段代码
<div class="content">
{nocache} {$content} {/nocache}
<div class="clear"></div>
</div>
#下面是PHP 文件的html片段,就是模拟一下界面……
for($i=0;$i<10;++$i){
$con .= '<div class="item">
<img class="point" src="img/point.png" />
<div class="num left">'.($i+1).'</div>
<div class="top right"></div>
<div class="time right"><h2>5</h2>日<h4>5</h4>月2013 18:20</div>
<div class="title">这是标题这是标题这是标题这是标题这是标题这是标题这是标题 这是标题这是标题这是标题啦
</div>
<div class="des">摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要
</div>
</div>';
}
$myblog->assign('content',$con);
@再也不会来了
12. .point {
display:inline;
position:absolute;
left:0px;
margin:0px;
}
.content {
margin:0px 19px;
border:0px;
border-left:2px #888 solid;
padding:0px 25px;
}
.item {
clear:both;
background:rgba(20,20,200,0.2);
margin:20px 0px;
padding:3px;
}
#下面是smarty模板文件对应片段代码
<div class="content">
{nocache} {$content} {/nocache}
<div class="clear"></div>
</div>
#下面是PHP 文件的html片段,就是模拟一下界面……
for($i=0;$i<10;++$i){
$con .= '<div class="item">
<img class="point" src="img/point.png" />
<div class="num left">'.($i+1).'</div>
<div class="top right"></div>
<div class="time right"><h2>5</h2>日<h4>5</h4>月2013 18:20</div>
<div class="title">这是标题这是标题这是标题这是标题这是标题这是标题这是标题 这是标题这是标题这是标题啦
</div>
<div class="des">摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要 摘要
</div>
</div>';
}
$myblog->assign('content',$con);
@再也不会来了
15.
@小噱 暂时只有一个界面……下午才开工的?慢慢来,我时间也不多。合适的时候会来源,后台之类的,慢慢来……
17. 像开源这种程序我一直支持..记得来waphome.org发布!谢谢!
18.
@雷子献,嘎嘎。告诉你吧,上次我的id里有10亿是串的你的号,发了个挖宝。嘎嘎,别在意啊。