Component({ data: { }, properties: { remarkList: { type: Array, value: [] }, statementNum: { type: Number, value: 0 }, remarkType: { type: String, value: "new" } }, methods: { supportReply (e) { this.triggerEvent("supportReply", {commentId: e.currentTarget.dataset.commentid }) }, dispportReply (e) { this.triggerEvent("dispportReply", { commentId: e.currentTarget.dataset.commentid }) }, replyRemark (e) { this.triggerEvent("replyRemark", { commentId: e.currentTarget.dataset.commentid }) }, changeRemarkType () { if (this.data.remarkType === "new") { this.triggerEvent("changeRemarkType", { type: "hot"}) } else { this.triggerEvent("changeRemarkType", { type: "new"}) } } } })