143 lines
5.0 KiB
JavaScript
143 lines
5.0 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/wall/comment_detail" ], {
|
|
"1f53": function(n, t, e) {
|
|
"use strict";
|
|
var o = e("4ea4");
|
|
Object.defineProperty(t, "__esModule", {
|
|
value: !0
|
|
}), t.default = void 0;
|
|
var i = o(e("5c77")), c = {
|
|
data: function() {
|
|
return {
|
|
title: "留言墙",
|
|
item: {},
|
|
comment: {},
|
|
replyObj: {
|
|
message: "",
|
|
last_page: 1,
|
|
current_page: 0,
|
|
noMore: 0,
|
|
list: []
|
|
},
|
|
baseForm: {
|
|
content: "",
|
|
comment_id: 0,
|
|
reply_id: 0
|
|
},
|
|
showComment: !1,
|
|
normalColor: "color:#999",
|
|
focusColor: "color:#007aff"
|
|
};
|
|
},
|
|
components: {
|
|
reply: function() {
|
|
e.e("components/wall/reply").then(function() {
|
|
return resolve(e("00df"));
|
|
}.bind(null, e)).catch(e.oe);
|
|
}
|
|
},
|
|
onBackPress: function() {
|
|
return !!this.$refs.fab.isShow && (this.$refs.fab.close(), !0);
|
|
},
|
|
onLoad: function(n) {
|
|
this.id = n.id, this.comment_id = n.comment_id, this.getWall(this.id), this.getComment(),
|
|
this.getReplyList();
|
|
},
|
|
onReachBottom: function() {
|
|
this.getReplyList();
|
|
},
|
|
methods: {
|
|
getWall: function() {
|
|
i.default.getWall(this);
|
|
},
|
|
getComment: function() {
|
|
i.default.getComment(this);
|
|
},
|
|
getReplyList: function() {
|
|
i.default.getReplyList(this);
|
|
},
|
|
cancelComment: function() {
|
|
this.showComment = !this.showComment, this.baseForm.wall_id = 0, this.baseForm.reply_id = 0,
|
|
this.baseForm.content = "";
|
|
},
|
|
addComment: function() {
|
|
i.default.addComment(this);
|
|
},
|
|
showCommentWrap: function(n, t) {
|
|
i.default.showCommentWrap(this, n, t);
|
|
},
|
|
childCall: function(n) {
|
|
this.showCommentWrap(n.comment_id, n.reply_id);
|
|
}
|
|
}
|
|
};
|
|
t.default = c;
|
|
},
|
|
"8f96": function(n, t, e) {},
|
|
9601: function(n, t, e) {
|
|
"use strict";
|
|
e.r(t);
|
|
var o = e("1f53"), i = e.n(o);
|
|
for (var c in o) [ "default" ].indexOf(c) < 0 && function(n) {
|
|
e.d(t, n, function() {
|
|
return o[n];
|
|
});
|
|
}(c);
|
|
t["default"] = i.a;
|
|
},
|
|
"9b58": function(n, t, e) {
|
|
"use strict";
|
|
(function(n, t) {
|
|
var o = e("4ea4");
|
|
e("94a9");
|
|
o(e("66fd"));
|
|
var i = o(e("ac53"));
|
|
n.__webpack_require_UNI_MP_PLUGIN__ = e, t(i.default);
|
|
}).call(this, e("bc2e")["default"], e("543d")["createPage"]);
|
|
},
|
|
ac53: function(n, t, e) {
|
|
"use strict";
|
|
e.r(t);
|
|
var o = e("f87f"), i = e("9601");
|
|
for (var c in i) [ "default" ].indexOf(c) < 0 && function(n) {
|
|
e.d(t, n, function() {
|
|
return i[n];
|
|
});
|
|
}(c);
|
|
e("cae5");
|
|
var u = e("f0c5"), a = Object(u["a"])(i["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], void 0);
|
|
t["default"] = a.exports;
|
|
},
|
|
cae5: function(n, t, e) {
|
|
"use strict";
|
|
var o = e("8f96"), i = e.n(o);
|
|
i.a;
|
|
},
|
|
f87f: function(n, t, e) {
|
|
"use strict";
|
|
e.d(t, "b", function() {
|
|
return i;
|
|
}), e.d(t, "c", function() {
|
|
return c;
|
|
}), e.d(t, "a", function() {
|
|
return o;
|
|
});
|
|
var o = {
|
|
wall: function() {
|
|
return e.e("components/wall/wall").then(e.bind(null, "6d46"));
|
|
},
|
|
uniSection: function() {
|
|
return e.e("uni_modules/uni-section/components/uni-section/uni-section").then(e.bind(null, "79f5"));
|
|
},
|
|
uniIcons: function() {
|
|
return Promise.all([ e.e("common/vendor"), e.e("uni_modules/uni-icons/components/uni-icons/uni-icons") ]).then(e.bind(null, "8be1"));
|
|
},
|
|
bootNav: function() {
|
|
return Promise.all([ e.e("common/vendor"), e.e("components/bootNav/bootNav") ]).then(e.bind(null, "dc0f"));
|
|
}
|
|
}, i = function() {
|
|
var n = this.$createElement;
|
|
this._self._c;
|
|
this._isMounted || (this.e0 = !0);
|
|
}, c = [];
|
|
}
|
|
}, [ [ "9b58", "common/runtime", "common/vendor" ] ] ]); |