<template is=“page” data=“item:{{replyContent1.nodes}}”/>
1.这种形式始终报错,怎么解决
2.replyContent后面的1我想要是动态的,怎么拼接
<template is=“buy-again-dialog” data="{{data:buyAgainMultiData}}" wx:if="{{buyAgainMultiDialogShow}}" />
buyAgainMultiData: {
buyAgainMultiCanBuyList: buyAgainMultiCanBuyList,
buyAgainMultiCantBuyList: buyAgainMultiCantBuyList,
confirmBuy: ‘onConfirmMultiBuy’, dismiss: ‘onDismissMultiBuyDialog’
}
<block wx:for="{{data.buyAgainMultiCanBuyList}}">
<template is=“buy-again-product-item” data="{{item}}"/>
</block>
模板里套模板