yaofang/pages/xuewei/jingluo.js

115 lines
3.8 KiB
JavaScript

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/xuewei/jingluo" ], {
"25d2": function(t, n, e) {
"use strict";
Object.defineProperty(n, "__esModule", {
value: !0
}), n.default = void 0;
n.default = {
data: function() {
return {
itemList: []
};
},
onLoad: function(t) {
this.getList(), this.x_get_ad("common"), this.cpAd();
},
methods: {
onShareAppMessage: function() {
return {
title: this.title
};
},
onShareTimeline: function() {
return {
title: this.title
};
},
getList: function() {
this.x_request("api/fangji.xue_wei/jingluo", {}, function(t, n) {
//去除数据中的广告数据
console.log('处理前的数据:',n.data)
const filteredArray = n.data.filter(item =>
!item.ad_id
);
console.log('处理后的数据:',filteredArray)
t.itemList = filteredArray;
});
}
}
};
},
"35cd": function(t, n, e) {
"use strict";
(function(t, n) {
var i = e("4ea4");
e("94a9");
i(e("66fd"));
var o = i(e("9ce3"));
t.__webpack_require_UNI_MP_PLUGIN__ = e, n(o.default);
}).call(this, e("bc2e")["default"], e("543d")["createPage"]);
},
4645: function(t, n, e) {
"use strict";
var i = e("ca56"), o = e.n(i);
o.a;
},
"9ce3": function(t, n, e) {
"use strict";
e.r(n);
var i = e("f241"), o = e("e603");
for (var u in o) [ "default" ].indexOf(u) < 0 && function(t) {
e.d(n, t, function() {
return o[t];
});
}(u);
e("4645");
var a = e("f0c5"), c = Object(a["a"])(o["default"], i["b"], i["c"], !1, null, null, null, !1, i["a"], void 0);
n["default"] = c.exports;
},
ca56: function(t, n, e) {},
e603: function(t, n, e) {
"use strict";
e.r(n);
var i = e("25d2"), o = e.n(i);
for (var u in i) [ "default" ].indexOf(u) < 0 && function(t) {
e.d(n, t, function() {
return i[t];
});
}(u);
n["default"] = o.a;
},
f241: function(t, n, e) {
"use strict";
e.d(n, "b", function() {
return o;
}), e.d(n, "c", function() {
return u;
}), 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.itemList, 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
}
});
}, u = [];
}
}, [ [ "35cd", "common/runtime", "common/vendor" ] ] ]);