蓝牙控制阀小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

391 lines
40 KiB

3 years ago
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-slider/u-slider"],{
  2. /***/ 69:
  3. /*!**********************************************************************************************!*\
  4. !*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue ***!
  5. \**********************************************************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  8. "use strict";
  9. __webpack_require__.r(__webpack_exports__);
  10. /* harmony import */ var _u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& */ 70);
  11. /* harmony import */ var _u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-slider.vue?vue&type=script&lang=js& */ 72);
  12. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_slider_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 _u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  13. /* harmony import */ var _u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& */ 74);
  14. /* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10);
  15. var renderjs
  16. /* normalize component */
  17. var component = Object(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  18. _u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  19. _u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  20. _u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  21. false,
  22. null,
  23. "c7a63ef2",
  24. null,
  25. false,
  26. _u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  27. renderjs
  28. )
  29. component.options.__file = "node_modules/uview-ui/components/u-slider/u-slider.vue"
  30. /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  31. /***/ }),
  32. /***/ 70:
  33. /*!*****************************************************************************************************************************************!*\
  34. !*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& ***!
  35. \*****************************************************************************************************************************************/
  36. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  37. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  38. "use strict";
  39. __webpack_require__.r(__webpack_exports__);
  40. /* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& */ 71);
  41. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  42. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  43. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
  44. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_template_id_c7a63ef2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
  45. /***/ }),
  46. /***/ 71:
  47. /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  48. !*** ./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:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=template&id=c7a63ef2&scoped=true& ***!
  49. \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  50. /*! exports provided: render, staticRenderFns, recyclableRender, components */
  51. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  52. "use strict";
  53. __webpack_require__.r(__webpack_exports__);
  54. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  55. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  56. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
  57. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
  58. var components
  59. var render = function() {
  60. var _vm = this
  61. var _h = _vm.$createElement
  62. var _c = _vm._self._c || _h
  63. var s0 = _vm.__get_style([
  64. _vm.barStyle,
  65. {
  66. height: _vm.height + "rpx",
  67. backgroundColor: _vm.activeColor
  68. }
  69. ])
  70. var s1 = !(_vm.$slots.default || _vm.$slots.$default)
  71. ? _vm.__get_style([
  72. _vm.blockStyle,
  73. {
  74. height: _vm.blockWidth + "rpx",
  75. width: _vm.blockWidth + "rpx",
  76. backgroundColor: _vm.blockColor
  77. }
  78. ])
  79. : null
  80. _vm.$mp.data = Object.assign(
  81. {},
  82. {
  83. $root: {
  84. s0: s0,
  85. s1: s1
  86. }
  87. }
  88. )
  89. }
  90. var recyclableRender = false
  91. var staticRenderFns = []
  92. render._withStripped = true
  93. /***/ }),
  94. /***/ 72:
  95. /*!***********************************************************************************************************************!*\
  96. !*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=script&lang=js& ***!
  97. \***********************************************************************************************************************/
  98. /*! no static exports found */
  99. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  100. "use strict";
  101. __webpack_require__.r(__webpack_exports__);
  102. /* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-slider.vue?vue&type=script&lang=js& */ 73);
  103. /* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
  104. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_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 _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  105. /* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
  106. /***/ }),
  107. /***/ 73:
  108. /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  109. !*** ./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:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=script&lang=js& ***!
  110. \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  111. /*! no static exports found */
  112. /***/ (function(module, exports, __webpack_require__) {
  113. "use strict";
  114. Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
  115. //
  116. //
  117. //
  118. //
  119. //
  120. //
  121. //
  122. //
  123. //
  124. //
  125. //
  126. //
  127. //
  128. //
  129. //
  130. //
  131. //
  132. //
  133. //
  134. //
  135. //
  136. //
  137. //
  138. //
  139. //
  140. //
  141. //
  142. /**
  143. * slider 滑块选择器
  144. * @tutorial https://uviewui.com/components/slider.html
  145. * @property {Number | String} value 滑块默认值默认0
  146. * @property {Number | String} min 最小值默认0
  147. * @property {Number | String} max 最大值默认100
  148. * @property {Number | String} step 步长默认1
  149. * @property {Number | String} blockWidth 滑块宽度高等于宽30
  150. * @property {Number | String} height 滑块条高度单位rpx默认6
  151. * @property {String} inactiveColor 底部条背景颜色默认#c0c4cc
  152. * @property {String} activeColor 底部选择部分的背景颜色默认#2979ff
  153. * @property {String} blockColor 滑块颜色默认#ffffff
  154. * @property {Object} blockStyle 给滑块自定义样式对象形式
  155. * @property {Boolean} disabled 是否禁用滑块(默认为false)
  156. * @event {Function} start 滑动触发
  157. * @event {Function} moving 正在滑动中
  158. * @event {Function} end 滑动结束
  159. * @example <u-slider v-model="value" />
  160. */var _default2 =
  161. {
  162. name: 'u-slider',
  163. props: {
  164. // 当前进度百分比值,范围0-100
  165. value: {
  166. type: [Number, String],
  167. default: 0 },
  168. // 是否禁用滑块
  169. disabled: {
  170. type: Boolean,
  171. default: false },
  172. // 滑块宽度,高等于宽,单位rpx
  173. blockWidth: {
  174. type: [Number, String],
  175. default: 30 },
  176. // 最小值
  177. min: {
  178. type: [Number, String],
  179. default: 0 },
  180. // 最大值
  181. max: {
  182. type: [Number, String],
  183. default: 100 },
  184. // 步进值
  185. step: {
  186. type: [Number, String],
  187. default: 1 },
  188. // 滑块条高度,单位rpx
  189. height: {
  190. type: [Number, String],
  191. default: 6 },
  192. // 进度条的激活部分颜色
  193. activeColor: {
  194. type: String,
  195. default: '#2979ff' },
  196. // 进度条的背景颜色
  197. inactiveColor: {
  198. type: String,
  199. default: '#c0c4cc' },
  200. // 滑块的背景颜色
  201. blockColor: {
  202. type: String,
  203. default: '#ffffff' },
  204. // 用户对滑块的自定义颜色
  205. blockStyle: {
  206. type: Object,
  207. default: function _default() {
  208. return {};
  209. } } },
  210. data: function data() {
  211. return {
  212. startX: 0,
  213. status: 'end',
  214. newValue: 0,
  215. distanceX: 0,
  216. startValue: 0,
  217. barStyle: {},
  218. sliderRect: {
  219. left: 0,
  220. width: 0 } };
  221. },
  222. watch: {
  223. value: function value(n) {
  224. // 只有在非滑动状态时,才可以通过value更新滑块值,这里监听,是为了让用户触发
  225. if (this.status == 'end') this.updateValue(this.value, false);
  226. } },
  227. created: function created() {
  228. this.updateValue(this.value, false);
  229. },
  230. mounted: function mounted() {var _this = this;
  231. // 获取滑块条的尺寸信息
  232. this.$uGetRect('.u-slider').then(function (rect) {
  233. _this.sliderRect = rect;
  234. });
  235. },
  236. methods: {
  237. onTouchStart: function onTouchStart(event) {
  238. if (this.disabled) return;
  239. this.startX = 0;
  240. // 触摸点集
  241. var touches = event.touches[0];
  242. // 触摸点到屏幕左边的距离
  243. this.startX = touches.clientX;
  244. // 此处的this.value虽为props值,但是通过$emit('input')进行了修改
  245. this.startValue = this.format(this.value);
  246. // 标示当前的状态为开始触摸滑动
  247. this.status = 'start';
  248. },
  249. onTouchMove: function onTouchMove(event) {
  250. if (this.disabled) return;
  251. // 连续触摸的过程会一直触发本方法,但只有手指触发且移动了才被认为是拖动了,才发出事件
  252. // 触摸后第一次移动已经将status设置为moving状态,故触摸第二次移动不会触发本事件
  253. if (this.status == 'start') this.$emit('start');
  254. var touches = event.touches[0];
  255. // 滑块的左边不一定跟屏幕左边接壤,所以需要减去最外层父元素的左边值
  256. this.distanceX = touches.clientX - this.sliderRect.left;
  257. // 获得移动距离对整个滑块的百分比值,此为带有多位小数的值,不能用此更新视图
  258. // 否则造成通信阻塞,需要每改变一个step值时修改一次视图
  259. this.newValue = this.distanceX / this.sliderRect.width * 100;
  260. this.status = 'moving';
  261. // 发出moving事件
  262. this.$emit('moving');
  263. this.updateValue(this.newValue, true);
  264. },
  265. onTouchEnd: function onTouchEnd() {
  266. if (this.disabled) return;
  267. if (this.status === 'moving') {
  268. this.updateValue(this.newValue, false);
  269. this.$emit('end');
  270. }
  271. this.status = 'end';
  272. },
  273. updateValue: function updateValue(value, drag) {
  274. // 去掉小数部分,同时也是对step步进的处理
  275. var width = this.format(value);
  276. // 不允许滑动的值超过max最大值,百分比也不能超过100
  277. if (width > this.max || width > 100) return;
  278. // 设置移动的百分比值
  279. var barStyle = {
  280. width: width + '%' };
  281. // 移动期间无需过渡动画
  282. if (drag == true) {
  283. barStyle.transition = 'none';
  284. } else {
  285. // 非移动期间,删掉对过渡为空的声明,让css中的声明起效
  286. delete barStyle.transition;
  287. }
  288. // 修改value值
  289. this.$emit('input', width);
  290. this.barStyle = barStyle;
  291. },
  292. format: function format(value) {
  293. // 将小数变成整数,为了减少对视图的更新,造成视图层与逻辑层的阻塞
  294. return Math.round(Math.max(this.min, Math.min(value, this.max)) / this.step) * this.step;
  295. },
  296. onClick: function onClick(event) {
  297. if (this.disabled) return;
  298. // 直接点击滑块的情况,计算方式与onTouchMove方法相同
  299. var value = (event.detail.x - this.sliderRect.left) / this.sliderRect.width * 100;
  300. this.updateValue(value, false);
  301. } } };exports.default = _default2;
  302. /***/ }),
  303. /***/ 74:
  304. /*!********************************************************************************************************************************************************!*\
  305. !*** D:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& ***!
  306. \********************************************************************************************************************************************************/
  307. /*! no static exports found */
  308. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  309. "use strict";
  310. __webpack_require__.r(__webpack_exports__);
  311. /* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../develop/HBuilderX.3.0.7.20210123.full/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& */ 75);
  312. /* harmony import */ var _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
  313. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  314. /* harmony default export */ __webpack_exports__["default"] = (_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_develop_HBuilderX_3_0_7_20210123_full_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_slider_vue_vue_type_style_index_0_id_c7a63ef2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
  315. /***/ }),
  316. /***/ 75:
  317. /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  318. !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./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:/yin/workspace/uni-app/BLEApp/node_modules/uview-ui/components/u-slider/u-slider.vue?vue&type=style&index=0&id=c7a63ef2&lang=scss&scoped=true& ***!
  319. \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  320. /*! no static exports found */
  321. /***/ (function(module, exports, __webpack_require__) {
  322. // extracted by mini-css-extract-plugin
  323. if(false) { var cssReload; }
  324. /***/ })
  325. }]);
  326. //# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-slider/u-slider.js.map
  327. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  328. 'node-modules/uview-ui/components/u-slider/u-slider-create-component',
  329. {
  330. 'node-modules/uview-ui/components/u-slider/u-slider-create-component':(function(module, exports, __webpack_require__){
  331. __webpack_require__('1')['createComponent'](__webpack_require__(69))
  332. })
  333. },
  334. [['node-modules/uview-ui/components/u-slider/u-slider-create-component']]
  335. ]);