12,166
社区成员




function changePrice(id)
{
var price = $("#" + id + "price").html();
$("#spPrice").html("¥"+ parseFloat(price));
}
<div class="mall_detailwrite_price">
<p>售价:<span id='spPrice'>¥<%= Price %></span> <del style="line-height: 24px;">原价:¥<%= BefroePrice %></del></p>
</div>
<div class="mall_detailwrite_xz">
<p>选择型号:<%= Size %><input id="hidSize" class="hid" type="hidden" /></p>
</div>
IList<G_ProModel> gpm = new List<G_ProModel>();
S_ProModel spm = new S_ProModel();
if (!object.Equals(Request.QueryString["id"], null))
{
id = Convert.ToInt32(Request.QueryString["id"]);
gpm = spm.GetProModelList(0, "proID=" + id + " and CategoryID=1", "SizeOrDate", 1);
for (int i = 0; i < gpm.Count; i++)
{
Size += "<span>" + gpm[i].SizeOrDate + "</span>";
}
}
<%= Size %>
这段绑定出来的html是什么样子的