(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/book/chapter" ], { "003d": function(t, n, i) { "use strict"; i.r(n); var o = i("8d34"), e = i.n(o); for (var a in o) [ "default" ].indexOf(a) < 0 && function(t) { i.d(n, t, function() { return o[t]; }); }(a); n["default"] = e.a; }, "257b": function(t, n, i) { "use strict"; var o = i("f34a"), e = i.n(o); e.a; }, "5abc": function(t, n, i) { "use strict"; i.r(n); var o = i("923c"), e = i("003d"); for (var a in e) [ "default" ].indexOf(a) < 0 && function(t) { i.d(n, t, function() { return e[t]; }); }(a); i("257b"); var r = i("f0c5"), u = Object(r["a"])(e["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], void 0); n["default"] = u.exports; }, "8d34": function(t, n, i) { "use strict"; (function(t) { Object.defineProperty(n, "__esModule", { value: !0 }), n.default = void 0; var i = { data: function() { return { itemList: [] }; }, onLoad: function(t) { var n; this.book = t.book, this.book_id = null !== (n = t.id) && void 0 !== n ? n : 1, this.init(); }, methods: { onShareAppMessage: function() { return { title: this.title }; }, onShareTimeline: function() { return { title: this.title }; }, init: function() { var n = this; t.setNavigationBarTitle({ title: n.book + "目录" }), n.getList(), this.x_get_ad("common"), n.cpAd(); }, getList: function() { this.x_request("api/fangji.book/chapter", { book_id: this.book_id }, function(t, n) { //去除数据中的广告数据 console.log('处理前的数据:',n.data) const filteredArray = n.data.filter(item => !item.ad_id ); console.log('处理后的数据:',filteredArray) t.itemList = filteredArray; }); }, toDetail: function(t, n) { this.x_redirect("/pages/book/detail?id=" + t + "&book_id=" + this.book_id + "&title=" + this.book + "-" + n); } } }; n.default = i; }).call(this, i("543d")["default"]); }, "923c": function(t, n, i) { "use strict"; i.d(n, "b", function() { return e; }), i.d(n, "c", function() { return a; }), i.d(n, "a", function() { return o; }); var o = { xad: function() { return i.e("components/xad/xad").then(i.bind(null, "9621")); }, xpop: function() { return i.e("components/xpop/xpop").then(i.bind(null, "8c3c")); }, bootNav: function() { return Promise.all([ i.e("common/vendor"), i.e("components/bootNav/bootNav") ]).then(i.bind(null, "dc0f")); } }, e = function() { var t = this, n = t.$createElement, i = (t._self._c, t.isProduct ? t.__map(t.itemList, function(n, i) { var o = t.__get_orig(n), e = n.ad_id ? null : t.__map(n.child, function(i, o) { var e = t.__get_orig(i), a = n.child.length; return { $orig: e, g0: a }; }), a = n.ad_id ? {} : null; return { $orig: o, l0: e, a0: a }; }) : null); t.$mp.data = Object.assign({}, { $root: { l1: i } }); }, a = []; }, bff2: function(t, n, i) { "use strict"; (function(t, n) { var o = i("4ea4"); i("94a9"); o(i("66fd")); var e = o(i("5abc")); t.__webpack_require_UNI_MP_PLUGIN__ = i, n(e.default); }).call(this, i("bc2e")["default"], i("543d")["createPage"]); }, f34a: function(t, n, i) {} }, [ [ "bff2", "common/runtime", "common/vendor" ] ] ]);