diff --git a/pages/index/index.js b/pages/index/index.js index e4f97d4..50a246c 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -160,12 +160,12 @@ Page({ `; var replyHtml1 = `

- wxParse回复1:不错,喜欢[03][04] + wxParse回复1:不错,喜欢[03][04]

`; var replyHtml2 = `

- wxParse回复2:不错,喜欢[05][07] + wxParse回复2:不错,喜欢[05][07]

`; var replyHtml3 = `
@@ -193,10 +193,7 @@ Page({ for (let i = 0; i < replyArr.length; i++) { - WxParse.wxParse('reply' + i, 'html', replyArr[i], that); - if (i === replyArr.length - 1) { - WxParse.wxParseTemArray("replyTemArray",'reply', replyArr.length, that) - } + WxParse.wxParse('replyTemArray.' + i, 'html', replyArr[i], that); } } diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 5324bda..5479458 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -6,6 +6,6 @@ - 回复{{index}}: