重新写了价,循环体换上这个
<style>
.list_right_hot_pr {
width:220px;
height:96px;
float:left;
border-right:1px solid #84C9EA;
padding-right:25px;
padding-top: 12px;
padding-left: 25px;
}
.list_right_hot_pr img {
width:90px;
height:90px;
padding:4px;
margin-right:6px;
float:left;
border:1px solid #ccc;
background-color:#fff;
}
.list_right_hot_pr h2 {
font-size:14px;
font-weight:normal;
color: #333;
line-height:18px;
}
.list_right_hot_pr h2 a {
width:120px;
color: #333;
text-decoration:none;
}
.list_right_hot_pr h2 a:hover {
color: #cc0000;
text-decoration:none;
}
.list_right_hot_pr p {
height:30px;
line-height:30px;
font-size:12px;
color: #cc0000;
}
.list_right_hot_pr span {
color: #cc0000;
font-family:Arial;
font-size:12px;
}
.list_right_hot_prA {
width:220px;
height:96px;
float:left;
padding-top: 12px;
padding-left: 25px;
}
.list_right_hot_prA img {
width:90px;
height:90px;
padding:4px;
margin-right:6px;
float:left;
border:1px solid #ccc;
background-color:#fff;
}
.list_right_hot_prA h2 {
font-size:14px;
font-weight:normal;
color: #333;
line-height:18px;
}
.list_right_hot_prA h2 a {
color: #333;
text-decoration:none;
}
.list_right_hot_prA h2 a:hover {
color: #cc0000;
text-decoration:none;
}
.list_right_hot_prA p {
height:30px;
line-height:30px;
font-size:12px;
color: #cc0000;
}
.list_right_hot_prA span {
color: #cc0000;
font-family:Arial;
font-size:12px;
}
</style>
<div class="list_right_hot_box">
[loop=3]
<div class="list_right_hot_prA">
<h2>
<a href='{$Field(ID,GetInfoUrl,5,1)}' target="_blank">
<img src='{$Field(PhotoUrl,Text,0,...,0,)}' alt='{$Field(Title,Text,0,...,0,)}'
width="78" height="78" onerror="src='../../images/nopic.jpg'" /></a><a href='{$Field(ID,GetInfoUrl,5,1)}'
title='{$Field(Title,Text,0,...,0,)}' target="_blank">{$Field(Title,Text,0,...,0,)}</a></h2>
<p>
<span>市场价格: ¥{$Field(Price_Market,Num,0,2)}元</span>
<br>
<span>科汛价格: ¥{$Field(Price,Num,0,2)}元</span>
</p>
</div>
[/loop]
</div>