(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/home/index"],{"0160":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("26cb");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 i=function(){n.e("components/header/head").then(function(){return resolve(n("1c56"))}.bind(null,n)).catch(n.oe)},a={components:{headTop:i},data:function(){return{token:null,devtype:0,infoList:[],deviceId:null}},computed:c({},(0,o.mapState)(["user","MeasureResult"])),onUnload:function(){e.switchTab({url:"/pages/index/index"})},onShow:function(){var t=this;t.token=e.getStorageSync("token"),e.onBluetoothAdapterStateChange((function(e){t.$store.commit("changeBluetooth",e.available),console.log("报告页监听蓝牙状态openBluetoothAdapter",e.available)}))},onLoad:function(e){var t=this;console.log("options",e),e&&(t.devtype=e.t,t.deviceId=e.sn),this.$nextTick((function(){t.handleToggle(0)}))},watch:{MeasureResult:function(){this.handleToggle(0)}},methods:{handleToggle:function(e){var t=this;if(t.MeasureResult){for(var n=this.weightInfo.infoList(t.MeasureResult).slice(1,14),o=0;o<n.length;o++)n[o].showCon=o==e&&!n[o].showCon;t.infoList=this.weightInfo.infoList(t.MeasureResult).slice(1,14)}}}};t.default=a}).call(this,n("543d")["default"])},"580f":function(e,t,n){"use strict";(function(e){n("0d2f");o(n("66fd"));var t=o(n("7c13"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},"6e79":function(e,t,n){},"7c13":function(e,t,n){"use strict";n.r(t);var o=n("c774"),r=n("f037");for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);n("d41e");var u,i=n("f0c5"),a=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"220974b7",null,!1,o["a"],u);t["default"]=a.exports},c774:function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement;e._self._c},c=[]},d41e:function(e,t,n){"use strict";var o=n("6e79"),r=n.n(o);r.a},f037:function(e,t,n){"use strict";n.r(t);var o=n("0160"),r=n.n(o);for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=r.a}},[["580f","common/runtime","common/vendor"]]]);