yaofang/components/wall/comment.js

80 lines
2.7 KiB
JavaScript

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "components/wall/comment" ], {
"27f9": function(n, t, i) {
"use strict";
i.r(t);
var e = i("39b2"), o = i("c5b6");
for (var u in o) [ "default" ].indexOf(u) < 0 && function(n) {
i.d(t, n, function() {
return o[n];
});
}(u);
var c = i("f0c5"), l = Object(c["a"])(o["default"], e["b"], e["c"], !1, null, null, null, !1, e["a"], void 0);
t["default"] = l.exports;
},
"39b2": function(n, t, i) {
"use strict";
i.d(t, "b", function() {
return o;
}), i.d(t, "c", function() {
return u;
}), i.d(t, "a", function() {
return e;
});
var e = {
uniIcons: function() {
return Promise.all([ i.e("common/vendor"), i.e("uni_modules/uni-icons/components/uni-icons/uni-icons") ]).then(i.bind(null, "8be1"));
}
}, o = function() {
var n = this.$createElement;
this._self._c;
}, u = [];
},
6782: function(n, t, i) {
"use strict";
var e = i("4ea4");
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = void 0;
var o = e(i("5c77")), u = {
name: "comment",
data: function() {
return {
xitem: {},
wall_id: 0,
normalColor: "color:#999",
focusColor: "color:#007aff"
};
},
mounted: function() {
this.xitem = this.item, this.wall_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, 2);
}
},
props: [ "item", "detail_id" ]
};
t.default = u;
},
c5b6: function(n, t, i) {
"use strict";
i.r(t);
var e = i("6782"), o = i.n(e);
for (var u in e) [ "default" ].indexOf(u) < 0 && function(n) {
i.d(t, n, function() {
return e[n];
});
}(u);
t["default"] = o.a;
}
} ]);
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ "components/wall/comment-create-component", {
"components/wall/comment-create-component": function(module, exports, __webpack_require__) {
__webpack_require__("543d")["createComponent"](__webpack_require__("27f9"));
}
}, [ [ "components/wall/comment-create-component" ] ] ]);