【发布时间】:2019-07-03 11:41:44
【问题描述】:
有谁知道如何根据传入的 bindId 有条件地在列表视图模板中呈现视图?
我有一个模板,只有在传入的标签不为空时才显示视图。
<View class="productBannerLabelWrapper productBanner1">
<Label class="productBannerLabel" bindId="productBanner1" />
</View>
标签周围有一个视图,因为标签需要一个比标签本身更大的有领背景。
感谢您的帮助
【问题讨论】:
标签: titanium appcelerator-titanium listviewitem titanium-alloy