自定义捐款/付款前台模板目录为:
/gathering/show.html
其中show.html可以由后台自定义文件
一、付款界面(/gathering/show.html)代码:
{template “header.html”}
付款标题:{$title}
付款表单:
{$payform}
{template “footer.html”}
二、付款表单(config/pay/gathering.html)界面代码:
{dr_form_hidden()} <div class="form-group">
<label class="col-md-3 control-label">支付金额</label>
<div class="col-md-2">
{if $html.pay_value}
<input type="hidden" value="{$html.pay_value}" name="pay[money]">
<p class="form-control-static fc-price-color"> <i class="fa fa-rmb"></i> {number_format($html.pay_value, 2)} 元</p>
{else}
<input type="text" name="pay[money]" value="{$html.pay_value}" class="form-control">
{/if}
</div>
</div>
<div class="form-group">
<label class="col-md-3 c

本文介绍了自定义捐款或付款的前端界面设计,包括/gathering/show.html和config/pay/gathering.html两个关键页面的HTML代码。付款界面包含付款标题、支付金额输入、账户余额显示以及多种付款方式的选择。用户可以自定义支付金额,查看账户余额,并通过按钮选择不同的付款方式进行确认付款操作。
最低0.47元/天 解锁文章
3279

被折叠的 条评论
为什么被折叠?



