📄 goodsdetail.aspx
字号:
function on_mouseover(image)
{
var img=document.getElementById("imageBig");
var aImage=document.getElementById("aImage");
var big=document.getElementById("big");
img.src=image.src;
aImage.href="imageBig.htm?"+image.src;
big.href="imageBig.htm?"+image.src;
}
</script>
<td align="center" width="25%"><table width="93%" class="tdbg"><tr align="left">
<td><!--<img onmouseover="javascript:this.className='clear'" onmouseout="javascript:this.className='blur'" class="blur" src="images/011.jpg" width="30px" height="30px"/>--><%=images%></td>
</tr></table></td>
</tr>
<tr>
<td align="center">
<asp:Button ID="btnFavorite" runat="server" Text="我要收藏" />
<input type="button" id="leaveMess" value="我要评价" onclick="location.href='#Lassess'"/></td>
</tr>
<tr height="10px"><td></td></tr>
<tr>
<td colspan="3" align="center" >
<table width="99%"><tr><td align="left">
<input type="button" id="goodsDetail" value="拍品详细信息" />
<input type="button" id="bidRecord" value="出价记录" onclick="location.href='#chujia'"/>
<input type="button" id="goodsMes" value="拍品评价" onclick="location.href='#assess'"/>
<input type="button" id="otherOfOwner" value="拍主其他拍品" runat="server" onserverclick="otherOfOwner_ServerClick"/>
<input type="button" id="bid" style=" color:#FF0000" value="我要出价" onclick="location.href='#bid'" />
</td></tr></table> </td>
</tr>
<tr>
<td colspan="3" align="center">
<table width="98%" class="tdbg" border="0">
<tr>
<td align="left">品相:八五成品相<BR>作者:龚自珍<BR>出版社:不详<BR>
出版时间:不详<BR>
开本:16开<BR>装订:线装<BR>详细描述:内容包括:《定庵文集》3卷,《续集》4卷,《补编》4卷,《补续录》《补古今体诗》《补杂诗》《补词选》各一卷,附:《定庵文集佚文》。开本:30*17厘米,竹纸全四册,每册80多页160多面,无水浸虫蛀,第一册天头有轻微鼠齿痕,离版框甚远,整体品相好。</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3" align="center"><table class="tdbg" width="98%" cellspacing="0" border="0">
<tr>
<td colspan="4" align="left" valign="middle" style=" background-color:#b3c9e6; border-bottom:thin"><a name="chujia"></a> <b>出价记录 </b>
<asp:button runat="server" ID="btnRefRecord" OnClick="btnRefRecord_Click" Text="刷新出价记录"/></td>
</tr>
<tr align="left">
<td style=" background-color:#CCCCCC"><strong> 买家</strong> </td>
<td style=" background-color:#CCCCCC"><strong>所出价格</strong></td>
<td style=" background-color:#CCCCCC"><strong>出价时间</strong></td>
<td style=" background-color:#CCCCCC"><strong>状态</strong></td>
</tr>
<tr>
<td colspan="4" align="center" valign="top">
<asp:GridView ID="GridView1" Width="100%" runat="server" AutoGenerateColumns="False" CellPadding="4" ShowHeader="false"
DataKeyNames="ID" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" OnRowDataBound="GridView1_RowDataBound" OnRowCreated="GridView1_RowCreated" >
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:TemplateField ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Left">
<ItemTemplate>
<a class="link1" href=""><%# DataBinder.Eval(Container.DataItem,"userID")%></a><a onclick="<%# "sendMes('"+DataBinder.Eval(Container.DataItem,"userID")+"')" %>" style="CURSOR: pointer" class="link2">[发消息]</a>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="220px" ItemStyle-HorizontalAlign="Left">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"myPrice")%><%=scale %>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="bidTime" ItemStyle-Width="250px" HeaderText="bidTime" ItemStyle-HorizontalAlign="Left" SortExpression="bidTime" />
<asp:BoundField DataField="bidState" HeaderText="bidState" ItemStyle-HorizontalAlign="Left" SortExpression="bidState" />
</Columns>
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:onlinePaimaiConnectionString2 %>"
SelectCommand="SELECT * FROM [bidOfGoods] ORDER BY [bidTime] DESC"></asp:SqlDataSource>
</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3" align="center"><table class="tdbg" width="98%" cellspacing=""="0" border="0">
<tr>
<td style=" background-color:#b3c9e6; border-bottom:thin" align="left"><a name="bid"></a> <b>我要出价</b></td>
</tr>
<tr>
<td align="center">
<asp:panel runat="server" ID="plHasResistered">
<table width="98%" border="0">
<tr>
<td align="left"><strong>敬告:</strong>您的出价行为表明已经认同了小猪之家<b>《拍卖相关规则》</b>,并承担与之相应的责任。</td>
</tr>
<tr align="left">
<td>当前价格:<STRONG class=red><SPAN><%=priceNow%><%=scale%></SPAN></STRONG> 起拍价:<STRONG class=red><%=startPrice%><%=scale%></STRONG>
最小加价幅度:<STRONG class=red><%=leastAdd %><%=scale %></STRONG> </td>
</tr>
<tr>
<td style="background-color:#FFFFCC">
<strong>您的竞买价:
<asp:TextBox onfocus="on_focus(this,'请填写竞价...')" onblur="on_blur(this,'请填写竞价...')" ID="tbBidPrice" Text="请填写竞价..." runat="server" Width="87px"> </asp:TextBox>
</STRONG> <asp:Button
ID="Button1" runat="server" Text="竞价购买" OnClick="Button1_Click" />
[只输入数字即可,<STRONG class=red>单位:<%=scale %></STRONG>。] <asp:CompareValidator ControlToValidate="tbBidPrice" ID="cv"
runat="server" ErrorMessage="请输入数字!" Type="Double"></asp:CompareValidator> </td>
</tr>
</table>
<script type="text/javascript" language="javascript">
var state=document.getElementById("state");
var btn=document.getElementById("btnChu");
var lbl=document.getElementById("ms");
var btn1=document.getElementById("Button1");
if(state.innerHTML=="已结束")
{
btn.disabled="disabled";
btn1.disabled="disabled";
}
</script>
</asp:panel>
<asp:panel runat="server" ID="plHasNotResistered">
<table width="98%" border="0">
<tr>
<td align="left"><strong>敬告:</strong>您的出价行为表明已经认同了小猪之家<b>《拍卖收费办法》</b>和<b>《拍卖相关规则》</b>,并承担与之相应的责任。</td>
</tr>
<tr align="left">
<td><strong class="red">对不起!未登录的用户不能竞买!请先登录,如若没有账号请先注册....</strong></td>
</tr>
<tr>
<td style="background-color:#FFFFCC">
<strong>用户名:
<asp:TextBox onfocus="on_focus(this,'请填用户名...')" onblur="on_blur(this,'请填用户名...')" ID="tbUser" Text="请填用户名..." runat="server" Width="87px"> </asp:TextBox>
密码:
<asp:TextBox ID="tbPassword" runat="server" TextMode="Password" Width="86px" ValidationGroup="aa"></asp:TextBox></STRONG> <asp:Button
ID="btnLogin" runat="server" Text="登录" ValidationGroup="aa" OnClick="btnLogin_Click" /> <a href="" class="link1" onclick="reg(this)">注册</a>
<asp:RequiredFieldValidator runat="server" ID="rfv" ControlToValidate="tbPassword" ErrorMessage="[密码不能为空!]" ValidationGroup="aa" /></td>
</tr>
</table>
</asp:panel> </td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3" align="center">
<a name="assess"></a>
<table class="tdbg" width="98%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td colspan="4" align="left" valign="middle" style=" background-color:#b3c9e6; border-bottom:thin"> <b>拍品评论 </b></td>
</tr>
<tr>
<td width="20%" style=" background-color:#CCCCCC" align="left"><strong> 评论人</strong> </td>
<td width="57%" style=" background-color:#CCCCCC" align="left"><strong> 评论内容</strong></td>
<td width="23%" style=" background-color:#CCCCCC" align="left"><strong> 评论时间</strong></td>
</tr>
<tr>
<td colspan="4">
<asp:GridView Width="100%" ID="GridView2" runat="server" AutoGenerateColumns="False" CellPadding="4" ShowHeader="false"
DataKeyNames="assessID" DataSourceID="SqlDataSource2" ForeColor="#333333" GridLines="None" OnRowCreated="GridView2_RowCreated">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:TemplateField ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Left">
<ItemTemplate>
<a class="link1" href=""><%# DataBinder.Eval(Container.DataItem,"userID")%></a><a style="CURSOR: pointer" onclick="<%# "sendMes('"+DataBinder.Eval(Container.DataItem,"userID")+"')" %>" class="link2">[发消息]</a>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="430px" DataField="conOfAssess" HeaderText="conOfAssess" SortExpression="conOfAssess" />
<asp:BoundField ItemStyle-HorizontalAlign="Left" DataField="assessTime" HeaderText="assessTime" SortExpression="assessTime" />
</Columns>
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:onlinePaimaiConnectionString2 %>"
SelectCommand="SELECT * FROM [assess] ORDER BY [assessTime] DESC"></asp:SqlDataSource>
</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3" align="center">
<a name="Lassess"></a>
<table width="98%" style="border:#b3c9e6 1px solid;" border="0">
<tr>
<td width="21%" style="border-right:#b3c9e6 1px solid;" rowspan="2"><b>拍品评论: </b></td>
<td width="79%">
<asp:TextBox ID="TextBox1" runat="server" Rows="5" TextMode="MultiLine" Width="557px" ValidationGroup="ass"></asp:TextBox> </td>
</tr>
<tr>
<td><asp:Button runat="server" ID="btnAssess" Text="提交" OnClick="btnAssess_Click1"/>
[请输入300个汉字以内的留言!]<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="评论内容为空,不好吧!" ValidationGroup="ass"></asp:RequiredFieldValidator></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<uc2:Tail ID="Tail1" runat="server" />
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -