153 lines
5.5 KiB
JavaScript
153 lines
5.5 KiB
JavaScript
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ [ "pages/xuewei/xuewei_detail" ], {
|
||
|
"3d1e": function(t, e, n) {
|
||
|
"use strict";
|
||
|
n.d(e, "b", function() {
|
||
|
return o;
|
||
|
}), n.d(e, "c", function() {
|
||
|
return a;
|
||
|
}), n.d(e, "a", function() {
|
||
|
return i;
|
||
|
});
|
||
|
var i = {
|
||
|
xad: function() {
|
||
|
return n.e("components/xad/xad").then(n.bind(null, "9621"));
|
||
|
},
|
||
|
bootNav: function() {
|
||
|
return Promise.all([ n.e("common/vendor"), n.e("components/bootNav/bootNav") ]).then(n.bind(null, "dc0f"));
|
||
|
}
|
||
|
}, o = function() {
|
||
|
var t = this, e = t.$createElement, n = (t._self._c, t.isProduct ? t.__map(t.itemList, function(e, n) {
|
||
|
var i = t.__get_orig(e), o = e.ad_id ? {} : null;
|
||
|
return {
|
||
|
$orig: i,
|
||
|
a0: o
|
||
|
};
|
||
|
}) : null);
|
||
|
t.$mp.data = Object.assign({}, {
|
||
|
$root: {
|
||
|
l0: n
|
||
|
}
|
||
|
});
|
||
|
}, a = [];
|
||
|
},
|
||
|
"66e1": function(t, e, n) {
|
||
|
"use strict";
|
||
|
var i = n("9051"), o = n.n(i);
|
||
|
o.a;
|
||
|
},
|
||
|
9051: function(t, e, n) {},
|
||
|
c6bd: function(t, e, n) {
|
||
|
"use strict";
|
||
|
(function(t, e) {
|
||
|
var i = n("4ea4");
|
||
|
n("94a9");
|
||
|
i(n("66fd"));
|
||
|
var o = i(n("d6a7"));
|
||
|
t.__webpack_require_UNI_MP_PLUGIN__ = n, e(o.default);
|
||
|
}).call(this, n("bc2e")["default"], n("543d")["createPage"]);
|
||
|
},
|
||
|
d281: function(t, e, n) {
|
||
|
"use strict";
|
||
|
n.r(e);
|
||
|
var i = n("f411"), o = n.n(i);
|
||
|
for (var a in i) [ "default" ].indexOf(a) < 0 && function(t) {
|
||
|
n.d(e, t, function() {
|
||
|
return i[t];
|
||
|
});
|
||
|
}(a);
|
||
|
e["default"] = o.a;
|
||
|
},
|
||
|
d6a7: function(t, e, n) {
|
||
|
"use strict";
|
||
|
n.r(e);
|
||
|
var i = n("3d1e"), o = n("d281");
|
||
|
for (var a in o) [ "default" ].indexOf(a) < 0 && function(t) {
|
||
|
n.d(e, t, function() {
|
||
|
return o[t];
|
||
|
});
|
||
|
}(a);
|
||
|
n("66e1");
|
||
|
var u = n("f0c5"), c = Object(u["a"])(o["default"], i["b"], i["c"], !1, null, null, null, !1, i["a"], void 0);
|
||
|
e["default"] = c.exports;
|
||
|
},
|
||
|
f411: function(t, e, n) {
|
||
|
"use strict";
|
||
|
(function(t) {
|
||
|
var i = n("4ea4");
|
||
|
Object.defineProperty(e, "__esModule", {
|
||
|
value: !0
|
||
|
}), e.default = void 0;
|
||
|
i(n("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/xueweiDetail", {
|
||
|
id: this.id
|
||
|
}, function(e, n) {
|
||
|
//去除数据中的广告数据
|
||
|
console.log('处理前的数据:',n.data.param_list)
|
||
|
const filteredArray = n.data.param_list.filter(item =>
|
||
|
!item.ad_id
|
||
|
);
|
||
|
console.log('处理后的数据:',filteredArray)
|
||
|
e.itemList = filteredArray, e.row = n.data, t.setNavigationBarTitle({
|
||
|
title: e.row.name
|
||
|
});
|
||
|
});
|
||
|
}
|
||
|
},
|
||
|
onShareAppMessage: function() {
|
||
|
return {
|
||
|
title: this.title
|
||
|
};
|
||
|
},
|
||
|
onShareTimeline: function() {
|
||
|
return {
|
||
|
title: this.title
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
e.default = o;
|
||
|
}).call(this, n("543d")["default"]);
|
||
|
}
|
||
|
}, [ [ "c6bd", "common/runtime", "common/vendor" ] ] ]);
|