yaofang/components/wall/reply.js

86 lines
2.9 KiB
JavaScript

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "components/wall/reply" ], {
"00df": function(n, t, e) {
"use strict";
e.r(t);
var i = e("db15"), o = e("1dd0");
for (var u in o) [ "default" ].indexOf(u) < 0 && function(n) {
e.d(t, n, function() {
return o[n];
});
}(u);
var c = e("f0c5"), r = Object(c["a"])(o["default"], i["b"], i["c"], !1, null, null, null, !1, i["a"], void 0);
t["default"] = r.exports;
},
"1dd0": function(n, t, e) {
"use strict";
e.r(t);
var i = e("bfad"), o = e.n(i);
for (var u in i) [ "default" ].indexOf(u) < 0 && function(n) {
e.d(t, n, function() {
return i[n];
});
}(u);
t["default"] = o.a;
},
bfad: function(n, t, e) {
"use strict";
var i = e("4ea4");
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = void 0;
var o = i(e("5c77")), u = {
name: "reply",
data: function() {
return {
xitem: {},
comment_id: 0,
normalColor: "color:#999",
focusColor: "color:#007aff"
};
},
mounted: function() {
this.xitem = this.item, this.comment_id = this.detail_id;
},
methods: {
actionsClick: function(n) {
"like" === n && o.default.wallLike(this, this.item.id, 1);
},
commentLike: function() {
o.default.wallLike(this, this.xitem.id, 3);
},
showCommentWrap: function(n, t) {
this.$emit("showComment", {
comment_id: n,
reply_id: t
});
}
},
props: [ "item", "detail_id" ]
};
t.default = u;
},
db15: function(n, t, e) {
"use strict";
e.d(t, "b", function() {
return o;
}), e.d(t, "c", function() {
return u;
}), e.d(t, "a", function() {
return i;
});
var i = {
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"));
}
}, o = function() {
var n = this.$createElement;
this._self._c;
}, u = [];
}
} ]);
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ "components/wall/reply-create-component", {
"components/wall/reply-create-component": function(module, exports, __webpack_require__) {
__webpack_require__("543d")["createComponent"](__webpack_require__("00df"));
}
}, [ [ "components/wall/reply-create-component" ] ] ]);