Discuz.Web/templates/default3.1/mall/buygoods.htm
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%inherits "Discuz.Mall.Pages.buygoods"%>
<%template _header%>
<!--TheCurrent start-->
<%if page_err==0%>
<%if {ispost}%>
<%template _msgbox%>
<%else%>
<div id="foruminfo">
<div id="nav">
<a id="A1" href="forumindex.aspx">{config.forumtitle}</a> » {goodscategoryinfo.pathlist} » <strong>购买商品</strong>
</div>
</div>
<script language="javascript" src="javascript/template_trade.js"></script>
<script type="text/javascript">
zoomstatus = parseInt(1);
var feevalue = 0;
var price = {goodsinfo.price};
</script>
<form method="post" id="tradepost" name="tradepost" action="buygoods.aspx?goodsid={goodsinfo.goodsid}">
<div class="box tradeinfo">
<h1>{goodsinfo.title}</h1>
<div class="imageviewer" style="padding:20px 0;">
<%set {aspxrewriteurl} = this.ShowGoodsAspxRewrite({goodsinfo.goodsid})%>
<a href="{aspxrewriteurl}">
<%if {goodsinfo.goodspic}==""%>
<img id="goodspic" style="width:80px;" src="templates/{templatepath}/images/mall/nogoods_small.gif" onerror="this.onerror=null;this.src='{goodsinfo.goodspic}';" alt="{goodsinfo.title}">
<%else%>
<img id="goodspic" style="width:80px;" src="upload/{goodsinfo.goodspic}" onerror="this.onerror=null;this.src='{goodsinfo.goodspic}';" alt="{goodsinfo.title}">
<%/if%>
</a>
</div>
<div class="itemsummary" style="margin-left:-40px;">
<ul id="priceinfo">
<li class="currentprice" style="padding-bottom: 5px;"><span style="margin-top: 5px;">现价:</span><em>{goodsinfo.price}</em>元</li>
<li class="location"><span>所在地:</span>{goodsinfo.locus}</li>
<li><span>卖家:</span>
<%set {aspxrewriteurl} = this.UserInfoAspxRewrite({goodsinfo.selleruid})%>
<a href="{aspxrewriteurl}" target="_blank">{goodsinfo.seller}</a>
<%if {goodsinfo.tradetype}==1%>
<a href="https://www.alipay.com/trade/i_credit.do?email={goodsinfo.account}" target="_blank"><img src="templates/{templatepath}/images/alipaysmall.gif" border="0" />支付宝账户信用信息</a>
<%/if%>
</li>
</ul>
</div>
</div>
<div class="mainbox">
<h3><%if {goodstradelog.id}<=0 %>
确认购买信息
<%else%>
交易单
<%/if%></h3>
<table summary="确认购买信息" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>支付总额</th>
<td><strong id="caculate"></strong> 元</td>
</tr>
<tr>
<th><label for="number">购买数量</label></th>
<td><input type="text" id="number" name="number" onkeyup="calcsum()" value="1" /></td>
后面还有 95 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
