126 lines
4.3 KiB
JavaScript
126 lines
4.3 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/book/detail" ], {
|
|
"129c": function(t, n, e) {
|
|
"use strict";
|
|
e.r(n);
|
|
var i = e("d72f"), o = e.n(i);
|
|
for (var a in i) [ "default" ].indexOf(a) < 0 && function(t) {
|
|
e.d(n, t, function() {
|
|
return i[t];
|
|
});
|
|
}(a);
|
|
n["default"] = o.a;
|
|
},
|
|
"1f42": function(t, n, e) {
|
|
"use strict";
|
|
(function(t, n) {
|
|
var i = e("4ea4");
|
|
e("94a9");
|
|
i(e("66fd"));
|
|
var o = i(e("9097"));
|
|
t.__webpack_require_UNI_MP_PLUGIN__ = e, n(o.default);
|
|
}).call(this, e("bc2e")["default"], e("543d")["createPage"]);
|
|
},
|
|
"5f36": function(t, n, e) {},
|
|
"849d": function(t, n, e) {
|
|
"use strict";
|
|
var i = e("5f36"), o = e.n(i);
|
|
o.a;
|
|
},
|
|
9097: function(t, n, e) {
|
|
"use strict";
|
|
e.r(n);
|
|
var i = e("b1d3"), o = e("129c");
|
|
for (var a in o) [ "default" ].indexOf(a) < 0 && function(t) {
|
|
e.d(n, t, function() {
|
|
return o[t];
|
|
});
|
|
}(a);
|
|
e("849d");
|
|
var r = e("f0c5"), u = Object(r["a"])(o["default"], i["b"], i["c"], !1, null, null, null, !1, i["a"], void 0);
|
|
n["default"] = u.exports;
|
|
},
|
|
b1d3: function(t, n, e) {
|
|
"use strict";
|
|
e.d(n, "b", function() {
|
|
return o;
|
|
}), e.d(n, "c", function() {
|
|
return a;
|
|
}), e.d(n, "a", function() {
|
|
return i;
|
|
});
|
|
var i = {
|
|
xad: function() {
|
|
return e.e("components/xad/xad").then(e.bind(null, "9621"));
|
|
},
|
|
xpop: function() {
|
|
return e.e("components/xpop/xpop").then(e.bind(null, "8c3c"));
|
|
},
|
|
bootNav: function() {
|
|
return Promise.all([ e.e("common/vendor"), e.e("components/bootNav/bootNav") ]).then(e.bind(null, "dc0f"));
|
|
}
|
|
}, o = function() {
|
|
var t = this, n = t.$createElement, e = (t._self._c, t.isProduct ? t.__map(t.contentList, function(n, e) {
|
|
var i = t.__get_orig(n), o = n.ad_id ? {} : null;
|
|
return {
|
|
$orig: i,
|
|
a0: o
|
|
};
|
|
}) : null);
|
|
t.$mp.data = Object.assign({}, {
|
|
$root: {
|
|
l0: e
|
|
}
|
|
});
|
|
}, a = [];
|
|
},
|
|
d72f: function(t, n, e) {
|
|
"use strict";
|
|
(function(t) {
|
|
Object.defineProperty(n, "__esModule", {
|
|
value: !0
|
|
}), n.default = void 0;
|
|
var e = {
|
|
data: function() {
|
|
return {
|
|
chapter_id: 0,
|
|
book_id: 0,
|
|
barTitle: "",
|
|
contentList: []
|
|
};
|
|
},
|
|
onLoad: function(t) {
|
|
this.chapter_id = t.id, this.book_id = t.book_id, this.barTitle = t.title, this.init();
|
|
},
|
|
methods: {
|
|
onShareAppMessage: function() {
|
|
return {
|
|
title: this.title
|
|
};
|
|
},
|
|
onShareTimeline: function() {
|
|
return {
|
|
title: this.title
|
|
};
|
|
},
|
|
init: function() {
|
|
var n = this;
|
|
t.setNavigationBarTitle({
|
|
title: n.barTitle
|
|
}), n.getContentList(), this.x_get_ad("common"), n.cpAd();
|
|
},
|
|
getContentList: function() {
|
|
t.showLoading({
|
|
title: "加载中..."
|
|
}), this.x_request("api/fangji.book/detail", {
|
|
book_id: this.book_id,
|
|
chapter_id: this.chapter_id
|
|
}, function(n, e) {
|
|
n.contentList = e.data, t.hideLoading();
|
|
});
|
|
}
|
|
}
|
|
};
|
|
n.default = e;
|
|
}).call(this, e("543d")["default"]);
|
|
}
|
|
}, [ [ "1f42", "common/runtime", "common/vendor" ] ] ]); |