(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["setting-system-index"],{"17af":function(t,n,o){var e=o("f859");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=o("967d").default;i("136e6302",e,!0,{sourceMap:!1,shadowMode:!1})},"2b2f":function(t,n,o){"use strict";o.r(n);var e=o("b350"),i=o("de0d");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return i[t]}))}(a);o("514e");var u=o("828b"),c=Object(u["a"])(i["default"],e["b"],e["c"],!1,null,"06f36408",null,!1,e["a"],void 0);n["default"]=c.exports},"514e":function(t,n,o){"use strict";var e=o("17af"),i=o.n(e);i.a},"765c":function(t,n,o){"use strict";o("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=uni.requireNativePlugin("SeaFox-Accessibility"),i={data:function(){return{keepAlive:null,status:!1,isStart:!1,pageChange:""}},onLoad:function(){this.keepAlive=uni.requireNativePlugin("SeaFox-KeepAliveSuit")},onShow:function(){this.status=this.getServiceState(),this.isStart=e.getState()},methods:{goAliveSetting:function(){e.goAliveSetting()},getServiceState:function(){return e.getServiceState()},onKeep:function(){this.keepAlive.onKeep({title:"商家助手",content:"商家助手保活运行中"},(function(t){console.log(t),uni.showToast({title:"开启成功",icon:"none",duration:3e3})}))},onAutoStart:function(){this.keepAlive.onAutoStart((function(t){console.log(t),uni.showToast({title:"打开成功",icon:"none",duration:3e3})}))},requestIgnoreBattery:function(){this.keepAlive.requestIgnoreBattery((function(t){console.log(t),uni.showToast({title:"已加入电池优化白名单",icon:"none",duration:3e3})}))},goIgnoreBattery:function(){this.keepAlive.goIgnoreBattery((function(t){console.log(t),uni.showToast({title:"打开成功",icon:"none",duration:3e3})}))},isIgnoringBattery:function(){this.keepAlive.isIgnoringBattery((function(t){console.log(t),uni.showToast({title:t.msg,icon:"none",duration:3e3})}))},onShowNotify:function(){this.keepAlive.onShowNotify({},(function(t){console.log(t),uni.showToast({title:"开启成功",icon:"none",duration:3e3})}))},onCancelNotify:function(){this.keepAlive.onCancelNotify({},(function(t){console.log(t),uni.showToast({title:"取消成功",icon:"none",duration:3e3})}))}}};n.default=i},b350:function(t,n,o){"use strict";o.d(n,"b",(function(){return e})),o.d(n,"c",(function(){return i})),o.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("v-uni-view",[o("v-uni-button",{staticStyle:{"margin-top":"10px"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onKeep.apply(void 0,arguments)}}},[t._v("通用保活")]),o("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onAutoStart.apply(void 0,arguments)}}},[t._v("设置自启、后台运行")]),o("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.requestIgnoreBattery.apply(void 0,arguments)}}},[t._v("申请加入电池优化白名单")]),o("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goIgnoreBattery.apply(void 0,arguments)}}},[t._v("跳转到电池优化设置页")]),o("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.isIgnoringBattery.apply(void 0,arguments)}}},[t._v("是否加入电池优化白名单")]),o("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onShowNotify.apply(void 0,arguments)}}},[t._v("常驻通知保活")]),o("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onCancelNotify.apply(void 0,arguments)}}},[t._v("取消常驻通知保活")]),o("v-uni-button",{attrs:{type:t.status?"default":"primary",disabled:t.status},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goAliveSetting.apply(void 0,arguments)}}},[t._v(t._s(t.status?"已开启后台推送":"开启后台推送"))])],1)},i=[]},de0d:function(t,n,o){"use strict";o.r(n);var e=o("765c"),i=o.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return e[t]}))}(a);n["default"]=i.a},f859:function(t,n,o){var e=o("c86c");n=e(!1),n.push([t.i,"uni-button[data-v-06f36408]{background-color:#33aafc;color:#f0f8ff;margin-bottom:30px}.content[data-v-06f36408]{margin:%?20?%}.content uni-button[data-v-06f36408]{margin:%?10?%}.log[data-v-06f36408]{padding:%?20?%;overflow:hidden}.log uni-text[data-v-06f36408]{white-space:pre-wrap;word-wrap:break-word}",""]),t.exports=n}}]);