62,243
社区成员




<div id="fd" style="display:none;opacity:1;">
<a onclick="jia('<%# Eval("Pro_Id") %>')"><img src="img/ProMu/muban/点击-加号按钮.png" /></a>
<input type="button" value="1" name="pnums" style="height:36px; width:36px" /><lable style="font-family:黑体; font-size:150%; color:#5b3a1c">份</lable>
<a onclick="jia('<%# Eval("Pro_Id") %>')"><img src="img/ProMu/muban/点击-减号按钮.png" /></a>
</div>
function jia(ids) {
var array = document.getElementsByName("pnums");
array[ids-1].value++;
}
function jian(ids) {
var array = document.getElementsByName("pnums");
array[ids - 1].value--;
}
<div id='<%# Eval("Pro_Id") %>' class="divDetails">
<table width="1000" height="549" border="0" >
<tr>
<td width="374" rowspan="3">
<div >
<img src='img/<%# Eval("Pro_Image") %>' style="height:455px; width:455px;" alt="" />
</div>
</td>
<td height="35" colspan="2">
<div class="dl_title">
菜品:<%# Eval("Pro_Name") %></div>
</td>
</tr>
<tr>
<td height="162" colspan="2">
<div class="dl_author">
菜系:<%# Eval("ProType.Type_Name")%></div>
<div class="dl_editorcomment" >
介绍:<%# Eval("Pro_Detail")%></div>
<div class="dl_unitprice">
价格:<%# Eval("Pro_Price","{0:f2}")%></div><br />
口味:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<h5><p>请根据您的需要,填写您对口味的喜好!!</p></h5>
<table>
<tr>
<td> <a onclick="jia('<%# Eval("Pro_Id") %>')"><img src="img/ProMu/muban/点击-加号按钮.png" /></a></td>
<td> <input type="button" value="1" name="pnums" style="height:36px; width:36px" /><lable style="font-family:黑体; font-size:150%; color:#5b3a1c">份</lable></td>
<td> <a onclick="jian('<%# Eval("Pro_Id") %>')"><img src="img/ProMu/muban/点击-减号按钮.png" /></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="196" height="138">
<div>
<asp:Button ID="btnCai" BackColor="DarkRed" runat="server" Height="39px" Width="138px" Text="点菜" CommandName="OK" CommandArgument='<%# Eval("Pro_Id")%>'></asp:Button>
</div></td>
<td width="187"> <div>
<a onclick="closeed('<%# Eval("Pro_Id") %>');return false;"><asp:Button ID="Button2" runat="server" Height="39px" Width="138px" Text="取消" CommandName="NO" CommandArgument='<%# Eval("Pro_Id")%>'></asp:Button></a>
</div></td>
</tr>
</table>
</div>