153 lines
5.5 KiB
JavaScript
153 lines
5.5 KiB
JavaScript
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/xuewei/jingluo_detail" ], {
|
|
3457: function(t, n, e) {
|
|
"use strict";
|
|
e.r(n);
|
|
var i = e("5e36"), 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;
|
|
},
|
|
"5e36": function(t, n, e) {
|
|
"use strict";
|
|
(function(t) {
|
|
var i = e("4ea4");
|
|
Object.defineProperty(n, "__esModule", {
|
|
value: !0
|
|
}), n.default = void 0;
|
|
i(e("5c77"));
|
|
var o = {
|
|
data: function() {
|
|
return {
|
|
title: "详情",
|
|
id: 0,
|
|
itemList: [],
|
|
row: {},
|
|
isCollected: 0
|
|
};
|
|
},
|
|
onLoad: function(t) {
|
|
this.id = t.id, this.x_get_ad("common"), this.cpAd(), this.find();
|
|
},
|
|
methods: {
|
|
wxshare: function() {
|
|
t.share({
|
|
provider: "weixin",
|
|
scene: "WXSceneSession",
|
|
type: 1,
|
|
summary: "",
|
|
success: function(t) {
|
|
console.log("success:" + JSON.stringify(t));
|
|
},
|
|
fail: function(t) {
|
|
console.log("fail:" + JSON.stringify(t));
|
|
}
|
|
});
|
|
},
|
|
wxQuanshare: function() {
|
|
t.share({
|
|
provider: "",
|
|
scene: "WXSceneTimeline",
|
|
type: 1,
|
|
summary: this.title,
|
|
success: function(t) {
|
|
console.log("success:" + JSON.stringify(t));
|
|
},
|
|
fail: function(t) {
|
|
console.log("fail:" + JSON.stringify(t));
|
|
}
|
|
});
|
|
},
|
|
find: function() {
|
|
this.x_request("api/fangji.xue_wei/jingluo_detail", {
|
|
id: this.id
|
|
}, function(n, e) {
|
|
//去除数据中的广告数据
|
|
console.log('处理前的数据:',e.data.list)
|
|
const filteredArray = e.data.list.filter(item =>
|
|
!item.ad_id
|
|
);
|
|
console.log('处理后的数据:',filteredArray)
|
|
n.itemList = filteredArray, n.row = e.data.data, t.setNavigationBarTitle({
|
|
title: n.row.alias_name
|
|
});
|
|
});
|
|
}
|
|
},
|
|
onShareAppMessage: function() {
|
|
return {
|
|
title: this.title
|
|
};
|
|
},
|
|
onShareTimeline: function() {
|
|
return {
|
|
title: this.title
|
|
};
|
|
}
|
|
};
|
|
n.default = o;
|
|
}).call(this, e("543d")["default"]);
|
|
},
|
|
"8b70": function(t, n, e) {},
|
|
9910: function(t, n, e) {
|
|
"use strict";
|
|
(function(t, n) {
|
|
var i = e("4ea4");
|
|
e("94a9");
|
|
i(e("66fd"));
|
|
var o = i(e("fc44"));
|
|
t.__webpack_require_UNI_MP_PLUGIN__ = e, n(o.default);
|
|
}).call(this, e("bc2e")["default"], e("543d")["createPage"]);
|
|
},
|
|
cac3: 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"));
|
|
},
|
|
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
|
|
}
|
|
});
|
|
}, a = [];
|
|
},
|
|
ec02: function(t, n, e) {
|
|
"use strict";
|
|
var i = e("8b70"), o = e.n(i);
|
|
o.a;
|
|
},
|
|
fc44: function(t, n, e) {
|
|
"use strict";
|
|
e.r(n);
|
|
var i = e("cac3"), o = e("3457");
|
|
for (var a in o) [ "default" ].indexOf(a) < 0 && function(t) {
|
|
e.d(n, t, function() {
|
|
return o[t];
|
|
});
|
|
}(a);
|
|
e("ec02");
|
|
var c = e("f0c5"), u = Object(c["a"])(o["default"], i["b"], i["c"], !1, null, null, null, !1, i["a"], void 0);
|
|
n["default"] = u.exports;
|
|
}
|
|
}, [ [ "9910", "common/runtime", "common/vendor" ] ] ]); |