this.href = “#heartInfo_content”;
$(this).addClass(“heartInfo_inline”);
$(“#heartInfo_content”).show();
showDialog();
});
});
});
3 嵌套绑定 (目标数据源中含有多个数组,分别绑定到对应的子模板)
账单页面为例:
前台:
目标容器
<span class=”width_level_0 fl nopitch” id=”ProductBilling”>
</span>
外层模板
<div id=”ProductBillingTemplate” class=”none”>
<dl class=”box_pannel_content_filled_special”>
<dd class=”border_none_special_top”>
<p class=”width_level_half_3 fl”></p>
<span class=”width_level_9 fl”><b class=”bold” id=”bComboName”></b> <b id=”bTel”></b></span>
</dd>
{{tmpl(BillTransactions) “#BillingDetailDateTemplate”}}
<span style=”color:#FF0000;”> {{tmpl(RebateInstances) “#BillingDetailDateTemplate”}}</span> 固定写法,第一个参数为数据源中的第二个数组,第二个为使用的子模板










