- ios14.0以上系统,跳转页面出现卡顿、发热、闪退
点击跳转时出现卡顿,发热,闪退
2021-05-09 - 请问大家这种代码算什么写法?
(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 0, void 0, !1, null, null, null, !1, void 0, void 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 = { onLaunch: function(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"] }) }, onShow: function() {}, onHide: function() { var e = t.getBackgroundAudioManager(); ! e.paused && o. default.state.audio_is_stop && e.stop() }, onUnload: function() { 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) {}, ab23: function(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 = { data: function() { 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: { vip: function() { 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) } }, onLoad: function(e) { u = this }, onShow: function() { u = this, (0, e. default)(this, function() { s((0, i.getPageQuery)(u)) }) }, onShareAppMessage: function() { 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: "" } }, onShareTimeline: function() { return { title: this.page_data.title, query: "id=" + (0, i.getPageQuery)(this).id + "&pid=" + this.user.id } }, onPullDownRefresh: function(e) { s((0, i.getPageQuery)(this)) }, onReady: function() {}, methods: { close: function() { this.my_xcx.add_xcx_state = !1, o.setStorageSync("hide_my_xcx", !0) }, getUser: function(e) { u.$tools.login(r({}, e.detail.userInfo)) }, onAudioPlay: function(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"]]]);
2020-09-05 - 小程序授权弹框样式?
[图片]
2020-07-10 - 真机调试,编译,预览真慢
https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html 拿手机预览一下效果,真机调试个东西都下班了
2020-06-03 - 怎么可以拿到是拍摄还是从相册中选择上传
https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.chooseMedia.html
2020-05-13 - 小程序闪退是什么原因?
打开性能面板,cpu占用0%的情况下也会闪退
2019-11-21