148 lines
5.1 KiB
JavaScript
148 lines
5.1 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/wall/wall_detail" ], {
|
|
3763: function(n, t, e) {
|
|
"use strict";
|
|
(function(n, t) {
|
|
var o = e("4ea4");
|
|
e("94a9");
|
|
o(e("66fd"));
|
|
var i = o(e("eb70"));
|
|
n.__webpack_require_UNI_MP_PLUGIN__ = e, t(i.default);
|
|
}).call(this, e("bc2e")["default"], e("543d")["createPage"]);
|
|
},
|
|
"577e": function(n, t, e) {
|
|
"use strict";
|
|
e.d(t, "b", function() {
|
|
return i;
|
|
}), e.d(t, "c", function() {
|
|
return u;
|
|
}), 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);
|
|
}, u = [];
|
|
},
|
|
"59fc": function(n, t, e) {
|
|
"use strict";
|
|
e.r(t);
|
|
var o = e("9240"), i = e.n(o);
|
|
for (var u in o) [ "default" ].indexOf(u) < 0 && function(n) {
|
|
e.d(t, n, function() {
|
|
return o[n];
|
|
});
|
|
}(u);
|
|
t["default"] = i.a;
|
|
},
|
|
9240: 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")), u = {
|
|
data: function() {
|
|
return {
|
|
title: "留言墙",
|
|
normalColor: "#666",
|
|
item: {},
|
|
commentObj: {
|
|
message: "",
|
|
last_page: 1,
|
|
current_page: 0,
|
|
noMore: 0,
|
|
list: []
|
|
},
|
|
baseForm: {
|
|
content: "",
|
|
comment_id: 0,
|
|
reply_id: 0
|
|
},
|
|
showComment: !1,
|
|
id: 0
|
|
};
|
|
},
|
|
components: {
|
|
comment: function() {
|
|
e.e("components/wall/comment").then(function() {
|
|
return resolve(e("27f9"));
|
|
}.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.getWall(this.id), this.getComment(), this.cpAd();
|
|
},
|
|
onReachBottom: function() {
|
|
this.getComment();
|
|
},
|
|
methods: {
|
|
onShareAppMessage: function() {
|
|
return {
|
|
title: this.title
|
|
};
|
|
},
|
|
onShareTimeline: function() {
|
|
return {
|
|
title: this.title
|
|
};
|
|
},
|
|
getWall: function() {
|
|
i.default.getWall(this);
|
|
},
|
|
getComment: function() {
|
|
i.default.getCommentList(this);
|
|
},
|
|
showCommentWrap: function(n, t) {
|
|
i.default.showCommentWrap(this, n, t);
|
|
},
|
|
cancelComment: function() {
|
|
this.showComment = !this.showComment, this.baseForm.wall_id = 0, this.baseForm.reply_id = 0,
|
|
this.baseForm.content = "";
|
|
},
|
|
comment: function() {
|
|
i.default.addComment(this);
|
|
},
|
|
commentLike: function(n, t) {
|
|
"like" === n && i.default.wallLike(this, this.item.id, t);
|
|
}
|
|
}
|
|
};
|
|
t.default = u;
|
|
},
|
|
d435: function(n, t, e) {},
|
|
e3ab: function(n, t, e) {
|
|
"use strict";
|
|
var o = e("d435"), i = e.n(o);
|
|
i.a;
|
|
},
|
|
eb70: function(n, t, e) {
|
|
"use strict";
|
|
e.r(t);
|
|
var o = e("577e"), i = e("59fc");
|
|
for (var u in i) [ "default" ].indexOf(u) < 0 && function(n) {
|
|
e.d(t, n, function() {
|
|
return i[n];
|
|
});
|
|
}(u);
|
|
e("e3ab");
|
|
var c = e("f0c5"), a = Object(c["a"])(i["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], void 0);
|
|
t["default"] = a.exports;
|
|
}
|
|
}, [ [ "3763", "common/runtime", "common/vendor" ] ] ]); |