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 = `
@@ -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}}:
+ 回复{{index}}:
\ No newline at end of file
diff --git a/wxParse/html2json.js b/wxParse/html2json.js
index 6909559..65e2ff6 100755
--- a/wxParse/html2json.js
+++ b/wxParse/html2json.js
@@ -109,14 +109,14 @@ function html2json(html, bindName) {
var name = attr.name;
var value = attr.value;
if (name == 'class') {
- console.dir(value);
+ // console.dir(value);
// value = value.join("")
node.classStr = value;
}
// has multi attibutes
// make it array of attribute
if (name == 'style') {
- console.dir(value);
+ // console.dir(value);
// value = value.join("")
node.styleStr = value;
}
diff --git a/wxParse/wxParse.js b/wxParse/wxParse.js
index 379f2f6..ff9989c 100644
--- a/wxParse/wxParse.js
+++ b/wxParse/wxParse.js
@@ -33,7 +33,7 @@ function wxParse(bindName = 'wxParseData', type='html', data='