收藏
回答

请问大家这种代码算什么写法?

(global.webpackJsonp = global.webpackJsonp || []).push([["u_pages/diy/index"], {
    "0aea"function(e, t, n{ (function(e{
            function t(e{
                return e && e.__esModule ? e: {
                default:
                    e
                }
            }
            n("3c1e"),
            t(n("66fd")),
            e(t(n("ebf5")).default)
        }).call(this, n("543d").createPage)
    },
    "102c"function(e, t, n{
        var a = n("7817");
        n.n(a).a
    },
    "35d6"function(e, t, n{
        n.r(t);
        var a = n("578b");
        for (var r in a)"default" !== r &&
        function(e{
            n.d(t, e,
            function() {
                return a[e]
            })
        } (r);
        n("102c");
        var o = n("f0c5"),
        i = Object(o.a)(a.default, void 0void 0, !1nullnullnull, !1void 0void 0);
        t.default = i.exports
        console.log(o);
    },
    5071 : function(e, r, c{ (function(t{
            Object.defineProperty(r, "__esModule", {
                value: !0
            }),
            r.
        default = void 0,
            e(c("66fd"));
            var o = e(c("e3ec"));
            function e(e{
                return e && e.__esModule ? e: {
                default:
                    e
                }
            }
            function a(t, e{
                var n = Object.keys(t);
                if (Object.getOwnPropertySymbols) {
                    var a = Object.getOwnPropertySymbols(t);
                    e && (a = a.filter(function(e{
                        return Object.getOwnPropertyDescriptor(t, e).enumerable
                    })),
                    n.push.apply(n, a)
                }
                return n
            }
            function i(t{
                for (var e = 1; e < arguments.length; e++) {
                    var n = null != arguments[e] ? arguments[e] : {};
                    e % 2 ? a(Object(n), !0).forEach(function(e{
                        u(t, e, n[e])
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : a(Object(n)).forEach(function(e{
                        Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e))
                    })
                }
                return t
            }
            function u(e, t, n{
                return t in e ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : e[t] = n,
                e
            }
            var n = {
                onLaunchfunction(e{
                    if (e.query.scene) {
                        for (var t = decodeURIComponent(e.query.scene).split("&"), n = {},
                        a = 0; a < t.length; a++) {
                            var r = t[a].split("=");
                            n = i({},
                            n, u({},
                            r[0], r[1]))
                        }
                        e.query = n
                    }
                    o.
                default.commit("setData", {
                        page_query: u({},
                        e.path, e.query),
                        _pid: e.query && e.query.pid ? e.query.pid: 0,
                        _scene: e.scene
                    }),
                    wx.showShareMenu({
                        menus: ["shareAppMessage""shareTimeline"]
                    })
                },
                onShowfunction() {},
                onHidefunction() {
                    var e = t.getBackgroundAudioManager(); ! e.paused && o.
                default.state.audio_is_stop && e.stop()
                },
                onUnloadfunction() {
                    var e = t.getBackgroundAudioManager(); ! e.paused && o.
                default.state.audio_is_stop && e.stop()
                }
            };
            r.
        default = n
        }).call(this, c("543d").
    default)
    },
    "578b"function(e, t, n{
        n.r(t);
        var a = n("5071"),
        r = n.n(a);
        for (var o in a)"default" !== o &&
        function(e{
            n.d(t, e,
            function() {
                return a[e]
            })
        } (o);
        t.
    default = r.a
    },
    7817 : function(e, t, n{},
    "79cb"function(e, t, n{
        n.r(t);
        var a = n("ab23"),
        r = n.n(a);
        for (var o in a)"default" !== o &&
        function(e{
            n.d(t, e,
            function() {
                return a[e]
            })
        } (o);
        t.
    default = r.a
    },
    "9e7e"function(e, t, n{},
    ab23function(e, f, l{ (function(o{
            Object.defineProperty(f, "__esModule", {
                value: !0
            }),
            f.
        default = void 0;
            var e = n(l("8e6e")),
            t = (n(l("7b8b")), l("2f62")),
            i = l("f576");
            function n(e{
                return e && e.__esModule ? e: {
                default:
                    e
                }
            }
            function a(t, e{
                var n = Object.keys(t);
                if (Object.getOwnPropertySymbols) {
                    var a = Object.getOwnPropertySymbols(t);
                    e && (a = a.filter(function(e{
                        return Object.getOwnPropertyDescriptor(t, e).enumerable
                    })),
                    n.push.apply(n, a)
                }
                return n
            }
            function r(r{
                for (var e = 1; e < arguments.length; e++) {
                    var o = null != arguments[e] ? arguments[e] : {};
                    e % 2 ? a(Object(o), !0).forEach(function(e{
                        var t, n, a;
                        t = r,
                        a = o[n = e],
                        n in t ? Object.defineProperty(t, n, {
                            value: a,
                            enumerable: !0,
                            configurable: !0,
                            writable: !0
                        }) : t[n] = a
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(o)) : a(Object(o)).forEach(function(e{
                        Object.defineProperty(r, e, Object.getOwnPropertyDescriptor(o, e))
                    })
                }
                return r
            }
            var u, c = {
                datafunction() {
                    return {
                        page_data"",
                        items"",
                        type"",
                        page_num: getCurrentPages().length,
                        bounding: o.getSystemInfoSync().screenWidth - o.getMenuButtonBoundingClientRect().right + o.getMenuButtonBoundingClientRect().width / 2,
                        bounding_right: o.getSystemInfoSync().screenWidth - o.getMenuButtonBoundingClientRect().right
                    }
                },
                computed: r({},
                (0, t.mapState)(["g_config""user""global_style""titleHeight""my_xcx"])),
                components: {
                    vipfunction() {
                        l.e("u_pages/components/vip/index").then(function() {
                            return resolve(l("1c32"))
                        }.bind(null, l)).
                        catch(l.oe)
                    },
                    "wx-live-list"function() {
                        l.e("components/wx_live_list/index").then(function() {
                            return resolve(l("a007"))
                        }.bind(null, l)).
                        catch(l.oe)
                    }
                },
                onLoadfunction(e{
                    u = this
                },
                onShowfunction() {
                    u = this,
                    (0, e.
                default)(this,
                    function() {
                        s((0, i.getPageQuery)(u))
                    })
                },
                onShareAppMessagefunction() {
                    return {
                        title"1" == this.page_data.share_state ? this.page_data.share_title: this.g_config.platform_name,
                        path: l("921b")("init") + "?pid=" + this.user.id,
                        imageUrl"1" == this.page_data.share_state ? this.page_data.img: ""
                    }
                },
                onShareTimelinefunction() {
                    return {
                        titlethis.page_data.title,
                        query"id=" + (0, i.getPageQuery)(this).id + "&pid=" + this.user.id
                    }
                },
                onPullDownRefreshfunction(e{
                    s((0, i.getPageQuery)(this))
                },
                onReadyfunction() {},
                methods: {
                    closefunction() {
                        this.my_xcx.add_xcx_state = !1,
                        o.setStorageSync("hide_my_xcx", !0)
                    },
                    getUserfunction(e{
                        u.$tools.login(r({},
                        e.detail.userInfo))
                    },
                    onAudioPlayfunction(e{
                        var t = e.index,
                        n = e.currentTime,
                        a = e.type;
                        if (u.items) {
                            var r = u.items;
                            if (u.items[t].params.currentTime = n, 2 != a) for (var o = 0; o < r.length; o++)"audio" == r[o].type && (r[o], u.items[o].params.isPlay = !1, o != t && (u.items[o].params.currentTime = "00:00"));
                            0 == a && (u.items[t].params.isPlay = !0),
                            0 == a && (u.items[t].params.isPlay = !0)
                        }
                    }
                }
            };
},
[["0aea""common/runtime""common/vendor"]]]);
回答关注问题邀请回答
收藏

4 个回答

  • 猛男陈阔
    猛男陈阔
    2020-09-05

    这个肯定是加密后的

    2020-09-05
    有用
    回复
  • 山无棱
    山无棱
    2020-09-05

    这明显是加密后的代码啊, 让在这基础上开发,真是强人所难啊

    2020-09-05
    有用
    回复
  • Admin ²º²³
    Admin ²º²³
    2020-09-05

    这个应该是代码混扰或特意加密后的代码。

    2020-09-05
    有用
    回复 1
    • 诗酒趁年华ᴴ
      诗酒趁年华ᴴ
      2020-09-05
      在这基础上开发,看不懂😳
      2020-09-05
      回复
  • 谋谋谋
    谋谋谋
    2020-09-05

    菜鸡默默飘过

    2020-09-05
    有用
    回复
登录 后发表内容
问题标签