adultDeviceApp/unpackage/dist/dev/mp-weixin/BLEPages/child/F01PRO.js

631 lines
39 KiB
JavaScript
Raw Normal View History

2022-06-11 16:21:11 +08:00
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["BLEPages/child/F01PRO"],{
2022-05-13 09:22:34 +08:00
2022-05-13 18:13:20 +08:00
/***/ 197:
2022-05-27 17:20:31 +08:00
/*!**************************************************************************************************!*\
2022-06-11 16:21:11 +08:00
!*** D:/MyWork/mywork////adultDeviceApp/main.js?{"page":"BLEPages%2Fchild%2FF01PRO"} ***!
2022-05-27 17:20:31 +08:00
\**************************************************************************************************/
2022-05-13 09:22:34 +08:00
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
2022-06-11 16:21:11 +08:00
var _F01PRO = _interopRequireDefault(__webpack_require__(/*! ./BLEPages/child/F01PRO.vue */ 198));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
2022-05-13 09:22:34 +08:00
createPage(_F01PRO.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
/***/ }),
2022-05-13 18:13:20 +08:00
/***/ 198:
2022-05-27 17:20:31 +08:00
/*!*******************************************************************************!*\
2022-06-11 16:21:11 +08:00
!*** D:/MyWork/mywork////adultDeviceApp/BLEPages/child/F01PRO.vue ***!
2022-05-27 17:20:31 +08:00
\*******************************************************************************/
2022-05-13 09:22:34 +08:00
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2022-06-11 16:21:11 +08:00
/* harmony import */ var _F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./F01PRO.vue?vue&type=template&id=63a6c9a1&scoped=true& */ 199);
2022-05-13 18:13:20 +08:00
/* harmony import */ var _F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./F01PRO.vue?vue&type=script&lang=js& */ 201);
2022-05-13 09:22:34 +08:00
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10);
var renderjs
/* normalize component */
var component = Object(_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
_F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
2022-06-11 16:21:11 +08:00
_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
2022-05-13 09:22:34 +08:00
false,
null,
2022-06-11 16:21:11 +08:00
"63a6c9a1",
2022-05-13 09:22:34 +08:00
null,
false,
2022-06-11 16:21:11 +08:00
_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
2022-05-13 09:22:34 +08:00
renderjs
)
2022-06-11 16:21:11 +08:00
component.options.__file = "BLEPages/child/F01PRO.vue"
2022-05-13 09:22:34 +08:00
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
2022-05-13 18:13:20 +08:00
/***/ 199:
2022-05-27 17:20:31 +08:00
/*!**************************************************************************************************************************!*\
2022-06-11 16:21:11 +08:00
!*** D:/MyWork/mywork////adultDeviceApp/BLEPages/child/F01PRO.vue?vue&type=template&id=63a6c9a1&scoped=true& ***!
2022-05-27 17:20:31 +08:00
\**************************************************************************************************************************/
2022-05-13 09:22:34 +08:00
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2022-06-11 16:21:11 +08:00
/* harmony import */ var _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./F01PRO.vue?vue&type=template&id=63a6c9a1&scoped=true& */ 200);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
2022-05-13 09:22:34 +08:00
2022-06-11 16:21:11 +08:00
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
2022-05-13 09:22:34 +08:00
2022-06-11 16:21:11 +08:00
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
2022-05-13 09:22:34 +08:00
2022-06-11 16:21:11 +08:00
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_template_id_63a6c9a1_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
2022-05-13 09:22:34 +08:00
/***/ }),
2022-05-13 18:13:20 +08:00
/***/ 200:
2022-05-27 17:20:31 +08:00
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
2022-06-11 16:21:11 +08:00
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/MyWork/mywork////adultDeviceApp/BLEPages/child/F01PRO.vue?vue&type=template&id=63a6c9a1&scoped=true& ***!
2022-05-27 17:20:31 +08:00
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
2022-05-13 09:22:34 +08:00
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
2022-05-13 18:13:20 +08:00
/***/ 201:
2022-05-27 17:20:31 +08:00
/*!********************************************************************************************************!*\
2022-06-11 16:21:11 +08:00
!*** D:/MyWork/mywork////adultDeviceApp/BLEPages/child/F01PRO.vue?vue&type=script&lang=js& ***!
2022-05-27 17:20:31 +08:00
\********************************************************************************************************/
2022-05-13 09:22:34 +08:00
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2022-05-13 18:13:20 +08:00
/* harmony import */ var _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../360Downloads/Software/HBuilderX.3.3.13.20220314/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./F01PRO.vue?vue&type=script&lang=js& */ 202);
2022-05-13 09:22:34 +08:00
/* harmony import */ var _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_360Downloads_Software_HBuilderX_3_3_13_20220314_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_F01PRO_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
2022-05-13 18:13:20 +08:00
/***/ 202:
2022-05-27 17:20:31 +08:00
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
2022-06-11 16:21:11 +08:00
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/MyWork/mywork////adultDeviceApp/BLEPages/child/F01PRO.vue?vue&type=script&lang=js& ***!
2022-05-27 17:20:31 +08:00
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
2022-05-13 09:22:34 +08:00
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
var _vuex = __webpack_require__(/*! vuex */ 9);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}
var myTime;
var plugin = requirePlugin("sdkPlugin").AiLink;var _default =
{
data: function data() {
return {
textW: "",
textH: "",
height: "",
weight: "",
imp: 0,
macAddr: "",
deviceId: "",
serviceId: "",
readId: "",
writeId: "",
notifyId: "",
isSend: true,
Unload: false,
devicesList: [],
isConnection: 0,
data01: {},
data02: {},
BLEResult: {} };
},
computed: _objectSpread(_objectSpread({},
(0, _vuex.mapState)(["user", "isConnected", "isBluetoothTyle", "appTheme"])), {}, {
info: function info() {
return this.user;
} }),
onUnload: function onUnload() {
var that = this;
if (!that.Unload) {
that.stopBluetoothDevicesDiscovery(); //取消蓝牙搜索
clearTimeout(myTime);
that.closeBLEConnection();
that.closeBluetoothAdapter();
2022-05-27 17:20:31 +08:00
uni.switchTab({
url: "/pages/index/index" });
2022-05-13 09:22:34 +08:00
console.log("页面返回onUnload");
}
},
watch: {
isConnected: function isConnected() {
var that = this;
if (!that.isConnected) {
that.handleBack();
that.isConnection = 2;
}
},
isBluetoothTyle: function isBluetoothTyle() {
var that = this;
if (!that.isBluetoothTyle) {
that.handleBack();
that.isConnection = 2;
}
} },
onLoad: function onLoad(options) {
var that = this;
// 导航栏颜色
uni.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: this.appTheme });
//
that.textW = "";
that.textH = "";
console.log("options", options);
if (options && options.deviceId) {
that.macAddr = options.deviceId;
that.deviceId = options.deviceId;
that.closeBLEConnection();
that.closeBluetoothAdapter();
that.openBluetoothAdapter();
}
2022-06-11 16:21:11 +08:00
2022-05-13 09:22:34 +08:00
that.onBLEConnectionStateChange();
uni.onBluetoothAdapterStateChange(function (res) {
that.$store.commit("changeBluetooth", res.available);
});
},
methods: {
// 重新连接
openBluetoothAdapter: function openBluetoothAdapter() {
var that = this;
2022-05-27 17:20:31 +08:00
that.textW = "";
that.textH = "";
2022-05-13 09:22:34 +08:00
that.isSend = true;
uni.openBluetoothAdapter({
success: function success(e) {
that.isConnection = 0;
that.startBluetoothDeviceDiscovery();
console.log('初始化蓝牙成功:' + e.errMsg);
},
fail: function fail(e) {
that.isConnection = 2;
that.$tools.msg("请确定设备是开机状态、手机蓝牙权限已打开!");
} });
},
// 监听蓝牙连接状态
onBLEConnectionStateChange: function onBLEConnectionStateChange() {
var that = this;
uni.onBLEConnectionStateChange(function (res) {
console.log("蓝牙连接状态", JSON.stringify(res));
if (!res.connected) {
that.Unload = true;
that.isConnection = 2;
clearTimeout(myTime);
that.closeBLEConnection();
that.closeBluetoothAdapter();
}
that.$store.commit("changeConnected", res.connected);
});
},
// 开始搜寻附近的蓝牙外围设备
startBluetoothDeviceDiscovery: function startBluetoothDeviceDiscovery() {
var that = this;
uni.startBluetoothDevicesDiscovery({
allowDuplicatesKey: false,
interval: 500, //上报设备的间隔
success: function success(res) {
that.isConnection = 0;
that.onBluetoothDeviceFound();
},
fail: function fail(res) {
that.isConnection = 2;
that.$tools.msg("请确定设备是开机状态、手机蓝牙权限已打开!");
} });
},
/**
* 发现外围设备
*/
onBluetoothDeviceFound: function onBluetoothDeviceFound() {
var that = this;
that.isConnection = 0;
uni.onBluetoothDeviceFound(function (res) {
res.devices.forEach(function (device) {
if (!device.name && !device.localName) {
return;
}
if (device.name.indexOf('AiLink_') != -1) {
clearTimeout(myTime);
var buff = device.advertisData.slice(-6);
device.mac = new Uint8Array(buff); // 保存广播数据中的mac地址这是由于iOS不直接返回mac地址
var tempMac = Array.from(device.mac);
tempMac.reverse();
device.macAddr = that.$tools.ab2hex(tempMac, ':').toUpperCase();
if (device.deviceId.indexOf(that.deviceId) != -1 || device.macAddr.indexOf(that.deviceId) != -1) {
that.stopBluetoothDevicesDiscovery();
that.deviceId = device.deviceId;
that.macAddr = device.macAddr;
var foundDevices = that.devicesList;
var idx = that.$tools.inArray(foundDevices, "deviceId", device.deviceId);
if (idx === -1) {
that.devicesList.push(device);
} else {
that.devicesList[idx] = device;
}
that.createBLEConnection();
return;
}
}
});
});
that.handleMyTime();
},
handleMyTime: function handleMyTime() {
var that = this;
myTime = setTimeout(function () {
if (!that.macAddr) {
clearTimeout(myTime);
that.Unload = true;
that.isConnection = 2;
that.devicesList = [];
that.closeBLEConnection();
that.closeBluetoothAdapter();
}
}, 20000);
},
/**
* 停止搜索蓝牙设备
*/
stopBluetoothDevicesDiscovery: function stopBluetoothDevicesDiscovery() {
uni.stopBluetoothDevicesDiscovery({
success: function success(e) {
console.log("停止搜索蓝牙设备", e);
} });
},
// 连接蓝牙
createBLEConnection: function createBLEConnection() {
var that = this;
uni.createBLEConnection({
deviceId: that.deviceId,
success: function success(res) {
console.log("设备连接成功获取设备的services", res);
that.isConnection = 0;
that.getBLEDeviceServices();
},
fail: function fail(res) {
that.isConnection = 2;
console.log("设备连接失败,请重新连接", res);
} });
},
/**
* 获取设备的UUID
*/
getBLEDeviceServices: function getBLEDeviceServices() {
var serviceList = [];
var that = this;
uni.getBLEDeviceServices({
deviceId: that.deviceId,
success: function success(res) {
console.log("获取设备的UUID成功", res);
serviceList = res.services;
for (var i = 0; i < serviceList.length; i++) {
var service = serviceList[i];
if (service.uuid.indexOf('FFE0') != -1) {
that.serviceId = service.uuid;
that.isConnection = 1;
that.getBLEDeviceCharacteristics(that.deviceId, service.uuid);
console.log("设备的FFE0的serviceId ", that.serviceId);
break;
}
}
},
fail: function fail(res) {
console.log('获取设备的UUID失败:', res);
} });
},
/**
* 获取指定服务的特征值
*/
getBLEDeviceCharacteristics: function getBLEDeviceCharacteristics(deviceId, serviceId) {
var characteristicsList = [];
var that = this;
uni.getBLEDeviceCharacteristics({
deviceId: deviceId,
serviceId: serviceId,
success: function success(res) {
console.log("服务的特征值成功", res);
characteristicsList = res.characteristics;
for (var i = 0; i < characteristicsList.length; i++) {
var item = characteristicsList[i];
if (item.uuid.indexOf('0000FFE1') != -1) {
that.uuid1 = item.uuid; //下发数据
} else if (item.uuid.indexOf('0000FFE2') != -1) {
that.uuid2 = item.uuid; //监听数据
} else if (item.uuid.indexOf('0000FFE3') != -1) {
that.uuid3 = item.uuid; //写入设置
}
}
// 打开监听
uni.notifyBLECharacteristicValueChange({
deviceId: deviceId,
serviceId: serviceId,
characteristicId: that.uuid2,
state: true });
uni.notifyBLECharacteristicValueChange({
deviceId: deviceId,
serviceId: serviceId,
characteristicId: that.uuid3,
state: true });
// 初始化插件
console.log("初始化插件", that.devicesList);
that.devicesList[0].serviceId = that.serviceId;
plugin.initPlugin(res.characteristics, that.devicesList[0]);
uni.onBLECharacteristicValueChange(function (characteristic) {
var bleData = plugin.parseBleData(characteristic.value);
var dw0 = "kg";
2022-05-13 18:13:20 +08:00
var dw1 = "kg";
2022-05-13 09:22:34 +08:00
if (bleData.status == 0) {
var sex0 = that.info.sex == 1 ? 1 : 0;
var sex = "0x0" + sex0.toString(16);
var age = "0x" + that.info.age.toString(16);
var height = "0x" + that.info.height.toString(16);
var arr = [0x01, parseInt(sex), parseInt(age), parseInt(height), 0x00];
console.log("指令发送成功", arr);
plugin.sendDataOfA7(arr);
console.log("握手成功");
} else if (bleData.status == 1) {
var payload = that.$tools.ab2hex(bleData.data, '');
var type = payload.substring(0, 2);
console.log("开始测量", payload);
if (type == "10" || type == "30" || type == "40") {//体脂模式
var data = parseInt(payload.substring(6, 12), 16);
var typeInfo = payload.substring(4, 6);
var num = payload.substring(12, 13);
var dw = payload.substring(13, 14);
if (dw == "1") {
dw0 = "jin";
2022-05-13 18:13:20 +08:00
dw1 = "斤";
2022-05-13 09:22:34 +08:00
}
if (num == "1") {
data = data / 10;
}
if (num == "2") {
data = data / 100;
}
if (num == "3") {
data = data / 1000;
}
if (typeInfo == "01") {
2022-05-13 18:13:20 +08:00
that.textW = "您的实时体重是:" + data + dw1;
2022-05-13 09:22:34 +08:00
}
if (typeInfo == "02") {
2022-05-13 18:13:20 +08:00
that.textW = "您的体重是:" + data + dw1;
2022-05-13 09:22:34 +08:00
that.weight = data + dw0;
}
}
if (type == "14" || type == "41") {//身高模式
var _height = parseInt(payload.substring(4, 8), 16);
that.textH = "您的身高是:" + _height + "cm";
that.height = _height;
console.log("身高模式:", that.height);
}
if (type == "11") {//阻抗模式
var _typeInfo = payload.substring(4, 6);
if (_typeInfo == "02") {
that.imp = 0;
}
if (_typeInfo == "04") {
that.imp = parseInt(payload.substring(8, 12), 16);
}
console.log("阻抗:", that.imp);
}
if (type == '15') {
var _typeInfo2 = payload.substring(4, 6);
if (_typeInfo2 == "01") {
that.data01 = {
bodyage: parseInt(payload.substring(26, 28),
16),
fat_r: parseInt(payload.substring(6, 10),
16) / 10,
muscle: parseInt(payload.substring(18, 22),
16) / 10,
kcal: parseInt(payload.substring(22, 26),
16),
visceral: parseInt(payload.substring(14,
18), 16),
sfr: parseInt(payload.substring(10, 14),
16) / 10 };
}
if (_typeInfo2 == '02') {
that.data02 = {
water: parseInt(payload.substring(10, 14),
16) / 10,
bone: parseInt(payload.substring(6, 10),
16) / 10,
fatlevlval: parseInt(payload.substring(24,
26), 16) /
10,
protein: parseInt(payload.substring(14, 18),
16) / 10,
bmi: parseInt(payload.substring(18, 22),
16) / 10 };
}
console.log("体脂数据", that.data01, that.data02);
that.BLEResult = Object.assign(that.data01, that.data02);
}
if (type == "80") {//测量结束
that.BLEResult.weight = that.weight;
that.BLEResult.imp = that.imp ? that.imp : 0;
that.BLEResult.ecode = that.macAddr;
that.BLEResult.height = that.height ? that.height : that.info.height;
that.BLEResult.familyid = that.info.id;
console.log("体脂成功:", that.BLEResult);
2022-05-27 17:20:31 +08:00
if (that.BLEResult.imp == 0) {
uni.showModal({
title: '提示',
content: "体脂测量失败,是否保存本次测量结果?",
cancelText: "放弃",
confirmText: "保存",
success: function success(res) {
if (res.confirm) {
that.handleGetMeasure(that.BLEResult);
} else {
console.log("放弃保存");
that.Unload = true;
that.closeBLEConnection();
that.closeBluetoothAdapter();
uni.switchTab({
url: "/pages/index/index" });
}
} });
} else {
that.handleGetMeasure(that.BLEResult);
}
2022-05-13 09:22:34 +08:00
}
}
});
},
fail: function fail(res) {
console.log('获取特征值失败:', JSON.stringify(res));
} });
},
// 保存测量结果
handleGetMeasure: function handleGetMeasure(data) {
console.log("保存结果");
var that = this;
that.$model.getmeasuredata(data).then(function (res) {
if (res.code == 0) {
that.$store.dispatch("getUserInfo", {
familyid: that.info.familyid });
that.$store.dispatch("getResult", {
birthday: that.info.birthday,
familyid: that.info.familyid,
height: that.height ? that.height : that.info.height,
sex: that.info.sex });
that.$tools.msg("测量成功");
} else {
console.log("测量失败", res.message);
that.$tools.msg(res.message);
}
that.Unload = true;
setTimeout(function () {
that.closeBLEConnection();
that.closeBluetoothAdapter();
uni.switchTab({
url: "/pages/index/index" });
}, 200);
});
},
/**
* 断开蓝牙模块
*/
closeBluetoothAdapter: function closeBluetoothAdapter() {
var that = this;
uni.closeBluetoothAdapter({
success: function success(res) {
console.log('蓝牙模块关闭成功');
} });
},
handleBack: function handleBack() {
var that = this;
that.Unload = true;
that.stopBluetoothDevicesDiscovery(); //取消蓝牙搜索
that.closeBLEConnection();
that.closeBluetoothAdapter();
},
/**
* 断开蓝牙连接
*/
closeBLEConnection: function closeBLEConnection() {
var that = this;
uni.closeBLEConnection({
deviceId: that.deviceId,
success: function success(res) {
console.log('断开蓝牙连接成功');
} });
} } };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
/***/ })
2022-05-13 18:13:20 +08:00
},[[197,"common/runtime","common/vendor"]]]);
2022-06-11 16:21:11 +08:00
//# sourceMappingURL=../../../.sourcemap/mp-weixin/BLEPages/child/F01PRO.js.map