115 lines
3.8 KiB
JavaScript
115 lines
3.8 KiB
JavaScript
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/article/detail" ], {
|
||
|
"449d": function(t, e, n) {
|
||
|
"use strict";
|
||
|
n.r(e);
|
||
|
var i = n("67e9"), a = n("a393");
|
||
|
for (var o in a) [ "default" ].indexOf(o) < 0 && function(t) {
|
||
|
n.d(e, t, function() {
|
||
|
return a[t];
|
||
|
});
|
||
|
}(o);
|
||
|
n("e97f");
|
||
|
var u = n("f0c5"), c = Object(u["a"])(a["default"], i["b"], i["c"], !1, null, null, null, !1, i["a"], void 0);
|
||
|
e["default"] = c.exports;
|
||
|
},
|
||
|
"67e9": function(t, e, n) {
|
||
|
"use strict";
|
||
|
n.d(e, "b", function() {
|
||
|
return a;
|
||
|
}), n.d(e, "c", function() {
|
||
|
return o;
|
||
|
}), n.d(e, "a", function() {
|
||
|
return i;
|
||
|
});
|
||
|
var i = {
|
||
|
xad: function() {
|
||
|
return n.e("components/xad/xad").then(n.bind(null, "9621"));
|
||
|
},
|
||
|
xpop: function() {
|
||
|
return n.e("components/xpop/xpop").then(n.bind(null, "8c3c"));
|
||
|
},
|
||
|
bootNav: function() {
|
||
|
return Promise.all([ n.e("common/vendor"), n.e("components/bootNav/bootNav") ]).then(n.bind(null, "dc0f"));
|
||
|
}
|
||
|
}, a = function() {
|
||
|
var t = this.$createElement, e = (this._self._c, this.isProduct ? {} : null);
|
||
|
this.$mp.data = Object.assign({}, {
|
||
|
$root: {
|
||
|
a0: e
|
||
|
}
|
||
|
});
|
||
|
}, o = [];
|
||
|
},
|
||
|
"9a98": function(t, e, n) {
|
||
|
"use strict";
|
||
|
(function(t, e) {
|
||
|
var i = n("4ea4");
|
||
|
n("94a9");
|
||
|
i(n("66fd"));
|
||
|
var a = i(n("449d"));
|
||
|
t.__webpack_require_UNI_MP_PLUGIN__ = n, e(a.default);
|
||
|
}).call(this, n("bc2e")["default"], n("543d")["createPage"]);
|
||
|
},
|
||
|
a393: function(t, e, n) {
|
||
|
"use strict";
|
||
|
n.r(e);
|
||
|
var i = n("f5b6"), a = n.n(i);
|
||
|
for (var o in i) [ "default" ].indexOf(o) < 0 && function(t) {
|
||
|
n.d(e, t, function() {
|
||
|
return i[t];
|
||
|
});
|
||
|
}(o);
|
||
|
e["default"] = a.a;
|
||
|
},
|
||
|
b611: function(t, e, n) {},
|
||
|
e97f: function(t, e, n) {
|
||
|
"use strict";
|
||
|
var i = n("b611"), a = n.n(i);
|
||
|
a.a;
|
||
|
},
|
||
|
f5b6: function(t, e, n) {
|
||
|
"use strict";
|
||
|
Object.defineProperty(e, "__esModule", {
|
||
|
value: !0
|
||
|
}), e.default = void 0;
|
||
|
e.default = {
|
||
|
data: function() {
|
||
|
return {
|
||
|
id: 0,
|
||
|
item: {},
|
||
|
recommendList: []
|
||
|
};
|
||
|
},
|
||
|
onLoad: function(t) {
|
||
|
this.id = t.id, this.getItem(), this.x_get_ad("common"), this.cpAd();
|
||
|
},
|
||
|
methods: {
|
||
|
onShareAppMessage: function() {
|
||
|
return {
|
||
|
title: this.title
|
||
|
};
|
||
|
},
|
||
|
onShareTimeline: function() {
|
||
|
return {
|
||
|
title: this.title
|
||
|
};
|
||
|
},
|
||
|
getItem: function() {
|
||
|
this.x_request("api/fangji.article/detail", {
|
||
|
id: this.id
|
||
|
}, function(t, e) {
|
||
|
var n = e.data;
|
||
|
t.item = n, n.ad && (t.item_ad = n.ad), t.getRecommend(t.item.tag);
|
||
|
});
|
||
|
},
|
||
|
getRecommend: function(t) {
|
||
|
this.x_request("api/fangji.article/recommend", {
|
||
|
tag: t
|
||
|
}, function(t, e) {
|
||
|
t.recommendList = e.data;
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
}, [ [ "9a98", "common/runtime", "common/vendor" ] ] ]);
|