| | |
| | | if (uni.restoreGlobal) { |
| | | uni.restoreGlobal(weex, plus, setTimeout, clearTimeout, setInterval, clearInterval); |
| | | } |
| | | __definePage('pages/home/home', function () {return Vue.extend(__webpack_require__(/*! pages/home/home.vue?mpType=page */ 2).default);}); |
| | | <<<<<<< HEAD |
| | | __definePage('pages/index/index', function () {return Vue.extend(__webpack_require__(/*! pages/index/index.vue?mpType=page */ 30).default);}); |
| | | ======= |
| | | __definePage('pages/home/home', function () {return Vue.extend(__webpack_require__(/*! pages/home/home.vue?mpType=page */ 2).default);}); |
| | | __definePage('pages/index/index', function () {return Vue.extend(__webpack_require__(/*! pages/index/index.vue?mpType=page */ 97).default);}); |
| | | >>>>>>> 2af3829f6276675ebe120cda94d628c49c429536 |
| | | __definePage('pages/index/monitor', function () {return Vue.extend(__webpack_require__(/*! pages/index/monitor.vue?mpType=page */ 121).default);}); |
| | | __definePage('pages/home/home', function () {return Vue.extend(__webpack_require__(/*! pages/home/home.vue?mpType=page */ 2).default);}); |
| | | |
| | | /***/ }), |
| | | /* 2 */ |
| | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _home_vue_vue_type_template_id_44021cb6_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./home.vue?vue&type=template&id=44021cb6&mpType=page */ 3); |
| | | /* harmony import */ var _home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./home.vue?vue&type=script&lang=js&mpType=page */ 22); |
| | | /* harmony import */ var _home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./home.vue?vue&type=script&lang=js&mpType=page */ 89); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./home.vue?vue&type=style&index=0&lang=css&mpType=page */ 24); |
| | | /* harmony import */ var _home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./home.vue?vue&type=style&index=0&lang=css&mpType=page */ 91); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); |
| | | |
| | | var renderjs |
| | |
| | | components = { |
| | | uniTransition: __webpack_require__(/*! @/uni_modules/uni-transition/components/uni-transition/uni-transition.vue */ 5) |
| | | .default, |
| | | yBox: __webpack_require__(/*! @/components/y-box/y-box.vue */ 11).default |
| | | yBox: __webpack_require__(/*! @/components/y-box/y-box.vue */ 11).default, |
| | | qiunDataCharts: __webpack_require__(/*! @/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue */ 22) |
| | | .default |
| | | } |
| | | } catch (e) { |
| | | if ( |
| | |
| | | ), |
| | | _c("uni-view", { |
| | | staticClass: _vm._$g(6, "sc"), |
| | | attrs: { _i: 6 } |
| | | attrs: { _i: 6 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }), |
| | | _c("uni-view", { |
| | | staticClass: _vm._$g(7, "sc"), |
| | | attrs: { _i: 7 } |
| | | attrs: { _i: 7 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g(15, "sc"), |
| | | staticStyle: { "text-align": "left" }, |
| | | attrs: { _i: 15 } |
| | | }, |
| | | [ |
| | |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { attrs: { _i: 22 } }, |
| | | [_vm._v("累计走行距离(米)")] |
| | | { |
| | | staticClass: _vm._$g(22, "sc"), |
| | | staticStyle: { |
| | | width: "calc(100% - 5vw)" |
| | | }, |
| | | attrs: { _i: 22 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 23, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | position: "relative" |
| | | }, |
| | | attrs: { _i: 23 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "2vw", |
| | | "padding-left": "5vw", |
| | | "font-size": "2vw" |
| | | }, |
| | | attrs: { _i: 24 } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | _vm._$g(24, "t0-0") |
| | | ) |
| | | ] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | position: "absolute", |
| | | bottom: "0", |
| | | left: "7vw" |
| | | }, |
| | | attrs: { _i: 25 } |
| | | }, |
| | | [_vm._v("m")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | height: "100%", |
| | | "text-align": "left", |
| | | "text-indent": "2em" |
| | | }, |
| | | attrs: { _i: 26 } |
| | | }, |
| | | [_vm._v("累计走行距离(米)")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(23, "sc"), |
| | | attrs: { _i: 23 } |
| | | staticClass: _vm._$g(27, "sc"), |
| | | attrs: { _i: 27 } |
| | | }, |
| | | [ |
| | | _c("v-uni-image", { |
| | | attrs: { |
| | | src: _vm._$g(24, "a-src"), |
| | | src: _vm._$g(28, "a-src"), |
| | | mode: "aspectFit", |
| | | _i: 24 |
| | | _i: 28 |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { attrs: { _i: 25 } }, |
| | | [_vm._v("累计走行距离(米)")] |
| | | { |
| | | staticClass: _vm._$g(29, "sc"), |
| | | staticStyle: { |
| | | width: "calc(100% - 5vw)" |
| | | }, |
| | | attrs: { _i: 29 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 30, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | position: "relative" |
| | | }, |
| | | attrs: { _i: 30 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "2vw", |
| | | "padding-left": "5vw", |
| | | "font-size": "2vw" |
| | | }, |
| | | attrs: { _i: 31 } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | _vm._$g(31, "t0-0") |
| | | ) |
| | | ] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | position: "absolute", |
| | | bottom: "0", |
| | | left: "7vw" |
| | | }, |
| | | attrs: { _i: 32 } |
| | | }, |
| | | [_vm._v("m")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | height: "100%", |
| | | "text-align": "left", |
| | | "text-indent": "2em" |
| | | }, |
| | | attrs: { _i: 33 } |
| | | }, |
| | | [_vm._v("累计升降距离(米)")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(26, "sc"), |
| | | attrs: { _i: 26 } |
| | | staticClass: _vm._$g(34, "sc"), |
| | | attrs: { _i: 34 } |
| | | }, |
| | | [ |
| | | _c("v-uni-image", { |
| | | attrs: { |
| | | src: _vm._$g(27, "a-src"), |
| | | src: _vm._$g(35, "a-src"), |
| | | mode: "aspectFit", |
| | | _i: 27 |
| | | _i: 35 |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { attrs: { _i: 28 } }, |
| | | [_vm._v("累计走行距离(米)")] |
| | | { |
| | | staticClass: _vm._$g(36, "sc"), |
| | | staticStyle: { |
| | | width: "calc(100% - 5vw)" |
| | | }, |
| | | attrs: { _i: 36 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 37, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | position: "relative" |
| | | }, |
| | | attrs: { _i: 37 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "2vw", |
| | | "padding-left": "5vw", |
| | | "font-size": "2vw" |
| | | }, |
| | | attrs: { _i: 38 } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | _vm._$g(38, "t0-0") |
| | | ) |
| | | ] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | position: "absolute", |
| | | bottom: "0", |
| | | left: "7vw" |
| | | }, |
| | | attrs: { _i: 39 } |
| | | }, |
| | | [_vm._v("s")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | height: "100%", |
| | | "text-align": "left", |
| | | "text-indent": "2em" |
| | | }, |
| | | attrs: { _i: 40 } |
| | | }, |
| | | [_vm._v("累计走行时长(秒)")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(29, "sc"), |
| | | attrs: { _i: 29 } |
| | | staticClass: _vm._$g(41, "sc"), |
| | | attrs: { _i: 41 } |
| | | }, |
| | | [ |
| | | _c("v-uni-image", { |
| | | attrs: { |
| | | src: _vm._$g(30, "a-src"), |
| | | src: _vm._$g(42, "a-src"), |
| | | mode: "aspectFit", |
| | | _i: 30 |
| | | _i: 42 |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { attrs: { _i: 31 } }, |
| | | [_vm._v("累计走行距离(米)")] |
| | | { |
| | | staticClass: _vm._$g(43, "sc"), |
| | | staticStyle: { |
| | | width: "calc(100% - 5vw)" |
| | | }, |
| | | attrs: { _i: 43 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 44, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | position: "relative" |
| | | }, |
| | | attrs: { _i: 44 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "2vw", |
| | | "padding-left": "5vw", |
| | | "font-size": "2vw" |
| | | }, |
| | | attrs: { _i: 45 } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | _vm._$g(45, "t0-0") |
| | | ) |
| | | ] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | position: "absolute", |
| | | bottom: "0", |
| | | left: "7vw" |
| | | }, |
| | | attrs: { _i: 46 } |
| | | }, |
| | | [_vm._v("s")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | height: "100%", |
| | | "text-align": "left", |
| | | "text-indent": "2em" |
| | | }, |
| | | attrs: { _i: 47 } |
| | | }, |
| | | [_vm._v("累计升降时长(秒)")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(32, "sc"), |
| | | attrs: { _i: 32 } |
| | | staticClass: _vm._$g(48, "sc"), |
| | | attrs: { _i: 48 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "v-uni-text", |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(33, "sc"), |
| | | attrs: { _i: 33 } |
| | | staticClass: _vm._$g(49, "sc"), |
| | | staticStyle: { width: "100%" }, |
| | | attrs: { _i: 49 } |
| | | }, |
| | | [_vm._v("库位使用率")] |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(50, "sc"), |
| | | staticStyle: { |
| | | "align-items": "flex-start", |
| | | "justify-content": "flex-start" |
| | | }, |
| | | attrs: { _i: 50 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g(51, "sc"), |
| | | attrs: { _i: 51 } |
| | | }, |
| | | [_vm._v("库位使用率")] |
| | | ), |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g(52, "sc"), |
| | | attrs: { _i: 52 } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | "EQUIPMENT USAGE THIS MONTH" |
| | | ) |
| | | ] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | "margin-left": "auto" |
| | | }, |
| | | attrs: { _i: 53 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(54, "sc"), |
| | | staticStyle: { |
| | | "align-items": "flex-end", |
| | | "justify-content": "flex-end" |
| | | }, |
| | | attrs: { _i: 54 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 55, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 55 } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | _vm._$g(55, "t0-0") + "%" |
| | | ) |
| | | ] |
| | | ), |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 56, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 56 } |
| | | }, |
| | | [_vm._v("同比上月 + 5%")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "v-uni-text", |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(34, "sc"), |
| | | attrs: { _i: 34 } |
| | | staticClass: _vm._$g(57, "sc"), |
| | | staticStyle: { |
| | | width: "100%", |
| | | "align-items": "flex-start", |
| | | position: "relative", |
| | | "font-size": "1vw" |
| | | }, |
| | | attrs: { _i: 57 } |
| | | }, |
| | | [_vm._v("EQUIPMENT USAGE THIS MONTH")] |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(58, "sc"), |
| | | staticStyle: { |
| | | width: "100%", |
| | | position: "relative", |
| | | "margin-top": "5%" |
| | | }, |
| | | attrs: { _i: 58 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(59, "sc"), |
| | | staticStyle: { |
| | | width: "80%", |
| | | height: "2vw" |
| | | }, |
| | | attrs: { _i: 59 } |
| | | }, |
| | | [ |
| | | _c("uni-view", { |
| | | staticClass: _vm._$g(60, "sc"), |
| | | style: _vm._$g(60, "s"), |
| | | attrs: { _i: 60 } |
| | | }) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | position: "absolute", |
| | | bottom: "0", |
| | | right: "0", |
| | | "font-size": "2.5vw", |
| | | color: "#FF5722" |
| | | }, |
| | | attrs: { _i: 61 } |
| | | }, |
| | | [_vm._v(_vm._$g(61, "t0-0"))] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(35, "sc"), attrs: { _i: 35 } }, |
| | | { staticClass: _vm._$g(62, "sc"), attrs: { _i: 62 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(36, "sc"), attrs: { _i: 36 } }, |
| | | { staticClass: _vm._$g(63, "sc"), attrs: { _i: 63 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { width: "100%", height: "100%" }, |
| | | attrs: { _i: 37 } |
| | | attrs: { _i: 64 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { height: "38%" }, |
| | | attrs: { _i: 38 } |
| | | staticStyle: { height: "35%" }, |
| | | attrs: { _i: 65 } |
| | | }, |
| | | [_c("y-box", { attrs: { _i: 39 } })], |
| | | [ |
| | | _c( |
| | | "y-box", |
| | | { attrs: { _i: 66 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(67, "sc"), |
| | | attrs: { _i: 67 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(68, "sc"), |
| | | staticStyle: { width: "100%" }, |
| | | attrs: { _i: 68 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 69, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | "align-items": "flex-start", |
| | | "justify-content": |
| | | "flex-start" |
| | | }, |
| | | attrs: { _i: 69 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 70, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 70 } |
| | | }, |
| | | [_vm._v("入出库统计")] |
| | | ), |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 71, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 71 } |
| | | }, |
| | | [_vm._v("ORDER STATISTICS")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | "margin-left": "auto" |
| | | }, |
| | | attrs: { _i: 72 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 73, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | "align-items": |
| | | "flex-end", |
| | | "justify-content": |
| | | "flex-end" |
| | | }, |
| | | attrs: { _i: 73 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 74, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 74 } |
| | | }, |
| | | [_vm._v("31")] |
| | | ), |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 75, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 75 } |
| | | }, |
| | | [_vm._v("今日订单数")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(76, "sc"), |
| | | attrs: { _i: 76 } |
| | | }, |
| | | [ |
| | | _c("qiun-data-charts", { |
| | | attrs: { _i: 77 } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c("uni-view", { |
| | | staticStyle: { height: "2%" }, |
| | | attrs: { _i: 40 } |
| | | attrs: { _i: 78 } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { height: "38%" }, |
| | | attrs: { _i: 41 } |
| | | staticStyle: { height: "43%" }, |
| | | attrs: { _i: 79 } |
| | | }, |
| | | [_c("y-box", { attrs: { _i: 42 } })], |
| | | [ |
| | | _c( |
| | | "y-box", |
| | | { attrs: { _i: 80 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(81, "sc"), |
| | | attrs: { _i: 81 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(82, "sc"), |
| | | staticStyle: { width: "100%" }, |
| | | attrs: { _i: 82 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 83, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | "align-items": "flex-start", |
| | | "justify-content": |
| | | "flex-start" |
| | | }, |
| | | attrs: { _i: 83 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 84, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 84 } |
| | | }, |
| | | [_vm._v("库存类型")] |
| | | ), |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 85, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 85 } |
| | | }, |
| | | [_vm._v("INCOME DATE")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | "margin-left": "auto" |
| | | }, |
| | | attrs: { _i: 86 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 87, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | "align-items": |
| | | "flex-end", |
| | | "justify-content": |
| | | "flex-end" |
| | | }, |
| | | attrs: { _i: 87 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 88, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 88 } |
| | | }, |
| | | [_vm._v("今天")] |
| | | ), |
| | | _c( |
| | | "v-uni-text", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 89, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 89 } |
| | | }, |
| | | [_vm._v("Today")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(90, "sc"), |
| | | staticStyle: { width: "100%" }, |
| | | attrs: { _i: 90 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 91, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 91 } |
| | | }, |
| | | [ |
| | | _c("qiun-data-charts", { |
| | | attrs: { _i: 92 } |
| | | }) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { attrs: { _i: 93 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 94, |
| | | "sc" |
| | | ), |
| | | attrs: { _i: 94 } |
| | | }, |
| | | [ |
| | | _c("v-uni-image", { |
| | | attrs: { |
| | | src: _vm._$g( |
| | | 95, |
| | | "a-src" |
| | | ), |
| | | mode: "aspectFit", |
| | | _i: 95 |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "8vw", |
| | | height: "4vw", |
| | | "line-height": "4vw" |
| | | }, |
| | | attrs: { _i: 96 } |
| | | }, |
| | | [_vm._v("在库")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "8vw", |
| | | height: "4vw", |
| | | "line-height": |
| | | "4vw", |
| | | "font-size": "2vw" |
| | | }, |
| | | attrs: { _i: 97 } |
| | | }, |
| | | [_vm._v("10000")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 98, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | "margin-top": "2vh" |
| | | }, |
| | | attrs: { _i: 98 } |
| | | }, |
| | | [ |
| | | _c("v-uni-image", { |
| | | attrs: { |
| | | src: _vm._$g( |
| | | 99, |
| | | "a-src" |
| | | ), |
| | | mode: "aspectFit", |
| | | _i: 99 |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "8vw", |
| | | height: "4vw", |
| | | "line-height": "4vw" |
| | | }, |
| | | attrs: { _i: 100 } |
| | | }, |
| | | [_vm._v("在库")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "8vw", |
| | | height: "4vw", |
| | | "line-height": |
| | | "4vw", |
| | | "font-size": "2vw" |
| | | }, |
| | | attrs: { _i: 101 } |
| | | }, |
| | | [_vm._v("10000")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g( |
| | | 102, |
| | | "sc" |
| | | ), |
| | | staticStyle: { |
| | | "margin-top": "2vh" |
| | | }, |
| | | attrs: { _i: 102 } |
| | | }, |
| | | [ |
| | | _c("v-uni-image", { |
| | | attrs: { |
| | | src: _vm._$g( |
| | | 103, |
| | | "a-src" |
| | | ), |
| | | mode: "aspectFit", |
| | | _i: 103 |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "8vw", |
| | | height: "4vw", |
| | | "line-height": "4vw" |
| | | }, |
| | | attrs: { _i: 104 } |
| | | }, |
| | | [_vm._v("在库")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { |
| | | width: "8vw", |
| | | height: "4vw", |
| | | "line-height": |
| | | "4vw", |
| | | "font-size": "2vw" |
| | | }, |
| | | attrs: { _i: 105 } |
| | | }, |
| | | [_vm._v("10000")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c("uni-view", { |
| | | staticStyle: { height: "2%" }, |
| | | attrs: { _i: 43 } |
| | | attrs: { _i: 106 } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticStyle: { height: "20%" }, |
| | | attrs: { _i: 44 } |
| | | staticStyle: { height: "18%" }, |
| | | attrs: { _i: 107 } |
| | | }, |
| | | [_c("y-box", { attrs: { _i: 45 } })], |
| | | [ |
| | | _c( |
| | | "y-box", |
| | | { attrs: { _i: 108 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(109, "sc"), |
| | | staticStyle: { |
| | | width: "100%", |
| | | height: "100%", |
| | | "font-size": "4vh", |
| | | "justify-content": "center", |
| | | "letter-spacing": "1vh" |
| | | }, |
| | | attrs: { _i: 109 } |
| | | }, |
| | | [_vm._v("嘉善边锋机械股份有限公司")] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-transition", |
| | | { attrs: { _i: 110 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(111, "sc"), attrs: { _i: 111 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(112, "sc"), attrs: { _i: 112 } }, |
| | | [ |
| | | _c("v-uni-text", { attrs: { _i: 113 } }, [ |
| | | _vm._v("全板 / 拣料") |
| | | ]) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(114, "sc"), attrs: { _i: 114 } }, |
| | | [_vm._v(_vm._$g(114, "t0-0"))] |
| | | ), |
| | | _c("uni-view", { |
| | | staticClass: _vm._$g(115, "sc"), |
| | | attrs: { _i: 115 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }), |
| | | _c("uni-view", { |
| | | staticClass: _vm._$g(116, "sc"), |
| | | attrs: { _i: 116 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(117, "sc"), attrs: { _i: 117 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(118, "sc"), attrs: { _i: 118 } }, |
| | | [ |
| | | _c("y-box", { attrs: { _i: 119 } }, [ |
| | | _vm._v(_vm._$g(119, "t0-0")) |
| | | ]) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-transition", |
| | | { attrs: { _i: 120 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(121, "sc"), attrs: { _i: 121 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(122, "sc"), attrs: { _i: 122 } }, |
| | | [_c("v-uni-text", { attrs: { _i: 123 } }, [_vm._v("异常")])], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(124, "sc"), attrs: { _i: 124 } }, |
| | | [_vm._v(_vm._$g(124, "t0-0"))] |
| | | ), |
| | | _c("uni-view", { |
| | | staticClass: _vm._$g(125, "sc"), |
| | | attrs: { _i: 125 } |
| | | }), |
| | | _c("uni-view", { |
| | | staticClass: _vm._$g(126, "sc"), |
| | | attrs: { _i: 126 } |
| | | }), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(127, "sc"), attrs: { _i: 127 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(128, "sc"), attrs: { _i: 128 } }, |
| | | [ |
| | | _c("y-box", { attrs: { _i: 129 } }, [ |
| | | _vm._v(_vm._$g(129, "t0-0")) |
| | | ]) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm._$g(130, "v-show"), |
| | | expression: "_$g(130,'v-show')" |
| | | } |
| | | ], |
| | | staticClass: _vm._$g(130, "sc"), |
| | | attrs: { _i: 130 } |
| | | }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(131, "sc"), attrs: { _i: 131 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(132, "sc"), attrs: { _i: 132 } }, |
| | | [_vm._v("修改 / 配置")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(133, "sc"), attrs: { _i: 133 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(134, "sc"), attrs: { _i: 134 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(135, "sc"), attrs: { _i: 135 } }, |
| | | [_vm._v("ip:")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(136, "sc"), attrs: { _i: 136 } }, |
| | | [ |
| | | _c("v-uni-input", { |
| | | attrs: { type: "text", _i: 137 }, |
| | | model: { |
| | | value: _vm._$g(137, "v-model"), |
| | | callback: function($$v) { |
| | | _vm.$handleVModelEvent(137, $$v) |
| | | }, |
| | | expression: "baseIP" |
| | | } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(138, "sc"), attrs: { _i: 138 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(139, "sc"), attrs: { _i: 139 } }, |
| | | [_vm._v("port:")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(140, "sc"), attrs: { _i: 140 } }, |
| | | [ |
| | | _c("v-uni-input", { |
| | | attrs: { type: "text", _i: 141 }, |
| | | model: { |
| | | value: _vm._$g(141, "v-model"), |
| | | callback: function($$v) { |
| | | _vm.$handleVModelEvent(141, $$v) |
| | | }, |
| | | expression: "basePort" |
| | | } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(142, "sc"), attrs: { _i: 142 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(143, "sc"), attrs: { _i: 143 } }, |
| | | [_vm._v("ledId:")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(144, "sc"), attrs: { _i: 144 } }, |
| | | [ |
| | | _c("v-uni-input", { |
| | | attrs: { type: "text", _i: 145 }, |
| | | model: { |
| | | value: _vm._$g(145, "v-model"), |
| | | callback: function($$v) { |
| | | _vm.$handleVModelEvent(145, $$v) |
| | | }, |
| | | expression: "baseLedId" |
| | | } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(146, "sc"), attrs: { _i: 146 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(147, "sc"), attrs: { _i: 147 } }, |
| | | [_vm._v("CrnId:")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(148, "sc"), attrs: { _i: 148 } }, |
| | | [ |
| | | _c("v-uni-input", { |
| | | attrs: { type: "text", _i: 149 }, |
| | | model: { |
| | | value: _vm._$g(149, "v-model"), |
| | | callback: function($$v) { |
| | | _vm.$handleVModelEvent(149, $$v) |
| | | }, |
| | | expression: "baseCrnId" |
| | | } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(150, "sc"), attrs: { _i: 150 } }, |
| | | [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(151, "sc"), |
| | | attrs: { _i: 151 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }, |
| | | [_vm._v("取 消")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | staticClass: _vm._$g(152, "sc"), |
| | | attrs: { _i: 152 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }, |
| | | [_vm._v("确 认")] |
| | | ) |
| | | ], |
| | | 1 |
| | |
| | | |
| | | /***/ }), |
| | | /* 22 */ |
| | | /*!*************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue ***! |
| | | \*************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0%3D& */ 23); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& */ 78); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=script&lang=js& */ 84); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& */ 86); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); |
| | | |
| | | |
| | | _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"].__module = 'rdcharts' |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_4__["default"])( |
| | | _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__["default"], |
| | | _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "fe947b98", |
| | | null, |
| | | false, |
| | | _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"] |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 23 */ |
| | | /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0%3D& ***! |
| | | \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0%3D& */ 24); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0_3D___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 24 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM4ODkwLCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjU0NjcyfX0%3D& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | try { |
| | | components = { |
| | | qiunLoading: __webpack_require__(/*! @/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue */ 25) |
| | | .default, |
| | | qiunError: __webpack_require__(/*! @/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue */ 70) |
| | | .default |
| | | } |
| | | } catch (e) { |
| | | if ( |
| | | e.message.indexOf("Cannot find module") !== -1 && |
| | | e.message.indexOf(".vue") !== -1 |
| | | ) { |
| | | console.error(e.message) |
| | | console.error("1. 排查组件名称拼写是否正确") |
| | | console.error( |
| | | "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" |
| | | ) |
| | | console.error( |
| | | "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" |
| | | ) |
| | | } else { |
| | | throw e |
| | | } |
| | | } |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { id: _vm._$g(0, "a-id"), _i: 0 } }, |
| | | [ |
| | | _vm._$g(1, "i") |
| | | ? _c( |
| | | "uni-view", |
| | | { attrs: { _i: 1 } }, |
| | | [_c("qiun-loading", { attrs: { _i: 2 } })], |
| | | 1 |
| | | ) |
| | | : _vm._e(), |
| | | _vm._$g(3, "i") |
| | | ? _c( |
| | | "uni-view", |
| | | { |
| | | attrs: { _i: 3 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }, |
| | | [_c("qiun-error", { attrs: { _i: 4 } })], |
| | | 1 |
| | | ) |
| | | : _vm._e(), |
| | | _vm._$g(5, "i") |
| | | ? [ |
| | | _c("uni-view", { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm._$g(6, "v-show"), |
| | | expression: "_$g(6,'v-show')" |
| | | } |
| | | ], |
| | | wxsProps: { |
| | | "change:resize": "echartsResize", |
| | | "change:prop": "echartsOpts" |
| | | }, |
| | | staticStyle: { width: "100%", height: "100%" }, |
| | | style: _vm._$g(6, "s"), |
| | | attrs: { |
| | | "data-directory": _vm._$g(6, "a-data-directory"), |
| | | id: _vm._$g(6, "a-id"), |
| | | prop: _vm._$gc(6, "change:echartsOpts"), |
| | | "change:prop": _vm.rdcharts.ecinit, |
| | | resize: _vm._$gc(6, "change:echartsResize"), |
| | | "change:resize": _vm.rdcharts.ecresize, |
| | | _i: 6 |
| | | } |
| | | }) |
| | | ] |
| | | : [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | wxsProps: { "change:prop": "uchartsOpts" }, |
| | | attrs: { |
| | | id: _vm._$g(8, "a-id"), |
| | | prop: _vm._$gc(8, "change:uchartsOpts"), |
| | | "change:prop": _vm.rdcharts.ucinit, |
| | | _i: 8 |
| | | }, |
| | | on: { |
| | | mousemove: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.mouseMove( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | mousedown: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.mouseDown( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | mouseup: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.mouseUp($event, _vm.$getComponentDescriptor()) |
| | | }, |
| | | touchstart: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.touchStart( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | touchmove: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.touchMove( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | touchend: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.touchEnd($event, _vm.$getComponentDescriptor()) |
| | | }, |
| | | click: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.tap($event, _vm.$getComponentDescriptor()) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _c("v-uni-canvas", { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm._$g(9, "v-show"), |
| | | expression: "_$g(9,'v-show')" |
| | | } |
| | | ], |
| | | style: _vm._$g(9, "s"), |
| | | attrs: { |
| | | id: _vm._$g(9, "a-id"), |
| | | canvasId: _vm._$g(9, "a-canvasId"), |
| | | "disable-scroll": _vm._$g(9, "a-disable-scroll"), |
| | | _i: 9 |
| | | }, |
| | | on: { |
| | | error: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | ] |
| | | ], |
| | | 2 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 25 */ |
| | | /*!*****************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue ***! |
| | | \*****************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& */ 26); |
| | | /* harmony import */ var _qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./qiun-loading.vue?vue&type=script&lang=js& */ 28); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_loading_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 _qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( |
| | | _qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "1c4fd998", |
| | | null, |
| | | false, |
| | | _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 26 */ |
| | | /*!************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& ***! |
| | | \************************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& */ 27); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 27 */ |
| | | /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& ***! |
| | | \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { attrs: { _i: 0 } }, |
| | | [ |
| | | _vm._$g(1, "i") ? _c("Loading1", { attrs: { _i: 1 } }) : _vm._e(), |
| | | _vm._$g(2, "i") ? _c("Loading2", { attrs: { _i: 2 } }) : _vm._e(), |
| | | _vm._$g(3, "i") ? _c("Loading3", { attrs: { _i: 3 } }) : _vm._e(), |
| | | _vm._$g(4, "i") ? _c("Loading4", { attrs: { _i: 4 } }) : _vm._e(), |
| | | _vm._$g(5, "i") ? _c("Loading5", { attrs: { _i: 5 } }) : _vm._e() |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 28 */ |
| | | /*!******************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=script&lang=js& ***! |
| | | \******************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-loading.vue?vue&type=script&lang=js& */ 29); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 29 */ |
| | | /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=script&lang=js& ***! |
| | | \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; |
| | | var _loading = _interopRequireDefault(__webpack_require__(/*! ./loading1.vue */ 30)); |
| | | var _loading2 = _interopRequireDefault(__webpack_require__(/*! ./loading2.vue */ 38)); |
| | | var _loading3 = _interopRequireDefault(__webpack_require__(/*! ./loading3.vue */ 46)); |
| | | var _loading4 = _interopRequireDefault(__webpack_require__(/*! ./loading4.vue */ 54)); |
| | | var _loading5 = _interopRequireDefault(__webpack_require__(/*! ./loading5.vue */ 62));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default = |
| | | { |
| | | name: "qiun-loading", props: ["loadingType"], |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: { |
| | | 'Loading1': _loading.default, |
| | | 'Loading2': _loading2.default, |
| | | 'Loading3': _loading3.default, |
| | | 'Loading4': _loading4.default, |
| | | 'Loading5': _loading5.default } };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 30 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading1.vue?vue&type=template&id=e4e769ee&scoped=true& */ 31); |
| | | /* harmony import */ var _loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading1.vue?vue&type=script&lang=js& */ 33); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading1_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 _loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& */ 35); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e4e769ee", |
| | | null, |
| | | false, |
| | | _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 31 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=template&id=e4e769ee&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=template&id=e4e769ee&scoped=true& */ 32); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 32 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=template&id=e4e769ee&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 33 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=script&lang=js& */ 34); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 34 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading1", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 35 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& */ 36); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 36 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& */ 37); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("089b80b6", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 37 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e4e769ee] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading1[data-v-e4e769ee] {\r\n -webkit-transform: rotate(45deg);\r\n transform: rotate(45deg);\n}\n.container .shape[data-v-e4e769ee] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e4e769ee] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e4e769ee] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e4e769ee] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e4e769ee] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading1 .shape1[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape1-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape1-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape1-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, 16px);\r\n transform: translate(16px, 16px);\n}\n}\n@keyframes animation1shape1-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, 16px);\r\n transform: translate(16px, 16px);\n}\n}\n.loading1 .shape2[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape2-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape2-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape2-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, 16px);\r\n transform: translate(-16px, 16px);\n}\n}\n@keyframes animation1shape2-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, 16px);\r\n transform: translate(-16px, 16px);\n}\n}\n.loading1 .shape3[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape3-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape3-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape3-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, -16px);\r\n transform: translate(16px, -16px);\n}\n}\n@keyframes animation1shape3-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, -16px);\r\n transform: translate(16px, -16px);\n}\n}\n.loading1 .shape4[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape4-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape4-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape4-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, -16px);\r\n transform: translate(-16px, -16px);\n}\n}\n@keyframes animation1shape4-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, -16px);\r\n transform: translate(-16px, -16px);\n}\n}\r\n\r\n\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 38 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& */ 39); |
| | | /* harmony import */ var _loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading2.vue?vue&type=script&lang=js& */ 41); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading2_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 _loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& */ 43); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e4cb3aec", |
| | | null, |
| | | false, |
| | | _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 39 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& */ 40); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 40 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 41 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=script&lang=js& */ 42); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 42 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading2", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 43 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& */ 44); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 44 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& */ 45); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("06cee57c", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 45 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e4cb3aec] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading2[data-v-e4cb3aec] {\r\n -webkit-transform: rotate(10deg);\r\n transform: rotate(10deg);\n}\n.container.loading2 .shape[data-v-e4cb3aec] {\r\n border-radius: 5px;\n}\n.container.loading2[data-v-e4cb3aec]{\r\n -webkit-animation: rotation 1s infinite;\r\n animation: rotation 1s infinite;\n}\n.container .shape[data-v-e4cb3aec] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e4cb3aec] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e4cb3aec] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e4cb3aec] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e4cb3aec] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading2 .shape1[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape1-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape1-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape1-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, 20px);\r\n transform: translate(20px, 20px);\n}\n}\n@keyframes animation2shape1-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, 20px);\r\n transform: translate(20px, 20px);\n}\n}\n.loading2 .shape2[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape2-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape2-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape2-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, 20px);\r\n transform: translate(-20px, 20px);\n}\n}\n@keyframes animation2shape2-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, 20px);\r\n transform: translate(-20px, 20px);\n}\n}\n.loading2 .shape3[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape3-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape3-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape3-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, -20px);\r\n transform: translate(20px, -20px);\n}\n}\n@keyframes animation2shape3-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, -20px);\r\n transform: translate(20px, -20px);\n}\n}\n.loading2 .shape4[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape4-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape4-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape4-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, -20px);\r\n transform: translate(-20px, -20px);\n}\n}\n@keyframes animation2shape4-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, -20px);\r\n transform: translate(-20px, -20px);\n}\n}\r\n\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 46 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading3.vue?vue&type=template&id=e4af0bea&scoped=true& */ 47); |
| | | /* harmony import */ var _loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading3.vue?vue&type=script&lang=js& */ 49); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading3_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 _loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& */ 51); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e4af0bea", |
| | | null, |
| | | false, |
| | | _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 47 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=template&id=e4af0bea&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=template&id=e4af0bea&scoped=true& */ 48); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=template&id=e4af0bea&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 49 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=script&lang=js& */ 50); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 50 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading3", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 51 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& */ 52); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 52 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& */ 53); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("7a321ec8", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 53 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e4af0bea] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading3[data-v-e4af0bea] {\r\n -webkit-animation: rotation 1s infinite;\r\n animation: rotation 1s infinite;\n}\n.container.loading3 .shape1[data-v-e4af0bea] {\r\n border-top-left-radius: 10px;\n}\n.container.loading3 .shape2[data-v-e4af0bea] {\r\n border-top-right-radius: 10px;\n}\n.container.loading3 .shape3[data-v-e4af0bea] {\r\n border-bottom-left-radius: 10px;\n}\n.container.loading3 .shape4[data-v-e4af0bea] {\r\n border-bottom-right-radius: 10px;\n}\n.container .shape[data-v-e4af0bea] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e4af0bea] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e4af0bea] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e4af0bea] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e4af0bea] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading3 .shape1[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape1-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape1-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape1-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, 5px);\r\n transform: translate(5px, 5px);\n}\n}\n@keyframes animation3shape1-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, 5px);\r\n transform: translate(5px, 5px);\n}\n}\n.loading3 .shape2[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape2-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape2-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape2-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, 5px);\r\n transform: translate(-5px, 5px);\n}\n}\n@keyframes animation3shape2-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, 5px);\r\n transform: translate(-5px, 5px);\n}\n}\n.loading3 .shape3[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape3-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape3-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape3-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, -5px);\r\n transform: translate(5px, -5px);\n}\n}\n@keyframes animation3shape3-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, -5px);\r\n transform: translate(5px, -5px);\n}\n}\n.loading3 .shape4[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape4-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape4-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape4-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, -5px);\r\n transform: translate(-5px, -5px);\n}\n}\n@keyframes animation3shape4-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, -5px);\r\n transform: translate(-5px, -5px);\n}\n}\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 54 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading4.vue?vue&type=template&id=e492dce8&scoped=true& */ 55); |
| | | /* harmony import */ var _loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading4.vue?vue&type=script&lang=js& */ 57); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading4_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 _loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& */ 59); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e492dce8", |
| | | null, |
| | | false, |
| | | _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 55 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=template&id=e492dce8&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=template&id=e492dce8&scoped=true& */ 56); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 56 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=template&id=e492dce8&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 57 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=script&lang=js& */ 58); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 58 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading5", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 59 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& */ 60); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 60 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& */ 61); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("a136bcf4", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 61 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e492dce8] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading5 .shape[data-v-e492dce8] {\r\n width: 15px;\r\n height: 15px;\n}\n.container .shape[data-v-e492dce8] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e492dce8] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e492dce8] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e492dce8] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e492dce8] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading5 .shape1[data-v-e492dce8] {\r\n animation: animation5shape1-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape1-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n50% {\r\n -webkit-transform: translate(15px, 15px);\r\n transform: translate(15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n}\n@keyframes animation5shape1-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n50% {\r\n -webkit-transform: translate(15px, 15px);\r\n transform: translate(15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n}\n.loading5 .shape2[data-v-e492dce8] {\r\n animation: animation5shape2-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape2-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n50% {\r\n -webkit-transform: translate(-15px, 15px);\r\n transform: translate(-15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n}\n@keyframes animation5shape2-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n50% {\r\n -webkit-transform: translate(-15px, 15px);\r\n transform: translate(-15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n}\n.loading5 .shape3[data-v-e492dce8] {\r\n animation: animation5shape3-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape3-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n50% {\r\n -webkit-transform: translate(15px, -15px);\r\n transform: translate(15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n}\n@keyframes animation5shape3-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n50% {\r\n -webkit-transform: translate(15px, -15px);\r\n transform: translate(15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n}\n.loading5 .shape4[data-v-e492dce8] {\r\n animation: animation5shape4-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape4-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n50% {\r\n -webkit-transform: translate(-15px, -15px);\r\n transform: translate(-15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n}\n@keyframes animation5shape4-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n50% {\r\n -webkit-transform: translate(-15px, -15px);\r\n transform: translate(-15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n}\r\n\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 62 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading5.vue?vue&type=template&id=e476ade6&scoped=true& */ 63); |
| | | /* harmony import */ var _loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading5.vue?vue&type=script&lang=js& */ 65); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading5_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 _loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& */ 67); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e476ade6", |
| | | null, |
| | | false, |
| | | _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 63 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=template&id=e476ade6&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=template&id=e476ade6&scoped=true& */ 64); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 64 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=template&id=e476ade6&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 65 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=script&lang=js& */ 66); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 66 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading6", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 67 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& */ 68); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 68 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& */ 69); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("75b304e0", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 69 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e476ade6] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading6[data-v-e476ade6] {\r\n -webkit-animation: rotation 1s infinite;\r\n animation: rotation 1s infinite;\n}\n.container.loading6 .shape[data-v-e476ade6] {\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 2px;\n}\n.container .shape[data-v-e476ade6] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e476ade6] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e476ade6] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e476ade6] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e476ade6] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading6 .shape1[data-v-e476ade6] {\r\n -webkit-animation: animation6shape1-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape1-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape1-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n50% {\r\n -webkit-transform: translate(18px, 18px);\r\n transform: translate(18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n}\n@keyframes animation6shape1-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n50% {\r\n -webkit-transform: translate(18px, 18px);\r\n transform: translate(18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n}\n.loading6 .shape2[data-v-e476ade6] {\r\n -webkit-animation: animation6shape2-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape2-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape2-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n50% {\r\n -webkit-transform: translate(-18px, 18px);\r\n transform: translate(-18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n}\n@keyframes animation6shape2-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n50% {\r\n -webkit-transform: translate(-18px, 18px);\r\n transform: translate(-18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n}\n.loading6 .shape3[data-v-e476ade6] {\r\n -webkit-animation: animation6shape3-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape3-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape3-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n50% {\r\n -webkit-transform: translate(18px, -18px);\r\n transform: translate(18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n}\n@keyframes animation6shape3-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n50% {\r\n -webkit-transform: translate(18px, -18px);\r\n transform: translate(18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n}\n.loading6 .shape4[data-v-e476ade6] {\r\n -webkit-animation: animation6shape4-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape4-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape4-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n50% {\r\n -webkit-transform: translate(-18px, -18px);\r\n transform: translate(-18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n}\n@keyframes animation6shape4-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n50% {\r\n -webkit-transform: translate(-18px, -18px);\r\n transform: translate(-18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n}\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 70 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& */ 71); |
| | | /* harmony import */ var _qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./qiun-error.vue?vue&type=script&lang=js& */ 73); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_error_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 _qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& */ 75); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "0507f1f4", |
| | | null, |
| | | false, |
| | | _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 71 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& */ 72); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 72 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }, [ |
| | | _vm._v(_vm._$g(2, "t0-0")) |
| | | ]) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 73 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=script&lang=js& */ 74); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 74 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "qiun-error", props: ["errorMessage"], |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 75 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& */ 76); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 76 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& */ 77); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("1cba97d7", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 77 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.chartsview[data-v-0507f1f4] {\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex: 1;\n\tjustify-content: center;\n\talign-items: center;\n}\n.charts-font[data-v-0507f1f4]{\n\tfont-size: 14px;\n\tcolor: #CCCCCC;\n\tmargin-top: 10px;\n}\n.charts-error[data-v-0507f1f4]{\n\twidth: 128px;\n\theight: 128px;\n\tbackground: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAUz0lEQVR4Xu1de3Bc1X3+zmp3jYVWfkPAgCWwY8zLEglNQCSW0yT9o2SQaDKdNulUykwfM+k09p+J3ImYIPJXi9yZzDSZZiwyaZuZBCwnNG1DMogEmUAAy7xs/MAyNhCMjWWtsK1deU/n23OvtLu6j3Pv3t29d71nxjOSde455/5+3/m9z7kCjRY4BR7eK7fkcmhrasLT37hbTAY+QYADigDHagwFYGhc7gZwHMAUgG4hMPzNe8RoWInTAECAnHl4r+yREt0DXWIbhx3cJ5fHP8TYjntFR4DTBDqUIwBmMrJDCtyPHDoQw0Q8jkeXinCLtECp43Gwh56R22IxTBbu+KFxOTbQJbo9DlW17rYASGdlNySeKl2JADpbkmKiait0mWhoXHZkmzE52CkocmvavvOsbMvl8MhAl+jlQrg2CQzu6BI9NV2Yw+T2AJiVo+DuL2kSeLQ1KfrC8kLcYbkYBv/pbjEWhjUNjUvSpk9KSAicm2tGXxjAaUcbewBkJAm6xeLBp1PJ2os06ttcDl8H0CEEaGnvGegSg2EAQZTW4B0AEntSS2ov0mhgJc5jmwT6IDEWi2E0zNZ2WEFhC4CZjCRxH7GwAfpbkmIkLC9EFQBg20BXeOySsNBGZx2OXkB6Vg5CgAbMZgD7BTDSkhTDOgM3+kSDAr7iANNz8n4hQRdxojUu9kTjVRurtKKAJwBIKZfPZPOuYWFgY6wlgV4hau+GNVjsnQKeAJDOSIp/Wt6lbSKeQG8jSOSdAbV+wisA7FxDSGAqBmwNS5DIiGIucyNwKiGedutTz3/3BgCb4JBJoGqDIJ2VW4REmxRog0S3lGgT/NlfY3RzCgJjQmJSCkxeDuDwBgCb8HAhvQkCIdCbSgQfmSPDmWGDzHsm1UqwjBEUAMbqERCeAEBGz2RknwR2uW0yAZQdL6DR+WEW90syXLmjtW8So0Jg9MoE9tSD4esZANUAAd1M5NAjGOULaaOkAzCKGEaj7Ar7AoBHEGxrSYqdOnxMZ+W3ZA59ZehxnWkC7yMlJkUMIy1x7IyaVPANAAMEHTlgTACO1rYERlqTot+J8nbp58C5VcEBDftnOEpAKAsAgYPAPgNZQbYFP3QeCAybJ/Bg2CVC2QDwCoJUAtudiJKuExCQLoZbPKirAoOHovuIThVByuXii2jE/C9I2TaXBYsfmThyahMtCWy1A4ERbj7rvvRI9aCa3F7pINm3n5XdXgtjFgHAYCQrW4v8bBo6MYFep5cwmEefuSwQpDNSRoq9+osdrqRaGBqXMhfDVi8gWASAdEbuswuyGCKNSLatBygXBHUqAQohMmHESAKrqzSro4TIS2yOq10dVQQAuyKQUoC7BXnIxHQWwwL4ay/qIM/8DHaFJuijv7M99QzaNmAx6hzQFsvhKSmxvakJo7oHUooA4MUA0wHBTDYfQnVUB6bFnLc1JHqiFgPwxPnSzhKjLUn0B+UpsDoqFkOfLvO5HN8AMN5lOJUU2+2IMD0ne0QOtCcq0k7OANe1VGToag7qaBRXeiFFAJjOyBENsV20Jqcgj2FQHgvyJWYvAQfPAJuvAv7198ADm4DMHJBKAmuag5ypemPpGNiVWk2pDcCDDDQCPTU7EOgmjrxMRgA8dgBYmwJOXwBuWgH87m3gz26OLgDy6q9G9RSLvIAymFZUGsaCjJzE7qB1+vvngXRGQebG5QB/P30eaF2iQBHllk8wxdDfGq/eYVLLQJBfEOQNOpk3/Bg86hbA8iAZwt2/a78asX8zsKRJ/fzYQeDttFIHUbcJqi0JnM4FaOX9g2Sw7lgHTgPTs0DHRxTjT5wDtqzTfTr8/aoJArfTwX055P1519q6apGV4v8/XlU6nzv/vo8CvzwK3L0W2LS6Wquo/DzVAoFrMiivyzVSvpUnycIMVAUU///2kgIC9b+pDqq5jirMVXEX0RUAfMkwgoDrMoFQBUbUcoqxVFJsrdQCtAAQZhBUijChGlfiwdSSypx81gaAAQLLA6OhIlaNF2MGqriMm1cFqJoEtlai0lobAIzqZbPYF7RrV2N+BT79L99c8Eh+dzI474RGYSqB9qDyBuaLawMgnZE8Exjau24C56TPAZ8+vsD0594GPrHW50DWjwVuD2gBwDgm/q1AX6VOB/v5YeDWNerlXnsf+MKGYF/ULQvrdTZXAFQioeN1kVHqTxuAgSo2xiWCdk+DVgWuAEjPyt31XqARJYAZa92ZSqq7CMttjgCoh1r9cgkU1ueDuq7PEQDTs/JY0Nm8sBI0gusKxCCMZDIogsyqzJIDiA3YAqCx+yvDs4BHLVsKBFoPEPDLNYbToUCZUsASAFHY/SfTCxWtq5qBK4ziEB2a1VmfsqTAIgBUupLXL/Evshj0NNCaBM7NAr89sTDSp64HOj/id+ToP1eOR7AYAD4qg6tBwufeARhabV8BfPJaFWxZEgeSMWDTmstaApD8vuMCRQAI47Gs37wFrG4GrksBR882mG212VhW3rpEtPvZiL6OhvmZyOszFPm7D6qqX+76L6xfGIH/l7mkVMGNKy773Z8njIyh1081cfHBkJAEfgqZv2kV8Cmj4HP/H4ADZ1RBqNmYbfvEtV7hVX/9/X7HYR4AYUr6PPmmYjSZ/7kblRT47yOK8Uyu8DxA6xXqHADVw2XsARQhuSWBFV7rBeYBoHsyuNJ7582zwBNHgNVLgb+8TTH/8YOq/o+7ffPVCwynpAiC+W+cUfOcnwOuvlIdO4ti86MG5gGQdrkFtFoE2fUykJ4F+u4AknHgx6+pnf/ZduCW1QD9f3oDPA/A5tcFpA3x8ingxXcVuPJ61Dgt27MRuKG1Wm8c6DyevYE8AMJk/f/nq8BNK5VeN10/k8mvnwZ+ZRw1pfjnYdCOq1VZuJd2/Bzwv0cXGL9hpdr1PGNIgMUF8Oe3AquWehk1FH0nUknR6WUleQCENe37vZeUFOi/AyhUDbQL/JwE5q4ngI4YNxBxl7NiZ5kBoCePAb9/R4mBq64EejcGX9DhhTl++sYTaPdya7sCgPoySM1LvujzM8Dzd3cuMNy08ikZeBqYqoE7njv1t28p3c3f/+hapSLs2jszAI1Luo40JMn4j64s7v3PzympQNeSgLtnLfDxiHkYXkvGFAA0r2Yjsf3sPF0km/r/H+9aEP8P8ORPEhh5ecErIPNpGLJxF7/3oWLcfesV80rboQ+UyDf7f3HTYuPx+XeAX00Ct68BPn0D8O8TasyvbgZakrpvEIp+nuyAPACmM/KsW7k3b+N4/ABA5lSq8cIH0/o39f9f3KoYQYab0uDnR4BjZ4Gv3LYAgB+9qiQB+xe2X0+q4kw22hL8V9roTXz3BTXP1z6mVAJzDfxHqUIDNELN02f9hI7/T6v7zSklbml8MfFCXzzoRp1Pv57n/Wj5M/RrJnn2/QG4rlVJIPM4+DfvWVjB9/YpFfFJIzBEZv7iMHAirUT+59qBO2zcu7zuf1ftfrOKtxAUVElBF3cGTTtzPBaNtiaFhRy0nlHoGIDc/a+fUlez0Dq/ZY26kiXoRoCR0G5WvRkoMnf0/xwFXnwPiAFINgE3LAOmLwKnjPEoKejfW7Xj0+q0Mef92seLVQNLvF95H/iTm4CNJfZC0O8e5HheAkJCNwBkHsv++zuDXKq/sSgd/uu1xf47gfnWOR5mVeNe1Qx8adOClW8l+n8woQzDL9682Cik7fDTg8D1KaD3Zn9rrdRTlHA0mmmvLJJOHopERFg8AK+EIgiomo6dAy7OKdXwNx3AiRngRy8DOQl0XgN8Zp19tJDMJZMLRX/pOh7eqwhMNRCmZtpkVreiePEECADLj0SH6WWd1kIgPP6G2sVty4Av36pE/+43gDMX1K6+b8NiEJhGHqXEV263Bwm9AY731Q6gJVF7qnDnT7ynbCS6zDx8QpXJgNi8JPBwmljouoC1f3X7FdDHH30DmMsBG1YosU+m0Vg8exG4pkV5B2begCFg5htIMCf7gDOadsCXbgGusbEjqkkbMp+iv7QR5POG+eUGADL/rWmgSQBzEui4CvjT9cBUBnjikPqbCYJzF4EfGBdNMW5g5xmYBKY3cOgMsGEVcClXTVY7z+WkArxUCIkoFIA6keLXx4DXTiuDb2ubihdkcsCnDZ+fDPzZIRX+pYvJRBPF6GfbVPRQt124FE4AULJZBOe0YwFUAZG9mv2Fd4G9J4tdOEb0fnNCVQxtuQHoug4gCH5yADgxrdjtZPRZeQqvnFISgEmiMDV6ZjbueP0DgBm9PYes9Tizhr84mr98Ol9Qwps66OszZOyF+WS2GSQKiw2gCcD6BkBMABT9DNLY6XFKgicnVWCIuQR6BMwb0Ojz0hhipg3x5dsilR6ubwA0xwGCgDvaLsJHJtPPP/yBKvQg862SQG5gYByArZI5ELc1+Pi7PgCmM5JfuArNRZBuL0uGMkdg5dsXPktwcPfS4PMq9s1xzDAxS9KZlYxQ0wdAlOIAFOPU5Wxm1s6KKfTzqbvLYT7HNWMANCZZixihVp8AYHSPlrxdWpcMMiN8/Pmua1QW0E+LajbQeNf6A4BZ1MGw5z98bDFLybAnDqvYPptOkMcJGBGuB+BraReFRCYU/OPXgVMfWjOW+p4Gn1nu5RbedZMIHOe7L6pevJa+EqlvtzWU9XdPoeCQ1AM6vbCp+0t3P3c96wJZzMHG6l4WdJR7VuCR54ELc6q4xEu0sCymBfiwp2ygbj1AgOvzPBQjcU8dL9bpNPQops1dT7sgCGYxScSxGURa2+rubXh+mWo84KkeICu7IcFbQEPb6Pqx6mdpXBV9HvlgoRiktLS7nJcw9X4ipuIM9CJWXqHSxVFqXkrDRZgOhdgROZsDvv8ScMnMWgiV9uWOXxfACR6qErp8BJpVY7KF2UW3UrUwgEQC51qTQrtiU1UFz8pJIRDqj67MzAGPva5EPsO7zPkHwXyO98NX1IeomE4myFgnQHAxysiQMkPBLIZlsWoEmrYLyHfxdC6g1i/PxfJkD9O/bOWIf/OaGep7Nur8eEwBoNCFpHQw6wb/9s7yDcwq0FDbBVwAQAQ8gULCUVSPn1y4J4BlX+uWqfIv85iXFaHN4g7uaJ4INr84wtLzrAReeFs99Ve3Fx8O/ZfnVd3hXdeqbxOFuXnxAOYBENaLoZwITWnA3ct6APN0L/tTbFOEXxFXP3OnT11UI5HxhY2HPnjYhCqFpeY8+8BWGGnk89/fB9AOYWPRCXMLYW1eDMB5APCHqBaGEAisDWCI+PDZ4ttDSplEYKxfody79uUKKOapI55J4Glg2gIsJqF6IYAIMvZh/2MGQG5bA3ymLXgI0IATAj3ml0G8VmxLieOtS4SnlYXufoByydoUUwdHeUhkdk6dLqbzwCNndO8KG5nO8DGZblYHs2bwJweLgWQGmFgbyDgBG08OXx+AB1K0IAv/3ctHPP1cExO6G0LKBYDu82Q+q4a52ynSWTlUGEFkKpht+ZJiu4L/T8/g8+1Ac6JY/ejObdcvlRSWRWc8vSUlRt3S9mXdEKJzRrDcFwzL86ynZ7qYzW+tAA3Knx5Qhaa0GcotrHQ706f16T6J0ZYk+r3cE1SEuHRGTgDYHBZGVWIdhcz3WhlcuJ7CdDGDUn/crozJcprbDtYCAeDpY5PFAIiYO+iV2Nz15udcyk0Xc+7CqiPeKPLAxvJAoPO5WOOr7KMugTttEBQBoJ7VQCHzGS9wqiX0AiyCwKxBqBYIjPA9v9LuJK0n4gn0ul0XE5m7gr0wpbSveYqmnDF0nw3qWhm3gI4OCHQkyiIA6NwXoEuMsPSjH8/IX2ausiuiIcjawXJtAXOVgYBAYjKVRKedYWj3vYDQJ4cqy8rwjO4GAq502uWGdyfjsvHFkPDw2n4lAoOphHjQaalOIHACkSUAqF/SWUy6BR6iQLt6WaMERlqTot8rCBheTiTQYWcM2h539BKCrBcih/09dEBAvuWAYW5eMh8x9JnXyBu5hS359xQYa4ljp+N51ygUioSdaUGvjyBIJbDdLdpHKV7YxyqxxNyBIwDq0SMImiE1Gk870GOuz+oEGN1E1xPvUTo6ViNm1GpaTyCwC/O7AoChRwnsq9VbNuZ1pIA2CCy9BIk9rgDg9OmMHAbw9QYzQkkBLRAYkcNRAMoIBPYLoE8LAAYI6j5TGEr26i3KUyFo4ZDaANBMReott9ErUAq41RI4TaYNAA4ShWNkgVI2QoPZVRO5vYItAIbGZYcQWJZZiv2DncIoh8x/XCLSN4u6ESSqfw8UAEPjeaOvj1+kBLCuqQmd37hb8Gfz+0Juueio0jGS6/ZTDGq+6CIJMLhPLk+cx9lYDO1k+kPPyBEhMDnQJQbNh1g4ks1iopErqDhe9scT6JnLYBgC91vN5hbrd1vhIgB851nZlsvhWLYZKyj6DWmAgS6xrXCwhlHoRtry/s4a/1QSHWY4l6FcKbCtcNOxT0ygpyUp6KH5apY2gLHrt1AFCIHOWAwdpgoonKURKvZFc9eHuKtjQHcpY/Mle3NoQw7dsgkTfr4VXDq5rRH48F7Zk8uhrakJo1bMNwdqZA1d+empgx3zPQ3iobMnN9Bu3AYIPFDcoWu1mc+lBAIADsQDpshhpGEY+gNDLZgfCADoNSQvqPLkTSuxfuNq7IwJhODTCv4YUYunsjkc3f8+Bo7M4v8KYy5cixmPKVxXaWymnDWXLQGGxiVjAmaCoZy1XPbPSon9O+4VHSYhaIdJid2lhJESUzvu1f80nBNhywYA3cY5oOhI8uqlaLk+hfWXPUc1CHAijSOnL2CGXePAZKHBzd0PgEG50jZR6pZrTGXZpWwA+J248Vw4KNAAQDj4ULNVBA6Abz8ru8Ul9SVyITCVbUY/DRsjxLxLSmhdYSYEHh3oEiMch2rm0iXssqHSxI57xfZKU/ChZ+QjAOb1c6XnM+g3T4NKzRc4AIbGZR8TSeaCYzH0Ua8ZIeY8QzXbSBEAcvlSZyvwBKYPndb10LjkBQ1a4NV8P51u8zTQ6eynT+AA8LOIxjO1o0ADALWjfShmjhwACgNPoaCgsnWOO+VLwrJOq3VEDgCGLrbMjdeK0EEGZqr9DpEDgFXgqdpEK50vlsPUQJf/nHwt1///89bqDjCPWPAAAAAASUVORK5CYII=\");\n\tbackground-position: center;\n}\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 78 */ |
| | | /*!********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& ***! |
| | | \********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& */ 79); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 79 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _uCharts = _interopRequireDefault(__webpack_require__(/*! ../../js_sdk/u-charts/u-charts.js */ 80)); |
| | | var _configUcharts = _interopRequireDefault(__webpack_require__(/*! ../../js_sdk/u-charts/config-ucharts.js */ 82)); |
| | | var _configEcharts = _interopRequireDefault(__webpack_require__(/*! ../../js_sdk/u-charts/config-echarts.js */ 83));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} |
| | | |
| | | var that = {}; |
| | | var rootdom = null; |
| | | |
| | | function rddeepCloneAssign() {var origin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {args[_key - 1] = arguments[_key];} |
| | | for (var i in args) { |
| | | for (var key in args[i]) { |
| | | if (args[i].hasOwnProperty(key)) { |
| | | origin[key] = args[i][key] && typeof args[i][key] === 'object' ? rddeepCloneAssign(Array.isArray(args[i][key]) ? [] : {}, origin[key], args[i][key]) : args[i][key]; |
| | | } |
| | | } |
| | | } |
| | | return origin; |
| | | } |
| | | |
| | | function rdformatterAssign(args, formatter) { |
| | | for (var key in args) { |
| | | if (args.hasOwnProperty(key) && args[key] !== null && typeof args[key] === 'object') { |
| | | rdformatterAssign(args[key], formatter); |
| | | } else if (key === 'format' && typeof args[key] === 'string') { |
| | | args['formatter'] = formatter[args[key]] ? formatter[args[key]] : undefined; |
| | | } |
| | | } |
| | | return args; |
| | | }var _default = |
| | | |
| | | { |
| | | data: function data() { |
| | | return { |
| | | rid: null }; |
| | | |
| | | }, |
| | | mounted: function mounted() {var _this = this; |
| | | rootdom = { top: 0, left: 0 }; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | setTimeout(function () { |
| | | if (_this.rid === null) { |
| | | _this.$ownerInstance && _this.$ownerInstance.callMethod('getRenderType'); |
| | | } |
| | | }, 200); |
| | | }, |
| | | destroyed: function destroyed() { |
| | | delete _configUcharts.default.option[this.rid]; |
| | | delete _configUcharts.default.instance[this.rid]; |
| | | delete _configEcharts.default.option[this.rid]; |
| | | delete _configEcharts.default.instance[this.rid]; |
| | | }, |
| | | methods: { |
| | | //==============以下是ECharts的方法==================== |
| | | ecinit: function ecinit(newVal, oldVal, owner, instance) { |
| | | var cid = JSON.stringify(newVal.id); |
| | | this.rid = cid; |
| | | that[cid] = this.$ownerInstance || instance; |
| | | var eopts = JSON.parse(JSON.stringify(newVal)); |
| | | var type = eopts.type; |
| | | //载入并覆盖默认配置 |
| | | if (type && _configEcharts.default.type.includes(type)) { |
| | | _configEcharts.default.option[cid] = rddeepCloneAssign({}, _configEcharts.default[type], eopts); |
| | | } else { |
| | | _configEcharts.default.option[cid] = rddeepCloneAssign({}, eopts); |
| | | } |
| | | var newData = eopts.chartData; |
| | | if (newData) { |
| | | //挂载categories和series |
| | | if (_configEcharts.default.option[cid].xAxis && _configEcharts.default.option[cid].xAxis.type && _configEcharts.default.option[cid].xAxis.type === 'category') { |
| | | _configEcharts.default.option[cid].xAxis.data = newData.categories; |
| | | } |
| | | if (_configEcharts.default.option[cid].yAxis && _configEcharts.default.option[cid].yAxis.type && _configEcharts.default.option[cid].yAxis.type === 'category') { |
| | | _configEcharts.default.option[cid].yAxis.data = newData.categories; |
| | | } |
| | | _configEcharts.default.option[cid].series = []; |
| | | for (var i = 0; i < newData.series.length; i++) { |
| | | _configEcharts.default.option[cid].seriesTemplate = _configEcharts.default.option[cid].seriesTemplate ? _configEcharts.default.option[cid].seriesTemplate : {}; |
| | | var Template = rddeepCloneAssign({}, _configEcharts.default.option[cid].seriesTemplate, newData.series[i]); |
| | | _configEcharts.default.option[cid].series.push(Template); |
| | | } |
| | | } |
| | | |
| | | if (typeof window.echarts === 'object') { |
| | | this.newEChart(); |
| | | } else { |
| | | var script = document.createElement('script'); |
| | | |
| | | script.src = './uni_modules/qiun-data-charts/static/app-plus/echarts.min.js'; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | script.onload = this.newEChart; |
| | | document.head.appendChild(script); |
| | | } |
| | | }, |
| | | ecresize: function ecresize(newVal, oldVal, owner, instance) { |
| | | if (_configEcharts.default.instance[this.rid]) { |
| | | _configEcharts.default.instance[this.rid].resize(); |
| | | } |
| | | }, |
| | | newEChart: function newEChart() { |
| | | var cid = this.rid; |
| | | if (_configEcharts.default.instance[cid] === undefined) { |
| | | _configEcharts.default.instance[cid] = echarts.init(that[cid].$el.children[0]); |
| | | //ontap开启后才触发click事件 |
| | | if (_configEcharts.default.option[cid].ontap === true) { |
| | | _configEcharts.default.instance[cid].on('click', function (resdata) { |
| | | var event = JSON.parse(JSON.stringify({ |
| | | x: resdata.event.offsetX, y: resdata.event.offsetY })); |
| | | |
| | | that[cid].callMethod('emitMsg', { name: "getIndex", params: { type: "getIndex", event: event, currentIndex: resdata.dataIndex, value: resdata.data, seriesName: resdata.seriesName, id: cid } }); |
| | | }); |
| | | // 增加ECharts的highlight消息,实现按下移动返回索引功能。add by onefish 创建于 2021-12-11 09:50 |
| | | _configEcharts.default.instance[cid].on('highlight', function (resdata) { |
| | | that[cid].callMethod('emitMsg', { name: "getHighlight", params: { type: "highlight", res: resdata, id: cid } }); |
| | | }); |
| | | } |
| | | this.updataEChart(cid, _configEcharts.default.option[cid]); |
| | | } else { |
| | | this.updataEChart(cid, _configEcharts.default.option[cid]); |
| | | } |
| | | }, |
| | | updataEChart: function updataEChart(cid, option) { |
| | | //替换option内format属性为formatter的预定义方法 |
| | | option = rdformatterAssign(option, _configEcharts.default.formatter); |
| | | if (option.tooltip) { |
| | | option.tooltip.show = option.tooltipShow ? true : false; |
| | | option.tooltip.position = this.tooltipPosition(); |
| | | //tooltipFormat方法,替换组件的tooltipFormat为config-echarts.js内对应的方法 |
| | | if (typeof option.tooltipFormat === 'string' && _configEcharts.default.formatter[option.tooltipFormat]) { |
| | | option.tooltip.formatter = option.tooltip.formatter ? option.tooltip.formatter : _configEcharts.default.formatter[option.tooltipFormat]; |
| | | } |
| | | } |
| | | // 颜色渐变添加的方法 |
| | | if (option.series) { |
| | | for (var i in option.series) { |
| | | var linearGradient = option.series[i].linearGradient; |
| | | if (linearGradient) { |
| | | option.series[i].color = new echarts.graphic.LinearGradient(linearGradient[0], linearGradient[1], linearGradient[2], linearGradient[3], linearGradient[4]); |
| | | } |
| | | } |
| | | } |
| | | _configEcharts.default.instance[cid].setOption(option, option.notMerge); |
| | | _configEcharts.default.instance[cid].on('finished', function () { |
| | | that[cid].callMethod('emitMsg', { name: "complete", params: { type: "complete", complete: true, id: cid } }); |
| | | if (_configEcharts.default.instance[cid]) { |
| | | _configEcharts.default.instance[cid].off('finished'); |
| | | } |
| | | }); |
| | | |
| | | //修复init初始化实例获取宽高不正确问题 |
| | | if ( |
| | | typeof that[cid].$el.children[0].clientWidth != 'undefined' && ( |
| | | |
| | | Math.abs(that[cid].$el.children[0].clientWidth - _configEcharts.default.instance[cid].getWidth()) > 3 || |
| | | Math.abs(that[cid].$el.children[0].clientHeight - _configEcharts.default.instance[cid].getHeight()) > 3)) |
| | | |
| | | {this.ecresize();} |
| | | }, |
| | | tooltipPosition: function tooltipPosition() { |
| | | return function (point, params, dom, rect, size) { |
| | | var x = point[0]; |
| | | var y = point[1]; |
| | | var viewWidth = size.viewSize[0]; |
| | | var viewHeight = size.viewSize[1]; |
| | | var boxWidth = size.contentSize[0]; |
| | | var boxHeight = size.contentSize[1]; |
| | | var posX = x + 30; |
| | | var posY = y + 30; |
| | | if (posX + boxWidth > viewWidth) { |
| | | posX = x - boxWidth - 30; |
| | | } |
| | | if (posY + boxHeight > viewHeight) { |
| | | posY = y - boxHeight - 30; |
| | | } |
| | | return [posX, posY]; |
| | | }; |
| | | }, |
| | | //==============以下是uCharts的方法==================== |
| | | ucinit: function ucinit(newVal, oldVal, owner, instance) {var _this2 = this; |
| | | if (JSON.stringify(newVal) == JSON.stringify(oldVal)) { |
| | | return; |
| | | } |
| | | if (!newVal.canvasId) { |
| | | return; |
| | | } |
| | | var cid = JSON.parse(JSON.stringify(newVal.canvasId)); |
| | | this.rid = cid; |
| | | that[cid] = this.$ownerInstance || instance; |
| | | _configUcharts.default.option[cid] = JSON.parse(JSON.stringify(newVal)); |
| | | _configUcharts.default.option[cid] = rdformatterAssign(_configUcharts.default.option[cid], _configUcharts.default.formatter); |
| | | var canvasdom = document.getElementById(cid); |
| | | if (canvasdom && canvasdom.children[0]) { |
| | | _configUcharts.default.option[cid].context = canvasdom.children[0].getContext("2d"); |
| | | if (_configUcharts.default.instance[cid] && _configUcharts.default.option[cid] && _configUcharts.default.option[cid].update === true) { |
| | | this.updataUChart(); |
| | | } else { |
| | | setTimeout(function () { |
| | | _configUcharts.default.option[cid].context.restore(); |
| | | _configUcharts.default.option[cid].context.save(); |
| | | _this2.newUChart(); |
| | | }, 100); |
| | | } |
| | | } |
| | | }, |
| | | newUChart: function newUChart() { |
| | | var cid = this.rid; |
| | | _configUcharts.default.instance[cid] = new _uCharts.default(_configUcharts.default.option[cid]); |
| | | _configUcharts.default.instance[cid].addEventListener('renderComplete', function () { |
| | | that[cid].callMethod('emitMsg', { name: "complete", params: { type: "complete", complete: true, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | _configUcharts.default.instance[cid].delEventListener('renderComplete'); |
| | | }); |
| | | _configUcharts.default.instance[cid].addEventListener('scrollLeft', function () { |
| | | that[cid].callMethod('emitMsg', { name: "scrollLeft", params: { type: "scrollLeft", scrollLeft: true, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }); |
| | | _configUcharts.default.instance[cid].addEventListener('scrollRight', function () { |
| | | that[cid].callMethod('emitMsg', { name: "scrollRight", params: { type: "scrollRight", scrollRight: true, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }); |
| | | }, |
| | | updataUChart: function updataUChart() { |
| | | var cid = this.rid; |
| | | _configUcharts.default.instance[cid].updateData(_configUcharts.default.option[cid]); |
| | | }, |
| | | tooltipDefault: function tooltipDefault(item, category, index, opts) { |
| | | if (category) { |
| | | var data = item.data; |
| | | if (typeof item.data === "object") { |
| | | data = item.data.value; |
| | | } |
| | | return category + ' ' + item.name + ':' + data; |
| | | } else { |
| | | if (item.properties && item.properties.name) { |
| | | return item.properties.name; |
| | | } else { |
| | | return item.name + ':' + item.data; |
| | | } |
| | | } |
| | | }, |
| | | showTooltip: function showTooltip(e, cid) {var _this3 = this; |
| | | var tc = _configUcharts.default.option[cid].tooltipCustom; |
| | | if (tc && tc !== undefined && tc !== null) { |
| | | var offset = undefined; |
| | | if (tc.x >= 0 && tc.y >= 0) { |
| | | offset = { x: tc.x, y: tc.y + 10 }; |
| | | } |
| | | _configUcharts.default.instance[cid].showToolTip(e, { |
| | | index: tc.index, |
| | | offset: offset, |
| | | textList: tc.textList, |
| | | formatter: function formatter(item, category, index, opts) { |
| | | if (typeof _configUcharts.default.option[cid].tooltipFormat === 'string' && _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat]) { |
| | | return _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat](item, category, index, opts); |
| | | } else { |
| | | return _this3.tooltipDefault(item, category, index, opts); |
| | | } |
| | | } }); |
| | | |
| | | } else { |
| | | _configUcharts.default.instance[cid].showToolTip(e, { |
| | | formatter: function formatter(item, category, index, opts) { |
| | | if (typeof _configUcharts.default.option[cid].tooltipFormat === 'string' && _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat]) { |
| | | return _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat](item, category, index, opts); |
| | | } else { |
| | | return _this3.tooltipDefault(item, category, index, opts); |
| | | } |
| | | } }); |
| | | |
| | | } |
| | | }, |
| | | tap: function tap(e) { |
| | | var cid = this.rid; |
| | | var ontap = _configUcharts.default.option[cid].ontap; |
| | | var tooltipShow = _configUcharts.default.option[cid].tooltipShow; |
| | | var tapLegend = _configUcharts.default.option[cid].tapLegend; |
| | | if (ontap == false) return; |
| | | var currentIndex = null; |
| | | var legendIndex = null; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | if (e.detail.x) {//tap或者click的事件 |
| | | tmpe = { x: e.detail.x - rchartdom.left, y: e.detail.y - rchartdom.top + rootdom.top }; |
| | | } else {//mouse的事件 |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | } |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | currentIndex = _configUcharts.default.instance[cid].getCurrentDataIndex(e); |
| | | legendIndex = _configUcharts.default.instance[cid].getLegendDataIndex(e); |
| | | if (tapLegend === true) { |
| | | _configUcharts.default.instance[cid].touchLegend(e); |
| | | } |
| | | if (tooltipShow == true) { |
| | | this.showTooltip(e, cid); |
| | | } |
| | | that[cid].callMethod('emitMsg', { name: "getIndex", params: { type: "getIndex", event: tmpe, currentIndex: currentIndex, legendIndex: legendIndex, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }, |
| | | touchStart: function touchStart(e) { |
| | | var cid = this.rid; |
| | | var ontouch = _configUcharts.default.option[cid].ontouch; |
| | | if (ontouch == false) return; |
| | | if (_configUcharts.default.option[cid].enableScroll === true && e.touches.length == 1) { |
| | | _configUcharts.default.instance[cid].scrollStart(e); |
| | | } |
| | | that[cid].callMethod('emitMsg', { name: "getTouchStart", params: { type: "touchStart", event: e.changedTouches[0], id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }, |
| | | touchMove: function touchMove(e) { |
| | | var cid = this.rid; |
| | | var ontouch = _configUcharts.default.option[cid].ontouch; |
| | | if (ontouch == false) return; |
| | | if (_configUcharts.default.option[cid].enableScroll === true && e.changedTouches.length == 1) { |
| | | _configUcharts.default.instance[cid].scroll(e); |
| | | } |
| | | if (_configUcharts.default.option[cid].ontap === true && _configUcharts.default.option[cid].enableScroll === false && _configUcharts.default.option[cid].onmovetip === true) { |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = { x: e.changedTouches[0].clientX - rchartdom.left, y: e.changedTouches[0].clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches.unshift(tmpe); |
| | | if (_configUcharts.default.option[cid].tooltipShow === true) { |
| | | this.showTooltip(e, cid); |
| | | } |
| | | } |
| | | if (ontouch === true && _configUcharts.default.option[cid].enableScroll === true && _configUcharts.default.option[cid].onzoom === true && e.changedTouches.length == 2) { |
| | | _configUcharts.default.instance[cid].dobuleZoom(e); |
| | | } |
| | | that[cid].callMethod('emitMsg', { name: "getTouchMove", params: { type: "touchMove", event: e.changedTouches[0], id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }, |
| | | touchEnd: function touchEnd(e) { |
| | | var cid = this.rid; |
| | | var ontouch = _configUcharts.default.option[cid].ontouch; |
| | | if (ontouch == false) return; |
| | | if (_configUcharts.default.option[cid].enableScroll === true && e.touches.length == 0) { |
| | | _configUcharts.default.instance[cid].scrollEnd(e); |
| | | } |
| | | that[cid].callMethod('emitMsg', { name: "getTouchEnd", params: { type: "touchEnd", event: e.changedTouches[0], id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }, |
| | | mouseDown: function mouseDown(e) { |
| | | var cid = this.rid; |
| | | var onmouse = _configUcharts.default.option[cid].onmouse; |
| | | if (onmouse == false) return; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | _configUcharts.default.instance[cid].scrollStart(e); |
| | | _configUcharts.default.option[cid].mousedown = true; |
| | | that[cid].callMethod('emitMsg', { name: "getTouchStart", params: { type: "mouseDown", event: tmpe, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }, |
| | | mouseMove: function mouseMove(e) { |
| | | var cid = this.rid; |
| | | var onmouse = _configUcharts.default.option[cid].onmouse; |
| | | var tooltipShow = _configUcharts.default.option[cid].tooltipShow; |
| | | if (onmouse == false) return; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | if (_configUcharts.default.option[cid].mousedown) { |
| | | _configUcharts.default.instance[cid].scroll(e); |
| | | that[cid].callMethod('emitMsg', { name: "getTouchMove", params: { type: "mouseMove", event: tmpe, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | } else if (_configUcharts.default.instance[cid]) { |
| | | if (tooltipShow == true) { |
| | | this.showTooltip(e, cid); |
| | | } |
| | | } |
| | | }, |
| | | mouseUp: function mouseUp(e) { |
| | | var cid = this.rid; |
| | | var onmouse = _configUcharts.default.option[cid].onmouse; |
| | | if (onmouse == false) return; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | _configUcharts.default.instance[cid].scrollEnd(e); |
| | | _configUcharts.default.option[cid].mousedown = false; |
| | | that[cid].callMethod('emitMsg', { name: "getTouchEnd", params: { type: "mouseUp", event: tmpe, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | } } };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 80 */ |
| | | /*!****************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js ***! |
| | | \****************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* WEBPACK VAR INJECTION */(function(__f__) {/* |
| | | * uCharts (R) |
| | | * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360/快手)、Vue、Taro等支持canvas的框架平台 |
| | | * Copyright (C) 2018-2022 QIUN (R) 秋云 https://www.ucharts.cn All rights reserved. |
| | | * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) |
| | | * 复制使用请保留本段注释,感谢支持开源! |
| | | * |
| | | * uCharts (R) 官方网站 |
| | | * https://www.uCharts.cn |
| | | * |
| | | * 开源地址: |
| | | * https://gitee.com/uCharts/uCharts |
| | | * |
| | | * uni-app插件市场地址: |
| | | * http://ext.dcloud.net.cn/plugin?id=271 |
| | | * |
| | | */ |
| | | |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;function _slicedToArray(arr, i) {return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();}function _nonIterableRest() {throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}function _iterableToArrayLimit(arr, i) {if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"] != null) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}function _arrayWithHoles(arr) {if (Array.isArray(arr)) return arr;} |
| | | |
| | | var config = { |
| | | version: 'v2.4.4-20221102', |
| | | yAxisWidth: 15, |
| | | xAxisHeight: 22, |
| | | xAxisTextPadding: 3, |
| | | padding: [10, 10, 10, 10], |
| | | pixelRatio: 1, |
| | | rotate: false, |
| | | fontSize: 13, |
| | | fontColor: '#666666', |
| | | dataPointShape: ['circle', 'circle', 'circle', 'circle'], |
| | | color: ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'], |
| | | linearColor: ['#0EE2F8', '#2BDCA8', '#FA7D8D', '#EB88E2', '#2AE3A0', '#0EE2F8', '#EB88E2', '#6773E3', '#F78A85'], |
| | | pieChartLinePadding: 15, |
| | | pieChartTextPadding: 5, |
| | | titleFontSize: 20, |
| | | subtitleFontSize: 15, |
| | | toolTipPadding: 3, |
| | | toolTipBackground: '#000000', |
| | | toolTipOpacity: 0.7, |
| | | toolTipLineHeight: 20, |
| | | radarLabelTextMargin: 13 }; |
| | | |
| | | |
| | | var assign = function assign(target) {for (var _len2 = arguments.length, varArgs = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {varArgs[_key2 - 1] = arguments[_key2];} |
| | | if (target == null) { |
| | | throw new TypeError('[uCharts] Cannot convert undefined or null to object'); |
| | | } |
| | | if (!varArgs || varArgs.length <= 0) { |
| | | return target; |
| | | } |
| | | // 深度合并对象 |
| | | function deepAssign(obj1, obj2) { |
| | | for (var key in obj2) { |
| | | obj1[key] = obj1[key] && obj1[key].toString() === "[object Object]" ? |
| | | deepAssign(obj1[key], obj2[key]) : obj1[key] = obj2[key]; |
| | | } |
| | | return obj1; |
| | | } |
| | | varArgs.forEach(function (val) { |
| | | target = deepAssign(target, val); |
| | | }); |
| | | return target; |
| | | }; |
| | | |
| | | var util = { |
| | | toFixed: function toFixed(num, limit) { |
| | | limit = limit || 2; |
| | | if (this.isFloat(num)) { |
| | | num = num.toFixed(limit); |
| | | } |
| | | return num; |
| | | }, |
| | | isFloat: function isFloat(num) { |
| | | return num % 1 !== 0; |
| | | }, |
| | | approximatelyEqual: function approximatelyEqual(num1, num2) { |
| | | return Math.abs(num1 - num2) < 1e-10; |
| | | }, |
| | | isSameSign: function isSameSign(num1, num2) { |
| | | return Math.abs(num1) === num1 && Math.abs(num2) === num2 || Math.abs(num1) !== num1 && Math.abs(num2) !== num2; |
| | | }, |
| | | isSameXCoordinateArea: function isSameXCoordinateArea(p1, p2) { |
| | | return this.isSameSign(p1.x, p2.x); |
| | | }, |
| | | isCollision: function isCollision(obj1, obj2) { |
| | | obj1.end = {}; |
| | | obj1.end.x = obj1.start.x + obj1.width; |
| | | obj1.end.y = obj1.start.y - obj1.height; |
| | | obj2.end = {}; |
| | | obj2.end.x = obj2.start.x + obj2.width; |
| | | obj2.end.y = obj2.start.y - obj2.height; |
| | | var flag = obj2.start.x > obj1.end.x || obj2.end.x < obj1.start.x || obj2.end.y > obj1.start.y || obj2.start.y < obj1.end.y; |
| | | return !flag; |
| | | } }; |
| | | |
| | | |
| | | //兼容H5点击事件 |
| | | function getH5Offset(e) { |
| | | e.mp = { |
| | | changedTouches: [] }; |
| | | |
| | | e.mp.changedTouches.push({ |
| | | x: e.offsetX, |
| | | y: e.offsetY }); |
| | | |
| | | return e; |
| | | } |
| | | |
| | | // hex 转 rgba |
| | | function hexToRgb(hexValue, opc) { |
| | | var rgx = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; |
| | | var hex = hexValue.replace(rgx, function (m, r, g, b) { |
| | | return r + r + g + g + b + b; |
| | | }); |
| | | var rgb = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); |
| | | var r = parseInt(rgb[1], 16); |
| | | var g = parseInt(rgb[2], 16); |
| | | var b = parseInt(rgb[3], 16); |
| | | return 'rgba(' + r + ',' + g + ',' + b + ',' + opc + ')'; |
| | | } |
| | | |
| | | function findRange(num, type, limit) { |
| | | if (isNaN(num)) { |
| | | throw new Error('[uCharts] series数据需为Number格式'); |
| | | } |
| | | limit = limit || 10; |
| | | type = type ? type : 'upper'; |
| | | var multiple = 1; |
| | | while (limit < 1) { |
| | | limit *= 10; |
| | | multiple *= 10; |
| | | } |
| | | if (type === 'upper') { |
| | | num = Math.ceil(num * multiple); |
| | | } else { |
| | | num = Math.floor(num * multiple); |
| | | } |
| | | while (num % limit !== 0) { |
| | | if (type === 'upper') { |
| | | if (num == num + 1) {//修复数据值过大num++无效的bug by 向日葵 @xrk_jy |
| | | break; |
| | | } |
| | | num++; |
| | | } else { |
| | | num--; |
| | | } |
| | | } |
| | | return num / multiple; |
| | | } |
| | | |
| | | function calCandleMA(dayArr, nameArr, colorArr, kdata) { |
| | | var seriesTemp = []; |
| | | for (var k = 0; k < dayArr.length; k++) { |
| | | var seriesItem = { |
| | | data: [], |
| | | name: nameArr[k], |
| | | color: colorArr[k] }; |
| | | |
| | | for (var i = 0, len = kdata.length; i < len; i++) { |
| | | if (i < dayArr[k]) { |
| | | seriesItem.data.push(null); |
| | | continue; |
| | | } |
| | | var sum = 0; |
| | | for (var j = 0; j < dayArr[k]; j++) { |
| | | sum += kdata[i - j][1]; |
| | | } |
| | | seriesItem.data.push(+(sum / dayArr[k]).toFixed(3)); |
| | | } |
| | | seriesTemp.push(seriesItem); |
| | | } |
| | | return seriesTemp; |
| | | } |
| | | |
| | | function calValidDistance(self, distance, chartData, config, opts) { |
| | | var dataChartAreaWidth = opts.width - opts.area[1] - opts.area[3]; |
| | | var dataChartWidth = chartData.eachSpacing * (opts.chartData.xAxisData.xAxisPoints.length - 1); |
| | | if (opts.type == 'mount' && opts.extra && opts.extra.mount && opts.extra.mount.widthRatio && opts.extra.mount.widthRatio > 1) { |
| | | if (opts.extra.mount.widthRatio > 2) opts.extra.mount.widthRatio = 2; |
| | | dataChartWidth += (opts.extra.mount.widthRatio - 1) * chartData.eachSpacing; |
| | | } |
| | | var validDistance = distance; |
| | | if (distance >= 0) { |
| | | validDistance = 0; |
| | | self.uevent.trigger('scrollLeft'); |
| | | self.scrollOption.position = 'left'; |
| | | opts.xAxis.scrollPosition = 'left'; |
| | | } else if (Math.abs(distance) >= dataChartWidth - dataChartAreaWidth) { |
| | | validDistance = dataChartAreaWidth - dataChartWidth; |
| | | self.uevent.trigger('scrollRight'); |
| | | self.scrollOption.position = 'right'; |
| | | opts.xAxis.scrollPosition = 'right'; |
| | | } else { |
| | | self.scrollOption.position = distance; |
| | | opts.xAxis.scrollPosition = distance; |
| | | } |
| | | return validDistance; |
| | | } |
| | | |
| | | function isInAngleRange(angle, startAngle, endAngle) { |
| | | function adjust(angle) { |
| | | while (angle < 0) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | while (angle > 2 * Math.PI) { |
| | | angle -= 2 * Math.PI; |
| | | } |
| | | return angle; |
| | | } |
| | | angle = adjust(angle); |
| | | startAngle = adjust(startAngle); |
| | | endAngle = adjust(endAngle); |
| | | if (startAngle > endAngle) { |
| | | endAngle += 2 * Math.PI; |
| | | if (angle < startAngle) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | } |
| | | return angle >= startAngle && angle <= endAngle; |
| | | } |
| | | |
| | | function createCurveControlPoints(points, i) { |
| | | function isNotMiddlePoint(points, i) { |
| | | if (points[i - 1] && points[i + 1]) { |
| | | return points[i].y >= Math.max(points[i - 1].y, points[i + 1].y) || points[i].y <= Math.min(points[i - 1].y, |
| | | points[i + 1].y); |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | function isNotMiddlePointX(points, i) { |
| | | if (points[i - 1] && points[i + 1]) { |
| | | return points[i].x >= Math.max(points[i - 1].x, points[i + 1].x) || points[i].x <= Math.min(points[i - 1].x, |
| | | points[i + 1].x); |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | var a = 0.2; |
| | | var b = 0.2; |
| | | var pAx = null; |
| | | var pAy = null; |
| | | var pBx = null; |
| | | var pBy = null; |
| | | if (i < 1) { |
| | | pAx = points[0].x + (points[1].x - points[0].x) * a; |
| | | pAy = points[0].y + (points[1].y - points[0].y) * a; |
| | | } else { |
| | | pAx = points[i].x + (points[i + 1].x - points[i - 1].x) * a; |
| | | pAy = points[i].y + (points[i + 1].y - points[i - 1].y) * a; |
| | | } |
| | | |
| | | if (i > points.length - 3) { |
| | | var last = points.length - 1; |
| | | pBx = points[last].x - (points[last].x - points[last - 1].x) * b; |
| | | pBy = points[last].y - (points[last].y - points[last - 1].y) * b; |
| | | } else { |
| | | pBx = points[i + 1].x - (points[i + 2].x - points[i].x) * b; |
| | | pBy = points[i + 1].y - (points[i + 2].y - points[i].y) * b; |
| | | } |
| | | if (isNotMiddlePoint(points, i + 1)) { |
| | | pBy = points[i + 1].y; |
| | | } |
| | | if (isNotMiddlePoint(points, i)) { |
| | | pAy = points[i].y; |
| | | } |
| | | if (isNotMiddlePointX(points, i + 1)) { |
| | | pBx = points[i + 1].x; |
| | | } |
| | | if (isNotMiddlePointX(points, i)) { |
| | | pAx = points[i].x; |
| | | } |
| | | if (pAy >= Math.max(points[i].y, points[i + 1].y) || pAy <= Math.min(points[i].y, points[i + 1].y)) { |
| | | pAy = points[i].y; |
| | | } |
| | | if (pBy >= Math.max(points[i].y, points[i + 1].y) || pBy <= Math.min(points[i].y, points[i + 1].y)) { |
| | | pBy = points[i + 1].y; |
| | | } |
| | | if (pAx >= Math.max(points[i].x, points[i + 1].x) || pAx <= Math.min(points[i].x, points[i + 1].x)) { |
| | | pAx = points[i].x; |
| | | } |
| | | if (pBx >= Math.max(points[i].x, points[i + 1].x) || pBx <= Math.min(points[i].x, points[i + 1].x)) { |
| | | pBx = points[i + 1].x; |
| | | } |
| | | return { |
| | | ctrA: { |
| | | x: pAx, |
| | | y: pAy }, |
| | | |
| | | ctrB: { |
| | | x: pBx, |
| | | y: pBy } }; |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | function convertCoordinateOrigin(x, y, center) { |
| | | return { |
| | | x: center.x + x, |
| | | y: center.y - y }; |
| | | |
| | | } |
| | | |
| | | function avoidCollision(obj, target) { |
| | | if (target) { |
| | | // is collision test |
| | | while (util.isCollision(obj, target)) { |
| | | if (obj.start.x > 0) { |
| | | obj.start.y--; |
| | | } else if (obj.start.x < 0) { |
| | | obj.start.y++; |
| | | } else { |
| | | if (obj.start.y > 0) { |
| | | obj.start.y++; |
| | | } else { |
| | | obj.start.y--; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return obj; |
| | | } |
| | | |
| | | function fixPieSeries(series, opts, config) { |
| | | var pieSeriesArr = []; |
| | | if (series.length > 0 && series[0].data.constructor.toString().indexOf('Array') > -1) { |
| | | opts._pieSeries_ = series; |
| | | var oldseries = series[0].data; |
| | | for (var i = 0; i < oldseries.length; i++) { |
| | | oldseries[i].formatter = series[0].formatter; |
| | | oldseries[i].data = oldseries[i].value; |
| | | pieSeriesArr.push(oldseries[i]); |
| | | } |
| | | opts.series = pieSeriesArr; |
| | | } else { |
| | | pieSeriesArr = series; |
| | | } |
| | | return pieSeriesArr; |
| | | } |
| | | |
| | | function fillSeries(series, opts, config) { |
| | | var index = 0; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | if (!item.color) { |
| | | item.color = config.color[index]; |
| | | index = (index + 1) % config.color.length; |
| | | } |
| | | if (!item.linearIndex) { |
| | | item.linearIndex = i; |
| | | } |
| | | if (!item.index) { |
| | | item.index = 0; |
| | | } |
| | | if (!item.type) { |
| | | item.type = opts.type; |
| | | } |
| | | if (typeof item.show == "undefined") { |
| | | item.show = true; |
| | | } |
| | | if (!item.type) { |
| | | item.type = opts.type; |
| | | } |
| | | if (!item.pointShape) { |
| | | item.pointShape = "circle"; |
| | | } |
| | | if (!item.legendShape) { |
| | | switch (item.type) { |
| | | case 'line': |
| | | item.legendShape = "line"; |
| | | break; |
| | | case 'column': |
| | | case 'bar': |
| | | item.legendShape = "rect"; |
| | | break; |
| | | case 'area': |
| | | case 'mount': |
| | | item.legendShape = "triangle"; |
| | | break; |
| | | default: |
| | | item.legendShape = "circle";} |
| | | |
| | | } |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function fillCustomColor(linearType, customColor, series, config) { |
| | | var newcolor = customColor || []; |
| | | if (linearType == 'custom' && newcolor.length == 0) { |
| | | newcolor = config.linearColor; |
| | | } |
| | | if (linearType == 'custom' && newcolor.length < series.length) { |
| | | var chazhi = series.length - newcolor.length; |
| | | for (var i = 0; i < chazhi; i++) { |
| | | newcolor.push(config.linearColor[(i + 1) % config.linearColor.length]); |
| | | } |
| | | } |
| | | return newcolor; |
| | | } |
| | | |
| | | function getDataRange(minData, maxData) { |
| | | var limit = 0; |
| | | var range = maxData - minData; |
| | | if (range >= 10000) { |
| | | limit = 1000; |
| | | } else if (range >= 1000) { |
| | | limit = 100; |
| | | } else if (range >= 100) { |
| | | limit = 10; |
| | | } else if (range >= 10) { |
| | | limit = 5; |
| | | } else if (range >= 1) { |
| | | limit = 1; |
| | | } else if (range >= 0.1) { |
| | | limit = 0.1; |
| | | } else if (range >= 0.01) { |
| | | limit = 0.01; |
| | | } else if (range >= 0.001) { |
| | | limit = 0.001; |
| | | } else if (range >= 0.0001) { |
| | | limit = 0.0001; |
| | | } else if (range >= 0.00001) { |
| | | limit = 0.00001; |
| | | } else { |
| | | limit = 0.000001; |
| | | } |
| | | return { |
| | | minRange: findRange(minData, 'lower', limit), |
| | | maxRange: findRange(maxData, 'upper', limit) }; |
| | | |
| | | } |
| | | |
| | | function measureText(text, fontSize, context) { |
| | | var width = 0; |
| | | text = String(text); |
| | | |
| | | |
| | | |
| | | if (context !== false && context !== undefined && context.setFontSize && context.measureText) { |
| | | context.setFontSize(fontSize); |
| | | return context.measureText(text).width; |
| | | } else { |
| | | var text = text.split(''); |
| | | for (var i = 0; i < text.length; i++) { |
| | | var item = text[i]; |
| | | if (/[a-zA-Z]/.test(item)) { |
| | | width += 7; |
| | | } else if (/[0-9]/.test(item)) { |
| | | width += 5.5; |
| | | } else if (/\./.test(item)) { |
| | | width += 2.7; |
| | | } else if (/-/.test(item)) { |
| | | width += 3.25; |
| | | } else if (/:/.test(item)) { |
| | | width += 2.5; |
| | | } else if (/[\u4e00-\u9fa5]/.test(item)) { |
| | | width += 10; |
| | | } else if (/\(|\)/.test(item)) { |
| | | width += 3.73; |
| | | } else if (/\s/.test(item)) { |
| | | width += 2.5; |
| | | } else if (/%/.test(item)) { |
| | | width += 8; |
| | | } else { |
| | | width += 10; |
| | | } |
| | | } |
| | | return width * fontSize / 10; |
| | | } |
| | | } |
| | | |
| | | function dataCombine(series) { |
| | | return series.reduce(function (a, b) { |
| | | return (a.data ? a.data : a).concat(b.data); |
| | | }, []); |
| | | } |
| | | |
| | | function dataCombineStack(series, len) { |
| | | var sum = new Array(len); |
| | | for (var j = 0; j < sum.length; j++) { |
| | | sum[j] = 0; |
| | | } |
| | | for (var i = 0; i < series.length; i++) { |
| | | for (var j = 0; j < sum.length; j++) { |
| | | sum[j] += series[i].data[j]; |
| | | } |
| | | } |
| | | return series.reduce(function (a, b) { |
| | | return (a.data ? a.data : a).concat(b.data).concat(sum); |
| | | }, []); |
| | | } |
| | | |
| | | function getTouches(touches, opts, e) { |
| | | var x, y; |
| | | if (touches.clientX) { |
| | | if (opts.rotate) { |
| | | y = opts.height - touches.clientX * opts.pix; |
| | | x = (touches.pageY - e.currentTarget.offsetTop - opts.height / opts.pix / 2 * (opts.pix - 1)) * opts.pix; |
| | | } else { |
| | | x = touches.clientX * opts.pix; |
| | | y = (touches.pageY - e.currentTarget.offsetTop - opts.height / opts.pix / 2 * (opts.pix - 1)) * opts.pix; |
| | | } |
| | | } else { |
| | | if (opts.rotate) { |
| | | y = opts.height - touches.x * opts.pix; |
| | | x = touches.y * opts.pix; |
| | | } else { |
| | | x = touches.x * opts.pix; |
| | | y = touches.y * opts.pix; |
| | | } |
| | | } |
| | | return { |
| | | x: x, |
| | | y: y }; |
| | | |
| | | } |
| | | |
| | | function getSeriesDataItem(series, index, group) { |
| | | var data = []; |
| | | var newSeries = []; |
| | | var indexIsArr = index.constructor.toString().indexOf('Array') > -1; |
| | | if (indexIsArr) { |
| | | var tempSeries = filterSeries(series); |
| | | for (var i = 0; i < group.length; i++) { |
| | | newSeries.push(tempSeries[group[i]]); |
| | | } |
| | | } else { |
| | | newSeries = series; |
| | | }; |
| | | for (var _i = 0; _i < newSeries.length; _i++) { |
| | | var item = newSeries[_i]; |
| | | var tmpindex = -1; |
| | | if (indexIsArr) { |
| | | tmpindex = index[_i]; |
| | | } else { |
| | | tmpindex = index; |
| | | } |
| | | if (item.data[tmpindex] !== null && typeof item.data[tmpindex] !== 'undefined' && item.show) { |
| | | var seriesItem = {}; |
| | | seriesItem.color = item.color; |
| | | seriesItem.type = item.type; |
| | | seriesItem.style = item.style; |
| | | seriesItem.pointShape = item.pointShape; |
| | | seriesItem.disableLegend = item.disableLegend; |
| | | seriesItem.name = item.name; |
| | | seriesItem.show = item.show; |
| | | seriesItem.data = item.formatter ? item.formatter(item.data[tmpindex]) : item.data[tmpindex]; |
| | | data.push(seriesItem); |
| | | } |
| | | } |
| | | return data; |
| | | } |
| | | |
| | | function getMaxTextListLength(list, fontSize, context) { |
| | | var lengthList = list.map(function (item) { |
| | | return measureText(item, fontSize, context); |
| | | }); |
| | | return Math.max.apply(null, lengthList); |
| | | } |
| | | |
| | | function getRadarCoordinateSeries(length) { |
| | | var eachAngle = 2 * Math.PI / length; |
| | | var CoordinateSeries = []; |
| | | for (var i = 0; i < length; i++) { |
| | | CoordinateSeries.push(eachAngle * i); |
| | | } |
| | | return CoordinateSeries.map(function (item) { |
| | | return -1 * item + Math.PI / 2; |
| | | }); |
| | | } |
| | | |
| | | function getToolTipData(seriesData, opts, index, group, categories) { |
| | | var option = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {}; |
| | | var calPoints = opts.chartData.calPoints ? opts.chartData.calPoints : []; |
| | | var points = {}; |
| | | if (group.length > 0) { |
| | | var filterPoints = []; |
| | | for (var i = 0; i < group.length; i++) { |
| | | filterPoints.push(calPoints[group[i]]); |
| | | } |
| | | points = filterPoints[0][index[0]]; |
| | | } else { |
| | | for (var _i2 = 0; _i2 < calPoints.length; _i2++) { |
| | | if (calPoints[_i2][index]) { |
| | | points = calPoints[_i2][index]; |
| | | break; |
| | | } |
| | | } |
| | | }; |
| | | var textList = seriesData.map(function (item) { |
| | | var titleText = null; |
| | | if (opts.categories && opts.categories.length > 0) { |
| | | titleText = categories[index]; |
| | | }; |
| | | return { |
| | | text: option.formatter ? option.formatter(item, titleText, index, opts) : item.name + ': ' + item.data, |
| | | color: item.color }; |
| | | |
| | | }); |
| | | var offset = { |
| | | x: Math.round(points.x), |
| | | y: Math.round(points.y) }; |
| | | |
| | | return { |
| | | textList: textList, |
| | | offset: offset }; |
| | | |
| | | } |
| | | |
| | | function getMixToolTipData(seriesData, opts, index, categories) { |
| | | var option = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {}; |
| | | var points = opts.chartData.xAxisPoints[index] + opts.chartData.eachSpacing / 2; |
| | | var textList = seriesData.map(function (item) { |
| | | return { |
| | | text: option.formatter ? option.formatter(item, categories[index], index, opts) : item.name + ': ' + item.data, |
| | | color: item.color, |
| | | disableLegend: item.disableLegend ? true : false }; |
| | | |
| | | }); |
| | | textList = textList.filter(function (item) { |
| | | if (item.disableLegend !== true) { |
| | | return item; |
| | | } |
| | | }); |
| | | var offset = { |
| | | x: Math.round(points), |
| | | y: 0 }; |
| | | |
| | | return { |
| | | textList: textList, |
| | | offset: offset }; |
| | | |
| | | } |
| | | |
| | | function getCandleToolTipData(series, seriesData, opts, index, categories, extra) { |
| | | var option = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : {}; |
| | | var calPoints = opts.chartData.calPoints; |
| | | var upColor = extra.color.upFill; |
| | | var downColor = extra.color.downFill; |
| | | //颜色顺序为开盘,收盘,最低,最高 |
| | | var color = [upColor, upColor, downColor, upColor]; |
| | | var textList = []; |
| | | seriesData.map(function (item) { |
| | | if (index == 0) { |
| | | if (item.data[1] - item.data[0] < 0) { |
| | | color[1] = downColor; |
| | | } else { |
| | | color[1] = upColor; |
| | | } |
| | | } else { |
| | | if (item.data[0] < series[index - 1][1]) { |
| | | color[0] = downColor; |
| | | } |
| | | if (item.data[1] < item.data[0]) { |
| | | color[1] = downColor; |
| | | } |
| | | if (item.data[2] > series[index - 1][1]) { |
| | | color[2] = upColor; |
| | | } |
| | | if (item.data[3] < series[index - 1][1]) { |
| | | color[3] = downColor; |
| | | } |
| | | } |
| | | var text1 = { |
| | | text: '开盘:' + item.data[0], |
| | | color: color[0] }; |
| | | |
| | | var text2 = { |
| | | text: '收盘:' + item.data[1], |
| | | color: color[1] }; |
| | | |
| | | var text3 = { |
| | | text: '最低:' + item.data[2], |
| | | color: color[2] }; |
| | | |
| | | var text4 = { |
| | | text: '最高:' + item.data[3], |
| | | color: color[3] }; |
| | | |
| | | textList.push(text1, text2, text3, text4); |
| | | }); |
| | | var validCalPoints = []; |
| | | var offset = { |
| | | x: 0, |
| | | y: 0 }; |
| | | |
| | | for (var i = 0; i < calPoints.length; i++) { |
| | | var points = calPoints[i]; |
| | | if (typeof points[index] !== 'undefined' && points[index] !== null) { |
| | | validCalPoints.push(points[index]); |
| | | } |
| | | } |
| | | offset.x = Math.round(validCalPoints[0][0].x); |
| | | return { |
| | | textList: textList, |
| | | offset: offset }; |
| | | |
| | | } |
| | | |
| | | function filterSeries(series) { |
| | | var tempSeries = []; |
| | | for (var i = 0; i < series.length; i++) { |
| | | if (series[i].show == true) { |
| | | tempSeries.push(series[i]); |
| | | } |
| | | } |
| | | return tempSeries; |
| | | } |
| | | |
| | | function findCurrentIndex(currentPoints, calPoints, opts, config) { |
| | | var offset = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0; |
| | | var current = { index: -1, group: [] }; |
| | | var spacing = opts.chartData.eachSpacing / 2; |
| | | var xAxisPoints = []; |
| | | if (calPoints && calPoints.length > 0) { |
| | | if (!opts.categories) { |
| | | spacing = 0; |
| | | } else { |
| | | for (var i = 1; i < opts.chartData.xAxisPoints.length; i++) { |
| | | xAxisPoints.push(opts.chartData.xAxisPoints[i] - spacing); |
| | | } |
| | | if ((opts.type == 'line' || opts.type == 'area') && opts.xAxis.boundaryGap == 'justify') { |
| | | xAxisPoints = opts.chartData.xAxisPoints; |
| | | } |
| | | } |
| | | if (isInExactChartArea(currentPoints, opts, config)) { |
| | | if (!opts.categories) { |
| | | var timePoints = Array(calPoints.length); |
| | | for (var _i3 = 0; _i3 < calPoints.length; _i3++) { |
| | | timePoints[_i3] = Array(calPoints[_i3].length); |
| | | for (var j = 0; j < calPoints[_i3].length; j++) { |
| | | timePoints[_i3][j] = Math.abs(calPoints[_i3][j].x - currentPoints.x); |
| | | } |
| | | }; |
| | | var pointValue = Array(timePoints.length); |
| | | var pointIndex = Array(timePoints.length); |
| | | for (var _i4 = 0; _i4 < timePoints.length; _i4++) { |
| | | pointValue[_i4] = Math.min.apply(null, timePoints[_i4]); |
| | | pointIndex[_i4] = timePoints[_i4].indexOf(pointValue[_i4]); |
| | | } |
| | | var minValue = Math.min.apply(null, pointValue); |
| | | current.index = []; |
| | | for (var _i5 = 0; _i5 < pointValue.length; _i5++) { |
| | | if (pointValue[_i5] == minValue) { |
| | | current.group.push(_i5); |
| | | current.index.push(pointIndex[_i5]); |
| | | } |
| | | }; |
| | | } else { |
| | | xAxisPoints.forEach(function (item, index) { |
| | | if (currentPoints.x + offset + spacing > item) { |
| | | current.index = index; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | return current; |
| | | } |
| | | |
| | | function findBarChartCurrentIndex(currentPoints, calPoints, opts, config) { |
| | | var offset = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0; |
| | | var current = { index: -1, group: [] }; |
| | | var spacing = opts.chartData.eachSpacing / 2; |
| | | var yAxisPoints = opts.chartData.yAxisPoints; |
| | | if (calPoints && calPoints.length > 0) { |
| | | if (isInExactChartArea(currentPoints, opts, config)) { |
| | | yAxisPoints.forEach(function (item, index) { |
| | | if (currentPoints.y + offset + spacing > item) { |
| | | current.index = index; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | return current; |
| | | } |
| | | |
| | | function findLegendIndex(currentPoints, legendData, opts) { |
| | | var currentIndex = -1; |
| | | var gap = 0; |
| | | if (isInExactLegendArea(currentPoints, legendData.area)) { |
| | | var points = legendData.points; |
| | | var index = -1; |
| | | for (var i = 0, len = points.length; i < len; i++) { |
| | | var item = points[i]; |
| | | for (var j = 0; j < item.length; j++) { |
| | | index += 1; |
| | | var area = item[j]['area']; |
| | | if (area && currentPoints.x > area[0] - gap && currentPoints.x < area[2] + gap && currentPoints.y > area[1] - gap && currentPoints.y < area[3] + gap) { |
| | | currentIndex = index; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function isInExactLegendArea(currentPoints, area) { |
| | | return currentPoints.x > area.start.x && currentPoints.x < area.end.x && currentPoints.y > area.start.y && currentPoints.y < area.end.y; |
| | | } |
| | | |
| | | function isInExactChartArea(currentPoints, opts, config) { |
| | | return currentPoints.x <= opts.width - opts.area[1] + 10 && currentPoints.x >= opts.area[3] - 10 && currentPoints.y >= opts.area[0] && currentPoints.y <= opts.height - opts.area[2]; |
| | | } |
| | | |
| | | function findRadarChartCurrentIndex(currentPoints, radarData, count) { |
| | | var eachAngleArea = 2 * Math.PI / count; |
| | | var currentIndex = -1; |
| | | if (isInExactPieChartArea(currentPoints, radarData.center, radarData.radius)) { |
| | | var fixAngle = function fixAngle(angle) { |
| | | if (angle < 0) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | if (angle > 2 * Math.PI) { |
| | | angle -= 2 * Math.PI; |
| | | } |
| | | return angle; |
| | | }; |
| | | var angle = Math.atan2(radarData.center.y - currentPoints.y, currentPoints.x - radarData.center.x); |
| | | angle = -1 * angle; |
| | | if (angle < 0) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | var angleList = radarData.angleList.map(function (item) { |
| | | item = fixAngle(-1 * item); |
| | | return item; |
| | | }); |
| | | angleList.forEach(function (item, index) { |
| | | var rangeStart = fixAngle(item - eachAngleArea / 2); |
| | | var rangeEnd = fixAngle(item + eachAngleArea / 2); |
| | | if (rangeEnd < rangeStart) { |
| | | rangeEnd += 2 * Math.PI; |
| | | } |
| | | if (angle >= rangeStart && angle <= rangeEnd || angle + 2 * Math.PI >= rangeStart && angle + 2 * Math.PI <= rangeEnd) { |
| | | currentIndex = index; |
| | | } |
| | | }); |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findFunnelChartCurrentIndex(currentPoints, funnelData) { |
| | | var currentIndex = -1; |
| | | for (var i = 0, len = funnelData.series.length; i < len; i++) { |
| | | var item = funnelData.series[i]; |
| | | if (currentPoints.x > item.funnelArea[0] && currentPoints.x < item.funnelArea[2] && currentPoints.y > item.funnelArea[1] && currentPoints.y < item.funnelArea[3]) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findWordChartCurrentIndex(currentPoints, wordData) { |
| | | var currentIndex = -1; |
| | | for (var i = 0, len = wordData.length; i < len; i++) { |
| | | var item = wordData[i]; |
| | | if (currentPoints.x > item.area[0] && currentPoints.x < item.area[2] && currentPoints.y > item.area[1] && currentPoints.y < item.area[3]) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findMapChartCurrentIndex(currentPoints, opts) { |
| | | var currentIndex = -1; |
| | | var cData = opts.chartData.mapData; |
| | | var data = opts.series; |
| | | var tmp = pointToCoordinate(currentPoints.y, currentPoints.x, cData.bounds, cData.scale, cData.xoffset, cData.yoffset); |
| | | var poi = [tmp.x, tmp.y]; |
| | | for (var i = 0, len = data.length; i < len; i++) { |
| | | var item = data[i].geometry.coordinates; |
| | | if (isPoiWithinPoly(poi, item, opts.chartData.mapData.mercator)) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findRoseChartCurrentIndex(currentPoints, pieData, opts) { |
| | | var currentIndex = -1; |
| | | var series = getRoseDataPoints(opts._series_, opts.extra.rose.type, pieData.radius, pieData.radius); |
| | | if (pieData && pieData.center && isInExactPieChartArea(currentPoints, pieData.center, pieData.radius)) { |
| | | var angle = Math.atan2(pieData.center.y - currentPoints.y, currentPoints.x - pieData.center.x); |
| | | angle = -angle; |
| | | if (opts.extra.rose && opts.extra.rose.offsetAngle) { |
| | | angle = angle - opts.extra.rose.offsetAngle * Math.PI / 180; |
| | | } |
| | | for (var i = 0, len = series.length; i < len; i++) { |
| | | if (isInAngleRange(angle, series[i]._start_, series[i]._start_ + series[i]._rose_proportion_ * 2 * Math.PI)) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findPieChartCurrentIndex(currentPoints, pieData, opts) { |
| | | var currentIndex = -1; |
| | | var series = getPieDataPoints(pieData.series); |
| | | if (pieData && pieData.center && isInExactPieChartArea(currentPoints, pieData.center, pieData.radius)) { |
| | | var angle = Math.atan2(pieData.center.y - currentPoints.y, currentPoints.x - pieData.center.x); |
| | | angle = -angle; |
| | | if (opts.extra.pie && opts.extra.pie.offsetAngle) { |
| | | angle = angle - opts.extra.pie.offsetAngle * Math.PI / 180; |
| | | } |
| | | if (opts.extra.ring && opts.extra.ring.offsetAngle) { |
| | | angle = angle - opts.extra.ring.offsetAngle * Math.PI / 180; |
| | | } |
| | | for (var i = 0, len = series.length; i < len; i++) { |
| | | if (isInAngleRange(angle, series[i]._start_, series[i]._start_ + series[i]._proportion_ * 2 * Math.PI)) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function isInExactPieChartArea(currentPoints, center, radius) { |
| | | return Math.pow(currentPoints.x - center.x, 2) + Math.pow(currentPoints.y - center.y, 2) <= Math.pow(radius, 2); |
| | | } |
| | | |
| | | |
| | | function splitPoints(points, eachSeries) { |
| | | var newPoints = []; |
| | | var items = []; |
| | | points.forEach(function (item, index) { |
| | | if (eachSeries.connectNulls) { |
| | | if (item !== null) { |
| | | items.push(item); |
| | | } |
| | | } else { |
| | | if (item !== null) { |
| | | items.push(item); |
| | | } else { |
| | | if (items.length) { |
| | | newPoints.push(items); |
| | | } |
| | | items = []; |
| | | } |
| | | } |
| | | |
| | | }); |
| | | if (items.length) { |
| | | newPoints.push(items); |
| | | } |
| | | return newPoints; |
| | | } |
| | | |
| | | |
| | | function calLegendData(series, opts, config, chartData, context) { |
| | | var legendData = { |
| | | area: { |
| | | start: { |
| | | x: 0, |
| | | y: 0 }, |
| | | |
| | | end: { |
| | | x: 0, |
| | | y: 0 }, |
| | | |
| | | width: 0, |
| | | height: 0, |
| | | wholeWidth: 0, |
| | | wholeHeight: 0 }, |
| | | |
| | | points: [], |
| | | widthArr: [], |
| | | heightArr: [] }; |
| | | |
| | | if (opts.legend.show === false) { |
| | | chartData.legendData = legendData; |
| | | return legendData; |
| | | } |
| | | var padding = opts.legend.padding * opts.pix; |
| | | var margin = opts.legend.margin * opts.pix; |
| | | var fontSize = opts.legend.fontSize ? opts.legend.fontSize * opts.pix : config.fontSize; |
| | | var shapeWidth = 15 * opts.pix; |
| | | var shapeRight = 5 * opts.pix; |
| | | var lineHeight = Math.max(opts.legend.lineHeight * opts.pix, fontSize); |
| | | if (opts.legend.position == 'top' || opts.legend.position == 'bottom') { |
| | | var legendList = []; |
| | | var widthCount = 0; |
| | | var widthCountArr = []; |
| | | var currentRow = []; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | var legendText = item.legendText ? item.legendText : item.name; |
| | | var itemWidth = shapeWidth + shapeRight + measureText(legendText || 'undefined', fontSize, context) + opts.legend.itemGap * opts.pix; |
| | | if (widthCount + itemWidth > opts.width - opts.area[1] - opts.area[3]) { |
| | | legendList.push(currentRow); |
| | | widthCountArr.push(widthCount - opts.legend.itemGap * opts.pix); |
| | | widthCount = itemWidth; |
| | | currentRow = [item]; |
| | | } else { |
| | | widthCount += itemWidth; |
| | | currentRow.push(item); |
| | | } |
| | | } |
| | | if (currentRow.length) { |
| | | legendList.push(currentRow); |
| | | widthCountArr.push(widthCount - opts.legend.itemGap * opts.pix); |
| | | legendData.widthArr = widthCountArr; |
| | | var legendWidth = Math.max.apply(null, widthCountArr); |
| | | switch (opts.legend.float) { |
| | | case 'left': |
| | | legendData.area.start.x = opts.area[3]; |
| | | legendData.area.end.x = opts.area[3] + legendWidth + 2 * padding; |
| | | break; |
| | | case 'right': |
| | | legendData.area.start.x = opts.width - opts.area[1] - legendWidth - 2 * padding; |
| | | legendData.area.end.x = opts.width - opts.area[1]; |
| | | break; |
| | | default: |
| | | legendData.area.start.x = (opts.width - legendWidth) / 2 - padding; |
| | | legendData.area.end.x = (opts.width + legendWidth) / 2 + padding;} |
| | | |
| | | legendData.area.width = legendWidth + 2 * padding; |
| | | legendData.area.wholeWidth = legendWidth + 2 * padding; |
| | | legendData.area.height = legendList.length * lineHeight + 2 * padding; |
| | | legendData.area.wholeHeight = legendList.length * lineHeight + 2 * padding + 2 * margin; |
| | | legendData.points = legendList; |
| | | } |
| | | } else { |
| | | var len = series.length; |
| | | var maxHeight = opts.height - opts.area[0] - opts.area[2] - 2 * margin - 2 * padding; |
| | | var maxLength = Math.min(Math.floor(maxHeight / lineHeight), len); |
| | | legendData.area.height = maxLength * lineHeight + padding * 2; |
| | | legendData.area.wholeHeight = maxLength * lineHeight + padding * 2; |
| | | switch (opts.legend.float) { |
| | | case 'top': |
| | | legendData.area.start.y = opts.area[0] + margin; |
| | | legendData.area.end.y = opts.area[0] + margin + legendData.area.height; |
| | | break; |
| | | case 'bottom': |
| | | legendData.area.start.y = opts.height - opts.area[2] - margin - legendData.area.height; |
| | | legendData.area.end.y = opts.height - opts.area[2] - margin; |
| | | break; |
| | | default: |
| | | legendData.area.start.y = (opts.height - legendData.area.height) / 2; |
| | | legendData.area.end.y = (opts.height + legendData.area.height) / 2;} |
| | | |
| | | var lineNum = len % maxLength === 0 ? len / maxLength : Math.floor(len / maxLength + 1); |
| | | var _currentRow = []; |
| | | for (var _i6 = 0; _i6 < lineNum; _i6++) { |
| | | var temp = series.slice(_i6 * maxLength, _i6 * maxLength + maxLength); |
| | | _currentRow.push(temp); |
| | | } |
| | | legendData.points = _currentRow; |
| | | if (_currentRow.length) { |
| | | for (var _i7 = 0; _i7 < _currentRow.length; _i7++) { |
| | | var _item = _currentRow[_i7]; |
| | | var maxWidth = 0; |
| | | for (var j = 0; j < _item.length; j++) { |
| | | var _itemWidth = shapeWidth + shapeRight + measureText(_item[j].name || 'undefined', fontSize, context) + opts.legend.itemGap * opts.pix; |
| | | if (_itemWidth > maxWidth) { |
| | | maxWidth = _itemWidth; |
| | | } |
| | | } |
| | | legendData.widthArr.push(maxWidth); |
| | | legendData.heightArr.push(_item.length * lineHeight + padding * 2); |
| | | } |
| | | var _legendWidth = 0; |
| | | for (var _i8 = 0; _i8 < legendData.widthArr.length; _i8++) { |
| | | _legendWidth += legendData.widthArr[_i8]; |
| | | } |
| | | legendData.area.width = _legendWidth - opts.legend.itemGap * opts.pix + 2 * padding; |
| | | legendData.area.wholeWidth = legendData.area.width + padding; |
| | | } |
| | | } |
| | | switch (opts.legend.position) { |
| | | case 'top': |
| | | legendData.area.start.y = opts.area[0] + margin; |
| | | legendData.area.end.y = opts.area[0] + margin + legendData.area.height; |
| | | break; |
| | | case 'bottom': |
| | | legendData.area.start.y = opts.height - opts.area[2] - legendData.area.height - margin; |
| | | legendData.area.end.y = opts.height - opts.area[2] - margin; |
| | | break; |
| | | case 'left': |
| | | legendData.area.start.x = opts.area[3]; |
| | | legendData.area.end.x = opts.area[3] + legendData.area.width; |
| | | break; |
| | | case 'right': |
| | | legendData.area.start.x = opts.width - opts.area[1] - legendData.area.width; |
| | | legendData.area.end.x = opts.width - opts.area[1]; |
| | | break;} |
| | | |
| | | chartData.legendData = legendData; |
| | | return legendData; |
| | | } |
| | | |
| | | function calCategoriesData(categories, opts, config, eachSpacing, context) { |
| | | var result = { |
| | | angle: 0, |
| | | xAxisHeight: config.xAxisHeight }; |
| | | |
| | | var fontSize = opts.xAxis.fontSize * opts.pix || config.fontSize; |
| | | var categoriesTextLenth = categories.map(function (item, index) { |
| | | var xitem = opts.xAxis.formatter ? opts.xAxis.formatter(item, index, opts) : item; |
| | | return measureText(String(xitem), fontSize, context); |
| | | }); |
| | | |
| | | var maxTextLength = Math.max.apply(this, categoriesTextLenth); |
| | | if (opts.xAxis.rotateLabel == true) { |
| | | result.angle = opts.xAxis.rotateAngle * Math.PI / 180; |
| | | var tempHeight = 2 * config.xAxisTextPadding + Math.abs(maxTextLength * Math.sin(result.angle)); |
| | | tempHeight = tempHeight < fontSize + 2 * config.xAxisTextPadding ? tempHeight + 2 * config.xAxisTextPadding : tempHeight; |
| | | if (opts.enableScroll == true && opts.xAxis.scrollShow == true) { |
| | | tempHeight += 12 * opts.pix; |
| | | } |
| | | result.xAxisHeight = tempHeight; |
| | | } |
| | | if (opts.xAxis.disabled) { |
| | | result.xAxisHeight = 0; |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | function getXAxisTextList(series, opts, config, stack) { |
| | | var index = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : -1; |
| | | var data; |
| | | if (stack == 'stack') { |
| | | data = dataCombineStack(series, opts.categories.length); |
| | | } else { |
| | | data = dataCombine(series); |
| | | } |
| | | var sorted = []; |
| | | // remove null from data |
| | | data = data.filter(function (item) { |
| | | //return item !== null; |
| | | if (typeof item === 'object' && item !== null) { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | return item !== null; |
| | | } else { |
| | | return item.value !== null; |
| | | } |
| | | } else { |
| | | return item !== null; |
| | | } |
| | | }); |
| | | data.map(function (item) { |
| | | if (typeof item === 'object') { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | if (opts.type == 'candle') { |
| | | item.map(function (subitem) { |
| | | sorted.push(subitem); |
| | | }); |
| | | } else { |
| | | sorted.push(item[0]); |
| | | } |
| | | } else { |
| | | sorted.push(item.value); |
| | | } |
| | | } else { |
| | | sorted.push(item); |
| | | } |
| | | }); |
| | | |
| | | var minData = 0; |
| | | var maxData = 0; |
| | | if (sorted.length > 0) { |
| | | minData = Math.min.apply(this, sorted); |
| | | maxData = Math.max.apply(this, sorted); |
| | | } |
| | | //为了兼容v1.9.0之前的项目 |
| | | if (index > -1) { |
| | | if (typeof opts.xAxis.data[index].min === 'number') { |
| | | minData = Math.min(opts.xAxis.data[index].min, minData); |
| | | } |
| | | if (typeof opts.xAxis.data[index].max === 'number') { |
| | | maxData = Math.max(opts.xAxis.data[index].max, maxData); |
| | | } |
| | | } else { |
| | | if (typeof opts.xAxis.min === 'number') { |
| | | minData = Math.min(opts.xAxis.min, minData); |
| | | } |
| | | if (typeof opts.xAxis.max === 'number') { |
| | | maxData = Math.max(opts.xAxis.max, maxData); |
| | | } |
| | | } |
| | | if (minData === maxData) { |
| | | var rangeSpan = maxData || 10; |
| | | maxData += rangeSpan; |
| | | } |
| | | //var dataRange = getDataRange(minData, maxData); |
| | | var minRange = minData; |
| | | var maxRange = maxData; |
| | | var range = []; |
| | | var eachRange = (maxRange - minRange) / opts.xAxis.splitNumber; |
| | | for (var i = 0; i <= opts.xAxis.splitNumber; i++) { |
| | | range.push(minRange + eachRange * i); |
| | | } |
| | | return range; |
| | | } |
| | | |
| | | function calXAxisData(series, opts, config, context) { |
| | | //堆叠图重算Y轴 |
| | | var columnstyle = assign({}, { |
| | | type: "" }, |
| | | opts.extra.bar); |
| | | var result = { |
| | | angle: 0, |
| | | xAxisHeight: config.xAxisHeight }; |
| | | |
| | | result.ranges = getXAxisTextList(series, opts, config, columnstyle.type); |
| | | result.rangesFormat = result.ranges.map(function (item) { |
| | | //item = opts.xAxis.formatter ? opts.xAxis.formatter(item) : util.toFixed(item, 2); |
| | | item = util.toFixed(item, 2); |
| | | return item; |
| | | }); |
| | | var xAxisScaleValues = result.ranges.map(function (item) { |
| | | // 如果刻度值是浮点数,则保留两位小数 |
| | | item = util.toFixed(item, 2); |
| | | // 若有自定义格式则调用自定义的格式化函数 |
| | | //item = opts.xAxis.formatter ? opts.xAxis.formatter(Number(item)) : item; |
| | | return item; |
| | | }); |
| | | result = Object.assign(result, getXAxisPoints(xAxisScaleValues, opts, config)); |
| | | // 计算X轴刻度的属性譬如每个刻度的间隔,刻度的起始点\结束点以及总长 |
| | | var eachSpacing = result.eachSpacing; |
| | | var textLength = xAxisScaleValues.map(function (item) { |
| | | return measureText(item, opts.xAxis.fontSize * opts.pix || config.fontSize, context); |
| | | }); |
| | | // get max length of categories text |
| | | var maxTextLength = Math.max.apply(this, textLength); |
| | | // 如果刻度值文本内容过长,则将其逆时针旋转45° |
| | | if (maxTextLength + 2 * config.xAxisTextPadding > eachSpacing) { |
| | | result.angle = 45 * Math.PI / 180; |
| | | result.xAxisHeight = 2 * config.xAxisTextPadding + maxTextLength * Math.sin(result.angle); |
| | | } |
| | | if (opts.xAxis.disabled === true) { |
| | | result.xAxisHeight = 0; |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | function getRadarDataPoints(angleList, center, radius, series, opts) { |
| | | var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1; |
| | | var radarOption = opts.extra.radar || {}; |
| | | radarOption.max = radarOption.max || 0; |
| | | var maxData = Math.max(radarOption.max, Math.max.apply(null, dataCombine(series))); |
| | | var data = [];var _loop2 = function _loop2( |
| | | i) { |
| | | var each = series[i]; |
| | | var listItem = {}; |
| | | listItem.color = each.color; |
| | | listItem.legendShape = each.legendShape; |
| | | listItem.pointShape = each.pointShape; |
| | | listItem.data = []; |
| | | each.data.forEach(function (item, index) { |
| | | var tmp = {}; |
| | | tmp.angle = angleList[index]; |
| | | tmp.proportion = item / maxData; |
| | | tmp.value = item; |
| | | tmp.position = convertCoordinateOrigin(radius * tmp.proportion * process * Math.cos(tmp.angle), radius * tmp.proportion * process * Math.sin(tmp.angle), center); |
| | | listItem.data.push(tmp); |
| | | }); |
| | | data.push(listItem);};for (var i = 0; i < series.length; i++) {_loop2(i); |
| | | } |
| | | return data; |
| | | } |
| | | |
| | | function getPieDataPoints(series, radius) { |
| | | var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; |
| | | var count = 0; |
| | | var _start_ = 0; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | count += item.data; |
| | | } |
| | | for (var _i9 = 0; _i9 < series.length; _i9++) { |
| | | var _item2 = series[_i9]; |
| | | _item2.data = _item2.data === null ? 0 : _item2.data; |
| | | if (count === 0) { |
| | | _item2._proportion_ = 1 / series.length * process; |
| | | } else { |
| | | _item2._proportion_ = _item2.data / count * process; |
| | | } |
| | | _item2._radius_ = radius; |
| | | } |
| | | for (var _i10 = 0; _i10 < series.length; _i10++) { |
| | | var _item3 = series[_i10]; |
| | | _item3._start_ = _start_; |
| | | _start_ += 2 * _item3._proportion_ * Math.PI; |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getFunnelDataPoints(series, radius, option, eachSpacing) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | for (var i = 0; i < series.length; i++) { |
| | | if (option.type == 'funnel') { |
| | | series[i].radius = series[i].data / series[0].data * radius * process; |
| | | } else { |
| | | series[i].radius = eachSpacing * (series.length - i) / (eachSpacing * series.length) * radius * process; |
| | | } |
| | | series[i]._proportion_ = series[i].data / series[0].data; |
| | | } |
| | | // if(option.type !== 'pyramid'){ |
| | | // series.reverse(); |
| | | // } |
| | | return series; |
| | | } |
| | | |
| | | function getRoseDataPoints(series, type, minRadius, radius) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var count = 0; |
| | | var _start_ = 0; |
| | | var dataArr = []; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | count += item.data; |
| | | dataArr.push(item.data); |
| | | } |
| | | var minData = Math.min.apply(null, dataArr); |
| | | var maxData = Math.max.apply(null, dataArr); |
| | | var radiusLength = radius - minRadius; |
| | | for (var _i11 = 0; _i11 < series.length; _i11++) { |
| | | var _item4 = series[_i11]; |
| | | _item4.data = _item4.data === null ? 0 : _item4.data; |
| | | if (count === 0) { |
| | | _item4._proportion_ = 1 / series.length * process; |
| | | _item4._rose_proportion_ = 1 / series.length * process; |
| | | } else { |
| | | _item4._proportion_ = _item4.data / count * process; |
| | | if (type == 'area') { |
| | | _item4._rose_proportion_ = 1 / series.length * process; |
| | | } else { |
| | | _item4._rose_proportion_ = _item4.data / count * process; |
| | | } |
| | | } |
| | | _item4._radius_ = minRadius + radiusLength * ((_item4.data - minData) / (maxData - minData)) || radius; |
| | | } |
| | | for (var _i12 = 0; _i12 < series.length; _i12++) { |
| | | var _item5 = series[_i12]; |
| | | _item5._start_ = _start_; |
| | | _start_ += 2 * _item5._rose_proportion_ * Math.PI; |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getArcbarDataPoints(series, arcbarOption) { |
| | | var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; |
| | | if (process == 1) { |
| | | process = 0.999999; |
| | | } |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | var totalAngle = void 0; |
| | | if (arcbarOption.type == 'circle') { |
| | | totalAngle = 2; |
| | | } else { |
| | | if (arcbarOption.direction == 'ccw') { |
| | | if (arcbarOption.startAngle < arcbarOption.endAngle) { |
| | | totalAngle = 2 + arcbarOption.startAngle - arcbarOption.endAngle; |
| | | } else { |
| | | totalAngle = arcbarOption.startAngle - arcbarOption.endAngle; |
| | | } |
| | | } else { |
| | | if (arcbarOption.endAngle < arcbarOption.startAngle) { |
| | | totalAngle = 2 + arcbarOption.endAngle - arcbarOption.startAngle; |
| | | } else { |
| | | totalAngle = arcbarOption.startAngle - arcbarOption.endAngle; |
| | | } |
| | | } |
| | | } |
| | | item._proportion_ = totalAngle * item.data * process + arcbarOption.startAngle; |
| | | if (arcbarOption.direction == 'ccw') { |
| | | item._proportion_ = arcbarOption.startAngle - totalAngle * item.data * process; |
| | | } |
| | | if (item._proportion_ >= 2) { |
| | | item._proportion_ = item._proportion_ % 2; |
| | | } |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getGaugeArcbarDataPoints(series, arcbarOption) { |
| | | var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; |
| | | if (process == 1) { |
| | | process = 0.999999; |
| | | } |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | var totalAngle = void 0; |
| | | if (arcbarOption.type == 'circle') { |
| | | totalAngle = 2; |
| | | } else { |
| | | if (arcbarOption.endAngle < arcbarOption.startAngle) { |
| | | totalAngle = 2 + arcbarOption.endAngle - arcbarOption.startAngle; |
| | | } else { |
| | | totalAngle = arcbarOption.startAngle - arcbarOption.endAngle; |
| | | } |
| | | } |
| | | item._proportion_ = totalAngle * item.data * process + arcbarOption.startAngle; |
| | | if (item._proportion_ >= 2) { |
| | | item._proportion_ = item._proportion_ % 2; |
| | | } |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getGaugeAxisPoints(categories, startAngle, endAngle) { |
| | | var totalAngle = startAngle - endAngle + 1; |
| | | var tempStartAngle = startAngle; |
| | | for (var i = 0; i < categories.length; i++) { |
| | | categories[i].value = categories[i].value === null ? 0 : categories[i].value; |
| | | categories[i]._startAngle_ = tempStartAngle; |
| | | categories[i]._endAngle_ = totalAngle * categories[i].value + startAngle; |
| | | if (categories[i]._endAngle_ >= 2) { |
| | | categories[i]._endAngle_ = categories[i]._endAngle_ % 2; |
| | | } |
| | | tempStartAngle = categories[i]._endAngle_; |
| | | } |
| | | return categories; |
| | | } |
| | | |
| | | function getGaugeDataPoints(series, categories, gaugeOption) { |
| | | var process = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | if (gaugeOption.pointer.color == 'auto') { |
| | | for (var _i13 = 0; _i13 < categories.length; _i13++) { |
| | | if (item.data <= categories[_i13].value) { |
| | | item.color = categories[_i13].color; |
| | | break; |
| | | } |
| | | } |
| | | } else { |
| | | item.color = gaugeOption.pointer.color; |
| | | } |
| | | var totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | item._endAngle_ = totalAngle * item.data + gaugeOption.startAngle; |
| | | item._oldAngle_ = gaugeOption.oldAngle; |
| | | if (gaugeOption.oldAngle < gaugeOption.endAngle) { |
| | | item._oldAngle_ += 2; |
| | | } |
| | | if (item.data >= gaugeOption.oldData) { |
| | | item._proportion_ = (item._endAngle_ - item._oldAngle_) * process + gaugeOption.oldAngle; |
| | | } else { |
| | | item._proportion_ = item._oldAngle_ - (item._oldAngle_ - item._endAngle_) * process; |
| | | } |
| | | if (item._proportion_ >= 2) { |
| | | item._proportion_ = item._proportion_ % 2; |
| | | } |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getPieTextMaxLength(series, config, context, opts) { |
| | | series = getPieDataPoints(series); |
| | | var maxLength = 0; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | var text = item.formatter ? item.formatter(+item._proportion_.toFixed(2)) : util.toFixed(item._proportion_ * 100) + '%'; |
| | | maxLength = Math.max(maxLength, measureText(text, item.textSize * opts.pix || config.fontSize, context)); |
| | | } |
| | | return maxLength; |
| | | } |
| | | |
| | | function fixColumeData(points, eachSpacing, columnLen, index, config, opts) { |
| | | return points.map(function (item) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | var seriesGap = 0; |
| | | var categoryGap = 0; |
| | | if (opts.type == 'mix') { |
| | | seriesGap = opts.extra.mix.column.seriesGap * opts.pix || 0; |
| | | categoryGap = opts.extra.mix.column.categoryGap * opts.pix || 0; |
| | | } else { |
| | | seriesGap = opts.extra.column.seriesGap * opts.pix || 0; |
| | | categoryGap = opts.extra.column.categoryGap * opts.pix || 0; |
| | | } |
| | | seriesGap = Math.min(seriesGap, eachSpacing / columnLen); |
| | | categoryGap = Math.min(categoryGap, eachSpacing / columnLen); |
| | | item.width = Math.ceil((eachSpacing - 2 * categoryGap - seriesGap * (columnLen - 1)) / columnLen); |
| | | if (opts.extra.mix && opts.extra.mix.column.width && +opts.extra.mix.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.mix.column.width * opts.pix); |
| | | } |
| | | if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.column.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | item.x += (index + 0.5 - columnLen / 2) * (item.width + seriesGap); |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixBarData(points, eachSpacing, columnLen, index, config, opts) { |
| | | return points.map(function (item) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | var seriesGap = 0; |
| | | var categoryGap = 0; |
| | | seriesGap = opts.extra.bar.seriesGap * opts.pix || 0; |
| | | categoryGap = opts.extra.bar.categoryGap * opts.pix || 0; |
| | | seriesGap = Math.min(seriesGap, eachSpacing / columnLen); |
| | | categoryGap = Math.min(categoryGap, eachSpacing / columnLen); |
| | | item.width = Math.ceil((eachSpacing - 2 * categoryGap - seriesGap * (columnLen - 1)) / columnLen); |
| | | if (opts.extra.bar && opts.extra.bar.width && +opts.extra.bar.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.bar.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | item.y += (index + 0.5 - columnLen / 2) * (item.width + seriesGap); |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixColumeMeterData(points, eachSpacing, columnLen, index, config, opts, border) { |
| | | var categoryGap = opts.extra.column.categoryGap * opts.pix || 0; |
| | | return points.map(function (item) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | item.width = eachSpacing - 2 * categoryGap; |
| | | if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.column.width * opts.pix); |
| | | } |
| | | if (index > 0) { |
| | | item.width -= border; |
| | | } |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixColumeStackData(points, eachSpacing, columnLen, index, config, opts, series) { |
| | | var categoryGap = opts.extra.column.categoryGap * opts.pix || 0; |
| | | return points.map(function (item, indexn) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | item.width = Math.ceil(eachSpacing - 2 * categoryGap); |
| | | if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.column.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixBarStackData(points, eachSpacing, columnLen, index, config, opts, series) { |
| | | var categoryGap = opts.extra.bar.categoryGap * opts.pix || 0; |
| | | return points.map(function (item, indexn) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | item.width = Math.ceil(eachSpacing - 2 * categoryGap); |
| | | if (opts.extra.bar && opts.extra.bar.width && +opts.extra.bar.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.bar.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function getXAxisPoints(categories, opts, config) { |
| | | var spacingValid = opts.width - opts.area[1] - opts.area[3]; |
| | | var dataCount = opts.enableScroll ? Math.min(opts.xAxis.itemCount, categories.length) : categories.length; |
| | | if ((opts.type == 'line' || opts.type == 'area' || opts.type == 'scatter' || opts.type == 'bubble' || opts.type == 'bar') && dataCount > 1 && opts.xAxis.boundaryGap == 'justify') { |
| | | dataCount -= 1; |
| | | } |
| | | var widthRatio = 0; |
| | | if (opts.type == 'mount' && opts.extra && opts.extra.mount && opts.extra.mount.widthRatio && opts.extra.mount.widthRatio > 1) { |
| | | if (opts.extra.mount.widthRatio > 2) opts.extra.mount.widthRatio = 2; |
| | | widthRatio = opts.extra.mount.widthRatio - 1; |
| | | dataCount += widthRatio; |
| | | } |
| | | var eachSpacing = spacingValid / dataCount; |
| | | var xAxisPoints = []; |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | categories.forEach(function (item, index) { |
| | | xAxisPoints.push(startX + widthRatio / 2 * eachSpacing + index * eachSpacing); |
| | | }); |
| | | if (opts.xAxis.boundaryGap !== 'justify') { |
| | | if (opts.enableScroll === true) { |
| | | xAxisPoints.push(startX + widthRatio * eachSpacing + categories.length * eachSpacing); |
| | | } else { |
| | | xAxisPoints.push(endX); |
| | | } |
| | | } |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | startX: startX, |
| | | endX: endX, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function getCandleDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config) { |
| | | var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1; |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var cPoints = []; |
| | | item.forEach(function (items, indexs) { |
| | | var point = {}; |
| | | point.x = xAxisPoints[index] + Math.round(eachSpacing / 2); |
| | | var value = items.value || items; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | height *= process; |
| | | point.y = opts.height - Math.round(height) - opts.area[2]; |
| | | cPoints.push(point); |
| | | }); |
| | | points.push(cPoints); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config) { |
| | | var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1; |
| | | var boundaryGap = 'center'; |
| | | if (opts.type == 'line' || opts.type == 'area' || opts.type == 'scatter' || opts.type == 'bubble') { |
| | | boundaryGap = opts.xAxis.boundaryGap; |
| | | } |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | var validWidth = opts.width - opts.area[1] - opts.area[3]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.x = xAxisPoints[index]; |
| | | var value = item; |
| | | if (typeof item === 'object' && item !== null) { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | var xranges, xminRange, xmaxRange; |
| | | xranges = [].concat(opts.chartData.xAxisData.ranges); |
| | | xminRange = xranges.shift(); |
| | | xmaxRange = xranges.pop(); |
| | | value = item[1]; |
| | | point.x = opts.area[3] + validWidth * (item[0] - xminRange) / (xmaxRange - xminRange); |
| | | if (opts.type == 'bubble') { |
| | | point.r = item[2]; |
| | | point.t = item[3]; |
| | | } |
| | | } else { |
| | | value = item.value; |
| | | } |
| | | } |
| | | if (boundaryGap == 'center') { |
| | | point.x += eachSpacing / 2; |
| | | } |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | height *= process; |
| | | point.y = opts.height - height - opts.area[2]; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getMountDataPoints(series, minRange, maxRange, xAxisPoints, eachSpacing, opts, mountOption) { |
| | | var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1; |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | var validWidth = opts.width - opts.area[1] - opts.area[3]; |
| | | var mountWidth = eachSpacing * mountOption.widthRatio; |
| | | series.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.x = xAxisPoints[index]; |
| | | point.x += eachSpacing / 2; |
| | | var value = item.data; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | height *= process; |
| | | point.y = opts.height - height - opts.area[2]; |
| | | point.value = value; |
| | | point.width = mountWidth; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getBarDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config) { |
| | | var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1; |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | var validWidth = opts.width - opts.area[1] - opts.area[3]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.y = yAxisPoints[index]; |
| | | var value = item; |
| | | if (typeof item === 'object' && item !== null) { |
| | | value = item.value; |
| | | } |
| | | var height = validWidth * (value - minRange) / (maxRange - minRange); |
| | | height *= process; |
| | | point.height = height; |
| | | point.value = value; |
| | | point.x = height + opts.area[3]; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, stackSeries) { |
| | | var process = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : 1; |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.x = xAxisPoints[index] + Math.round(eachSpacing / 2); |
| | | |
| | | if (seriesIndex > 0) { |
| | | var value = 0; |
| | | for (var i = 0; i <= seriesIndex; i++) { |
| | | value += stackSeries[i].data[index]; |
| | | } |
| | | var value0 = value - item; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = validHeight * (value0 - minRange) / (maxRange - minRange); |
| | | } else { |
| | | var value = item; |
| | | if (typeof item === 'object' && item !== null) { |
| | | value = item.value; |
| | | } |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = 0; |
| | | } |
| | | var heightc = height0; |
| | | height *= process; |
| | | heightc *= process; |
| | | point.y = opts.height - Math.round(height) - opts.area[2]; |
| | | point.y0 = opts.height - Math.round(heightc) - opts.area[2]; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, stackSeries) { |
| | | var process = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : 1; |
| | | var points = []; |
| | | var validHeight = opts.width - opts.area[1] - opts.area[3]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.y = yAxisPoints[index]; |
| | | if (seriesIndex > 0) { |
| | | var value = 0; |
| | | for (var i = 0; i <= seriesIndex; i++) { |
| | | value += stackSeries[i].data[index]; |
| | | } |
| | | var value0 = value - item; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = validHeight * (value0 - minRange) / (maxRange - minRange); |
| | | } else { |
| | | var value = item; |
| | | if (typeof item === 'object' && item !== null) { |
| | | value = item.value; |
| | | } |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = 0; |
| | | } |
| | | var heightc = height0; |
| | | height *= process; |
| | | heightc *= process; |
| | | point.height = height - heightc; |
| | | point.x = opts.area[3] + height; |
| | | point.x0 = opts.area[3] + heightc; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getYAxisTextList(series, opts, config, stack, yData) { |
| | | var index = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : -1; |
| | | var data; |
| | | if (stack == 'stack') { |
| | | data = dataCombineStack(series, opts.categories.length); |
| | | } else { |
| | | data = dataCombine(series); |
| | | } |
| | | var sorted = []; |
| | | // remove null from data |
| | | data = data.filter(function (item) { |
| | | //return item !== null; |
| | | if (typeof item === 'object' && item !== null) { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | return item !== null; |
| | | } else { |
| | | return item.value !== null; |
| | | } |
| | | } else { |
| | | return item !== null; |
| | | } |
| | | }); |
| | | data.map(function (item) { |
| | | if (typeof item === 'object') { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | if (opts.type == 'candle') { |
| | | item.map(function (subitem) { |
| | | sorted.push(subitem); |
| | | }); |
| | | } else { |
| | | sorted.push(item[1]); |
| | | } |
| | | } else { |
| | | sorted.push(item.value); |
| | | } |
| | | } else { |
| | | sorted.push(item); |
| | | } |
| | | }); |
| | | var minData = yData.min || 0; |
| | | var maxData = yData.max || 0; |
| | | if (sorted.length > 0) { |
| | | minData = Math.min.apply(this, sorted); |
| | | maxData = Math.max.apply(this, sorted); |
| | | } |
| | | if (minData === maxData) { |
| | | if (maxData == 0) { |
| | | maxData = 10; |
| | | } else { |
| | | minData = 0; |
| | | } |
| | | } |
| | | var dataRange = getDataRange(minData, maxData); |
| | | var minRange = yData.min === undefined || yData.min === null ? dataRange.minRange : yData.min; |
| | | var maxRange = yData.max === undefined || yData.max === null ? dataRange.maxRange : yData.max; |
| | | var eachRange = (maxRange - minRange) / opts.yAxis.splitNumber; |
| | | var range = []; |
| | | for (var i = 0; i <= opts.yAxis.splitNumber; i++) { |
| | | range.push(minRange + eachRange * i); |
| | | } |
| | | return range.reverse(); |
| | | } |
| | | |
| | | function calYAxisData(series, opts, config, context) { |
| | | //堆叠图重算Y轴 |
| | | var columnstyle = assign({}, { |
| | | type: "" }, |
| | | opts.extra.column); |
| | | //如果是多Y轴,重新计算 |
| | | var YLength = opts.yAxis.data.length; |
| | | var newSeries = new Array(YLength); |
| | | if (YLength > 0) { |
| | | for (var i = 0; i < YLength; i++) { |
| | | newSeries[i] = []; |
| | | for (var j = 0; j < series.length; j++) { |
| | | if (series[j].index == i) { |
| | | newSeries[i].push(series[j]); |
| | | } |
| | | } |
| | | } |
| | | var rangesArr = new Array(YLength); |
| | | var rangesFormatArr = new Array(YLength); |
| | | var yAxisWidthArr = new Array(YLength);var _loop3 = function _loop3( |
| | | |
| | | _i14) { |
| | | var yData = opts.yAxis.data[_i14]; |
| | | //如果总开关不显示,强制每个Y轴为不显示 |
| | | if (opts.yAxis.disabled == true) { |
| | | yData.disabled = true; |
| | | } |
| | | if (yData.type === 'categories') { |
| | | if (!yData.formatter) { |
| | | yData.formatter = function (val, index, opts) {return val + (yData.unit || '');}; |
| | | } |
| | | yData.categories = yData.categories || opts.categories; |
| | | rangesArr[_i14] = yData.categories; |
| | | } else { |
| | | if (!yData.formatter) { |
| | | yData.formatter = function (val, index, opts) {return util.toFixed(val, yData.tofix || 0) + (yData.unit || '');}; |
| | | } |
| | | rangesArr[_i14] = getYAxisTextList(newSeries[_i14], opts, config, columnstyle.type, yData, _i14); |
| | | } |
| | | var yAxisFontSizes = yData.fontSize * opts.pix || config.fontSize; |
| | | yAxisWidthArr[_i14] = { |
| | | position: yData.position ? yData.position : 'left', |
| | | width: 0 }; |
| | | |
| | | rangesFormatArr[_i14] = rangesArr[_i14].map(function (items, index) { |
| | | items = yData.formatter(items, index, opts); |
| | | yAxisWidthArr[_i14].width = Math.max(yAxisWidthArr[_i14].width, measureText(items, yAxisFontSizes, context) + 5); |
| | | return items; |
| | | }); |
| | | var calibration = yData.calibration ? 4 * opts.pix : 0; |
| | | yAxisWidthArr[_i14].width += calibration + 3 * opts.pix; |
| | | if (yData.disabled === true) { |
| | | yAxisWidthArr[_i14].width = 0; |
| | | }};for (var _i14 = 0; _i14 < YLength; _i14++) {_loop3(_i14); |
| | | } |
| | | } else { |
| | | var rangesArr = new Array(1); |
| | | var rangesFormatArr = new Array(1); |
| | | var yAxisWidthArr = new Array(1); |
| | | if (opts.type === 'bar') { |
| | | rangesArr[0] = opts.categories; |
| | | } else { |
| | | rangesArr[0] = getYAxisTextList(series, opts, config, columnstyle.type, {}); |
| | | } |
| | | yAxisWidthArr[0] = { |
| | | position: 'left', |
| | | width: 0 }; |
| | | |
| | | |
| | | if (opts.yAxis.disabled === true) { |
| | | yAxisWidthArr[0] = { |
| | | position: 'left', |
| | | width: 0 }; |
| | | |
| | | opts.yAxis.data[0] = { |
| | | disabled: true }; |
| | | |
| | | } else { |
| | | opts.yAxis.data[0] = { |
| | | disabled: false, |
| | | position: 'left', |
| | | max: opts.yAxis.max, |
| | | min: opts.yAxis.min, |
| | | formatter: function formatter(val, index, opts) {return val;} }; |
| | | |
| | | if (opts.type === 'bar') { |
| | | opts.yAxis.data[0].categories = opts.categories; |
| | | opts.yAxis.data[0].type = 'categories'; |
| | | } |
| | | } |
| | | var yAxisFontSize = opts.yAxis.fontSize * opts.pix || config.fontSize; |
| | | rangesFormatArr[0] = rangesArr[0].map(function (item, index) { |
| | | item = opts.yAxis.data[0].formatter(item, index, opts); |
| | | yAxisWidthArr[0].width = Math.max(yAxisWidthArr[0].width, measureText(item, yAxisFontSize, context) + 5); |
| | | return item; |
| | | }); |
| | | yAxisWidthArr[0].width += 3 * opts.pix; |
| | | } |
| | | return { |
| | | rangesFormat: rangesFormatArr, |
| | | ranges: rangesArr, |
| | | yAxisWidth: yAxisWidthArr }; |
| | | |
| | | } |
| | | |
| | | function calTooltipYAxisData(point, series, opts, config, eachSpacing) { |
| | | var ranges = [].concat(opts.chartData.yAxisData.ranges); |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | var minAxis = opts.area[0]; |
| | | var items = []; |
| | | for (var i = 0; i < ranges.length; i++) { |
| | | var maxVal = Math.max.apply(this, ranges[i]); |
| | | var minVal = Math.min.apply(this, ranges[i]); |
| | | var item = maxVal - (maxVal - minVal) * (point - minAxis) / spacingValid; |
| | | item = opts.yAxis.data && opts.yAxis.data[i].formatter ? opts.yAxis.data[i].formatter(item, i, opts) : item.toFixed(0); |
| | | items.push(String(item)); |
| | | } |
| | | return items; |
| | | } |
| | | |
| | | function calMarkLineData(points, opts) { |
| | | var minRange, maxRange; |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | for (var i = 0; i < points.length; i++) { |
| | | points[i].yAxisIndex = points[i].yAxisIndex ? points[i].yAxisIndex : 0; |
| | | var range = [].concat(opts.chartData.yAxisData.ranges[points[i].yAxisIndex]); |
| | | minRange = range.pop(); |
| | | maxRange = range.shift(); |
| | | var height = spacingValid * (points[i].value - minRange) / (maxRange - minRange); |
| | | points[i].y = opts.height - Math.round(height) - opts.area[2]; |
| | | } |
| | | return points; |
| | | } |
| | | |
| | | function contextRotate(context, opts) { |
| | | if (opts.rotateLock !== true) { |
| | | context.translate(opts.height, 0); |
| | | context.rotate(90 * Math.PI / 180); |
| | | } else if (opts._rotate_ !== true) { |
| | | context.translate(opts.height, 0); |
| | | context.rotate(90 * Math.PI / 180); |
| | | opts._rotate_ = true; |
| | | } |
| | | } |
| | | |
| | | function drawPointShape(points, color, shape, context, opts) { |
| | | context.beginPath(); |
| | | if (opts.dataPointShapeType == 'hollow') { |
| | | context.setStrokeStyle(color); |
| | | context.setFillStyle(opts.background); |
| | | context.setLineWidth(2 * opts.pix); |
| | | } else { |
| | | context.setStrokeStyle("#ffffff"); |
| | | context.setFillStyle(color); |
| | | context.setLineWidth(1 * opts.pix); |
| | | } |
| | | if (shape === 'diamond') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y); |
| | | context.lineTo(item.x, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'circle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x + 2.5 * opts.pix, item.y); |
| | | context.arc(item.x, item.y, 3 * opts.pix, 0, 2 * Math.PI, false); |
| | | } |
| | | }); |
| | | } else if (shape === 'square') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x - 3.5, item.y - 3.5); |
| | | context.rect(item.x - 3.5, item.y - 3.5, 7, 7); |
| | | } |
| | | }); |
| | | } else if (shape === 'triangle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y + 4.5); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'none') { |
| | | return; |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | } |
| | | |
| | | function drawRingTitle(opts, config, context, center) { |
| | | var titlefontSize = opts.title.fontSize || config.titleFontSize; |
| | | var subtitlefontSize = opts.subtitle.fontSize || config.subtitleFontSize; |
| | | var title = opts.title.name || ''; |
| | | var subtitle = opts.subtitle.name || ''; |
| | | var titleFontColor = opts.title.color || opts.fontColor; |
| | | var subtitleFontColor = opts.subtitle.color || opts.fontColor; |
| | | var titleHeight = title ? titlefontSize : 0; |
| | | var subtitleHeight = subtitle ? subtitlefontSize : 0; |
| | | var margin = 5; |
| | | if (subtitle) { |
| | | var textWidth = measureText(subtitle, subtitlefontSize * opts.pix, context); |
| | | var startX = center.x - textWidth / 2 + (opts.subtitle.offsetX || 0) * opts.pix; |
| | | var startY = center.y + subtitlefontSize * opts.pix / 2 + (opts.subtitle.offsetY || 0) * opts.pix; |
| | | if (title) { |
| | | startY += (titleHeight * opts.pix + margin) / 2; |
| | | } |
| | | context.beginPath(); |
| | | context.setFontSize(subtitlefontSize * opts.pix); |
| | | context.setFillStyle(subtitleFontColor); |
| | | context.fillText(subtitle, startX, startY); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | if (title) { |
| | | var _textWidth = measureText(title, titlefontSize * opts.pix, context); |
| | | var _startX = center.x - _textWidth / 2 + (opts.title.offsetX || 0); |
| | | var _startY = center.y + titlefontSize * opts.pix / 2 + (opts.title.offsetY || 0) * opts.pix; |
| | | if (subtitle) { |
| | | _startY -= (subtitleHeight * opts.pix + margin) / 2; |
| | | } |
| | | context.beginPath(); |
| | | context.setFontSize(titlefontSize * opts.pix); |
| | | context.setFillStyle(titleFontColor); |
| | | context.fillText(title, _startX, _startY); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | |
| | | function drawPointText(points, series, config, context, opts) { |
| | | // 绘制数据文案 |
| | | var data = series.data; |
| | | var textOffset = series.textOffset ? series.textOffset : 0; |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.beginPath(); |
| | | var fontSize = series.textSize ? series.textSize * opts.pix : config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(series.textColor || opts.fontColor); |
| | | var value = data[index]; |
| | | if (typeof data[index] === 'object' && data[index] !== null) { |
| | | if (data[index].constructor.toString().indexOf('Array') > -1) { |
| | | value = data[index][1]; |
| | | } else { |
| | | value = data[index].value; |
| | | } |
| | | } |
| | | var formatVal = series.formatter ? series.formatter(value, index, series, opts) : value; |
| | | context.setTextAlign('center'); |
| | | context.fillText(String(formatVal), item.x, item.y - 4 + textOffset * opts.pix); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function drawMountPointText(points, series, config, context, opts) { |
| | | // 绘制数据文案 |
| | | var data = series.data; |
| | | var textOffset = series.textOffset ? series.textOffset : 0; |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.beginPath(); |
| | | var fontSize = series[index].textSize ? series[index].textSize * opts.pix : config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(series[index].textColor || opts.fontColor); |
| | | var value = item.value; |
| | | var formatVal = series[index].formatter ? series[index].formatter(value, index, series, opts) : value; |
| | | context.setTextAlign('center'); |
| | | context.fillText(String(formatVal), item.x, item.y - 4 + textOffset * opts.pix); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function drawBarPointText(points, series, config, context, opts) { |
| | | // 绘制数据文案 |
| | | var data = series.data; |
| | | var textOffset = series.textOffset ? series.textOffset : 0; |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.beginPath(); |
| | | var fontSize = series.textSize ? series.textSize * opts.pix : config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(series.textColor || opts.fontColor); |
| | | var value = data[index]; |
| | | if (typeof data[index] === 'object' && data[index] !== null) { |
| | | value = data[index].value; |
| | | } |
| | | var formatVal = series.formatter ? series.formatter(value, index, series, opts) : value; |
| | | context.setTextAlign('left'); |
| | | context.fillText(String(formatVal), item.x + 4 * opts.pix, item.y + fontSize / 2 - 3); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function drawGaugeLabel(gaugeOption, radius, centerPosition, opts, config, context) { |
| | | radius -= gaugeOption.width / 2 + gaugeOption.labelOffset * opts.pix; |
| | | radius = radius < 10 ? 10 : radius; |
| | | var totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | var splitAngle = totalAngle / gaugeOption.splitLine.splitNumber; |
| | | var totalNumber = gaugeOption.endNumber - gaugeOption.startNumber; |
| | | var splitNumber = totalNumber / gaugeOption.splitLine.splitNumber; |
| | | var nowAngle = gaugeOption.startAngle; |
| | | var nowNumber = gaugeOption.startNumber; |
| | | for (var i = 0; i < gaugeOption.splitLine.splitNumber + 1; i++) { |
| | | var pos = { |
| | | x: radius * Math.cos(nowAngle * Math.PI), |
| | | y: radius * Math.sin(nowAngle * Math.PI) }; |
| | | |
| | | var labelText = gaugeOption.formatter ? gaugeOption.formatter(nowNumber, i, opts) : nowNumber; |
| | | pos.x += centerPosition.x - measureText(labelText, config.fontSize, context) / 2; |
| | | pos.y += centerPosition.y; |
| | | var startX = pos.x; |
| | | var startY = pos.y; |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(gaugeOption.labelColor || opts.fontColor); |
| | | context.fillText(labelText, startX, startY + config.fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | nowAngle += splitAngle; |
| | | if (nowAngle >= 2) { |
| | | nowAngle = nowAngle % 2; |
| | | } |
| | | nowNumber += splitNumber; |
| | | } |
| | | } |
| | | |
| | | function drawRadarLabel(angleList, radius, centerPosition, opts, config, context) { |
| | | var radarOption = opts.extra.radar || {}; |
| | | angleList.forEach(function (angle, index) { |
| | | if (radarOption.labelPointShow === true && opts.categories[index] !== '') { |
| | | var posPoint = { |
| | | x: radius * Math.cos(angle), |
| | | y: radius * Math.sin(angle) }; |
| | | |
| | | var posPointAxis = convertCoordinateOrigin(posPoint.x, posPoint.y, centerPosition); |
| | | context.setFillStyle(radarOption.labelPointColor); |
| | | context.beginPath(); |
| | | context.arc(posPointAxis.x, posPointAxis.y, radarOption.labelPointRadius * opts.pix, 0, 2 * Math.PI, false); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | var pos = { |
| | | x: (radius + config.radarLabelTextMargin * opts.pix) * Math.cos(angle), |
| | | y: (radius + config.radarLabelTextMargin * opts.pix) * Math.sin(angle) }; |
| | | |
| | | var posRelativeCanvas = convertCoordinateOrigin(pos.x, pos.y, centerPosition); |
| | | var startX = posRelativeCanvas.x; |
| | | var startY = posRelativeCanvas.y; |
| | | if (util.approximatelyEqual(pos.x, 0)) { |
| | | startX -= measureText(opts.categories[index] || '', config.fontSize, context) / 2; |
| | | } else if (pos.x < 0) { |
| | | startX -= measureText(opts.categories[index] || '', config.fontSize, context); |
| | | } |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(radarOption.labelColor || opts.fontColor); |
| | | context.fillText(opts.categories[index] || '', startX, startY + config.fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | }); |
| | | |
| | | } |
| | | |
| | | function drawPieText(series, opts, config, context, radius, center) { |
| | | var lineRadius = config.pieChartLinePadding; |
| | | var textObjectCollection = []; |
| | | var lastTextObject = null; |
| | | var seriesConvert = series.map(function (item, index) { |
| | | var text = item.formatter ? item.formatter(item, index, series, opts) : util.toFixed(item._proportion_.toFixed(4) * 100) + '%'; |
| | | text = item.labelText ? item.labelText : text; |
| | | var arc = 2 * Math.PI - (item._start_ + 2 * Math.PI * item._proportion_ / 2); |
| | | if (item._rose_proportion_) { |
| | | arc = 2 * Math.PI - (item._start_ + 2 * Math.PI * item._rose_proportion_ / 2); |
| | | } |
| | | var color = item.color; |
| | | var radius = item._radius_; |
| | | return { |
| | | arc: arc, |
| | | text: text, |
| | | color: color, |
| | | radius: radius, |
| | | textColor: item.textColor, |
| | | textSize: item.textSize, |
| | | labelShow: item.labelShow }; |
| | | |
| | | }); |
| | | for (var i = 0; i < seriesConvert.length; i++) { |
| | | var item = seriesConvert[i]; |
| | | // line end |
| | | var orginX1 = Math.cos(item.arc) * (item.radius + lineRadius); |
| | | var orginY1 = Math.sin(item.arc) * (item.radius + lineRadius); |
| | | // line start |
| | | var orginX2 = Math.cos(item.arc) * item.radius; |
| | | var orginY2 = Math.sin(item.arc) * item.radius; |
| | | // text start |
| | | var orginX3 = orginX1 >= 0 ? orginX1 + config.pieChartTextPadding : orginX1 - config.pieChartTextPadding; |
| | | var orginY3 = orginY1; |
| | | var textWidth = measureText(item.text, item.textSize * opts.pix || config.fontSize, context); |
| | | var startY = orginY3; |
| | | if (lastTextObject && util.isSameXCoordinateArea(lastTextObject.start, { |
| | | x: orginX3 })) |
| | | { |
| | | if (orginX3 > 0) { |
| | | startY = Math.min(orginY3, lastTextObject.start.y); |
| | | } else if (orginX1 < 0) { |
| | | startY = Math.max(orginY3, lastTextObject.start.y); |
| | | } else { |
| | | if (orginY3 > 0) { |
| | | startY = Math.max(orginY3, lastTextObject.start.y); |
| | | } else { |
| | | startY = Math.min(orginY3, lastTextObject.start.y); |
| | | } |
| | | } |
| | | } |
| | | if (orginX3 < 0) { |
| | | orginX3 -= textWidth; |
| | | } |
| | | var textObject = { |
| | | lineStart: { |
| | | x: orginX2, |
| | | y: orginY2 }, |
| | | |
| | | lineEnd: { |
| | | x: orginX1, |
| | | y: orginY1 }, |
| | | |
| | | start: { |
| | | x: orginX3, |
| | | y: startY }, |
| | | |
| | | width: textWidth, |
| | | height: config.fontSize, |
| | | text: item.text, |
| | | color: item.color, |
| | | textColor: item.textColor, |
| | | textSize: item.textSize }; |
| | | |
| | | lastTextObject = avoidCollision(textObject, lastTextObject); |
| | | textObjectCollection.push(lastTextObject); |
| | | } |
| | | for (var _i15 = 0; _i15 < textObjectCollection.length; _i15++) { |
| | | if (seriesConvert[_i15].labelShow === false) { |
| | | continue; |
| | | } |
| | | var _item6 = textObjectCollection[_i15]; |
| | | var lineStartPoistion = convertCoordinateOrigin(_item6.lineStart.x, _item6.lineStart.y, center); |
| | | var lineEndPoistion = convertCoordinateOrigin(_item6.lineEnd.x, _item6.lineEnd.y, center); |
| | | var textPosition = convertCoordinateOrigin(_item6.start.x, _item6.start.y, center); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setFontSize(_item6.textSize * opts.pix || config.fontSize); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(_item6.color); |
| | | context.setFillStyle(_item6.color); |
| | | context.moveTo(lineStartPoistion.x, lineStartPoistion.y); |
| | | var curveStartX = _item6.start.x < 0 ? textPosition.x + _item6.width : textPosition.x; |
| | | var textStartX = _item6.start.x < 0 ? textPosition.x - 5 : textPosition.x + 5; |
| | | context.quadraticCurveTo(lineEndPoistion.x, lineEndPoistion.y, curveStartX, textPosition.y); |
| | | context.moveTo(lineStartPoistion.x, lineStartPoistion.y); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.moveTo(textPosition.x + _item6.width, textPosition.y); |
| | | context.arc(curveStartX, textPosition.y, 2 * opts.pix, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(_item6.textSize * opts.pix || config.fontSize); |
| | | context.setFillStyle(_item6.textColor || opts.fontColor); |
| | | context.fillText(_item6.text, textStartX, textPosition.y + 3); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | } |
| | | } |
| | | |
| | | function drawToolTipSplitLine(offsetX, opts, config, context) { |
| | | var toolTipOption = opts.extra.tooltip || {}; |
| | | toolTipOption.gridType = toolTipOption.gridType == undefined ? 'solid' : toolTipOption.gridType; |
| | | toolTipOption.dashLength = toolTipOption.dashLength == undefined ? 4 : toolTipOption.dashLength; |
| | | var startY = opts.area[0]; |
| | | var endY = opts.height - opts.area[2]; |
| | | if (toolTipOption.gridType == 'dash') { |
| | | context.setLineDash([toolTipOption.dashLength, toolTipOption.dashLength]); |
| | | } |
| | | context.setStrokeStyle(toolTipOption.gridColor || '#cccccc'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.moveTo(offsetX, startY); |
| | | context.lineTo(offsetX, endY); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (toolTipOption.xAxisLabel) { |
| | | var labelText = opts.categories[opts.tooltip.index]; |
| | | context.setFontSize(config.fontSize); |
| | | var textWidth = measureText(labelText, config.fontSize, context); |
| | | var textX = offsetX - 0.5 * textWidth; |
| | | var textY = endY + 2 * opts.pix; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.labelBgColor || config.toolTipBackground, toolTipOption.labelBgOpacity || config.toolTipOpacity)); |
| | | context.setStrokeStyle(toolTipOption.labelBgColor || config.toolTipBackground); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.rect(textX - config.toolTipPadding, textY, textWidth + 2 * config.toolTipPadding, config.fontSize + 2 * config.toolTipPadding); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(toolTipOption.labelFontColor || opts.fontColor); |
| | | context.fillText(String(labelText), textX, textY + config.toolTipPadding + config.fontSize); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | |
| | | function drawMarkLine(opts, config, context) { |
| | | var markLineOption = assign({}, { |
| | | type: 'solid', |
| | | dashLength: 4, |
| | | data: [] }, |
| | | opts.extra.markLine); |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | var points = calMarkLineData(markLineOption.data, opts); |
| | | for (var i = 0; i < points.length; i++) { |
| | | var item = assign({}, { |
| | | lineColor: '#DE4A42', |
| | | showLabel: false, |
| | | labelFontColor: '#666666', |
| | | labelBgColor: '#DFE8FF', |
| | | labelBgOpacity: 0.8, |
| | | labelAlign: 'left', |
| | | labelOffsetX: 0, |
| | | labelOffsetY: 0 }, |
| | | points[i]); |
| | | if (markLineOption.type == 'dash') { |
| | | context.setLineDash([markLineOption.dashLength, markLineOption.dashLength]); |
| | | } |
| | | context.setStrokeStyle(item.lineColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.moveTo(startX, item.y); |
| | | context.lineTo(endX, item.y); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (item.showLabel) { |
| | | var labelText = item.labelText ? item.labelText : item.value; |
| | | context.setFontSize(config.fontSize); |
| | | var textWidth = measureText(labelText, config.fontSize, context); |
| | | var bgWidth = textWidth + config.toolTipPadding * 2; |
| | | var bgStartX = item.labelAlign == 'left' ? opts.area[3] - bgWidth : opts.width - opts.area[1]; |
| | | bgStartX += item.labelOffsetX; |
| | | var bgStartY = item.y - 0.5 * config.fontSize - config.toolTipPadding; |
| | | bgStartY += item.labelOffsetY; |
| | | var textX = bgStartX + config.toolTipPadding; |
| | | var textY = item.y; |
| | | context.setFillStyle(hexToRgb(item.labelBgColor, item.labelBgOpacity)); |
| | | context.setStrokeStyle(item.labelBgColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.rect(bgStartX, bgStartY, bgWidth, config.fontSize + 2 * config.toolTipPadding); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setTextAlign('left'); |
| | | context.setFillStyle(item.labelFontColor); |
| | | context.fillText(String(labelText), textX, bgStartY + config.fontSize + config.toolTipPadding / 2); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | } |
| | | } |
| | | } |
| | | |
| | | function drawToolTipHorizentalLine(opts, config, context, eachSpacing, xAxisPoints) { |
| | | var toolTipOption = assign({}, { |
| | | gridType: 'solid', |
| | | dashLength: 4 }, |
| | | opts.extra.tooltip); |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | if (toolTipOption.gridType == 'dash') { |
| | | context.setLineDash([toolTipOption.dashLength, toolTipOption.dashLength]); |
| | | } |
| | | context.setStrokeStyle(toolTipOption.gridColor || '#cccccc'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.moveTo(startX, opts.tooltip.offset.y); |
| | | context.lineTo(endX, opts.tooltip.offset.y); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (toolTipOption.yAxisLabel) { |
| | | var labelText = calTooltipYAxisData(opts.tooltip.offset.y, opts.series, opts, config, eachSpacing); |
| | | var widthArr = opts.chartData.yAxisData.yAxisWidth; |
| | | var tStartLeft = opts.area[3]; |
| | | var tStartRight = opts.width - opts.area[1]; |
| | | for (var i = 0; i < labelText.length; i++) { |
| | | context.setFontSize(config.fontSize); |
| | | var textWidth = measureText(labelText[i], config.fontSize, context); |
| | | var bgStartX = void 0,bgEndX = void 0,bgWidth = void 0; |
| | | if (widthArr[i].position == 'left') { |
| | | bgStartX = tStartLeft - (textWidth + config.toolTipPadding * 2) - 2 * opts.pix; |
| | | bgEndX = Math.max(bgStartX, bgStartX + textWidth + config.toolTipPadding * 2); |
| | | } else { |
| | | bgStartX = tStartRight + 2 * opts.pix; |
| | | bgEndX = Math.max(bgStartX + widthArr[i].width, bgStartX + textWidth + config.toolTipPadding * 2); |
| | | } |
| | | bgWidth = bgEndX - bgStartX; |
| | | var textX = bgStartX + (bgWidth - textWidth) / 2; |
| | | var textY = opts.tooltip.offset.y; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.labelBgColor || config.toolTipBackground, toolTipOption.labelBgOpacity || config.toolTipOpacity)); |
| | | context.setStrokeStyle(toolTipOption.labelBgColor || config.toolTipBackground); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.rect(bgStartX, textY - 0.5 * config.fontSize - config.toolTipPadding, bgWidth, config.fontSize + 2 * config.toolTipPadding); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(toolTipOption.labelFontColor || opts.fontColor); |
| | | context.fillText(labelText[i], textX, textY + 0.5 * config.fontSize); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | if (widthArr[i].position == 'left') { |
| | | tStartLeft -= widthArr[i].width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | tStartRight += widthArr[i].width + opts.yAxis.padding * opts.pix; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | function drawToolTipSplitArea(offsetX, opts, config, context, eachSpacing) { |
| | | var toolTipOption = assign({}, { |
| | | activeBgColor: '#000000', |
| | | activeBgOpacity: 0.08, |
| | | activeWidth: eachSpacing }, |
| | | opts.extra.column); |
| | | toolTipOption.activeWidth = toolTipOption.activeWidth > eachSpacing ? eachSpacing : toolTipOption.activeWidth; |
| | | var startY = opts.area[0]; |
| | | var endY = opts.height - opts.area[2]; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.activeBgColor, toolTipOption.activeBgOpacity)); |
| | | context.rect(offsetX - toolTipOption.activeWidth / 2, startY, toolTipOption.activeWidth, endY - startY); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.setFillStyle("#FFFFFF"); |
| | | } |
| | | |
| | | function drawBarToolTipSplitArea(offsetX, opts, config, context, eachSpacing) { |
| | | var toolTipOption = assign({}, { |
| | | activeBgColor: '#000000', |
| | | activeBgOpacity: 0.08 }, |
| | | opts.extra.bar); |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.activeBgColor, toolTipOption.activeBgOpacity)); |
| | | context.rect(startX, offsetX - eachSpacing / 2, endX - startX, eachSpacing); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.setFillStyle("#FFFFFF"); |
| | | } |
| | | |
| | | |
| | | function drawToolTip(textList, offset, opts, config, context, eachSpacing, xAxisPoints) { |
| | | var toolTipOption = assign({}, { |
| | | showBox: true, |
| | | showArrow: true, |
| | | showCategory: false, |
| | | bgColor: '#000000', |
| | | bgOpacity: 0.7, |
| | | borderColor: '#000000', |
| | | borderWidth: 0, |
| | | borderRadius: 0, |
| | | borderOpacity: 0.7, |
| | | fontColor: '#FFFFFF', |
| | | splitLine: true }, |
| | | opts.extra.tooltip); |
| | | if (toolTipOption.showCategory == true && opts.categories) { |
| | | textList.unshift({ text: opts.categories[opts.tooltip.index], color: null }); |
| | | } |
| | | var legendWidth = 4 * opts.pix; |
| | | var legendMarginRight = 5 * opts.pix; |
| | | var arrowWidth = toolTipOption.showArrow ? 8 * opts.pix : 0; |
| | | var isOverRightBorder = false; |
| | | if (opts.type == 'line' || opts.type == 'mount' || opts.type == 'area' || opts.type == 'candle' || opts.type == 'mix') { |
| | | if (toolTipOption.splitLine == true) { |
| | | drawToolTipSplitLine(opts.tooltip.offset.x, opts, config, context); |
| | | } |
| | | } |
| | | offset = assign({ |
| | | x: 0, |
| | | y: 0 }, |
| | | offset); |
| | | offset.y -= 8 * opts.pix; |
| | | var textWidth = textList.map(function (item) { |
| | | return measureText(item.text, config.fontSize, context); |
| | | }); |
| | | var toolTipWidth = legendWidth + legendMarginRight + 4 * config.toolTipPadding + Math.max.apply(null, textWidth); |
| | | var toolTipHeight = 2 * config.toolTipPadding + textList.length * config.toolTipLineHeight; |
| | | if (toolTipOption.showBox == false) { |
| | | return; |
| | | } |
| | | // if beyond the right border |
| | | if (offset.x - Math.abs(opts._scrollDistance_ || 0) + arrowWidth + toolTipWidth > opts.width) { |
| | | isOverRightBorder = true; |
| | | } |
| | | if (toolTipHeight + offset.y > opts.height) { |
| | | offset.y = opts.height - toolTipHeight; |
| | | } |
| | | // draw background rect |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.bgColor || config.toolTipBackground, toolTipOption.bgOpacity || config.toolTipOpacity)); |
| | | context.setLineWidth(toolTipOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(hexToRgb(toolTipOption.borderColor, toolTipOption.borderOpacity)); |
| | | var radius = toolTipOption.borderRadius; |
| | | if (isOverRightBorder) { |
| | | // 增加左侧仍然超出的判断 |
| | | if (toolTipWidth + arrowWidth > opts.width) { |
| | | offset.x = opts.width + Math.abs(opts._scrollDistance_ || 0) + arrowWidth + (toolTipWidth - opts.width); |
| | | } |
| | | if (toolTipOption.showArrow) { |
| | | context.moveTo(offset.x, offset.y + 10 * opts.pix); |
| | | context.lineTo(offset.x - arrowWidth, offset.y + 10 * opts.pix + 5 * opts.pix); |
| | | } |
| | | context.arc(offset.x - arrowWidth - radius, offset.y + toolTipHeight - radius, radius, 0, Math.PI / 2, false); |
| | | context.arc(offset.x - arrowWidth - Math.round(toolTipWidth) + radius, offset.y + toolTipHeight - radius, radius, |
| | | Math.PI / 2, Math.PI, false); |
| | | context.arc(offset.x - arrowWidth - Math.round(toolTipWidth) + radius, offset.y + radius, radius, -Math.PI, -Math.PI / 2, false); |
| | | context.arc(offset.x - arrowWidth - radius, offset.y + radius, radius, -Math.PI / 2, 0, false); |
| | | if (toolTipOption.showArrow) { |
| | | context.lineTo(offset.x - arrowWidth, offset.y + 10 * opts.pix - 5 * opts.pix); |
| | | context.lineTo(offset.x, offset.y + 10 * opts.pix); |
| | | } |
| | | } else { |
| | | if (toolTipOption.showArrow) { |
| | | context.moveTo(offset.x, offset.y + 10 * opts.pix); |
| | | context.lineTo(offset.x + arrowWidth, offset.y + 10 * opts.pix - 5 * opts.pix); |
| | | } |
| | | context.arc(offset.x + arrowWidth + radius, offset.y + radius, radius, -Math.PI, -Math.PI / 2, false); |
| | | context.arc(offset.x + arrowWidth + Math.round(toolTipWidth) - radius, offset.y + radius, radius, -Math.PI / 2, 0, |
| | | false); |
| | | context.arc(offset.x + arrowWidth + Math.round(toolTipWidth) - radius, offset.y + toolTipHeight - radius, radius, 0, |
| | | Math.PI / 2, false); |
| | | context.arc(offset.x + arrowWidth + radius, offset.y + toolTipHeight - radius, radius, Math.PI / 2, Math.PI, false); |
| | | if (toolTipOption.showArrow) { |
| | | context.lineTo(offset.x + arrowWidth, offset.y + 10 * opts.pix + 5 * opts.pix); |
| | | context.lineTo(offset.x, offset.y + 10 * opts.pix); |
| | | } |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (toolTipOption.borderWidth > 0) { |
| | | context.stroke(); |
| | | } |
| | | // draw legend |
| | | textList.forEach(function (item, index) { |
| | | if (item.color !== null) { |
| | | context.beginPath(); |
| | | context.setFillStyle(item.color); |
| | | var startX = offset.x + arrowWidth + 2 * config.toolTipPadding; |
| | | var startY = offset.y + (config.toolTipLineHeight - config.fontSize) / 2 + config.toolTipLineHeight * index + config.toolTipPadding + 1; |
| | | if (isOverRightBorder) { |
| | | startX = offset.x - toolTipWidth - arrowWidth + 2 * config.toolTipPadding; |
| | | } |
| | | context.fillRect(startX, startY, legendWidth, config.fontSize); |
| | | // 圆形图例请注释上行,并把下行取消注释 |
| | | // context.arc(startX + legendWidth / 2 , startY + opts.fontSize / 2, 4 * opts.pix, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | }); |
| | | // draw text list |
| | | textList.forEach(function (item, index) { |
| | | var startX = offset.x + arrowWidth + 2 * config.toolTipPadding + legendWidth + legendMarginRight; |
| | | if (isOverRightBorder) { |
| | | startX = offset.x - toolTipWidth - arrowWidth + 2 * config.toolTipPadding + +legendWidth + legendMarginRight; |
| | | } |
| | | var startY = offset.y + (config.toolTipLineHeight - config.fontSize) / 2 + config.toolTipLineHeight * index + config.toolTipPadding; |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(toolTipOption.fontColor); |
| | | context.fillText(item.text, startX, startY + config.fontSize); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | }); |
| | | } |
| | | |
| | | function drawColumnDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var columnOption = assign({}, { |
| | | type: 'group', |
| | | width: eachSpacing / 2, |
| | | meterBorder: 4, |
| | | meterFillColor: '#FFFFFF', |
| | | barBorderCircle: false, |
| | | barBorderRadius: [], |
| | | seriesGap: 2, |
| | | linearType: 'none', |
| | | linearOpacity: 1, |
| | | customColor: [], |
| | | colorStop: 0 }, |
| | | opts.extra.column); |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = xAxisPoints.length + 2; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftNum = Math.floor(-opts._scrollDistance_ / eachSpacing) - 2; |
| | | rightNum = leftNum + opts.xAxis.itemCount + 4; |
| | | } |
| | | if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) { |
| | | drawToolTipSplitArea(opts.tooltip.offset.x, opts, config, context, eachSpacing); |
| | | } |
| | | columnOption.customColor = fillCustomColor(columnOption.linearType, columnOption.customColor, series, config); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | var tooltipPoints = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(tooltipPoints); |
| | | points = fixColumeData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | for (var i = 0; i < points.length; i++) { |
| | | var item = points[i]; |
| | | //fix issues/I27B1N yyoinge & Joeshu |
| | | if (item !== null && i > leftNum && i < rightNum) { |
| | | var startX = item.x - item.width / 2; |
| | | var height = opts.height - item.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = item.color || eachSeries.color; |
| | | var strokeColor = item.color || eachSeries.color; |
| | | if (columnOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, item.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (columnOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(columnOption.colorStop, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | // 圆角边框 |
| | | if (columnOption.barBorderRadius && columnOption.barBorderRadius.length === 4 || columnOption.barBorderCircle === true) { |
| | | var left = startX; |
| | | var top = item.y; |
| | | var width = item.width; |
| | | var _height = opts.height - opts.area[2] - item.y; |
| | | if (columnOption.barBorderCircle) { |
| | | columnOption.barBorderRadius = [width / 2, width / 2, 0, 0]; |
| | | }var _columnOption$barBord = _slicedToArray( |
| | | columnOption.barBorderRadius, 4),r0 = _columnOption$barBord[0],r1 = _columnOption$barBord[1],r2 = _columnOption$barBord[2],r3 = _columnOption$barBord[3]; |
| | | var minRadius = Math.min(width / 2, _height / 2); |
| | | r0 = r0 > minRadius ? minRadius : r0; |
| | | r1 = r1 > minRadius ? minRadius : r1; |
| | | r2 = r2 > minRadius ? minRadius : r2; |
| | | r3 = r3 > minRadius ? minRadius : r3; |
| | | r0 = r0 < 0 ? 0 : r0; |
| | | r1 = r1 < 0 ? 0 : r1; |
| | | r2 = r2 < 0 ? 0 : r2; |
| | | r3 = r3 < 0 ? 0 : r3; |
| | | context.arc(left + r0, top + r0, r0, -Math.PI, -Math.PI / 2); |
| | | context.arc(left + width - r1, top + r1, r1, -Math.PI / 2, 0); |
| | | context.arc(left + width - r2, top + _height - r2, r2, 0, Math.PI / 2); |
| | | context.arc(left + r3, top + _height - r3, r3, Math.PI / 2, Math.PI); |
| | | } else { |
| | | context.moveTo(startX, item.y); |
| | | context.lineTo(startX + item.width, item.y); |
| | | context.lineTo(startX + item.width, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(startX, item.y); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(strokeColor); |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.closePath(); |
| | | //context.stroke(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'stack': |
| | | // 绘制堆叠数据图 |
| | | var points = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(points); |
| | | points = fixColumeStackData(points, eachSpacing, series.length, seriesIndex, config, opts, series); |
| | | for (var _i16 = 0; _i16 < points.length; _i16++) { |
| | | var _item7 = points[_i16]; |
| | | if (_item7 !== null && _i16 > leftNum && _i16 < rightNum) { |
| | | context.beginPath(); |
| | | var fillColor = _item7.color || eachSeries.color; |
| | | var startX = _item7.x - _item7.width / 2 + 1; |
| | | var height = opts.height - _item7.y - opts.area[2]; |
| | | var height0 = opts.height - _item7.y0 - opts.area[2]; |
| | | if (seriesIndex > 0) { |
| | | height -= height0; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(startX, _item7.y); |
| | | context.fillRect(startX, _item7.y, _item7.width, height); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'meter': |
| | | // 绘制温度计数据图 |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | points = fixColumeMeterData(points, eachSpacing, series.length, seriesIndex, config, opts, columnOption.meterBorder); |
| | | for (var _i17 = 0; _i17 < points.length; _i17++) { |
| | | var _item8 = points[_i17]; |
| | | if (_item8 !== null && _i17 > leftNum && _i17 < rightNum) { |
| | | //画背景颜色 |
| | | context.beginPath(); |
| | | if (seriesIndex == 0 && columnOption.meterBorder > 0) { |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(columnOption.meterBorder * opts.pix); |
| | | } |
| | | if (seriesIndex == 0) { |
| | | context.setFillStyle(columnOption.meterFillColor); |
| | | } else { |
| | | context.setFillStyle(_item8.color || eachSeries.color); |
| | | } |
| | | var startX = _item8.x - _item8.width / 2; |
| | | var height = opts.height - _item8.y - opts.area[2]; |
| | | if (columnOption.barBorderRadius && columnOption.barBorderRadius.length === 4 || columnOption.barBorderCircle === true) { |
| | | var _left = startX; |
| | | var _top = _item8.y; |
| | | var _width = _item8.width; |
| | | var _height2 = opts.height - opts.area[2] - _item8.y; |
| | | if (columnOption.barBorderCircle) { |
| | | columnOption.barBorderRadius = [_width / 2, _width / 2, 0, 0]; |
| | | }var _columnOption$barBord2 = _slicedToArray( |
| | | columnOption.barBorderRadius, 4),_r = _columnOption$barBord2[0],_r2 = _columnOption$barBord2[1],_r3 = _columnOption$barBord2[2],_r4 = _columnOption$barBord2[3]; |
| | | var _minRadius = Math.min(_width / 2, _height2 / 2); |
| | | _r = _r > _minRadius ? _minRadius : _r; |
| | | _r2 = _r2 > _minRadius ? _minRadius : _r2; |
| | | _r3 = _r3 > _minRadius ? _minRadius : _r3; |
| | | _r4 = _r4 > _minRadius ? _minRadius : _r4; |
| | | _r = _r < 0 ? 0 : _r; |
| | | _r2 = _r2 < 0 ? 0 : _r2; |
| | | _r3 = _r3 < 0 ? 0 : _r3; |
| | | _r4 = _r4 < 0 ? 0 : _r4; |
| | | context.arc(_left + _r, _top + _r, _r, -Math.PI, -Math.PI / 2); |
| | | context.arc(_left + _width - _r2, _top + _r2, _r2, -Math.PI / 2, 0); |
| | | context.arc(_left + _width - _r3, _top + _height2 - _r3, _r3, 0, Math.PI / 2); |
| | | context.arc(_left + _r4, _top + _height2 - _r4, _r4, Math.PI / 2, Math.PI); |
| | | context.fill(); |
| | | } else { |
| | | context.moveTo(startX, _item8.y); |
| | | context.lineTo(startX + _item8.width, _item8.y); |
| | | context.lineTo(startX + _item8.width, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(startX, _item8.y); |
| | | context.fill(); |
| | | } |
| | | if (seriesIndex == 0 && columnOption.meterBorder > 0) { |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | } |
| | | break;} |
| | | |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | points = fixColumeData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | break; |
| | | case 'stack': |
| | | var points = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | break; |
| | | case 'meter': |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | break;} |
| | | |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawMountDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var mountOption = assign({}, { |
| | | type: 'mount', |
| | | widthRatio: 1, |
| | | borderWidth: 1, |
| | | barBorderCircle: false, |
| | | barBorderRadius: [], |
| | | linearType: 'none', |
| | | linearOpacity: 1, |
| | | customColor: [], |
| | | colorStop: 0 }, |
| | | opts.extra.mount); |
| | | mountOption.widthRatio = mountOption.widthRatio <= 0 ? 0 : mountOption.widthRatio; |
| | | mountOption.widthRatio = mountOption.widthRatio >= 2 ? 2 : mountOption.widthRatio; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = xAxisPoints.length + 2; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftNum = Math.floor(-opts._scrollDistance_ / eachSpacing) - 2; |
| | | rightNum = leftNum + opts.xAxis.itemCount + 4; |
| | | } |
| | | mountOption.customColor = fillCustomColor(mountOption.linearType, mountOption.customColor, series, config); |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[0]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var points = getMountDataPoints(series, minRange, maxRange, xAxisPoints, eachSpacing, opts, mountOption, process); |
| | | switch (mountOption.type) { |
| | | case 'bar': |
| | | for (var i = 0; i < points.length; i++) { |
| | | var item = points[i]; |
| | | if (item !== null && i > leftNum && i < rightNum) { |
| | | var startX = item.x - eachSpacing * mountOption.widthRatio / 2; |
| | | var height = opts.height - item.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = item.color || series[i].color; |
| | | var strokeColor = item.color || series[i].color; |
| | | if (mountOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, item.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (mountOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(mountOption.customColor[series[i].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(mountOption.colorStop, hexToRgb(mountOption.customColor[series[i].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | // 圆角边框 |
| | | if (mountOption.barBorderRadius && mountOption.barBorderRadius.length === 4 || mountOption.barBorderCircle === true) { |
| | | var left = startX; |
| | | var top = item.y; |
| | | var width = item.width; |
| | | var _height3 = opts.height - opts.area[2] - item.y - mountOption.borderWidth * opts.pix / 2; |
| | | if (mountOption.barBorderCircle) { |
| | | mountOption.barBorderRadius = [width / 2, width / 2, 0, 0]; |
| | | }var _mountOption$barBorde = _slicedToArray( |
| | | mountOption.barBorderRadius, 4),r0 = _mountOption$barBorde[0],r1 = _mountOption$barBorde[1],r2 = _mountOption$barBorde[2],r3 = _mountOption$barBorde[3]; |
| | | var minRadius = Math.min(width / 2, _height3 / 2); |
| | | r0 = r0 > minRadius ? minRadius : r0; |
| | | r1 = r1 > minRadius ? minRadius : r1; |
| | | r2 = r2 > minRadius ? minRadius : r2; |
| | | r3 = r3 > minRadius ? minRadius : r3; |
| | | r0 = r0 < 0 ? 0 : r0; |
| | | r1 = r1 < 0 ? 0 : r1; |
| | | r2 = r2 < 0 ? 0 : r2; |
| | | r3 = r3 < 0 ? 0 : r3; |
| | | context.arc(left + r0, top + r0, r0, -Math.PI, -Math.PI / 2); |
| | | context.arc(left + width - r1, top + r1, r1, -Math.PI / 2, 0); |
| | | context.arc(left + width - r2, top + _height3 - r2, r2, 0, Math.PI / 2); |
| | | context.arc(left + r3, top + _height3 - r3, r3, Math.PI / 2, Math.PI); |
| | | } else { |
| | | context.moveTo(startX, item.y); |
| | | context.lineTo(startX + item.width, item.y); |
| | | context.lineTo(startX + item.width, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(startX, item.y); |
| | | } |
| | | context.setStrokeStyle(strokeColor); |
| | | context.setFillStyle(fillColor); |
| | | if (mountOption.borderWidth > 0) { |
| | | context.setLineWidth(mountOption.borderWidth * opts.pix); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'triangle': |
| | | for (var _i18 = 0; _i18 < points.length; _i18++) { |
| | | var _item9 = points[_i18]; |
| | | if (_item9 !== null && _i18 > leftNum && _i18 < rightNum) { |
| | | var startX = _item9.x - eachSpacing * mountOption.widthRatio / 2; |
| | | var height = opts.height - _item9.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = _item9.color || series[_i18].color; |
| | | var strokeColor = _item9.color || series[_i18].color; |
| | | if (mountOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, _item9.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (mountOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(mountOption.customColor[series[_i18].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(mountOption.colorStop, hexToRgb(mountOption.customColor[series[_i18].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | context.moveTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(_item9.x, _item9.y); |
| | | context.lineTo(startX + _item9.width, opts.height - opts.area[2]); |
| | | context.setStrokeStyle(strokeColor); |
| | | context.setFillStyle(fillColor); |
| | | if (mountOption.borderWidth > 0) { |
| | | context.setLineWidth(mountOption.borderWidth * opts.pix); |
| | | context.stroke(); |
| | | } |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'mount': |
| | | for (var _i19 = 0; _i19 < points.length; _i19++) { |
| | | var _item10 = points[_i19]; |
| | | if (_item10 !== null && _i19 > leftNum && _i19 < rightNum) { |
| | | var startX = _item10.x - eachSpacing * mountOption.widthRatio / 2; |
| | | var height = opts.height - _item10.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = _item10.color || series[_i19].color; |
| | | var strokeColor = _item10.color || series[_i19].color; |
| | | if (mountOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, _item10.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (mountOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(mountOption.customColor[series[_i19].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(mountOption.colorStop, hexToRgb(mountOption.customColor[series[_i19].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | context.moveTo(startX, opts.height - opts.area[2]); |
| | | context.bezierCurveTo(_item10.x - _item10.width / 4, opts.height - opts.area[2], _item10.x - _item10.width / 4, _item10.y, _item10.x, _item10.y); |
| | | context.bezierCurveTo(_item10.x + _item10.width / 4, _item10.y, _item10.x + _item10.width / 4, opts.height - opts.area[2], startX + _item10.width, opts.height - opts.area[2]); |
| | | context.setStrokeStyle(strokeColor); |
| | | context.setFillStyle(fillColor); |
| | | if (mountOption.borderWidth > 0) { |
| | | context.setLineWidth(mountOption.borderWidth * opts.pix); |
| | | context.stroke(); |
| | | } |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'sharp': |
| | | for (var _i20 = 0; _i20 < points.length; _i20++) { |
| | | var _item11 = points[_i20]; |
| | | if (_item11 !== null && _i20 > leftNum && _i20 < rightNum) { |
| | | var startX = _item11.x - eachSpacing * mountOption.widthRatio / 2; |
| | | var height = opts.height - _item11.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = _item11.color || series[_i20].color; |
| | | var strokeColor = _item11.color || series[_i20].color; |
| | | if (mountOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, _item11.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (mountOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(mountOption.customColor[series[_i20].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(mountOption.colorStop, hexToRgb(mountOption.customColor[series[_i20].linearIndex], mountOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | context.moveTo(startX, opts.height - opts.area[2]); |
| | | context.quadraticCurveTo(_item11.x - 0, opts.height - opts.area[2] - height / 4, _item11.x, _item11.y); |
| | | context.quadraticCurveTo(_item11.x + 0, opts.height - opts.area[2] - height / 4, startX + _item11.width, opts.height - opts.area[2]); |
| | | context.setStrokeStyle(strokeColor); |
| | | context.setFillStyle(fillColor); |
| | | if (mountOption.borderWidth > 0) { |
| | | context.setLineWidth(mountOption.borderWidth * opts.pix); |
| | | context.stroke(); |
| | | } |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break;} |
| | | |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | var _ranges, _minRange, _maxRange; |
| | | _ranges = [].concat(opts.chartData.yAxisData.ranges[0]); |
| | | _minRange = _ranges.pop(); |
| | | _maxRange = _ranges.shift(); |
| | | var points = getMountDataPoints(series, _minRange, _maxRange, xAxisPoints, eachSpacing, opts, mountOption, process); |
| | | drawMountPointText(points, series, config, context, opts); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: points, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawBarDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var yAxisPoints = []; |
| | | var eachSpacing = (opts.height - opts.area[0] - opts.area[2]) / opts.categories.length; |
| | | for (var i = 0; i < opts.categories.length; i++) { |
| | | yAxisPoints.push(opts.area[0] + eachSpacing / 2 + eachSpacing * i); |
| | | } |
| | | var columnOption = assign({}, { |
| | | type: 'group', |
| | | width: eachSpacing / 2, |
| | | meterBorder: 4, |
| | | meterFillColor: '#FFFFFF', |
| | | barBorderCircle: false, |
| | | barBorderRadius: [], |
| | | seriesGap: 2, |
| | | linearType: 'none', |
| | | linearOpacity: 1, |
| | | customColor: [], |
| | | colorStop: 0 }, |
| | | opts.extra.bar); |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = yAxisPoints.length + 2; |
| | | if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) { |
| | | drawBarToolTipSplitArea(opts.tooltip.offset.y, opts, config, context, eachSpacing); |
| | | } |
| | | columnOption.customColor = fillCustomColor(columnOption.linearType, columnOption.customColor, series, config); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.xAxisData.ranges); |
| | | maxRange = ranges.pop(); |
| | | minRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getBarDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, process); |
| | | var tooltipPoints = getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(tooltipPoints); |
| | | points = fixBarData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | for (var _i21 = 0; _i21 < points.length; _i21++) { |
| | | var item = points[_i21]; |
| | | //fix issues/I27B1N yyoinge & Joeshu |
| | | if (item !== null && _i21 > leftNum && _i21 < rightNum) { |
| | | //var startX = item.x - item.width / 2; |
| | | var startX = opts.area[3]; |
| | | var startY = item.y - item.width / 2; |
| | | var height = item.height; |
| | | context.beginPath(); |
| | | var fillColor = item.color || eachSeries.color; |
| | | var strokeColor = item.color || eachSeries.color; |
| | | if (columnOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, item.y, item.x, item.y); |
| | | //透明渐变 |
| | | if (columnOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(columnOption.colorStop, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | // 圆角边框 |
| | | if (columnOption.barBorderRadius && columnOption.barBorderRadius.length === 4 || columnOption.barBorderCircle === true) { |
| | | var left = startX; |
| | | var width = item.width; |
| | | var top = item.y - item.width / 2; |
| | | var _height4 = item.height; |
| | | if (columnOption.barBorderCircle) { |
| | | columnOption.barBorderRadius = [width / 2, width / 2, 0, 0]; |
| | | }var _columnOption$barBord3 = _slicedToArray( |
| | | columnOption.barBorderRadius, 4),r0 = _columnOption$barBord3[0],r1 = _columnOption$barBord3[1],r2 = _columnOption$barBord3[2],r3 = _columnOption$barBord3[3]; |
| | | var minRadius = Math.min(width / 2, _height4 / 2); |
| | | r0 = r0 > minRadius ? minRadius : r0; |
| | | r1 = r1 > minRadius ? minRadius : r1; |
| | | r2 = r2 > minRadius ? minRadius : r2; |
| | | r3 = r3 > minRadius ? minRadius : r3; |
| | | r0 = r0 < 0 ? 0 : r0; |
| | | r1 = r1 < 0 ? 0 : r1; |
| | | r2 = r2 < 0 ? 0 : r2; |
| | | r3 = r3 < 0 ? 0 : r3; |
| | | |
| | | context.arc(left + r3, top + r3, r3, -Math.PI, -Math.PI / 2); |
| | | context.arc(item.x - r0, top + r0, r0, -Math.PI / 2, 0); |
| | | context.arc(item.x - r1, top + width - r1, r1, 0, Math.PI / 2); |
| | | context.arc(left + r2, top + width - r2, r2, Math.PI / 2, Math.PI); |
| | | } else { |
| | | context.moveTo(startX, startY); |
| | | context.lineTo(item.x, startY); |
| | | context.lineTo(item.x, startY + item.width); |
| | | context.lineTo(startX, startY + item.width); |
| | | context.lineTo(startX, startY); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(strokeColor); |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.closePath(); |
| | | //context.stroke(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'stack': |
| | | // 绘制堆叠数据图 |
| | | var points = getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(points); |
| | | points = fixBarStackData(points, eachSpacing, series.length, seriesIndex, config, opts, series); |
| | | for (var _i22 = 0; _i22 < points.length; _i22++) { |
| | | var _item12 = points[_i22]; |
| | | if (_item12 !== null && _i22 > leftNum && _i22 < rightNum) { |
| | | context.beginPath(); |
| | | var fillColor = _item12.color || eachSeries.color; |
| | | var startX = _item12.x0; |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(startX, _item12.y - _item12.width / 2); |
| | | context.fillRect(startX, _item12.y - _item12.width / 2, _item12.height, _item12.width); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break;} |
| | | |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.xAxisData.ranges); |
| | | maxRange = ranges.pop(); |
| | | minRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getBarDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, process); |
| | | points = fixBarData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | drawBarPointText(points, eachSeries, config, context, opts); |
| | | break; |
| | | case 'stack': |
| | | var points = getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | drawBarPointText(points, eachSeries, config, context, opts); |
| | | break;} |
| | | |
| | | }); |
| | | } |
| | | return { |
| | | yAxisPoints: yAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawCandleDataPoints(series, seriesMA, opts, config, context) { |
| | | var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1; |
| | | var candleOption = assign({}, { |
| | | color: {}, |
| | | average: {} }, |
| | | opts.extra.candle); |
| | | candleOption.color = assign({}, { |
| | | upLine: '#f04864', |
| | | upFill: '#f04864', |
| | | downLine: '#2fc25b', |
| | | downFill: '#2fc25b' }, |
| | | candleOption.color); |
| | | candleOption.average = assign({}, { |
| | | show: false, |
| | | name: [], |
| | | day: [], |
| | | color: config.color }, |
| | | candleOption.average); |
| | | opts.extra.candle = candleOption; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = xAxisPoints.length + 2; |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftNum = Math.floor(-opts._scrollDistance_ / eachSpacing) - 2; |
| | | rightNum = leftNum + opts.xAxis.itemCount + 4; |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | //画均线 |
| | | if (candleOption.average.show || seriesMA) {//Merge pull request !12 from 邱贵翔 |
| | | seriesMA.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | for (var i = 0; i < splitPointList.length; i++) { |
| | | var _points = splitPointList[i]; |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(1); |
| | | if (_points.length === 1) { |
| | | context.moveTo(_points[0].x, _points[0].y); |
| | | context.arc(_points[0].x, _points[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(_points[0].x, _points[0].y); |
| | | var startPoint = 0; |
| | | for (var j = 0; j < _points.length; j++) { |
| | | var item = _points[j]; |
| | | if (startPoint == 0 && item.x > leftSpace) { |
| | | context.moveTo(item.x, item.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && item.x > leftSpace && item.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(_points, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, item.x, |
| | | item.y); |
| | | } |
| | | } |
| | | context.moveTo(_points[0].x, _points[0].y); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | } |
| | | //画K线 |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getCandleDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | for (var i = 0; i < splitPointList[0].length; i++) { |
| | | if (i > leftNum && i < rightNum) { |
| | | var item = splitPointList[0][i]; |
| | | context.beginPath(); |
| | | //如果上涨 |
| | | if (data[i][1] - data[i][0] > 0) { |
| | | context.setStrokeStyle(candleOption.color.upLine); |
| | | context.setFillStyle(candleOption.color.upFill); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.lineTo(item[1].x - eachSpacing / 4, item[1].y); //收盘左侧点 |
| | | context.lineTo(item[0].x - eachSpacing / 4, item[0].y); //开盘左侧点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.lineTo(item[2].x, item[2].y); //底点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.lineTo(item[0].x + eachSpacing / 4, item[0].y); //开盘右侧点 |
| | | context.lineTo(item[1].x + eachSpacing / 4, item[1].y); //收盘右侧点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | } else { |
| | | context.setStrokeStyle(candleOption.color.downLine); |
| | | context.setFillStyle(candleOption.color.downFill); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.lineTo(item[0].x - eachSpacing / 4, item[0].y); //开盘左侧点 |
| | | context.lineTo(item[1].x - eachSpacing / 4, item[1].y); //收盘左侧点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.lineTo(item[2].x, item[2].y); //底点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.lineTo(item[1].x + eachSpacing / 4, item[1].y); //收盘右侧点 |
| | | context.lineTo(item[0].x + eachSpacing / 4, item[0].y); //开盘右侧点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | }); |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawAreaDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var areaOption = assign({}, { |
| | | type: 'straight', |
| | | opacity: 0.2, |
| | | addLine: false, |
| | | width: 2, |
| | | gradient: false }, |
| | | opts.extra.area); |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var endY = opts.height - opts.area[2]; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | for (var i = 0; i < splitPointList.length; i++) { |
| | | var _points2 = splitPointList[i]; |
| | | // 绘制区域数 |
| | | context.beginPath(); |
| | | context.setStrokeStyle(hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | if (areaOption.gradient) { |
| | | var gradient = context.createLinearGradient(0, opts.area[0], 0, opts.height - opts.area[2]); |
| | | gradient.addColorStop('0', hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | gradient.addColorStop('1.0', hexToRgb("#FFFFFF", 0.1)); |
| | | context.setFillStyle(gradient); |
| | | } else { |
| | | context.setFillStyle(hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | } |
| | | context.setLineWidth(areaOption.width * opts.pix); |
| | | if (_points2.length > 1) { |
| | | var firstPoint = _points2[0]; |
| | | var lastPoint = _points2[_points2.length - 1]; |
| | | context.moveTo(firstPoint.x, firstPoint.y); |
| | | var startPoint = 0; |
| | | if (areaOption.type === 'curve') { |
| | | for (var j = 0; j < _points2.length; j++) { |
| | | var item = _points2[j]; |
| | | if (startPoint == 0 && item.x > leftSpace) { |
| | | context.moveTo(item.x, item.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && item.x > leftSpace && item.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(_points2, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, item.x, item.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'straight') { |
| | | for (var _j = 0; _j < _points2.length; _j++) { |
| | | var _item13 = _points2[_j]; |
| | | if (startPoint == 0 && _item13.x > leftSpace) { |
| | | context.moveTo(_item13.x, _item13.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j > 0 && _item13.x > leftSpace && _item13.x < rightSpace) { |
| | | context.lineTo(_item13.x, _item13.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'step') { |
| | | for (var _j2 = 0; _j2 < _points2.length; _j2++) { |
| | | var _item14 = _points2[_j2]; |
| | | if (startPoint == 0 && _item14.x > leftSpace) { |
| | | context.moveTo(_item14.x, _item14.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j2 > 0 && _item14.x > leftSpace && _item14.x < rightSpace) { |
| | | context.lineTo(_item14.x, _points2[_j2 - 1].y); |
| | | context.lineTo(_item14.x, _item14.y); |
| | | } |
| | | }; |
| | | } |
| | | context.lineTo(lastPoint.x, endY); |
| | | context.lineTo(firstPoint.x, endY); |
| | | context.lineTo(firstPoint.x, firstPoint.y); |
| | | } else { |
| | | var _item15 = _points2[0]; |
| | | context.moveTo(_item15.x - eachSpacing / 2, _item15.y); |
| | | context.lineTo(_item15.x + eachSpacing / 2, _item15.y); |
| | | context.lineTo(_item15.x + eachSpacing / 2, endY); |
| | | context.lineTo(_item15.x - eachSpacing / 2, endY); |
| | | context.moveTo(_item15.x - eachSpacing / 2, _item15.y); |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | //画连线 |
| | | if (areaOption.addLine) { |
| | | if (eachSeries.lineType == 'dash') { |
| | | var dashLength = eachSeries.dashLength ? eachSeries.dashLength : 8; |
| | | dashLength *= opts.pix; |
| | | context.setLineDash([dashLength, dashLength]); |
| | | } |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(areaOption.width * opts.pix); |
| | | if (_points2.length === 1) { |
| | | context.moveTo(_points2[0].x, _points2[0].y); |
| | | context.arc(_points2[0].x, _points2[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(_points2[0].x, _points2[0].y); |
| | | var _startPoint = 0; |
| | | if (areaOption.type === 'curve') { |
| | | for (var _j3 = 0; _j3 < _points2.length; _j3++) { |
| | | var _item16 = _points2[_j3]; |
| | | if (_startPoint == 0 && _item16.x > leftSpace) { |
| | | context.moveTo(_item16.x, _item16.y); |
| | | _startPoint = 1; |
| | | } |
| | | if (_j3 > 0 && _item16.x > leftSpace && _item16.x < rightSpace) { |
| | | var _ctrlPoint = createCurveControlPoints(_points2, _j3 - 1); |
| | | context.bezierCurveTo(_ctrlPoint.ctrA.x, _ctrlPoint.ctrA.y, _ctrlPoint.ctrB.x, _ctrlPoint.ctrB.y, _item16.x, _item16.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'straight') { |
| | | for (var _j4 = 0; _j4 < _points2.length; _j4++) { |
| | | var _item17 = _points2[_j4]; |
| | | if (_startPoint == 0 && _item17.x > leftSpace) { |
| | | context.moveTo(_item17.x, _item17.y); |
| | | _startPoint = 1; |
| | | } |
| | | if (_j4 > 0 && _item17.x > leftSpace && _item17.x < rightSpace) { |
| | | context.lineTo(_item17.x, _item17.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'step') { |
| | | for (var _j5 = 0; _j5 < _points2.length; _j5++) { |
| | | var _item18 = _points2[_j5]; |
| | | if (_startPoint == 0 && _item18.x > leftSpace) { |
| | | context.moveTo(_item18.x, _item18.y); |
| | | _startPoint = 1; |
| | | } |
| | | if (_j5 > 0 && _item18.x > leftSpace && _item18.x < rightSpace) { |
| | | context.lineTo(_item18.x, _points2[_j5 - 1].y); |
| | | context.lineTo(_item18.x, _item18.y); |
| | | } |
| | | }; |
| | | } |
| | | context.moveTo(_points2[0].x, _points2[0].y); |
| | | } |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | } |
| | | } |
| | | //画点 |
| | | if (opts.dataPointShape !== false) { |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawScatterDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var scatterOption = assign({}, { |
| | | type: 'circle' }, |
| | | opts.extra.scatter); |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setFillStyle(eachSeries.color); |
| | | context.setLineWidth(1 * opts.pix); |
| | | var shape = eachSeries.pointShape; |
| | | if (shape === 'diamond') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y); |
| | | context.lineTo(item.x, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'circle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x + 2.5 * opts.pix, item.y); |
| | | context.arc(item.x, item.y, 3 * opts.pix, 0, 2 * Math.PI, false); |
| | | } |
| | | }); |
| | | } else if (shape === 'square') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x - 3.5, item.y - 3.5); |
| | | context.rect(item.x - 3.5, item.y - 3.5, 7, 7); |
| | | } |
| | | }); |
| | | } else if (shape === 'triangle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y + 4.5); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'triangle') { |
| | | return; |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | }); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawBubbleDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var bubbleOption = assign({}, { |
| | | opacity: 1, |
| | | border: 2 }, |
| | | opts.extra.bubble); |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(bubbleOption.border * opts.pix); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, bubbleOption.opacity)); |
| | | points.forEach(function (item, index) { |
| | | context.moveTo(item.x + item.r, item.y); |
| | | context.arc(item.x, item.y, item.r * opts.pix, 0, 2 * Math.PI, false); |
| | | }); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | points.forEach(function (item, index) { |
| | | context.beginPath(); |
| | | var fontSize = eachSeries.textSize * opts.pix || config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(eachSeries.textColor || "#FFFFFF"); |
| | | context.setTextAlign('center'); |
| | | context.fillText(String(item.t), item.x, item.y + fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | }); |
| | | } |
| | | }); |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawLineDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var lineOption = assign({}, { |
| | | type: 'straight', |
| | | width: 2 }, |
| | | opts.extra.line); |
| | | lineOption.width *= opts.pix; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | if (eachSeries.lineType == 'dash') { |
| | | var dashLength = eachSeries.dashLength ? eachSeries.dashLength : 8; |
| | | dashLength *= opts.pix; |
| | | context.setLineDash([dashLength, dashLength]); |
| | | } |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(lineOption.width); |
| | | splitPointList.forEach(function (points, index) { |
| | | if (points.length === 1) { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | var startPoint = 0; |
| | | if (lineOption.type === 'curve') { |
| | | for (var j = 0; j < points.length; j++) { |
| | | var item = points[j]; |
| | | if (startPoint == 0 && item.x > leftSpace) { |
| | | context.moveTo(item.x, item.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && item.x > leftSpace && item.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(points, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, item.x, item.y); |
| | | } |
| | | }; |
| | | } |
| | | if (lineOption.type === 'straight') { |
| | | for (var _j6 = 0; _j6 < points.length; _j6++) { |
| | | var _item19 = points[_j6]; |
| | | if (startPoint == 0 && _item19.x > leftSpace) { |
| | | context.moveTo(_item19.x, _item19.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j6 > 0 && _item19.x > leftSpace && _item19.x < rightSpace) { |
| | | context.lineTo(_item19.x, _item19.y); |
| | | } |
| | | }; |
| | | } |
| | | if (lineOption.type === 'step') { |
| | | for (var _j7 = 0; _j7 < points.length; _j7++) { |
| | | var _item20 = points[_j7]; |
| | | if (startPoint == 0 && _item20.x > leftSpace) { |
| | | context.moveTo(_item20.x, _item20.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j7 > 0 && _item20.x > leftSpace && _item20.x < rightSpace) { |
| | | context.lineTo(_item20.x, points[_j7 - 1].y); |
| | | context.lineTo(_item20.x, _item20.y); |
| | | } |
| | | }; |
| | | } |
| | | context.moveTo(points[0].x, points[0].y); |
| | | } |
| | | }); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (opts.dataPointShape !== false) { |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawMixDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var columnOption = assign({}, { |
| | | width: eachSpacing / 2, |
| | | barBorderCircle: false, |
| | | barBorderRadius: [], |
| | | seriesGap: 2, |
| | | linearType: 'none', |
| | | linearOpacity: 1, |
| | | customColor: [], |
| | | colorStop: 0 }, |
| | | opts.extra.mix.column); |
| | | var areaOption = assign({}, { |
| | | opacity: 0.2, |
| | | gradient: false }, |
| | | opts.extra.mix.area); |
| | | var lineOption = assign({}, { |
| | | width: 2 }, |
| | | opts.extra.mix.line); |
| | | var endY = opts.height - opts.area[2]; |
| | | var calPoints = []; |
| | | var columnIndex = 0; |
| | | var columnLength = 0; |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | if (eachSeries.type == 'column') { |
| | | columnLength += 1; |
| | | } |
| | | }); |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = xAxisPoints.length + 2; |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftNum = Math.floor(-opts._scrollDistance_ / eachSpacing) - 2; |
| | | rightNum = leftNum + opts.xAxis.itemCount + 4; |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | columnOption.customColor = fillCustomColor(columnOption.linearType, columnOption.customColor, series, config); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | // 绘制柱状数据图 |
| | | if (eachSeries.type == 'column') { |
| | | points = fixColumeData(points, eachSpacing, columnLength, columnIndex, config, opts); |
| | | for (var i = 0; i < points.length; i++) { |
| | | var item = points[i]; |
| | | if (item !== null && i > leftNum && i < rightNum) { |
| | | var startX = item.x - item.width / 2; |
| | | var height = opts.height - item.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = item.color || eachSeries.color; |
| | | var strokeColor = item.color || eachSeries.color; |
| | | if (columnOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, item.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (columnOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(columnOption.colorStop, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | // 圆角边框 |
| | | if (columnOption.barBorderRadius && columnOption.barBorderRadius.length === 4 || columnOption.barBorderCircle) { |
| | | var left = startX; |
| | | var top = item.y; |
| | | var width = item.width; |
| | | var _height5 = opts.height - opts.area[2] - item.y; |
| | | if (columnOption.barBorderCircle) { |
| | | columnOption.barBorderRadius = [width / 2, width / 2, 0, 0]; |
| | | }var _columnOption$barBord4 = _slicedToArray( |
| | | columnOption.barBorderRadius, 4),r0 = _columnOption$barBord4[0],r1 = _columnOption$barBord4[1],r2 = _columnOption$barBord4[2],r3 = _columnOption$barBord4[3]; |
| | | var minRadius = Math.min(width / 2, _height5 / 2); |
| | | r0 = r0 > minRadius ? minRadius : r0; |
| | | r1 = r1 > minRadius ? minRadius : r1; |
| | | r2 = r2 > minRadius ? minRadius : r2; |
| | | r3 = r3 > minRadius ? minRadius : r3; |
| | | r0 = r0 < 0 ? 0 : r0; |
| | | r1 = r1 < 0 ? 0 : r1; |
| | | r2 = r2 < 0 ? 0 : r2; |
| | | r3 = r3 < 0 ? 0 : r3; |
| | | context.arc(left + r0, top + r0, r0, -Math.PI, -Math.PI / 2); |
| | | context.arc(left + width - r1, top + r1, r1, -Math.PI / 2, 0); |
| | | context.arc(left + width - r2, top + _height5 - r2, r2, 0, Math.PI / 2); |
| | | context.arc(left + r3, top + _height5 - r3, r3, Math.PI / 2, Math.PI); |
| | | } else { |
| | | context.moveTo(startX, item.y); |
| | | context.lineTo(startX + item.width, item.y); |
| | | context.lineTo(startX + item.width, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(startX, item.y); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(strokeColor); |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | columnIndex += 1; |
| | | } |
| | | //绘制区域图数据 |
| | | if (eachSeries.type == 'area') { |
| | | var _splitPointList = splitPoints(points, eachSeries); |
| | | for (var _i23 = 0; _i23 < _splitPointList.length; _i23++) { |
| | | var _points3 = _splitPointList[_i23]; |
| | | // 绘制区域数据 |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setStrokeStyle(hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | if (areaOption.gradient) { |
| | | var gradient = context.createLinearGradient(0, opts.area[0], 0, opts.height - opts.area[2]); |
| | | gradient.addColorStop('0', hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | gradient.addColorStop('1.0', hexToRgb("#FFFFFF", 0.1)); |
| | | context.setFillStyle(gradient); |
| | | } else { |
| | | context.setFillStyle(hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | } |
| | | context.setLineWidth(2 * opts.pix); |
| | | if (_points3.length > 1) { |
| | | var firstPoint = _points3[0]; |
| | | var lastPoint = _points3[_points3.length - 1]; |
| | | context.moveTo(firstPoint.x, firstPoint.y); |
| | | var startPoint = 0; |
| | | if (eachSeries.style === 'curve') { |
| | | for (var j = 0; j < _points3.length; j++) { |
| | | var _item21 = _points3[j]; |
| | | if (startPoint == 0 && _item21.x > leftSpace) { |
| | | context.moveTo(_item21.x, _item21.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && _item21.x > leftSpace && _item21.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(_points3, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, _item21.x, _item21.y); |
| | | } |
| | | }; |
| | | } else { |
| | | for (var _j8 = 0; _j8 < _points3.length; _j8++) { |
| | | var _item22 = _points3[_j8]; |
| | | if (startPoint == 0 && _item22.x > leftSpace) { |
| | | context.moveTo(_item22.x, _item22.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j8 > 0 && _item22.x > leftSpace && _item22.x < rightSpace) { |
| | | context.lineTo(_item22.x, _item22.y); |
| | | } |
| | | }; |
| | | } |
| | | context.lineTo(lastPoint.x, endY); |
| | | context.lineTo(firstPoint.x, endY); |
| | | context.lineTo(firstPoint.x, firstPoint.y); |
| | | } else { |
| | | var _item23 = _points3[0]; |
| | | context.moveTo(_item23.x - eachSpacing / 2, _item23.y); |
| | | context.lineTo(_item23.x + eachSpacing / 2, _item23.y); |
| | | context.lineTo(_item23.x + eachSpacing / 2, endY); |
| | | context.lineTo(_item23.x - eachSpacing / 2, endY); |
| | | context.moveTo(_item23.x - eachSpacing / 2, _item23.y); |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | // 绘制折线数据图 |
| | | if (eachSeries.type == 'line') { |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | splitPointList.forEach(function (points, index) { |
| | | if (eachSeries.lineType == 'dash') { |
| | | var dashLength = eachSeries.dashLength ? eachSeries.dashLength : 8; |
| | | dashLength *= opts.pix; |
| | | context.setLineDash([dashLength, dashLength]); |
| | | } |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(lineOption.width * opts.pix); |
| | | if (points.length === 1) { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | var _startPoint2 = 0; |
| | | if (eachSeries.style == 'curve') { |
| | | for (var _j9 = 0; _j9 < points.length; _j9++) { |
| | | var _item24 = points[_j9]; |
| | | if (_startPoint2 == 0 && _item24.x > leftSpace) { |
| | | context.moveTo(_item24.x, _item24.y); |
| | | _startPoint2 = 1; |
| | | } |
| | | if (_j9 > 0 && _item24.x > leftSpace && _item24.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(points, _j9 - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, |
| | | _item24.x, _item24.y); |
| | | } |
| | | } |
| | | } else { |
| | | for (var _j10 = 0; _j10 < points.length; _j10++) { |
| | | var _item25 = points[_j10]; |
| | | if (_startPoint2 == 0 && _item25.x > leftSpace) { |
| | | context.moveTo(_item25.x, _item25.y); |
| | | _startPoint2 = 1; |
| | | } |
| | | if (_j10 > 0 && _item25.x > leftSpace && _item25.x < rightSpace) { |
| | | context.lineTo(_item25.x, _item25.y); |
| | | } |
| | | } |
| | | } |
| | | context.moveTo(points[0].x, points[0].y); |
| | | } |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | }); |
| | | } |
| | | // 绘制点数据图 |
| | | if (eachSeries.type == 'point') { |
| | | eachSeries.addPoint = true; |
| | | } |
| | | if (eachSeries.addPoint == true && eachSeries.type !== 'column') { |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | var columnIndex = 0; |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | if (eachSeries.type !== 'column') { |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | } else { |
| | | points = fixColumeData(points, eachSpacing, columnLength, columnIndex, config, opts); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | columnIndex += 1; |
| | | } |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | |
| | | function drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints) { |
| | | var toolTipOption = opts.extra.tooltip || {}; |
| | | if (toolTipOption.horizentalLine && opts.tooltip && process === 1 && (opts.type == 'line' || opts.type == 'area' || opts.type == 'column' || opts.type == 'mount' || opts.type == 'candle' || opts.type == 'mix')) { |
| | | drawToolTipHorizentalLine(opts, config, context, eachSpacing, xAxisPoints); |
| | | } |
| | | context.save(); |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | } |
| | | if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) { |
| | | drawToolTip(opts.tooltip.textList, opts.tooltip.offset, opts, config, context, eachSpacing, xAxisPoints); |
| | | } |
| | | context.restore(); |
| | | |
| | | } |
| | | |
| | | function drawXAxis(categories, opts, config, context) { |
| | | |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | startX = xAxisData.startX, |
| | | endX = xAxisData.endX, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var boundaryGap = 'center'; |
| | | if (opts.type == 'bar' || opts.type == 'line' || opts.type == 'area' || opts.type == 'scatter' || opts.type == 'bubble') { |
| | | boundaryGap = opts.xAxis.boundaryGap; |
| | | } |
| | | var startY = opts.height - opts.area[2]; |
| | | var endY = opts.area[0]; |
| | | |
| | | //绘制滚动条 |
| | | if (opts.enableScroll && opts.xAxis.scrollShow) { |
| | | var scrollY = opts.height - opts.area[2] + config.xAxisHeight; |
| | | var scrollScreenWidth = endX - startX; |
| | | var scrollTotalWidth = eachSpacing * (xAxisPoints.length - 1); |
| | | if (opts.type == 'mount' && opts.extra && opts.extra.mount && opts.extra.mount.widthRatio && opts.extra.mount.widthRatio > 1) { |
| | | if (opts.extra.mount.widthRatio > 2) opts.extra.mount.widthRatio = 2; |
| | | scrollTotalWidth += (opts.extra.mount.widthRatio - 1) * eachSpacing; |
| | | } |
| | | var scrollWidth = scrollScreenWidth * scrollScreenWidth / scrollTotalWidth; |
| | | var scrollLeft = 0; |
| | | if (opts._scrollDistance_) { |
| | | scrollLeft = -opts._scrollDistance_ * scrollScreenWidth / scrollTotalWidth; |
| | | } |
| | | context.beginPath(); |
| | | context.setLineCap('round'); |
| | | context.setLineWidth(6 * opts.pix); |
| | | context.setStrokeStyle(opts.xAxis.scrollBackgroundColor || "#EFEBEF"); |
| | | context.moveTo(startX, scrollY); |
| | | context.lineTo(endX, scrollY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.setLineCap('round'); |
| | | context.setLineWidth(6 * opts.pix); |
| | | context.setStrokeStyle(opts.xAxis.scrollColor || "#A6A6A6"); |
| | | context.moveTo(startX + scrollLeft, scrollY); |
| | | context.lineTo(startX + scrollLeft + scrollWidth, scrollY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.setLineCap('butt'); |
| | | } |
| | | context.save(); |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | } |
| | | //绘制X轴刻度线 |
| | | if (opts.xAxis.calibration === true) { |
| | | context.setStrokeStyle(opts.xAxis.gridColor || "#cccccc"); |
| | | context.setLineCap('butt'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | xAxisPoints.forEach(function (item, index) { |
| | | if (index > 0) { |
| | | context.beginPath(); |
| | | context.moveTo(item - eachSpacing / 2, startY); |
| | | context.lineTo(item - eachSpacing / 2, startY + 3 * opts.pix); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | } |
| | | //绘制X轴网格 |
| | | if (opts.xAxis.disableGrid !== true) { |
| | | context.setStrokeStyle(opts.xAxis.gridColor || "#cccccc"); |
| | | context.setLineCap('butt'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | if (opts.xAxis.gridType == 'dash') { |
| | | context.setLineDash([opts.xAxis.dashLength * opts.pix, opts.xAxis.dashLength * opts.pix]); |
| | | } |
| | | opts.xAxis.gridEval = opts.xAxis.gridEval || 1; |
| | | xAxisPoints.forEach(function (item, index) { |
| | | if (index % opts.xAxis.gridEval == 0) { |
| | | context.beginPath(); |
| | | context.moveTo(item, startY); |
| | | context.lineTo(item, endY); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | context.setLineDash([]); |
| | | } |
| | | //绘制X轴文案 |
| | | if (opts.xAxis.disabled !== true) { |
| | | // 对X轴列表做抽稀处理 |
| | | //默认全部显示X轴标签 |
| | | var maxXAxisListLength = categories.length; |
| | | //如果设置了X轴单屏数量 |
| | | if (opts.xAxis.labelCount) { |
| | | //如果设置X轴密度 |
| | | if (opts.xAxis.itemCount) { |
| | | maxXAxisListLength = Math.ceil(categories.length / opts.xAxis.itemCount * opts.xAxis.labelCount); |
| | | } else { |
| | | maxXAxisListLength = opts.xAxis.labelCount; |
| | | } |
| | | maxXAxisListLength -= 1; |
| | | } |
| | | |
| | | var ratio = Math.ceil(categories.length / maxXAxisListLength); |
| | | |
| | | var newCategories = []; |
| | | var cgLength = categories.length; |
| | | for (var i = 0; i < cgLength; i++) { |
| | | if (i % ratio !== 0) { |
| | | newCategories.push(""); |
| | | } else { |
| | | newCategories.push(categories[i]); |
| | | } |
| | | } |
| | | newCategories[cgLength - 1] = categories[cgLength - 1]; |
| | | var xAxisFontSize = opts.xAxis.fontSize * opts.pix || config.fontSize; |
| | | if (config._xAxisTextAngle_ === 0) { |
| | | newCategories.forEach(function (item, index) { |
| | | var xitem = opts.xAxis.formatter ? opts.xAxis.formatter(item, index, opts) : item; |
| | | var offset = -measureText(String(xitem), xAxisFontSize, context) / 2; |
| | | if (boundaryGap == 'center') { |
| | | offset += eachSpacing / 2; |
| | | } |
| | | var scrollHeight = 0; |
| | | if (opts.xAxis.scrollShow) { |
| | | scrollHeight = 6 * opts.pix; |
| | | } |
| | | // 如果在主视图区域内 |
| | | var _scrollDistance_ = opts._scrollDistance_ || 0; |
| | | var truePoints = boundaryGap == 'center' ? xAxisPoints[index] + eachSpacing / 2 : xAxisPoints[index]; |
| | | if (truePoints - Math.abs(_scrollDistance_) >= opts.area[3] && truePoints - Math.abs(_scrollDistance_) <= opts.width - opts.area[1]) { |
| | | context.beginPath(); |
| | | context.setFontSize(xAxisFontSize); |
| | | context.setFillStyle(opts.xAxis.fontColor || opts.fontColor); |
| | | context.fillText(String(xitem), xAxisPoints[index] + offset, startY + xAxisFontSize + (config.xAxisHeight - scrollHeight - xAxisFontSize) / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | } else { |
| | | newCategories.forEach(function (item, index) { |
| | | var xitem = opts.xAxis.formatter ? opts.xAxis.formatter(item) : item; |
| | | // 如果在主视图区域内 |
| | | var _scrollDistance_ = opts._scrollDistance_ || 0; |
| | | var truePoints = boundaryGap == 'center' ? xAxisPoints[index] + eachSpacing / 2 : xAxisPoints[index]; |
| | | if (truePoints - Math.abs(_scrollDistance_) >= opts.area[3] && truePoints - Math.abs(_scrollDistance_) <= opts.width - opts.area[1]) { |
| | | context.save(); |
| | | context.beginPath(); |
| | | context.setFontSize(xAxisFontSize); |
| | | context.setFillStyle(opts.xAxis.fontColor || opts.fontColor); |
| | | var textWidth = measureText(String(xitem), xAxisFontSize, context); |
| | | var offsetX = xAxisPoints[index]; |
| | | if (boundaryGap == 'center') { |
| | | offsetX = xAxisPoints[index] + eachSpacing / 2; |
| | | } |
| | | var scrollHeight = 0; |
| | | if (opts.xAxis.scrollShow) { |
| | | scrollHeight = 6 * opts.pix; |
| | | } |
| | | var offsetY = startY + 6 * opts.pix + xAxisFontSize - xAxisFontSize * Math.abs(Math.sin(config._xAxisTextAngle_)); |
| | | if (opts.xAxis.rotateAngle < 0) { |
| | | offsetX -= xAxisFontSize / 2; |
| | | textWidth = 0; |
| | | } else { |
| | | offsetX += xAxisFontSize / 2; |
| | | textWidth = -textWidth; |
| | | } |
| | | context.translate(offsetX, offsetY); |
| | | context.rotate(-1 * config._xAxisTextAngle_); |
| | | context.fillText(String(xitem), textWidth, 0); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.restore(); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | context.restore(); |
| | | //绘制X轴轴线 |
| | | if (opts.xAxis.axisLine) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(opts.xAxis.axisLineColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(endX, opts.height - opts.area[2]); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | |
| | | function drawYAxisGrid(categories, opts, config, context) { |
| | | if (opts.yAxis.disableGrid === true) { |
| | | return; |
| | | } |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | var eachSpacing = spacingValid / opts.yAxis.splitNumber; |
| | | var startX = opts.area[3]; |
| | | var xAxisPoints = opts.chartData.xAxisData.xAxisPoints, |
| | | xAxiseachSpacing = opts.chartData.xAxisData.eachSpacing; |
| | | var TotalWidth = xAxiseachSpacing * (xAxisPoints.length - 1); |
| | | if (opts.type == 'mount' && opts.extra && opts.extra.mount && opts.extra.mount.widthRatio && opts.extra.mount.widthRatio > 1) { |
| | | if (opts.extra.mount.widthRatio > 2) opts.extra.mount.widthRatio = 2; |
| | | TotalWidth += (opts.extra.mount.widthRatio - 1) * xAxiseachSpacing; |
| | | } |
| | | var endX = startX + TotalWidth; |
| | | var points = []; |
| | | var startY = 1; |
| | | if (opts.xAxis.axisLine === false) { |
| | | startY = 0; |
| | | } |
| | | for (var i = startY; i < opts.yAxis.splitNumber + 1; i++) { |
| | | points.push(opts.height - opts.area[2] - eachSpacing * i); |
| | | } |
| | | context.save(); |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | } |
| | | if (opts.yAxis.gridType == 'dash') { |
| | | context.setLineDash([opts.yAxis.dashLength * opts.pix, opts.yAxis.dashLength * opts.pix]); |
| | | } |
| | | context.setStrokeStyle(opts.yAxis.gridColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | points.forEach(function (item, index) { |
| | | context.beginPath(); |
| | | context.moveTo(startX, item); |
| | | context.lineTo(endX, item); |
| | | context.stroke(); |
| | | }); |
| | | context.setLineDash([]); |
| | | context.restore(); |
| | | } |
| | | |
| | | function drawYAxis(series, opts, config, context) { |
| | | if (opts.yAxis.disabled === true) { |
| | | return; |
| | | } |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | var eachSpacing = spacingValid / opts.yAxis.splitNumber; |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | var endY = opts.height - opts.area[2]; |
| | | // set YAxis background |
| | | context.beginPath(); |
| | | context.setFillStyle(opts.background); |
| | | if (opts.enableScroll == true && opts.xAxis.scrollPosition && opts.xAxis.scrollPosition !== 'left') { |
| | | context.fillRect(0, 0, startX, endY + 2 * opts.pix); |
| | | } |
| | | if (opts.enableScroll == true && opts.xAxis.scrollPosition && opts.xAxis.scrollPosition !== 'right') { |
| | | context.fillRect(endX, 0, opts.width, endY + 2 * opts.pix); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | |
| | | var tStartLeft = opts.area[3]; |
| | | var tStartRight = opts.width - opts.area[1]; |
| | | var tStartCenter = opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2; |
| | | if (opts.yAxis.data) {var _loop4 = function _loop4( |
| | | i) { |
| | | var yData = opts.yAxis.data[i]; |
| | | points = []; |
| | | if (yData.type === 'categories') { |
| | | for (var _i24 = 0; _i24 <= yData.categories.length; _i24++) { |
| | | points.push(opts.area[0] + spacingValid / yData.categories.length / 2 + spacingValid / yData.categories.length * _i24); |
| | | } |
| | | } else { |
| | | for (var _i25 = 0; _i25 <= opts.yAxis.splitNumber; _i25++) { |
| | | points.push(opts.area[0] + eachSpacing * _i25); |
| | | } |
| | | } |
| | | if (yData.disabled !== true) { |
| | | var rangesFormat = opts.chartData.yAxisData.rangesFormat[i]; |
| | | var yAxisFontSize = yData.fontSize ? yData.fontSize * opts.pix : config.fontSize; |
| | | var yAxisWidth = opts.chartData.yAxisData.yAxisWidth[i]; |
| | | var textAlign = yData.textAlign || "right"; |
| | | //画Y轴刻度及文案 |
| | | rangesFormat.forEach(function (item, index) { |
| | | var pos = points[index]; |
| | | context.beginPath(); |
| | | context.setFontSize(yAxisFontSize); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(yData.axisLineColor || '#cccccc'); |
| | | context.setFillStyle(yData.fontColor || opts.fontColor); |
| | | var tmpstrat = 0; |
| | | var gapwidth = 4 * opts.pix; |
| | | if (yAxisWidth.position == 'left') { |
| | | //画刻度线 |
| | | if (yData.calibration == true) { |
| | | context.moveTo(tStartLeft, pos); |
| | | context.lineTo(tStartLeft - 3 * opts.pix, pos); |
| | | gapwidth += 3 * opts.pix; |
| | | } |
| | | //画文字 |
| | | switch (textAlign) { |
| | | case "left": |
| | | context.setTextAlign('left'); |
| | | tmpstrat = tStartLeft - yAxisWidth.width; |
| | | break; |
| | | case "right": |
| | | context.setTextAlign('right'); |
| | | tmpstrat = tStartLeft - gapwidth; |
| | | break; |
| | | default: |
| | | context.setTextAlign('center'); |
| | | tmpstrat = tStartLeft - yAxisWidth.width / 2;} |
| | | |
| | | context.fillText(String(item), tmpstrat, pos + yAxisFontSize / 2 - 3 * opts.pix); |
| | | |
| | | } else if (yAxisWidth.position == 'right') { |
| | | //画刻度线 |
| | | if (yData.calibration == true) { |
| | | context.moveTo(tStartRight, pos); |
| | | context.lineTo(tStartRight + 3 * opts.pix, pos); |
| | | gapwidth += 3 * opts.pix; |
| | | } |
| | | switch (textAlign) { |
| | | case "left": |
| | | context.setTextAlign('left'); |
| | | tmpstrat = tStartRight + gapwidth; |
| | | break; |
| | | case "right": |
| | | context.setTextAlign('right'); |
| | | tmpstrat = tStartRight + yAxisWidth.width; |
| | | break; |
| | | default: |
| | | context.setTextAlign('center'); |
| | | tmpstrat = tStartRight + yAxisWidth.width / 2;} |
| | | |
| | | context.fillText(String(item), tmpstrat, pos + yAxisFontSize / 2 - 3 * opts.pix); |
| | | } else if (yAxisWidth.position == 'center') { |
| | | //画刻度线 |
| | | if (yData.calibration == true) { |
| | | context.moveTo(tStartCenter, pos); |
| | | context.lineTo(tStartCenter - 3 * opts.pix, pos); |
| | | gapwidth += 3 * opts.pix; |
| | | } |
| | | //画文字 |
| | | switch (textAlign) { |
| | | case "left": |
| | | context.setTextAlign('left'); |
| | | tmpstrat = tStartCenter - yAxisWidth.width; |
| | | break; |
| | | case "right": |
| | | context.setTextAlign('right'); |
| | | tmpstrat = tStartCenter - gapwidth; |
| | | break; |
| | | default: |
| | | context.setTextAlign('center'); |
| | | tmpstrat = tStartCenter - yAxisWidth.width / 2;} |
| | | |
| | | context.fillText(String(item), tmpstrat, pos + yAxisFontSize / 2 - 3 * opts.pix); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | }); |
| | | //画Y轴轴线 |
| | | if (yData.axisLine !== false) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(yData.axisLineColor || '#cccccc'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | if (yAxisWidth.position == 'left') { |
| | | context.moveTo(tStartLeft, opts.height - opts.area[2]); |
| | | context.lineTo(tStartLeft, opts.area[0]); |
| | | } else if (yAxisWidth.position == 'right') { |
| | | context.moveTo(tStartRight, opts.height - opts.area[2]); |
| | | context.lineTo(tStartRight, opts.area[0]); |
| | | } else if (yAxisWidth.position == 'center') { |
| | | context.moveTo(tStartCenter, opts.height - opts.area[2]); |
| | | context.lineTo(tStartCenter, opts.area[0]); |
| | | } |
| | | context.stroke(); |
| | | } |
| | | //画Y轴标题 |
| | | if (opts.yAxis.showTitle) { |
| | | var titleFontSize = yData.titleFontSize * opts.pix || config.fontSize; |
| | | var title = yData.title; |
| | | context.beginPath(); |
| | | context.setFontSize(titleFontSize); |
| | | context.setFillStyle(yData.titleFontColor || opts.fontColor); |
| | | if (yAxisWidth.position == 'left') { |
| | | context.fillText(title, tStartLeft - measureText(title, titleFontSize, context) / 2 + (yData.titleOffsetX || 0), opts.area[0] - (10 - (yData.titleOffsetY || 0)) * opts.pix); |
| | | } else if (yAxisWidth.position == 'right') { |
| | | context.fillText(title, tStartRight - measureText(title, titleFontSize, context) / 2 + (yData.titleOffsetX || 0), opts.area[0] - (10 - (yData.titleOffsetY || 0)) * opts.pix); |
| | | } else if (yAxisWidth.position == 'center') { |
| | | context.fillText(title, tStartCenter - measureText(title, titleFontSize, context) / 2 + (yData.titleOffsetX || 0), opts.area[0] - (10 - (yData.titleOffsetY || 0)) * opts.pix); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | if (yAxisWidth.position == 'left') { |
| | | tStartLeft -= yAxisWidth.width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | tStartRight += yAxisWidth.width + opts.yAxis.padding * opts.pix; |
| | | } |
| | | }};for (var i = 0; i < opts.yAxis.data.length; i++) {var points;_loop4(i); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | function drawLegend(series, opts, config, context, chartData) { |
| | | if (opts.legend.show === false) { |
| | | return; |
| | | } |
| | | var legendData = chartData.legendData; |
| | | var legendList = legendData.points; |
| | | var legendArea = legendData.area; |
| | | var padding = opts.legend.padding * opts.pix; |
| | | var fontSize = opts.legend.fontSize * opts.pix; |
| | | var shapeWidth = 15 * opts.pix; |
| | | var shapeRight = 5 * opts.pix; |
| | | var itemGap = opts.legend.itemGap * opts.pix; |
| | | var lineHeight = Math.max(opts.legend.lineHeight * opts.pix, fontSize); |
| | | //画背景及边框 |
| | | context.beginPath(); |
| | | context.setLineWidth(opts.legend.borderWidth * opts.pix); |
| | | context.setStrokeStyle(opts.legend.borderColor); |
| | | context.setFillStyle(opts.legend.backgroundColor); |
| | | context.moveTo(legendArea.start.x, legendArea.start.y); |
| | | context.rect(legendArea.start.x, legendArea.start.y, legendArea.width, legendArea.height); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | legendList.forEach(function (itemList, listIndex) { |
| | | var width = 0; |
| | | var height = 0; |
| | | width = legendData.widthArr[listIndex]; |
| | | height = legendData.heightArr[listIndex]; |
| | | var startX = 0; |
| | | var startY = 0; |
| | | if (opts.legend.position == 'top' || opts.legend.position == 'bottom') { |
| | | switch (opts.legend.float) { |
| | | case 'left': |
| | | startX = legendArea.start.x + padding; |
| | | break; |
| | | case 'right': |
| | | startX = legendArea.start.x + legendArea.width - width; |
| | | break; |
| | | default: |
| | | startX = legendArea.start.x + (legendArea.width - width) / 2;} |
| | | |
| | | startY = legendArea.start.y + padding + listIndex * lineHeight; |
| | | } else { |
| | | if (listIndex == 0) { |
| | | width = 0; |
| | | } else { |
| | | width = legendData.widthArr[listIndex - 1]; |
| | | } |
| | | startX = legendArea.start.x + padding + width; |
| | | startY = legendArea.start.y + padding + (legendArea.height - height) / 2; |
| | | } |
| | | context.setFontSize(config.fontSize); |
| | | for (var i = 0; i < itemList.length; i++) { |
| | | var item = itemList[i]; |
| | | item.area = [0, 0, 0, 0]; |
| | | item.area[0] = startX; |
| | | item.area[1] = startY; |
| | | item.area[3] = startY + lineHeight; |
| | | context.beginPath(); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(item.show ? item.color : opts.legend.hiddenColor); |
| | | context.setFillStyle(item.show ? item.color : opts.legend.hiddenColor); |
| | | switch (item.legendShape) { |
| | | case 'line': |
| | | context.moveTo(startX, startY + 0.5 * lineHeight - 2 * opts.pix); |
| | | context.fillRect(startX, startY + 0.5 * lineHeight - 2 * opts.pix, 15 * opts.pix, 4 * opts.pix); |
| | | break; |
| | | case 'triangle': |
| | | context.moveTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.lineTo(startX + 2.5 * opts.pix, startY + 0.5 * lineHeight + 5 * opts.pix); |
| | | context.lineTo(startX + 12.5 * opts.pix, startY + 0.5 * lineHeight + 5 * opts.pix); |
| | | context.lineTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | break; |
| | | case 'diamond': |
| | | context.moveTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.lineTo(startX + 2.5 * opts.pix, startY + 0.5 * lineHeight); |
| | | context.lineTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight + 5 * opts.pix); |
| | | context.lineTo(startX + 12.5 * opts.pix, startY + 0.5 * lineHeight); |
| | | context.lineTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | break; |
| | | case 'circle': |
| | | context.moveTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight); |
| | | context.arc(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight, 5 * opts.pix, 0, 2 * Math.PI); |
| | | break; |
| | | case 'rect': |
| | | context.moveTo(startX, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.fillRect(startX, startY + 0.5 * lineHeight - 5 * opts.pix, 15 * opts.pix, 10 * opts.pix); |
| | | break; |
| | | case 'square': |
| | | context.moveTo(startX + 5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.fillRect(startX + 5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix, 10 * opts.pix, 10 * opts.pix); |
| | | break; |
| | | case 'none': |
| | | break; |
| | | default: |
| | | context.moveTo(startX, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.fillRect(startX, startY + 0.5 * lineHeight - 5 * opts.pix, 15 * opts.pix, 10 * opts.pix);} |
| | | |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | startX += shapeWidth + shapeRight; |
| | | var fontTrans = 0.5 * lineHeight + 0.5 * fontSize - 2; |
| | | var legendText = item.legendText ? item.legendText : item.name; |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(item.show ? opts.legend.fontColor : opts.legend.hiddenColor); |
| | | context.fillText(legendText, startX, startY + fontTrans); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | if (opts.legend.position == 'top' || opts.legend.position == 'bottom') { |
| | | startX += measureText(legendText, fontSize, context) + itemGap; |
| | | item.area[2] = startX; |
| | | } else { |
| | | item.area[2] = startX + measureText(legendText, fontSize, context) + itemGap;; |
| | | startX -= shapeWidth + shapeRight; |
| | | startY += lineHeight; |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function drawPieDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var pieOption = assign({}, { |
| | | activeOpacity: 0.5, |
| | | activeRadius: 10, |
| | | offsetAngle: 0, |
| | | labelWidth: 15, |
| | | ringWidth: 30, |
| | | customRadius: 0, |
| | | border: false, |
| | | borderWidth: 2, |
| | | borderColor: '#FFFFFF', |
| | | centerColor: '#FFFFFF', |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.type == "pie" ? opts.extra.pie : opts.extra.ring); |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2 }; |
| | | |
| | | if (config.pieChartLinePadding == 0) { |
| | | config.pieChartLinePadding = pieOption.activeRadius * opts.pix; |
| | | } |
| | | |
| | | var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding - config._pieTextMaxLength_, (opts.height - opts.area[0] - opts.area[2]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding); |
| | | radius = radius < 10 ? 10 : radius; |
| | | if (pieOption.customRadius > 0) { |
| | | radius = pieOption.customRadius * opts.pix; |
| | | } |
| | | series = getPieDataPoints(series, radius, process); |
| | | var activeRadius = pieOption.activeRadius * opts.pix; |
| | | pieOption.customColor = fillCustomColor(pieOption.linearType, pieOption.customColor, series, config); |
| | | series = series.map(function (eachSeries) { |
| | | eachSeries._start_ += pieOption.offsetAngle * Math.PI / 180; |
| | | return eachSeries; |
| | | }); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == seriesIndex) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, pieOption.activeOpacity || 0.5)); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_ + activeRadius, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | context.beginPath(); |
| | | context.setLineWidth(pieOption.borderWidth * opts.pix); |
| | | context.lineJoin = "round"; |
| | | context.setStrokeStyle(pieOption.borderColor); |
| | | var fillcolor = eachSeries.color; |
| | | if (pieOption.linearType == 'custom') { |
| | | var grd; |
| | | if (context.createCircularGradient) { |
| | | grd = context.createCircularGradient(centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } else { |
| | | grd = context.createRadialGradient(centerPosition.x, centerPosition.y, 0, centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } |
| | | grd.addColorStop(0, hexToRgb(pieOption.customColor[eachSeries.linearIndex], 1)); |
| | | grd.addColorStop(1, hexToRgb(eachSeries.color, 1)); |
| | | fillcolor = grd; |
| | | } |
| | | context.setFillStyle(fillcolor); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (pieOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | if (opts.type === 'ring') { |
| | | var innerPieWidth = radius * 0.6; |
| | | if (typeof pieOption.ringWidth === 'number' && pieOption.ringWidth > 0) { |
| | | innerPieWidth = Math.max(0, radius - pieOption.ringWidth * opts.pix); |
| | | } |
| | | context.beginPath(); |
| | | context.setFillStyle(pieOption.centerColor); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, innerPieWidth, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | drawPieText(series, opts, config, context, radius, centerPosition); |
| | | } |
| | | if (process === 1 && opts.type === 'ring') { |
| | | drawRingTitle(opts, config, context, centerPosition); |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: series }; |
| | | |
| | | } |
| | | |
| | | function drawRoseDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var roseOption = assign({}, { |
| | | type: 'area', |
| | | activeOpacity: 0.5, |
| | | activeRadius: 10, |
| | | offsetAngle: 0, |
| | | labelWidth: 15, |
| | | border: false, |
| | | borderWidth: 2, |
| | | borderColor: '#FFFFFF', |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.extra.rose); |
| | | if (config.pieChartLinePadding == 0) { |
| | | config.pieChartLinePadding = roseOption.activeRadius * opts.pix; |
| | | } |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2 }; |
| | | |
| | | var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding - config._pieTextMaxLength_, (opts.height - opts.area[0] - opts.area[2]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding); |
| | | radius = radius < 10 ? 10 : radius; |
| | | var minRadius = roseOption.minRadius || radius * 0.5; |
| | | series = getRoseDataPoints(series, roseOption.type, minRadius, radius, process); |
| | | var activeRadius = roseOption.activeRadius * opts.pix; |
| | | roseOption.customColor = fillCustomColor(roseOption.linearType, roseOption.customColor, series, config); |
| | | series = series.map(function (eachSeries) { |
| | | eachSeries._start_ += (roseOption.offsetAngle || 0) * Math.PI / 180; |
| | | return eachSeries; |
| | | }); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == seriesIndex) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, roseOption.activeOpacity || 0.5)); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, activeRadius + eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._rose_proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | context.beginPath(); |
| | | context.setLineWidth(roseOption.borderWidth * opts.pix); |
| | | context.lineJoin = "round"; |
| | | context.setStrokeStyle(roseOption.borderColor); |
| | | var fillcolor = eachSeries.color; |
| | | if (roseOption.linearType == 'custom') { |
| | | var grd; |
| | | if (context.createCircularGradient) { |
| | | grd = context.createCircularGradient(centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } else { |
| | | grd = context.createRadialGradient(centerPosition.x, centerPosition.y, 0, centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } |
| | | grd.addColorStop(0, hexToRgb(roseOption.customColor[eachSeries.linearIndex], 1)); |
| | | grd.addColorStop(1, hexToRgb(eachSeries.color, 1)); |
| | | fillcolor = grd; |
| | | } |
| | | context.setFillStyle(fillcolor); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._rose_proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (roseOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | drawPieText(series, opts, config, context, radius, centerPosition); |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: series }; |
| | | |
| | | } |
| | | |
| | | function drawArcbarDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var arcbarOption = assign({}, { |
| | | startAngle: 0.75, |
| | | endAngle: 0.25, |
| | | type: 'default', |
| | | direction: 'cw', |
| | | lineCap: 'round', |
| | | width: 12, |
| | | gap: 2, |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.extra.arcbar); |
| | | series = getArcbarDataPoints(series, arcbarOption, process); |
| | | var centerPosition; |
| | | if (arcbarOption.centerX || arcbarOption.centerY) { |
| | | centerPosition = { |
| | | x: arcbarOption.centerX ? arcbarOption.centerX : opts.width / 2, |
| | | y: arcbarOption.centerY ? arcbarOption.centerY : opts.height / 2 }; |
| | | |
| | | } else { |
| | | centerPosition = { |
| | | x: opts.width / 2, |
| | | y: opts.height / 2 }; |
| | | |
| | | } |
| | | var radius; |
| | | if (arcbarOption.radius) { |
| | | radius = arcbarOption.radius; |
| | | } else { |
| | | radius = Math.min(centerPosition.x, centerPosition.y); |
| | | radius -= 5 * opts.pix; |
| | | radius -= arcbarOption.width / 2; |
| | | } |
| | | radius = radius < 10 ? 10 : radius; |
| | | arcbarOption.customColor = fillCustomColor(arcbarOption.linearType, arcbarOption.customColor, series, config); |
| | | |
| | | for (var i = 0; i < series.length; i++) { |
| | | var eachSeries = series[i]; |
| | | //背景颜色 |
| | | context.setLineWidth(arcbarOption.width * opts.pix); |
| | | context.setStrokeStyle(arcbarOption.backgroundColor || '#E9E9E9'); |
| | | context.setLineCap(arcbarOption.lineCap); |
| | | context.beginPath(); |
| | | if (arcbarOption.type == 'default') { |
| | | context.arc(centerPosition.x, centerPosition.y, radius - (arcbarOption.width * opts.pix + arcbarOption.gap * opts.pix) * i, arcbarOption.startAngle * Math.PI, arcbarOption.endAngle * Math.PI, arcbarOption.direction == 'ccw'); |
| | | } else { |
| | | context.arc(centerPosition.x, centerPosition.y, radius - (arcbarOption.width * opts.pix + arcbarOption.gap * opts.pix) * i, 0, 2 * Math.PI, arcbarOption.direction == 'ccw'); |
| | | } |
| | | context.stroke(); |
| | | //进度条 |
| | | var fillColor = eachSeries.color; |
| | | if (arcbarOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(centerPosition.x - radius, centerPosition.y, centerPosition.x + radius, centerPosition.y); |
| | | grd.addColorStop(1, hexToRgb(arcbarOption.customColor[eachSeries.linearIndex], 1)); |
| | | grd.addColorStop(0, hexToRgb(eachSeries.color, 1)); |
| | | fillColor = grd; |
| | | } |
| | | context.setLineWidth(arcbarOption.width * opts.pix); |
| | | context.setStrokeStyle(fillColor); |
| | | context.setLineCap(arcbarOption.lineCap); |
| | | context.beginPath(); |
| | | context.arc(centerPosition.x, centerPosition.y, radius - (arcbarOption.width * opts.pix + arcbarOption.gap * opts.pix) * i, arcbarOption.startAngle * Math.PI, eachSeries._proportion_ * Math.PI, arcbarOption.direction == 'ccw'); |
| | | context.stroke(); |
| | | } |
| | | drawRingTitle(opts, config, context, centerPosition); |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: series }; |
| | | |
| | | } |
| | | |
| | | function drawGaugeDataPoints(categories, series, opts, config, context) { |
| | | var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1; |
| | | var gaugeOption = assign({}, { |
| | | type: 'default', |
| | | startAngle: 0.75, |
| | | endAngle: 0.25, |
| | | width: 15, |
| | | labelOffset: 13, |
| | | splitLine: { |
| | | fixRadius: 0, |
| | | splitNumber: 10, |
| | | width: 15, |
| | | color: '#FFFFFF', |
| | | childNumber: 5, |
| | | childWidth: 5 }, |
| | | |
| | | pointer: { |
| | | width: 15, |
| | | color: 'auto' } }, |
| | | |
| | | opts.extra.gauge); |
| | | if (gaugeOption.oldAngle == undefined) { |
| | | gaugeOption.oldAngle = gaugeOption.startAngle; |
| | | } |
| | | if (gaugeOption.oldData == undefined) { |
| | | gaugeOption.oldData = 0; |
| | | } |
| | | categories = getGaugeAxisPoints(categories, gaugeOption.startAngle, gaugeOption.endAngle); |
| | | var centerPosition = { |
| | | x: opts.width / 2, |
| | | y: opts.height / 2 }; |
| | | |
| | | var radius = Math.min(centerPosition.x, centerPosition.y); |
| | | radius -= 5 * opts.pix; |
| | | radius -= gaugeOption.width / 2; |
| | | radius = radius < 10 ? 10 : radius; |
| | | var innerRadius = radius - gaugeOption.width; |
| | | var totalAngle = 0; |
| | | //判断仪表盘的样式:default百度样式,progress新样式 |
| | | if (gaugeOption.type == 'progress') { |
| | | //## 第一步画中心圆形背景和进度条背景 |
| | | //中心圆形背景 |
| | | var pieRadius = radius - gaugeOption.width * 3; |
| | | context.beginPath(); |
| | | var gradient = context.createLinearGradient(centerPosition.x, centerPosition.y - pieRadius, centerPosition.x, centerPosition.y + pieRadius); |
| | | //配置渐变填充(起点:中心点向上减半径;结束点中心点向下加半径) |
| | | gradient.addColorStop('0', hexToRgb(series[0].color, 0.3)); |
| | | gradient.addColorStop('1.0', hexToRgb("#FFFFFF", 0.1)); |
| | | context.setFillStyle(gradient); |
| | | context.arc(centerPosition.x, centerPosition.y, pieRadius, 0, 2 * Math.PI, false); |
| | | context.fill(); |
| | | //画进度条背景 |
| | | context.setLineWidth(gaugeOption.width); |
| | | context.setStrokeStyle(hexToRgb(series[0].color, 0.3)); |
| | | context.setLineCap('round'); |
| | | context.beginPath(); |
| | | context.arc(centerPosition.x, centerPosition.y, innerRadius, gaugeOption.startAngle * Math.PI, gaugeOption.endAngle * Math.PI, false); |
| | | context.stroke(); |
| | | //## 第二步画刻度线 |
| | | totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | var splitAngle = totalAngle / gaugeOption.splitLine.splitNumber; |
| | | var childAngle = totalAngle / gaugeOption.splitLine.splitNumber / gaugeOption.splitLine.childNumber; |
| | | var startX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius; |
| | | var endX = -radius - gaugeOption.width - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.width; |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((gaugeOption.startAngle - 1) * Math.PI); |
| | | var len = gaugeOption.splitLine.splitNumber * gaugeOption.splitLine.childNumber + 1; |
| | | var proc = series[0].data * process; |
| | | for (var i = 0; i < len; i++) { |
| | | context.beginPath(); |
| | | //刻度线随进度变色 |
| | | if (proc > i / len) { |
| | | context.setStrokeStyle(hexToRgb(series[0].color, 1)); |
| | | } else { |
| | | context.setStrokeStyle(hexToRgb(series[0].color, 0.3)); |
| | | } |
| | | context.setLineWidth(3 * opts.pix); |
| | | context.moveTo(startX, 0); |
| | | context.lineTo(endX, 0); |
| | | context.stroke(); |
| | | context.rotate(childAngle * Math.PI); |
| | | } |
| | | context.restore(); |
| | | //## 第三步画进度条 |
| | | series = getGaugeArcbarDataPoints(series, gaugeOption, process); |
| | | context.setLineWidth(gaugeOption.width); |
| | | context.setStrokeStyle(series[0].color); |
| | | context.setLineCap('round'); |
| | | context.beginPath(); |
| | | context.arc(centerPosition.x, centerPosition.y, innerRadius, gaugeOption.startAngle * Math.PI, series[0]._proportion_ * Math.PI, false); |
| | | context.stroke(); |
| | | //## 第四步画指针 |
| | | var pointerRadius = radius - gaugeOption.width * 2.5; |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((series[0]._proportion_ - 1) * Math.PI); |
| | | context.beginPath(); |
| | | context.setLineWidth(gaugeOption.width / 3); |
| | | var gradient3 = context.createLinearGradient(0, -pointerRadius * 0.6, 0, pointerRadius * 0.6); |
| | | gradient3.addColorStop('0', hexToRgb('#FFFFFF', 0)); |
| | | gradient3.addColorStop('0.5', hexToRgb(series[0].color, 1)); |
| | | gradient3.addColorStop('1.0', hexToRgb('#FFFFFF', 0)); |
| | | context.setStrokeStyle(gradient3); |
| | | context.arc(0, 0, pointerRadius, 0.85 * Math.PI, 1.15 * Math.PI, false); |
| | | context.stroke(); |
| | | context.beginPath(); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(series[0].color); |
| | | context.setFillStyle(series[0].color); |
| | | context.moveTo(-pointerRadius - gaugeOption.width / 3 / 2, -4); |
| | | context.lineTo(-pointerRadius - gaugeOption.width / 3 / 2 - 4, 0); |
| | | context.lineTo(-pointerRadius - gaugeOption.width / 3 / 2, 4); |
| | | context.lineTo(-pointerRadius - gaugeOption.width / 3 / 2, -4); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.restore(); |
| | | //default百度样式 |
| | | } else { |
| | | //画背景 |
| | | context.setLineWidth(gaugeOption.width); |
| | | context.setLineCap('butt'); |
| | | for (var _i26 = 0; _i26 < categories.length; _i26++) { |
| | | var eachCategories = categories[_i26]; |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachCategories.color); |
| | | context.arc(centerPosition.x, centerPosition.y, radius, eachCategories._startAngle_ * Math.PI, eachCategories._endAngle_ * Math.PI, false); |
| | | context.stroke(); |
| | | } |
| | | context.save(); |
| | | //画刻度线 |
| | | totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | var _splitAngle = totalAngle / gaugeOption.splitLine.splitNumber; |
| | | var _childAngle = totalAngle / gaugeOption.splitLine.splitNumber / gaugeOption.splitLine.childNumber; |
| | | var _startX2 = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius; |
| | | var _endX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.width; |
| | | var childendX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.childWidth; |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((gaugeOption.startAngle - 1) * Math.PI); |
| | | for (var _i27 = 0; _i27 < gaugeOption.splitLine.splitNumber + 1; _i27++) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(gaugeOption.splitLine.color); |
| | | context.setLineWidth(2 * opts.pix); |
| | | context.moveTo(_startX2, 0); |
| | | context.lineTo(_endX, 0); |
| | | context.stroke(); |
| | | context.rotate(_splitAngle * Math.PI); |
| | | } |
| | | context.restore(); |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((gaugeOption.startAngle - 1) * Math.PI); |
| | | for (var _i28 = 0; _i28 < gaugeOption.splitLine.splitNumber * gaugeOption.splitLine.childNumber + 1; _i28++) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(gaugeOption.splitLine.color); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(_startX2, 0); |
| | | context.lineTo(childendX, 0); |
| | | context.stroke(); |
| | | context.rotate(_childAngle * Math.PI); |
| | | } |
| | | context.restore(); |
| | | //画指针 |
| | | series = getGaugeDataPoints(series, categories, gaugeOption, process); |
| | | for (var _i29 = 0; _i29 < series.length; _i29++) { |
| | | var eachSeries = series[_i29]; |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((eachSeries._proportion_ - 1) * Math.PI); |
| | | context.beginPath(); |
| | | context.setFillStyle(eachSeries.color); |
| | | context.moveTo(gaugeOption.pointer.width, 0); |
| | | context.lineTo(0, -gaugeOption.pointer.width / 2); |
| | | context.lineTo(-innerRadius, 0); |
| | | context.lineTo(0, gaugeOption.pointer.width / 2); |
| | | context.lineTo(gaugeOption.pointer.width, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFillStyle('#FFFFFF'); |
| | | context.arc(0, 0, gaugeOption.pointer.width / 6, 0, 2 * Math.PI, false); |
| | | context.fill(); |
| | | context.restore(); |
| | | } |
| | | if (opts.dataLabel !== false) { |
| | | drawGaugeLabel(gaugeOption, radius, centerPosition, opts, config, context); |
| | | } |
| | | } |
| | | //画仪表盘标题,副标题 |
| | | drawRingTitle(opts, config, context, centerPosition); |
| | | if (process === 1 && opts.type === 'gauge') { |
| | | opts.extra.gauge.oldAngle = series[0]._proportion_; |
| | | opts.extra.gauge.oldData = series[0].data; |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | innerRadius: innerRadius, |
| | | categories: categories, |
| | | totalAngle: totalAngle }; |
| | | |
| | | } |
| | | |
| | | function drawRadarDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var radarOption = assign({}, { |
| | | gridColor: '#cccccc', |
| | | gridType: 'radar', |
| | | gridEval: 1, |
| | | axisLabel: false, |
| | | axisLabelTofix: 0, |
| | | labelColor: '#666666', |
| | | labelPointShow: false, |
| | | labelPointRadius: 3, |
| | | labelPointColor: '#cccccc', |
| | | opacity: 0.2, |
| | | gridCount: 3, |
| | | border: false, |
| | | borderWidth: 2, |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.extra.radar); |
| | | var coordinateAngle = getRadarCoordinateSeries(opts.categories.length); |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2 }; |
| | | |
| | | var xr = (opts.width - opts.area[1] - opts.area[3]) / 2; |
| | | var yr = (opts.height - opts.area[0] - opts.area[2]) / 2; |
| | | var radius = Math.min(xr - (getMaxTextListLength(opts.categories, config.fontSize, context) + config.radarLabelTextMargin), yr - config.radarLabelTextMargin); |
| | | radius -= config.radarLabelTextMargin * opts.pix; |
| | | radius = radius < 10 ? 10 : radius; |
| | | // 画分割线 |
| | | context.beginPath(); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(radarOption.gridColor); |
| | | coordinateAngle.forEach(function (angle, index) { |
| | | var pos = convertCoordinateOrigin(radius * Math.cos(angle), radius * Math.sin(angle), centerPosition); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | if (index % radarOption.gridEval == 0) { |
| | | context.lineTo(pos.x, pos.y); |
| | | } |
| | | }); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | |
| | | // 画背景网格 |
| | | var _loop = function _loop(i) { |
| | | var startPos = {}; |
| | | context.beginPath(); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(radarOption.gridColor); |
| | | if (radarOption.gridType == 'radar') { |
| | | coordinateAngle.forEach(function (angle, index) { |
| | | var pos = convertCoordinateOrigin(radius / radarOption.gridCount * i * Math.cos(angle), radius / |
| | | radarOption.gridCount * i * Math.sin(angle), centerPosition); |
| | | if (index === 0) { |
| | | startPos = pos; |
| | | context.moveTo(pos.x, pos.y); |
| | | } else { |
| | | context.lineTo(pos.x, pos.y); |
| | | } |
| | | }); |
| | | context.lineTo(startPos.x, startPos.y); |
| | | } else { |
| | | var pos = convertCoordinateOrigin(radius / radarOption.gridCount * i * Math.cos(1.5), radius / radarOption.gridCount * i * Math.sin(1.5), centerPosition); |
| | | context.arc(centerPosition.x, centerPosition.y, centerPosition.y - pos.y, 0, 2 * Math.PI, false); |
| | | } |
| | | context.stroke(); |
| | | context.closePath(); |
| | | }; |
| | | for (var i = 1; i <= radarOption.gridCount; i++) { |
| | | _loop(i); |
| | | } |
| | | radarOption.customColor = fillCustomColor(radarOption.linearType, radarOption.customColor, series, config); |
| | | var radarDataPoints = getRadarDataPoints(coordinateAngle, centerPosition, radius, series, opts, process); |
| | | radarDataPoints.forEach(function (eachSeries, seriesIndex) { |
| | | // 绘制区域数据 |
| | | context.beginPath(); |
| | | context.setLineWidth(radarOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | |
| | | var fillcolor = hexToRgb(eachSeries.color, radarOption.opacity); |
| | | if (radarOption.linearType == 'custom') { |
| | | var grd; |
| | | if (context.createCircularGradient) { |
| | | grd = context.createCircularGradient(centerPosition.x, centerPosition.y, radius); |
| | | } else { |
| | | grd = context.createRadialGradient(centerPosition.x, centerPosition.y, 0, centerPosition.x, centerPosition.y, radius); |
| | | } |
| | | grd.addColorStop(0, hexToRgb(radarOption.customColor[series[seriesIndex].linearIndex], radarOption.opacity)); |
| | | grd.addColorStop(1, hexToRgb(eachSeries.color, radarOption.opacity)); |
| | | fillcolor = grd; |
| | | } |
| | | |
| | | context.setFillStyle(fillcolor); |
| | | eachSeries.data.forEach(function (item, index) { |
| | | if (index === 0) { |
| | | context.moveTo(item.position.x, item.position.y); |
| | | } else { |
| | | context.lineTo(item.position.x, item.position.y); |
| | | } |
| | | }); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (radarOption.border === true) { |
| | | context.stroke(); |
| | | } |
| | | context.closePath(); |
| | | if (opts.dataPointShape !== false) { |
| | | var points = eachSeries.data.map(function (item) { |
| | | return item.position; |
| | | }); |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | // 画刻度值 |
| | | if (radarOption.axisLabel === true) { |
| | | var maxData = Math.max(radarOption.max, Math.max.apply(null, dataCombine(series))); |
| | | var stepLength = radius / radarOption.gridCount; |
| | | var fontSize = opts.fontSize * opts.pix; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(opts.fontColor); |
| | | context.setTextAlign('left'); |
| | | for (var i = 0; i < radarOption.gridCount + 1; i++) { |
| | | var label = i * maxData / radarOption.gridCount; |
| | | label = label.toFixed(radarOption.axisLabelTofix); |
| | | context.fillText(String(label), centerPosition.x + 3 * opts.pix, centerPosition.y - i * stepLength + fontSize / 2); |
| | | } |
| | | } |
| | | |
| | | // draw label text |
| | | drawRadarLabel(coordinateAngle, radius, centerPosition, opts, config, context); |
| | | |
| | | // draw dataLabel |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | radarDataPoints.forEach(function (eachSeries, seriesIndex) { |
| | | context.beginPath(); |
| | | var fontSize = eachSeries.textSize * opts.pix || config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(eachSeries.textColor || opts.fontColor); |
| | | eachSeries.data.forEach(function (item, index) { |
| | | //如果是中心点垂直的上下点位 |
| | | if (Math.abs(item.position.x - centerPosition.x) < 2) { |
| | | //如果在上面 |
| | | if (item.position.y < centerPosition.y) { |
| | | context.setTextAlign('center'); |
| | | context.fillText(item.value, item.position.x, item.position.y - 4); |
| | | } else { |
| | | context.setTextAlign('center'); |
| | | context.fillText(item.value, item.position.x, item.position.y + fontSize + 2); |
| | | } |
| | | } else { |
| | | //如果在左侧 |
| | | if (item.position.x < centerPosition.x) { |
| | | context.setTextAlign('right'); |
| | | context.fillText(item.value, item.position.x - 4, item.position.y + fontSize / 2 - 2); |
| | | } else { |
| | | context.setTextAlign('left'); |
| | | context.fillText(item.value, item.position.x + 4, item.position.y + fontSize / 2 - 2); |
| | | } |
| | | } |
| | | }); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | }); |
| | | context.setTextAlign('left'); |
| | | } |
| | | |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | angleList: coordinateAngle }; |
| | | |
| | | } |
| | | |
| | | // 经纬度转墨卡托 |
| | | function lonlat2mercator(longitude, latitude) { |
| | | var mercator = Array(2); |
| | | var x = longitude * 20037508.34 / 180; |
| | | var y = Math.log(Math.tan((90 + latitude) * Math.PI / 360)) / (Math.PI / 180); |
| | | y = y * 20037508.34 / 180; |
| | | mercator[0] = x; |
| | | mercator[1] = y; |
| | | return mercator; |
| | | } |
| | | |
| | | // 墨卡托转经纬度 |
| | | function mercator2lonlat(longitude, latitude) { |
| | | var lonlat = Array(2); |
| | | var x = longitude / 20037508.34 * 180; |
| | | var y = latitude / 20037508.34 * 180; |
| | | y = 180 / Math.PI * (2 * Math.atan(Math.exp(y * Math.PI / 180)) - Math.PI / 2); |
| | | lonlat[0] = x; |
| | | lonlat[1] = y; |
| | | return lonlat; |
| | | } |
| | | |
| | | function getBoundingBox(data) { |
| | | var bounds = {},coords; |
| | | bounds.xMin = 180; |
| | | bounds.xMax = 0; |
| | | bounds.yMin = 90; |
| | | bounds.yMax = 0; |
| | | for (var i = 0; i < data.length; i++) { |
| | | var coorda = data[i].geometry.coordinates; |
| | | for (var k = 0; k < coorda.length; k++) { |
| | | coords = coorda[k]; |
| | | if (coords.length == 1) { |
| | | coords = coords[0]; |
| | | } |
| | | for (var j = 0; j < coords.length; j++) { |
| | | var longitude = coords[j][0]; |
| | | var latitude = coords[j][1]; |
| | | var point = { |
| | | x: longitude, |
| | | y: latitude }; |
| | | |
| | | bounds.xMin = bounds.xMin < point.x ? bounds.xMin : point.x; |
| | | bounds.xMax = bounds.xMax > point.x ? bounds.xMax : point.x; |
| | | bounds.yMin = bounds.yMin < point.y ? bounds.yMin : point.y; |
| | | bounds.yMax = bounds.yMax > point.y ? bounds.yMax : point.y; |
| | | } |
| | | } |
| | | } |
| | | return bounds; |
| | | } |
| | | |
| | | function coordinateToPoint(latitude, longitude, bounds, scale, xoffset, yoffset) { |
| | | return { |
| | | x: (longitude - bounds.xMin) * scale + xoffset, |
| | | y: (bounds.yMax - latitude) * scale + yoffset }; |
| | | |
| | | } |
| | | |
| | | function pointToCoordinate(pointY, pointX, bounds, scale, xoffset, yoffset) { |
| | | return { |
| | | x: (pointX - xoffset) / scale + bounds.xMin, |
| | | y: bounds.yMax - (pointY - yoffset) / scale }; |
| | | |
| | | } |
| | | |
| | | function isRayIntersectsSegment(poi, s_poi, e_poi) { |
| | | if (s_poi[1] == e_poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[1] > poi[1] && e_poi[1] > poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[1] < poi[1] && e_poi[1] < poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[1] == poi[1] && e_poi[1] > poi[1]) { |
| | | return false; |
| | | } |
| | | if (e_poi[1] == poi[1] && s_poi[1] > poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[0] < poi[0] && e_poi[1] < poi[1]) { |
| | | return false; |
| | | } |
| | | var xseg = e_poi[0] - (e_poi[0] - s_poi[0]) * (e_poi[1] - poi[1]) / (e_poi[1] - s_poi[1]); |
| | | if (xseg < poi[0]) { |
| | | return false; |
| | | } else { |
| | | return true; |
| | | } |
| | | } |
| | | |
| | | function isPoiWithinPoly(poi, poly, mercator) { |
| | | var sinsc = 0; |
| | | for (var i = 0; i < poly.length; i++) { |
| | | var epoly = poly[i][0]; |
| | | if (poly.length == 1) { |
| | | epoly = poly[i][0]; |
| | | } |
| | | for (var j = 0; j < epoly.length - 1; j++) { |
| | | var s_poi = epoly[j]; |
| | | var e_poi = epoly[j + 1]; |
| | | if (mercator) { |
| | | s_poi = lonlat2mercator(epoly[j][0], epoly[j][1]); |
| | | e_poi = lonlat2mercator(epoly[j + 1][0], epoly[j + 1][1]); |
| | | } |
| | | if (isRayIntersectsSegment(poi, s_poi, e_poi)) { |
| | | sinsc += 1; |
| | | } |
| | | } |
| | | } |
| | | if (sinsc % 2 == 1) { |
| | | return true; |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | function drawMapDataPoints(series, opts, config, context) { |
| | | var mapOption = assign({}, { |
| | | border: true, |
| | | mercator: false, |
| | | borderWidth: 1, |
| | | active: true, |
| | | borderColor: '#666666', |
| | | fillOpacity: 0.6, |
| | | activeBorderColor: '#f04864', |
| | | activeFillColor: '#facc14', |
| | | activeFillOpacity: 1 }, |
| | | opts.extra.map); |
| | | var coords, point; |
| | | var data = series; |
| | | var bounds = getBoundingBox(data); |
| | | if (mapOption.mercator) { |
| | | var max = lonlat2mercator(bounds.xMax, bounds.yMax); |
| | | var min = lonlat2mercator(bounds.xMin, bounds.yMin); |
| | | bounds.xMax = max[0]; |
| | | bounds.yMax = max[1]; |
| | | bounds.xMin = min[0]; |
| | | bounds.yMin = min[1]; |
| | | } |
| | | var xScale = opts.width / Math.abs(bounds.xMax - bounds.xMin); |
| | | var yScale = opts.height / Math.abs(bounds.yMax - bounds.yMin); |
| | | var scale = xScale < yScale ? xScale : yScale; |
| | | var xoffset = opts.width / 2 - Math.abs(bounds.xMax - bounds.xMin) / 2 * scale; |
| | | var yoffset = opts.height / 2 - Math.abs(bounds.yMax - bounds.yMin) / 2 * scale; |
| | | for (var i = 0; i < data.length; i++) { |
| | | context.beginPath(); |
| | | context.setLineWidth(mapOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(mapOption.borderColor); |
| | | context.setFillStyle(hexToRgb(series[i].color, series[i].fillOpacity || mapOption.fillOpacity)); |
| | | if (mapOption.active == true && opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.setStrokeStyle(mapOption.activeBorderColor); |
| | | context.setFillStyle(hexToRgb(mapOption.activeFillColor, mapOption.activeFillOpacity)); |
| | | } |
| | | } |
| | | var coorda = data[i].geometry.coordinates; |
| | | for (var k = 0; k < coorda.length; k++) { |
| | | coords = coorda[k]; |
| | | if (coords.length == 1) { |
| | | coords = coords[0]; |
| | | } |
| | | for (var j = 0; j < coords.length; j++) { |
| | | var gaosi = Array(2); |
| | | if (mapOption.mercator) { |
| | | gaosi = lonlat2mercator(coords[j][0], coords[j][1]); |
| | | } else { |
| | | gaosi = coords[j]; |
| | | } |
| | | point = coordinateToPoint(gaosi[1], gaosi[0], bounds, scale, xoffset, yoffset); |
| | | if (j === 0) { |
| | | context.beginPath(); |
| | | context.moveTo(point.x, point.y); |
| | | } else { |
| | | context.lineTo(point.x, point.y); |
| | | } |
| | | } |
| | | context.fill(); |
| | | if (mapOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } |
| | | } |
| | | if (opts.dataLabel == true) { |
| | | for (var i = 0; i < data.length; i++) { |
| | | var centerPoint = data[i].properties.centroid; |
| | | if (centerPoint) { |
| | | if (mapOption.mercator) { |
| | | centerPoint = lonlat2mercator(data[i].properties.centroid[0], data[i].properties.centroid[1]); |
| | | } |
| | | point = coordinateToPoint(centerPoint[1], centerPoint[0], bounds, scale, xoffset, yoffset); |
| | | var fontSize = data[i].textSize * opts.pix || config.fontSize; |
| | | var fontColor = data[i].textColor || opts.fontColor; |
| | | if (mapOption.active && mapOption.activeTextColor && opts.tooltip && opts.tooltip.index == i) { |
| | | fontColor = mapOption.activeTextColor; |
| | | } |
| | | var text = data[i].properties.name; |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(fontColor); |
| | | context.fillText(text, point.x - measureText(text, fontSize, context) / 2, point.y + fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | } |
| | | opts.chartData.mapData = { |
| | | bounds: bounds, |
| | | scale: scale, |
| | | xoffset: xoffset, |
| | | yoffset: yoffset, |
| | | mercator: mapOption.mercator }; |
| | | |
| | | drawToolTipBridge(opts, config, context, 1); |
| | | context.draw(); |
| | | } |
| | | |
| | | function normalInt(min, max, iter) { |
| | | iter = iter == 0 ? 1 : iter; |
| | | var arr = []; |
| | | for (var i = 0; i < iter; i++) { |
| | | arr[i] = Math.random(); |
| | | }; |
| | | return Math.floor(arr.reduce(function (i, j) { |
| | | return i + j; |
| | | }) / iter * (max - min)) + min; |
| | | }; |
| | | |
| | | function collisionNew(area, points, width, height) { |
| | | var isIn = false; |
| | | for (var i = 0; i < points.length; i++) { |
| | | if (points[i].area) { |
| | | if (area[3] < points[i].area[1] || area[0] > points[i].area[2] || area[1] > points[i].area[3] || area[2] < points[i].area[0]) { |
| | | if (area[0] < 0 || area[1] < 0 || area[2] > width || area[3] > height) { |
| | | isIn = true; |
| | | break; |
| | | } else { |
| | | isIn = false; |
| | | } |
| | | } else { |
| | | isIn = true; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return isIn; |
| | | }; |
| | | |
| | | function getWordCloudPoint(opts, type, context) { |
| | | var points = opts.series; |
| | | switch (type) { |
| | | case 'normal': |
| | | for (var i = 0; i < points.length; i++) { |
| | | var text = points[i].name; |
| | | var tHeight = points[i].textSize * opts.pix; |
| | | var tWidth = measureText(text, tHeight, context); |
| | | var x = void 0,y = void 0; |
| | | var area = void 0; |
| | | var breaknum = 0; |
| | | while (true) { |
| | | breaknum++; |
| | | x = normalInt(-opts.width / 2, opts.width / 2, 5) - tWidth / 2; |
| | | y = normalInt(-opts.height / 2, opts.height / 2, 5) + tHeight / 2; |
| | | area = [x - 5 + opts.width / 2, y - 5 - tHeight + opts.height / 2, x + tWidth + 5 + opts.width / 2, y + 5 + |
| | | opts.height / 2]; |
| | | |
| | | var isCollision = collisionNew(area, points, opts.width, opts.height); |
| | | if (!isCollision) break; |
| | | if (breaknum == 1000) { |
| | | area = [-100, -100, -100, -100]; |
| | | break; |
| | | } |
| | | }; |
| | | points[i].area = area; |
| | | } |
| | | break; |
| | | case 'vertical':var |
| | | Spin = function Spin() { |
| | | //获取均匀随机值,是否旋转,旋转的概率为(1-0.5) |
| | | if (Math.random() > 0.7) { |
| | | return true; |
| | | } else { |
| | | return false; |
| | | }; |
| | | };; |
| | | for (var _i30 = 0; _i30 < points.length; _i30++) { |
| | | var _text = points[_i30].name; |
| | | var _tHeight = points[_i30].textSize * opts.pix; |
| | | var _tWidth = measureText(_text, _tHeight, context); |
| | | var isSpin = Spin(); |
| | | var _x = void 0,_y = void 0,_area = void 0,areav = void 0; |
| | | var _breaknum = 0; |
| | | while (true) { |
| | | _breaknum++; |
| | | var _isCollision = void 0; |
| | | if (isSpin) { |
| | | _x = normalInt(-opts.width / 2, opts.width / 2, 5) - _tWidth / 2; |
| | | _y = normalInt(-opts.height / 2, opts.height / 2, 5) + _tHeight / 2; |
| | | _area = [_y - 5 - _tWidth + opts.width / 2, -_x - 5 + opts.height / 2, _y + 5 + opts.width / 2, -_x + _tHeight + 5 + opts.height / 2]; |
| | | areav = [opts.width - (opts.width / 2 - opts.height / 2) - (-_x + _tHeight + 5 + opts.height / 2) - 5, opts.height / 2 - opts.width / 2 + (_y - 5 - _tWidth + opts.width / 2) - 5, opts.width - (opts.width / 2 - opts.height / 2) - (-_x + _tHeight + 5 + opts.height / 2) + _tHeight, opts.height / 2 - opts.width / 2 + (_y - 5 - _tWidth + opts.width / 2) + _tWidth + 5]; |
| | | _isCollision = collisionNew(areav, points, opts.height, opts.width); |
| | | } else { |
| | | _x = normalInt(-opts.width / 2, opts.width / 2, 5) - _tWidth / 2; |
| | | _y = normalInt(-opts.height / 2, opts.height / 2, 5) + _tHeight / 2; |
| | | _area = [_x - 5 + opts.width / 2, _y - 5 - _tHeight + opts.height / 2, _x + _tWidth + 5 + opts.width / 2, _y + 5 + opts.height / 2]; |
| | | _isCollision = collisionNew(_area, points, opts.width, opts.height); |
| | | } |
| | | if (!_isCollision) break; |
| | | if (_breaknum == 1000) { |
| | | _area = [-1000, -1000, -1000, -1000]; |
| | | break; |
| | | } |
| | | }; |
| | | if (isSpin) { |
| | | points[_i30].area = areav; |
| | | points[_i30].areav = _area; |
| | | } else { |
| | | points[_i30].area = _area; |
| | | } |
| | | points[_i30].rotate = isSpin; |
| | | }; |
| | | break;} |
| | | |
| | | return points; |
| | | } |
| | | |
| | | function drawWordCloudDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var wordOption = assign({}, { |
| | | type: 'normal', |
| | | autoColors: true }, |
| | | opts.extra.word); |
| | | if (!opts.chartData.wordCloudData) { |
| | | opts.chartData.wordCloudData = getWordCloudPoint(opts, wordOption.type, context); |
| | | } |
| | | context.beginPath(); |
| | | context.setFillStyle(opts.background); |
| | | context.rect(0, 0, opts.width, opts.height); |
| | | context.fill(); |
| | | context.save(); |
| | | var points = opts.chartData.wordCloudData; |
| | | context.translate(opts.width / 2, opts.height / 2); |
| | | for (var i = 0; i < points.length; i++) { |
| | | context.save(); |
| | | if (points[i].rotate) { |
| | | context.rotate(90 * Math.PI / 180); |
| | | } |
| | | var text = points[i].name; |
| | | var tHeight = points[i].textSize * opts.pix; |
| | | var tWidth = measureText(text, tHeight, context); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(points[i].color); |
| | | context.setFillStyle(points[i].color); |
| | | context.setFontSize(tHeight); |
| | | if (points[i].rotate) { |
| | | if (points[i].areav[0] > 0) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.strokeText(text, (points[i].areav[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].areav[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } else { |
| | | context.fillText(text, (points[i].areav[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].areav[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } else { |
| | | context.fillText(text, (points[i].areav[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].areav[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } |
| | | } else { |
| | | if (points[i].area[0] > 0) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.strokeText(text, (points[i].area[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].area[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } else { |
| | | context.fillText(text, (points[i].area[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].area[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } else { |
| | | context.fillText(text, (points[i].area[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].area[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } |
| | | } |
| | | context.stroke(); |
| | | context.restore(); |
| | | } |
| | | context.restore(); |
| | | } |
| | | |
| | | function drawFunnelDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var funnelOption = assign({}, { |
| | | type: 'funnel', |
| | | activeWidth: 10, |
| | | activeOpacity: 0.3, |
| | | border: false, |
| | | borderWidth: 2, |
| | | borderColor: '#FFFFFF', |
| | | fillOpacity: 1, |
| | | minSize: 0, |
| | | labelAlign: 'right', |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.extra.funnel); |
| | | var eachSpacing = (opts.height - opts.area[0] - opts.area[2]) / series.length; |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.height - opts.area[2] }; |
| | | |
| | | var activeWidth = funnelOption.activeWidth * opts.pix; |
| | | var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - activeWidth, (opts.height - opts.area[0] - opts.area[2]) / 2 - activeWidth); |
| | | var seriesNew = getFunnelDataPoints(series, radius, funnelOption, eachSpacing, process); |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | funnelOption.customColor = fillCustomColor(funnelOption.linearType, funnelOption.customColor, series, config); |
| | | if (funnelOption.type == 'pyramid') { |
| | | for (var i = 0; i < seriesNew.length; i++) { |
| | | if (i == seriesNew.length - 1) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(seriesNew[i].color, funnelOption.activeOpacity)); |
| | | context.moveTo(-activeWidth, -eachSpacing); |
| | | context.lineTo(-seriesNew[i].radius - activeWidth, 0); |
| | | context.lineTo(seriesNew[i].radius + activeWidth, 0); |
| | | context.lineTo(activeWidth, -eachSpacing); |
| | | context.lineTo(-activeWidth, -eachSpacing); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | seriesNew[i].funnelArea = [centerPosition.x - seriesNew[i].radius, centerPosition.y - eachSpacing * (i + 1), centerPosition.x + seriesNew[i].radius, centerPosition.y - eachSpacing * i]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(seriesNew[i].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(seriesNew[i].radius, -eachSpacing, -seriesNew[i].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(seriesNew[i].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[seriesNew[i].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(seriesNew[i].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, -eachSpacing); |
| | | context.lineTo(-seriesNew[i].radius, 0); |
| | | context.lineTo(seriesNew[i].radius, 0); |
| | | context.lineTo(0, -eachSpacing); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } else { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(seriesNew[i].color, funnelOption.activeOpacity)); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-seriesNew[i].radius - activeWidth, 0); |
| | | context.lineTo(-seriesNew[i + 1].radius - activeWidth, -eachSpacing); |
| | | context.lineTo(seriesNew[i + 1].radius + activeWidth, -eachSpacing); |
| | | context.lineTo(seriesNew[i].radius + activeWidth, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | seriesNew[i].funnelArea = [centerPosition.x - seriesNew[i].radius, centerPosition.y - eachSpacing * (i + 1), centerPosition.x + seriesNew[i].radius, centerPosition.y - eachSpacing * i]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(seriesNew[i].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(seriesNew[i].radius, -eachSpacing, -seriesNew[i].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(seriesNew[i].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[seriesNew[i].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(seriesNew[i].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-seriesNew[i].radius, 0); |
| | | context.lineTo(-seriesNew[i + 1].radius, -eachSpacing); |
| | | context.lineTo(seriesNew[i + 1].radius, -eachSpacing); |
| | | context.lineTo(seriesNew[i].radius, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } |
| | | context.translate(0, -eachSpacing); |
| | | } |
| | | } else { |
| | | context.translate(0, -(seriesNew.length - 1) * eachSpacing); |
| | | for (var _i31 = 0; _i31 < seriesNew.length; _i31++) { |
| | | if (_i31 == seriesNew.length - 1) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == _i31) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(seriesNew[_i31].color, funnelOption.activeOpacity)); |
| | | context.moveTo(-activeWidth - funnelOption.minSize / 2, 0); |
| | | context.lineTo(-seriesNew[_i31].radius - activeWidth, -eachSpacing); |
| | | context.lineTo(seriesNew[_i31].radius + activeWidth, -eachSpacing); |
| | | context.lineTo(activeWidth + funnelOption.minSize / 2, 0); |
| | | context.lineTo(-activeWidth - funnelOption.minSize / 2, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | seriesNew[_i31].funnelArea = [centerPosition.x - seriesNew[_i31].radius, centerPosition.y - eachSpacing, centerPosition.x + seriesNew[_i31].radius, centerPosition.y]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(seriesNew[_i31].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(seriesNew[_i31].radius, -eachSpacing, -seriesNew[_i31].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(seriesNew[_i31].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[seriesNew[_i31].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(seriesNew[_i31].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-funnelOption.minSize / 2, 0); |
| | | context.lineTo(-seriesNew[_i31].radius, -eachSpacing); |
| | | context.lineTo(seriesNew[_i31].radius, -eachSpacing); |
| | | context.lineTo(funnelOption.minSize / 2, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } else { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == _i31) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(seriesNew[_i31].color, funnelOption.activeOpacity)); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-seriesNew[_i31 + 1].radius - activeWidth, 0); |
| | | context.lineTo(-seriesNew[_i31].radius - activeWidth, -eachSpacing); |
| | | context.lineTo(seriesNew[_i31].radius + activeWidth, -eachSpacing); |
| | | context.lineTo(seriesNew[_i31 + 1].radius + activeWidth, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | seriesNew[_i31].funnelArea = [centerPosition.x - seriesNew[_i31].radius, centerPosition.y - eachSpacing * (seriesNew.length - _i31), centerPosition.x + seriesNew[_i31].radius, centerPosition.y - eachSpacing * (seriesNew.length - _i31 - 1)]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(seriesNew[_i31].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(seriesNew[_i31].radius, -eachSpacing, -seriesNew[_i31].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(seriesNew[_i31].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[seriesNew[_i31].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(seriesNew[_i31].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-seriesNew[_i31 + 1].radius, 0); |
| | | context.lineTo(-seriesNew[_i31].radius, -eachSpacing); |
| | | context.lineTo(seriesNew[_i31].radius, -eachSpacing); |
| | | context.lineTo(seriesNew[_i31 + 1].radius, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } |
| | | context.translate(0, eachSpacing); |
| | | } |
| | | } |
| | | |
| | | context.restore(); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | drawFunnelText(seriesNew, opts, context, eachSpacing, funnelOption.labelAlign, activeWidth, centerPosition); |
| | | } |
| | | if (process === 1) { |
| | | drawFunnelCenterText(seriesNew, opts, context, eachSpacing, funnelOption.labelAlign, activeWidth, centerPosition); |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: seriesNew }; |
| | | |
| | | } |
| | | |
| | | function drawFunnelText(series, opts, context, eachSpacing, labelAlign, activeWidth, centerPosition) { |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | if (item.labelShow === false) { |
| | | continue; |
| | | } |
| | | var startX = void 0,endX = void 0,startY = void 0,fontSize = void 0; |
| | | var text = item.formatter ? item.formatter(item, i, series, opts) : util.toFixed(item._proportion_ * 100) + '%'; |
| | | text = item.labelText ? item.labelText : text; |
| | | if (labelAlign == 'right') { |
| | | if (i == series.length - 1) { |
| | | startX = (item.funnelArea[2] + centerPosition.x) / 2; |
| | | } else { |
| | | startX = (item.funnelArea[2] + series[i + 1].funnelArea[2]) / 2; |
| | | } |
| | | endX = startX + activeWidth * 2; |
| | | startY = item.funnelArea[1] + eachSpacing / 2; |
| | | fontSize = item.textSize * opts.pix || opts.fontSize * opts.pix; |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(item.color); |
| | | context.setFillStyle(item.color); |
| | | context.beginPath(); |
| | | context.moveTo(startX, startY); |
| | | context.lineTo(endX, startY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.moveTo(endX, startY); |
| | | context.arc(endX, startY, 2 * opts.pix, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(item.textColor || opts.fontColor); |
| | | context.fillText(text, endX + 5, startY + fontSize / 2 - 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | } |
| | | if (labelAlign == 'left') { |
| | | if (i == series.length - 1) { |
| | | startX = (item.funnelArea[0] + centerPosition.x) / 2; |
| | | } else { |
| | | startX = (item.funnelArea[0] + series[i + 1].funnelArea[0]) / 2; |
| | | } |
| | | endX = startX - activeWidth * 2; |
| | | startY = item.funnelArea[1] + eachSpacing / 2; |
| | | fontSize = item.textSize * opts.pix || opts.fontSize * opts.pix; |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(item.color); |
| | | context.setFillStyle(item.color); |
| | | context.beginPath(); |
| | | context.moveTo(startX, startY); |
| | | context.lineTo(endX, startY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.moveTo(endX, startY); |
| | | context.arc(endX, startY, 2, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(item.textColor || opts.fontColor); |
| | | context.fillText(text, endX - 5 - measureText(text, fontSize, context), startY + fontSize / 2 - 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | function drawFunnelCenterText(series, opts, context, eachSpacing, labelAlign, activeWidth, centerPosition) { |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | var startY = void 0,fontSize = void 0; |
| | | if (item.centerText) { |
| | | startY = item.funnelArea[1] + eachSpacing / 2; |
| | | fontSize = item.centerTextSize * opts.pix || opts.fontSize * opts.pix; |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(item.centerTextColor || "#FFFFFF"); |
| | | context.fillText(item.centerText, centerPosition.x - measureText(item.centerText, fontSize, context) / 2, startY + fontSize / 2 - 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | function drawCanvas(opts, context) { |
| | | context.draw(); |
| | | } |
| | | |
| | | var Timing = { |
| | | easeIn: function easeIn(pos) { |
| | | return Math.pow(pos, 3); |
| | | }, |
| | | easeOut: function easeOut(pos) { |
| | | return Math.pow(pos - 1, 3) + 1; |
| | | }, |
| | | easeInOut: function easeInOut(pos) { |
| | | if ((pos /= 0.5) < 1) { |
| | | return 0.5 * Math.pow(pos, 3); |
| | | } else { |
| | | return 0.5 * (Math.pow(pos - 2, 3) + 2); |
| | | } |
| | | }, |
| | | linear: function linear(pos) { |
| | | return pos; |
| | | } }; |
| | | |
| | | |
| | | function Animation(opts) { |
| | | this.isStop = false; |
| | | opts.duration = typeof opts.duration === 'undefined' ? 1000 : opts.duration; |
| | | opts.timing = opts.timing || 'easeInOut'; |
| | | var delay = 17; |
| | | function createAnimationFrame() { |
| | | if (typeof setTimeout !== 'undefined') { |
| | | return function (step, delay) { |
| | | setTimeout(function () { |
| | | var timeStamp = +new Date(); |
| | | step(timeStamp); |
| | | }, delay); |
| | | }; |
| | | } else if (typeof requestAnimationFrame !== 'undefined') { |
| | | return requestAnimationFrame; |
| | | } else { |
| | | return function (step) { |
| | | step(null); |
| | | }; |
| | | } |
| | | }; |
| | | var animationFrame = createAnimationFrame(); |
| | | var startTimeStamp = null; |
| | | var _step = function step(timestamp) { |
| | | if (timestamp === null || this.isStop === true) { |
| | | opts.onProcess && opts.onProcess(1); |
| | | opts.onAnimationFinish && opts.onAnimationFinish(); |
| | | return; |
| | | } |
| | | if (startTimeStamp === null) { |
| | | startTimeStamp = timestamp; |
| | | } |
| | | if (timestamp - startTimeStamp < opts.duration) { |
| | | var process = (timestamp - startTimeStamp) / opts.duration; |
| | | var timingFunction = Timing[opts.timing]; |
| | | process = timingFunction(process); |
| | | opts.onProcess && opts.onProcess(process); |
| | | animationFrame(_step, delay); |
| | | } else { |
| | | opts.onProcess && opts.onProcess(1); |
| | | opts.onAnimationFinish && opts.onAnimationFinish(); |
| | | } |
| | | }; |
| | | _step = _step.bind(this); |
| | | animationFrame(_step, delay); |
| | | } |
| | | |
| | | Animation.prototype.stop = function () { |
| | | this.isStop = true; |
| | | }; |
| | | |
| | | function drawCharts(type, opts, config, context) {var _this2 = this; |
| | | var _this = this; |
| | | var series = opts.series; |
| | | //兼容ECharts饼图类数据格式 |
| | | if (type === 'pie' || type === 'ring' || type === 'mount' || type === 'rose' || type === 'funnel') { |
| | | series = fixPieSeries(series, opts, config); |
| | | } |
| | | var categories = opts.categories; |
| | | if (type === 'mount') { |
| | | categories = []; |
| | | for (var j = 0; j < series.length; j++) { |
| | | if (series[j].show !== false) categories.push(series[j].name); |
| | | } |
| | | opts.categories = categories; |
| | | } |
| | | series = fillSeries(series, opts, config); |
| | | var duration = opts.animation ? opts.duration : 0; |
| | | _this.animationInstance && _this.animationInstance.stop(); |
| | | var seriesMA = null; |
| | | if (type == 'candle') { |
| | | var average = assign({}, opts.extra.candle.average); |
| | | if (average.show) { |
| | | seriesMA = calCandleMA(average.day, average.name, average.color, series[0].data); |
| | | seriesMA = fillSeries(seriesMA, opts, config); |
| | | opts.seriesMA = seriesMA; |
| | | } else if (opts.seriesMA) { |
| | | seriesMA = opts.seriesMA = fillSeries(opts.seriesMA, opts, config); |
| | | } else { |
| | | seriesMA = series; |
| | | } |
| | | } else { |
| | | seriesMA = series; |
| | | } |
| | | /* 过滤掉show=false的series */ |
| | | opts._series_ = series = filterSeries(series); |
| | | //重新计算图表区域 |
| | | opts.area = new Array(4); |
| | | //复位绘图区域 |
| | | for (var _j11 = 0; _j11 < 4; _j11++) { |
| | | opts.area[_j11] = opts.padding[_j11] * opts.pix; |
| | | } |
| | | //通过计算三大区域:图例、X轴、Y轴的大小,确定绘图区域 |
| | | var _calLegendData = calLegendData(seriesMA, opts, config, opts.chartData, context), |
| | | legendHeight = _calLegendData.area.wholeHeight, |
| | | legendWidth = _calLegendData.area.wholeWidth; |
| | | |
| | | switch (opts.legend.position) { |
| | | case 'top': |
| | | opts.area[0] += legendHeight; |
| | | break; |
| | | case 'bottom': |
| | | opts.area[2] += legendHeight; |
| | | break; |
| | | case 'left': |
| | | opts.area[3] += legendWidth; |
| | | break; |
| | | case 'right': |
| | | opts.area[1] += legendWidth; |
| | | break;} |
| | | |
| | | |
| | | var _calYAxisData = {}, |
| | | yAxisWidth = 0; |
| | | if (opts.type === 'line' || opts.type === 'column' || opts.type === 'mount' || opts.type === 'area' || opts.type === 'mix' || opts.type === 'candle' || opts.type === 'scatter' || opts.type === 'bubble' || opts.type === 'bar') { |
| | | _calYAxisData = calYAxisData(series, opts, config, context); |
| | | yAxisWidth = _calYAxisData.yAxisWidth; |
| | | //如果显示Y轴标题 |
| | | if (opts.yAxis.showTitle) { |
| | | var maxTitleHeight = 0; |
| | | for (var i = 0; i < opts.yAxis.data.length; i++) { |
| | | maxTitleHeight = Math.max(maxTitleHeight, opts.yAxis.data[i].titleFontSize ? opts.yAxis.data[i].titleFontSize * opts.pix : config.fontSize); |
| | | } |
| | | opts.area[0] += maxTitleHeight; |
| | | } |
| | | var rightIndex = 0, |
| | | leftIndex = 0; |
| | | //计算主绘图区域左右位置 |
| | | for (var _i32 = 0; _i32 < yAxisWidth.length; _i32++) { |
| | | if (yAxisWidth[_i32].position == 'left') { |
| | | if (leftIndex > 0) { |
| | | opts.area[3] += yAxisWidth[_i32].width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | opts.area[3] += yAxisWidth[_i32].width; |
| | | } |
| | | leftIndex += 1; |
| | | } else if (yAxisWidth[_i32].position == 'right') { |
| | | if (rightIndex > 0) { |
| | | opts.area[1] += yAxisWidth[_i32].width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | opts.area[1] += yAxisWidth[_i32].width; |
| | | } |
| | | rightIndex += 1; |
| | | } |
| | | } |
| | | } else { |
| | | config.yAxisWidth = yAxisWidth; |
| | | } |
| | | opts.chartData.yAxisData = _calYAxisData; |
| | | |
| | | if (opts.categories && opts.categories.length && opts.type !== 'radar' && opts.type !== 'gauge' && opts.type !== 'bar') { |
| | | opts.chartData.xAxisData = getXAxisPoints(opts.categories, opts, config); |
| | | var _calCategoriesData = calCategoriesData(opts.categories, opts, config, opts.chartData.xAxisData.eachSpacing, context), |
| | | xAxisHeight = _calCategoriesData.xAxisHeight, |
| | | angle = _calCategoriesData.angle; |
| | | config.xAxisHeight = xAxisHeight; |
| | | config._xAxisTextAngle_ = angle; |
| | | opts.area[2] += xAxisHeight; |
| | | opts.chartData.categoriesData = _calCategoriesData; |
| | | } else { |
| | | if (opts.type === 'line' || opts.type === 'area' || opts.type === 'scatter' || opts.type === 'bubble' || opts.type === 'bar') { |
| | | opts.chartData.xAxisData = calXAxisData(series, opts, config, context); |
| | | categories = opts.chartData.xAxisData.rangesFormat; |
| | | var _calCategoriesData2 = calCategoriesData(categories, opts, config, opts.chartData.xAxisData.eachSpacing, context), |
| | | _xAxisHeight = _calCategoriesData2.xAxisHeight, |
| | | _angle = _calCategoriesData2.angle; |
| | | config.xAxisHeight = _xAxisHeight; |
| | | config._xAxisTextAngle_ = _angle; |
| | | opts.area[2] += _xAxisHeight; |
| | | opts.chartData.categoriesData = _calCategoriesData2; |
| | | } else { |
| | | opts.chartData.xAxisData = { |
| | | xAxisPoints: [] }; |
| | | |
| | | } |
| | | } |
| | | |
| | | //计算右对齐偏移距离 |
| | | if (opts.enableScroll && opts.xAxis.scrollAlign == 'right' && opts._scrollDistance_ === undefined) { |
| | | var offsetLeft = 0, |
| | | xAxisPoints = opts.chartData.xAxisData.xAxisPoints, |
| | | startX = opts.chartData.xAxisData.startX, |
| | | endX = opts.chartData.xAxisData.endX, |
| | | eachSpacing = opts.chartData.xAxisData.eachSpacing; |
| | | var totalWidth = eachSpacing * (xAxisPoints.length - 1); |
| | | var screenWidth = endX - startX; |
| | | offsetLeft = screenWidth - totalWidth; |
| | | _this.scrollOption.currentOffset = offsetLeft; |
| | | _this.scrollOption.startTouchX = offsetLeft; |
| | | _this.scrollOption.distance = 0; |
| | | _this.scrollOption.lastMoveTime = 0; |
| | | opts._scrollDistance_ = offsetLeft; |
| | | } |
| | | |
| | | if (type === 'pie' || type === 'ring' || type === 'rose') { |
| | | config._pieTextMaxLength_ = opts.dataLabel === false ? 0 : getPieTextMaxLength(seriesMA, config, context, opts); |
| | | } |
| | | |
| | | switch (type) { |
| | | case 'word': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawWordCloudDataPoints(series, opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'map': |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | drawMapDataPoints(series, opts, config, context); |
| | | setTimeout(function () { |
| | | _this2.uevent.trigger('renderComplete'); |
| | | }, 50); |
| | | break; |
| | | case 'funnel': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.funnelData = drawFunnelDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'line': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawLineDataPoints = drawLineDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawLineDataPoints.xAxisPoints, |
| | | calPoints = _drawLineDataPoints.calPoints, |
| | | eachSpacing = _drawLineDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'scatter': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawScatterDataPoints = drawScatterDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawScatterDataPoints.xAxisPoints, |
| | | calPoints = _drawScatterDataPoints.calPoints, |
| | | eachSpacing = _drawScatterDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'bubble': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawBubbleDataPoints = drawBubbleDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawBubbleDataPoints.xAxisPoints, |
| | | calPoints = _drawBubbleDataPoints.calPoints, |
| | | eachSpacing = _drawBubbleDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'mix': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawMixDataPoints = drawMixDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawMixDataPoints.xAxisPoints, |
| | | calPoints = _drawMixDataPoints.calPoints, |
| | | eachSpacing = _drawMixDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'column': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawColumnDataPoints = drawColumnDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawColumnDataPoints.xAxisPoints, |
| | | calPoints = _drawColumnDataPoints.calPoints, |
| | | eachSpacing = _drawColumnDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'mount': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawMountDataPoints = drawMountDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawMountDataPoints.xAxisPoints, |
| | | calPoints = _drawMountDataPoints.calPoints, |
| | | eachSpacing = _drawMountDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'bar': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawBarDataPoints = drawBarDataPoints(series, opts, config, context, process), |
| | | yAxisPoints = _drawBarDataPoints.yAxisPoints, |
| | | calPoints = _drawBarDataPoints.calPoints, |
| | | eachSpacing = _drawBarDataPoints.eachSpacing; |
| | | opts.chartData.yAxisPoints = yAxisPoints; |
| | | opts.chartData.xAxisPoints = opts.chartData.xAxisData.xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, yAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'area': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawAreaDataPoints = drawAreaDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawAreaDataPoints.xAxisPoints, |
| | | calPoints = _drawAreaDataPoints.calPoints, |
| | | eachSpacing = _drawAreaDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'ring': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.pieData = drawPieDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'pie': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.pieData = drawPieDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'rose': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.pieData = drawRoseDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'radar': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.radarData = drawRadarDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'arcbar': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.arcbarData = drawArcbarDataPoints(series, opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'gauge': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.gaugeData = drawGaugeDataPoints(categories, series, opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'candle': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawCandleDataPoints = drawCandleDataPoints(series, seriesMA, opts, config, context, process), |
| | | xAxisPoints = _drawCandleDataPoints.xAxisPoints, |
| | | calPoints = _drawCandleDataPoints.calPoints, |
| | | eachSpacing = _drawCandleDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | if (seriesMA) { |
| | | drawLegend(seriesMA, opts, config, context, opts.chartData); |
| | | } else { |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | } |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break;} |
| | | |
| | | } |
| | | |
| | | function uChartsEvent() { |
| | | this.events = {}; |
| | | } |
| | | |
| | | uChartsEvent.prototype.addEventListener = function (type, listener) { |
| | | this.events[type] = this.events[type] || []; |
| | | this.events[type].push(listener); |
| | | }; |
| | | |
| | | uChartsEvent.prototype.delEventListener = function (type) { |
| | | this.events[type] = []; |
| | | }; |
| | | |
| | | uChartsEvent.prototype.trigger = function () { |
| | | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { |
| | | args[_key] = arguments[_key]; |
| | | } |
| | | var type = args[0]; |
| | | var params = args.slice(1); |
| | | if (!!this.events[type]) { |
| | | this.events[type].forEach(function (listener) { |
| | | try { |
| | | listener.apply(null, params); |
| | | } catch (e) { |
| | | //console.log('[uCharts] '+e); |
| | | } |
| | | }); |
| | | } |
| | | }; |
| | | |
| | | var uCharts = function uCharts(opts) { |
| | | opts.pix = opts.pixelRatio ? opts.pixelRatio : 1; |
| | | opts.fontSize = opts.fontSize ? opts.fontSize : 13; |
| | | opts.fontColor = opts.fontColor ? opts.fontColor : config.fontColor; |
| | | if (opts.background == "" || opts.background == "none") { |
| | | opts.background = "#FFFFFF"; |
| | | } |
| | | opts.title = assign({}, opts.title); |
| | | opts.subtitle = assign({}, opts.subtitle); |
| | | opts.duration = opts.duration ? opts.duration : 1000; |
| | | opts.yAxis = assign({}, { |
| | | data: [], |
| | | showTitle: false, |
| | | disabled: false, |
| | | disableGrid: false, |
| | | gridSet: 'number', |
| | | splitNumber: 5, |
| | | gridType: 'solid', |
| | | dashLength: 4 * opts.pix, |
| | | gridColor: '#cccccc', |
| | | padding: 10, |
| | | fontColor: '#666666' }, |
| | | opts.yAxis); |
| | | opts.xAxis = assign({}, { |
| | | rotateLabel: false, |
| | | rotateAngle: 45, |
| | | disabled: false, |
| | | disableGrid: false, |
| | | splitNumber: 5, |
| | | calibration: false, |
| | | gridType: 'solid', |
| | | dashLength: 4, |
| | | scrollAlign: 'left', |
| | | boundaryGap: 'center', |
| | | axisLine: true, |
| | | axisLineColor: '#cccccc' }, |
| | | opts.xAxis); |
| | | opts.xAxis.scrollPosition = opts.xAxis.scrollAlign; |
| | | opts.legend = assign({}, { |
| | | show: true, |
| | | position: 'bottom', |
| | | float: 'center', |
| | | backgroundColor: 'rgba(0,0,0,0)', |
| | | borderColor: 'rgba(0,0,0,0)', |
| | | borderWidth: 0, |
| | | padding: 5, |
| | | margin: 5, |
| | | itemGap: 10, |
| | | fontSize: opts.fontSize, |
| | | lineHeight: opts.fontSize, |
| | | fontColor: opts.fontColor, |
| | | formatter: {}, |
| | | hiddenColor: '#CECECE' }, |
| | | opts.legend); |
| | | opts.extra = assign({}, opts.extra); |
| | | opts.rotate = opts.rotate ? true : false; |
| | | opts.animation = opts.animation ? true : false; |
| | | opts.rotate = opts.rotate ? true : false; |
| | | opts.canvas2d = opts.canvas2d ? true : false; |
| | | |
| | | var config$$1 = assign({}, config); |
| | | config$$1.color = opts.color ? opts.color : config$$1.color; |
| | | if (opts.type == 'pie') { |
| | | config$$1.pieChartLinePadding = opts.dataLabel === false ? 0 : opts.extra.pie.labelWidth * opts.pix || config$$1.pieChartLinePadding * opts.pix; |
| | | } |
| | | if (opts.type == 'ring') { |
| | | config$$1.pieChartLinePadding = opts.dataLabel === false ? 0 : opts.extra.ring.labelWidth * opts.pix || config$$1.pieChartLinePadding * opts.pix; |
| | | } |
| | | if (opts.type == 'rose') { |
| | | config$$1.pieChartLinePadding = opts.dataLabel === false ? 0 : opts.extra.rose.labelWidth * opts.pix || config$$1.pieChartLinePadding * opts.pix; |
| | | } |
| | | config$$1.pieChartTextPadding = opts.dataLabel === false ? 0 : config$$1.pieChartTextPadding * opts.pix; |
| | | |
| | | //屏幕旋转 |
| | | config$$1.rotate = opts.rotate; |
| | | if (opts.rotate) { |
| | | var tempWidth = opts.width; |
| | | var tempHeight = opts.height; |
| | | opts.width = tempHeight; |
| | | opts.height = tempWidth; |
| | | } |
| | | |
| | | //适配高分屏 |
| | | opts.padding = opts.padding ? opts.padding : config$$1.padding; |
| | | config$$1.yAxisWidth = config.yAxisWidth * opts.pix; |
| | | config$$1.xAxisHeight = config.xAxisHeight * opts.pix; |
| | | if (opts.enableScroll && opts.xAxis.scrollShow) { |
| | | config$$1.xAxisHeight += 6 * opts.pix; |
| | | } |
| | | config$$1.fontSize = opts.fontSize * opts.pix; |
| | | config$$1.titleFontSize = config.titleFontSize * opts.pix; |
| | | config$$1.subtitleFontSize = config.subtitleFontSize * opts.pix; |
| | | config$$1.toolTipPadding = config.toolTipPadding * opts.pix; |
| | | config$$1.toolTipLineHeight = config.toolTipLineHeight * opts.pix; |
| | | if (!opts.context) { |
| | | throw new Error('[uCharts] 未获取到context!注意:v2.0版本后,需要自行获取canvas的绘图上下文并传入opts.context!'); |
| | | } |
| | | this.context = opts.context; |
| | | if (!this.context.setTextAlign) { |
| | | this.context.setStrokeStyle = function (e) { |
| | | return this.strokeStyle = e; |
| | | }; |
| | | this.context.setLineWidth = function (e) { |
| | | return this.lineWidth = e; |
| | | }; |
| | | this.context.setLineCap = function (e) { |
| | | return this.lineCap = e; |
| | | }; |
| | | this.context.setFontSize = function (e) { |
| | | return this.font = e + "px sans-serif"; |
| | | }; |
| | | this.context.setFillStyle = function (e) { |
| | | return this.fillStyle = e; |
| | | }; |
| | | this.context.setTextAlign = function (e) { |
| | | return this.textAlign = e; |
| | | }; |
| | | this.context.draw = function () {}; |
| | | } |
| | | //兼容NVUEsetLineDash |
| | | if (!this.context.setLineDash) { |
| | | this.context.setLineDash = function (e) {}; |
| | | } |
| | | opts.chartData = {}; |
| | | this.uevent = new uChartsEvent(); |
| | | this.scrollOption = { |
| | | currentOffset: 0, |
| | | startTouchX: 0, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | this.opts = opts; |
| | | this.config = config$$1; |
| | | drawCharts.call(this, opts.type, opts, config$$1, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.updateData = function () { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | this.opts = assign({}, this.opts, data); |
| | | this.opts.updateData = true; |
| | | var scrollPosition = data.scrollPosition || 'current'; |
| | | switch (scrollPosition) { |
| | | case 'current': |
| | | this.opts._scrollDistance_ = this.scrollOption.currentOffset; |
| | | break; |
| | | case 'left': |
| | | this.opts._scrollDistance_ = 0; |
| | | this.scrollOption = { |
| | | currentOffset: 0, |
| | | startTouchX: 0, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | break; |
| | | case 'right': |
| | | var _calYAxisData = calYAxisData(this.opts.series, this.opts, this.config, this.context),yAxisWidth = _calYAxisData.yAxisWidth; |
| | | this.config.yAxisWidth = yAxisWidth; |
| | | var offsetLeft = 0; |
| | | var _getXAxisPoints0 = getXAxisPoints(this.opts.categories, this.opts, this.config),xAxisPoints = _getXAxisPoints0.xAxisPoints, |
| | | startX = _getXAxisPoints0.startX, |
| | | endX = _getXAxisPoints0.endX, |
| | | eachSpacing = _getXAxisPoints0.eachSpacing; |
| | | var totalWidth = eachSpacing * (xAxisPoints.length - 1); |
| | | var screenWidth = endX - startX; |
| | | offsetLeft = screenWidth - totalWidth; |
| | | this.scrollOption = { |
| | | currentOffset: offsetLeft, |
| | | startTouchX: offsetLeft, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | this.opts._scrollDistance_ = offsetLeft; |
| | | break;} |
| | | |
| | | drawCharts.call(this, this.opts.type, this.opts, this.config, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.zoom = function () { |
| | | var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.opts.xAxis.itemCount; |
| | | if (this.opts.enableScroll !== true) { |
| | | __f__("log", '[uCharts] 请启用滚动条后使用', " at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828"); |
| | | return; |
| | | } |
| | | //当前屏幕中间点 |
| | | var centerPoint = Math.round(Math.abs(this.scrollOption.currentOffset) / this.opts.chartData.eachSpacing) + Math.round(this.opts.xAxis.itemCount / 2); |
| | | this.opts.animation = false; |
| | | this.opts.xAxis.itemCount = val.itemCount; |
| | | //重新计算x轴偏移距离 |
| | | var _calYAxisData = calYAxisData(this.opts.series, this.opts, this.config, this.context), |
| | | yAxisWidth = _calYAxisData.yAxisWidth; |
| | | this.config.yAxisWidth = yAxisWidth; |
| | | var offsetLeft = 0; |
| | | var _getXAxisPoints0 = getXAxisPoints(this.opts.categories, this.opts, this.config), |
| | | xAxisPoints = _getXAxisPoints0.xAxisPoints, |
| | | startX = _getXAxisPoints0.startX, |
| | | endX = _getXAxisPoints0.endX, |
| | | eachSpacing = _getXAxisPoints0.eachSpacing; |
| | | var centerLeft = eachSpacing * centerPoint; |
| | | var screenWidth = endX - startX; |
| | | var MaxLeft = screenWidth - eachSpacing * (xAxisPoints.length - 1); |
| | | offsetLeft = screenWidth / 2 - centerLeft; |
| | | if (offsetLeft > 0) { |
| | | offsetLeft = 0; |
| | | } |
| | | if (offsetLeft < MaxLeft) { |
| | | offsetLeft = MaxLeft; |
| | | } |
| | | this.scrollOption = { |
| | | currentOffset: offsetLeft, |
| | | startTouchX: 0, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | calValidDistance(this, offsetLeft, this.opts.chartData, this.config, this.opts); |
| | | this.opts._scrollDistance_ = offsetLeft; |
| | | drawCharts.call(this, this.opts.type, this.opts, this.config, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.dobuleZoom = function (e) { |
| | | if (this.opts.enableScroll !== true) { |
| | | __f__("log", '[uCharts] 请启用滚动条后使用', " at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868"); |
| | | return; |
| | | } |
| | | var tcs = e.changedTouches; |
| | | if (tcs.length < 2) { |
| | | return; |
| | | } |
| | | for (var i = 0; i < tcs.length; i++) { |
| | | tcs[i].x = tcs[i].x ? tcs[i].x : tcs[i].clientX; |
| | | tcs[i].y = tcs[i].y ? tcs[i].y : tcs[i].clientY; |
| | | } |
| | | var ntcs = [getTouches(tcs[0], this.opts, e), getTouches(tcs[1], this.opts, e)]; |
| | | var xlength = Math.abs(ntcs[0].x - ntcs[1].x); |
| | | // 记录初始的两指之间的数据 |
| | | if (!this.scrollOption.moveCount) { |
| | | var cts0 = { changedTouches: [{ x: tcs[0].x, y: this.opts.area[0] / this.opts.pix + 2 }] }; |
| | | var cts1 = { changedTouches: [{ x: tcs[1].x, y: this.opts.area[0] / this.opts.pix + 2 }] }; |
| | | if (this.opts.rotate) { |
| | | cts0 = { changedTouches: [{ x: this.opts.height / this.opts.pix - this.opts.area[0] / this.opts.pix - 2, y: tcs[0].y }] }; |
| | | cts1 = { changedTouches: [{ x: this.opts.height / this.opts.pix - this.opts.area[0] / this.opts.pix - 2, y: tcs[1].y }] }; |
| | | } |
| | | var moveCurrent1 = this.getCurrentDataIndex(cts0).index; |
| | | var moveCurrent2 = this.getCurrentDataIndex(cts1).index; |
| | | var moveCount = Math.abs(moveCurrent1 - moveCurrent2); |
| | | this.scrollOption.moveCount = moveCount; |
| | | this.scrollOption.moveCurrent1 = Math.min(moveCurrent1, moveCurrent2); |
| | | this.scrollOption.moveCurrent2 = Math.max(moveCurrent1, moveCurrent2); |
| | | return; |
| | | } |
| | | |
| | | var currentEachSpacing = xlength / this.scrollOption.moveCount; |
| | | var itemCount = (this.opts.width - this.opts.area[1] - this.opts.area[3]) / currentEachSpacing; |
| | | itemCount = itemCount <= 2 ? 2 : itemCount; |
| | | itemCount = itemCount >= this.opts.categories.length ? this.opts.categories.length : itemCount; |
| | | this.opts.animation = false; |
| | | this.opts.xAxis.itemCount = itemCount; |
| | | // 重新计算滚动条偏移距离 |
| | | var offsetLeft = 0; |
| | | var _getXAxisPoints0 = getXAxisPoints(this.opts.categories, this.opts, this.config), |
| | | xAxisPoints = _getXAxisPoints0.xAxisPoints, |
| | | startX = _getXAxisPoints0.startX, |
| | | endX = _getXAxisPoints0.endX, |
| | | eachSpacing = _getXAxisPoints0.eachSpacing; |
| | | var currentLeft = eachSpacing * this.scrollOption.moveCurrent1; |
| | | var screenWidth = endX - startX; |
| | | var MaxLeft = screenWidth - eachSpacing * (xAxisPoints.length - 1); |
| | | offsetLeft = -currentLeft + Math.min(ntcs[0].x, ntcs[1].x) - this.opts.area[3] - eachSpacing; |
| | | if (offsetLeft > 0) { |
| | | offsetLeft = 0; |
| | | } |
| | | if (offsetLeft < MaxLeft) { |
| | | offsetLeft = MaxLeft; |
| | | } |
| | | this.scrollOption.currentOffset = offsetLeft; |
| | | this.scrollOption.startTouchX = 0; |
| | | this.scrollOption.distance = 0; |
| | | calValidDistance(this, offsetLeft, this.opts.chartData, this.config, this.opts); |
| | | this.opts._scrollDistance_ = offsetLeft; |
| | | drawCharts.call(this, this.opts.type, this.opts, this.config, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.stopAnimation = function () { |
| | | this.animationInstance && this.animationInstance.stop(); |
| | | }; |
| | | |
| | | uCharts.prototype.addEventListener = function (type, listener) { |
| | | this.uevent.addEventListener(type, listener); |
| | | }; |
| | | |
| | | uCharts.prototype.delEventListener = function (type) { |
| | | this.uevent.delEventListener(type); |
| | | }; |
| | | |
| | | uCharts.prototype.getCurrentDataIndex = function (e) { |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | if (this.opts.type === 'pie' || this.opts.type === 'ring') { |
| | | return findPieChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.pieData, this.opts); |
| | | } else if (this.opts.type === 'rose') { |
| | | return findRoseChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.pieData, this.opts); |
| | | } else if (this.opts.type === 'radar') { |
| | | return findRadarChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.radarData, this.opts.categories.length); |
| | | } else if (this.opts.type === 'funnel') { |
| | | return findFunnelChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.funnelData); |
| | | } else if (this.opts.type === 'map') { |
| | | return findMapChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts); |
| | | } else if (this.opts.type === 'word') { |
| | | return findWordChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.wordCloudData); |
| | | } else if (this.opts.type === 'bar') { |
| | | return findBarChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.calPoints, this.opts, this.config, Math.abs(this.scrollOption.currentOffset)); |
| | | } else { |
| | | return findCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.calPoints, this.opts, this.config, Math.abs(this.scrollOption.currentOffset)); |
| | | } |
| | | } |
| | | return -1; |
| | | }; |
| | | |
| | | uCharts.prototype.getLegendDataIndex = function (e) { |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | return findLegendIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.legendData); |
| | | } |
| | | return -1; |
| | | }; |
| | | |
| | | uCharts.prototype.touchLegend = function (e) { |
| | | var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | var index = this.getLegendDataIndex(e); |
| | | if (index >= 0) { |
| | | if (this.opts.type == 'candle') { |
| | | this.opts.seriesMA[index].show = !this.opts.seriesMA[index].show; |
| | | } else { |
| | | this.opts.series[index].show = !this.opts.series[index].show; |
| | | } |
| | | this.opts.animation = option.animation ? true : false; |
| | | this.opts._scrollDistance_ = this.scrollOption.currentOffset; |
| | | drawCharts.call(this, this.opts.type, this.opts, this.config, this.context); |
| | | } |
| | | } |
| | | |
| | | }; |
| | | |
| | | uCharts.prototype.showToolTip = function (e) {var _this3 = this; |
| | | var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (!touches) { |
| | | __f__("log", "[uCharts] 未获取到event坐标信息", " at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046"); |
| | | } |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset, |
| | | animation: false }); |
| | | |
| | | if (this.opts.type === 'line' || this.opts.type === 'area' || this.opts.type === 'column' || this.opts.type === 'scatter' || this.opts.type === 'bubble') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1 || index.length > 0) { |
| | | var seriesData = getSeriesDataItem(this.opts.series, index, current.group); |
| | | if (seriesData.length !== 0) { |
| | | var _getToolTipData = getToolTipData(seriesData, this.opts, index, current.group, this.opts.categories, option), |
| | | textList = _getToolTipData.textList, |
| | | offset = _getToolTipData.offset; |
| | | offset.y = _touches$.y; |
| | | opts.tooltip = { |
| | | textList: option.textList !== undefined ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'mount') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e).index : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = assign({}, opts._series_[index]); |
| | | var textList = [{ |
| | | text: option.formatter ? option.formatter(seriesData, undefined, index, opts) : seriesData.name + ': ' + seriesData.data, |
| | | color: seriesData.color }]; |
| | | |
| | | var offset = { |
| | | x: opts.chartData.calPoints[index].x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'bar') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1 || index.length > 0) { |
| | | var seriesData = getSeriesDataItem(this.opts.series, index, current.group); |
| | | if (seriesData.length !== 0) { |
| | | var _getToolTipData = getToolTipData(seriesData, this.opts, index, current.group, this.opts.categories, option), |
| | | textList = _getToolTipData.textList, |
| | | offset = _getToolTipData.offset; |
| | | offset.x = _touches$.x; |
| | | opts.tooltip = { |
| | | textList: option.textList !== undefined ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'mix') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1) { |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset, |
| | | animation: false }); |
| | | |
| | | var seriesData = getSeriesDataItem(this.opts.series, index); |
| | | if (seriesData.length !== 0) { |
| | | var _getMixToolTipData = getMixToolTipData(seriesData, this.opts, index, this.opts.categories, option), |
| | | textList = _getMixToolTipData.textList, |
| | | offset = _getMixToolTipData.offset; |
| | | offset.y = _touches$.y; |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'candle') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1) { |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset, |
| | | animation: false }); |
| | | |
| | | var seriesData = getSeriesDataItem(this.opts.series, index); |
| | | if (seriesData.length !== 0) { |
| | | var _getToolTipData = getCandleToolTipData(this.opts.series[0].data, seriesData, this.opts, index, this.opts.categories, this.opts.extra.candle, option), |
| | | textList = _getToolTipData.textList, |
| | | offset = _getToolTipData.offset; |
| | | offset.y = _touches$.y; |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'pie' || this.opts.type === 'ring' || this.opts.type === 'rose' || this.opts.type === 'funnel') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = assign({}, opts._series_[index]); |
| | | var textList = [{ |
| | | text: option.formatter ? option.formatter(seriesData, undefined, index, opts) : seriesData.name + ': ' + seriesData.data, |
| | | color: seriesData.color }]; |
| | | |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'map') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = assign({}, this.opts.series[index]); |
| | | seriesData.name = seriesData.properties.name; |
| | | var textList = [{ |
| | | text: option.formatter ? option.formatter(seriesData, undefined, index, this.opts) : seriesData.name, |
| | | color: seriesData.color }]; |
| | | |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | opts.updateData = false; |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'word') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = assign({}, this.opts.series[index]); |
| | | var textList = [{ |
| | | text: option.formatter ? option.formatter(seriesData, undefined, index, this.opts) : seriesData.name, |
| | | color: seriesData.color }]; |
| | | |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | opts.updateData = false; |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'radar') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = getSeriesDataItem(this.opts.series, index); |
| | | if (seriesData.length !== 0) { |
| | | var textList = seriesData.map(function (item) { |
| | | return { |
| | | text: option.formatter ? option.formatter(item, _this3.opts.categories[index], index, _this3.opts) : item.name + ': ' + item.data, |
| | | color: item.color }; |
| | | |
| | | }); |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | }; |
| | | |
| | | uCharts.prototype.translate = function (distance) { |
| | | this.scrollOption = { |
| | | currentOffset: distance, |
| | | startTouchX: distance, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: distance, |
| | | animation: false }); |
| | | |
| | | drawCharts.call(this, this.opts.type, opts, this.config, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.scrollStart = function (e) { |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | if (touches && this.opts.enableScroll === true) { |
| | | this.scrollOption.startTouchX = _touches$.x; |
| | | } |
| | | }; |
| | | |
| | | uCharts.prototype.scroll = function (e) { |
| | | if (this.scrollOption.lastMoveTime === 0) { |
| | | this.scrollOption.lastMoveTime = Date.now(); |
| | | } |
| | | var Limit = this.opts.touchMoveLimit || 60; |
| | | var currMoveTime = Date.now(); |
| | | var duration = currMoveTime - this.scrollOption.lastMoveTime; |
| | | if (duration < Math.floor(1000 / Limit)) return; |
| | | if (this.scrollOption.startTouchX == 0) return; |
| | | this.scrollOption.lastMoveTime = currMoveTime; |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches && this.opts.enableScroll === true) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | var _distance; |
| | | _distance = _touches$.x - this.scrollOption.startTouchX; |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var validDistance = calValidDistance(this, currentOffset + _distance, this.opts.chartData, this.config, this.opts); |
| | | this.scrollOption.distance = _distance = validDistance - currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset + _distance, |
| | | animation: false }); |
| | | |
| | | this.opts = opts; |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | return currentOffset + _distance; |
| | | } |
| | | }; |
| | | |
| | | uCharts.prototype.scrollEnd = function (e) { |
| | | if (this.opts.enableScroll === true) { |
| | | var _scrollOption = this.scrollOption, |
| | | currentOffset = _scrollOption.currentOffset, |
| | | distance = _scrollOption.distance; |
| | | this.scrollOption.currentOffset = currentOffset + distance; |
| | | this.scrollOption.distance = 0; |
| | | this.scrollOption.moveCount = 0; |
| | | } |
| | | };var _default = |
| | | |
| | | uCharts;exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 81)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 81 */ |
| | | /*!*********************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js ***! |
| | | \*********************************************************************/ |
| | | /*! exports provided: log, default */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "log", function() { return log; }); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatLog; }); |
| | | function typof (v) { |
| | | var s = Object.prototype.toString.call(v) |
| | | return s.substring(8, s.length - 1) |
| | | } |
| | | |
| | | function isDebugMode () { |
| | | /* eslint-disable no-undef */ |
| | | return typeof __channelId__ === 'string' && __channelId__ |
| | | } |
| | | |
| | | function jsonStringifyReplacer (k, p) { |
| | | switch (typof(p)) { |
| | | case 'Function': |
| | | return 'function() { [native code] }' |
| | | default : |
| | | return p |
| | | } |
| | | } |
| | | |
| | | function log (type) { |
| | | for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { |
| | | args[_key - 1] = arguments[_key] |
| | | } |
| | | console[type].apply(console, args) |
| | | } |
| | | |
| | | function formatLog () { |
| | | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| | | args[_key] = arguments[_key] |
| | | } |
| | | var type = args.shift() |
| | | if (isDebugMode()) { |
| | | args.push(args.pop().replace('at ', 'uni-app:///')) |
| | | return console[type].apply(console, args) |
| | | } |
| | | |
| | | var msgs = args.map(function (v) { |
| | | var type = Object.prototype.toString.call(v).toLowerCase() |
| | | |
| | | if (type === '[object object]' || type === '[object array]') { |
| | | try { |
| | | v = '---BEGIN:JSON---' + JSON.stringify(v, jsonStringifyReplacer) + '---END:JSON---' |
| | | } catch (e) { |
| | | v = type |
| | | } |
| | | } else { |
| | | if (v === null) { |
| | | v = '---NULL---' |
| | | } else if (v === undefined) { |
| | | v = '---UNDEFINED---' |
| | | } else { |
| | | var vType = typof(v).toUpperCase() |
| | | |
| | | if (vType === 'NUMBER' || vType === 'BOOLEAN') { |
| | | v = '---BEGIN:' + vType + '---' + v + '---END:' + vType + '---' |
| | | } else { |
| | | v = String(v) |
| | | } |
| | | } |
| | | } |
| | | |
| | | return v |
| | | }) |
| | | var msg = '' |
| | | |
| | | if (msgs.length > 1) { |
| | | var lastMsg = msgs.pop() |
| | | msg = msgs.join('---COMMA---') |
| | | |
| | | if (lastMsg.indexOf(' at ') === 0) { |
| | | msg += lastMsg |
| | | } else { |
| | | msg += '---COMMA---' + lastMsg |
| | | } |
| | | } else { |
| | | msg = msgs[0] |
| | | } |
| | | |
| | | console[type](msg) |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | /* 82 */ |
| | | /*!**********************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js ***! |
| | | \**********************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* |
| | | * uCharts® |
| | | * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台 |
| | | * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved. |
| | | * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) |
| | | * 复制使用请保留本段注释,感谢支持开源! |
| | | * |
| | | * uCharts®官方网站 |
| | | * https://www.uCharts.cn |
| | | * |
| | | * 开源地址: |
| | | * https://gitee.com/uCharts/uCharts |
| | | * |
| | | * uni-app插件市场地址: |
| | | * http://ext.dcloud.net.cn/plugin?id=271 |
| | | * |
| | | */ |
| | | |
| | | // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性 |
| | | var color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc']; |
| | | |
| | | //事件转换函数,主要用作格式化x轴为时间轴,根据需求自行修改 |
| | | var formatDateTime = function formatDateTime(timeStamp, returnType) { |
| | | var date = new Date(); |
| | | date.setTime(timeStamp * 1000); |
| | | var y = date.getFullYear(); |
| | | var m = date.getMonth() + 1; |
| | | m = m < 10 ? '0' + m : m; |
| | | var d = date.getDate(); |
| | | d = d < 10 ? '0' + d : d; |
| | | var h = date.getHours(); |
| | | h = h < 10 ? '0' + h : h; |
| | | var minute = date.getMinutes(); |
| | | var second = date.getSeconds(); |
| | | minute = minute < 10 ? '0' + minute : minute; |
| | | second = second < 10 ? '0' + second : second; |
| | | if (returnType == 'full') {return y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second;} |
| | | if (returnType == 'y-m-d') {return y + '-' + m + '-' + d;} |
| | | if (returnType == 'h:m') {return h + ':' + minute;} |
| | | if (returnType == 'h:m:s') {return h + ':' + minute + ':' + second;} |
| | | return [y, m, d, h, minute, second]; |
| | | }; |
| | | |
| | | var cfu = { |
| | | //demotype为自定义图表类型,一般不需要自定义图表类型,只需要改根节点上对应的类型即可 |
| | | "type": ["pie", "ring", "rose", "word", "funnel", "map", "arcbar", "line", "column", "mount", "bar", "area", "radar", "gauge", "candle", "mix", "tline", "tarea", "scatter", "bubble", "demotype"], |
| | | "range": ["饼状图", "圆环图", "玫瑰图", "词云图", "漏斗图", "地图", "圆弧进度条", "折线图", "柱状图", "山峰图", "条状图", "区域图", "雷达图", "仪表盘", "K线图", "混合图", "时间轴折线", "时间轴区域", "散点图", "气泡图", "自定义类型"], |
| | | //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型,例如最后的"demotype" |
| | | //自定义类型时需要注意"tline","tarea","scatter","bubble"等时间轴(矢量x轴)类图表,没有categories,不需要加入categories |
| | | "categories": ["line", "column", "mount", "bar", "area", "radar", "gauge", "candle", "mix", "demotype"], |
| | | //instance为实例变量承载属性,不要删除 |
| | | "instance": {}, |
| | | //option为opts及eopts承载属性,不要删除 |
| | | "option": {}, |
| | | //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换 |
| | | "formatter": { |
| | | "yAxisDemo1": function yAxisDemo1(val, index, opts) {return val + '元';}, |
| | | "yAxisDemo2": function yAxisDemo2(val, index, opts) {return val.toFixed(2);}, |
| | | "xAxisDemo1": function xAxisDemo1(val, index, opts) {return val + '年';}, |
| | | "xAxisDemo2": function xAxisDemo2(val, index, opts) {return formatDateTime(val, 'h:m');}, |
| | | "seriesDemo1": function seriesDemo1(val, index, series, opts) {return val + '元';}, |
| | | "tooltipDemo1": function tooltipDemo1(item, category, index, opts) { |
| | | if (index == 0) { |
| | | return '随便用' + item.data + '年'; |
| | | } else { |
| | | return '其他我没改' + item.data + '天'; |
| | | } |
| | | }, |
| | | "pieDemo": function pieDemo(val, index, series, opts) { |
| | | if (index !== undefined) { |
| | | return series[index].name + ':' + series[index].data + '元'; |
| | | } |
| | | } }, |
| | | |
| | | //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在opts参数,会将demotype与opts中option合并后渲染图表。 |
| | | "demotype": { |
| | | //我这里把曲线图当做了自定义图表类型,您可以根据需要随意指定类型或配置 |
| | | "type": "line", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2 }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "line": { |
| | | "type": "curve", |
| | | "width": 2 } } }, |
| | | |
| | | |
| | | |
| | | //下面是自定义配置,请添加项目所需的通用配置 |
| | | "pie": { |
| | | "type": "pie", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "extra": { |
| | | "pie": { |
| | | "activeOpacity": 0.5, |
| | | "activeRadius": 10, |
| | | "offsetAngle": 0, |
| | | "labelWidth": 15, |
| | | "border": true, |
| | | "borderWidth": 3, |
| | | "borderColor": "#FFFFFF" } } }, |
| | | |
| | | |
| | | |
| | | "ring": { |
| | | "type": "ring", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "rotate": false, |
| | | "dataLabel": true, |
| | | "legend": { |
| | | "show": true, |
| | | "position": "right", |
| | | "lineHeight": 25 }, |
| | | |
| | | "title": { |
| | | "name": "收益率", |
| | | "fontSize": 15, |
| | | "color": "#666666" }, |
| | | |
| | | "subtitle": { |
| | | "name": "70%", |
| | | "fontSize": 25, |
| | | "color": "#7cb5ec" }, |
| | | |
| | | "extra": { |
| | | "ring": { |
| | | "ringWidth": 30, |
| | | "activeOpacity": 0.5, |
| | | "activeRadius": 10, |
| | | "offsetAngle": 0, |
| | | "labelWidth": 15, |
| | | "border": true, |
| | | "borderWidth": 3, |
| | | "borderColor": "#FFFFFF" } } }, |
| | | |
| | | |
| | | |
| | | "rose": { |
| | | "type": "rose", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "legend": { |
| | | "show": true, |
| | | "position": "left", |
| | | "lineHeight": 25 }, |
| | | |
| | | "extra": { |
| | | "rose": { |
| | | "type": "area", |
| | | "minRadius": 50, |
| | | "activeOpacity": 0.5, |
| | | "activeRadius": 10, |
| | | "offsetAngle": 0, |
| | | "labelWidth": 15, |
| | | "border": false, |
| | | "borderWidth": 2, |
| | | "borderColor": "#FFFFFF" } } }, |
| | | |
| | | |
| | | |
| | | "word": { |
| | | "type": "word", |
| | | "color": color, |
| | | "extra": { |
| | | "word": { |
| | | "type": "normal", |
| | | "autoColors": false } } }, |
| | | |
| | | |
| | | |
| | | "funnel": { |
| | | "type": "funnel", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "extra": { |
| | | "funnel": { |
| | | "activeOpacity": 0.3, |
| | | "activeWidth": 10, |
| | | "border": true, |
| | | "borderWidth": 2, |
| | | "borderColor": "#FFFFFF", |
| | | "fillOpacity": 1, |
| | | "labelAlign": "right" } } }, |
| | | |
| | | |
| | | |
| | | "map": { |
| | | "type": "map", |
| | | "color": color, |
| | | "padding": [0, 0, 0, 0], |
| | | "dataLabel": true, |
| | | "extra": { |
| | | "map": { |
| | | "border": true, |
| | | "borderWidth": 1, |
| | | "borderColor": "#666666", |
| | | "fillOpacity": 0.6, |
| | | "activeBorderColor": "#F04864", |
| | | "activeFillColor": "#FACC14", |
| | | "activeFillOpacity": 1 } } }, |
| | | |
| | | |
| | | |
| | | "arcbar": { |
| | | "type": "arcbar", |
| | | "color": color, |
| | | "title": { |
| | | "name": "百分比", |
| | | "fontSize": 25, |
| | | "color": "#00FF00" }, |
| | | |
| | | "subtitle": { |
| | | "name": "默认标题", |
| | | "fontSize": 15, |
| | | "color": "#666666" }, |
| | | |
| | | "extra": { |
| | | "arcbar": { |
| | | "type": "default", |
| | | "width": 12, |
| | | "backgroundColor": "#E9E9E9", |
| | | "startAngle": 0.75, |
| | | "endAngle": 0.25, |
| | | "gap": 2 } } }, |
| | | |
| | | |
| | | |
| | | "line": { |
| | | "type": "line", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2 }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "line": { |
| | | "type": "straight", |
| | | "width": 2 } } }, |
| | | |
| | | |
| | | |
| | | "tline": { |
| | | "type": "line", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": false, |
| | | "boundaryGap": "justify" }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2, |
| | | "data": [ |
| | | { |
| | | "min": 0, |
| | | "max": 80 }] }, |
| | | |
| | | |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "line": { |
| | | "type": "curve", |
| | | "width": 2 } } }, |
| | | |
| | | |
| | | |
| | | "tarea": { |
| | | "type": "area", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true, |
| | | "boundaryGap": "justify" }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2, |
| | | "data": [ |
| | | { |
| | | "min": 0, |
| | | "max": 80 }] }, |
| | | |
| | | |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "area": { |
| | | "type": "curve", |
| | | "opacity": 0.2, |
| | | "addLine": true, |
| | | "width": 2, |
| | | "gradient": true } } }, |
| | | |
| | | |
| | | |
| | | "column": { |
| | | "type": "column", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 5], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "data": [{ "min": 0 }] }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "column": { |
| | | "type": "group", |
| | | "width": 30, |
| | | "activeBgColor": "#000000", |
| | | "activeBgOpacity": 0.08 } } }, |
| | | |
| | | |
| | | |
| | | "mount": { |
| | | "type": "mount", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 5], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "data": [{ "min": 0 }] }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "mount": { |
| | | "type": "mount", |
| | | "widthRatio": 1.5 } } }, |
| | | |
| | | |
| | | |
| | | "bar": { |
| | | "type": "bar", |
| | | "color": color, |
| | | "padding": [15, 30, 0, 5], |
| | | "xAxis": { |
| | | "boundaryGap": "justify", |
| | | "disableGrid": false, |
| | | "min": 0, |
| | | "axisLine": false }, |
| | | |
| | | "yAxis": {}, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "bar": { |
| | | "type": "group", |
| | | "width": 30, |
| | | "meterBorde": 1, |
| | | "meterFillColor": "#FFFFFF", |
| | | "activeBgColor": "#000000", |
| | | "activeBgOpacity": 0.08 } } }, |
| | | |
| | | |
| | | |
| | | "area": { |
| | | "type": "area", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2 }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "area": { |
| | | "type": "straight", |
| | | "opacity": 0.2, |
| | | "addLine": true, |
| | | "width": 2, |
| | | "gradient": false } } }, |
| | | |
| | | |
| | | |
| | | "radar": { |
| | | "type": "radar", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "dataLabel": false, |
| | | "legend": { |
| | | "show": true, |
| | | "position": "right", |
| | | "lineHeight": 25 }, |
| | | |
| | | "extra": { |
| | | "radar": { |
| | | "gridType": "radar", |
| | | "gridColor": "#CCCCCC", |
| | | "gridCount": 3, |
| | | "opacity": 0.2, |
| | | "max": 200 } } }, |
| | | |
| | | |
| | | |
| | | "gauge": { |
| | | "type": "gauge", |
| | | "color": color, |
| | | "title": { |
| | | "name": "66Km/H", |
| | | "fontSize": 25, |
| | | "color": "#2fc25b", |
| | | "offsetY": 50 }, |
| | | |
| | | "subtitle": { |
| | | "name": "实时速度", |
| | | "fontSize": 15, |
| | | "color": "#1890ff", |
| | | "offsetY": -50 }, |
| | | |
| | | "extra": { |
| | | "gauge": { |
| | | "type": "default", |
| | | "width": 30, |
| | | "labelColor": "#666666", |
| | | "startAngle": 0.75, |
| | | "endAngle": 0.25, |
| | | "startNumber": 0, |
| | | "endNumber": 100, |
| | | "labelFormat": "", |
| | | "splitLine": { |
| | | "fixRadius": 0, |
| | | "splitNumber": 10, |
| | | "width": 30, |
| | | "color": "#FFFFFF", |
| | | "childNumber": 5, |
| | | "childWidth": 12 }, |
| | | |
| | | "pointer": { |
| | | "width": 24, |
| | | "color": "auto" } } } }, |
| | | |
| | | |
| | | |
| | | |
| | | "candle": { |
| | | "type": "candle", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "enableScroll": true, |
| | | "enableMarkLine": true, |
| | | "dataLabel": false, |
| | | "xAxis": { |
| | | "labelCount": 4, |
| | | "itemCount": 40, |
| | | "disableGrid": true, |
| | | "gridColor": "#CCCCCC", |
| | | "gridType": "solid", |
| | | "dashLength": 4, |
| | | "scrollShow": true, |
| | | "scrollAlign": "left", |
| | | "scrollColor": "#A6A6A6", |
| | | "scrollBackgroundColor": "#EFEBEF" }, |
| | | |
| | | "yAxis": {}, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "candle": { |
| | | "color": { |
| | | "upLine": "#f04864", |
| | | "upFill": "#f04864", |
| | | "downLine": "#2fc25b", |
| | | "downFill": "#2fc25b" }, |
| | | |
| | | "average": { |
| | | "show": true, |
| | | "name": ["MA5", "MA10", "MA30"], |
| | | "day": [5, 10, 20], |
| | | "color": ["#1890ff", "#2fc25b", "#facc14"] } }, |
| | | |
| | | |
| | | "markLine": { |
| | | "type": "dash", |
| | | "dashLength": 5, |
| | | "data": [ |
| | | { |
| | | "value": 2150, |
| | | "lineColor": "#f04864", |
| | | "showLabel": true }, |
| | | |
| | | { |
| | | "value": 2350, |
| | | "lineColor": "#f04864", |
| | | "showLabel": true }] } } }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | "mix": { |
| | | "type": "mix", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "disabled": false, |
| | | "disableGrid": false, |
| | | "splitNumber": 5, |
| | | "gridType": "dash", |
| | | "dashLength": 4, |
| | | "gridColor": "#CCCCCC", |
| | | "padding": 10, |
| | | "showTitle": true, |
| | | "data": [] }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "mix": { |
| | | "column": { |
| | | "width": 20 } } } }, |
| | | |
| | | |
| | | |
| | | |
| | | "scatter": { |
| | | "type": "scatter", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "dataLabel": false, |
| | | "xAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash", |
| | | "splitNumber": 5, |
| | | "boundaryGap": "justify", |
| | | "min": 0 }, |
| | | |
| | | "yAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash" }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "scatter": {} } }, |
| | | |
| | | |
| | | |
| | | "bubble": { |
| | | "type": "bubble", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash", |
| | | "splitNumber": 5, |
| | | "boundaryGap": "justify", |
| | | "min": 0, |
| | | "max": 250 }, |
| | | |
| | | "yAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash", |
| | | "data": [{ |
| | | "min": 0, |
| | | "max": 150 }] }, |
| | | |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "bubble": { |
| | | "border": 2, |
| | | "opacity": 0.5 } } } };var _default = |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | cfu;exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 83 */ |
| | | /*!**********************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js ***! |
| | | \**********************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* |
| | | * uCharts® |
| | | * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台 |
| | | * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved. |
| | | * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) |
| | | * 复制使用请保留本段注释,感谢支持开源! |
| | | * |
| | | * uCharts®官方网站 |
| | | * https://www.uCharts.cn |
| | | * |
| | | * 开源地址: |
| | | * https://gitee.com/uCharts/uCharts |
| | | * |
| | | * uni-app插件市场地址: |
| | | * http://ext.dcloud.net.cn/plugin?id=271 |
| | | * |
| | | */ |
| | | |
| | | // 通用配置项 |
| | | |
| | | // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性 |
| | | var color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc']; |
| | | |
| | | var cfe = { |
| | | //demotype为自定义图表类型 |
| | | "type": ["pie", "ring", "rose", "funnel", "line", "column", "area", "radar", "gauge", "candle", "demotype"], |
| | | //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型例如最后的"demotype" |
| | | "categories": ["line", "column", "area", "radar", "gauge", "candle", "demotype"], |
| | | //instance为实例变量承载属性,option为eopts承载属性,不要删除 |
| | | "instance": {}, |
| | | "option": {}, |
| | | //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换 |
| | | "formatter": { |
| | | "tooltipDemo1": function tooltipDemo1(res) { |
| | | var result = ''; |
| | | for (var i in res) { |
| | | if (i == 0) { |
| | | result += res[i].axisValueLabel + '年销售额'; |
| | | } |
| | | var value = '--'; |
| | | if (res[i].data !== null) { |
| | | value = res[i].data; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | result += '<br/>' + res[i].marker + res[i].seriesName + ':' + value + ' 万元'; |
| | | |
| | | } |
| | | return result; |
| | | }, |
| | | legendFormat: function legendFormat(name) { |
| | | return "自定义图例+" + name; |
| | | }, |
| | | yAxisFormatDemo: function yAxisFormatDemo(value, index) { |
| | | return value + '元'; |
| | | }, |
| | | seriesFormatDemo: function seriesFormatDemo(res) { |
| | | return res.name + '年' + res.value + '元'; |
| | | } }, |
| | | |
| | | //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在eopts参数,会将demotype与eopts中option合并后渲染图表。 |
| | | "demotype": { |
| | | "color": color |
| | | //在这里填写echarts的option即可 |
| | | }, |
| | | |
| | | //下面是自定义配置,请添加项目所需的通用配置 |
| | | "column": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'axis' }, |
| | | |
| | | "grid": { |
| | | "top": 30, |
| | | "bottom": 50, |
| | | "right": 15, |
| | | "left": 40 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left' }, |
| | | |
| | | "toolbox": { |
| | | "show": false }, |
| | | |
| | | "xAxis": { |
| | | "type": 'category', |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } }, |
| | | |
| | | |
| | | "boundaryGap": true, |
| | | "data": [] }, |
| | | |
| | | "yAxis": { |
| | | "type": 'value', |
| | | "axisTick": { |
| | | "show": false }, |
| | | |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } } }, |
| | | |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'bar', |
| | | "data": [], |
| | | "barwidth": 20, |
| | | "label": { |
| | | "show": true, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "line": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'axis' }, |
| | | |
| | | "grid": { |
| | | "top": 30, |
| | | "bottom": 50, |
| | | "right": 15, |
| | | "left": 40 }, |
| | | |
| | | "legend": { |
| | | "top": 'left', |
| | | "textStyle": { |
| | | "color": '#cccccc' } }, |
| | | |
| | | |
| | | "toolbox": { |
| | | "show": false }, |
| | | |
| | | "xAxis": { |
| | | "type": 'category', |
| | | "axisLabel": { |
| | | "color": '#CCCCCC' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } }, |
| | | |
| | | |
| | | "boundaryGap": false, |
| | | "data": [] }, |
| | | |
| | | "yAxis": { |
| | | "type": 'value', |
| | | "axisTick": { |
| | | "show": false }, |
| | | |
| | | "axisLabel": { |
| | | "color": '#CCCCCC' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } } }, |
| | | |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'line', |
| | | "data": [], |
| | | "barwidth": 20, |
| | | "label": { |
| | | "show": false, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "area": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'axis' }, |
| | | |
| | | "grid": { |
| | | "top": 30, |
| | | "bottom": 50, |
| | | "right": 15, |
| | | "left": 40 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left' }, |
| | | |
| | | "toolbox": { |
| | | "show": false }, |
| | | |
| | | "xAxis": { |
| | | "type": 'category', |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } }, |
| | | |
| | | |
| | | "boundaryGap": true, |
| | | "data": [] }, |
| | | |
| | | "yAxis": { |
| | | "type": 'value', |
| | | "axisTick": { |
| | | "show": false }, |
| | | |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } } }, |
| | | |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'line', |
| | | "data": [], |
| | | "areaStyle": {}, |
| | | "label": { |
| | | "show": true, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "pie": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item' }, |
| | | |
| | | "grid": { |
| | | "top": 40, |
| | | "bottom": 30, |
| | | "right": 15, |
| | | "left": 15 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'pie', |
| | | "data": [], |
| | | "radius": '50%', |
| | | "label": { |
| | | "show": true, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "ring": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item' }, |
| | | |
| | | "grid": { |
| | | "top": 40, |
| | | "bottom": 30, |
| | | "right": 15, |
| | | "left": 15 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left', |
| | | "textStyle": { |
| | | "color": '#cccccc' } }, |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'pie', |
| | | "data": [], |
| | | "radius": ['30%', '60%'], |
| | | "avoidLabelOverlap": false, |
| | | "label": { |
| | | "show": false, |
| | | "color": "#FFF", |
| | | "position": 'top' }, |
| | | |
| | | "labelLine": { |
| | | "show": true } } }, |
| | | |
| | | |
| | | |
| | | "rose": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item' }, |
| | | |
| | | "legend": { |
| | | "top": 'bottom' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'pie', |
| | | "data": [], |
| | | "radius": "55%", |
| | | "center": ['50%', '50%'], |
| | | "roseType": 'area' } }, |
| | | |
| | | |
| | | "funnel": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item', |
| | | "formatter": "{b} : {c}%" }, |
| | | |
| | | "legend": { |
| | | "top": 'bottom' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'funnel', |
| | | "left": '10%', |
| | | "top": 60, |
| | | "bottom": 60, |
| | | "width": '80%', |
| | | "min": 0, |
| | | "max": 100, |
| | | "minSize": '0%', |
| | | "maxSize": '100%', |
| | | "sort": 'descending', |
| | | "gap": 2, |
| | | "label": { |
| | | "show": true, |
| | | "position": 'inside' }, |
| | | |
| | | "labelLine": { |
| | | "length": 10, |
| | | "lineStyle": { |
| | | "width": 1, |
| | | "type": 'solid' } }, |
| | | |
| | | |
| | | "itemStyle": { |
| | | "bordercolor": '#fff', |
| | | "borderwidth": 1 }, |
| | | |
| | | "emphasis": { |
| | | "label": { |
| | | "fontSize": 20 } }, |
| | | |
| | | |
| | | "data": [] } }, |
| | | |
| | | |
| | | "gauge": { |
| | | "color": color, |
| | | "tooltip": { |
| | | "formatter": '{a} <br/>{b} : {c}%' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '业务指标', |
| | | "type": 'gauge', |
| | | "detail": { "formatter": '{value}%' }, |
| | | "data": [{ "value": 50, "name": '完成率' }] } }, |
| | | |
| | | |
| | | "candle": { |
| | | "xAxis": { |
| | | "data": [] }, |
| | | |
| | | "yAxis": {}, |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "dataZoom": [{ |
| | | "type": 'inside', |
| | | "xAxisIndex": [0, 1], |
| | | "start": 10, |
| | | "end": 100 }, |
| | | |
| | | { |
| | | "show": true, |
| | | "xAxisIndex": [0, 1], |
| | | "type": 'slider', |
| | | "bottom": 10, |
| | | "start": 10, |
| | | "end": 100 }], |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'k', |
| | | "data": [] } } };var _default = |
| | | |
| | | |
| | | |
| | | |
| | | cfe;exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 84 */ |
| | | /*!**************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=script&lang=js& */ 85); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 85 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "qiun-data-charts", props: ["type", "canvasId", "canvas2d", "background", "animation", "chartData", "opts", "eopts", "loadingType", "errorShow", "errorReload", "errorMessage", "inScrollView", "reshow", "reload", "disableScroll", "optsWatch", "onzoom", "ontap", "ontouch", "onmouse", "onmovetip", "echartsH5", "echartsApp", "tooltipShow", "tooltipFormat", "tooltipCustom", "startDate", "endDate", "textEnum", "groupEnum", "pageScrollTop", "directory", "tapLegend", "menus"], |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 86 */ |
| | | /*!**********************************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& */ 87); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 87 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& */ 88); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("cdb46eb0", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 88 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.chartsview[data-v-fe947b98] {\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n flex: 1;\r\n justify-content: center;\r\n align-items: center;\n}\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 89 */ |
| | | /*!***************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/pages/home/home.vue?vue&type=script&lang=js&mpType=page ***! |
| | | \***************************************************************************************************/ |
| | |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./home.vue?vue&type=script&lang=js&mpType=page */ 23); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./home.vue?vue&type=script&lang=js&mpType=page */ 90); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 23 */ |
| | | /* 90 */ |
| | | /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/pages/home/home.vue?vue&type=script&lang=js&mpType=page ***! |
| | | \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 24 */ |
| | | /* 91 */ |
| | | /*!***********************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/pages/home/home.vue?vue&type=style&index=0&lang=css&mpType=page ***! |
| | | \***********************************************************************************************************/ |
| | |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./home.vue?vue&type=style&index=0&lang=css&mpType=page */ 25); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./home.vue?vue&type=style&index=0&lang=css&mpType=page */ 92); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_home_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 25 */ |
| | | /* 92 */ |
| | | /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/pages/home/home.vue?vue&type=style&index=0&lang=css&mpType=page ***! |
| | | \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./home.vue?vue&type=style&index=0&lang=css&mpType=page */ 26); |
| | | var content = __webpack_require__(/*! !../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./home.vue?vue&type=style&index=0&lang=css&mpType=page */ 93); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 26 */ |
| | | /* 93 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/pages/home/home.vue?vue&type=style&index=0&lang=css&mpType=page ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/app-plus/getUrl.js */ 27); |
| | | var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! ../../static/background.png */ 28); |
| | | var ___CSS_LOADER_URL_IMPORT_1___ = __webpack_require__(/*! ../../static/right.png */ 29); |
| | | var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/app-plus/getUrl.js */ 94); |
| | | var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! ../../static/background.png */ 95); |
| | | var ___CSS_LOADER_URL_IMPORT_1___ = __webpack_require__(/*! ../../static/right.png */ 96); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); |
| | | var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___); |
| | | // Module |
| | | exports.push([module.i, "/* @media (max-width: 1900px) {\n\tview {\n\t\tfont-size: 100px;\n\t}\n}\n@media (max-width: 1400px) {\n\tview {\n\t\tfont-size: 25px;\n\t}\n}\n@media (max-width: 1200px) {\n\tview {\n\t\tfont-size: 20px;\n\t}\n}\n@media (max-width: 992px) {\n\tview {\n\t\tfont-size: 12px;\n\t}\n}\n@media (max-width: 768px) {\n\tview {\n\t\tfont-size: 10px;\n\t}\n} */\n.container{\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-color: blue;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tcolor: #fff;\n}\n/* 主视图 */\n.home-view {\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n\tbackground-size: 100vw 100vh;\n}\n.home-right {\n\twidth: 50vw;\n\theight: 89vh;\n\t/* background-color: cadetblue; */\n}\n.home-right-box {\n\twidth: 98%;\n\theight: 98%;\n}\n.head {\n\twidth: 100vw;\n\theight: 11vh;\n\tfont-size:4vw;\n\tfont-weight: 700;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\t-webkit-transform: scale(0.7);\n\t transform: scale(0.7);\n}\n.time-tools {\n\tposition: absolute;\n\tright: 2%;\n\ttop: 2%;\n\tfont-size:1vw;\n\t-webkit-transform: scale(0.8);\n\t transform: scale(0.8);\n}\n.button-left {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 21.3%;\n\twidth: 13.5%;\n\theight: 8.5%;\n\t-webkit-transform: scaleX(-1);\n\t transform: scaleX(-1);\n}\n.button-right {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 65%;\n\twidth: 13.5%;\n\theight: 8.5%;\n}\n/* 共用 */\n.main {\n\twidth: 100vw;\n\theight: 88vh;\n\tmargin-top: 1vh;\n\tdisplay: flex;\n}\n.mian-item {\n\twidth: 50%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n}\n.mian-item-box {\n\twidth: 98%;\n\theight: 98%;\n}\n.box-item {\n\twidth: 100%;\n\tmargin-top: 2%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: flex-start;\n\tjustify-content: flex-start;\n}\n.item-title {\n\tfont-size:1.5vw;\n\tfont-weight: 700;\n}\n.item-subTitle {\n\tfont-size:0.5vw;\n\ttext-indent: 1em;\n}\n.item-text {\n\tfont-size: 1vw;\n\ttext-indent: 2em;\n\tletter-spacing: 1px;\n}\n.img-box {\n\twidth: 100%;\n\tbackground-color: #666666;\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: flex-start;\n\tflex-wrap: wrap;\n}\n.item-img {\n\twidth: 50%;\n\tmargin-top: 3%;\n\tbackground-color: #00ffff;\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n}\n.item-img uni-image {\n\theight: 5vw;\n\twidth: 5vw;\n}\n/* 全板/拣料信息 */\n.info {\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-color: #666666;\n}\n/* 异常信息 */\n.error-info {\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-color: #00ffff;\n}\n", ""]); |
| | | exports.push([module.i, "/* @media (max-width: 1900px) {\n\tview {\n\t\tfont-size: 100px;\n\t}\n}\n@media (max-width: 1400px) {\n\tview {\n\t\tfont-size: 25px;\n\t}\n}\n@media (max-width: 1200px) {\n\tview {\n\t\tfont-size: 20px;\n\t}\n}\n@media (max-width: 992px) {\n\tview {\n\t\tfont-size: 12px;\n\t}\n}\n@media (max-width: 768px) {\n\tview {\n\t\tfont-size: 10px;\n\t}\n} */\n/* 列 */\n.flex-col {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n/* 行 */\n.flex-row {\n\tdisplay: flex;\n\tflex-direction: row;\n}\n.container{\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-color: #00163E;\n\tcolor: #fff;\n\ttext-align: center;\n}\n/* 主视图 */\n.home-view {\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n\tbackground-size: 100vw 100vh;\n}\n.home-right {\n\twidth: 50vw;\n\theight: 89vh;\n\t/* background-color: cadetblue; */\n}\n.home-right-box {\n\twidth: 98%;\n\theight: 98%;\n}\n.head {\n\twidth: 100vw;\n\theight: 11vh;\n\tfont-size:4vw;\n\tfont-weight: 700;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\t-webkit-transform: scale(0.7);\n\t transform: scale(0.7);\n}\n.time-tools {\n\tposition: absolute;\n\tright: 2%;\n\ttop: 2%;\n\tfont-size:1vw;\n\t-webkit-transform: scale(0.8);\n\t transform: scale(0.8);\n}\n.button-left {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 21.3%;\n\twidth: 13.5%;\n\theight: 8.5%;\n\t-webkit-transform: scaleX(-1);\n\t transform: scaleX(-1);\n}\n.button-right {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 65%;\n\twidth: 13.5%;\n\theight: 8.5%;\n}\n.img-box {\n\twidth: 100%;\n\t/* background-color: #666666; */\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: flex-start;\n\tflex-wrap: wrap;\n\tfont-size: 1vw;\n}\n.item-img {\n\twidth: 50%;\n\tmargin-top: 5%;\n\tdisplay: flex;\n\tflex-direction: row;\n\t/* background-color: #00ffff; */\n\tjustify-content: flex-start;\n\talign-items: flex-start;\n}\n.distance {\n}\n.item-img uni-image {\n\theight: 5vw;\n\twidth: 5vw;\n}\n.progressBar {\n\tmargin-top: 9%;\n\t/* width: 100%; */\n\theight: 20%;\n\tbackground-color: #233751;\n\tborder-radius: 5vw;\n}\n.progress {\n\t/* width: 90%; */\n\theight: 100%;\n\tbackground-color: #FF5722;\n\tborder-radius: 5vw;\n}\n.charts-box {\n width: 80%;\n height: 24vh;\n margin-left: 10%;\n}\n.charts-box-ring {\n\twidth: 50%;\n\theight: 24vh;\n\t/* background-color: #00ffff; */\n}\n.sub-info {\n\tfont-size: 1.5vw;\n}\n.sub-info uni-image {\n\twidth: 3.5vw;\n\theight: 3.5vw;\n}\n/* 共用 */\n.main {\n\twidth: 100vw;\n\theight: 88vh;\n\tmargin-top: 1vh;\n\tdisplay: flex;\n}\n.mian-item {\n\twidth: 50%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n}\n.mian-item-box {\n\twidth: 98%;\n\theight: 98%;\n}\n.box-item {\n\twidth: 100%;\n\tmargin-top: 4%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: flex-start;\n\tjustify-content: flex-start;\n}\n.item-title {\n\tfont-size:1.5vw;\n\tfont-weight: 700;\n}\n.item-subTitle {\n\tfont-size:0.5vw;\n\ttext-indent: 0em;\n}\n.item-text {\n\tfont-size: 1vw;\n\ttext-indent: 2em;\n\tletter-spacing: 1px;\n\tline-height: 3vh;\n}\n/* 全板/拣料信息 */\n.info-view {\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n\tbackground-size: 100vw 100vh;\n}\n.info-main {\n\twidth: 100vw;\n\theight: 88vh;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n}\n.info-box {\n\twidth: 98%;\n\theight: 98%;\n}\n/* 异常信息 */\n.error-info-view {\n\twidth: 100vw;\n\tmin-height: 100vh;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n\tbackground-size: 100vw 100vh;\n}\n/* 弹出:配置区域 */\n.eject-mask {\n\twidth: 100%;\n\theight: 100%;\n\tbackground-color: rgba(0, 0, 0, 0.5);\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tz-index: 999;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n.eject{\n\tposition: relative;\n\twidth: 40vw;\n\theight: 40vh;\n\tbackground-color: #fff;\n\tborder-radius: 2rem;\n}\n.eject-title {\n\twidth: 100%;\n\theight: 10vh;\n\tline-height: 10vh;\n\tfont-size: 2vw;\n\tfont-weight: 700;\n\tcolor: \t#606266;\n\ttext-align: center;\n}\n.eject-input {\n}\n.item {\n\tdisplay: flex;\n\talign-items: center;\n\tmargin: 2vh 0 0 0;\n\tfont-size: 1.5vw;\n\tcolor: #363636;\n}\n.desc {\n\tdisplay: inline-block;\n\twidth: 40%;\n\ttext-align: right;\n\tcolor: #606266;\n}\n.input {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-left: 5px;\n\tpadding-right: 5px;\n\twidth: 100%;\n\theight: 3vh;\n\tborder: 0.1vh solid #cfd4dc;\n\tmargin-right: 20%;\n\ttext-align: start;\n}\n.eject-input uni-input {\n\twidth: 100%;\n\theight: 3vh;\n\tfont-size: 1vw;\n}\n.eject-button {\n\tdisplay: flex;\n\talign-items: center;\n\tposition: absolute;\n\tbottom: 0;\n\theight: 6vh;\n\tline-height: 6vh;\n\twidth: 100%;\n\tborder-top: 1px solid #ccc;\n}\n.button-item {\n\twidth: 50%;\n\theight: 100%;\n\tfont-size: 1.5vw;\n\tfont-weight: bold;\n\ttext-align: center;\n\tcolor: #909399;\n}\n.button-item:last-child {\n\tcolor: #67C23A;\n\t\n\tborder-left: 1px solid #ccc;\n}\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 27 */ |
| | | /* 94 */ |
| | | /*!**************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/app-plus/getUrl.js ***! |
| | | \**************************************************************************/ |
| | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 28 */ |
| | | /* 95 */ |
| | | /*!*****************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/static/background.png ***! |
| | | \*****************************************************************/ |
| | |
| | | module.exports = "/static/background.png"; |
| | | |
| | | /***/ }), |
| | | /* 29 */ |
| | | /* 96 */ |
| | | /*!************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/static/right.png ***! |
| | | \************************************************************/ |
| | |
| | | module.exports = "/static/right.png"; |
| | | |
| | | /***/ }), |
| | | /* 30 */ |
| | | /* 97 */ |
| | | /*!*****************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/pages/index/index.vue?mpType=page ***! |
| | | \*****************************************************************************/ |
| | |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _index_vue_vue_type_template_id_2be84a3c_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=2be84a3c&mpType=page */ 31); |
| | | /* harmony import */ var _index_vue_vue_type_template_id_2be84a3c_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=2be84a3c&mpType=page */ 98); |
| | | /* harmony import */ var _index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js&mpType=page */ 116); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _index_vue_vue_type_style_index_0_lang_css_mpType_page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&lang=css&mpType=page */ 118); |
| | |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 31 */ |
| | | /* 98 */ |
| | | /*!***********************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/pages/index/index.vue?vue&type=template&id=2be84a3c&mpType=page ***! |
| | | \***********************************************************************************************************/ |
| | |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_index_vue_vue_type_template_id_2be84a3c_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./index.vue?vue&type=template&id=2be84a3c&mpType=page */ 32); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_index_vue_vue_type_template_id_2be84a3c_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./index.vue?vue&type=template&id=2be84a3c&mpType=page */ 99); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_index_vue_vue_type_template_id_2be84a3c_mpType_page__WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_index_vue_vue_type_template_id_2be84a3c_mpType_page__WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 32 */ |
| | | /* 99 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/pages/index/index.vue?vue&type=template&id=2be84a3c&mpType=page ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | |
| | | var components |
| | | try { |
| | | components = { |
| | | qiunDataCharts: __webpack_require__(/*! @/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue */ 33) |
| | | qiunDataCharts: __webpack_require__(/*! @/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue */ 22) |
| | | .default, |
| | | uniPopup: __webpack_require__(/*! @/uni_modules/uni-popup/components/uni-popup/uni-popup.vue */ 100) |
| | | .default, |
| | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 33 */ |
| | | /*!*************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue ***! |
| | | \*************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0%3D& */ 34); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& */ 89); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=script&lang=js& */ 95); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& */ 97); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10); |
| | | |
| | | |
| | | _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"].__module = 'rdcharts' |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_4__["default"])( |
| | | _qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_2__["default"], |
| | | _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "fe947b98", |
| | | null, |
| | | false, |
| | | _qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | _qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"] |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 34 */ |
| | | /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0%3D& ***! |
| | | \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0%3D& */ 35); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_template_id_fe947b98_scoped_true_filter_modules_eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0_3D___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 35 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=template&id=fe947b98&scoped=true&filter-modules=eyJyZGNoYXJ0cyI6eyJ0eXBlIjoicmVuZGVyanMiLCJjb250ZW50IjoiIiwic3RhcnQiOjM3MjU4LCJhdHRycyI6eyJtb2R1bGUiOiJyZGNoYXJ0cyIsImxhbmciOiJqcyJ9LCJlbmQiOjUxOTM1fX0%3D& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | try { |
| | | components = { |
| | | qiunLoading: __webpack_require__(/*! @/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue */ 36) |
| | | .default, |
| | | qiunError: __webpack_require__(/*! @/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue */ 81) |
| | | .default |
| | | } |
| | | } catch (e) { |
| | | if ( |
| | | e.message.indexOf("Cannot find module") !== -1 && |
| | | e.message.indexOf(".vue") !== -1 |
| | | ) { |
| | | console.error(e.message) |
| | | console.error("1. 排查组件名称拼写是否正确") |
| | | console.error( |
| | | "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" |
| | | ) |
| | | console.error( |
| | | "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" |
| | | ) |
| | | } else { |
| | | throw e |
| | | } |
| | | } |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { id: _vm._$g(0, "a-id"), _i: 0 } }, |
| | | [ |
| | | _vm._$g(1, "i") |
| | | ? _c( |
| | | "uni-view", |
| | | { attrs: { _i: 1 } }, |
| | | [_c("qiun-loading", { attrs: { _i: 2 } })], |
| | | 1 |
| | | ) |
| | | : _vm._e(), |
| | | _vm._$g(3, "i") |
| | | ? _c( |
| | | "uni-view", |
| | | { |
| | | attrs: { _i: 3 }, |
| | | on: { |
| | | click: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }, |
| | | [_c("qiun-error", { attrs: { _i: 4 } })], |
| | | 1 |
| | | ) |
| | | : _vm._e(), |
| | | _vm._$g(5, "i") |
| | | ? [ |
| | | _c("uni-view", { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm._$g(6, "v-show"), |
| | | expression: "_$g(6,'v-show')" |
| | | } |
| | | ], |
| | | wxsProps: { |
| | | "change:resize": "echartsResize", |
| | | "change:prop": "echartsOpts" |
| | | }, |
| | | staticStyle: { width: "100%", height: "100%" }, |
| | | style: _vm._$g(6, "s"), |
| | | attrs: { |
| | | "data-directory": _vm._$g(6, "a-data-directory"), |
| | | id: _vm._$g(6, "a-id"), |
| | | prop: _vm._$gc(6, "change:echartsOpts"), |
| | | "change:prop": _vm.rdcharts.ecinit, |
| | | resize: _vm._$gc(6, "change:echartsResize"), |
| | | "change:resize": _vm.rdcharts.ecresize, |
| | | _i: 6 |
| | | } |
| | | }) |
| | | ] |
| | | : [ |
| | | _c( |
| | | "uni-view", |
| | | { |
| | | wxsProps: { "change:prop": "uchartsOpts" }, |
| | | attrs: { |
| | | id: _vm._$g(8, "a-id"), |
| | | prop: _vm._$gc(8, "change:uchartsOpts"), |
| | | "change:prop": _vm.rdcharts.ucinit, |
| | | _i: 8 |
| | | }, |
| | | on: { |
| | | mousemove: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.mouseMove( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | mousedown: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.mouseDown( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | mouseup: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.mouseUp($event, _vm.$getComponentDescriptor()) |
| | | }, |
| | | touchstart: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.touchStart( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | touchmove: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.touchMove( |
| | | $event, |
| | | _vm.$getComponentDescriptor() |
| | | ) |
| | | }, |
| | | touchend: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.touchEnd($event, _vm.$getComponentDescriptor()) |
| | | }, |
| | | click: function($event) { |
| | | $event = _vm.$handleWxsEvent($event) |
| | | _vm.rdcharts.tap($event, _vm.$getComponentDescriptor()) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _c("v-uni-canvas", { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm._$g(9, "v-show"), |
| | | expression: "_$g(9,'v-show')" |
| | | } |
| | | ], |
| | | style: _vm._$g(9, "s"), |
| | | attrs: { |
| | | id: _vm._$g(9, "a-id"), |
| | | canvasId: _vm._$g(9, "a-canvasId"), |
| | | "disable-scroll": _vm._$g(9, "a-disable-scroll"), |
| | | _i: 9 |
| | | }, |
| | | on: { |
| | | error: function($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | } |
| | | } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | ] |
| | | ], |
| | | 2 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 36 */ |
| | | /*!*****************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue ***! |
| | | \*****************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& */ 37); |
| | | /* harmony import */ var _qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./qiun-loading.vue?vue&type=script&lang=js& */ 39); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_loading_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 _qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( |
| | | _qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "1c4fd998", |
| | | null, |
| | | false, |
| | | _qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 37 */ |
| | | /*!************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& ***! |
| | | \************************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& */ 38); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_template_id_1c4fd998_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 38 */ |
| | | /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=template&id=1c4fd998&scoped=true& ***! |
| | | \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { attrs: { _i: 0 } }, |
| | | [ |
| | | _vm._$g(1, "i") ? _c("Loading1", { attrs: { _i: 1 } }) : _vm._e(), |
| | | _vm._$g(2, "i") ? _c("Loading2", { attrs: { _i: 2 } }) : _vm._e(), |
| | | _vm._$g(3, "i") ? _c("Loading3", { attrs: { _i: 3 } }) : _vm._e(), |
| | | _vm._$g(4, "i") ? _c("Loading4", { attrs: { _i: 4 } }) : _vm._e(), |
| | | _vm._$g(5, "i") ? _c("Loading5", { attrs: { _i: 5 } }) : _vm._e() |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 39 */ |
| | | /*!******************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=script&lang=js& ***! |
| | | \******************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-loading.vue?vue&type=script&lang=js& */ 40); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_loading_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 40 */ |
| | | /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/qiun-loading.vue?vue&type=script&lang=js& ***! |
| | | \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; |
| | | var _loading = _interopRequireDefault(__webpack_require__(/*! ./loading1.vue */ 41)); |
| | | var _loading2 = _interopRequireDefault(__webpack_require__(/*! ./loading2.vue */ 49)); |
| | | var _loading3 = _interopRequireDefault(__webpack_require__(/*! ./loading3.vue */ 57)); |
| | | var _loading4 = _interopRequireDefault(__webpack_require__(/*! ./loading4.vue */ 65)); |
| | | var _loading5 = _interopRequireDefault(__webpack_require__(/*! ./loading5.vue */ 73));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var _default = |
| | | { |
| | | name: "qiun-loading", props: ["loadingType"], |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: { |
| | | 'Loading1': _loading.default, |
| | | 'Loading2': _loading2.default, |
| | | 'Loading3': _loading3.default, |
| | | 'Loading4': _loading4.default, |
| | | 'Loading5': _loading5.default } };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 41 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading1.vue?vue&type=template&id=e4e769ee&scoped=true& */ 42); |
| | | /* harmony import */ var _loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading1.vue?vue&type=script&lang=js& */ 44); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading1_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 _loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& */ 46); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e4e769ee", |
| | | null, |
| | | false, |
| | | _loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 42 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=template&id=e4e769ee&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=template&id=e4e769ee&scoped=true& */ 43); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_template_id_e4e769ee_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 43 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=template&id=e4e769ee&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 44 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=script&lang=js& */ 45); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 45 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading1", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 46 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& */ 47); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading1_vue_vue_type_style_index_0_id_e4e769ee_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 47 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& */ 48); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("089b80b6", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 48 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading1.vue?vue&type=style&index=0&id=e4e769ee&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e4e769ee] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading1[data-v-e4e769ee] {\r\n -webkit-transform: rotate(45deg);\r\n transform: rotate(45deg);\n}\n.container .shape[data-v-e4e769ee] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e4e769ee] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e4e769ee] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e4e769ee] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e4e769ee] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading1 .shape1[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape1-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape1-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape1-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, 16px);\r\n transform: translate(16px, 16px);\n}\n}\n@keyframes animation1shape1-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, 16px);\r\n transform: translate(16px, 16px);\n}\n}\n.loading1 .shape2[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape2-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape2-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape2-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, 16px);\r\n transform: translate(-16px, 16px);\n}\n}\n@keyframes animation1shape2-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, 16px);\r\n transform: translate(-16px, 16px);\n}\n}\n.loading1 .shape3[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape3-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape3-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape3-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, -16px);\r\n transform: translate(16px, -16px);\n}\n}\n@keyframes animation1shape3-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(16px, -16px);\r\n transform: translate(16px, -16px);\n}\n}\n.loading1 .shape4[data-v-e4e769ee] {\r\n -webkit-animation: animation1shape4-data-v-e4e769ee 0.5s ease 0s infinite alternate;\r\n animation: animation1shape4-data-v-e4e769ee 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation1shape4-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, -16px);\r\n transform: translate(-16px, -16px);\n}\n}\n@keyframes animation1shape4-data-v-e4e769ee {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-16px, -16px);\r\n transform: translate(-16px, -16px);\n}\n}\r\n\r\n\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 49 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& */ 50); |
| | | /* harmony import */ var _loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading2.vue?vue&type=script&lang=js& */ 52); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading2_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 _loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& */ 54); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e4cb3aec", |
| | | null, |
| | | false, |
| | | _loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 50 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& */ 51); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_template_id_e4cb3aec_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 51 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=template&id=e4cb3aec&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 52 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=script&lang=js& */ 53); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 53 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading2", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 54 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& */ 55); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading2_vue_vue_type_style_index_0_id_e4cb3aec_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 55 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& */ 56); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("06cee57c", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 56 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading2.vue?vue&type=style&index=0&id=e4cb3aec&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e4cb3aec] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading2[data-v-e4cb3aec] {\r\n -webkit-transform: rotate(10deg);\r\n transform: rotate(10deg);\n}\n.container.loading2 .shape[data-v-e4cb3aec] {\r\n border-radius: 5px;\n}\n.container.loading2[data-v-e4cb3aec]{\r\n -webkit-animation: rotation 1s infinite;\r\n animation: rotation 1s infinite;\n}\n.container .shape[data-v-e4cb3aec] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e4cb3aec] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e4cb3aec] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e4cb3aec] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e4cb3aec] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading2 .shape1[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape1-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape1-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape1-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, 20px);\r\n transform: translate(20px, 20px);\n}\n}\n@keyframes animation2shape1-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, 20px);\r\n transform: translate(20px, 20px);\n}\n}\n.loading2 .shape2[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape2-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape2-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape2-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, 20px);\r\n transform: translate(-20px, 20px);\n}\n}\n@keyframes animation2shape2-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, 20px);\r\n transform: translate(-20px, 20px);\n}\n}\n.loading2 .shape3[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape3-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape3-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape3-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, -20px);\r\n transform: translate(20px, -20px);\n}\n}\n@keyframes animation2shape3-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(20px, -20px);\r\n transform: translate(20px, -20px);\n}\n}\n.loading2 .shape4[data-v-e4cb3aec] {\r\n -webkit-animation: animation2shape4-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\r\n animation: animation2shape4-data-v-e4cb3aec 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation2shape4-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, -20px);\r\n transform: translate(-20px, -20px);\n}\n}\n@keyframes animation2shape4-data-v-e4cb3aec {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-20px, -20px);\r\n transform: translate(-20px, -20px);\n}\n}\r\n\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 57 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading3.vue?vue&type=template&id=e4af0bea&scoped=true& */ 58); |
| | | /* harmony import */ var _loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading3.vue?vue&type=script&lang=js& */ 60); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading3_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 _loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& */ 62); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e4af0bea", |
| | | null, |
| | | false, |
| | | _loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 58 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=template&id=e4af0bea&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=template&id=e4af0bea&scoped=true& */ 59); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_template_id_e4af0bea_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 59 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=template&id=e4af0bea&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 60 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=script&lang=js& */ 61); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 61 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading3", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 62 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& */ 63); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading3_vue_vue_type_style_index_0_id_e4af0bea_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 63 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& */ 64); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("7a321ec8", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 64 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading3.vue?vue&type=style&index=0&id=e4af0bea&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e4af0bea] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading3[data-v-e4af0bea] {\r\n -webkit-animation: rotation 1s infinite;\r\n animation: rotation 1s infinite;\n}\n.container.loading3 .shape1[data-v-e4af0bea] {\r\n border-top-left-radius: 10px;\n}\n.container.loading3 .shape2[data-v-e4af0bea] {\r\n border-top-right-radius: 10px;\n}\n.container.loading3 .shape3[data-v-e4af0bea] {\r\n border-bottom-left-radius: 10px;\n}\n.container.loading3 .shape4[data-v-e4af0bea] {\r\n border-bottom-right-radius: 10px;\n}\n.container .shape[data-v-e4af0bea] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e4af0bea] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e4af0bea] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e4af0bea] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e4af0bea] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading3 .shape1[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape1-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape1-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape1-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, 5px);\r\n transform: translate(5px, 5px);\n}\n}\n@keyframes animation3shape1-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, 5px);\r\n transform: translate(5px, 5px);\n}\n}\n.loading3 .shape2[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape2-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape2-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape2-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, 5px);\r\n transform: translate(-5px, 5px);\n}\n}\n@keyframes animation3shape2-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, 5px);\r\n transform: translate(-5px, 5px);\n}\n}\n.loading3 .shape3[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape3-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape3-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape3-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, -5px);\r\n transform: translate(5px, -5px);\n}\n}\n@keyframes animation3shape3-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(5px, -5px);\r\n transform: translate(5px, -5px);\n}\n}\n.loading3 .shape4[data-v-e4af0bea] {\r\n -webkit-animation: animation3shape4-data-v-e4af0bea 0.5s ease 0s infinite alternate;\r\n animation: animation3shape4-data-v-e4af0bea 0.5s ease 0s infinite alternate;\n}\n@-webkit-keyframes animation3shape4-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, -5px);\r\n transform: translate(-5px, -5px);\n}\n}\n@keyframes animation3shape4-data-v-e4af0bea {\nfrom {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\nto {\r\n -webkit-transform: translate(-5px, -5px);\r\n transform: translate(-5px, -5px);\n}\n}\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 65 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading4.vue?vue&type=template&id=e492dce8&scoped=true& */ 66); |
| | | /* harmony import */ var _loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading4.vue?vue&type=script&lang=js& */ 68); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading4_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 _loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& */ 70); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e492dce8", |
| | | null, |
| | | false, |
| | | _loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 66 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=template&id=e492dce8&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=template&id=e492dce8&scoped=true& */ 67); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_template_id_e492dce8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 67 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=template&id=e492dce8&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 68 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=script&lang=js& */ 69); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 69 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading5", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 70 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& */ 71); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading4_vue_vue_type_style_index_0_id_e492dce8_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 71 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& */ 72); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("a136bcf4", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 72 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading4.vue?vue&type=style&index=0&id=e492dce8&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e492dce8] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading5 .shape[data-v-e492dce8] {\r\n width: 15px;\r\n height: 15px;\n}\n.container .shape[data-v-e492dce8] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e492dce8] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e492dce8] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e492dce8] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e492dce8] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading5 .shape1[data-v-e492dce8] {\r\n animation: animation5shape1-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape1-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n50% {\r\n -webkit-transform: translate(15px, 15px);\r\n transform: translate(15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n}\n@keyframes animation5shape1-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n50% {\r\n -webkit-transform: translate(15px, 15px);\r\n transform: translate(15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n}\n.loading5 .shape2[data-v-e492dce8] {\r\n animation: animation5shape2-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape2-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n50% {\r\n -webkit-transform: translate(-15px, 15px);\r\n transform: translate(-15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n}\n@keyframes animation5shape2-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n50% {\r\n -webkit-transform: translate(-15px, 15px);\r\n transform: translate(-15px, 15px);\n}\n75% {\r\n -webkit-transform: translate(0, 15px);\r\n transform: translate(0, 15px);\n}\n}\n.loading5 .shape3[data-v-e492dce8] {\r\n animation: animation5shape3-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape3-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n50% {\r\n -webkit-transform: translate(15px, -15px);\r\n transform: translate(15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n}\n@keyframes animation5shape3-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(15px, 0);\r\n transform: translate(15px, 0);\n}\n50% {\r\n -webkit-transform: translate(15px, -15px);\r\n transform: translate(15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n}\n.loading5 .shape4[data-v-e492dce8] {\r\n animation: animation5shape4-data-v-e492dce8 2s ease 0s infinite reverse;\n}\n@-webkit-keyframes animation5shape4-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n50% {\r\n -webkit-transform: translate(-15px, -15px);\r\n transform: translate(-15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n}\n@keyframes animation5shape4-data-v-e492dce8 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -15px);\r\n transform: translate(0, -15px);\n}\n50% {\r\n -webkit-transform: translate(-15px, -15px);\r\n transform: translate(-15px, -15px);\n}\n75% {\r\n -webkit-transform: translate(-15px, 0);\r\n transform: translate(-15px, 0);\n}\n}\r\n\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 73 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading5.vue?vue&type=template&id=e476ade6&scoped=true& */ 74); |
| | | /* harmony import */ var _loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./loading5.vue?vue&type=script&lang=js& */ 76); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _loading5_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 _loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& */ 78); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "e476ade6", |
| | | null, |
| | | false, |
| | | _loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 74 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=template&id=e476ade6&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=template&id=e476ade6&scoped=true& */ 75); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_template_id_e476ade6_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 75 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=template&id=e476ade6&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 76 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=script&lang=js& */ 77); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 77 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "loading6", |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 78 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& */ 79); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_loading5_vue_vue_type_style_index_0_id_e476ade6_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 79 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& */ 80); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("75b304e0", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 80 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-loading/loading5.vue?vue&type=style&index=0&id=e476ade6&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.container[data-v-e476ade6] {\r\n width: 30px;\r\n height: 30px;\r\n position: relative;\n}\n.container.loading6[data-v-e476ade6] {\r\n -webkit-animation: rotation 1s infinite;\r\n animation: rotation 1s infinite;\n}\n.container.loading6 .shape[data-v-e476ade6] {\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 2px;\n}\n.container .shape[data-v-e476ade6] {\r\n position: absolute;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 1px;\n}\n.container .shape.shape1[data-v-e476ade6] {\r\n left: 0;\r\n background-color: #1890FF;\n}\n.container .shape.shape2[data-v-e476ade6] {\r\n right: 0;\r\n background-color: #91CB74;\n}\n.container .shape.shape3[data-v-e476ade6] {\r\n bottom: 0;\r\n background-color: #FAC858;\n}\n.container .shape.shape4[data-v-e476ade6] {\r\n bottom: 0;\r\n right: 0;\r\n background-color: #EE6666;\n}\n.loading6 .shape1[data-v-e476ade6] {\r\n -webkit-animation: animation6shape1-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape1-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape1-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n50% {\r\n -webkit-transform: translate(18px, 18px);\r\n transform: translate(18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n}\n@keyframes animation6shape1-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n50% {\r\n -webkit-transform: translate(18px, 18px);\r\n transform: translate(18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n}\n.loading6 .shape2[data-v-e476ade6] {\r\n -webkit-animation: animation6shape2-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape2-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape2-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n50% {\r\n -webkit-transform: translate(-18px, 18px);\r\n transform: translate(-18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n}\n@keyframes animation6shape2-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n50% {\r\n -webkit-transform: translate(-18px, 18px);\r\n transform: translate(-18px, 18px);\n}\n75% {\r\n -webkit-transform: translate(0, 18px);\r\n transform: translate(0, 18px);\n}\n}\n.loading6 .shape3[data-v-e476ade6] {\r\n -webkit-animation: animation6shape3-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape3-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape3-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n50% {\r\n -webkit-transform: translate(18px, -18px);\r\n transform: translate(18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n}\n@keyframes animation6shape3-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(18px, 0);\r\n transform: translate(18px, 0);\n}\n50% {\r\n -webkit-transform: translate(18px, -18px);\r\n transform: translate(18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n}\n.loading6 .shape4[data-v-e476ade6] {\r\n -webkit-animation: animation6shape4-data-v-e476ade6 2s linear 0s infinite normal;\r\n animation: animation6shape4-data-v-e476ade6 2s linear 0s infinite normal;\n}\n@-webkit-keyframes animation6shape4-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n50% {\r\n -webkit-transform: translate(-18px, -18px);\r\n transform: translate(-18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n}\n@keyframes animation6shape4-data-v-e476ade6 {\n0% {\r\n -webkit-transform: translate(0, 0);\r\n transform: translate(0, 0);\n}\n25% {\r\n -webkit-transform: translate(0, -18px);\r\n transform: translate(0, -18px);\n}\n50% {\r\n -webkit-transform: translate(-18px, -18px);\r\n transform: translate(-18px, -18px);\n}\n75% {\r\n -webkit-transform: translate(-18px, 0);\r\n transform: translate(-18px, 0);\n}\n}\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 81 */ |
| | | /*!*************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue ***! |
| | | \*************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& */ 82); |
| | | /* harmony import */ var _qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./qiun-error.vue?vue&type=script&lang=js& */ 84); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _qiun_error_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 _qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony import */ var _qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& */ 86); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/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(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( |
| | | _qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], |
| | | _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], |
| | | _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], |
| | | false, |
| | | null, |
| | | "0507f1f4", |
| | | null, |
| | | false, |
| | | _qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], |
| | | renderjs |
| | | ) |
| | | |
| | | component.options.__file = "uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue" |
| | | /* harmony default export */ __webpack_exports__["default"] = (component.exports); |
| | | |
| | | /***/ }), |
| | | /* 82 */ |
| | | /*!********************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& ***! |
| | | \********************************************************************************************************************************************************/ |
| | | /*! exports provided: render, staticRenderFns, recyclableRender, components */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-template.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& */ 83); |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); |
| | | |
| | | /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_template_id_0507f1f4_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 83 */ |
| | | /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=template&id=0507f1f4&scoped=true& ***! |
| | | \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! 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 |
| | | return _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(0, "sc"), attrs: { _i: 0 } }, |
| | | [ |
| | | _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }), |
| | | _c("uni-view", { staticClass: _vm._$g(2, "sc"), attrs: { _i: 2 } }, [ |
| | | _vm._v(_vm._$g(2, "t0-0")) |
| | | ]) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var recyclableRender = false |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | |
| | | /***/ }), |
| | | /* 84 */ |
| | | /*!**************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=script&lang=js& */ 85); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 85 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "qiun-error", props: ["errorMessage"], |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 86 */ |
| | | /*!**********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& */ 87); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_error_vue_vue_type_style_index_0_id_0507f1f4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 87 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& */ 88); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("1cba97d7", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 88 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-error/qiun-error.vue?vue&type=style&index=0&id=0507f1f4&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.chartsview[data-v-0507f1f4] {\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex: 1;\n\tjustify-content: center;\n\talign-items: center;\n}\n.charts-font[data-v-0507f1f4]{\n\tfont-size: 14px;\n\tcolor: #CCCCCC;\n\tmargin-top: 10px;\n}\n.charts-error[data-v-0507f1f4]{\n\twidth: 128px;\n\theight: 128px;\n\tbackground: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAUz0lEQVR4Xu1de3Bc1X3+zmp3jYVWfkPAgCWwY8zLEglNQCSW0yT9o2SQaDKdNulUykwfM+k09p+J3ImYIPJXi9yZzDSZZiwyaZuZBCwnNG1DMogEmUAAy7xs/MAyNhCMjWWtsK1deU/n23OvtLu6j3Pv3t29d71nxjOSde455/5+3/m9z7kCjRY4BR7eK7fkcmhrasLT37hbTAY+QYADigDHagwFYGhc7gZwHMAUgG4hMPzNe8RoWInTAECAnHl4r+yREt0DXWIbhx3cJ5fHP8TYjntFR4DTBDqUIwBmMrJDCtyPHDoQw0Q8jkeXinCLtECp43Gwh56R22IxTBbu+KFxOTbQJbo9DlW17rYASGdlNySeKl2JADpbkmKiait0mWhoXHZkmzE52CkocmvavvOsbMvl8MhAl+jlQrg2CQzu6BI9NV2Yw+T2AJiVo+DuL2kSeLQ1KfrC8kLcYbkYBv/pbjEWhjUNjUvSpk9KSAicm2tGXxjAaUcbewBkJAm6xeLBp1PJ2os06ttcDl8H0CEEaGnvGegSg2EAQZTW4B0AEntSS2ov0mhgJc5jmwT6IDEWi2E0zNZ2WEFhC4CZjCRxH7GwAfpbkmIkLC9EFQBg20BXeOySsNBGZx2OXkB6Vg5CgAbMZgD7BTDSkhTDOgM3+kSDAr7iANNz8n4hQRdxojUu9kTjVRurtKKAJwBIKZfPZPOuYWFgY6wlgV4hau+GNVjsnQKeAJDOSIp/Wt6lbSKeQG8jSOSdAbV+wisA7FxDSGAqBmwNS5DIiGIucyNwKiGedutTz3/3BgCb4JBJoGqDIJ2VW4REmxRog0S3lGgT/NlfY3RzCgJjQmJSCkxeDuDwBgCb8HAhvQkCIdCbSgQfmSPDmWGDzHsm1UqwjBEUAMbqERCeAEBGz2RknwR2uW0yAZQdL6DR+WEW90syXLmjtW8So0Jg9MoE9tSD4esZANUAAd1M5NAjGOULaaOkAzCKGEaj7Ar7AoBHEGxrSYqdOnxMZ+W3ZA59ZehxnWkC7yMlJkUMIy1x7IyaVPANAAMEHTlgTACO1rYERlqTot+J8nbp58C5VcEBDftnOEpAKAsAgYPAPgNZQbYFP3QeCAybJ/Bg2CVC2QDwCoJUAtudiJKuExCQLoZbPKirAoOHovuIThVByuXii2jE/C9I2TaXBYsfmThyahMtCWy1A4ERbj7rvvRI9aCa3F7pINm3n5XdXgtjFgHAYCQrW4v8bBo6MYFep5cwmEefuSwQpDNSRoq9+osdrqRaGBqXMhfDVi8gWASAdEbuswuyGCKNSLatBygXBHUqAQohMmHESAKrqzSro4TIS2yOq10dVQQAuyKQUoC7BXnIxHQWwwL4ay/qIM/8DHaFJuijv7M99QzaNmAx6hzQFsvhKSmxvakJo7oHUooA4MUA0wHBTDYfQnVUB6bFnLc1JHqiFgPwxPnSzhKjLUn0B+UpsDoqFkOfLvO5HN8AMN5lOJUU2+2IMD0ne0QOtCcq0k7OANe1VGToag7qaBRXeiFFAJjOyBENsV20Jqcgj2FQHgvyJWYvAQfPAJuvAv7198ADm4DMHJBKAmuag5ypemPpGNiVWk2pDcCDDDQCPTU7EOgmjrxMRgA8dgBYmwJOXwBuWgH87m3gz26OLgDy6q9G9RSLvIAymFZUGsaCjJzE7qB1+vvngXRGQebG5QB/P30eaF2iQBHllk8wxdDfGq/eYVLLQJBfEOQNOpk3/Bg86hbA8iAZwt2/a78asX8zsKRJ/fzYQeDttFIHUbcJqi0JnM4FaOX9g2Sw7lgHTgPTs0DHRxTjT5wDtqzTfTr8/aoJArfTwX055P1519q6apGV4v8/XlU6nzv/vo8CvzwK3L0W2LS6Wquo/DzVAoFrMiivyzVSvpUnycIMVAUU///2kgIC9b+pDqq5jirMVXEX0RUAfMkwgoDrMoFQBUbUcoqxVFJsrdQCtAAQZhBUijChGlfiwdSSypx81gaAAQLLA6OhIlaNF2MGqriMm1cFqJoEtlai0lobAIzqZbPYF7RrV2N+BT79L99c8Eh+dzI474RGYSqB9qDyBuaLawMgnZE8Exjau24C56TPAZ8+vsD0594GPrHW50DWjwVuD2gBwDgm/q1AX6VOB/v5YeDWNerlXnsf+MKGYF/ULQvrdTZXAFQioeN1kVHqTxuAgSo2xiWCdk+DVgWuAEjPyt31XqARJYAZa92ZSqq7CMttjgCoh1r9cgkU1ueDuq7PEQDTs/JY0Nm8sBI0gusKxCCMZDIogsyqzJIDiA3YAqCx+yvDs4BHLVsKBFoPEPDLNYbToUCZUsASAFHY/SfTCxWtq5qBK4ziEB2a1VmfsqTAIgBUupLXL/Evshj0NNCaBM7NAr89sTDSp64HOj/id+ToP1eOR7AYAD4qg6tBwufeARhabV8BfPJaFWxZEgeSMWDTmstaApD8vuMCRQAI47Gs37wFrG4GrksBR882mG212VhW3rpEtPvZiL6OhvmZyOszFPm7D6qqX+76L6xfGIH/l7mkVMGNKy773Z8njIyh1081cfHBkJAEfgqZv2kV8Cmj4HP/H4ADZ1RBqNmYbfvEtV7hVX/9/X7HYR4AYUr6PPmmYjSZ/7kblRT47yOK8Uyu8DxA6xXqHADVw2XsARQhuSWBFV7rBeYBoHsyuNJ7582zwBNHgNVLgb+8TTH/8YOq/o+7ffPVCwynpAiC+W+cUfOcnwOuvlIdO4ti86MG5gGQdrkFtFoE2fUykJ4F+u4AknHgx6+pnf/ZduCW1QD9f3oDPA/A5tcFpA3x8ingxXcVuPJ61Dgt27MRuKG1Wm8c6DyevYE8AMJk/f/nq8BNK5VeN10/k8mvnwZ+ZRw1pfjnYdCOq1VZuJd2/Bzwv0cXGL9hpdr1PGNIgMUF8Oe3AquWehk1FH0nUknR6WUleQCENe37vZeUFOi/AyhUDbQL/JwE5q4ngI4YNxBxl7NiZ5kBoCePAb9/R4mBq64EejcGX9DhhTl++sYTaPdya7sCgPoySM1LvujzM8Dzd3cuMNy08ikZeBqYqoE7njv1t28p3c3f/+hapSLs2jszAI1Luo40JMn4j64s7v3PzympQNeSgLtnLfDxiHkYXkvGFAA0r2Yjsf3sPF0km/r/H+9aEP8P8ORPEhh5ecErIPNpGLJxF7/3oWLcfesV80rboQ+UyDf7f3HTYuPx+XeAX00Ct68BPn0D8O8TasyvbgZakrpvEIp+nuyAPACmM/KsW7k3b+N4/ABA5lSq8cIH0/o39f9f3KoYQYab0uDnR4BjZ4Gv3LYAgB+9qiQB+xe2X0+q4kw22hL8V9roTXz3BTXP1z6mVAJzDfxHqUIDNELN02f9hI7/T6v7zSklbml8MfFCXzzoRp1Pv57n/Wj5M/RrJnn2/QG4rlVJIPM4+DfvWVjB9/YpFfFJIzBEZv7iMHAirUT+59qBO2zcu7zuf1ftfrOKtxAUVElBF3cGTTtzPBaNtiaFhRy0nlHoGIDc/a+fUlez0Dq/ZY26kiXoRoCR0G5WvRkoMnf0/xwFXnwPiAFINgE3LAOmLwKnjPEoKejfW7Xj0+q0Mef92seLVQNLvF95H/iTm4CNJfZC0O8e5HheAkJCNwBkHsv++zuDXKq/sSgd/uu1xf47gfnWOR5mVeNe1Qx8adOClW8l+n8woQzDL9682Cik7fDTg8D1KaD3Zn9rrdRTlHA0mmmvLJJOHopERFg8AK+EIgiomo6dAy7OKdXwNx3AiRngRy8DOQl0XgN8Zp19tJDMJZMLRX/pOh7eqwhMNRCmZtpkVreiePEECADLj0SH6WWd1kIgPP6G2sVty4Av36pE/+43gDMX1K6+b8NiEJhGHqXEV263Bwm9AY731Q6gJVF7qnDnT7ynbCS6zDx8QpXJgNi8JPBwmljouoC1f3X7FdDHH30DmMsBG1YosU+m0Vg8exG4pkV5B2begCFg5htIMCf7gDOadsCXbgGusbEjqkkbMp+iv7QR5POG+eUGADL/rWmgSQBzEui4CvjT9cBUBnjikPqbCYJzF4EfGBdNMW5g5xmYBKY3cOgMsGEVcClXTVY7z+WkArxUCIkoFIA6keLXx4DXTiuDb2ubihdkcsCnDZ+fDPzZIRX+pYvJRBPF6GfbVPRQt124FE4AULJZBOe0YwFUAZG9mv2Fd4G9J4tdOEb0fnNCVQxtuQHoug4gCH5yADgxrdjtZPRZeQqvnFISgEmiMDV6ZjbueP0DgBm9PYes9Tizhr84mr98Ol9Qwps66OszZOyF+WS2GSQKiw2gCcD6BkBMABT9DNLY6XFKgicnVWCIuQR6BMwb0Ojz0hhipg3x5dsilR6ubwA0xwGCgDvaLsJHJtPPP/yBKvQg862SQG5gYByArZI5ELc1+Pi7PgCmM5JfuArNRZBuL0uGMkdg5dsXPktwcPfS4PMq9s1xzDAxS9KZlYxQ0wdAlOIAFOPU5Wxm1s6KKfTzqbvLYT7HNWMANCZZixihVp8AYHSPlrxdWpcMMiN8/Pmua1QW0E+LajbQeNf6A4BZ1MGw5z98bDFLybAnDqvYPptOkMcJGBGuB+BraReFRCYU/OPXgVMfWjOW+p4Gn1nu5RbedZMIHOe7L6pevJa+EqlvtzWU9XdPoeCQ1AM6vbCp+0t3P3c96wJZzMHG6l4WdJR7VuCR54ELc6q4xEu0sCymBfiwp2ygbj1AgOvzPBQjcU8dL9bpNPQops1dT7sgCGYxScSxGURa2+rubXh+mWo84KkeICu7IcFbQEPb6Pqx6mdpXBV9HvlgoRiktLS7nJcw9X4ipuIM9CJWXqHSxVFqXkrDRZgOhdgROZsDvv8ScMnMWgiV9uWOXxfACR6qErp8BJpVY7KF2UW3UrUwgEQC51qTQrtiU1UFz8pJIRDqj67MzAGPva5EPsO7zPkHwXyO98NX1IeomE4myFgnQHAxysiQMkPBLIZlsWoEmrYLyHfxdC6g1i/PxfJkD9O/bOWIf/OaGep7Nur8eEwBoNCFpHQw6wb/9s7yDcwq0FDbBVwAQAQ8gULCUVSPn1y4J4BlX+uWqfIv85iXFaHN4g7uaJ4INr84wtLzrAReeFs99Ve3Fx8O/ZfnVd3hXdeqbxOFuXnxAOYBENaLoZwITWnA3ct6APN0L/tTbFOEXxFXP3OnT11UI5HxhY2HPnjYhCqFpeY8+8BWGGnk89/fB9AOYWPRCXMLYW1eDMB5APCHqBaGEAisDWCI+PDZ4ttDSplEYKxfody79uUKKOapI55J4Glg2gIsJqF6IYAIMvZh/2MGQG5bA3ymLXgI0IATAj3ml0G8VmxLieOtS4SnlYXufoByydoUUwdHeUhkdk6dLqbzwCNndO8KG5nO8DGZblYHs2bwJweLgWQGmFgbyDgBG08OXx+AB1K0IAv/3ctHPP1cExO6G0LKBYDu82Q+q4a52ynSWTlUGEFkKpht+ZJiu4L/T8/g8+1Ac6JY/ejObdcvlRSWRWc8vSUlRt3S9mXdEKJzRrDcFwzL86ynZ7qYzW+tAA3Knx5Qhaa0GcotrHQ706f16T6J0ZYk+r3cE1SEuHRGTgDYHBZGVWIdhcz3WhlcuJ7CdDGDUn/crozJcprbDtYCAeDpY5PFAIiYO+iV2Nz15udcyk0Xc+7CqiPeKPLAxvJAoPO5WOOr7KMugTttEBQBoJ7VQCHzGS9wqiX0AiyCwKxBqBYIjPA9v9LuJK0n4gn0ul0XE5m7gr0wpbSveYqmnDF0nw3qWhm3gI4OCHQkyiIA6NwXoEuMsPSjH8/IX2ausiuiIcjawXJtAXOVgYBAYjKVRKedYWj3vYDQJ4cqy8rwjO4GAq502uWGdyfjsvHFkPDw2n4lAoOphHjQaalOIHACkSUAqF/SWUy6BR6iQLt6WaMERlqTot8rCBheTiTQYWcM2h539BKCrBcih/09dEBAvuWAYW5eMh8x9JnXyBu5hS359xQYa4ljp+N51ygUioSdaUGvjyBIJbDdLdpHKV7YxyqxxNyBIwDq0SMImiE1Gk870GOuz+oEGN1E1xPvUTo6ViNm1GpaTyCwC/O7AoChRwnsq9VbNuZ1pIA2CCy9BIk9rgDg9OmMHAbw9QYzQkkBLRAYkcNRAMoIBPYLoE8LAAYI6j5TGEr26i3KUyFo4ZDaANBMReott9ErUAq41RI4TaYNAA4ShWNkgVI2QoPZVRO5vYItAIbGZYcQWJZZiv2DncIoh8x/XCLSN4u6ESSqfw8UAEPjeaOvj1+kBLCuqQmd37hb8Gfz+0Juueio0jGS6/ZTDGq+6CIJMLhPLk+cx9lYDO1k+kPPyBEhMDnQJQbNh1g4ks1iopErqDhe9scT6JnLYBgC91vN5hbrd1vhIgB851nZlsvhWLYZKyj6DWmAgS6xrXCwhlHoRtry/s4a/1QSHWY4l6FcKbCtcNOxT0ygpyUp6KH5apY2gLHrt1AFCIHOWAwdpgoonKURKvZFc9eHuKtjQHcpY/Mle3NoQw7dsgkTfr4VXDq5rRH48F7Zk8uhrakJo1bMNwdqZA1d+empgx3zPQ3iobMnN9Bu3AYIPFDcoWu1mc+lBAIADsQDpshhpGEY+gNDLZgfCADoNSQvqPLkTSuxfuNq7IwJhODTCv4YUYunsjkc3f8+Bo7M4v8KYy5cixmPKVxXaWymnDWXLQGGxiVjAmaCoZy1XPbPSon9O+4VHSYhaIdJid2lhJESUzvu1f80nBNhywYA3cY5oOhI8uqlaLk+hfWXPUc1CHAijSOnL2CGXePAZKHBzd0PgEG50jZR6pZrTGXZpWwA+J248Vw4KNAAQDj4ULNVBA6Abz8ru8Ul9SVyITCVbUY/DRsjxLxLSmhdYSYEHh3oEiMch2rm0iXssqHSxI57xfZKU/ChZ+QjAOb1c6XnM+g3T4NKzRc4AIbGZR8TSeaCYzH0Ua8ZIeY8QzXbSBEAcvlSZyvwBKYPndb10LjkBQ1a4NV8P51u8zTQ6eynT+AA8LOIxjO1o0ADALWjfShmjhwACgNPoaCgsnWOO+VLwrJOq3VEDgCGLrbMjdeK0EEGZqr9DpEDgFXgqdpEK50vlsPUQJf/nHwt1///89bqDjCPWPAAAAAASUVORK5CYII=\");\n\tbackground-position: center;\n}\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 89 */ |
| | | /*!********************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& ***! |
| | | \********************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& */ 90); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_renderjs_module_rdcharts_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 90 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=renderjs&module=rdcharts&lang=js& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _uCharts = _interopRequireDefault(__webpack_require__(/*! ../../js_sdk/u-charts/u-charts.js */ 91)); |
| | | var _configUcharts = _interopRequireDefault(__webpack_require__(/*! ../../js_sdk/u-charts/config-ucharts.js */ 93)); |
| | | var _configEcharts = _interopRequireDefault(__webpack_require__(/*! ../../js_sdk/u-charts/config-echarts.js */ 94));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} |
| | | |
| | | var that = {}; |
| | | var rootdom = null; |
| | | |
| | | function rddeepCloneAssign() {var origin = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {args[_key - 1] = arguments[_key];} |
| | | for (var i in args) { |
| | | for (var key in args[i]) { |
| | | if (args[i].hasOwnProperty(key)) { |
| | | origin[key] = args[i][key] && typeof args[i][key] === 'object' ? rddeepCloneAssign(Array.isArray(args[i][key]) ? [] : {}, origin[key], args[i][key]) : args[i][key]; |
| | | } |
| | | } |
| | | } |
| | | return origin; |
| | | } |
| | | |
| | | function rdformatterAssign(args, formatter) { |
| | | for (var key in args) { |
| | | if (args[key] !== null && typeof args[key] === 'object') { |
| | | rdformatterAssign(args[key], formatter); |
| | | } else if (key === 'format' && typeof args[key] === 'string') { |
| | | args['formatter'] = formatter[args[key]] ? formatter[args[key]] : undefined; |
| | | } |
| | | } |
| | | return args; |
| | | }var _default = |
| | | |
| | | { |
| | | data: function data() { |
| | | return { |
| | | rid: null }; |
| | | |
| | | }, |
| | | mounted: function mounted() {var _this = this; |
| | | rootdom = { top: 0, left: 0 }; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | setTimeout(function () { |
| | | if (_this.rid === null) { |
| | | _this.$ownerInstance && _this.$ownerInstance.callMethod('getRenderType'); |
| | | } |
| | | }, 200); |
| | | }, |
| | | destroyed: function destroyed() { |
| | | delete _configUcharts.default.option[this.rid]; |
| | | delete _configUcharts.default.instance[this.rid]; |
| | | delete _configEcharts.default.option[this.rid]; |
| | | delete _configEcharts.default.instance[this.rid]; |
| | | }, |
| | | methods: { |
| | | //==============以下是ECharts的方法==================== |
| | | ecinit: function ecinit(newVal, oldVal, owner, instance) { |
| | | var cid = JSON.stringify(newVal.id); |
| | | this.rid = cid; |
| | | that[cid] = this.$ownerInstance || instance; |
| | | var eopts = JSON.parse(JSON.stringify(newVal)); |
| | | var type = eopts.type; |
| | | //载入并覆盖默认配置 |
| | | if (type && _configEcharts.default.type.includes(type)) { |
| | | _configEcharts.default.option[cid] = rddeepCloneAssign({}, _configEcharts.default[type], eopts); |
| | | } else { |
| | | _configEcharts.default.option[cid] = rddeepCloneAssign({}, eopts); |
| | | } |
| | | var newData = eopts.chartData; |
| | | //挂载categories和series |
| | | if (_configEcharts.default.option[cid].xAxis && _configEcharts.default.option[cid].xAxis.type && _configEcharts.default.option[cid].xAxis.type === 'category') { |
| | | _configEcharts.default.option[cid].xAxis.data = newData.categories; |
| | | } |
| | | if (_configEcharts.default.option[cid].yAxis && _configEcharts.default.option[cid].yAxis.type && _configEcharts.default.option[cid].yAxis.type === 'category') { |
| | | _configEcharts.default.option[cid].yAxis.data = newData.categories; |
| | | } |
| | | _configEcharts.default.option[cid].series = []; |
| | | for (var i = 0; i < newData.series.length; i++) { |
| | | _configEcharts.default.option[cid].seriesTemplate = _configEcharts.default.option[cid].seriesTemplate ? _configEcharts.default.option[cid].seriesTemplate : {}; |
| | | var Template = rddeepCloneAssign({}, _configEcharts.default.option[cid].seriesTemplate, newData.series[i]); |
| | | _configEcharts.default.option[cid].series.push(Template); |
| | | } |
| | | if (typeof window.echarts === 'object') { |
| | | this.newEChart(); |
| | | } else { |
| | | var script = document.createElement('script'); |
| | | |
| | | script.src = './uni_modules/qiun-data-charts/static/app-plus/echarts.min.js'; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | script.onload = this.newEChart; |
| | | document.head.appendChild(script); |
| | | } |
| | | }, |
| | | ecresize: function ecresize(newVal, oldVal, owner, instance) { |
| | | if (_configEcharts.default.instance[this.rid]) { |
| | | _configEcharts.default.instance[this.rid].resize(); |
| | | } |
| | | }, |
| | | newEChart: function newEChart() { |
| | | var cid = this.rid; |
| | | if (_configEcharts.default.instance[cid] === undefined) { |
| | | _configEcharts.default.instance[cid] = echarts.init(that[cid].$el.children[0]); |
| | | //ontap开启后才触发click事件 |
| | | if (_configEcharts.default.option[cid].ontap === true) { |
| | | _configEcharts.default.instance[cid].on('click', function (resdata) { |
| | | var event = JSON.parse(JSON.stringify({ |
| | | x: resdata.event.offsetX, y: resdata.event.offsetY })); |
| | | |
| | | that[cid].callMethod('emitMsg', { name: "getIndex", params: { type: "getIndex", event: event, currentIndex: resdata.dataIndex, value: resdata.data, seriesName: resdata.seriesName, id: cid } }); |
| | | }); |
| | | // 增加ECharts的highlight消息,实现按下移动返回索引功能。add by onefish 创建于 2021-12-11 09:50 |
| | | _configEcharts.default.instance[cid].on('highlight', function (resdata) { |
| | | that[cid].callMethod('emitMsg', { name: "getHighlight", params: { type: "highlight", dataIndex: resdata.batch[0].dataIndex, id: cid } }); |
| | | }); |
| | | } |
| | | this.updataEChart(cid, _configEcharts.default.option[cid]); |
| | | } else { |
| | | this.updataEChart(cid, _configEcharts.default.option[cid]); |
| | | } |
| | | }, |
| | | updataEChart: function updataEChart(cid, option) { |
| | | //替换option内format属性为formatter的预定义方法 |
| | | option = rdformatterAssign(option, _configEcharts.default.formatter); |
| | | if (option.tooltip) { |
| | | option.tooltip.show = option.tooltipShow ? true : false; |
| | | option.tooltip.position = this.tooltipPosition(); |
| | | //tooltipFormat方法,替换组件的tooltipFormat为config-echarts.js内对应的方法 |
| | | if (typeof option.tooltipFormat === 'string' && _configEcharts.default.formatter[option.tooltipFormat]) { |
| | | option.tooltip.formatter = option.tooltip.formatter ? option.tooltip.formatter : _configEcharts.default.formatter[option.tooltipFormat]; |
| | | } |
| | | } |
| | | // 颜色渐变添加的方法 |
| | | if (option.series) { |
| | | for (var i in option.series) { |
| | | var linearGradient = option.series[i].linearGradient; |
| | | if (linearGradient) { |
| | | option.series[i].color = new echarts.graphic.LinearGradient(linearGradient[0], linearGradient[1], linearGradient[2], linearGradient[3], linearGradient[4]); |
| | | } |
| | | } |
| | | } |
| | | _configEcharts.default.instance[cid].setOption(option, option.notMerge); |
| | | _configEcharts.default.instance[cid].on('finished', function () { |
| | | that[cid].callMethod('emitMsg', { name: "complete", params: { type: "complete", complete: true, id: cid } }); |
| | | if (_configEcharts.default.instance[cid]) { |
| | | _configEcharts.default.instance[cid].off('finished'); |
| | | } |
| | | }); |
| | | }, |
| | | tooltipPosition: function tooltipPosition() { |
| | | return function (point, params, dom, rect, size) { |
| | | var x = point[0]; |
| | | var y = point[1]; |
| | | var viewWidth = size.viewSize[0]; |
| | | var viewHeight = size.viewSize[1]; |
| | | var boxWidth = size.contentSize[0]; |
| | | var boxHeight = size.contentSize[1]; |
| | | var posX = x + 30; |
| | | var posY = y + 30; |
| | | if (posX + boxWidth > viewWidth) { |
| | | posX = x - boxWidth - 30; |
| | | } |
| | | if (posY + boxHeight > viewHeight) { |
| | | posY = y - boxHeight - 30; |
| | | } |
| | | return [posX, posY]; |
| | | }; |
| | | }, |
| | | //==============以下是uCharts的方法==================== |
| | | ucinit: function ucinit(newVal, oldVal, owner, instance) {var _this2 = this; |
| | | if (JSON.stringify(newVal) == JSON.stringify(oldVal)) { |
| | | return; |
| | | } |
| | | if (!newVal.canvasId) { |
| | | return; |
| | | } |
| | | var cid = JSON.parse(JSON.stringify(newVal.canvasId)); |
| | | this.rid = cid; |
| | | that[cid] = this.$ownerInstance || instance; |
| | | _configUcharts.default.option[cid] = JSON.parse(JSON.stringify(newVal)); |
| | | _configUcharts.default.option[cid] = rdformatterAssign(_configUcharts.default.option[cid], _configUcharts.default.formatter); |
| | | var canvasdom = document.getElementById(cid); |
| | | if (canvasdom && canvasdom.children[0]) { |
| | | _configUcharts.default.option[cid].context = canvasdom.children[0].getContext("2d"); |
| | | if (_configUcharts.default.instance[cid] && _configUcharts.default.option[cid] && _configUcharts.default.option[cid].update === true) { |
| | | this.updataUChart(); |
| | | } else { |
| | | setTimeout(function () { |
| | | _configUcharts.default.option[cid].context.restore(); |
| | | _configUcharts.default.option[cid].context.save(); |
| | | _this2.newUChart(); |
| | | }, 100); |
| | | } |
| | | } |
| | | }, |
| | | newUChart: function newUChart() { |
| | | var cid = this.rid; |
| | | _configUcharts.default.instance[cid] = new _uCharts.default(_configUcharts.default.option[cid]); |
| | | _configUcharts.default.instance[cid].addEventListener('renderComplete', function () { |
| | | that[cid].callMethod('emitMsg', { name: "complete", params: { type: "complete", complete: true, id: cid } }); |
| | | _configUcharts.default.instance[cid].delEventListener('renderComplete'); |
| | | }); |
| | | _configUcharts.default.instance[cid].addEventListener('scrollLeft', function () { |
| | | that[cid].callMethod('emitMsg', { name: "scrollLeft", params: { type: "scrollLeft", scrollLeft: true, id: cid } }); |
| | | }); |
| | | _configUcharts.default.instance[cid].addEventListener('scrollRight', function () { |
| | | that[cid].callMethod('emitMsg', { name: "scrollRight", params: { type: "scrollRight", scrollRight: true, id: cid } }); |
| | | }); |
| | | }, |
| | | updataUChart: function updataUChart() { |
| | | var cid = this.rid; |
| | | _configUcharts.default.instance[cid].updateData(_configUcharts.default.option[cid]); |
| | | }, |
| | | tooltipDefault: function tooltipDefault(item, category, index, opts) { |
| | | if (category) { |
| | | var data = item.data; |
| | | if (typeof item.data === "object") { |
| | | data = item.data.value; |
| | | } |
| | | return category + ' ' + item.name + ':' + data; |
| | | } else { |
| | | if (item.properties && item.properties.name) { |
| | | return item.properties.name; |
| | | } else { |
| | | return item.name + ':' + item.data; |
| | | } |
| | | } |
| | | }, |
| | | showTooltip: function showTooltip(e, cid) {var _this3 = this; |
| | | var tc = _configUcharts.default.option[cid].tooltipCustom; |
| | | if (tc && tc !== undefined && tc !== null) { |
| | | var offset = undefined; |
| | | if (tc.x >= 0 && tc.y >= 0) { |
| | | offset = { x: tc.x, y: tc.y + 10 }; |
| | | } |
| | | _configUcharts.default.instance[cid].showToolTip(e, { |
| | | index: tc.index, |
| | | offset: offset, |
| | | textList: tc.textList, |
| | | formatter: function formatter(item, category, index, opts) { |
| | | if (typeof _configUcharts.default.option[cid].tooltipFormat === 'string' && _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat]) { |
| | | return _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat](item, category, index, opts); |
| | | } else { |
| | | return _this3.tooltipDefault(item, category, index, opts); |
| | | } |
| | | } }); |
| | | |
| | | } else { |
| | | _configUcharts.default.instance[cid].showToolTip(e, { |
| | | formatter: function formatter(item, category, index, opts) { |
| | | if (typeof _configUcharts.default.option[cid].tooltipFormat === 'string' && _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat]) { |
| | | return _configUcharts.default.formatter[_configUcharts.default.option[cid].tooltipFormat](item, category, index, opts); |
| | | } else { |
| | | return _this3.tooltipDefault(item, category, index, opts); |
| | | } |
| | | } }); |
| | | |
| | | } |
| | | }, |
| | | tap: function tap(e) { |
| | | var cid = this.rid; |
| | | var ontap = _configUcharts.default.option[cid].ontap; |
| | | var tooltipShow = _configUcharts.default.option[cid].tooltipShow; |
| | | var tapLegend = _configUcharts.default.option[cid].tapLegend; |
| | | if (ontap == false) return; |
| | | var currentIndex = null; |
| | | var legendIndex = null; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | if (e.detail.x) {//tap或者click的事件 |
| | | tmpe = { x: e.detail.x - rchartdom.left, y: e.detail.y - rchartdom.top + rootdom.top }; |
| | | } else {//mouse的事件 |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | } |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | currentIndex = _configUcharts.default.instance[cid].getCurrentDataIndex(e); |
| | | legendIndex = _configUcharts.default.instance[cid].getLegendDataIndex(e); |
| | | if (tapLegend === true) { |
| | | _configUcharts.default.instance[cid].touchLegend(e); |
| | | } |
| | | if (tooltipShow == true) { |
| | | this.showTooltip(e, cid); |
| | | } |
| | | that[cid].callMethod('emitMsg', { name: "getIndex", params: { type: "getIndex", event: tmpe, currentIndex: currentIndex, legendIndex: legendIndex, id: cid, opts: _configUcharts.default.instance[cid].opts } }); |
| | | }, |
| | | touchStart: function touchStart(e) { |
| | | var cid = this.rid; |
| | | var ontouch = _configUcharts.default.option[cid].ontouch; |
| | | if (ontouch == false) return; |
| | | _configUcharts.default.instance[cid].scrollStart(e); |
| | | that[cid].callMethod('emitMsg', { name: "getTouchStart", params: { type: "touchStart", event: e.changedTouches[0], id: cid } }); |
| | | }, |
| | | touchMove: function touchMove(e) { |
| | | var cid = this.rid; |
| | | var ontouch = _configUcharts.default.option[cid].ontouch; |
| | | if (ontouch == false) return; |
| | | _configUcharts.default.instance[cid].scroll(e); |
| | | that[cid].callMethod('emitMsg', { name: "getTouchMove", params: { type: "touchMove", event: e.changedTouches[0], id: cid } }); |
| | | if (_configUcharts.default.option[cid].ontap === true && _configUcharts.default.option[cid].enableScroll === false && _configUcharts.default.option[cid].onmovetip === true) { |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = { x: e.changedTouches[0].clientX - rchartdom.left, y: e.changedTouches[0].clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | if (_configUcharts.default.option[cid].tooltipShow === true) { |
| | | this.showTooltip(e, cid); |
| | | } |
| | | } |
| | | }, |
| | | touchEnd: function touchEnd(e) { |
| | | var cid = this.rid; |
| | | var ontouch = _configUcharts.default.option[cid].ontouch; |
| | | if (ontouch == false) return; |
| | | _configUcharts.default.instance[cid].scrollEnd(e); |
| | | that[cid].callMethod('emitMsg', { name: "getTouchEnd", params: { type: "touchEnd", event: e.changedTouches[0], id: cid } }); |
| | | }, |
| | | mouseDown: function mouseDown(e) { |
| | | var cid = this.rid; |
| | | var onmouse = _configUcharts.default.option[cid].onmouse; |
| | | if (onmouse == false) return; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | _configUcharts.default.instance[cid].scrollStart(e); |
| | | _configUcharts.default.option[cid].mousedown = true; |
| | | that[cid].callMethod('emitMsg', { name: "getTouchStart", params: { type: "mouseDown", event: tmpe, id: cid } }); |
| | | }, |
| | | mouseMove: function mouseMove(e) { |
| | | var cid = this.rid; |
| | | var onmouse = _configUcharts.default.option[cid].onmouse; |
| | | var tooltipShow = _configUcharts.default.option[cid].tooltipShow; |
| | | if (onmouse == false) return; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | if (_configUcharts.default.option[cid].mousedown) { |
| | | _configUcharts.default.instance[cid].scroll(e); |
| | | that[cid].callMethod('emitMsg', { name: "getTouchMove", params: { type: "mouseMove", event: tmpe, id: cid } }); |
| | | } else if (_configUcharts.default.instance[cid]) { |
| | | if (tooltipShow == true) { |
| | | this.showTooltip(e, cid); |
| | | } |
| | | } |
| | | }, |
| | | mouseUp: function mouseUp(e) { |
| | | var cid = this.rid; |
| | | var onmouse = _configUcharts.default.option[cid].onmouse; |
| | | if (onmouse == false) return; |
| | | var rchartdom = document.getElementById('UC' + cid).getBoundingClientRect(); |
| | | var tmpe = {}; |
| | | tmpe = { x: e.clientX - rchartdom.left, y: e.clientY - rchartdom.top + rootdom.top }; |
| | | e.changedTouches = []; |
| | | e.changedTouches.unshift(tmpe); |
| | | _configUcharts.default.instance[cid].scrollEnd(e); |
| | | _configUcharts.default.option[cid].mousedown = false; |
| | | that[cid].callMethod('emitMsg', { name: "getTouchEnd", params: { type: "mouseUp", event: tmpe, id: cid } }); |
| | | } } };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 91 */ |
| | | /*!****************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js ***! |
| | | \****************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* WEBPACK VAR INJECTION */(function(__f__) {/* |
| | | * uCharts® |
| | | * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台 |
| | | * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved. |
| | | * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) |
| | | * 复制使用请保留本段注释,感谢支持开源! |
| | | * |
| | | * uCharts®官方网站 |
| | | * https://www.uCharts.cn |
| | | * |
| | | * 开源地址: |
| | | * https://gitee.com/uCharts/uCharts |
| | | * |
| | | * uni-app插件市场地址: |
| | | * http://ext.dcloud.net.cn/plugin?id=271 |
| | | * |
| | | */ |
| | | |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;function _slicedToArray(arr, i) {return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();}function _nonIterableRest() {throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}function _iterableToArrayLimit(arr, i) {if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"] != null) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}function _arrayWithHoles(arr) {if (Array.isArray(arr)) return arr;} |
| | | |
| | | var config = { |
| | | version: 'v2.3.7-20220122', |
| | | yAxisWidth: 15, |
| | | yAxisSplit: 5, |
| | | xAxisHeight: 22, |
| | | xAxisLineHeight: 22, |
| | | legendHeight: 15, |
| | | yAxisTitleWidth: 15, |
| | | padding: [10, 10, 10, 10], |
| | | pixelRatio: 1, |
| | | rotate: false, |
| | | columePadding: 3, |
| | | fontSize: 13, |
| | | fontColor: '#666666', |
| | | dataPointShape: ['circle', 'circle', 'circle', 'circle'], |
| | | color: ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'], |
| | | linearColor: ['#0EE2F8', '#2BDCA8', '#FA7D8D', '#EB88E2', '#2AE3A0', '#0EE2F8', '#EB88E2', '#6773E3', '#F78A85'], |
| | | pieChartLinePadding: 15, |
| | | pieChartTextPadding: 5, |
| | | xAxisTextPadding: 3, |
| | | titleColor: '#333333', |
| | | titleFontSize: 20, |
| | | subtitleColor: '#999999', |
| | | subtitleFontSize: 15, |
| | | toolTipPadding: 3, |
| | | toolTipBackground: '#000000', |
| | | toolTipOpacity: 0.7, |
| | | toolTipLineHeight: 20, |
| | | radarLabelTextMargin: 13, |
| | | gaugeLabelTextMargin: 13 }; |
| | | |
| | | |
| | | var assign = function assign(target) {for (var _len2 = arguments.length, varArgs = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {varArgs[_key2 - 1] = arguments[_key2];} |
| | | if (target == null) { |
| | | throw new TypeError('[uCharts] Cannot convert undefined or null to object'); |
| | | } |
| | | if (!varArgs || varArgs.length <= 0) { |
| | | return target; |
| | | } |
| | | // 深度合并对象 |
| | | function deepAssign(obj1, obj2) { |
| | | for (var key in obj2) { |
| | | obj1[key] = obj1[key] && obj1[key].toString() === "[object Object]" ? |
| | | deepAssign(obj1[key], obj2[key]) : obj1[key] = obj2[key]; |
| | | } |
| | | return obj1; |
| | | } |
| | | varArgs.forEach(function (val) { |
| | | target = deepAssign(target, val); |
| | | }); |
| | | return target; |
| | | }; |
| | | |
| | | var util = { |
| | | toFixed: function toFixed(num, limit) { |
| | | limit = limit || 2; |
| | | if (this.isFloat(num)) { |
| | | num = num.toFixed(limit); |
| | | } |
| | | return num; |
| | | }, |
| | | isFloat: function isFloat(num) { |
| | | return num % 1 !== 0; |
| | | }, |
| | | approximatelyEqual: function approximatelyEqual(num1, num2) { |
| | | return Math.abs(num1 - num2) < 1e-10; |
| | | }, |
| | | isSameSign: function isSameSign(num1, num2) { |
| | | return Math.abs(num1) === num1 && Math.abs(num2) === num2 || Math.abs(num1) !== num1 && Math.abs(num2) !== num2; |
| | | }, |
| | | isSameXCoordinateArea: function isSameXCoordinateArea(p1, p2) { |
| | | return this.isSameSign(p1.x, p2.x); |
| | | }, |
| | | isCollision: function isCollision(obj1, obj2) { |
| | | obj1.end = {}; |
| | | obj1.end.x = obj1.start.x + obj1.width; |
| | | obj1.end.y = obj1.start.y - obj1.height; |
| | | obj2.end = {}; |
| | | obj2.end.x = obj2.start.x + obj2.width; |
| | | obj2.end.y = obj2.start.y - obj2.height; |
| | | var flag = obj2.start.x > obj1.end.x || obj2.end.x < obj1.start.x || obj2.end.y > obj1.start.y || obj2.start.y < obj1.end.y; |
| | | return !flag; |
| | | } }; |
| | | |
| | | |
| | | //兼容H5点击事件 |
| | | function getH5Offset(e) { |
| | | e.mp = { |
| | | changedTouches: [] }; |
| | | |
| | | e.mp.changedTouches.push({ |
| | | x: e.offsetX, |
| | | y: e.offsetY }); |
| | | |
| | | return e; |
| | | } |
| | | |
| | | // 经纬度转墨卡托 |
| | | function lonlat2mercator(longitude, latitude) { |
| | | var mercator = Array(2); |
| | | var x = longitude * 20037508.34 / 180; |
| | | var y = Math.log(Math.tan((90 + latitude) * Math.PI / 360)) / (Math.PI / 180); |
| | | y = y * 20037508.34 / 180; |
| | | mercator[0] = x; |
| | | mercator[1] = y; |
| | | return mercator; |
| | | } |
| | | |
| | | // 墨卡托转经纬度 |
| | | function mercator2lonlat(longitude, latitude) { |
| | | var lonlat = Array(2); |
| | | var x = longitude / 20037508.34 * 180; |
| | | var y = latitude / 20037508.34 * 180; |
| | | y = 180 / Math.PI * (2 * Math.atan(Math.exp(y * Math.PI / 180)) - Math.PI / 2); |
| | | lonlat[0] = x; |
| | | lonlat[1] = y; |
| | | return lonlat; |
| | | } |
| | | |
| | | // hex 转 rgba |
| | | function hexToRgb(hexValue, opc) { |
| | | var rgx = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; |
| | | var hex = hexValue.replace(rgx, function (m, r, g, b) { |
| | | return r + r + g + g + b + b; |
| | | }); |
| | | var rgb = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); |
| | | var r = parseInt(rgb[1], 16); |
| | | var g = parseInt(rgb[2], 16); |
| | | var b = parseInt(rgb[3], 16); |
| | | return 'rgba(' + r + ',' + g + ',' + b + ',' + opc + ')'; |
| | | } |
| | | |
| | | function findRange(num, type, limit) { |
| | | if (isNaN(num)) { |
| | | throw new Error('[uCharts] series数据需为Number格式'); |
| | | } |
| | | limit = limit || 10; |
| | | type = type ? type : 'upper'; |
| | | var multiple = 1; |
| | | while (limit < 1) { |
| | | limit *= 10; |
| | | multiple *= 10; |
| | | } |
| | | if (type === 'upper') { |
| | | num = Math.ceil(num * multiple); |
| | | } else { |
| | | num = Math.floor(num * multiple); |
| | | } |
| | | while (num % limit !== 0) { |
| | | if (type === 'upper') { |
| | | num++; |
| | | } else { |
| | | num--; |
| | | } |
| | | } |
| | | return num / multiple; |
| | | } |
| | | |
| | | function calCandleMA(dayArr, nameArr, colorArr, kdata) { |
| | | var seriesTemp = []; |
| | | for (var k = 0; k < dayArr.length; k++) { |
| | | var seriesItem = { |
| | | data: [], |
| | | name: nameArr[k], |
| | | color: colorArr[k] }; |
| | | |
| | | for (var i = 0, len = kdata.length; i < len; i++) { |
| | | if (i < dayArr[k]) { |
| | | seriesItem.data.push(null); |
| | | continue; |
| | | } |
| | | var sum = 0; |
| | | for (var j = 0; j < dayArr[k]; j++) { |
| | | sum += kdata[i - j][1]; |
| | | } |
| | | seriesItem.data.push(+(sum / dayArr[k]).toFixed(3)); |
| | | } |
| | | seriesTemp.push(seriesItem); |
| | | } |
| | | return seriesTemp; |
| | | } |
| | | |
| | | function calValidDistance(self, distance, chartData, config, opts) { |
| | | var dataChartAreaWidth = opts.width - opts.area[1] - opts.area[3]; |
| | | var dataChartWidth = chartData.eachSpacing * (opts.chartData.xAxisData.xAxisPoints.length - 1); |
| | | var validDistance = distance; |
| | | if (distance >= 0) { |
| | | validDistance = 0; |
| | | self.uevent.trigger('scrollLeft'); |
| | | self.scrollOption.position = 'left'; |
| | | opts.xAxis.scrollPosition = 'left'; |
| | | } else if (Math.abs(distance) >= dataChartWidth - dataChartAreaWidth) { |
| | | validDistance = dataChartAreaWidth - dataChartWidth; |
| | | self.uevent.trigger('scrollRight'); |
| | | self.scrollOption.position = 'right'; |
| | | opts.xAxis.scrollPosition = 'right'; |
| | | } else { |
| | | self.scrollOption.position = distance; |
| | | opts.xAxis.scrollPosition = distance; |
| | | } |
| | | return validDistance; |
| | | } |
| | | |
| | | function isInAngleRange(angle, startAngle, endAngle) { |
| | | function adjust(angle) { |
| | | while (angle < 0) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | while (angle > 2 * Math.PI) { |
| | | angle -= 2 * Math.PI; |
| | | } |
| | | return angle; |
| | | } |
| | | angle = adjust(angle); |
| | | startAngle = adjust(startAngle); |
| | | endAngle = adjust(endAngle); |
| | | if (startAngle > endAngle) { |
| | | endAngle += 2 * Math.PI; |
| | | if (angle < startAngle) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | } |
| | | return angle >= startAngle && angle <= endAngle; |
| | | } |
| | | |
| | | function calRotateTranslate(x, y, h) { |
| | | var xv = x; |
| | | var yv = h - y; |
| | | var transX = xv + (h - yv - xv) / Math.sqrt(2); |
| | | transX *= -1; |
| | | var transY = (h - yv) * (Math.sqrt(2) - 1) - (h - yv - xv) / Math.sqrt(2); |
| | | return { |
| | | transX: transX, |
| | | transY: transY }; |
| | | |
| | | } |
| | | |
| | | function createCurveControlPoints(points, i) { |
| | | function isNotMiddlePoint(points, i) { |
| | | if (points[i - 1] && points[i + 1]) { |
| | | return points[i].y >= Math.max(points[i - 1].y, points[i + 1].y) || points[i].y <= Math.min(points[i - 1].y, |
| | | points[i + 1].y); |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | function isNotMiddlePointX(points, i) { |
| | | if (points[i - 1] && points[i + 1]) { |
| | | return points[i].x >= Math.max(points[i - 1].x, points[i + 1].x) || points[i].x <= Math.min(points[i - 1].x, |
| | | points[i + 1].x); |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | var a = 0.2; |
| | | var b = 0.2; |
| | | var pAx = null; |
| | | var pAy = null; |
| | | var pBx = null; |
| | | var pBy = null; |
| | | if (i < 1) { |
| | | pAx = points[0].x + (points[1].x - points[0].x) * a; |
| | | pAy = points[0].y + (points[1].y - points[0].y) * a; |
| | | } else { |
| | | pAx = points[i].x + (points[i + 1].x - points[i - 1].x) * a; |
| | | pAy = points[i].y + (points[i + 1].y - points[i - 1].y) * a; |
| | | } |
| | | |
| | | if (i > points.length - 3) { |
| | | var last = points.length - 1; |
| | | pBx = points[last].x - (points[last].x - points[last - 1].x) * b; |
| | | pBy = points[last].y - (points[last].y - points[last - 1].y) * b; |
| | | } else { |
| | | pBx = points[i + 1].x - (points[i + 2].x - points[i].x) * b; |
| | | pBy = points[i + 1].y - (points[i + 2].y - points[i].y) * b; |
| | | } |
| | | if (isNotMiddlePoint(points, i + 1)) { |
| | | pBy = points[i + 1].y; |
| | | } |
| | | if (isNotMiddlePoint(points, i)) { |
| | | pAy = points[i].y; |
| | | } |
| | | if (isNotMiddlePointX(points, i + 1)) { |
| | | pBx = points[i + 1].x; |
| | | } |
| | | if (isNotMiddlePointX(points, i)) { |
| | | pAx = points[i].x; |
| | | } |
| | | if (pAy >= Math.max(points[i].y, points[i + 1].y) || pAy <= Math.min(points[i].y, points[i + 1].y)) { |
| | | pAy = points[i].y; |
| | | } |
| | | if (pBy >= Math.max(points[i].y, points[i + 1].y) || pBy <= Math.min(points[i].y, points[i + 1].y)) { |
| | | pBy = points[i + 1].y; |
| | | } |
| | | if (pAx >= Math.max(points[i].x, points[i + 1].x) || pAx <= Math.min(points[i].x, points[i + 1].x)) { |
| | | pAx = points[i].x; |
| | | } |
| | | if (pBx >= Math.max(points[i].x, points[i + 1].x) || pBx <= Math.min(points[i].x, points[i + 1].x)) { |
| | | pBx = points[i + 1].x; |
| | | } |
| | | return { |
| | | ctrA: { |
| | | x: pAx, |
| | | y: pAy }, |
| | | |
| | | ctrB: { |
| | | x: pBx, |
| | | y: pBy } }; |
| | | |
| | | |
| | | } |
| | | |
| | | function convertCoordinateOrigin(x, y, center) { |
| | | return { |
| | | x: center.x + x, |
| | | y: center.y - y }; |
| | | |
| | | } |
| | | |
| | | function avoidCollision(obj, target) { |
| | | if (target) { |
| | | // is collision test |
| | | while (util.isCollision(obj, target)) { |
| | | if (obj.start.x > 0) { |
| | | obj.start.y--; |
| | | } else if (obj.start.x < 0) { |
| | | obj.start.y++; |
| | | } else { |
| | | if (obj.start.y > 0) { |
| | | obj.start.y++; |
| | | } else { |
| | | obj.start.y--; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return obj; |
| | | } |
| | | |
| | | function fixPieSeries(series, opts, config) { |
| | | var pieSeriesArr = []; |
| | | if (series.length > 0 && series[0].data.constructor.toString().indexOf('Array') > -1) { |
| | | opts._pieSeries_ = series; |
| | | var oldseries = series[0].data; |
| | | for (var i = 0; i < oldseries.length; i++) { |
| | | oldseries[i].formatter = series[0].formatter; |
| | | oldseries[i].data = oldseries[i].value; |
| | | pieSeriesArr.push(oldseries[i]); |
| | | } |
| | | opts.series = pieSeriesArr; |
| | | } else { |
| | | pieSeriesArr = series; |
| | | } |
| | | return pieSeriesArr; |
| | | } |
| | | |
| | | function fillSeries(series, opts, config) { |
| | | var index = 0; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | if (!item.color) { |
| | | item.color = config.color[index]; |
| | | index = (index + 1) % config.color.length; |
| | | } |
| | | if (!item.linearIndex) { |
| | | item.linearIndex = i; |
| | | } |
| | | if (!item.index) { |
| | | item.index = 0; |
| | | } |
| | | if (!item.type) { |
| | | item.type = opts.type; |
| | | } |
| | | if (typeof item.show == "undefined") { |
| | | item.show = true; |
| | | } |
| | | if (!item.type) { |
| | | item.type = opts.type; |
| | | } |
| | | if (!item.pointShape) { |
| | | item.pointShape = "circle"; |
| | | } |
| | | if (!item.legendShape) { |
| | | switch (item.type) { |
| | | case 'line': |
| | | item.legendShape = "line"; |
| | | break; |
| | | case 'column': |
| | | item.legendShape = "rect"; |
| | | break; |
| | | case 'area': |
| | | item.legendShape = "triangle"; |
| | | break; |
| | | case 'bar': |
| | | item.legendShape = "rect"; |
| | | break; |
| | | default: |
| | | item.legendShape = "circle";} |
| | | |
| | | } |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function fillCustomColor(linearType, customColor, series, config) { |
| | | var newcolor = customColor || []; |
| | | if (linearType == 'custom' && newcolor.length == 0) { |
| | | newcolor = config.linearColor; |
| | | } |
| | | if (linearType == 'custom' && newcolor.length < series.length) { |
| | | var chazhi = series.length - newcolor.length; |
| | | for (var i = 0; i < chazhi; i++) { |
| | | newcolor.push(config.linearColor[(i + 1) % config.linearColor.length]); |
| | | } |
| | | } |
| | | return newcolor; |
| | | } |
| | | |
| | | function getDataRange(minData, maxData) { |
| | | var limit = 0; |
| | | var range = maxData - minData; |
| | | if (range >= 10000) { |
| | | limit = 1000; |
| | | } else if (range >= 1000) { |
| | | limit = 100; |
| | | } else if (range >= 100) { |
| | | limit = 10; |
| | | } else if (range >= 10) { |
| | | limit = 5; |
| | | } else if (range >= 1) { |
| | | limit = 1; |
| | | } else if (range >= 0.1) { |
| | | limit = 0.1; |
| | | } else if (range >= 0.01) { |
| | | limit = 0.01; |
| | | } else if (range >= 0.001) { |
| | | limit = 0.001; |
| | | } else if (range >= 0.0001) { |
| | | limit = 0.0001; |
| | | } else if (range >= 0.00001) { |
| | | limit = 0.00001; |
| | | } else { |
| | | limit = 0.000001; |
| | | } |
| | | return { |
| | | minRange: findRange(minData, 'lower', limit), |
| | | maxRange: findRange(maxData, 'upper', limit) }; |
| | | |
| | | } |
| | | |
| | | function measureText(text, fontSize, context) { |
| | | var width = 0; |
| | | text = String(text); |
| | | |
| | | |
| | | |
| | | if (context !== false && context !== undefined && context.setFontSize && context.measureText) { |
| | | context.setFontSize(fontSize); |
| | | return context.measureText(text).width; |
| | | } else { |
| | | var text = text.split(''); |
| | | for (var i = 0; i < text.length; i++) { |
| | | var item = text[i]; |
| | | if (/[a-zA-Z]/.test(item)) { |
| | | width += 7; |
| | | } else if (/[0-9]/.test(item)) { |
| | | width += 5.5; |
| | | } else if (/\./.test(item)) { |
| | | width += 2.7; |
| | | } else if (/-/.test(item)) { |
| | | width += 3.25; |
| | | } else if (/:/.test(item)) { |
| | | width += 2.5; |
| | | } else if (/[\u4e00-\u9fa5]/.test(item)) { |
| | | width += 10; |
| | | } else if (/\(|\)/.test(item)) { |
| | | width += 3.73; |
| | | } else if (/\s/.test(item)) { |
| | | width += 2.5; |
| | | } else if (/%/.test(item)) { |
| | | width += 8; |
| | | } else { |
| | | width += 10; |
| | | } |
| | | } |
| | | return width * fontSize / 10; |
| | | } |
| | | } |
| | | |
| | | function dataCombine(series) { |
| | | return series.reduce(function (a, b) { |
| | | return (a.data ? a.data : a).concat(b.data); |
| | | }, []); |
| | | } |
| | | |
| | | function dataCombineStack(series, len) { |
| | | var sum = new Array(len); |
| | | for (var j = 0; j < sum.length; j++) { |
| | | sum[j] = 0; |
| | | } |
| | | for (var i = 0; i < series.length; i++) { |
| | | for (var j = 0; j < sum.length; j++) { |
| | | sum[j] += series[i].data[j]; |
| | | } |
| | | } |
| | | return series.reduce(function (a, b) { |
| | | return (a.data ? a.data : a).concat(b.data).concat(sum); |
| | | }, []); |
| | | } |
| | | |
| | | function getTouches(touches, opts, e) { |
| | | var x, y; |
| | | if (touches.clientX) { |
| | | if (opts.rotate) { |
| | | y = opts.height - touches.clientX * opts.pix; |
| | | x = (touches.pageY - e.currentTarget.offsetTop - opts.height / opts.pix / 2 * (opts.pix - 1)) * opts.pix; |
| | | } else { |
| | | x = touches.clientX * opts.pix; |
| | | y = (touches.pageY - e.currentTarget.offsetTop - opts.height / opts.pix / 2 * (opts.pix - 1)) * opts.pix; |
| | | } |
| | | } else { |
| | | if (opts.rotate) { |
| | | y = opts.height - touches.x * opts.pix; |
| | | x = touches.y * opts.pix; |
| | | } else { |
| | | x = touches.x * opts.pix; |
| | | y = touches.y * opts.pix; |
| | | } |
| | | } |
| | | return { |
| | | x: x, |
| | | y: y }; |
| | | |
| | | } |
| | | |
| | | function getSeriesDataItem(series, index, group) { |
| | | var data = []; |
| | | var newSeries = []; |
| | | var indexIsArr = index.constructor.toString().indexOf('Array') > -1; |
| | | if (indexIsArr) { |
| | | var tempSeries = filterSeries(series); |
| | | for (var i = 0; i < group.length; i++) { |
| | | newSeries.push(tempSeries[group[i]]); |
| | | } |
| | | } else { |
| | | newSeries = series; |
| | | }; |
| | | for (var _i = 0; _i < newSeries.length; _i++) { |
| | | var item = newSeries[_i]; |
| | | var tmpindex = -1; |
| | | if (indexIsArr) { |
| | | tmpindex = index[_i]; |
| | | } else { |
| | | tmpindex = index; |
| | | } |
| | | if (item.data[tmpindex] !== null && typeof item.data[tmpindex] !== 'undefined' && item.show) { |
| | | var seriesItem = {}; |
| | | seriesItem.color = item.color; |
| | | seriesItem.type = item.type; |
| | | seriesItem.style = item.style; |
| | | seriesItem.pointShape = item.pointShape; |
| | | seriesItem.disableLegend = item.disableLegend; |
| | | seriesItem.name = item.name; |
| | | seriesItem.show = item.show; |
| | | seriesItem.data = item.formatter ? item.formatter(item.data[tmpindex]) : item.data[tmpindex]; |
| | | data.push(seriesItem); |
| | | } |
| | | } |
| | | return data; |
| | | } |
| | | |
| | | function getMaxTextListLength(list, fontSize, context) { |
| | | var lengthList = list.map(function (item) { |
| | | return measureText(item, fontSize, context); |
| | | }); |
| | | return Math.max.apply(null, lengthList); |
| | | } |
| | | |
| | | function getRadarCoordinateSeries(length) { |
| | | var eachAngle = 2 * Math.PI / length; |
| | | var CoordinateSeries = []; |
| | | for (var i = 0; i < length; i++) { |
| | | CoordinateSeries.push(eachAngle * i); |
| | | } |
| | | return CoordinateSeries.map(function (item) { |
| | | return -1 * item + Math.PI / 2; |
| | | }); |
| | | } |
| | | |
| | | function getToolTipData(seriesData, opts, index, group, categories) { |
| | | var option = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {}; |
| | | var calPoints = opts.chartData.calPoints ? opts.chartData.calPoints : []; |
| | | var points = {}; |
| | | if (group.length > 0) { |
| | | var filterPoints = []; |
| | | for (var i = 0; i < group.length; i++) { |
| | | filterPoints.push(calPoints[group[i]]); |
| | | } |
| | | points = filterPoints[0][index[0]]; |
| | | } else { |
| | | points = calPoints[0][index]; |
| | | }; |
| | | var textList = seriesData.map(function (item) { |
| | | var titleText = null; |
| | | if (opts.categories && opts.categories.length > 0) { |
| | | titleText = categories[index]; |
| | | }; |
| | | return { |
| | | text: option.formatter ? option.formatter(item, titleText, index, opts) : item.name + ': ' + item.data, |
| | | color: item.color }; |
| | | |
| | | }); |
| | | var offset = { |
| | | x: Math.round(points.x), |
| | | y: Math.round(points.y) }; |
| | | |
| | | return { |
| | | textList: textList, |
| | | offset: offset }; |
| | | |
| | | } |
| | | |
| | | function getMixToolTipData(seriesData, opts, index, categories) { |
| | | var option = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {}; |
| | | var points = opts.chartData.xAxisPoints[index] + opts.chartData.eachSpacing / 2; |
| | | var textList = seriesData.map(function (item) { |
| | | return { |
| | | text: option.formatter ? option.formatter(item, categories[index], index, opts) : item.name + ': ' + item.data, |
| | | color: item.color, |
| | | disableLegend: item.disableLegend ? true : false }; |
| | | |
| | | }); |
| | | textList = textList.filter(function (item) { |
| | | if (item.disableLegend !== true) { |
| | | return item; |
| | | } |
| | | }); |
| | | var offset = { |
| | | x: Math.round(points), |
| | | y: 0 }; |
| | | |
| | | return { |
| | | textList: textList, |
| | | offset: offset }; |
| | | |
| | | } |
| | | |
| | | function getCandleToolTipData(series, seriesData, opts, index, categories, extra) { |
| | | var option = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : {}; |
| | | var calPoints = opts.chartData.calPoints; |
| | | var upColor = extra.color.upFill; |
| | | var downColor = extra.color.downFill; |
| | | //颜色顺序为开盘,收盘,最低,最高 |
| | | var color = [upColor, upColor, downColor, upColor]; |
| | | var textList = []; |
| | | seriesData.map(function (item) { |
| | | if (index == 0) { |
| | | if (item.data[1] - item.data[0] < 0) { |
| | | color[1] = downColor; |
| | | } else { |
| | | color[1] = upColor; |
| | | } |
| | | } else { |
| | | if (item.data[0] < series[index - 1][1]) { |
| | | color[0] = downColor; |
| | | } |
| | | if (item.data[1] < item.data[0]) { |
| | | color[1] = downColor; |
| | | } |
| | | if (item.data[2] > series[index - 1][1]) { |
| | | color[2] = upColor; |
| | | } |
| | | if (item.data[3] < series[index - 1][1]) { |
| | | color[3] = downColor; |
| | | } |
| | | } |
| | | var text1 = { |
| | | text: '开盘:' + item.data[0], |
| | | color: color[0] }; |
| | | |
| | | var text2 = { |
| | | text: '收盘:' + item.data[1], |
| | | color: color[1] }; |
| | | |
| | | var text3 = { |
| | | text: '最低:' + item.data[2], |
| | | color: color[2] }; |
| | | |
| | | var text4 = { |
| | | text: '最高:' + item.data[3], |
| | | color: color[3] }; |
| | | |
| | | textList.push(text1, text2, text3, text4); |
| | | }); |
| | | var validCalPoints = []; |
| | | var offset = { |
| | | x: 0, |
| | | y: 0 }; |
| | | |
| | | for (var i = 0; i < calPoints.length; i++) { |
| | | var points = calPoints[i]; |
| | | if (typeof points[index] !== 'undefined' && points[index] !== null) { |
| | | validCalPoints.push(points[index]); |
| | | } |
| | | } |
| | | offset.x = Math.round(validCalPoints[0][0].x); |
| | | return { |
| | | textList: textList, |
| | | offset: offset }; |
| | | |
| | | } |
| | | |
| | | function filterSeries(series) { |
| | | var tempSeries = []; |
| | | for (var i = 0; i < series.length; i++) { |
| | | if (series[i].show == true) { |
| | | tempSeries.push(series[i]); |
| | | } |
| | | } |
| | | return tempSeries; |
| | | } |
| | | |
| | | function findCurrentIndex(currentPoints, calPoints, opts, config) { |
| | | var offset = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0; |
| | | var current = { index: -1, group: [] }; |
| | | var spacing = opts.chartData.eachSpacing / 2; |
| | | var xAxisPoints = []; |
| | | if (calPoints && calPoints.length > 0) { |
| | | if (!opts.categories) { |
| | | spacing = 0; |
| | | } else { |
| | | for (var i = 1; i < opts.chartData.xAxisPoints.length; i++) { |
| | | xAxisPoints.push(opts.chartData.xAxisPoints[i] - spacing); |
| | | } |
| | | if ((opts.type == 'line' || opts.type == 'area') && opts.xAxis.boundaryGap == 'justify') { |
| | | xAxisPoints = opts.chartData.xAxisPoints; |
| | | } |
| | | } |
| | | if (isInExactChartArea(currentPoints, opts, config)) { |
| | | if (!opts.categories) { |
| | | var timePoints = Array(calPoints.length); |
| | | for (var _i2 = 0; _i2 < calPoints.length; _i2++) { |
| | | timePoints[_i2] = Array(calPoints[_i2].length); |
| | | for (var j = 0; j < calPoints[_i2].length; j++) { |
| | | timePoints[_i2][j] = Math.abs(calPoints[_i2][j].x - currentPoints.x); |
| | | } |
| | | }; |
| | | var pointValue = Array(timePoints.length); |
| | | var pointIndex = Array(timePoints.length); |
| | | for (var _i3 = 0; _i3 < timePoints.length; _i3++) { |
| | | pointValue[_i3] = Math.min.apply(null, timePoints[_i3]); |
| | | pointIndex[_i3] = timePoints[_i3].indexOf(pointValue[_i3]); |
| | | } |
| | | var minValue = Math.min.apply(null, pointValue); |
| | | current.index = []; |
| | | for (var _i4 = 0; _i4 < pointValue.length; _i4++) { |
| | | if (pointValue[_i4] == minValue) { |
| | | current.group.push(_i4); |
| | | current.index.push(pointIndex[_i4]); |
| | | } |
| | | }; |
| | | } else { |
| | | xAxisPoints.forEach(function (item, index) { |
| | | if (currentPoints.x + offset + spacing > item) { |
| | | current.index = index; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | return current; |
| | | } |
| | | |
| | | function findBarChartCurrentIndex(currentPoints, calPoints, opts, config) { |
| | | var offset = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0; |
| | | var current = { index: -1, group: [] }; |
| | | var spacing = opts.chartData.eachSpacing / 2; |
| | | var yAxisPoints = opts.chartData.yAxisPoints; |
| | | if (calPoints && calPoints.length > 0) { |
| | | if (isInExactChartArea(currentPoints, opts, config)) { |
| | | yAxisPoints.forEach(function (item, index) { |
| | | if (currentPoints.y + offset + spacing > item) { |
| | | current.index = index; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | return current; |
| | | } |
| | | |
| | | function findLegendIndex(currentPoints, legendData, opts) { |
| | | var currentIndex = -1; |
| | | var gap = 0; |
| | | if (isInExactLegendArea(currentPoints, legendData.area)) { |
| | | var points = legendData.points; |
| | | var index = -1; |
| | | for (var i = 0, len = points.length; i < len; i++) { |
| | | var item = points[i]; |
| | | for (var j = 0; j < item.length; j++) { |
| | | index += 1; |
| | | var area = item[j]['area']; |
| | | if (area && currentPoints.x > area[0] - gap && currentPoints.x < area[2] + gap && currentPoints.y > area[1] - gap && currentPoints.y < area[3] + gap) { |
| | | currentIndex = index; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function isInExactLegendArea(currentPoints, area) { |
| | | return currentPoints.x > area.start.x && currentPoints.x < area.end.x && currentPoints.y > area.start.y && currentPoints.y < area.end.y; |
| | | } |
| | | |
| | | function isInExactChartArea(currentPoints, opts, config) { |
| | | return currentPoints.x <= opts.width - opts.area[1] + 10 && currentPoints.x >= opts.area[3] - 10 && currentPoints.y >= opts.area[0] && currentPoints.y <= opts.height - opts.area[2]; |
| | | } |
| | | |
| | | function findRadarChartCurrentIndex(currentPoints, radarData, count) { |
| | | var eachAngleArea = 2 * Math.PI / count; |
| | | var currentIndex = -1; |
| | | if (isInExactPieChartArea(currentPoints, radarData.center, radarData.radius)) { |
| | | var fixAngle = function fixAngle(angle) { |
| | | if (angle < 0) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | if (angle > 2 * Math.PI) { |
| | | angle -= 2 * Math.PI; |
| | | } |
| | | return angle; |
| | | }; |
| | | var angle = Math.atan2(radarData.center.y - currentPoints.y, currentPoints.x - radarData.center.x); |
| | | angle = -1 * angle; |
| | | if (angle < 0) { |
| | | angle += 2 * Math.PI; |
| | | } |
| | | var angleList = radarData.angleList.map(function (item) { |
| | | item = fixAngle(-1 * item); |
| | | return item; |
| | | }); |
| | | angleList.forEach(function (item, index) { |
| | | var rangeStart = fixAngle(item - eachAngleArea / 2); |
| | | var rangeEnd = fixAngle(item + eachAngleArea / 2); |
| | | if (rangeEnd < rangeStart) { |
| | | rangeEnd += 2 * Math.PI; |
| | | } |
| | | if (angle >= rangeStart && angle <= rangeEnd || angle + 2 * Math.PI >= rangeStart && angle + 2 * Math.PI <= rangeEnd) { |
| | | currentIndex = index; |
| | | } |
| | | }); |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findFunnelChartCurrentIndex(currentPoints, funnelData) { |
| | | var currentIndex = -1; |
| | | for (var i = 0, len = funnelData.series.length; i < len; i++) { |
| | | var item = funnelData.series[i]; |
| | | if (currentPoints.x > item.funnelArea[0] && currentPoints.x < item.funnelArea[2] && currentPoints.y > item.funnelArea[1] && currentPoints.y < item.funnelArea[3]) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findWordChartCurrentIndex(currentPoints, wordData) { |
| | | var currentIndex = -1; |
| | | for (var i = 0, len = wordData.length; i < len; i++) { |
| | | var item = wordData[i]; |
| | | if (currentPoints.x > item.area[0] && currentPoints.x < item.area[2] && currentPoints.y > item.area[1] && currentPoints.y < item.area[3]) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findMapChartCurrentIndex(currentPoints, opts) { |
| | | var currentIndex = -1; |
| | | var cData = opts.chartData.mapData; |
| | | var data = opts.series; |
| | | var tmp = pointToCoordinate(currentPoints.y, currentPoints.x, cData.bounds, cData.scale, cData.xoffset, cData.yoffset); |
| | | var poi = [tmp.x, tmp.y]; |
| | | for (var i = 0, len = data.length; i < len; i++) { |
| | | var item = data[i].geometry.coordinates; |
| | | if (isPoiWithinPoly(poi, item, opts.chartData.mapData.mercator)) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findRoseChartCurrentIndex(currentPoints, pieData, opts) { |
| | | var currentIndex = -1; |
| | | var series = getRoseDataPoints(opts._series_, opts.extra.rose.type, pieData.radius, pieData.radius); |
| | | if (pieData && pieData.center && isInExactPieChartArea(currentPoints, pieData.center, pieData.radius)) { |
| | | var angle = Math.atan2(pieData.center.y - currentPoints.y, currentPoints.x - pieData.center.x); |
| | | angle = -angle; |
| | | if (opts.extra.rose && opts.extra.rose.offsetAngle) { |
| | | angle = angle - opts.extra.rose.offsetAngle * Math.PI / 180; |
| | | } |
| | | for (var i = 0, len = series.length; i < len; i++) { |
| | | if (isInAngleRange(angle, series[i]._start_, series[i]._start_ + series[i]._rose_proportion_ * 2 * Math.PI)) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function findPieChartCurrentIndex(currentPoints, pieData, opts) { |
| | | var currentIndex = -1; |
| | | var series = getPieDataPoints(pieData.series); |
| | | if (pieData && pieData.center && isInExactPieChartArea(currentPoints, pieData.center, pieData.radius)) { |
| | | var angle = Math.atan2(pieData.center.y - currentPoints.y, currentPoints.x - pieData.center.x); |
| | | angle = -angle; |
| | | if (opts.extra.pie && opts.extra.pie.offsetAngle) { |
| | | angle = angle - opts.extra.pie.offsetAngle * Math.PI / 180; |
| | | } |
| | | if (opts.extra.ring && opts.extra.ring.offsetAngle) { |
| | | angle = angle - opts.extra.ring.offsetAngle * Math.PI / 180; |
| | | } |
| | | for (var i = 0, len = series.length; i < len; i++) { |
| | | if (isInAngleRange(angle, series[i]._start_, series[i]._start_ + series[i]._proportion_ * 2 * Math.PI)) { |
| | | currentIndex = i; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return currentIndex; |
| | | } |
| | | |
| | | function isInExactPieChartArea(currentPoints, center, radius) { |
| | | return Math.pow(currentPoints.x - center.x, 2) + Math.pow(currentPoints.y - center.y, 2) <= Math.pow(radius, 2); |
| | | } |
| | | |
| | | function splitPoints(points, eachSeries) { |
| | | var newPoints = []; |
| | | var items = []; |
| | | points.forEach(function (item, index) { |
| | | if (eachSeries.connectNulls) { |
| | | if (item !== null) { |
| | | items.push(item); |
| | | } |
| | | } else { |
| | | if (item !== null) { |
| | | items.push(item); |
| | | } else { |
| | | if (items.length) { |
| | | newPoints.push(items); |
| | | } |
| | | items = []; |
| | | } |
| | | } |
| | | |
| | | }); |
| | | if (items.length) { |
| | | newPoints.push(items); |
| | | } |
| | | return newPoints; |
| | | } |
| | | |
| | | function calLegendData(series, opts, config, chartData, context) { |
| | | var legendData = { |
| | | area: { |
| | | start: { |
| | | x: 0, |
| | | y: 0 }, |
| | | |
| | | end: { |
| | | x: 0, |
| | | y: 0 }, |
| | | |
| | | width: 0, |
| | | height: 0, |
| | | wholeWidth: 0, |
| | | wholeHeight: 0 }, |
| | | |
| | | points: [], |
| | | widthArr: [], |
| | | heightArr: [] }; |
| | | |
| | | if (opts.legend.show === false) { |
| | | chartData.legendData = legendData; |
| | | return legendData; |
| | | } |
| | | var padding = opts.legend.padding * opts.pix; |
| | | var margin = opts.legend.margin * opts.pix; |
| | | var fontSize = opts.legend.fontSize ? opts.legend.fontSize * opts.pix : config.fontSize; |
| | | var shapeWidth = 15 * opts.pix; |
| | | var shapeRight = 5 * opts.pix; |
| | | var lineHeight = Math.max(opts.legend.lineHeight * opts.pix, fontSize); |
| | | if (opts.legend.position == 'top' || opts.legend.position == 'bottom') { |
| | | var legendList = []; |
| | | var widthCount = 0; |
| | | var widthCountArr = []; |
| | | var currentRow = []; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | var itemWidth = shapeWidth + shapeRight + measureText(item.name || 'undefined', fontSize, context) + opts.legend.itemGap * opts.pix; |
| | | if (widthCount + itemWidth > opts.width - opts.area[1] - opts.area[3]) { |
| | | legendList.push(currentRow); |
| | | widthCountArr.push(widthCount - opts.legend.itemGap * opts.pix); |
| | | widthCount = itemWidth; |
| | | currentRow = [item]; |
| | | } else { |
| | | widthCount += itemWidth; |
| | | currentRow.push(item); |
| | | } |
| | | } |
| | | if (currentRow.length) { |
| | | legendList.push(currentRow); |
| | | widthCountArr.push(widthCount - opts.legend.itemGap * opts.pix); |
| | | legendData.widthArr = widthCountArr; |
| | | var legendWidth = Math.max.apply(null, widthCountArr); |
| | | switch (opts.legend.float) { |
| | | case 'left': |
| | | legendData.area.start.x = opts.area[3]; |
| | | legendData.area.end.x = opts.area[3] + legendWidth + 2 * padding; |
| | | break; |
| | | case 'right': |
| | | legendData.area.start.x = opts.width - opts.area[1] - legendWidth - 2 * padding; |
| | | legendData.area.end.x = opts.width - opts.area[1]; |
| | | break; |
| | | default: |
| | | legendData.area.start.x = (opts.width - legendWidth) / 2 - padding; |
| | | legendData.area.end.x = (opts.width + legendWidth) / 2 + padding;} |
| | | |
| | | legendData.area.width = legendWidth + 2 * padding; |
| | | legendData.area.wholeWidth = legendWidth + 2 * padding; |
| | | legendData.area.height = legendList.length * lineHeight + 2 * padding; |
| | | legendData.area.wholeHeight = legendList.length * lineHeight + 2 * padding + 2 * margin; |
| | | legendData.points = legendList; |
| | | } |
| | | } else { |
| | | var len = series.length; |
| | | var maxHeight = opts.height - opts.area[0] - opts.area[2] - 2 * margin - 2 * padding; |
| | | var maxLength = Math.min(Math.floor(maxHeight / lineHeight), len); |
| | | legendData.area.height = maxLength * lineHeight + padding * 2; |
| | | legendData.area.wholeHeight = maxLength * lineHeight + padding * 2; |
| | | switch (opts.legend.float) { |
| | | case 'top': |
| | | legendData.area.start.y = opts.area[0] + margin; |
| | | legendData.area.end.y = opts.area[0] + margin + legendData.area.height; |
| | | break; |
| | | case 'bottom': |
| | | legendData.area.start.y = opts.height - opts.area[2] - margin - legendData.area.height; |
| | | legendData.area.end.y = opts.height - opts.area[2] - margin; |
| | | break; |
| | | default: |
| | | legendData.area.start.y = (opts.height - legendData.area.height) / 2; |
| | | legendData.area.end.y = (opts.height + legendData.area.height) / 2;} |
| | | |
| | | var lineNum = len % maxLength === 0 ? len / maxLength : Math.floor(len / maxLength + 1); |
| | | var _currentRow = []; |
| | | for (var _i5 = 0; _i5 < lineNum; _i5++) { |
| | | var temp = series.slice(_i5 * maxLength, _i5 * maxLength + maxLength); |
| | | _currentRow.push(temp); |
| | | } |
| | | legendData.points = _currentRow; |
| | | if (_currentRow.length) { |
| | | for (var _i6 = 0; _i6 < _currentRow.length; _i6++) { |
| | | var _item = _currentRow[_i6]; |
| | | var maxWidth = 0; |
| | | for (var j = 0; j < _item.length; j++) { |
| | | var _itemWidth = shapeWidth + shapeRight + measureText(_item[j].name || 'undefined', fontSize, context) + opts.legend.itemGap * opts.pix; |
| | | if (_itemWidth > maxWidth) { |
| | | maxWidth = _itemWidth; |
| | | } |
| | | } |
| | | legendData.widthArr.push(maxWidth); |
| | | legendData.heightArr.push(_item.length * lineHeight + padding * 2); |
| | | } |
| | | var _legendWidth = 0; |
| | | for (var _i7 = 0; _i7 < legendData.widthArr.length; _i7++) { |
| | | _legendWidth += legendData.widthArr[_i7]; |
| | | } |
| | | legendData.area.width = _legendWidth - opts.legend.itemGap * opts.pix + 2 * padding; |
| | | legendData.area.wholeWidth = legendData.area.width + padding; |
| | | } |
| | | } |
| | | switch (opts.legend.position) { |
| | | case 'top': |
| | | legendData.area.start.y = opts.area[0] + margin; |
| | | legendData.area.end.y = opts.area[0] + margin + legendData.area.height; |
| | | break; |
| | | case 'bottom': |
| | | legendData.area.start.y = opts.height - opts.area[2] - legendData.area.height - margin; |
| | | legendData.area.end.y = opts.height - opts.area[2] - margin; |
| | | break; |
| | | case 'left': |
| | | legendData.area.start.x = opts.area[3]; |
| | | legendData.area.end.x = opts.area[3] + legendData.area.width; |
| | | break; |
| | | case 'right': |
| | | legendData.area.start.x = opts.width - opts.area[1] - legendData.area.width; |
| | | legendData.area.end.x = opts.width - opts.area[1]; |
| | | break;} |
| | | |
| | | chartData.legendData = legendData; |
| | | return legendData; |
| | | } |
| | | |
| | | function calCategoriesData(categories, opts, config, eachSpacing, context) { |
| | | var result = { |
| | | angle: 0, |
| | | xAxisHeight: config.xAxisHeight }; |
| | | |
| | | var categoriesTextLenth = categories.map(function (item) { |
| | | return measureText(item, opts.xAxis.fontSize * opts.pix || config.fontSize, context); |
| | | }); |
| | | var maxTextLength = Math.max.apply(this, categoriesTextLenth); |
| | | |
| | | if (opts.xAxis.rotateLabel == true && maxTextLength + 2 * config.xAxisTextPadding > eachSpacing) { |
| | | result.angle = 45 * Math.PI / 180; |
| | | result.xAxisHeight = 2 * config.xAxisTextPadding + maxTextLength * Math.sin(result.angle); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | function getXAxisTextList(series, opts, config, stack) { |
| | | var index = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : -1; |
| | | var data; |
| | | if (stack == 'stack') { |
| | | data = dataCombineStack(series, opts.categories.length); |
| | | } else { |
| | | data = dataCombine(series); |
| | | } |
| | | var sorted = []; |
| | | // remove null from data |
| | | data = data.filter(function (item) { |
| | | //return item !== null; |
| | | if (typeof item === 'object' && item !== null) { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | return item !== null; |
| | | } else { |
| | | return item.value !== null; |
| | | } |
| | | } else { |
| | | return item !== null; |
| | | } |
| | | }); |
| | | data.map(function (item) { |
| | | if (typeof item === 'object') { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | if (opts.type == 'candle') { |
| | | item.map(function (subitem) { |
| | | sorted.push(subitem); |
| | | }); |
| | | } else { |
| | | sorted.push(item[0]); |
| | | } |
| | | } else { |
| | | sorted.push(item.value); |
| | | } |
| | | } else { |
| | | sorted.push(item); |
| | | } |
| | | }); |
| | | |
| | | var minData = 0; |
| | | var maxData = 0; |
| | | if (sorted.length > 0) { |
| | | minData = Math.min.apply(this, sorted); |
| | | maxData = Math.max.apply(this, sorted); |
| | | } |
| | | //为了兼容v1.9.0之前的项目 |
| | | if (index > -1) { |
| | | if (typeof opts.xAxis.data[index].min === 'number') { |
| | | minData = Math.min(opts.xAxis.data[index].min, minData); |
| | | } |
| | | if (typeof opts.xAxis.data[index].max === 'number') { |
| | | maxData = Math.max(opts.xAxis.data[index].max, maxData); |
| | | } |
| | | } else { |
| | | if (typeof opts.xAxis.min === 'number') { |
| | | minData = Math.min(opts.xAxis.min, minData); |
| | | } |
| | | if (typeof opts.xAxis.max === 'number') { |
| | | maxData = Math.max(opts.xAxis.max, maxData); |
| | | } |
| | | } |
| | | if (minData === maxData) { |
| | | var rangeSpan = maxData || 10; |
| | | maxData += rangeSpan; |
| | | } |
| | | //var dataRange = getDataRange(minData, maxData); |
| | | var minRange = minData; |
| | | var maxRange = maxData; |
| | | var range = []; |
| | | var eachRange = (maxRange - minRange) / opts.xAxis.splitNumber; |
| | | for (var i = 0; i <= opts.xAxis.splitNumber; i++) { |
| | | range.push(minRange + eachRange * i); |
| | | } |
| | | return range; |
| | | } |
| | | |
| | | function calXAxisData(series, opts, config, context) { |
| | | //堆叠图重算Y轴 |
| | | var columnstyle = assign({}, { |
| | | type: "" }, |
| | | opts.extra.bar); |
| | | var result = { |
| | | angle: 0, |
| | | xAxisHeight: config.xAxisHeight }; |
| | | |
| | | result.ranges = getXAxisTextList(series, opts, config, columnstyle.type); |
| | | result.rangesFormat = result.ranges.map(function (item) { |
| | | //item = opts.xAxis.formatter ? opts.xAxis.formatter(item) : util.toFixed(item, 2); |
| | | item = util.toFixed(item, 2); |
| | | return item; |
| | | }); |
| | | var xAxisScaleValues = result.ranges.map(function (item) { |
| | | // 如果刻度值是浮点数,则保留两位小数 |
| | | item = util.toFixed(item, 2); |
| | | // 若有自定义格式则调用自定义的格式化函数 |
| | | //item = opts.xAxis.formatter ? opts.xAxis.formatter(Number(item)) : item; |
| | | return item; |
| | | }); |
| | | result = Object.assign(result, getXAxisPoints(xAxisScaleValues, opts, config)); |
| | | // 计算X轴刻度的属性譬如每个刻度的间隔,刻度的起始点\结束点以及总长 |
| | | var eachSpacing = result.eachSpacing; |
| | | var textLength = xAxisScaleValues.map(function (item) { |
| | | return measureText(item, opts.xAxis.fontSize * opts.pix || config.fontSize, context); |
| | | }); |
| | | // get max length of categories text |
| | | var maxTextLength = Math.max.apply(this, textLength); |
| | | // 如果刻度值文本内容过长,则将其逆时针旋转45° |
| | | if (maxTextLength + 2 * config.xAxisTextPadding > eachSpacing) { |
| | | result.angle = 45 * Math.PI / 180; |
| | | result.xAxisHeight = 2 * config.xAxisTextPadding + maxTextLength * Math.sin(result.angle); |
| | | } |
| | | if (opts.xAxis.disabled === true) { |
| | | result.xAxisHeight = 0; |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | function getRadarDataPoints(angleList, center, radius, series, opts) { |
| | | var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1; |
| | | var radarOption = opts.extra.radar || {}; |
| | | radarOption.max = radarOption.max || 0; |
| | | var maxData = Math.max(radarOption.max, Math.max.apply(null, dataCombine(series))); |
| | | var data = [];var _loop2 = function _loop2( |
| | | i) { |
| | | var each = series[i]; |
| | | var listItem = {}; |
| | | listItem.color = each.color; |
| | | listItem.legendShape = each.legendShape; |
| | | listItem.pointShape = each.pointShape; |
| | | listItem.data = []; |
| | | each.data.forEach(function (item, index) { |
| | | var tmp = {}; |
| | | tmp.angle = angleList[index]; |
| | | tmp.proportion = item / maxData; |
| | | tmp.value = item; |
| | | tmp.position = convertCoordinateOrigin(radius * tmp.proportion * process * Math.cos(tmp.angle), radius * tmp.proportion * process * Math.sin(tmp.angle), center); |
| | | listItem.data.push(tmp); |
| | | }); |
| | | data.push(listItem);};for (var i = 0; i < series.length; i++) {_loop2(i); |
| | | } |
| | | return data; |
| | | } |
| | | |
| | | function getPieDataPoints(series, radius) { |
| | | var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; |
| | | var count = 0; |
| | | var _start_ = 0; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | count += item.data; |
| | | } |
| | | for (var _i8 = 0; _i8 < series.length; _i8++) { |
| | | var _item2 = series[_i8]; |
| | | _item2.data = _item2.data === null ? 0 : _item2.data; |
| | | if (count === 0) { |
| | | _item2._proportion_ = 1 / series.length * process; |
| | | } else { |
| | | _item2._proportion_ = _item2.data / count * process; |
| | | } |
| | | _item2._radius_ = radius; |
| | | } |
| | | for (var _i9 = 0; _i9 < series.length; _i9++) { |
| | | var _item3 = series[_i9]; |
| | | _item3._start_ = _start_; |
| | | _start_ += 2 * _item3._proportion_ * Math.PI; |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getFunnelDataPoints(series, radius, type, eachSpacing) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | series = series.sort(function (a, b) { |
| | | return parseInt(b.data) - parseInt(a.data); |
| | | }); |
| | | for (var i = 0; i < series.length; i++) { |
| | | if (type == 'funnel') { |
| | | series[i].radius = series[i].data / series[0].data * radius * process; |
| | | } else { |
| | | series[i].radius = eachSpacing * (series.length - i) / (eachSpacing * series.length) * radius * process; |
| | | } |
| | | series[i]._proportion_ = series[i].data / series[0].data; |
| | | } |
| | | if (type !== 'pyramid') { |
| | | series.reverse(); |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getRoseDataPoints(series, type, minRadius, radius) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var count = 0; |
| | | var _start_ = 0; |
| | | var dataArr = []; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | count += item.data; |
| | | dataArr.push(item.data); |
| | | } |
| | | var minData = Math.min.apply(null, dataArr); |
| | | var maxData = Math.max.apply(null, dataArr); |
| | | var radiusLength = radius - minRadius; |
| | | for (var _i10 = 0; _i10 < series.length; _i10++) { |
| | | var _item4 = series[_i10]; |
| | | _item4.data = _item4.data === null ? 0 : _item4.data; |
| | | if (count === 0) { |
| | | _item4._proportion_ = 1 / series.length * process; |
| | | _item4._rose_proportion_ = 1 / series.length * process; |
| | | } else { |
| | | _item4._proportion_ = _item4.data / count * process; |
| | | if (type == 'area') { |
| | | _item4._rose_proportion_ = 1 / series.length * process; |
| | | } else { |
| | | _item4._rose_proportion_ = _item4.data / count * process; |
| | | } |
| | | } |
| | | _item4._radius_ = minRadius + radiusLength * ((_item4.data - minData) / (maxData - minData)) || radius; |
| | | } |
| | | for (var _i11 = 0; _i11 < series.length; _i11++) { |
| | | var _item5 = series[_i11]; |
| | | _item5._start_ = _start_; |
| | | _start_ += 2 * _item5._rose_proportion_ * Math.PI; |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getArcbarDataPoints(series, arcbarOption) { |
| | | var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; |
| | | if (process == 1) { |
| | | process = 0.999999; |
| | | } |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | var totalAngle = void 0; |
| | | if (arcbarOption.type == 'circle') { |
| | | totalAngle = 2; |
| | | } else { |
| | | if (arcbarOption.endAngle < arcbarOption.startAngle) { |
| | | totalAngle = 2 + arcbarOption.endAngle - arcbarOption.startAngle; |
| | | } else { |
| | | totalAngle = arcbarOption.startAngle - arcbarOption.endAngle; |
| | | } |
| | | } |
| | | item._proportion_ = totalAngle * item.data * process + arcbarOption.startAngle; |
| | | if (item._proportion_ >= 2) { |
| | | item._proportion_ = item._proportion_ % 2; |
| | | } |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getGaugeAxisPoints(categories, startAngle, endAngle) { |
| | | var totalAngle = startAngle - endAngle + 1; |
| | | var tempStartAngle = startAngle; |
| | | for (var i = 0; i < categories.length; i++) { |
| | | categories[i].value = categories[i].value === null ? 0 : categories[i].value; |
| | | categories[i]._startAngle_ = tempStartAngle; |
| | | categories[i]._endAngle_ = totalAngle * categories[i].value + startAngle; |
| | | if (categories[i]._endAngle_ >= 2) { |
| | | categories[i]._endAngle_ = categories[i]._endAngle_ % 2; |
| | | } |
| | | tempStartAngle = categories[i]._endAngle_; |
| | | } |
| | | return categories; |
| | | } |
| | | |
| | | function getGaugeDataPoints(series, categories, gaugeOption) { |
| | | var process = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | item.data = item.data === null ? 0 : item.data; |
| | | if (gaugeOption.pointer.color == 'auto') { |
| | | for (var _i12 = 0; _i12 < categories.length; _i12++) { |
| | | if (item.data <= categories[_i12].value) { |
| | | item.color = categories[_i12].color; |
| | | break; |
| | | } |
| | | } |
| | | } else { |
| | | item.color = gaugeOption.pointer.color; |
| | | } |
| | | var totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | item._endAngle_ = totalAngle * item.data + gaugeOption.startAngle; |
| | | item._oldAngle_ = gaugeOption.oldAngle; |
| | | if (gaugeOption.oldAngle < gaugeOption.endAngle) { |
| | | item._oldAngle_ += 2; |
| | | } |
| | | if (item.data >= gaugeOption.oldData) { |
| | | item._proportion_ = (item._endAngle_ - item._oldAngle_) * process + gaugeOption.oldAngle; |
| | | } else { |
| | | item._proportion_ = item._oldAngle_ - (item._oldAngle_ - item._endAngle_) * process; |
| | | } |
| | | if (item._proportion_ >= 2) { |
| | | item._proportion_ = item._proportion_ % 2; |
| | | } |
| | | } |
| | | return series; |
| | | } |
| | | |
| | | function getPieTextMaxLength(series, config, context, opts) { |
| | | series = getPieDataPoints(series); |
| | | var maxLength = 0; |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | var text = item.formatter ? item.formatter(+item._proportion_.toFixed(2)) : util.toFixed(item._proportion_ * 100) + '%'; |
| | | maxLength = Math.max(maxLength, measureText(text, item.textSize * opts.pix || config.fontSize, context)); |
| | | } |
| | | return maxLength; |
| | | } |
| | | |
| | | function fixColumeData(points, eachSpacing, columnLen, index, config, opts) { |
| | | return points.map(function (item) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | var seriesGap = 0; |
| | | var categoryGap = 0; |
| | | if (opts.type == 'mix') { |
| | | seriesGap = opts.extra.mix.column.seriesGap * opts.pix || 0; |
| | | categoryGap = opts.extra.mix.column.categoryGap * opts.pix || 0; |
| | | } else { |
| | | seriesGap = opts.extra.column.seriesGap * opts.pix || 0; |
| | | categoryGap = opts.extra.column.categoryGap * opts.pix || 0; |
| | | } |
| | | seriesGap = Math.min(seriesGap, eachSpacing / columnLen); |
| | | categoryGap = Math.min(categoryGap, eachSpacing / columnLen); |
| | | item.width = Math.ceil((eachSpacing - 2 * categoryGap - seriesGap * (columnLen - 1)) / columnLen); |
| | | if (opts.extra.mix && opts.extra.mix.column.width && +opts.extra.mix.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.mix.column.width * opts.pix); |
| | | } |
| | | if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.column.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | item.x += (index + 0.5 - columnLen / 2) * (item.width + seriesGap); |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixBarData(points, eachSpacing, columnLen, index, config, opts) { |
| | | return points.map(function (item) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | var seriesGap = 0; |
| | | var categoryGap = 0; |
| | | seriesGap = opts.extra.bar.seriesGap * opts.pix || 0; |
| | | categoryGap = opts.extra.bar.categoryGap * opts.pix || 0; |
| | | seriesGap = Math.min(seriesGap, eachSpacing / columnLen); |
| | | categoryGap = Math.min(categoryGap, eachSpacing / columnLen); |
| | | item.width = Math.ceil((eachSpacing - 2 * categoryGap - seriesGap * (columnLen - 1)) / columnLen); |
| | | if (opts.extra.bar && opts.extra.bar.width && +opts.extra.bar.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.bar.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | item.y += (index + 0.5 - columnLen / 2) * (item.width + seriesGap); |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixColumeMeterData(points, eachSpacing, columnLen, index, config, opts, border) { |
| | | var categoryGap = opts.extra.column.categoryGap * opts.pix || 0; |
| | | return points.map(function (item) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | item.width = Math.ceil(eachSpacing - 2 * categoryGap); |
| | | if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.column.width * opts.pix); |
| | | } |
| | | if (index > 0) { |
| | | item.width -= 2 * border; |
| | | } |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixColumeStackData(points, eachSpacing, columnLen, index, config, opts, series) { |
| | | var categoryGap = opts.extra.column.categoryGap * opts.pix || 0; |
| | | return points.map(function (item, indexn) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | item.width = Math.ceil(eachSpacing - 2 * categoryGap); |
| | | if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.column.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function fixBarStackData(points, eachSpacing, columnLen, index, config, opts, series) { |
| | | var categoryGap = opts.extra.bar.categoryGap * opts.pix || 0; |
| | | return points.map(function (item, indexn) { |
| | | if (item === null) { |
| | | return null; |
| | | } |
| | | item.width = Math.ceil(eachSpacing - 2 * categoryGap); |
| | | if (opts.extra.bar && opts.extra.bar.width && +opts.extra.bar.width > 0) { |
| | | item.width = Math.min(item.width, +opts.extra.bar.width * opts.pix); |
| | | } |
| | | if (item.width <= 0) { |
| | | item.width = 1; |
| | | } |
| | | return item; |
| | | }); |
| | | } |
| | | |
| | | function getXAxisPoints(categories, opts, config) { |
| | | var spacingValid = opts.width - opts.area[1] - opts.area[3]; |
| | | var dataCount = opts.enableScroll ? Math.min(opts.xAxis.itemCount, categories.length) : categories.length; |
| | | if ((opts.type == 'line' || opts.type == 'area' || opts.type == 'scatter' || opts.type == 'bubble' || opts.type == 'bar') && dataCount > 1 && opts.xAxis.boundaryGap == 'justify') { |
| | | dataCount -= 1; |
| | | } |
| | | var eachSpacing = spacingValid / dataCount; |
| | | var xAxisPoints = []; |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | categories.forEach(function (item, index) { |
| | | xAxisPoints.push(startX + index * eachSpacing); |
| | | }); |
| | | if (opts.xAxis.boundaryGap !== 'justify') { |
| | | if (opts.enableScroll === true) { |
| | | xAxisPoints.push(startX + categories.length * eachSpacing); |
| | | } else { |
| | | xAxisPoints.push(endX); |
| | | } |
| | | } |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | startX: startX, |
| | | endX: endX, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function getCandleDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config) { |
| | | var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1; |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var cPoints = []; |
| | | item.forEach(function (items, indexs) { |
| | | var point = {}; |
| | | point.x = xAxisPoints[index] + Math.round(eachSpacing / 2); |
| | | var value = items.value || items; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | height *= process; |
| | | point.y = opts.height - Math.round(height) - opts.area[2]; |
| | | cPoints.push(point); |
| | | }); |
| | | points.push(cPoints); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config) { |
| | | var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1; |
| | | var boundaryGap = 'center'; |
| | | if (opts.type == 'line' || opts.type == 'area' || opts.type == 'scatter' || opts.type == 'bubble') { |
| | | boundaryGap = opts.xAxis.boundaryGap; |
| | | } |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | var validWidth = opts.width - opts.area[1] - opts.area[3]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.x = xAxisPoints[index]; |
| | | var value = item; |
| | | if (typeof item === 'object' && item !== null) { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | var xranges, xminRange, xmaxRange; |
| | | xranges = [].concat(opts.chartData.xAxisData.ranges); |
| | | xminRange = xranges.shift(); |
| | | xmaxRange = xranges.pop(); |
| | | value = item[1]; |
| | | point.x = opts.area[3] + validWidth * (item[0] - xminRange) / (xmaxRange - xminRange); |
| | | if (opts.type == 'bubble') { |
| | | point.r = item[2]; |
| | | point.t = item[3]; |
| | | } |
| | | } else { |
| | | value = item.value; |
| | | } |
| | | } |
| | | if (boundaryGap == 'center') { |
| | | point.x += eachSpacing / 2; |
| | | } |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | height *= process; |
| | | point.y = opts.height - height - opts.area[2]; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getBarDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config) { |
| | | var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1; |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | var validWidth = opts.width - opts.area[1] - opts.area[3]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.y = yAxisPoints[index]; |
| | | var value = item; |
| | | if (typeof item === 'object' && item !== null) { |
| | | value = item.value; |
| | | } |
| | | var height = validWidth * (value - minRange) / (maxRange - minRange); |
| | | height *= process; |
| | | point.height = height; |
| | | point.value = value; |
| | | point.x = height + opts.area[3]; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, stackSeries) { |
| | | var process = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : 1; |
| | | var points = []; |
| | | var validHeight = opts.height - opts.area[0] - opts.area[2]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.x = xAxisPoints[index] + Math.round(eachSpacing / 2); |
| | | |
| | | if (seriesIndex > 0) { |
| | | var value = 0; |
| | | for (var i = 0; i <= seriesIndex; i++) { |
| | | value += stackSeries[i].data[index]; |
| | | } |
| | | var value0 = value - item; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = validHeight * (value0 - minRange) / (maxRange - minRange); |
| | | } else { |
| | | var value = item; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = 0; |
| | | } |
| | | var heightc = height0; |
| | | height *= process; |
| | | heightc *= process; |
| | | point.y = opts.height - Math.round(height) - opts.area[2]; |
| | | point.y0 = opts.height - Math.round(heightc) - opts.area[2]; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, stackSeries) { |
| | | var process = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : 1; |
| | | var points = []; |
| | | var validHeight = opts.width - opts.area[1] - opts.area[3]; |
| | | data.forEach(function (item, index) { |
| | | if (item === null) { |
| | | points.push(null); |
| | | } else { |
| | | var point = {}; |
| | | point.color = item.color; |
| | | point.y = yAxisPoints[index]; |
| | | if (seriesIndex > 0) { |
| | | var value = 0; |
| | | for (var i = 0; i <= seriesIndex; i++) { |
| | | value += stackSeries[i].data[index]; |
| | | } |
| | | var value0 = value - item; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = validHeight * (value0 - minRange) / (maxRange - minRange); |
| | | } else { |
| | | var value = item; |
| | | var height = validHeight * (value - minRange) / (maxRange - minRange); |
| | | var height0 = 0; |
| | | } |
| | | var heightc = height0; |
| | | height *= process; |
| | | heightc *= process; |
| | | point.height = height - heightc; |
| | | point.x = opts.area[3] + height; |
| | | point.x0 = opts.area[3] + heightc; |
| | | points.push(point); |
| | | } |
| | | }); |
| | | return points; |
| | | } |
| | | |
| | | function getYAxisTextList(series, opts, config, stack, yData) { |
| | | var index = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : -1; |
| | | var data; |
| | | if (stack == 'stack') { |
| | | data = dataCombineStack(series, opts.categories.length); |
| | | } else { |
| | | data = dataCombine(series); |
| | | } |
| | | var sorted = []; |
| | | // remove null from data |
| | | data = data.filter(function (item) { |
| | | //return item !== null; |
| | | if (typeof item === 'object' && item !== null) { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | return item !== null; |
| | | } else { |
| | | return item.value !== null; |
| | | } |
| | | } else { |
| | | return item !== null; |
| | | } |
| | | }); |
| | | data.map(function (item) { |
| | | if (typeof item === 'object') { |
| | | if (item.constructor.toString().indexOf('Array') > -1) { |
| | | if (opts.type == 'candle') { |
| | | item.map(function (subitem) { |
| | | sorted.push(subitem); |
| | | }); |
| | | } else { |
| | | sorted.push(item[1]); |
| | | } |
| | | } else { |
| | | sorted.push(item.value); |
| | | } |
| | | } else { |
| | | sorted.push(item); |
| | | } |
| | | }); |
| | | var minData = yData.min || 0; |
| | | var maxData = yData.max || 0; |
| | | if (sorted.length > 0) { |
| | | minData = Math.min.apply(this, sorted); |
| | | maxData = Math.max.apply(this, sorted); |
| | | } |
| | | //为了兼容v1.9.0之前的项目 |
| | | // if (index > -1) { |
| | | // if (typeof opts.yAxis.data[index].min === 'number') { |
| | | // minData = Math.min(opts.yAxis.data[index].min, minData); |
| | | // } |
| | | // if (typeof opts.yAxis.data[index].max === 'number') { |
| | | // maxData = Math.max(opts.yAxis.data[index].max, maxData); |
| | | // } |
| | | // } else { |
| | | // if (typeof opts.yAxis.min === 'number') { |
| | | // minData = Math.min(opts.yAxis.min, minData); |
| | | // } |
| | | // if (typeof opts.yAxis.max === 'number') { |
| | | // maxData = Math.max(opts.yAxis.max, maxData); |
| | | // } |
| | | // } |
| | | if (minData === maxData) { |
| | | var rangeSpan = maxData || 10; |
| | | maxData += rangeSpan; |
| | | } |
| | | var dataRange = getDataRange(minData, maxData); |
| | | var minRange = yData.min === undefined || yData.min === null ? dataRange.minRange : yData.min; |
| | | var maxRange = yData.max === undefined || yData.min === null ? dataRange.maxRange : yData.max; |
| | | var range = []; |
| | | var eachRange = (maxRange - minRange) / opts.yAxis.splitNumber; |
| | | for (var i = 0; i <= opts.yAxis.splitNumber; i++) { |
| | | range.push(minRange + eachRange * i); |
| | | } |
| | | return range.reverse(); |
| | | } |
| | | |
| | | function calYAxisData(series, opts, config, context) { |
| | | //堆叠图重算Y轴 |
| | | var columnstyle = assign({}, { |
| | | type: "" }, |
| | | opts.extra.column); |
| | | //如果是多Y轴,重新计算 |
| | | var YLength = opts.yAxis.data.length; |
| | | var newSeries = new Array(YLength); |
| | | if (YLength > 0) { |
| | | for (var i = 0; i < YLength; i++) { |
| | | newSeries[i] = []; |
| | | for (var j = 0; j < series.length; j++) { |
| | | if (series[j].index == i) { |
| | | newSeries[i].push(series[j]); |
| | | } |
| | | } |
| | | } |
| | | var rangesArr = new Array(YLength); |
| | | var rangesFormatArr = new Array(YLength); |
| | | var yAxisWidthArr = new Array(YLength);var _loop3 = function _loop3( |
| | | |
| | | _i13) { |
| | | var yData = opts.yAxis.data[_i13]; |
| | | //如果总开关不显示,强制每个Y轴为不显示 |
| | | if (opts.yAxis.disabled == true) { |
| | | yData.disabled = true; |
| | | } |
| | | if (yData.type === 'categories') { |
| | | if (!yData.formatter) { |
| | | yData.formatter = function (val) {return val + (yData.unit || '');}; |
| | | } |
| | | yData.categories = yData.categories || opts.categories; |
| | | rangesArr[_i13] = yData.categories; |
| | | } else { |
| | | if (!yData.formatter) { |
| | | yData.formatter = function (val) {return val.toFixed(yData.tofix) + (yData.unit || '');}; |
| | | } |
| | | rangesArr[_i13] = getYAxisTextList(newSeries[_i13], opts, config, columnstyle.type, yData, _i13); |
| | | } |
| | | var yAxisFontSizes = yData.fontSize * opts.pix || config.fontSize; |
| | | yAxisWidthArr[_i13] = { |
| | | position: yData.position ? yData.position : 'left', |
| | | width: 0 }; |
| | | |
| | | rangesFormatArr[_i13] = rangesArr[_i13].map(function (items) { |
| | | items = yData.formatter(items); |
| | | yAxisWidthArr[_i13].width = Math.max(yAxisWidthArr[_i13].width, measureText(items, yAxisFontSizes, context) + 5); |
| | | return items; |
| | | }); |
| | | var calibration = yData.calibration ? 4 * opts.pix : 0; |
| | | yAxisWidthArr[_i13].width += calibration + 3 * opts.pix; |
| | | if (yData.disabled === true) { |
| | | yAxisWidthArr[_i13].width = 0; |
| | | }};for (var _i13 = 0; _i13 < YLength; _i13++) {_loop3(_i13); |
| | | } |
| | | } else { |
| | | var rangesArr = new Array(1); |
| | | var rangesFormatArr = new Array(1); |
| | | var yAxisWidthArr = new Array(1); |
| | | if (opts.type === 'bar') { |
| | | rangesArr[0] = opts.categories; |
| | | if (!opts.yAxis.formatter) { |
| | | opts.yAxis.formatter = function (val) {return val + (opts.yAxis.unit || '');}; |
| | | } |
| | | } else { |
| | | if (!opts.yAxis.formatter) { |
| | | opts.yAxis.formatter = function (val) {return val.toFixed(opts.yAxis.tofix) + (opts.yAxis.unit || '');}; |
| | | } |
| | | rangesArr[0] = getYAxisTextList(series, opts, config, columnstyle.type, {}); |
| | | } |
| | | yAxisWidthArr[0] = { |
| | | position: 'left', |
| | | width: 0 }; |
| | | |
| | | var yAxisFontSize = opts.yAxis.fontSize * opts.pix || config.fontSize; |
| | | rangesFormatArr[0] = rangesArr[0].map(function (item) { |
| | | item = opts.yAxis.formatter(item); |
| | | yAxisWidthArr[0].width = Math.max(yAxisWidthArr[0].width, measureText(item, yAxisFontSize, context) + 5); |
| | | return item; |
| | | }); |
| | | yAxisWidthArr[0].width += 3 * opts.pix; |
| | | if (opts.yAxis.disabled === true) { |
| | | yAxisWidthArr[0] = { |
| | | position: 'left', |
| | | width: 0 }; |
| | | |
| | | opts.yAxis.data[0] = { |
| | | disabled: true }; |
| | | |
| | | } else { |
| | | opts.yAxis.data[0] = { |
| | | disabled: false, |
| | | position: 'left', |
| | | max: opts.yAxis.max, |
| | | min: opts.yAxis.min, |
| | | formatter: opts.yAxis.formatter }; |
| | | |
| | | if (opts.type === 'bar') { |
| | | opts.yAxis.data[0].categories = opts.categories; |
| | | opts.yAxis.data[0].type = 'categories'; |
| | | } |
| | | } |
| | | } |
| | | return { |
| | | rangesFormat: rangesFormatArr, |
| | | ranges: rangesArr, |
| | | yAxisWidth: yAxisWidthArr }; |
| | | |
| | | } |
| | | |
| | | function calTooltipYAxisData(point, series, opts, config, eachSpacing) { |
| | | var ranges = [].concat(opts.chartData.yAxisData.ranges); |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | var minAxis = opts.area[0]; |
| | | var items = []; |
| | | for (var i = 0; i < ranges.length; i++) { |
| | | var maxVal = ranges[i].shift(); |
| | | var minVal = ranges[i].pop(); |
| | | var item = maxVal - (maxVal - minVal) * (point - minAxis) / spacingValid; |
| | | item = opts.yAxis.data[i].formatter ? opts.yAxis.data[i].formatter(item) : item.toFixed(0); |
| | | items.push(String(item)); |
| | | } |
| | | return items; |
| | | } |
| | | |
| | | function calMarkLineData(points, opts) { |
| | | var minRange, maxRange; |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | for (var i = 0; i < points.length; i++) { |
| | | points[i].yAxisIndex = points[i].yAxisIndex ? points[i].yAxisIndex : 0; |
| | | var range = [].concat(opts.chartData.yAxisData.ranges[points[i].yAxisIndex]); |
| | | minRange = range.pop(); |
| | | maxRange = range.shift(); |
| | | var height = spacingValid * (points[i].value - minRange) / (maxRange - minRange); |
| | | points[i].y = opts.height - Math.round(height) - opts.area[2]; |
| | | } |
| | | return points; |
| | | } |
| | | |
| | | function contextRotate(context, opts) { |
| | | if (opts.rotateLock !== true) { |
| | | context.translate(opts.height, 0); |
| | | context.rotate(90 * Math.PI / 180); |
| | | } else if (opts._rotate_ !== true) { |
| | | context.translate(opts.height, 0); |
| | | context.rotate(90 * Math.PI / 180); |
| | | opts._rotate_ = true; |
| | | } |
| | | } |
| | | |
| | | function drawPointShape(points, color, shape, context, opts) { |
| | | context.beginPath(); |
| | | if (opts.dataPointShapeType == 'hollow') { |
| | | context.setStrokeStyle(color); |
| | | context.setFillStyle(opts.background); |
| | | context.setLineWidth(2 * opts.pix); |
| | | } else { |
| | | context.setStrokeStyle("#ffffff"); |
| | | context.setFillStyle(color); |
| | | context.setLineWidth(1 * opts.pix); |
| | | } |
| | | if (shape === 'diamond') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y); |
| | | context.lineTo(item.x, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'circle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x + 2.5 * opts.pix, item.y); |
| | | context.arc(item.x, item.y, 3 * opts.pix, 0, 2 * Math.PI, false); |
| | | } |
| | | }); |
| | | } else if (shape === 'square') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x - 3.5, item.y - 3.5); |
| | | context.rect(item.x - 3.5, item.y - 3.5, 7, 7); |
| | | } |
| | | }); |
| | | } else if (shape === 'triangle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y + 4.5); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'triangle') { |
| | | return; |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | } |
| | | |
| | | function drawRingTitle(opts, config, context, center) { |
| | | var titlefontSize = opts.title.fontSize || config.titleFontSize; |
| | | var subtitlefontSize = opts.subtitle.fontSize || config.subtitleFontSize; |
| | | var title = opts.title.name || ''; |
| | | var subtitle = opts.subtitle.name || ''; |
| | | var titleFontColor = opts.title.color || opts.fontColor; |
| | | var subtitleFontColor = opts.subtitle.color || opts.fontColor; |
| | | var titleHeight = title ? titlefontSize : 0; |
| | | var subtitleHeight = subtitle ? subtitlefontSize : 0; |
| | | var margin = 5; |
| | | if (subtitle) { |
| | | var textWidth = measureText(subtitle, subtitlefontSize * opts.pix, context); |
| | | var startX = center.x - textWidth / 2 + (opts.subtitle.offsetX || 0) * opts.pix; |
| | | var startY = center.y + subtitlefontSize * opts.pix / 2 + (opts.subtitle.offsetY || 0) * opts.pix; |
| | | if (title) { |
| | | startY += (titleHeight * opts.pix + margin) / 2; |
| | | } |
| | | context.beginPath(); |
| | | context.setFontSize(subtitlefontSize * opts.pix); |
| | | context.setFillStyle(subtitleFontColor); |
| | | context.fillText(subtitle, startX, startY); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | if (title) { |
| | | var _textWidth = measureText(title, titlefontSize * opts.pix, context); |
| | | var _startX = center.x - _textWidth / 2 + (opts.title.offsetX || 0); |
| | | var _startY = center.y + titlefontSize * opts.pix / 2 + (opts.title.offsetY || 0) * opts.pix; |
| | | if (subtitle) { |
| | | _startY -= (subtitleHeight * opts.pix + margin) / 2; |
| | | } |
| | | context.beginPath(); |
| | | context.setFontSize(titlefontSize * opts.pix); |
| | | context.setFillStyle(titleFontColor); |
| | | context.fillText(title, _startX, _startY); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | |
| | | function drawPointText(points, series, config, context, opts) { |
| | | // 绘制数据文案 |
| | | var data = series.data; |
| | | var textOffset = series.textOffset ? series.textOffset : 0; |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.beginPath(); |
| | | var fontSize = series.textSize ? series.textSize * opts.pix : config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(series.textColor || opts.fontColor); |
| | | var value = data[index]; |
| | | if (typeof data[index] === 'object' && data[index] !== null) { |
| | | if (data[index].constructor.toString().indexOf('Array') > -1) { |
| | | value = data[index][1]; |
| | | } else { |
| | | value = data[index].value; |
| | | } |
| | | } |
| | | var formatVal = series.formatter ? series.formatter(value, index) : value; |
| | | context.setTextAlign('center'); |
| | | context.fillText(String(formatVal), item.x, item.y - 4 + textOffset * opts.pix); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function drawBarPointText(points, series, config, context, opts) { |
| | | // 绘制数据文案 |
| | | var data = series.data; |
| | | var textOffset = series.textOffset ? series.textOffset : 0; |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.beginPath(); |
| | | var fontSize = series.textSize ? series.textSize * opts.pix : config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(series.textColor || opts.fontColor); |
| | | var value = data[index]; |
| | | if (typeof data[index] === 'object' && data[index] !== null) { |
| | | value = data[index].value; |
| | | } |
| | | var formatVal = series.formatter ? series.formatter(value, index) : value; |
| | | context.setTextAlign('left'); |
| | | context.fillText(String(formatVal), item.x + 4 * opts.pix, item.y + fontSize / 2 - 3); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function drawGaugeLabel(gaugeOption, radius, centerPosition, opts, config, context) { |
| | | radius -= gaugeOption.width / 2 + gaugeOption.labelOffset * opts.pix; |
| | | var totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | var splitAngle = totalAngle / gaugeOption.splitLine.splitNumber; |
| | | var totalNumber = gaugeOption.endNumber - gaugeOption.startNumber; |
| | | var splitNumber = totalNumber / gaugeOption.splitLine.splitNumber; |
| | | var nowAngle = gaugeOption.startAngle; |
| | | var nowNumber = gaugeOption.startNumber; |
| | | for (var i = 0; i < gaugeOption.splitLine.splitNumber + 1; i++) { |
| | | var pos = { |
| | | x: radius * Math.cos(nowAngle * Math.PI), |
| | | y: radius * Math.sin(nowAngle * Math.PI) }; |
| | | |
| | | var labelText = gaugeOption.formatter ? gaugeOption.formatter(nowNumber) : nowNumber; |
| | | pos.x += centerPosition.x - measureText(labelText, config.fontSize, context) / 2; |
| | | pos.y += centerPosition.y; |
| | | var startX = pos.x; |
| | | var startY = pos.y; |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(gaugeOption.labelColor || opts.fontColor); |
| | | context.fillText(labelText, startX, startY + config.fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | nowAngle += splitAngle; |
| | | if (nowAngle >= 2) { |
| | | nowAngle = nowAngle % 2; |
| | | } |
| | | nowNumber += splitNumber; |
| | | } |
| | | |
| | | } |
| | | |
| | | function drawRadarLabel(angleList, radius, centerPosition, opts, config, context) { |
| | | var radarOption = opts.extra.radar || {}; |
| | | radius += config.radarLabelTextMargin * opts.pix; |
| | | angleList.forEach(function (angle, index) { |
| | | var pos = { |
| | | x: radius * Math.cos(angle), |
| | | y: radius * Math.sin(angle) }; |
| | | |
| | | var posRelativeCanvas = convertCoordinateOrigin(pos.x, pos.y, centerPosition); |
| | | var startX = posRelativeCanvas.x; |
| | | var startY = posRelativeCanvas.y; |
| | | if (util.approximatelyEqual(pos.x, 0)) { |
| | | startX -= measureText(opts.categories[index] || '', config.fontSize, context) / 2; |
| | | } else if (pos.x < 0) { |
| | | startX -= measureText(opts.categories[index] || '', config.fontSize, context); |
| | | } |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(radarOption.labelColor || opts.fontColor); |
| | | context.fillText(opts.categories[index] || '', startX, startY + config.fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | }); |
| | | |
| | | } |
| | | |
| | | function drawPieText(series, opts, config, context, radius, center) { |
| | | var lineRadius = config.pieChartLinePadding; |
| | | var textObjectCollection = []; |
| | | var lastTextObject = null; |
| | | var seriesConvert = series.map(function (item, index, series) { |
| | | var text = item.formatter ? item.formatter(item, index, series) : util.toFixed(item._proportion_.toFixed(4) * 100) + '%'; |
| | | var arc = 2 * Math.PI - (item._start_ + 2 * Math.PI * item._proportion_ / 2); |
| | | if (item._rose_proportion_) { |
| | | arc = 2 * Math.PI - (item._start_ + 2 * Math.PI * item._rose_proportion_ / 2); |
| | | } |
| | | var color = item.color; |
| | | var radius = item._radius_; |
| | | return { |
| | | arc: arc, |
| | | text: text, |
| | | color: color, |
| | | radius: radius, |
| | | textColor: item.textColor, |
| | | textSize: item.textSize }; |
| | | |
| | | }); |
| | | for (var i = 0; i < seriesConvert.length; i++) { |
| | | var item = seriesConvert[i]; |
| | | // line end |
| | | var orginX1 = Math.cos(item.arc) * (item.radius + lineRadius); |
| | | var orginY1 = Math.sin(item.arc) * (item.radius + lineRadius); |
| | | // line start |
| | | var orginX2 = Math.cos(item.arc) * item.radius; |
| | | var orginY2 = Math.sin(item.arc) * item.radius; |
| | | // text start |
| | | var orginX3 = orginX1 >= 0 ? orginX1 + config.pieChartTextPadding : orginX1 - config.pieChartTextPadding; |
| | | var orginY3 = orginY1; |
| | | var textWidth = measureText(item.text, item.textSize * opts.pix || config.fontSize, context); |
| | | var startY = orginY3; |
| | | if (lastTextObject && util.isSameXCoordinateArea(lastTextObject.start, { |
| | | x: orginX3 })) |
| | | { |
| | | if (orginX3 > 0) { |
| | | startY = Math.min(orginY3, lastTextObject.start.y); |
| | | } else if (orginX1 < 0) { |
| | | startY = Math.max(orginY3, lastTextObject.start.y); |
| | | } else { |
| | | if (orginY3 > 0) { |
| | | startY = Math.max(orginY3, lastTextObject.start.y); |
| | | } else { |
| | | startY = Math.min(orginY3, lastTextObject.start.y); |
| | | } |
| | | } |
| | | } |
| | | if (orginX3 < 0) { |
| | | orginX3 -= textWidth; |
| | | } |
| | | var textObject = { |
| | | lineStart: { |
| | | x: orginX2, |
| | | y: orginY2 }, |
| | | |
| | | lineEnd: { |
| | | x: orginX1, |
| | | y: orginY1 }, |
| | | |
| | | start: { |
| | | x: orginX3, |
| | | y: startY }, |
| | | |
| | | width: textWidth, |
| | | height: config.fontSize, |
| | | text: item.text, |
| | | color: item.color, |
| | | textColor: item.textColor, |
| | | textSize: item.textSize }; |
| | | |
| | | lastTextObject = avoidCollision(textObject, lastTextObject); |
| | | textObjectCollection.push(lastTextObject); |
| | | } |
| | | for (var _i14 = 0; _i14 < textObjectCollection.length; _i14++) { |
| | | var _item6 = textObjectCollection[_i14]; |
| | | var lineStartPoistion = convertCoordinateOrigin(_item6.lineStart.x, _item6.lineStart.y, center); |
| | | var lineEndPoistion = convertCoordinateOrigin(_item6.lineEnd.x, _item6.lineEnd.y, center); |
| | | var textPosition = convertCoordinateOrigin(_item6.start.x, _item6.start.y, center); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setFontSize(_item6.textSize * opts.pix || config.fontSize); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(_item6.color); |
| | | context.setFillStyle(_item6.color); |
| | | context.moveTo(lineStartPoistion.x, lineStartPoistion.y); |
| | | var curveStartX = _item6.start.x < 0 ? textPosition.x + _item6.width : textPosition.x; |
| | | var textStartX = _item6.start.x < 0 ? textPosition.x - 5 : textPosition.x + 5; |
| | | context.quadraticCurveTo(lineEndPoistion.x, lineEndPoistion.y, curveStartX, textPosition.y); |
| | | context.moveTo(lineStartPoistion.x, lineStartPoistion.y); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.moveTo(textPosition.x + _item6.width, textPosition.y); |
| | | context.arc(curveStartX, textPosition.y, 2, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(_item6.textSize * opts.pix || config.fontSize); |
| | | context.setFillStyle(_item6.textColor || opts.fontColor); |
| | | context.fillText(_item6.text, textStartX, textPosition.y + 3); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | } |
| | | } |
| | | |
| | | function drawToolTipSplitLine(offsetX, opts, config, context) { |
| | | var toolTipOption = opts.extra.tooltip || {}; |
| | | toolTipOption.gridType = toolTipOption.gridType == undefined ? 'solid' : toolTipOption.gridType; |
| | | toolTipOption.dashLength = toolTipOption.dashLength == undefined ? 4 : toolTipOption.dashLength; |
| | | var startY = opts.area[0]; |
| | | var endY = opts.height - opts.area[2]; |
| | | if (toolTipOption.gridType == 'dash') { |
| | | context.setLineDash([toolTipOption.dashLength, toolTipOption.dashLength]); |
| | | } |
| | | context.setStrokeStyle(toolTipOption.gridColor || '#cccccc'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.moveTo(offsetX, startY); |
| | | context.lineTo(offsetX, endY); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (toolTipOption.xAxisLabel) { |
| | | var labelText = opts.categories[opts.tooltip.index]; |
| | | context.setFontSize(config.fontSize); |
| | | var textWidth = measureText(labelText, config.fontSize, context); |
| | | var textX = offsetX - 0.5 * textWidth; |
| | | var textY = endY; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.labelBgColor || config.toolTipBackground, toolTipOption.labelBgOpacity || config.toolTipOpacity)); |
| | | context.setStrokeStyle(toolTipOption.labelBgColor || config.toolTipBackground); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.rect(textX - config.toolTipPadding, textY, textWidth + 2 * config.toolTipPadding, config.fontSize + 2 * config.toolTipPadding); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(toolTipOption.labelFontColor || opts.fontColor); |
| | | context.fillText(String(labelText), textX, textY + config.toolTipPadding + config.fontSize); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | |
| | | function drawMarkLine(opts, config, context) { |
| | | var markLineOption = assign({}, { |
| | | type: 'solid', |
| | | dashLength: 4, |
| | | data: [] }, |
| | | opts.extra.markLine); |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | var points = calMarkLineData(markLineOption.data, opts); |
| | | for (var i = 0; i < points.length; i++) { |
| | | var item = assign({}, { |
| | | lineColor: '#DE4A42', |
| | | showLabel: false, |
| | | labelFontColor: '#666666', |
| | | labelBgColor: '#DFE8FF', |
| | | labelBgOpacity: 0.8, |
| | | yAxisIndex: 0 }, |
| | | points[i]); |
| | | if (markLineOption.type == 'dash') { |
| | | context.setLineDash([markLineOption.dashLength, markLineOption.dashLength]); |
| | | } |
| | | context.setStrokeStyle(item.lineColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.moveTo(startX, item.y); |
| | | context.lineTo(endX, item.y); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (item.showLabel) { |
| | | var labelText = opts.yAxis.formatter ? opts.yAxis.formatter(item.value) : item.value; |
| | | context.setFontSize(config.fontSize); |
| | | var textWidth = measureText(labelText, config.fontSize, context); |
| | | var yAxisWidth = opts.chartData.yAxisData.yAxisWidth[0].width; |
| | | var bgStartX = opts.area[3] - textWidth - config.toolTipPadding * 2; |
| | | var bgEndX = opts.area[3]; |
| | | var bgWidth = bgEndX - bgStartX; |
| | | var textX = bgEndX - config.toolTipPadding; |
| | | var textY = item.y; |
| | | context.setFillStyle(hexToRgb(item.labelBgColor, item.labelBgOpacity)); |
| | | context.setStrokeStyle(item.labelBgColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.rect(bgStartX, textY - 0.5 * config.fontSize - config.toolTipPadding, bgWidth, config.fontSize + 2 * config.toolTipPadding); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setTextAlign('right'); |
| | | context.setFillStyle(item.labelFontColor); |
| | | context.fillText(String(labelText), textX, textY + 0.5 * config.fontSize); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | } |
| | | } |
| | | } |
| | | |
| | | function drawToolTipHorizentalLine(opts, config, context, eachSpacing, xAxisPoints) { |
| | | var toolTipOption = assign({}, { |
| | | gridType: 'solid', |
| | | dashLength: 4 }, |
| | | opts.extra.tooltip); |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | if (toolTipOption.gridType == 'dash') { |
| | | context.setLineDash([toolTipOption.dashLength, toolTipOption.dashLength]); |
| | | } |
| | | context.setStrokeStyle(toolTipOption.gridColor || '#cccccc'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.beginPath(); |
| | | context.moveTo(startX, opts.tooltip.offset.y); |
| | | context.lineTo(endX, opts.tooltip.offset.y); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (toolTipOption.yAxisLabel) { |
| | | var labelText = calTooltipYAxisData(opts.tooltip.offset.y, opts.series, opts, config, eachSpacing); |
| | | var widthArr = opts.chartData.yAxisData.yAxisWidth; |
| | | var tStartLeft = opts.area[3]; |
| | | var tStartRight = opts.width - opts.area[1]; |
| | | for (var i = 0; i < labelText.length; i++) { |
| | | context.setFontSize(config.fontSize); |
| | | var textWidth = measureText(labelText[i], config.fontSize, context); |
| | | var bgStartX = void 0,bgEndX = void 0,bgWidth = void 0; |
| | | if (widthArr[i].position == 'left') { |
| | | bgStartX = tStartLeft - widthArr[i].width; |
| | | bgEndX = Math.max(bgStartX, bgStartX + textWidth + config.toolTipPadding * 2); |
| | | } else { |
| | | bgStartX = tStartRight; |
| | | bgEndX = Math.max(bgStartX + widthArr[i].width, bgStartX + textWidth + config.toolTipPadding * 2); |
| | | } |
| | | bgWidth = bgEndX - bgStartX; |
| | | var textX = bgStartX + (bgWidth - textWidth) / 2; |
| | | var textY = opts.tooltip.offset.y; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.labelBgColor || config.toolTipBackground, toolTipOption.labelBgOpacity || config.toolTipOpacity)); |
| | | context.setStrokeStyle(toolTipOption.labelBgColor || config.toolTipBackground); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.rect(bgStartX, textY - 0.5 * config.fontSize - config.toolTipPadding, bgWidth, config.fontSize + 2 * |
| | | config.toolTipPadding); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(toolTipOption.labelFontColor || opts.fontColor); |
| | | context.fillText(labelText[i], textX, textY + 0.5 * config.fontSize); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | if (widthArr[i].position == 'left') { |
| | | tStartLeft -= widthArr[i].width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | tStartRight += widthArr[i].width + opts.yAxis.padding * opts.pix; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | function drawToolTipSplitArea(offsetX, opts, config, context, eachSpacing) { |
| | | var toolTipOption = assign({}, { |
| | | activeBgColor: '#000000', |
| | | activeBgOpacity: 0.08 }, |
| | | opts.extra.column); |
| | | var startY = opts.area[0]; |
| | | var endY = opts.height - opts.area[2]; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.activeBgColor, toolTipOption.activeBgOpacity)); |
| | | context.rect(offsetX - eachSpacing / 2, startY, eachSpacing, endY - startY); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.setFillStyle("#FFFFFF"); |
| | | } |
| | | |
| | | function drawBarToolTipSplitArea(offsetX, opts, config, context, eachSpacing) { |
| | | var toolTipOption = assign({}, { |
| | | activeBgColor: '#000000', |
| | | activeBgOpacity: 0.08 }, |
| | | opts.extra.bar); |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.activeBgColor, toolTipOption.activeBgOpacity)); |
| | | context.rect(startX, offsetX - eachSpacing / 2, endX - startX, eachSpacing); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.setFillStyle("#FFFFFF"); |
| | | } |
| | | |
| | | function drawToolTip(textList, offset, opts, config, context, eachSpacing, xAxisPoints) { |
| | | var toolTipOption = assign({}, { |
| | | showBox: true, |
| | | showArrow: true, |
| | | showCategory: false, |
| | | bgColor: '#000000', |
| | | bgOpacity: 0.7, |
| | | borderColor: '#000000', |
| | | borderWidth: 0, |
| | | borderRadius: 0, |
| | | borderOpacity: 0.7, |
| | | fontColor: '#FFFFFF', |
| | | splitLine: true }, |
| | | opts.extra.tooltip); |
| | | if (toolTipOption.showCategory == true && opts.categories) { |
| | | textList.unshift({ text: opts.categories[opts.tooltip.index], color: null }); |
| | | } |
| | | var legendWidth = 4 * opts.pix; |
| | | var legendMarginRight = 5 * opts.pix; |
| | | var arrowWidth = toolTipOption.showArrow ? 8 * opts.pix : 0; |
| | | var isOverRightBorder = false; |
| | | if (opts.type == 'line' || opts.type == 'area' || opts.type == 'candle' || opts.type == 'mix') { |
| | | if (toolTipOption.splitLine == true) { |
| | | drawToolTipSplitLine(opts.tooltip.offset.x, opts, config, context); |
| | | } |
| | | } |
| | | offset = assign({ |
| | | x: 0, |
| | | y: 0 }, |
| | | offset); |
| | | offset.y -= 8 * opts.pix; |
| | | var textWidth = textList.map(function (item) { |
| | | return measureText(item.text, config.fontSize, context); |
| | | }); |
| | | var toolTipWidth = legendWidth + legendMarginRight + 4 * config.toolTipPadding + Math.max.apply(null, textWidth); |
| | | var toolTipHeight = 2 * config.toolTipPadding + textList.length * config.toolTipLineHeight; |
| | | if (toolTipOption.showBox == false) { |
| | | return; |
| | | } |
| | | // if beyond the right border |
| | | if (offset.x - Math.abs(opts._scrollDistance_ || 0) + arrowWidth + toolTipWidth > opts.width) { |
| | | isOverRightBorder = true; |
| | | } |
| | | if (toolTipHeight + offset.y > opts.height) { |
| | | offset.y = opts.height - toolTipHeight; |
| | | } |
| | | // draw background rect |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(toolTipOption.bgColor || config.toolTipBackground, toolTipOption.bgOpacity || config.toolTipOpacity)); |
| | | context.setLineWidth(toolTipOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(hexToRgb(toolTipOption.borderColor, toolTipOption.borderOpacity)); |
| | | var radius = toolTipOption.borderRadius; |
| | | if (isOverRightBorder) { |
| | | if (toolTipOption.showArrow) { |
| | | context.moveTo(offset.x, offset.y + 10 * opts.pix); |
| | | context.lineTo(offset.x - arrowWidth, offset.y + 10 * opts.pix + 5 * opts.pix); |
| | | } |
| | | context.arc(offset.x - arrowWidth - radius, offset.y + toolTipHeight - radius, radius, 0, Math.PI / 2, false); |
| | | context.arc(offset.x - arrowWidth - Math.round(toolTipWidth) + radius, offset.y + toolTipHeight - radius, radius, |
| | | Math.PI / 2, Math.PI, false); |
| | | context.arc(offset.x - arrowWidth - Math.round(toolTipWidth) + radius, offset.y + radius, radius, -Math.PI, -Math.PI / 2, false); |
| | | context.arc(offset.x - arrowWidth - radius, offset.y + radius, radius, -Math.PI / 2, 0, false); |
| | | if (toolTipOption.showArrow) { |
| | | context.lineTo(offset.x - arrowWidth, offset.y + 10 * opts.pix - 5 * opts.pix); |
| | | context.lineTo(offset.x, offset.y + 10 * opts.pix); |
| | | } |
| | | } else { |
| | | if (toolTipOption.showArrow) { |
| | | context.moveTo(offset.x, offset.y + 10 * opts.pix); |
| | | context.lineTo(offset.x + arrowWidth, offset.y + 10 * opts.pix - 5 * opts.pix); |
| | | } |
| | | context.arc(offset.x + arrowWidth + radius, offset.y + radius, radius, -Math.PI, -Math.PI / 2, false); |
| | | context.arc(offset.x + arrowWidth + Math.round(toolTipWidth) - radius, offset.y + radius, radius, -Math.PI / 2, 0, |
| | | false); |
| | | context.arc(offset.x + arrowWidth + Math.round(toolTipWidth) - radius, offset.y + toolTipHeight - radius, radius, 0, |
| | | Math.PI / 2, false); |
| | | context.arc(offset.x + arrowWidth + radius, offset.y + toolTipHeight - radius, radius, Math.PI / 2, Math.PI, false); |
| | | if (toolTipOption.showArrow) { |
| | | context.lineTo(offset.x + arrowWidth, offset.y + 10 * opts.pix + 5 * opts.pix); |
| | | context.lineTo(offset.x, offset.y + 10 * opts.pix); |
| | | } |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (toolTipOption.borderWidth > 0) { |
| | | context.stroke(); |
| | | } |
| | | // draw legend |
| | | textList.forEach(function (item, index) { |
| | | if (item.color !== null) { |
| | | context.beginPath(); |
| | | context.setFillStyle(item.color); |
| | | var startX = offset.x + arrowWidth + 2 * config.toolTipPadding; |
| | | var startY = offset.y + (config.toolTipLineHeight - config.fontSize) / 2 + config.toolTipLineHeight * index + config.toolTipPadding + 1; |
| | | if (isOverRightBorder) { |
| | | startX = offset.x - toolTipWidth - arrowWidth + 2 * config.toolTipPadding; |
| | | } |
| | | context.fillRect(startX, startY, legendWidth, config.fontSize); |
| | | context.closePath(); |
| | | } |
| | | }); |
| | | // draw text list |
| | | textList.forEach(function (item, index) { |
| | | var startX = offset.x + arrowWidth + 2 * config.toolTipPadding + legendWidth + legendMarginRight; |
| | | if (isOverRightBorder) { |
| | | startX = offset.x - toolTipWidth - arrowWidth + 2 * config.toolTipPadding + +legendWidth + legendMarginRight; |
| | | } |
| | | var startY = offset.y + (config.toolTipLineHeight - config.fontSize) / 2 + config.toolTipLineHeight * index + config.toolTipPadding; |
| | | context.beginPath(); |
| | | context.setFontSize(config.fontSize); |
| | | context.setFillStyle(toolTipOption.fontColor); |
| | | context.fillText(item.text, startX, startY + config.fontSize); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | }); |
| | | } |
| | | |
| | | function drawColumnDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var columnOption = assign({}, { |
| | | type: 'group', |
| | | width: eachSpacing / 2, |
| | | meterBorder: 4, |
| | | meterFillColor: '#FFFFFF', |
| | | barBorderCircle: false, |
| | | barBorderRadius: [], |
| | | seriesGap: 2, |
| | | linearType: 'none', |
| | | linearOpacity: 1, |
| | | customColor: [], |
| | | colorStop: 0 }, |
| | | opts.extra.column); |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = xAxisPoints.length + 2; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftNum = Math.floor(-opts._scrollDistance_ / eachSpacing) - 2; |
| | | rightNum = leftNum + opts.xAxis.itemCount + 4; |
| | | } |
| | | if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) { |
| | | drawToolTipSplitArea(opts.tooltip.offset.x, opts, config, context, eachSpacing); |
| | | } |
| | | columnOption.customColor = fillCustomColor(columnOption.linearType, columnOption.customColor, series, config); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | var tooltipPoints = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(tooltipPoints); |
| | | points = fixColumeData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | for (var i = 0; i < points.length; i++) { |
| | | var item = points[i]; |
| | | //fix issues/I27B1N yyoinge & Joeshu |
| | | if (item !== null && i > leftNum && i < rightNum) { |
| | | var startX = item.x - item.width / 2; |
| | | var height = opts.height - item.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = item.color || eachSeries.color; |
| | | var strokeColor = item.color || eachSeries.color; |
| | | if (columnOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, item.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (columnOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(columnOption.colorStop, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | // 圆角边框 |
| | | if (columnOption.barBorderRadius && columnOption.barBorderRadius.length === 4 || columnOption.barBorderCircle === true) { |
| | | var left = startX; |
| | | var top = item.y; |
| | | var width = item.width; |
| | | var _height = opts.height - opts.area[2] - item.y; |
| | | if (columnOption.barBorderCircle) { |
| | | columnOption.barBorderRadius = [width / 2, width / 2, 0, 0]; |
| | | }var _columnOption$barBord = _slicedToArray( |
| | | columnOption.barBorderRadius, 4),r0 = _columnOption$barBord[0],r1 = _columnOption$barBord[1],r2 = _columnOption$barBord[2],r3 = _columnOption$barBord[3]; |
| | | var minRadius = Math.min(width / 2, _height / 2); |
| | | r0 = r0 > minRadius ? minRadius : r0; |
| | | r1 = r1 > minRadius ? minRadius : r1; |
| | | r2 = r2 > minRadius ? minRadius : r2; |
| | | r3 = r3 > minRadius ? minRadius : r3; |
| | | r0 = r0 < 0 ? 0 : r0; |
| | | r1 = r1 < 0 ? 0 : r1; |
| | | r2 = r2 < 0 ? 0 : r2; |
| | | r3 = r3 < 0 ? 0 : r3; |
| | | context.arc(left + r0, top + r0, r0, -Math.PI, -Math.PI / 2); |
| | | context.arc(left + width - r1, top + r1, r1, -Math.PI / 2, 0); |
| | | context.arc(left + width - r2, top + _height - r2, r2, 0, Math.PI / 2); |
| | | context.arc(left + r3, top + _height - r3, r3, Math.PI / 2, Math.PI); |
| | | } else { |
| | | context.moveTo(startX, item.y); |
| | | context.lineTo(startX + item.width - 2, item.y); |
| | | context.lineTo(startX + item.width - 2, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(startX, item.y); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(strokeColor); |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.closePath(); |
| | | //context.stroke(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'stack': |
| | | // 绘制堆叠数据图 |
| | | var points = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(points); |
| | | points = fixColumeStackData(points, eachSpacing, series.length, seriesIndex, config, opts, series); |
| | | for (var _i15 = 0; _i15 < points.length; _i15++) { |
| | | var _item7 = points[_i15]; |
| | | if (_item7 !== null && _i15 > leftNum && _i15 < rightNum) { |
| | | context.beginPath(); |
| | | var fillColor = _item7.color || eachSeries.color; |
| | | var startX = _item7.x - _item7.width / 2 + 1; |
| | | var height = opts.height - _item7.y - opts.area[2]; |
| | | var height0 = opts.height - _item7.y0 - opts.area[2]; |
| | | if (seriesIndex > 0) { |
| | | height -= height0; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(startX, _item7.y); |
| | | context.fillRect(startX, _item7.y, _item7.width - 2, height); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'meter': |
| | | // 绘制温度计数据图 |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | points = fixColumeMeterData(points, eachSpacing, series.length, seriesIndex, config, opts, columnOption.meterBorder); |
| | | if (seriesIndex == 0) { |
| | | for (var _i16 = 0; _i16 < points.length; _i16++) { |
| | | var _item8 = points[_i16]; |
| | | if (_item8 !== null && _i16 > leftNum && _i16 < rightNum) { |
| | | //画背景颜色 |
| | | context.beginPath(); |
| | | context.setFillStyle(columnOption.meterFillColor); |
| | | var startX = _item8.x - _item8.width / 2; |
| | | var height = opts.height - _item8.y - opts.area[2]; |
| | | if (columnOption.barBorderCircle) { |
| | | var barBorderRadius = (_item8.width - columnOption.meterBorder * 2) / 2; |
| | | if (barBorderRadius > height) { |
| | | barBorderRadius = height; |
| | | } |
| | | context.moveTo(startX + columnOption.meterBorder, opts.height - opts.area[2]); |
| | | context.lineTo(startX + columnOption.meterBorder, _item8.y + barBorderRadius); |
| | | context.arc(startX + _item8.width / 2, _item8.y + barBorderRadius, barBorderRadius, -Math.PI, 0); |
| | | context.lineTo(startX + _item8.width - columnOption.meterBorder, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.fill(); |
| | | } else { |
| | | context.moveTo(startX, _item8.y); |
| | | context.fillRect(startX, _item8.y, _item8.width, height); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | //画边框线 |
| | | if (columnOption.meterBorder > 0) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(columnOption.meterBorder * opts.pix); |
| | | if (columnOption.barBorderCircle) { |
| | | var barBorderRadius = (_item8.width - columnOption.meterBorder) / 2; |
| | | if (barBorderRadius > height) { |
| | | barBorderRadius = height; |
| | | } |
| | | context.moveTo(startX + columnOption.meterBorder * 0.5, opts.height - opts.area[2]); |
| | | context.lineTo(startX + columnOption.meterBorder * 0.5, _item8.y + barBorderRadius); |
| | | context.arc(startX + _item8.width / 2, _item8.y + barBorderRadius - columnOption.meterBorder * 0.5, barBorderRadius, -Math.PI, 0); |
| | | context.lineTo(startX + _item8.width - columnOption.meterBorder * 0.5, opts.height - opts.area[2]); |
| | | } else { |
| | | context.moveTo(startX + columnOption.meterBorder * 0.5, _item8.y + height); |
| | | context.lineTo(startX + columnOption.meterBorder * 0.5, _item8.y + columnOption.meterBorder * 0.5); |
| | | context.lineTo(startX + _item8.width - columnOption.meterBorder * 0.5, _item8.y + columnOption.meterBorder * 0.5); |
| | | context.lineTo(startX + _item8.width - columnOption.meterBorder * 0.5, _item8.y + height); |
| | | } |
| | | context.stroke(); |
| | | } |
| | | } |
| | | }; |
| | | } else { |
| | | for (var _i17 = 0; _i17 < points.length; _i17++) { |
| | | var _item9 = points[_i17]; |
| | | if (_item9 !== null && _i17 > leftNum && _i17 < rightNum) { |
| | | context.beginPath(); |
| | | context.setFillStyle(_item9.color || eachSeries.color); |
| | | var startX = _item9.x - _item9.width / 2; |
| | | var height = opts.height - _item9.y - opts.area[2]; |
| | | if (columnOption.barBorderCircle) { |
| | | var barBorderRadius = _item9.width / 2; |
| | | if (barBorderRadius > height) { |
| | | barBorderRadius = height; |
| | | } |
| | | context.moveTo(startX, opts.height - opts.area[2]); |
| | | context.arc(startX + barBorderRadius, _item9.y + barBorderRadius, barBorderRadius, -Math.PI, -Math.PI / 2); |
| | | context.arc(startX + _item9.width - barBorderRadius, _item9.y + barBorderRadius, barBorderRadius, -Math.PI / 2, 0); |
| | | context.lineTo(startX + _item9.width, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.fill(); |
| | | } else { |
| | | context.moveTo(startX, _item9.y); |
| | | context.fillRect(startX, _item9.y, _item9.width, height); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | }; |
| | | } |
| | | break;} |
| | | |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | points = fixColumeData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | break; |
| | | case 'stack': |
| | | var points = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | break; |
| | | case 'meter': |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | break;} |
| | | |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawBarDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var yAxisPoints = []; |
| | | var eachSpacing = (opts.height - opts.area[0] - opts.area[2]) / opts.categories.length; |
| | | for (var i = 0; i < opts.categories.length; i++) { |
| | | yAxisPoints.push(opts.area[0] + eachSpacing / 2 + eachSpacing * i); |
| | | } |
| | | var columnOption = assign({}, { |
| | | type: 'group', |
| | | width: eachSpacing / 2, |
| | | meterBorder: 4, |
| | | meterFillColor: '#FFFFFF', |
| | | barBorderCircle: false, |
| | | barBorderRadius: [], |
| | | seriesGap: 2, |
| | | linearType: 'none', |
| | | linearOpacity: 1, |
| | | customColor: [], |
| | | colorStop: 0 }, |
| | | opts.extra.bar); |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = yAxisPoints.length + 2; |
| | | if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) { |
| | | drawBarToolTipSplitArea(opts.tooltip.offset.y, opts, config, context, eachSpacing); |
| | | } |
| | | columnOption.customColor = fillCustomColor(columnOption.linearType, columnOption.customColor, series, config); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.xAxisData.ranges); |
| | | maxRange = ranges.pop(); |
| | | minRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getBarDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, process); |
| | | var tooltipPoints = getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(tooltipPoints); |
| | | points = fixBarData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | for (var _i18 = 0; _i18 < points.length; _i18++) { |
| | | var item = points[_i18]; |
| | | //fix issues/I27B1N yyoinge & Joeshu |
| | | if (item !== null && _i18 > leftNum && _i18 < rightNum) { |
| | | //var startX = item.x - item.width / 2; |
| | | var startX = opts.area[3]; |
| | | var startY = item.y - item.width / 2; |
| | | var height = item.height; |
| | | context.beginPath(); |
| | | var fillColor = item.color || eachSeries.color; |
| | | var strokeColor = item.color || eachSeries.color; |
| | | if (columnOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, item.y, item.x, item.y); |
| | | //透明渐变 |
| | | if (columnOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(columnOption.colorStop, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | // 圆角边框 |
| | | if (columnOption.barBorderRadius && columnOption.barBorderRadius.length === 4 || columnOption.barBorderCircle === true) { |
| | | var left = startX; |
| | | var width = item.width; |
| | | var top = item.y - item.width / 2; |
| | | var _height2 = item.heigh; |
| | | if (columnOption.barBorderCircle) { |
| | | columnOption.barBorderRadius = [width / 2, width / 2, 0, 0]; |
| | | }var _columnOption$barBord2 = _slicedToArray( |
| | | columnOption.barBorderRadius, 4),r0 = _columnOption$barBord2[0],r1 = _columnOption$barBord2[1],r2 = _columnOption$barBord2[2],r3 = _columnOption$barBord2[3]; |
| | | var minRadius = Math.min(width / 2, _height2 / 2); |
| | | r0 = r0 > minRadius ? minRadius : r0; |
| | | r1 = r1 > minRadius ? minRadius : r1; |
| | | r2 = r2 > minRadius ? minRadius : r2; |
| | | r3 = r3 > minRadius ? minRadius : r3; |
| | | r0 = r0 < 0 ? 0 : r0; |
| | | r1 = r1 < 0 ? 0 : r1; |
| | | r2 = r2 < 0 ? 0 : r2; |
| | | r3 = r3 < 0 ? 0 : r3; |
| | | |
| | | context.arc(left + r3, top + r3, r3, -Math.PI, -Math.PI / 2); |
| | | context.arc(item.x - r0, top + r0, r0, -Math.PI / 2, 0); |
| | | context.arc(item.x - r1, top + width - r1, r1, 0, Math.PI / 2); |
| | | context.arc(left + r2, top + width - r2, r2, Math.PI / 2, Math.PI); |
| | | } else { |
| | | context.moveTo(startX, startY); |
| | | context.lineTo(item.x, startY); |
| | | context.lineTo(item.x, startY + item.width - 2); |
| | | context.lineTo(startX, startY + item.width - 2); |
| | | context.lineTo(startX, startY); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(strokeColor); |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.closePath(); |
| | | //context.stroke(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break; |
| | | case 'stack': |
| | | // 绘制堆叠数据图 |
| | | var points = getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | calPoints.push(points); |
| | | points = fixBarStackData(points, eachSpacing, series.length, seriesIndex, config, opts, series); |
| | | for (var _i19 = 0; _i19 < points.length; _i19++) { |
| | | var _item10 = points[_i19]; |
| | | if (_item10 !== null && _i19 > leftNum && _i19 < rightNum) { |
| | | context.beginPath(); |
| | | var fillColor = _item10.color || eachSeries.color; |
| | | var startX = _item10.x0; |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(startX, _item10.y - _item10.width / 2); |
| | | context.fillRect(startX, _item10.y - _item10.width / 2, _item10.height, _item10.width - 2); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | }; |
| | | break;} |
| | | |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.xAxisData.ranges); |
| | | maxRange = ranges.pop(); |
| | | minRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | switch (columnOption.type) { |
| | | case 'group': |
| | | var points = getBarDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, process); |
| | | points = fixBarData(points, eachSpacing, series.length, seriesIndex, config, opts); |
| | | drawBarPointText(points, eachSeries, config, context, opts); |
| | | break; |
| | | case 'stack': |
| | | var points = getBarStackDataPoints(data, minRange, maxRange, yAxisPoints, eachSpacing, opts, config, seriesIndex, series, process); |
| | | drawBarPointText(points, eachSeries, config, context, opts); |
| | | break;} |
| | | |
| | | }); |
| | | } |
| | | return { |
| | | yAxisPoints: yAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawCandleDataPoints(series, seriesMA, opts, config, context) { |
| | | var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1; |
| | | var candleOption = assign({}, { |
| | | color: {}, |
| | | average: {} }, |
| | | opts.extra.candle); |
| | | candleOption.color = assign({}, { |
| | | upLine: '#f04864', |
| | | upFill: '#f04864', |
| | | downLine: '#2fc25b', |
| | | downFill: '#2fc25b' }, |
| | | candleOption.color); |
| | | candleOption.average = assign({}, { |
| | | show: false, |
| | | name: [], |
| | | day: [], |
| | | color: config.color }, |
| | | candleOption.average); |
| | | opts.extra.candle = candleOption; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = xAxisPoints.length + 2; |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftNum = Math.floor(-opts._scrollDistance_ / eachSpacing) - 2; |
| | | rightNum = leftNum + opts.xAxis.itemCount + 4; |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | //画均线 |
| | | if (candleOption.average.show || seriesMA) {//Merge pull request !12 from 邱贵翔 |
| | | seriesMA.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | for (var i = 0; i < splitPointList.length; i++) { |
| | | var _points = splitPointList[i]; |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(1); |
| | | if (_points.length === 1) { |
| | | context.moveTo(_points[0].x, _points[0].y); |
| | | context.arc(_points[0].x, _points[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(_points[0].x, _points[0].y); |
| | | var startPoint = 0; |
| | | for (var j = 0; j < _points.length; j++) { |
| | | var item = _points[j]; |
| | | if (startPoint == 0 && item.x > leftSpace) { |
| | | context.moveTo(item.x, item.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && item.x > leftSpace && item.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(_points, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, item.x, |
| | | item.y); |
| | | } |
| | | } |
| | | context.moveTo(_points[0].x, _points[0].y); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | } |
| | | //画K线 |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getCandleDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | for (var i = 0; i < splitPointList[0].length; i++) { |
| | | if (i > leftNum && i < rightNum) { |
| | | var item = splitPointList[0][i]; |
| | | context.beginPath(); |
| | | //如果上涨 |
| | | if (data[i][1] - data[i][0] > 0) { |
| | | context.setStrokeStyle(candleOption.color.upLine); |
| | | context.setFillStyle(candleOption.color.upFill); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.lineTo(item[1].x - eachSpacing / 4, item[1].y); //收盘左侧点 |
| | | context.lineTo(item[0].x - eachSpacing / 4, item[0].y); //开盘左侧点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.lineTo(item[2].x, item[2].y); //底点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.lineTo(item[0].x + eachSpacing / 4, item[0].y); //开盘右侧点 |
| | | context.lineTo(item[1].x + eachSpacing / 4, item[1].y); //收盘右侧点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | } else { |
| | | context.setStrokeStyle(candleOption.color.downLine); |
| | | context.setFillStyle(candleOption.color.downFill); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.lineTo(item[0].x - eachSpacing / 4, item[0].y); //开盘左侧点 |
| | | context.lineTo(item[1].x - eachSpacing / 4, item[1].y); //收盘左侧点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.lineTo(item[2].x, item[2].y); //底点 |
| | | context.lineTo(item[1].x, item[1].y); //收盘中间点 |
| | | context.lineTo(item[1].x + eachSpacing / 4, item[1].y); //收盘右侧点 |
| | | context.lineTo(item[0].x + eachSpacing / 4, item[0].y); //开盘右侧点 |
| | | context.lineTo(item[0].x, item[0].y); //开盘中间点 |
| | | context.moveTo(item[3].x, item[3].y); //顶点 |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | }); |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawAreaDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var areaOption = assign({}, { |
| | | type: 'straight', |
| | | opacity: 0.2, |
| | | addLine: false, |
| | | width: 2, |
| | | gradient: false }, |
| | | opts.extra.area); |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var endY = opts.height - opts.area[2]; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | for (var i = 0; i < splitPointList.length; i++) { |
| | | var _points2 = splitPointList[i]; |
| | | // 绘制区域数 |
| | | context.beginPath(); |
| | | context.setStrokeStyle(hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | if (areaOption.gradient) { |
| | | var gradient = context.createLinearGradient(0, opts.area[0], 0, opts.height - opts.area[2]); |
| | | gradient.addColorStop('0', hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | gradient.addColorStop('1.0', hexToRgb("#FFFFFF", 0.1)); |
| | | context.setFillStyle(gradient); |
| | | } else { |
| | | context.setFillStyle(hexToRgb(eachSeries.color, areaOption.opacity)); |
| | | } |
| | | context.setLineWidth(areaOption.width * opts.pix); |
| | | if (_points2.length > 1) { |
| | | var firstPoint = _points2[0]; |
| | | var lastPoint = _points2[_points2.length - 1]; |
| | | context.moveTo(firstPoint.x, firstPoint.y); |
| | | var startPoint = 0; |
| | | if (areaOption.type === 'curve') { |
| | | for (var j = 0; j < _points2.length; j++) { |
| | | var item = _points2[j]; |
| | | if (startPoint == 0 && item.x > leftSpace) { |
| | | context.moveTo(item.x, item.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && item.x > leftSpace && item.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(_points2, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, item.x, item.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'straight') { |
| | | for (var _j = 0; _j < _points2.length; _j++) { |
| | | var _item11 = _points2[_j]; |
| | | if (startPoint == 0 && _item11.x > leftSpace) { |
| | | context.moveTo(_item11.x, _item11.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j > 0 && _item11.x > leftSpace && _item11.x < rightSpace) { |
| | | context.lineTo(_item11.x, _item11.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'step') { |
| | | for (var _j2 = 0; _j2 < _points2.length; _j2++) { |
| | | var _item12 = _points2[_j2]; |
| | | if (startPoint == 0 && _item12.x > leftSpace) { |
| | | context.moveTo(_item12.x, _item12.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j2 > 0 && _item12.x > leftSpace && _item12.x < rightSpace) { |
| | | context.lineTo(_item12.x, _points2[_j2 - 1].y); |
| | | context.lineTo(_item12.x, _item12.y); |
| | | } |
| | | }; |
| | | } |
| | | context.lineTo(lastPoint.x, endY); |
| | | context.lineTo(firstPoint.x, endY); |
| | | context.lineTo(firstPoint.x, firstPoint.y); |
| | | } else { |
| | | var _item13 = _points2[0]; |
| | | context.moveTo(_item13.x - eachSpacing / 2, _item13.y); |
| | | context.lineTo(_item13.x + eachSpacing / 2, _item13.y); |
| | | context.lineTo(_item13.x + eachSpacing / 2, endY); |
| | | context.lineTo(_item13.x - eachSpacing / 2, endY); |
| | | context.moveTo(_item13.x - eachSpacing / 2, _item13.y); |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | //画连线 |
| | | if (areaOption.addLine) { |
| | | if (eachSeries.lineType == 'dash') { |
| | | var dashLength = eachSeries.dashLength ? eachSeries.dashLength : 8; |
| | | dashLength *= opts.pix; |
| | | context.setLineDash([dashLength, dashLength]); |
| | | } |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(areaOption.width * opts.pix); |
| | | if (_points2.length === 1) { |
| | | context.moveTo(_points2[0].x, _points2[0].y); |
| | | context.arc(_points2[0].x, _points2[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(_points2[0].x, _points2[0].y); |
| | | var _startPoint = 0; |
| | | if (areaOption.type === 'curve') { |
| | | for (var _j3 = 0; _j3 < _points2.length; _j3++) { |
| | | var _item14 = _points2[_j3]; |
| | | if (_startPoint == 0 && _item14.x > leftSpace) { |
| | | context.moveTo(_item14.x, _item14.y); |
| | | _startPoint = 1; |
| | | } |
| | | if (_j3 > 0 && _item14.x > leftSpace && _item14.x < rightSpace) { |
| | | var _ctrlPoint = createCurveControlPoints(_points2, _j3 - 1); |
| | | context.bezierCurveTo(_ctrlPoint.ctrA.x, _ctrlPoint.ctrA.y, _ctrlPoint.ctrB.x, _ctrlPoint.ctrB.y, _item14.x, _item14.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'straight') { |
| | | for (var _j4 = 0; _j4 < _points2.length; _j4++) { |
| | | var _item15 = _points2[_j4]; |
| | | if (_startPoint == 0 && _item15.x > leftSpace) { |
| | | context.moveTo(_item15.x, _item15.y); |
| | | _startPoint = 1; |
| | | } |
| | | if (_j4 > 0 && _item15.x > leftSpace && _item15.x < rightSpace) { |
| | | context.lineTo(_item15.x, _item15.y); |
| | | } |
| | | }; |
| | | } |
| | | if (areaOption.type === 'step') { |
| | | for (var _j5 = 0; _j5 < _points2.length; _j5++) { |
| | | var _item16 = _points2[_j5]; |
| | | if (_startPoint == 0 && _item16.x > leftSpace) { |
| | | context.moveTo(_item16.x, _item16.y); |
| | | _startPoint = 1; |
| | | } |
| | | if (_j5 > 0 && _item16.x > leftSpace && _item16.x < rightSpace) { |
| | | context.lineTo(_item16.x, _points2[_j5 - 1].y); |
| | | context.lineTo(_item16.x, _item16.y); |
| | | } |
| | | }; |
| | | } |
| | | context.moveTo(_points2[0].x, _points2[0].y); |
| | | } |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | } |
| | | } |
| | | //画点 |
| | | if (opts.dataPointShape !== false) { |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawScatterDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var scatterOption = assign({}, { |
| | | type: 'circle' }, |
| | | opts.extra.scatter); |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setFillStyle(eachSeries.color); |
| | | context.setLineWidth(1 * opts.pix); |
| | | var shape = eachSeries.pointShape; |
| | | if (shape === 'diamond') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y); |
| | | context.lineTo(item.x, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'circle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x + 2.5 * opts.pix, item.y); |
| | | context.arc(item.x, item.y, 3 * opts.pix, 0, 2 * Math.PI, false); |
| | | } |
| | | }); |
| | | } else if (shape === 'square') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x - 3.5, item.y - 3.5); |
| | | context.rect(item.x - 3.5, item.y - 3.5, 7, 7); |
| | | } |
| | | }); |
| | | } else if (shape === 'triangle') { |
| | | points.forEach(function (item, index) { |
| | | if (item !== null) { |
| | | context.moveTo(item.x, item.y - 4.5); |
| | | context.lineTo(item.x - 4.5, item.y + 4.5); |
| | | context.lineTo(item.x + 4.5, item.y + 4.5); |
| | | context.lineTo(item.x, item.y - 4.5); |
| | | } |
| | | }); |
| | | } else if (shape === 'triangle') { |
| | | return; |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | }); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawBubbleDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var bubbleOption = assign({}, { |
| | | opacity: 1, |
| | | border: 2 }, |
| | | opts.extra.bubble); |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(bubbleOption.border * opts.pix); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, bubbleOption.opacity)); |
| | | points.forEach(function (item, index) { |
| | | context.moveTo(item.x + item.r, item.y); |
| | | context.arc(item.x, item.y, item.r * opts.pix, 0, 2 * Math.PI, false); |
| | | }); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | points.forEach(function (item, index) { |
| | | context.beginPath(); |
| | | var fontSize = series.textSize * opts.pix || config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(series.textColor || "#FFFFFF"); |
| | | context.setTextAlign('center'); |
| | | context.fillText(String(item.t), item.x, item.y + fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | }); |
| | | } |
| | | }); |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | |
| | | function drawLineDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var lineOption = assign({}, { |
| | | type: 'straight', |
| | | width: 2 }, |
| | | opts.extra.line); |
| | | lineOption.width *= opts.pix; |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var calPoints = []; |
| | | context.save(); |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | if (eachSeries.lineType == 'dash') { |
| | | var dashLength = eachSeries.dashLength ? eachSeries.dashLength : 8; |
| | | dashLength *= opts.pix; |
| | | context.setLineDash([dashLength, dashLength]); |
| | | } |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(lineOption.width); |
| | | splitPointList.forEach(function (points, index) { |
| | | if (points.length === 1) { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | var startPoint = 0; |
| | | if (lineOption.type === 'curve') { |
| | | for (var j = 0; j < points.length; j++) { |
| | | var item = points[j]; |
| | | if (startPoint == 0 && item.x > leftSpace) { |
| | | context.moveTo(item.x, item.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && item.x > leftSpace && item.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(points, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, item.x, item.y); |
| | | } |
| | | }; |
| | | } |
| | | if (lineOption.type === 'straight') { |
| | | for (var _j6 = 0; _j6 < points.length; _j6++) { |
| | | var _item17 = points[_j6]; |
| | | if (startPoint == 0 && _item17.x > leftSpace) { |
| | | context.moveTo(_item17.x, _item17.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j6 > 0 && _item17.x > leftSpace && _item17.x < rightSpace) { |
| | | context.lineTo(_item17.x, _item17.y); |
| | | } |
| | | }; |
| | | } |
| | | if (lineOption.type === 'step') { |
| | | for (var _j7 = 0; _j7 < points.length; _j7++) { |
| | | var _item18 = points[_j7]; |
| | | if (startPoint == 0 && _item18.x > leftSpace) { |
| | | context.moveTo(_item18.x, _item18.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j7 > 0 && _item18.x > leftSpace && _item18.x < rightSpace) { |
| | | context.lineTo(_item18.x, points[_j7 - 1].y); |
| | | context.lineTo(_item18.x, _item18.y); |
| | | } |
| | | }; |
| | | } |
| | | context.moveTo(points[0].x, points[0].y); |
| | | } |
| | | }); |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | if (opts.dataPointShape !== false) { |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawMixDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var columnOption = assign({}, { |
| | | width: eachSpacing / 2, |
| | | barBorderCircle: false, |
| | | barBorderRadius: [], |
| | | seriesGap: 2, |
| | | linearType: 'none', |
| | | linearOpacity: 1, |
| | | customColor: [], |
| | | colorStop: 0 }, |
| | | opts.extra.mix.column); |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var endY = opts.height - opts.area[2]; |
| | | var calPoints = []; |
| | | var columnIndex = 0; |
| | | var columnLength = 0; |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | if (eachSeries.type == 'column') { |
| | | columnLength += 1; |
| | | } |
| | | }); |
| | | context.save(); |
| | | var leftNum = -2; |
| | | var rightNum = xAxisPoints.length + 2; |
| | | var leftSpace = 0; |
| | | var rightSpace = opts.width + eachSpacing; |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | leftNum = Math.floor(-opts._scrollDistance_ / eachSpacing) - 2; |
| | | rightNum = leftNum + opts.xAxis.itemCount + 4; |
| | | leftSpace = -opts._scrollDistance_ - eachSpacing * 2 + opts.area[3]; |
| | | rightSpace = leftSpace + (opts.xAxis.itemCount + 4) * eachSpacing; |
| | | } |
| | | columnOption.customColor = fillCustomColor(columnOption.linearType, columnOption.customColor, series, config); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | calPoints.push(points); |
| | | // 绘制柱状数据图 |
| | | if (eachSeries.type == 'column') { |
| | | points = fixColumeData(points, eachSpacing, columnLength, columnIndex, config, opts); |
| | | for (var i = 0; i < points.length; i++) { |
| | | var item = points[i]; |
| | | if (item !== null && i > leftNum && i < rightNum) { |
| | | var startX = item.x - item.width / 2; |
| | | var height = opts.height - item.y - opts.area[2]; |
| | | context.beginPath(); |
| | | var fillColor = item.color || eachSeries.color; |
| | | var strokeColor = item.color || eachSeries.color; |
| | | if (columnOption.linearType !== 'none') { |
| | | var grd = context.createLinearGradient(startX, item.y, startX, opts.height - opts.area[2]); |
| | | //透明渐变 |
| | | if (columnOption.linearType == 'opacity') { |
| | | grd.addColorStop(0, hexToRgb(fillColor, columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } else { |
| | | grd.addColorStop(0, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(columnOption.colorStop, hexToRgb(columnOption.customColor[eachSeries.linearIndex], columnOption.linearOpacity)); |
| | | grd.addColorStop(1, hexToRgb(fillColor, 1)); |
| | | } |
| | | fillColor = grd; |
| | | } |
| | | // 圆角边框 |
| | | if (columnOption.barBorderRadius && columnOption.barBorderRadius.length === 4 || columnOption.barBorderCircle) { |
| | | var left = startX; |
| | | var top = item.y; |
| | | var width = item.width; |
| | | var _height3 = opts.height - opts.area[2] - item.y; |
| | | if (columnOption.barBorderCircle) { |
| | | columnOption.barBorderRadius = [width / 2, width / 2, 0, 0]; |
| | | }var _columnOption$barBord3 = _slicedToArray( |
| | | columnOption.barBorderRadius, 4),r0 = _columnOption$barBord3[0],r1 = _columnOption$barBord3[1],r2 = _columnOption$barBord3[2],r3 = _columnOption$barBord3[3]; |
| | | var minRadius = Math.min(width / 2, _height3 / 2); |
| | | r0 = r0 > minRadius ? minRadius : r0; |
| | | r1 = r1 > minRadius ? minRadius : r1; |
| | | r2 = r2 > minRadius ? minRadius : r2; |
| | | r3 = r3 > minRadius ? minRadius : r3; |
| | | r0 = r0 < 0 ? 0 : r0; |
| | | r1 = r1 < 0 ? 0 : r1; |
| | | r2 = r2 < 0 ? 0 : r2; |
| | | r3 = r3 < 0 ? 0 : r3; |
| | | context.arc(left + r0, top + r0, r0, -Math.PI, -Math.PI / 2); |
| | | context.arc(left + width - r1, top + r1, r1, -Math.PI / 2, 0); |
| | | context.arc(left + width - r2, top + _height3 - r2, r2, 0, Math.PI / 2); |
| | | context.arc(left + r3, top + _height3 - r3, r3, Math.PI / 2, Math.PI); |
| | | } else { |
| | | context.moveTo(startX, item.y); |
| | | context.lineTo(startX + item.width - 2, item.y); |
| | | context.lineTo(startX + item.width - 2, opts.height - opts.area[2]); |
| | | context.lineTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(startX, item.y); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(strokeColor); |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | columnIndex += 1; |
| | | } |
| | | //绘制区域图数据 |
| | | if (eachSeries.type == 'area') { |
| | | var _splitPointList = splitPoints(points, eachSeries); |
| | | for (var _i20 = 0; _i20 < _splitPointList.length; _i20++) { |
| | | var _points3 = _splitPointList[_i20]; |
| | | // 绘制区域数据 |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, 0.2)); |
| | | context.setLineWidth(2 * opts.pix); |
| | | if (_points3.length > 1) { |
| | | var firstPoint = _points3[0]; |
| | | var lastPoint = _points3[_points3.length - 1]; |
| | | context.moveTo(firstPoint.x, firstPoint.y); |
| | | var startPoint = 0; |
| | | if (eachSeries.style === 'curve') { |
| | | for (var j = 0; j < _points3.length; j++) { |
| | | var _item19 = _points3[j]; |
| | | if (startPoint == 0 && _item19.x > leftSpace) { |
| | | context.moveTo(_item19.x, _item19.y); |
| | | startPoint = 1; |
| | | } |
| | | if (j > 0 && _item19.x > leftSpace && _item19.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(_points3, j - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, _item19.x, _item19.y); |
| | | } |
| | | }; |
| | | } else { |
| | | for (var _j8 = 0; _j8 < _points3.length; _j8++) { |
| | | var _item20 = _points3[_j8]; |
| | | if (startPoint == 0 && _item20.x > leftSpace) { |
| | | context.moveTo(_item20.x, _item20.y); |
| | | startPoint = 1; |
| | | } |
| | | if (_j8 > 0 && _item20.x > leftSpace && _item20.x < rightSpace) { |
| | | context.lineTo(_item20.x, _item20.y); |
| | | } |
| | | }; |
| | | } |
| | | context.lineTo(lastPoint.x, endY); |
| | | context.lineTo(firstPoint.x, endY); |
| | | context.lineTo(firstPoint.x, firstPoint.y); |
| | | } else { |
| | | var _item21 = _points3[0]; |
| | | context.moveTo(_item21.x - eachSpacing / 2, _item21.y); |
| | | context.lineTo(_item21.x + eachSpacing / 2, _item21.y); |
| | | context.lineTo(_item21.x + eachSpacing / 2, endY); |
| | | context.lineTo(_item21.x - eachSpacing / 2, endY); |
| | | context.moveTo(_item21.x - eachSpacing / 2, _item21.y); |
| | | } |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | // 绘制折线数据图 |
| | | if (eachSeries.type == 'line') { |
| | | var splitPointList = splitPoints(points, eachSeries); |
| | | splitPointList.forEach(function (points, index) { |
| | | if (eachSeries.lineType == 'dash') { |
| | | var dashLength = eachSeries.dashLength ? eachSeries.dashLength : 8; |
| | | dashLength *= opts.pix; |
| | | context.setLineDash([dashLength, dashLength]); |
| | | } |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setLineWidth(2 * opts.pix); |
| | | if (points.length === 1) { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI); |
| | | } else { |
| | | context.moveTo(points[0].x, points[0].y); |
| | | var _startPoint2 = 0; |
| | | if (eachSeries.style == 'curve') { |
| | | for (var _j9 = 0; _j9 < points.length; _j9++) { |
| | | var _item22 = points[_j9]; |
| | | if (_startPoint2 == 0 && _item22.x > leftSpace) { |
| | | context.moveTo(_item22.x, _item22.y); |
| | | _startPoint2 = 1; |
| | | } |
| | | if (_j9 > 0 && _item22.x > leftSpace && _item22.x < rightSpace) { |
| | | var ctrlPoint = createCurveControlPoints(points, _j9 - 1); |
| | | context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, |
| | | _item22.x, _item22.y); |
| | | } |
| | | } |
| | | } else { |
| | | for (var _j10 = 0; _j10 < points.length; _j10++) { |
| | | var _item23 = points[_j10]; |
| | | if (_startPoint2 == 0 && _item23.x > leftSpace) { |
| | | context.moveTo(_item23.x, _item23.y); |
| | | _startPoint2 = 1; |
| | | } |
| | | if (_j10 > 0 && _item23.x > leftSpace && _item23.x < rightSpace) { |
| | | context.lineTo(_item23.x, _item23.y); |
| | | } |
| | | } |
| | | } |
| | | context.moveTo(points[0].x, points[0].y); |
| | | } |
| | | context.stroke(); |
| | | context.setLineDash([]); |
| | | }); |
| | | } |
| | | // 绘制点数据图 |
| | | if (eachSeries.type == 'point') { |
| | | eachSeries.addPoint = true; |
| | | } |
| | | if (eachSeries.addPoint == true && eachSeries.type !== 'column') { |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | var columnIndex = 0; |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | var ranges, minRange, maxRange; |
| | | ranges = [].concat(opts.chartData.yAxisData.ranges[eachSeries.index]); |
| | | minRange = ranges.pop(); |
| | | maxRange = ranges.shift(); |
| | | var data = eachSeries.data; |
| | | var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process); |
| | | if (eachSeries.type !== 'column') { |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | } else { |
| | | points = fixColumeData(points, eachSpacing, columnLength, columnIndex, config, opts); |
| | | drawPointText(points, eachSeries, config, context, opts); |
| | | columnIndex += 1; |
| | | } |
| | | }); |
| | | } |
| | | context.restore(); |
| | | return { |
| | | xAxisPoints: xAxisPoints, |
| | | calPoints: calPoints, |
| | | eachSpacing: eachSpacing }; |
| | | |
| | | } |
| | | |
| | | function drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints) { |
| | | var toolTipOption = opts.extra.tooltip || {}; |
| | | if (toolTipOption.horizentalLine && opts.tooltip && process === 1 && (opts.type == 'line' || opts.type == 'area' || opts.type == 'column' || opts.type == 'candle' || opts.type == 'mix')) { |
| | | drawToolTipHorizentalLine(opts, config, context, eachSpacing, xAxisPoints); |
| | | } |
| | | context.save(); |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | } |
| | | if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) { |
| | | drawToolTip(opts.tooltip.textList, opts.tooltip.offset, opts, config, context, eachSpacing, xAxisPoints); |
| | | } |
| | | context.restore(); |
| | | |
| | | } |
| | | |
| | | function drawXAxis(categories, opts, config, context) { |
| | | |
| | | var xAxisData = opts.chartData.xAxisData, |
| | | xAxisPoints = xAxisData.xAxisPoints, |
| | | startX = xAxisData.startX, |
| | | endX = xAxisData.endX, |
| | | eachSpacing = xAxisData.eachSpacing; |
| | | var boundaryGap = 'center'; |
| | | if (opts.type == 'bar' || opts.type == 'line' || opts.type == 'area' || opts.type == 'scatter' || opts.type == 'bubble') { |
| | | boundaryGap = opts.xAxis.boundaryGap; |
| | | } |
| | | var startY = opts.height - opts.area[2]; |
| | | var endY = opts.area[0]; |
| | | |
| | | //绘制滚动条 |
| | | if (opts.enableScroll && opts.xAxis.scrollShow) { |
| | | var scrollY = opts.height - opts.area[2] + config.xAxisHeight; |
| | | var scrollScreenWidth = endX - startX; |
| | | var scrollTotalWidth = eachSpacing * (xAxisPoints.length - 1); |
| | | var scrollWidth = scrollScreenWidth * scrollScreenWidth / scrollTotalWidth; |
| | | var scrollLeft = 0; |
| | | if (opts._scrollDistance_) { |
| | | scrollLeft = -opts._scrollDistance_ * scrollScreenWidth / scrollTotalWidth; |
| | | } |
| | | context.beginPath(); |
| | | context.setLineCap('round'); |
| | | context.setLineWidth(6 * opts.pix); |
| | | context.setStrokeStyle(opts.xAxis.scrollBackgroundColor || "#EFEBEF"); |
| | | context.moveTo(startX, scrollY); |
| | | context.lineTo(endX, scrollY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.setLineCap('round'); |
| | | context.setLineWidth(6 * opts.pix); |
| | | context.setStrokeStyle(opts.xAxis.scrollColor || "#A6A6A6"); |
| | | context.moveTo(startX + scrollLeft, scrollY); |
| | | context.lineTo(startX + scrollLeft + scrollWidth, scrollY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.setLineCap('butt'); |
| | | } |
| | | context.save(); |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | } |
| | | //绘制X轴刻度线 |
| | | if (opts.xAxis.calibration === true) { |
| | | context.setStrokeStyle(opts.xAxis.gridColor || "#cccccc"); |
| | | context.setLineCap('butt'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | xAxisPoints.forEach(function (item, index) { |
| | | if (index > 0) { |
| | | context.beginPath(); |
| | | context.moveTo(item - eachSpacing / 2, startY); |
| | | context.lineTo(item - eachSpacing / 2, startY + 3 * opts.pix); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | } |
| | | //绘制X轴网格 |
| | | if (opts.xAxis.disableGrid !== true) { |
| | | context.setStrokeStyle(opts.xAxis.gridColor || "#cccccc"); |
| | | context.setLineCap('butt'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | if (opts.xAxis.gridType == 'dash') { |
| | | context.setLineDash([opts.xAxis.dashLength * opts.pix, opts.xAxis.dashLength * opts.pix]); |
| | | } |
| | | opts.xAxis.gridEval = opts.xAxis.gridEval || 1; |
| | | xAxisPoints.forEach(function (item, index) { |
| | | if (index % opts.xAxis.gridEval == 0) { |
| | | context.beginPath(); |
| | | context.moveTo(item, startY); |
| | | context.lineTo(item, endY); |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | context.setLineDash([]); |
| | | } |
| | | //绘制X轴文案 |
| | | if (opts.xAxis.disabled !== true) { |
| | | // 对X轴列表做抽稀处理 |
| | | //默认全部显示X轴标签 |
| | | var maxXAxisListLength = categories.length; |
| | | //如果设置了X轴单屏数量 |
| | | if (opts.xAxis.labelCount) { |
| | | //如果设置X轴密度 |
| | | if (opts.xAxis.itemCount) { |
| | | maxXAxisListLength = Math.ceil(categories.length / opts.xAxis.itemCount * opts.xAxis.labelCount); |
| | | } else { |
| | | maxXAxisListLength = opts.xAxis.labelCount; |
| | | } |
| | | maxXAxisListLength -= 1; |
| | | } |
| | | |
| | | var ratio = Math.ceil(categories.length / maxXAxisListLength); |
| | | |
| | | var newCategories = []; |
| | | var cgLength = categories.length; |
| | | for (var i = 0; i < cgLength; i++) { |
| | | if (i % ratio !== 0) { |
| | | newCategories.push(""); |
| | | } else { |
| | | newCategories.push(categories[i]); |
| | | } |
| | | } |
| | | newCategories[cgLength - 1] = categories[cgLength - 1]; |
| | | var xAxisFontSize = opts.xAxis.fontSize * opts.pix || config.fontSize; |
| | | if (config._xAxisTextAngle_ === 0) { |
| | | newCategories.forEach(function (item, index) { |
| | | var xitem = opts.xAxis.formatter ? opts.xAxis.formatter(item) : item; |
| | | var offset = -measureText(String(xitem), xAxisFontSize, context) / 2; |
| | | if (boundaryGap == 'center') { |
| | | offset += eachSpacing / 2; |
| | | } |
| | | var scrollHeight = 0; |
| | | if (opts.xAxis.scrollShow) { |
| | | scrollHeight = 6 * opts.pix; |
| | | } |
| | | context.beginPath(); |
| | | context.setFontSize(xAxisFontSize); |
| | | context.setFillStyle(opts.xAxis.fontColor || opts.fontColor); |
| | | context.fillText(String(xitem), xAxisPoints[index] + offset, startY + xAxisFontSize + (config.xAxisHeight - scrollHeight - xAxisFontSize) / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | }); |
| | | } else { |
| | | newCategories.forEach(function (item, index) { |
| | | var xitem = opts.xAxis.formatter ? opts.xAxis.formatter(item) : item; |
| | | context.save(); |
| | | context.beginPath(); |
| | | context.setFontSize(xAxisFontSize); |
| | | context.setFillStyle(opts.xAxis.fontColor || opts.fontColor); |
| | | var textWidth = measureText(String(xitem), xAxisFontSize, context); |
| | | var offset = -textWidth; |
| | | if (boundaryGap == 'center') { |
| | | offset += eachSpacing / 2; |
| | | } |
| | | var _calRotateTranslate = calRotateTranslate(xAxisPoints[index] + eachSpacing / 2, startY + xAxisFontSize / 2 + 5, opts.height), |
| | | transX = _calRotateTranslate.transX, |
| | | transY = _calRotateTranslate.transY; |
| | | |
| | | context.rotate(-1 * config._xAxisTextAngle_); |
| | | context.translate(transX, transY); |
| | | context.fillText(String(xitem), xAxisPoints[index] + offset, startY + xAxisFontSize + 5); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.restore(); |
| | | }); |
| | | } |
| | | } |
| | | context.restore(); |
| | | //绘制X轴轴线 |
| | | if (opts.xAxis.axisLine) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(opts.xAxis.axisLineColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(startX, opts.height - opts.area[2]); |
| | | context.lineTo(endX, opts.height - opts.area[2]); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | |
| | | function drawYAxisGrid(categories, opts, config, context) { |
| | | if (opts.yAxis.disableGrid === true) { |
| | | return; |
| | | } |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | var eachSpacing = spacingValid / opts.yAxis.splitNumber; |
| | | var startX = opts.area[3]; |
| | | var xAxisPoints = opts.chartData.xAxisData.xAxisPoints, |
| | | xAxiseachSpacing = opts.chartData.xAxisData.eachSpacing; |
| | | var TotalWidth = xAxiseachSpacing * (xAxisPoints.length - 1); |
| | | var endX = startX + TotalWidth; |
| | | var points = []; |
| | | var startY = 1; |
| | | if (opts.xAxis.axisLine === false) { |
| | | startY = 0; |
| | | } |
| | | for (var i = startY; i < opts.yAxis.splitNumber + 1; i++) { |
| | | points.push(opts.height - opts.area[2] - eachSpacing * i); |
| | | } |
| | | context.save(); |
| | | if (opts._scrollDistance_ && opts._scrollDistance_ !== 0) { |
| | | context.translate(opts._scrollDistance_, 0); |
| | | } |
| | | if (opts.yAxis.gridType == 'dash') { |
| | | context.setLineDash([opts.yAxis.dashLength * opts.pix, opts.yAxis.dashLength * opts.pix]); |
| | | } |
| | | context.setStrokeStyle(opts.yAxis.gridColor); |
| | | context.setLineWidth(1 * opts.pix); |
| | | points.forEach(function (item, index) { |
| | | context.beginPath(); |
| | | context.moveTo(startX, item); |
| | | context.lineTo(endX, item); |
| | | context.stroke(); |
| | | }); |
| | | context.setLineDash([]); |
| | | context.restore(); |
| | | } |
| | | |
| | | function drawYAxis(series, opts, config, context) { |
| | | if (opts.yAxis.disabled === true) { |
| | | return; |
| | | } |
| | | var spacingValid = opts.height - opts.area[0] - opts.area[2]; |
| | | var eachSpacing = spacingValid / opts.yAxis.splitNumber; |
| | | var startX = opts.area[3]; |
| | | var endX = opts.width - opts.area[1]; |
| | | var endY = opts.height - opts.area[2]; |
| | | var fillEndY = endY + config.xAxisHeight; |
| | | if (opts.xAxis.scrollShow) { |
| | | fillEndY -= 3 * opts.pix; |
| | | } |
| | | if (opts.xAxis.rotateLabel) { |
| | | fillEndY = opts.height - opts.area[2] + opts.fontSize * opts.pix / 2; |
| | | } |
| | | // set YAxis background |
| | | context.beginPath(); |
| | | context.setFillStyle(opts.background); |
| | | if (opts.enableScroll == true && opts.xAxis.scrollPosition && opts.xAxis.scrollPosition !== 'left') { |
| | | context.fillRect(0, 0, startX, fillEndY); |
| | | } |
| | | if (opts.enableScroll == true && opts.xAxis.scrollPosition && opts.xAxis.scrollPosition !== 'right') { |
| | | context.fillRect(endX, 0, opts.width, fillEndY); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | |
| | | var tStartLeft = opts.area[3]; |
| | | var tStartRight = opts.width - opts.area[1]; |
| | | var tStartCenter = opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2; |
| | | if (opts.yAxis.data) {var _loop4 = function _loop4( |
| | | i) { |
| | | var yData = opts.yAxis.data[i]; |
| | | points = []; |
| | | if (yData.type === 'categories') { |
| | | for (var _i21 = 0; _i21 <= yData.categories.length; _i21++) { |
| | | points.push(opts.area[0] + spacingValid / yData.categories.length / 2 + spacingValid / yData.categories.length * _i21); |
| | | } |
| | | } else { |
| | | for (var _i22 = 0; _i22 <= opts.yAxis.splitNumber; _i22++) { |
| | | points.push(opts.area[0] + eachSpacing * _i22); |
| | | } |
| | | } |
| | | if (yData.disabled !== true) { |
| | | var rangesFormat = opts.chartData.yAxisData.rangesFormat[i]; |
| | | var yAxisFontSize = yData.fontSize ? yData.fontSize * opts.pix : config.fontSize; |
| | | var yAxisWidth = opts.chartData.yAxisData.yAxisWidth[i]; |
| | | var textAlign = yData.textAlign || "right"; |
| | | //画Y轴刻度及文案 |
| | | rangesFormat.forEach(function (item, index) { |
| | | var pos = points[index] ? points[index] : endY; |
| | | context.beginPath(); |
| | | context.setFontSize(yAxisFontSize); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(yData.axisLineColor || '#cccccc'); |
| | | context.setFillStyle(yData.fontColor || opts.fontColor); |
| | | var tmpstrat = 0; |
| | | var gapwidth = 4 * opts.pix; |
| | | if (yAxisWidth.position == 'left') { |
| | | //画刻度线 |
| | | if (yData.calibration == true) { |
| | | context.moveTo(tStartLeft, pos); |
| | | context.lineTo(tStartLeft - 3 * opts.pix, pos); |
| | | gapwidth += 3 * opts.pix; |
| | | } |
| | | //画文字 |
| | | switch (textAlign) { |
| | | case "left": |
| | | context.setTextAlign('left'); |
| | | tmpstrat = tStartLeft - yAxisWidth.width; |
| | | break; |
| | | case "right": |
| | | context.setTextAlign('right'); |
| | | tmpstrat = tStartLeft - gapwidth; |
| | | break; |
| | | default: |
| | | context.setTextAlign('center'); |
| | | tmpstrat = tStartLeft - yAxisWidth.width / 2;} |
| | | |
| | | context.fillText(String(item), tmpstrat, pos + yAxisFontSize / 2 - 3 * opts.pix); |
| | | |
| | | } else if (yAxisWidth.position == 'right') { |
| | | //画刻度线 |
| | | if (yData.calibration == true) { |
| | | context.moveTo(tStartRight, pos); |
| | | context.lineTo(tStartRight + 3 * opts.pix, pos); |
| | | gapwidth += 3 * opts.pix; |
| | | } |
| | | switch (textAlign) { |
| | | case "left": |
| | | context.setTextAlign('left'); |
| | | tmpstrat = tStartRight + gapwidth; |
| | | break; |
| | | case "right": |
| | | context.setTextAlign('right'); |
| | | tmpstrat = tStartRight + yAxisWidth.width; |
| | | break; |
| | | default: |
| | | context.setTextAlign('center'); |
| | | tmpstrat = tStartRight + yAxisWidth.width / 2;} |
| | | |
| | | context.fillText(String(item), tmpstrat, pos + yAxisFontSize / 2 - 3 * opts.pix); |
| | | } else if (yAxisWidth.position == 'center') { |
| | | //画刻度线 |
| | | if (yData.calibration == true) { |
| | | context.moveTo(tStartCenter, pos); |
| | | context.lineTo(tStartCenter - 3 * opts.pix, pos); |
| | | gapwidth += 3 * opts.pix; |
| | | } |
| | | //画文字 |
| | | switch (textAlign) { |
| | | case "left": |
| | | context.setTextAlign('left'); |
| | | tmpstrat = tStartCenter - yAxisWidth.width; |
| | | break; |
| | | case "right": |
| | | context.setTextAlign('right'); |
| | | tmpstrat = tStartCenter - gapwidth; |
| | | break; |
| | | default: |
| | | context.setTextAlign('center'); |
| | | tmpstrat = tStartCenter - yAxisWidth.width / 2;} |
| | | |
| | | context.fillText(String(item), tmpstrat, pos + yAxisFontSize / 2 - 3 * opts.pix); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.setTextAlign('left'); |
| | | }); |
| | | //画Y轴轴线 |
| | | if (yData.axisLine !== false) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(yData.axisLineColor || '#cccccc'); |
| | | context.setLineWidth(1 * opts.pix); |
| | | if (yAxisWidth.position == 'left') { |
| | | context.moveTo(tStartLeft, opts.height - opts.area[2]); |
| | | context.lineTo(tStartLeft, opts.area[0]); |
| | | } else if (yAxisWidth.position == 'right') { |
| | | context.moveTo(tStartRight, opts.height - opts.area[2]); |
| | | context.lineTo(tStartRight, opts.area[0]); |
| | | } else if (yAxisWidth.position == 'center') { |
| | | context.moveTo(tStartCenter, opts.height - opts.area[2]); |
| | | context.lineTo(tStartCenter, opts.area[0]); |
| | | } |
| | | context.stroke(); |
| | | } |
| | | //画Y轴标题 |
| | | if (opts.yAxis.showTitle) { |
| | | var titleFontSize = yData.titleFontSize * opts.pix || config.fontSize; |
| | | var title = yData.title; |
| | | context.beginPath(); |
| | | context.setFontSize(titleFontSize); |
| | | context.setFillStyle(yData.titleFontColor || opts.fontColor); |
| | | if (yAxisWidth.position == 'left') { |
| | | context.fillText(title, tStartLeft - measureText(title, titleFontSize, context) / 2 + (yData.titleOffsetX || 0), opts.area[0] - (10 - (yData.titleOffsetY || 0)) * opts.pix); |
| | | } else if (yAxisWidth.position == 'right') { |
| | | context.fillText(title, tStartRight - measureText(title, titleFontSize, context) / 2 + (yData.titleOffsetX || 0), opts.area[0] - (10 - (yData.titleOffsetY || 0)) * opts.pix); |
| | | } else if (yAxisWidth.position == 'center') { |
| | | context.fillText(title, tStartCenter - measureText(title, titleFontSize, context) / 2 + (yData.titleOffsetX || 0), opts.area[0] - (10 - (yData.titleOffsetY || 0)) * opts.pix); |
| | | } |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | if (yAxisWidth.position == 'left') { |
| | | tStartLeft -= yAxisWidth.width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | tStartRight += yAxisWidth.width + opts.yAxis.padding * opts.pix; |
| | | } |
| | | }};for (var i = 0; i < opts.yAxis.data.length; i++) {var points;_loop4(i); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | function drawLegend(series, opts, config, context, chartData) { |
| | | if (opts.legend.show === false) { |
| | | return; |
| | | } |
| | | var legendData = chartData.legendData; |
| | | var legendList = legendData.points; |
| | | var legendArea = legendData.area; |
| | | var padding = opts.legend.padding * opts.pix; |
| | | var fontSize = opts.legend.fontSize * opts.pix; |
| | | var shapeWidth = 15 * opts.pix; |
| | | var shapeRight = 5 * opts.pix; |
| | | var itemGap = opts.legend.itemGap * opts.pix; |
| | | var lineHeight = Math.max(opts.legend.lineHeight * opts.pix, fontSize); |
| | | //画背景及边框 |
| | | context.beginPath(); |
| | | context.setLineWidth(opts.legend.borderWidth * opts.pix); |
| | | context.setStrokeStyle(opts.legend.borderColor); |
| | | context.setFillStyle(opts.legend.backgroundColor); |
| | | context.moveTo(legendArea.start.x, legendArea.start.y); |
| | | context.rect(legendArea.start.x, legendArea.start.y, legendArea.width, legendArea.height); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | legendList.forEach(function (itemList, listIndex) { |
| | | var width = 0; |
| | | var height = 0; |
| | | width = legendData.widthArr[listIndex]; |
| | | height = legendData.heightArr[listIndex]; |
| | | var startX = 0; |
| | | var startY = 0; |
| | | if (opts.legend.position == 'top' || opts.legend.position == 'bottom') { |
| | | switch (opts.legend.float) { |
| | | case 'left': |
| | | startX = legendArea.start.x + padding; |
| | | break; |
| | | case 'right': |
| | | startX = legendArea.start.x + legendArea.width - width; |
| | | break; |
| | | default: |
| | | startX = legendArea.start.x + (legendArea.width - width) / 2;} |
| | | |
| | | startY = legendArea.start.y + padding + listIndex * lineHeight; |
| | | } else { |
| | | if (listIndex == 0) { |
| | | width = 0; |
| | | } else { |
| | | width = legendData.widthArr[listIndex - 1]; |
| | | } |
| | | startX = legendArea.start.x + padding + width; |
| | | startY = legendArea.start.y + padding + (legendArea.height - height) / 2; |
| | | } |
| | | context.setFontSize(config.fontSize); |
| | | for (var i = 0; i < itemList.length; i++) { |
| | | var item = itemList[i]; |
| | | item.area = [0, 0, 0, 0]; |
| | | item.area[0] = startX; |
| | | item.area[1] = startY; |
| | | item.area[3] = startY + lineHeight; |
| | | context.beginPath(); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(item.show ? item.color : opts.legend.hiddenColor); |
| | | context.setFillStyle(item.show ? item.color : opts.legend.hiddenColor); |
| | | switch (item.legendShape) { |
| | | case 'line': |
| | | context.moveTo(startX, startY + 0.5 * lineHeight - 2 * opts.pix); |
| | | context.fillRect(startX, startY + 0.5 * lineHeight - 2 * opts.pix, 15 * opts.pix, 4 * opts.pix); |
| | | break; |
| | | case 'triangle': |
| | | context.moveTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.lineTo(startX + 2.5 * opts.pix, startY + 0.5 * lineHeight + 5 * opts.pix); |
| | | context.lineTo(startX + 12.5 * opts.pix, startY + 0.5 * lineHeight + 5 * opts.pix); |
| | | context.lineTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | break; |
| | | case 'diamond': |
| | | context.moveTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.lineTo(startX + 2.5 * opts.pix, startY + 0.5 * lineHeight); |
| | | context.lineTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight + 5 * opts.pix); |
| | | context.lineTo(startX + 12.5 * opts.pix, startY + 0.5 * lineHeight); |
| | | context.lineTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | break; |
| | | case 'circle': |
| | | context.moveTo(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight); |
| | | context.arc(startX + 7.5 * opts.pix, startY + 0.5 * lineHeight, 5 * opts.pix, 0, 2 * Math.PI); |
| | | break; |
| | | case 'rect': |
| | | context.moveTo(startX, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.fillRect(startX, startY + 0.5 * lineHeight - 5 * opts.pix, 15 * opts.pix, 10 * opts.pix); |
| | | break; |
| | | case 'square': |
| | | context.moveTo(startX + 5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.fillRect(startX + 5 * opts.pix, startY + 0.5 * lineHeight - 5 * opts.pix, 10 * opts.pix, 10 * opts.pix); |
| | | break; |
| | | case 'none': |
| | | break; |
| | | default: |
| | | context.moveTo(startX, startY + 0.5 * lineHeight - 5 * opts.pix); |
| | | context.fillRect(startX, startY + 0.5 * lineHeight - 5 * opts.pix, 15 * opts.pix, 10 * opts.pix);} |
| | | |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.stroke(); |
| | | startX += shapeWidth + shapeRight; |
| | | var fontTrans = 0.5 * lineHeight + 0.5 * fontSize - 2; |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(item.show ? opts.legend.fontColor : opts.legend.hiddenColor); |
| | | context.fillText(item.name, startX, startY + fontTrans); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | if (opts.legend.position == 'top' || opts.legend.position == 'bottom') { |
| | | startX += measureText(item.name, fontSize, context) + itemGap; |
| | | item.area[2] = startX; |
| | | } else { |
| | | item.area[2] = startX + measureText(item.name, fontSize, context) + itemGap;; |
| | | startX -= shapeWidth + shapeRight; |
| | | startY += lineHeight; |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function drawPieDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var pieOption = assign({}, { |
| | | activeOpacity: 0.5, |
| | | activeRadius: 10, |
| | | offsetAngle: 0, |
| | | labelWidth: 15, |
| | | ringWidth: 30, |
| | | customRadius: 0, |
| | | border: false, |
| | | borderWidth: 2, |
| | | borderColor: '#FFFFFF', |
| | | centerColor: '#FFFFFF', |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.type == "pie" ? opts.extra.pie : opts.extra.ring); |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2 }; |
| | | |
| | | if (config.pieChartLinePadding == 0) { |
| | | config.pieChartLinePadding = pieOption.activeRadius * opts.pix; |
| | | } |
| | | |
| | | var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding - config._pieTextMaxLength_, (opts.height - opts.area[0] - opts.area[2]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding); |
| | | if (pieOption.customRadius > 0) { |
| | | radius = pieOption.customRadius * opts.pix; |
| | | } |
| | | series = getPieDataPoints(series, radius, process); |
| | | var activeRadius = pieOption.activeRadius * opts.pix; |
| | | pieOption.customColor = fillCustomColor(pieOption.linearType, pieOption.customColor, series, config); |
| | | series = series.map(function (eachSeries) { |
| | | eachSeries._start_ += pieOption.offsetAngle * Math.PI / 180; |
| | | return eachSeries; |
| | | }); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == seriesIndex) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, pieOption.activeOpacity || 0.5)); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_ + activeRadius, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | context.beginPath(); |
| | | context.setLineWidth(pieOption.borderWidth * opts.pix); |
| | | context.lineJoin = "round"; |
| | | context.setStrokeStyle(pieOption.borderColor); |
| | | var fillcolor = eachSeries.color; |
| | | if (pieOption.linearType == 'custom') { |
| | | var grd; |
| | | if (context.createCircularGradient) { |
| | | grd = context.createCircularGradient(centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } else { |
| | | grd = context.createRadialGradient(centerPosition.x, centerPosition.y, 0, centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } |
| | | grd.addColorStop(0, hexToRgb(pieOption.customColor[eachSeries.linearIndex], 1)); |
| | | grd.addColorStop(1, hexToRgb(eachSeries.color, 1)); |
| | | fillcolor = grd; |
| | | } |
| | | context.setFillStyle(fillcolor); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (pieOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | if (opts.type === 'ring') { |
| | | var innerPieWidth = radius * 0.6; |
| | | if (typeof pieOption.ringWidth === 'number' && pieOption.ringWidth > 0) { |
| | | innerPieWidth = Math.max(0, radius - pieOption.ringWidth * opts.pix); |
| | | } |
| | | context.beginPath(); |
| | | context.setFillStyle(pieOption.centerColor); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, innerPieWidth, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | var valid = false; |
| | | for (var i = 0, len = series.length; i < len; i++) { |
| | | if (series[i].data > 0) { |
| | | valid = true; |
| | | break; |
| | | } |
| | | } |
| | | if (valid) { |
| | | drawPieText(series, opts, config, context, radius, centerPosition); |
| | | } |
| | | } |
| | | if (process === 1 && opts.type === 'ring') { |
| | | drawRingTitle(opts, config, context, centerPosition); |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: series }; |
| | | |
| | | } |
| | | |
| | | function drawRoseDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var roseOption = assign({}, { |
| | | type: 'area', |
| | | activeOpacity: 0.5, |
| | | activeRadius: 10, |
| | | offsetAngle: 0, |
| | | labelWidth: 15, |
| | | border: false, |
| | | borderWidth: 2, |
| | | borderColor: '#FFFFFF', |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.extra.rose); |
| | | if (config.pieChartLinePadding == 0) { |
| | | config.pieChartLinePadding = roseOption.activeRadius * opts.pix; |
| | | } |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2 }; |
| | | |
| | | var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding - config._pieTextMaxLength_, (opts.height - opts.area[0] - opts.area[2]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding); |
| | | var minRadius = roseOption.minRadius || radius * 0.5; |
| | | series = getRoseDataPoints(series, roseOption.type, minRadius, radius, process); |
| | | var activeRadius = roseOption.activeRadius * opts.pix; |
| | | roseOption.customColor = fillCustomColor(roseOption.linearType, roseOption.customColor, series, config); |
| | | series = series.map(function (eachSeries) { |
| | | eachSeries._start_ += (roseOption.offsetAngle || 0) * Math.PI / 180; |
| | | return eachSeries; |
| | | }); |
| | | series.forEach(function (eachSeries, seriesIndex) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == seriesIndex) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, roseOption.activeOpacity || 0.5)); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, activeRadius + eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._rose_proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | context.beginPath(); |
| | | context.setLineWidth(roseOption.borderWidth * opts.pix); |
| | | context.lineJoin = "round"; |
| | | context.setStrokeStyle(roseOption.borderColor); |
| | | var fillcolor = eachSeries.color; |
| | | if (roseOption.linearType == 'custom') { |
| | | var grd; |
| | | if (context.createCircularGradient) { |
| | | grd = context.createCircularGradient(centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } else { |
| | | grd = context.createRadialGradient(centerPosition.x, centerPosition.y, 0, centerPosition.x, centerPosition.y, eachSeries._radius_); |
| | | } |
| | | grd.addColorStop(0, hexToRgb(roseOption.customColor[eachSeries.linearIndex], 1)); |
| | | grd.addColorStop(1, hexToRgb(eachSeries.color, 1)); |
| | | fillcolor = grd; |
| | | } |
| | | context.setFillStyle(fillcolor); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._rose_proportion_ * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (roseOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | }); |
| | | |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | var valid = false; |
| | | for (var i = 0, len = series.length; i < len; i++) { |
| | | if (series[i].data > 0) { |
| | | valid = true; |
| | | break; |
| | | } |
| | | } |
| | | if (valid) { |
| | | drawPieText(series, opts, config, context, radius, centerPosition); |
| | | } |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: series }; |
| | | |
| | | } |
| | | |
| | | function drawArcbarDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var arcbarOption = assign({}, { |
| | | startAngle: 0.75, |
| | | endAngle: 0.25, |
| | | type: 'default', |
| | | width: 12, |
| | | gap: 2, |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.extra.arcbar); |
| | | series = getArcbarDataPoints(series, arcbarOption, process); |
| | | var centerPosition; |
| | | if (arcbarOption.centerX || arcbarOption.centerY) { |
| | | centerPosition = { |
| | | x: arcbarOption.centerX ? arcbarOption.centerX : opts.width / 2, |
| | | y: arcbarOption.centerY ? arcbarOption.centerY : opts.height / 2 }; |
| | | |
| | | } else { |
| | | centerPosition = { |
| | | x: opts.width / 2, |
| | | y: opts.height / 2 }; |
| | | |
| | | } |
| | | var radius; |
| | | if (arcbarOption.radius) { |
| | | radius = arcbarOption.radius; |
| | | } else { |
| | | radius = Math.min(centerPosition.x, centerPosition.y); |
| | | radius -= 5 * opts.pix; |
| | | radius -= arcbarOption.width / 2; |
| | | } |
| | | arcbarOption.customColor = fillCustomColor(arcbarOption.linearType, arcbarOption.customColor, series, config); |
| | | |
| | | for (var i = 0; i < series.length; i++) { |
| | | var eachSeries = series[i]; |
| | | //背景颜色 |
| | | context.setLineWidth(arcbarOption.width * opts.pix); |
| | | context.setStrokeStyle(arcbarOption.backgroundColor || '#E9E9E9'); |
| | | context.setLineCap('round'); |
| | | context.beginPath(); |
| | | if (arcbarOption.type == 'default') { |
| | | context.arc(centerPosition.x, centerPosition.y, radius - (arcbarOption.width * opts.pix + arcbarOption.gap * opts.pix) * i, arcbarOption.startAngle * Math.PI, arcbarOption.endAngle * Math.PI, false); |
| | | } else { |
| | | context.arc(centerPosition.x, centerPosition.y, radius - (arcbarOption.width * opts.pix + arcbarOption.gap * opts.pix) * i, 0, 2 * Math.PI, false); |
| | | } |
| | | context.stroke(); |
| | | //进度条 |
| | | var fillColor = eachSeries.color; |
| | | if (arcbarOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(centerPosition.x - radius, centerPosition.y, centerPosition.x + radius, centerPosition.y); |
| | | grd.addColorStop(1, hexToRgb(arcbarOption.customColor[eachSeries.linearIndex], 1)); |
| | | grd.addColorStop(0, hexToRgb(eachSeries.color, 1)); |
| | | fillColor = grd; |
| | | } |
| | | context.setLineWidth(arcbarOption.width * opts.pix); |
| | | context.setStrokeStyle(fillColor); |
| | | context.setLineCap('round'); |
| | | context.beginPath(); |
| | | context.arc(centerPosition.x, centerPosition.y, radius - (arcbarOption.width * opts.pix + arcbarOption.gap * opts.pix) * i, arcbarOption.startAngle * Math.PI, eachSeries._proportion_ * Math.PI, false); |
| | | context.stroke(); |
| | | } |
| | | drawRingTitle(opts, config, context, centerPosition); |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: series }; |
| | | |
| | | } |
| | | |
| | | function drawGaugeDataPoints(categories, series, opts, config, context) { |
| | | var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1; |
| | | var gaugeOption = assign({}, { |
| | | type: 'default', |
| | | startAngle: 0.75, |
| | | endAngle: 0.25, |
| | | width: 15, |
| | | labelOffset: 13, |
| | | splitLine: { |
| | | fixRadius: 0, |
| | | splitNumber: 10, |
| | | width: 15, |
| | | color: '#FFFFFF', |
| | | childNumber: 5, |
| | | childWidth: 5 }, |
| | | |
| | | pointer: { |
| | | width: 15, |
| | | color: 'auto' } }, |
| | | |
| | | opts.extra.gauge); |
| | | if (gaugeOption.oldAngle == undefined) { |
| | | gaugeOption.oldAngle = gaugeOption.startAngle; |
| | | } |
| | | if (gaugeOption.oldData == undefined) { |
| | | gaugeOption.oldData = 0; |
| | | } |
| | | categories = getGaugeAxisPoints(categories, gaugeOption.startAngle, gaugeOption.endAngle); |
| | | var centerPosition = { |
| | | x: opts.width / 2, |
| | | y: opts.height / 2 }; |
| | | |
| | | var radius = Math.min(centerPosition.x, centerPosition.y); |
| | | radius -= 5 * opts.pix; |
| | | radius -= gaugeOption.width / 2; |
| | | var innerRadius = radius - gaugeOption.width; |
| | | var totalAngle = 0; |
| | | //判断仪表盘的样式:default百度样式,progress新样式 |
| | | if (gaugeOption.type == 'progress') { |
| | | //## 第一步画中心圆形背景和进度条背景 |
| | | //中心圆形背景 |
| | | var pieRadius = radius - gaugeOption.width * 3; |
| | | context.beginPath(); |
| | | var gradient = context.createLinearGradient(centerPosition.x, centerPosition.y - pieRadius, centerPosition.x, centerPosition.y + pieRadius); |
| | | //配置渐变填充(起点:中心点向上减半径;结束点中心点向下加半径) |
| | | gradient.addColorStop('0', hexToRgb(series[0].color, 0.3)); |
| | | gradient.addColorStop('1.0', hexToRgb("#FFFFFF", 0.1)); |
| | | context.setFillStyle(gradient); |
| | | context.arc(centerPosition.x, centerPosition.y, pieRadius, 0, 2 * Math.PI, false); |
| | | context.fill(); |
| | | //画进度条背景 |
| | | context.setLineWidth(gaugeOption.width); |
| | | context.setStrokeStyle(hexToRgb(series[0].color, 0.3)); |
| | | context.setLineCap('round'); |
| | | context.beginPath(); |
| | | context.arc(centerPosition.x, centerPosition.y, innerRadius, gaugeOption.startAngle * Math.PI, gaugeOption.endAngle * Math.PI, false); |
| | | context.stroke(); |
| | | //## 第二步画刻度线 |
| | | totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | var splitAngle = totalAngle / gaugeOption.splitLine.splitNumber; |
| | | var childAngle = totalAngle / gaugeOption.splitLine.splitNumber / gaugeOption.splitLine.childNumber; |
| | | var startX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius; |
| | | var endX = -radius - gaugeOption.width - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.width; |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((gaugeOption.startAngle - 1) * Math.PI); |
| | | var len = gaugeOption.splitLine.splitNumber * gaugeOption.splitLine.childNumber + 1; |
| | | var proc = series[0].data * process; |
| | | for (var i = 0; i < len; i++) { |
| | | context.beginPath(); |
| | | //刻度线随进度变色 |
| | | if (proc > i / len) { |
| | | context.setStrokeStyle(hexToRgb(series[0].color, 1)); |
| | | } else { |
| | | context.setStrokeStyle(hexToRgb(series[0].color, 0.3)); |
| | | } |
| | | context.setLineWidth(3 * opts.pix); |
| | | context.moveTo(startX, 0); |
| | | context.lineTo(endX, 0); |
| | | context.stroke(); |
| | | context.rotate(childAngle * Math.PI); |
| | | } |
| | | context.restore(); |
| | | //## 第三步画进度条 |
| | | series = getArcbarDataPoints(series, gaugeOption, process); |
| | | context.setLineWidth(gaugeOption.width); |
| | | context.setStrokeStyle(series[0].color); |
| | | context.setLineCap('round'); |
| | | context.beginPath(); |
| | | context.arc(centerPosition.x, centerPosition.y, innerRadius, gaugeOption.startAngle * Math.PI, series[0]._proportion_ * Math.PI, false); |
| | | context.stroke(); |
| | | //## 第四步画指针 |
| | | var pointerRadius = radius - gaugeOption.width * 2.5; |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((series[0]._proportion_ - 1) * Math.PI); |
| | | context.beginPath(); |
| | | context.setLineWidth(gaugeOption.width / 3); |
| | | var gradient3 = context.createLinearGradient(0, -pointerRadius * 0.6, 0, pointerRadius * 0.6); |
| | | gradient3.addColorStop('0', hexToRgb('#FFFFFF', 0)); |
| | | gradient3.addColorStop('0.5', hexToRgb(series[0].color, 1)); |
| | | gradient3.addColorStop('1.0', hexToRgb('#FFFFFF', 0)); |
| | | context.setStrokeStyle(gradient3); |
| | | context.arc(0, 0, pointerRadius, 0.85 * Math.PI, 1.15 * Math.PI, false); |
| | | context.stroke(); |
| | | context.beginPath(); |
| | | context.setLineWidth(1); |
| | | context.setStrokeStyle(series[0].color); |
| | | context.setFillStyle(series[0].color); |
| | | context.moveTo(-pointerRadius - gaugeOption.width / 3 / 2, -4); |
| | | context.lineTo(-pointerRadius - gaugeOption.width / 3 / 2 - 4, 0); |
| | | context.lineTo(-pointerRadius - gaugeOption.width / 3 / 2, 4); |
| | | context.lineTo(-pointerRadius - gaugeOption.width / 3 / 2, -4); |
| | | context.stroke(); |
| | | context.fill(); |
| | | context.restore(); |
| | | //default百度样式 |
| | | } else { |
| | | //画背景 |
| | | context.setLineWidth(gaugeOption.width); |
| | | context.setLineCap('butt'); |
| | | for (var _i23 = 0; _i23 < categories.length; _i23++) { |
| | | var eachCategories = categories[_i23]; |
| | | context.beginPath(); |
| | | context.setStrokeStyle(eachCategories.color); |
| | | context.arc(centerPosition.x, centerPosition.y, radius, eachCategories._startAngle_ * Math.PI, eachCategories._endAngle_ * Math.PI, false); |
| | | context.stroke(); |
| | | } |
| | | context.save(); |
| | | //画刻度线 |
| | | totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1; |
| | | var _splitAngle = totalAngle / gaugeOption.splitLine.splitNumber; |
| | | var _childAngle = totalAngle / gaugeOption.splitLine.splitNumber / gaugeOption.splitLine.childNumber; |
| | | var _startX2 = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius; |
| | | var _endX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.width; |
| | | var childendX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.childWidth; |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((gaugeOption.startAngle - 1) * Math.PI); |
| | | for (var _i24 = 0; _i24 < gaugeOption.splitLine.splitNumber + 1; _i24++) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(gaugeOption.splitLine.color); |
| | | context.setLineWidth(2 * opts.pix); |
| | | context.moveTo(_startX2, 0); |
| | | context.lineTo(_endX, 0); |
| | | context.stroke(); |
| | | context.rotate(_splitAngle * Math.PI); |
| | | } |
| | | context.restore(); |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((gaugeOption.startAngle - 1) * Math.PI); |
| | | for (var _i25 = 0; _i25 < gaugeOption.splitLine.splitNumber * gaugeOption.splitLine.childNumber + 1; _i25++) { |
| | | context.beginPath(); |
| | | context.setStrokeStyle(gaugeOption.splitLine.color); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.moveTo(_startX2, 0); |
| | | context.lineTo(childendX, 0); |
| | | context.stroke(); |
| | | context.rotate(_childAngle * Math.PI); |
| | | } |
| | | context.restore(); |
| | | //画指针 |
| | | series = getGaugeDataPoints(series, categories, gaugeOption, process); |
| | | for (var _i26 = 0; _i26 < series.length; _i26++) { |
| | | var eachSeries = series[_i26]; |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | context.rotate((eachSeries._proportion_ - 1) * Math.PI); |
| | | context.beginPath(); |
| | | context.setFillStyle(eachSeries.color); |
| | | context.moveTo(gaugeOption.pointer.width, 0); |
| | | context.lineTo(0, -gaugeOption.pointer.width / 2); |
| | | context.lineTo(-innerRadius, 0); |
| | | context.lineTo(0, gaugeOption.pointer.width / 2); |
| | | context.lineTo(gaugeOption.pointer.width, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFillStyle('#FFFFFF'); |
| | | context.arc(0, 0, gaugeOption.pointer.width / 6, 0, 2 * Math.PI, false); |
| | | context.fill(); |
| | | context.restore(); |
| | | } |
| | | if (opts.dataLabel !== false) { |
| | | drawGaugeLabel(gaugeOption, radius, centerPosition, opts, config, context); |
| | | } |
| | | } |
| | | //画仪表盘标题,副标题 |
| | | drawRingTitle(opts, config, context, centerPosition); |
| | | if (process === 1 && opts.type === 'gauge') { |
| | | opts.extra.gauge.oldAngle = series[0]._proportion_; |
| | | opts.extra.gauge.oldData = series[0].data; |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | innerRadius: innerRadius, |
| | | categories: categories, |
| | | totalAngle: totalAngle }; |
| | | |
| | | } |
| | | |
| | | function drawRadarDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var radarOption = assign({}, { |
| | | gridColor: '#cccccc', |
| | | gridType: 'radar', |
| | | opacity: 0.2, |
| | | gridCount: 3, |
| | | border: false, |
| | | borderWidth: 2 }, |
| | | opts.extra.radar); |
| | | var coordinateAngle = getRadarCoordinateSeries(opts.categories.length); |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2 }; |
| | | |
| | | var xr = (opts.width - opts.area[1] - opts.area[3]) / 2; |
| | | var yr = (opts.height - opts.area[0] - opts.area[2]) / 2; |
| | | var radius = Math.min(xr - (getMaxTextListLength(opts.categories, config.fontSize, context) + config.radarLabelTextMargin), yr - config.radarLabelTextMargin); |
| | | radius -= config.radarLabelTextMargin * opts.pix; |
| | | // 画分割线 |
| | | context.beginPath(); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(radarOption.gridColor); |
| | | coordinateAngle.forEach(function (angle) { |
| | | var pos = convertCoordinateOrigin(radius * Math.cos(angle), radius * Math.sin(angle), centerPosition); |
| | | context.moveTo(centerPosition.x, centerPosition.y); |
| | | context.lineTo(pos.x, pos.y); |
| | | }); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | |
| | | // 画背景网格 |
| | | var _loop = function _loop(i) { |
| | | var startPos = {}; |
| | | context.beginPath(); |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(radarOption.gridColor); |
| | | if (radarOption.gridType == 'radar') { |
| | | coordinateAngle.forEach(function (angle, index) { |
| | | var pos = convertCoordinateOrigin(radius / radarOption.gridCount * i * Math.cos(angle), radius / |
| | | radarOption.gridCount * i * Math.sin(angle), centerPosition); |
| | | if (index === 0) { |
| | | startPos = pos; |
| | | context.moveTo(pos.x, pos.y); |
| | | } else { |
| | | context.lineTo(pos.x, pos.y); |
| | | } |
| | | }); |
| | | context.lineTo(startPos.x, startPos.y); |
| | | } else { |
| | | var pos = convertCoordinateOrigin(radius / radarOption.gridCount * i * Math.cos(1.5), radius / radarOption.gridCount * i * Math.sin(1.5), centerPosition); |
| | | context.arc(centerPosition.x, centerPosition.y, centerPosition.y - pos.y, 0, 2 * Math.PI, false); |
| | | } |
| | | context.stroke(); |
| | | context.closePath(); |
| | | }; |
| | | for (var i = 1; i <= radarOption.gridCount; i++) { |
| | | _loop(i); |
| | | } |
| | | var radarDataPoints = getRadarDataPoints(coordinateAngle, centerPosition, radius, series, opts, process); |
| | | radarDataPoints.forEach(function (eachSeries, seriesIndex) { |
| | | // 绘制区域数据 |
| | | context.beginPath(); |
| | | context.setLineWidth(radarOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(eachSeries.color); |
| | | context.setFillStyle(hexToRgb(eachSeries.color, radarOption.opacity)); |
| | | eachSeries.data.forEach(function (item, index) { |
| | | if (index === 0) { |
| | | context.moveTo(item.position.x, item.position.y); |
| | | } else { |
| | | context.lineTo(item.position.x, item.position.y); |
| | | } |
| | | }); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (radarOption.border === true) { |
| | | context.stroke(); |
| | | } |
| | | context.closePath(); |
| | | if (opts.dataPointShape !== false) { |
| | | var points = eachSeries.data.map(function (item) { |
| | | return item.position; |
| | | }); |
| | | drawPointShape(points, eachSeries.color, eachSeries.pointShape, context, opts); |
| | | } |
| | | }); |
| | | // draw label text |
| | | drawRadarLabel(coordinateAngle, radius, centerPosition, opts, config, context); |
| | | |
| | | // draw dataLabel |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | radarDataPoints.forEach(function (eachSeries, seriesIndex) { |
| | | context.beginPath(); |
| | | var fontSize = eachSeries.textSize * opts.pix || config.fontSize; |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(eachSeries.textColor || opts.fontColor); |
| | | eachSeries.data.forEach(function (item, index) { |
| | | //如果是中心点垂直的上下点位 |
| | | if (Math.abs(item.position.x - centerPosition.x) < 2) { |
| | | //如果在上面 |
| | | if (item.position.y < centerPosition.y) { |
| | | context.setTextAlign('center'); |
| | | context.fillText(item.value, item.position.x, item.position.y - 4); |
| | | } else { |
| | | context.setTextAlign('center'); |
| | | context.fillText(item.value, item.position.x, item.position.y + fontSize + 2); |
| | | } |
| | | } else { |
| | | //如果在左侧 |
| | | if (item.position.x < centerPosition.x) { |
| | | context.setTextAlign('right'); |
| | | context.fillText(item.value, item.position.x - 4, item.position.y + fontSize / 2 - 2); |
| | | } else { |
| | | context.setTextAlign('left'); |
| | | context.fillText(item.value, item.position.x + 4, item.position.y + fontSize / 2 - 2); |
| | | } |
| | | } |
| | | }); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | }); |
| | | context.setTextAlign('left'); |
| | | } |
| | | |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | angleList: coordinateAngle }; |
| | | |
| | | } |
| | | |
| | | function normalInt(min, max, iter) { |
| | | iter = iter == 0 ? 1 : iter; |
| | | var arr = []; |
| | | for (var i = 0; i < iter; i++) { |
| | | arr[i] = Math.random(); |
| | | }; |
| | | return Math.floor(arr.reduce(function (i, j) { |
| | | return i + j; |
| | | }) / iter * (max - min)) + min; |
| | | }; |
| | | |
| | | function collisionNew(area, points, width, height) { |
| | | var isIn = false; |
| | | for (var i = 0; i < points.length; i++) { |
| | | if (points[i].area) { |
| | | if (area[3] < points[i].area[1] || area[0] > points[i].area[2] || area[1] > points[i].area[3] || area[2] < points[i].area[0]) { |
| | | if (area[0] < 0 || area[1] < 0 || area[2] > width || area[3] > height) { |
| | | isIn = true; |
| | | break; |
| | | } else { |
| | | isIn = false; |
| | | } |
| | | } else { |
| | | isIn = true; |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | return isIn; |
| | | }; |
| | | |
| | | function getBoundingBox(data) { |
| | | var bounds = {},coords; |
| | | bounds.xMin = 180; |
| | | bounds.xMax = 0; |
| | | bounds.yMin = 90; |
| | | bounds.yMax = 0; |
| | | for (var i = 0; i < data.length; i++) { |
| | | var coorda = data[i].geometry.coordinates; |
| | | for (var k = 0; k < coorda.length; k++) { |
| | | coords = coorda[k]; |
| | | if (coords.length == 1) { |
| | | coords = coords[0]; |
| | | } |
| | | for (var j = 0; j < coords.length; j++) { |
| | | var longitude = coords[j][0]; |
| | | var latitude = coords[j][1]; |
| | | var point = { |
| | | x: longitude, |
| | | y: latitude }; |
| | | |
| | | bounds.xMin = bounds.xMin < point.x ? bounds.xMin : point.x; |
| | | bounds.xMax = bounds.xMax > point.x ? bounds.xMax : point.x; |
| | | bounds.yMin = bounds.yMin < point.y ? bounds.yMin : point.y; |
| | | bounds.yMax = bounds.yMax > point.y ? bounds.yMax : point.y; |
| | | } |
| | | } |
| | | } |
| | | return bounds; |
| | | } |
| | | |
| | | function coordinateToPoint(latitude, longitude, bounds, scale, xoffset, yoffset) { |
| | | return { |
| | | x: (longitude - bounds.xMin) * scale + xoffset, |
| | | y: (bounds.yMax - latitude) * scale + yoffset }; |
| | | |
| | | } |
| | | |
| | | function pointToCoordinate(pointY, pointX, bounds, scale, xoffset, yoffset) { |
| | | return { |
| | | x: (pointX - xoffset) / scale + bounds.xMin, |
| | | y: bounds.yMax - (pointY - yoffset) / scale }; |
| | | |
| | | } |
| | | |
| | | function isRayIntersectsSegment(poi, s_poi, e_poi) { |
| | | if (s_poi[1] == e_poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[1] > poi[1] && e_poi[1] > poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[1] < poi[1] && e_poi[1] < poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[1] == poi[1] && e_poi[1] > poi[1]) { |
| | | return false; |
| | | } |
| | | if (e_poi[1] == poi[1] && s_poi[1] > poi[1]) { |
| | | return false; |
| | | } |
| | | if (s_poi[0] < poi[0] && e_poi[1] < poi[1]) { |
| | | return false; |
| | | } |
| | | var xseg = e_poi[0] - (e_poi[0] - s_poi[0]) * (e_poi[1] - poi[1]) / (e_poi[1] - s_poi[1]); |
| | | if (xseg < poi[0]) { |
| | | return false; |
| | | } else { |
| | | return true; |
| | | } |
| | | } |
| | | |
| | | function isPoiWithinPoly(poi, poly, mercator) { |
| | | var sinsc = 0; |
| | | for (var i = 0; i < poly.length; i++) { |
| | | var epoly = poly[i][0]; |
| | | if (poly.length == 1) { |
| | | epoly = poly[i][0]; |
| | | } |
| | | for (var j = 0; j < epoly.length - 1; j++) { |
| | | var s_poi = epoly[j]; |
| | | var e_poi = epoly[j + 1]; |
| | | if (mercator) { |
| | | s_poi = lonlat2mercator(epoly[j][0], epoly[j][1]); |
| | | e_poi = lonlat2mercator(epoly[j + 1][0], epoly[j + 1][1]); |
| | | } |
| | | if (isRayIntersectsSegment(poi, s_poi, e_poi)) { |
| | | sinsc += 1; |
| | | } |
| | | } |
| | | } |
| | | if (sinsc % 2 == 1) { |
| | | return true; |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | function drawMapDataPoints(series, opts, config, context) { |
| | | var mapOption = assign({}, { |
| | | border: true, |
| | | mercator: false, |
| | | borderWidth: 1, |
| | | borderColor: '#666666', |
| | | fillOpacity: 0.6, |
| | | activeBorderColor: '#f04864', |
| | | activeFillColor: '#facc14', |
| | | activeFillOpacity: 1 }, |
| | | opts.extra.map); |
| | | var coords, point; |
| | | var data = series; |
| | | var bounds = getBoundingBox(data); |
| | | if (mapOption.mercator) { |
| | | var max = lonlat2mercator(bounds.xMax, bounds.yMax); |
| | | var min = lonlat2mercator(bounds.xMin, bounds.yMin); |
| | | bounds.xMax = max[0]; |
| | | bounds.yMax = max[1]; |
| | | bounds.xMin = min[0]; |
| | | bounds.yMin = min[1]; |
| | | } |
| | | var xScale = opts.width / Math.abs(bounds.xMax - bounds.xMin); |
| | | var yScale = opts.height / Math.abs(bounds.yMax - bounds.yMin); |
| | | var scale = xScale < yScale ? xScale : yScale; |
| | | var xoffset = opts.width / 2 - Math.abs(bounds.xMax - bounds.xMin) / 2 * scale; |
| | | var yoffset = opts.height / 2 - Math.abs(bounds.yMax - bounds.yMin) / 2 * scale; |
| | | for (var i = 0; i < data.length; i++) { |
| | | context.beginPath(); |
| | | context.setLineWidth(mapOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(mapOption.borderColor); |
| | | context.setFillStyle(hexToRgb(series[i].color, mapOption.fillOpacity)); |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.setStrokeStyle(mapOption.activeBorderColor); |
| | | context.setFillStyle(hexToRgb(mapOption.activeFillColor, mapOption.activeFillOpacity)); |
| | | } |
| | | } |
| | | var coorda = data[i].geometry.coordinates; |
| | | for (var k = 0; k < coorda.length; k++) { |
| | | coords = coorda[k]; |
| | | if (coords.length == 1) { |
| | | coords = coords[0]; |
| | | } |
| | | for (var j = 0; j < coords.length; j++) { |
| | | var gaosi = Array(2); |
| | | if (mapOption.mercator) { |
| | | gaosi = lonlat2mercator(coords[j][0], coords[j][1]); |
| | | } else { |
| | | gaosi = coords[j]; |
| | | } |
| | | point = coordinateToPoint(gaosi[1], gaosi[0], bounds, scale, xoffset, yoffset); |
| | | if (j === 0) { |
| | | context.beginPath(); |
| | | context.moveTo(point.x, point.y); |
| | | } else { |
| | | context.lineTo(point.x, point.y); |
| | | } |
| | | } |
| | | context.fill(); |
| | | if (mapOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } |
| | | if (opts.dataLabel == true) { |
| | | var centerPoint = data[i].properties.centroid; |
| | | if (centerPoint) { |
| | | if (mapOption.mercator) { |
| | | centerPoint = lonlat2mercator(data[i].properties.centroid[0], data[i].properties.centroid[1]); |
| | | } |
| | | point = coordinateToPoint(centerPoint[1], centerPoint[0], bounds, scale, xoffset, yoffset); |
| | | var fontSize = data[i].textSize * opts.pix || config.fontSize; |
| | | var text = data[i].properties.name; |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(data[i].textColor || opts.fontColor); |
| | | context.fillText(text, point.x - measureText(text, fontSize, context) / 2, point.y + fontSize / 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | } |
| | | } |
| | | } |
| | | opts.chartData.mapData = { |
| | | bounds: bounds, |
| | | scale: scale, |
| | | xoffset: xoffset, |
| | | yoffset: yoffset, |
| | | mercator: mapOption.mercator }; |
| | | |
| | | drawToolTipBridge(opts, config, context, 1); |
| | | context.draw(); |
| | | } |
| | | |
| | | function getWordCloudPoint(opts, type, context) { |
| | | var points = opts.series; |
| | | switch (type) { |
| | | case 'normal': |
| | | for (var i = 0; i < points.length; i++) { |
| | | var text = points[i].name; |
| | | var tHeight = points[i].textSize * opts.pix; |
| | | var tWidth = measureText(text, tHeight, context); |
| | | var x = void 0,y = void 0; |
| | | var area = void 0; |
| | | var breaknum = 0; |
| | | while (true) { |
| | | breaknum++; |
| | | x = normalInt(-opts.width / 2, opts.width / 2, 5) - tWidth / 2; |
| | | y = normalInt(-opts.height / 2, opts.height / 2, 5) + tHeight / 2; |
| | | area = [x - 5 + opts.width / 2, y - 5 - tHeight + opts.height / 2, x + tWidth + 5 + opts.width / 2, y + 5 + |
| | | opts.height / 2]; |
| | | |
| | | var isCollision = collisionNew(area, points, opts.width, opts.height); |
| | | if (!isCollision) break; |
| | | if (breaknum == 1000) { |
| | | area = [-100, -100, -100, -100]; |
| | | break; |
| | | } |
| | | }; |
| | | points[i].area = area; |
| | | } |
| | | break; |
| | | case 'vertical':var |
| | | Spin = function Spin() { |
| | | //获取均匀随机值,是否旋转,旋转的概率为(1-0.5) |
| | | if (Math.random() > 0.7) { |
| | | return true; |
| | | } else { |
| | | return false; |
| | | }; |
| | | };; |
| | | for (var _i27 = 0; _i27 < points.length; _i27++) { |
| | | var _text = points[_i27].name; |
| | | var _tHeight = points[_i27].textSize * opts.pix; |
| | | var _tWidth = measureText(_text, _tHeight, context); |
| | | var isSpin = Spin(); |
| | | var _x = void 0,_y = void 0,_area = void 0,areav = void 0; |
| | | var _breaknum = 0; |
| | | while (true) { |
| | | _breaknum++; |
| | | var _isCollision = void 0; |
| | | if (isSpin) { |
| | | _x = normalInt(-opts.width / 2, opts.width / 2, 5) - _tWidth / 2; |
| | | _y = normalInt(-opts.height / 2, opts.height / 2, 5) + _tHeight / 2; |
| | | _area = [_y - 5 - _tWidth + opts.width / 2, -_x - 5 + opts.height / 2, _y + 5 + opts.width / 2, -_x + _tHeight + 5 + opts.height / 2]; |
| | | areav = [opts.width - (opts.width / 2 - opts.height / 2) - (-_x + _tHeight + 5 + opts.height / 2) - 5, opts.height / 2 - opts.width / 2 + (_y - 5 - _tWidth + opts.width / 2) - 5, opts.width - (opts.width / 2 - opts.height / 2) - (-_x + _tHeight + 5 + opts.height / 2) + _tHeight, opts.height / 2 - opts.width / 2 + (_y - 5 - _tWidth + opts.width / 2) + _tWidth + 5]; |
| | | _isCollision = collisionNew(areav, points, opts.height, opts.width); |
| | | } else { |
| | | _x = normalInt(-opts.width / 2, opts.width / 2, 5) - _tWidth / 2; |
| | | _y = normalInt(-opts.height / 2, opts.height / 2, 5) + _tHeight / 2; |
| | | _area = [_x - 5 + opts.width / 2, _y - 5 - _tHeight + opts.height / 2, _x + _tWidth + 5 + opts.width / 2, _y + 5 + opts.height / 2]; |
| | | _isCollision = collisionNew(_area, points, opts.width, opts.height); |
| | | } |
| | | if (!_isCollision) break; |
| | | if (_breaknum == 1000) { |
| | | _area = [-1000, -1000, -1000, -1000]; |
| | | break; |
| | | } |
| | | }; |
| | | if (isSpin) { |
| | | points[_i27].area = areav; |
| | | points[_i27].areav = _area; |
| | | } else { |
| | | points[_i27].area = _area; |
| | | } |
| | | points[_i27].rotate = isSpin; |
| | | }; |
| | | break;} |
| | | |
| | | return points; |
| | | } |
| | | |
| | | |
| | | function drawWordCloudDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var wordOption = assign({}, { |
| | | type: 'normal', |
| | | autoColors: true }, |
| | | opts.extra.word); |
| | | if (!opts.chartData.wordCloudData) { |
| | | opts.chartData.wordCloudData = getWordCloudPoint(opts, wordOption.type, context); |
| | | } |
| | | context.beginPath(); |
| | | context.setFillStyle(opts.background); |
| | | context.rect(0, 0, opts.width, opts.height); |
| | | context.fill(); |
| | | context.save(); |
| | | var points = opts.chartData.wordCloudData; |
| | | context.translate(opts.width / 2, opts.height / 2); |
| | | for (var i = 0; i < points.length; i++) { |
| | | context.save(); |
| | | if (points[i].rotate) { |
| | | context.rotate(90 * Math.PI / 180); |
| | | } |
| | | var text = points[i].name; |
| | | var tHeight = points[i].textSize * opts.pix; |
| | | var tWidth = measureText(text, tHeight, context); |
| | | context.beginPath(); |
| | | context.setStrokeStyle(points[i].color); |
| | | context.setFillStyle(points[i].color); |
| | | context.setFontSize(tHeight); |
| | | if (points[i].rotate) { |
| | | if (points[i].areav[0] > 0) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.strokeText(text, (points[i].areav[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].areav[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } else { |
| | | context.fillText(text, (points[i].areav[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].areav[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } else { |
| | | context.fillText(text, (points[i].areav[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].areav[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } |
| | | } else { |
| | | if (points[i].area[0] > 0) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.strokeText(text, (points[i].area[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].area[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } else { |
| | | context.fillText(text, (points[i].area[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].area[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } else { |
| | | context.fillText(text, (points[i].area[0] + 5 - opts.width / 2) * process - tWidth * (1 - process) / 2, (points[i].area[1] + 5 + tHeight - opts.height / 2) * process); |
| | | } |
| | | } |
| | | } |
| | | context.stroke(); |
| | | context.restore(); |
| | | } |
| | | context.restore(); |
| | | } |
| | | |
| | | function drawFunnelDataPoints(series, opts, config, context) { |
| | | var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1; |
| | | var funnelOption = assign({}, { |
| | | type: 'funnel', |
| | | activeWidth: 10, |
| | | activeOpacity: 0.3, |
| | | border: false, |
| | | borderWidth: 2, |
| | | borderColor: '#FFFFFF', |
| | | fillOpacity: 1, |
| | | labelAlign: 'right', |
| | | linearType: 'none', |
| | | customColor: [] }, |
| | | opts.extra.funnel); |
| | | var eachSpacing = (opts.height - opts.area[0] - opts.area[2]) / series.length; |
| | | var centerPosition = { |
| | | x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2, |
| | | y: opts.height - opts.area[2] }; |
| | | |
| | | var activeWidth = funnelOption.activeWidth * opts.pix; |
| | | var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - activeWidth, (opts.height - opts.area[0] - opts.area[2]) / 2 - activeWidth); |
| | | series = getFunnelDataPoints(series, radius, funnelOption.type, eachSpacing, process); |
| | | context.save(); |
| | | context.translate(centerPosition.x, centerPosition.y); |
| | | funnelOption.customColor = fillCustomColor(funnelOption.linearType, funnelOption.customColor, series, config); |
| | | if (funnelOption.type == 'pyramid') { |
| | | for (var i = 0; i < series.length; i++) { |
| | | if (i == series.length - 1) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(series[i].color, funnelOption.activeOpacity)); |
| | | context.moveTo(-activeWidth, -eachSpacing); |
| | | context.lineTo(-series[i].radius - activeWidth, 0); |
| | | context.lineTo(series[i].radius + activeWidth, 0); |
| | | context.lineTo(activeWidth, -eachSpacing); |
| | | context.lineTo(-activeWidth, -eachSpacing); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | series[i].funnelArea = [centerPosition.x - series[i].radius, centerPosition.y - eachSpacing * (i + 1), centerPosition.x + series[i].radius, centerPosition.y - eachSpacing * i]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(series[i].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(series[i].radius, -eachSpacing, -series[i].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(series[i].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[series[i].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(series[i].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, -eachSpacing); |
| | | context.lineTo(-series[i].radius, 0); |
| | | context.lineTo(series[i].radius, 0); |
| | | context.lineTo(0, -eachSpacing); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } else { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == i) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(series[i].color, funnelOption.activeOpacity)); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-series[i].radius - activeWidth, 0); |
| | | context.lineTo(-series[i + 1].radius - activeWidth, -eachSpacing); |
| | | context.lineTo(series[i + 1].radius + activeWidth, -eachSpacing); |
| | | context.lineTo(series[i].radius + activeWidth, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | series[i].funnelArea = [centerPosition.x - series[i].radius, centerPosition.y - eachSpacing * (i + 1), centerPosition.x + series[i].radius, centerPosition.y - eachSpacing * i]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(series[i].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(series[i].radius, -eachSpacing, -series[i].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(series[i].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[series[i].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(series[i].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-series[i].radius, 0); |
| | | context.lineTo(-series[i + 1].radius, -eachSpacing); |
| | | context.lineTo(series[i + 1].radius, -eachSpacing); |
| | | context.lineTo(series[i].radius, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } |
| | | context.translate(0, -eachSpacing); |
| | | } |
| | | } else { |
| | | for (var _i28 = 0; _i28 < series.length; _i28++) { |
| | | if (_i28 == 0) { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == _i28) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(series[_i28].color, funnelOption.activeOpacity)); |
| | | context.moveTo(-activeWidth, 0); |
| | | context.lineTo(-series[_i28].radius - activeWidth, -eachSpacing); |
| | | context.lineTo(series[_i28].radius + activeWidth, -eachSpacing); |
| | | context.lineTo(activeWidth, 0); |
| | | context.lineTo(-activeWidth, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | series[_i28].funnelArea = [centerPosition.x - series[_i28].radius, centerPosition.y - eachSpacing, centerPosition.x + series[_i28].radius, centerPosition.y]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(series[_i28].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(series[_i28].radius, -eachSpacing, -series[_i28].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(series[_i28].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[series[_i28].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(series[_i28].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-series[_i28].radius, -eachSpacing); |
| | | context.lineTo(series[_i28].radius, -eachSpacing); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } else { |
| | | if (opts.tooltip) { |
| | | if (opts.tooltip.index == _i28) { |
| | | context.beginPath(); |
| | | context.setFillStyle(hexToRgb(series[_i28].color, funnelOption.activeOpacity)); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-series[_i28 - 1].radius - activeWidth, 0); |
| | | context.lineTo(-series[_i28].radius - activeWidth, -eachSpacing); |
| | | context.lineTo(series[_i28].radius + activeWidth, -eachSpacing); |
| | | context.lineTo(series[_i28 - 1].radius + activeWidth, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | } |
| | | } |
| | | series[_i28].funnelArea = [centerPosition.x - series[_i28].radius, centerPosition.y - eachSpacing * (_i28 + 1), centerPosition.x + series[_i28].radius, centerPosition.y - eachSpacing * _i28]; |
| | | context.beginPath(); |
| | | context.setLineWidth(funnelOption.borderWidth * opts.pix); |
| | | context.setStrokeStyle(funnelOption.borderColor); |
| | | var fillColor = hexToRgb(series[_i28].color, funnelOption.fillOpacity); |
| | | if (funnelOption.linearType == 'custom') { |
| | | var grd = context.createLinearGradient(series[_i28].radius, -eachSpacing, -series[_i28].radius, -eachSpacing); |
| | | grd.addColorStop(0, hexToRgb(series[_i28].color, funnelOption.fillOpacity)); |
| | | grd.addColorStop(0.5, hexToRgb(funnelOption.customColor[series[_i28].linearIndex], funnelOption.fillOpacity)); |
| | | grd.addColorStop(1, hexToRgb(series[_i28].color, funnelOption.fillOpacity)); |
| | | fillColor = grd; |
| | | } |
| | | context.setFillStyle(fillColor); |
| | | context.moveTo(0, 0); |
| | | context.lineTo(-series[_i28 - 1].radius, 0); |
| | | context.lineTo(-series[_i28].radius, -eachSpacing); |
| | | context.lineTo(series[_i28].radius, -eachSpacing); |
| | | context.lineTo(series[_i28 - 1].radius, 0); |
| | | context.lineTo(0, 0); |
| | | context.closePath(); |
| | | context.fill(); |
| | | if (funnelOption.border == true) { |
| | | context.stroke(); |
| | | } |
| | | } |
| | | context.translate(0, -eachSpacing); |
| | | } |
| | | } |
| | | |
| | | context.restore(); |
| | | if (opts.dataLabel !== false && process === 1) { |
| | | drawFunnelText(series, opts, context, eachSpacing, funnelOption.labelAlign, activeWidth, centerPosition); |
| | | } |
| | | return { |
| | | center: centerPosition, |
| | | radius: radius, |
| | | series: series }; |
| | | |
| | | } |
| | | |
| | | function drawFunnelText(series, opts, context, eachSpacing, labelAlign, activeWidth, centerPosition) { |
| | | for (var i = 0; i < series.length; i++) { |
| | | var item = series[i]; |
| | | var startX = void 0,endX = void 0,startY = void 0,fontSize = void 0; |
| | | var text = item.formatter ? item.formatter(item, i, series) : util.toFixed(item._proportion_ * 100) + '%'; |
| | | if (labelAlign == 'right') { |
| | | if (opts.extra.funnel.type === 'pyramid') { |
| | | if (i == series.length - 1) { |
| | | startX = (item.funnelArea[2] + centerPosition.x) / 2; |
| | | } else { |
| | | startX = (item.funnelArea[2] + series[i + 1].funnelArea[2]) / 2; |
| | | } |
| | | } else { |
| | | if (i == 0) { |
| | | startX = (item.funnelArea[2] + centerPosition.x) / 2; |
| | | } else { |
| | | startX = (item.funnelArea[2] + series[i - 1].funnelArea[2]) / 2; |
| | | } |
| | | } |
| | | endX = startX + activeWidth * 2; |
| | | startY = item.funnelArea[1] + eachSpacing / 2; |
| | | fontSize = item.textSize * opts.pix || opts.fontSize * opts.pix; |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(item.color); |
| | | context.setFillStyle(item.color); |
| | | context.beginPath(); |
| | | context.moveTo(startX, startY); |
| | | context.lineTo(endX, startY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.moveTo(endX, startY); |
| | | context.arc(endX, startY, 2, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(item.textColor || opts.fontColor); |
| | | context.fillText(text, endX + 5, startY + fontSize / 2 - 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | } else { |
| | | if (opts.extra.funnel.type === 'pyramid') { |
| | | if (i == series.length - 1) { |
| | | startX = (item.funnelArea[0] + centerPosition.x) / 2; |
| | | } else { |
| | | startX = (item.funnelArea[0] + series[i + 1].funnelArea[0]) / 2; |
| | | } |
| | | } else { |
| | | if (i == 0) { |
| | | startX = (item.funnelArea[0] + centerPosition.x) / 2; |
| | | } else { |
| | | startX = (item.funnelArea[0] + series[i - 1].funnelArea[0]) / 2; |
| | | } |
| | | } |
| | | endX = startX - activeWidth * 2; |
| | | startY = item.funnelArea[1] + eachSpacing / 2; |
| | | fontSize = item.textSize * opts.pix || opts.fontSize * opts.pix; |
| | | context.setLineWidth(1 * opts.pix); |
| | | context.setStrokeStyle(item.color); |
| | | context.setFillStyle(item.color); |
| | | context.beginPath(); |
| | | context.moveTo(startX, startY); |
| | | context.lineTo(endX, startY); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | context.beginPath(); |
| | | context.moveTo(endX, startY); |
| | | context.arc(endX, startY, 2, 0, 2 * Math.PI); |
| | | context.closePath(); |
| | | context.fill(); |
| | | context.beginPath(); |
| | | context.setFontSize(fontSize); |
| | | context.setFillStyle(item.textColor || opts.fontColor); |
| | | context.fillText(text, endX - 5 - measureText(text, fontSize, context), startY + fontSize / 2 - 2); |
| | | context.closePath(); |
| | | context.stroke(); |
| | | context.closePath(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | function drawCanvas(opts, context) { |
| | | context.draw(); |
| | | } |
| | | |
| | | var Timing = { |
| | | easeIn: function easeIn(pos) { |
| | | return Math.pow(pos, 3); |
| | | }, |
| | | easeOut: function easeOut(pos) { |
| | | return Math.pow(pos - 1, 3) + 1; |
| | | }, |
| | | easeInOut: function easeInOut(pos) { |
| | | if ((pos /= 0.5) < 1) { |
| | | return 0.5 * Math.pow(pos, 3); |
| | | } else { |
| | | return 0.5 * (Math.pow(pos - 2, 3) + 2); |
| | | } |
| | | }, |
| | | linear: function linear(pos) { |
| | | return pos; |
| | | } }; |
| | | |
| | | |
| | | function Animation(opts) { |
| | | this.isStop = false; |
| | | opts.duration = typeof opts.duration === 'undefined' ? 1000 : opts.duration; |
| | | opts.timing = opts.timing || 'easeInOut'; |
| | | var delay = 17; |
| | | function createAnimationFrame() { |
| | | if (typeof setTimeout !== 'undefined') { |
| | | return function (step, delay) { |
| | | setTimeout(function () { |
| | | var timeStamp = +new Date(); |
| | | step(timeStamp); |
| | | }, delay); |
| | | }; |
| | | } else if (typeof requestAnimationFrame !== 'undefined') { |
| | | return requestAnimationFrame; |
| | | } else { |
| | | return function (step) { |
| | | step(null); |
| | | }; |
| | | } |
| | | }; |
| | | var animationFrame = createAnimationFrame(); |
| | | var startTimeStamp = null; |
| | | var _step = function step(timestamp) { |
| | | if (timestamp === null || this.isStop === true) { |
| | | opts.onProcess && opts.onProcess(1); |
| | | opts.onAnimationFinish && opts.onAnimationFinish(); |
| | | return; |
| | | } |
| | | if (startTimeStamp === null) { |
| | | startTimeStamp = timestamp; |
| | | } |
| | | if (timestamp - startTimeStamp < opts.duration) { |
| | | var process = (timestamp - startTimeStamp) / opts.duration; |
| | | var timingFunction = Timing[opts.timing]; |
| | | process = timingFunction(process); |
| | | opts.onProcess && opts.onProcess(process); |
| | | animationFrame(_step, delay); |
| | | } else { |
| | | opts.onProcess && opts.onProcess(1); |
| | | opts.onAnimationFinish && opts.onAnimationFinish(); |
| | | } |
| | | }; |
| | | _step = _step.bind(this); |
| | | animationFrame(_step, delay); |
| | | } |
| | | |
| | | Animation.prototype.stop = function () { |
| | | this.isStop = true; |
| | | }; |
| | | |
| | | function drawCharts(type, opts, config, context) { |
| | | var _this = this; |
| | | var series = opts.series; |
| | | //兼容ECharts饼图类数据格式 |
| | | if (type === 'pie' || type === 'ring' || type === 'rose' || type === 'funnel') { |
| | | series = fixPieSeries(series, opts, config); |
| | | } |
| | | var categories = opts.categories; |
| | | series = fillSeries(series, opts, config); |
| | | var duration = opts.animation ? opts.duration : 0; |
| | | _this.animationInstance && _this.animationInstance.stop(); |
| | | var seriesMA = null; |
| | | if (type == 'candle') { |
| | | var average = assign({}, opts.extra.candle.average); |
| | | if (average.show) { |
| | | seriesMA = calCandleMA(average.day, average.name, average.color, series[0].data); |
| | | seriesMA = fillSeries(seriesMA, opts, config); |
| | | opts.seriesMA = seriesMA; |
| | | } else if (opts.seriesMA) { |
| | | seriesMA = opts.seriesMA = fillSeries(opts.seriesMA, opts, config); |
| | | } else { |
| | | seriesMA = series; |
| | | } |
| | | } else { |
| | | seriesMA = series; |
| | | } |
| | | /* 过滤掉show=false的series */ |
| | | opts._series_ = series = filterSeries(series); |
| | | //重新计算图表区域 |
| | | opts.area = new Array(4); |
| | | //复位绘图区域 |
| | | for (var j = 0; j < 4; j++) { |
| | | opts.area[j] = opts.padding[j] * opts.pix; |
| | | } |
| | | //通过计算三大区域:图例、X轴、Y轴的大小,确定绘图区域 |
| | | var _calLegendData = calLegendData(seriesMA, opts, config, opts.chartData, context), |
| | | legendHeight = _calLegendData.area.wholeHeight, |
| | | legendWidth = _calLegendData.area.wholeWidth; |
| | | |
| | | switch (opts.legend.position) { |
| | | case 'top': |
| | | opts.area[0] += legendHeight; |
| | | break; |
| | | case 'bottom': |
| | | opts.area[2] += legendHeight; |
| | | break; |
| | | case 'left': |
| | | opts.area[3] += legendWidth; |
| | | break; |
| | | case 'right': |
| | | opts.area[1] += legendWidth; |
| | | break;} |
| | | |
| | | |
| | | var _calYAxisData = {}, |
| | | yAxisWidth = 0; |
| | | if (opts.type === 'line' || opts.type === 'column' || opts.type === 'area' || opts.type === 'mix' || opts.type === 'candle' || opts.type === 'scatter' || opts.type === 'bubble' || opts.type === 'bar') { |
| | | _calYAxisData = calYAxisData(series, opts, config, context); |
| | | yAxisWidth = _calYAxisData.yAxisWidth; |
| | | //如果显示Y轴标题 |
| | | if (opts.yAxis.showTitle) { |
| | | var maxTitleHeight = 0; |
| | | for (var i = 0; i < opts.yAxis.data.length; i++) { |
| | | maxTitleHeight = Math.max(maxTitleHeight, opts.yAxis.data[i].titleFontSize ? opts.yAxis.data[i].titleFontSize * opts.pix : config.fontSize); |
| | | } |
| | | opts.area[0] += maxTitleHeight; |
| | | } |
| | | var rightIndex = 0, |
| | | leftIndex = 0; |
| | | //计算主绘图区域左右位置 |
| | | for (var _i29 = 0; _i29 < yAxisWidth.length; _i29++) { |
| | | if (yAxisWidth[_i29].position == 'left') { |
| | | if (leftIndex > 0) { |
| | | opts.area[3] += yAxisWidth[_i29].width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | opts.area[3] += yAxisWidth[_i29].width; |
| | | } |
| | | leftIndex += 1; |
| | | } else if (yAxisWidth[_i29].position == 'right') { |
| | | if (rightIndex > 0) { |
| | | opts.area[1] += yAxisWidth[_i29].width + opts.yAxis.padding * opts.pix; |
| | | } else { |
| | | opts.area[1] += yAxisWidth[_i29].width; |
| | | } |
| | | rightIndex += 1; |
| | | } |
| | | } |
| | | } else { |
| | | config.yAxisWidth = yAxisWidth; |
| | | } |
| | | opts.chartData.yAxisData = _calYAxisData; |
| | | |
| | | if (opts.categories && opts.categories.length && opts.type !== 'radar' && opts.type !== 'gauge' && opts.type !== 'bar') { |
| | | opts.chartData.xAxisData = getXAxisPoints(opts.categories, opts, config); |
| | | var _calCategoriesData = calCategoriesData(opts.categories, opts, config, opts.chartData.xAxisData.eachSpacing, context), |
| | | xAxisHeight = _calCategoriesData.xAxisHeight, |
| | | angle = _calCategoriesData.angle; |
| | | config.xAxisHeight = xAxisHeight; |
| | | config._xAxisTextAngle_ = angle; |
| | | opts.area[2] += xAxisHeight; |
| | | opts.chartData.categoriesData = _calCategoriesData; |
| | | } else { |
| | | if (opts.type === 'line' || opts.type === 'area' || opts.type === 'scatter' || opts.type === 'bubble' || opts.type === 'bar') { |
| | | opts.chartData.xAxisData = calXAxisData(series, opts, config, context); |
| | | categories = opts.chartData.xAxisData.rangesFormat; |
| | | var _calCategoriesData2 = calCategoriesData(categories, opts, config, opts.chartData.xAxisData.eachSpacing, context), |
| | | _xAxisHeight = _calCategoriesData2.xAxisHeight, |
| | | _angle = _calCategoriesData2.angle; |
| | | config.xAxisHeight = _xAxisHeight; |
| | | config._xAxisTextAngle_ = _angle; |
| | | opts.area[2] += _xAxisHeight; |
| | | opts.chartData.categoriesData = _calCategoriesData2; |
| | | } else { |
| | | opts.chartData.xAxisData = { |
| | | xAxisPoints: [] }; |
| | | |
| | | } |
| | | } |
| | | //计算右对齐偏移距离 |
| | | if (opts.enableScroll && opts.xAxis.scrollAlign == 'right' && opts._scrollDistance_ === undefined) { |
| | | var offsetLeft = 0, |
| | | xAxisPoints = opts.chartData.xAxisData.xAxisPoints, |
| | | startX = opts.chartData.xAxisData.startX, |
| | | endX = opts.chartData.xAxisData.endX, |
| | | eachSpacing = opts.chartData.xAxisData.eachSpacing; |
| | | var totalWidth = eachSpacing * (xAxisPoints.length - 1); |
| | | var screenWidth = endX - startX; |
| | | offsetLeft = screenWidth - totalWidth; |
| | | _this.scrollOption = { |
| | | currentOffset: offsetLeft, |
| | | startTouchX: offsetLeft, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | opts._scrollDistance_ = offsetLeft; |
| | | } |
| | | |
| | | if (type === 'pie' || type === 'ring' || type === 'rose') { |
| | | config._pieTextMaxLength_ = opts.dataLabel === false ? 0 : getPieTextMaxLength(seriesMA, config, context, opts); |
| | | } |
| | | switch (type) { |
| | | case 'word': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawWordCloudDataPoints(series, opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'map': |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | drawMapDataPoints(series, opts, config, context); |
| | | break; |
| | | case 'funnel': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.funnelData = drawFunnelDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'line': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawLineDataPoints = drawLineDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawLineDataPoints.xAxisPoints, |
| | | calPoints = _drawLineDataPoints.calPoints, |
| | | eachSpacing = _drawLineDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'scatter': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawScatterDataPoints = drawScatterDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawScatterDataPoints.xAxisPoints, |
| | | calPoints = _drawScatterDataPoints.calPoints, |
| | | eachSpacing = _drawScatterDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'bubble': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawBubbleDataPoints = drawBubbleDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawBubbleDataPoints.xAxisPoints, |
| | | calPoints = _drawBubbleDataPoints.calPoints, |
| | | eachSpacing = _drawBubbleDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'mix': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawMixDataPoints = drawMixDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawMixDataPoints.xAxisPoints, |
| | | calPoints = _drawMixDataPoints.calPoints, |
| | | eachSpacing = _drawMixDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'column': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawColumnDataPoints = drawColumnDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawColumnDataPoints.xAxisPoints, |
| | | calPoints = _drawColumnDataPoints.calPoints, |
| | | eachSpacing = _drawColumnDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'bar': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawBarDataPoints = drawBarDataPoints(series, opts, config, context, process), |
| | | yAxisPoints = _drawBarDataPoints.yAxisPoints, |
| | | calPoints = _drawBarDataPoints.calPoints, |
| | | eachSpacing = _drawBarDataPoints.eachSpacing; |
| | | opts.chartData.yAxisPoints = yAxisPoints; |
| | | opts.chartData.xAxisPoints = opts.chartData.xAxisData.xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, yAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'area': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawAreaDataPoints = drawAreaDataPoints(series, opts, config, context, process), |
| | | xAxisPoints = _drawAreaDataPoints.xAxisPoints, |
| | | calPoints = _drawAreaDataPoints.calPoints, |
| | | eachSpacing = _drawAreaDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'ring': |
| | | case 'pie': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.pieData = drawPieDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'rose': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.pieData = drawRoseDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'radar': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.radarData = drawRadarDataPoints(series, opts, config, context, process); |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | drawToolTipBridge(opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'arcbar': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.arcbarData = drawArcbarDataPoints(series, opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'gauge': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | opts.chartData.gaugeData = drawGaugeDataPoints(categories, series, opts, config, context, process); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break; |
| | | case 'candle': |
| | | this.animationInstance = new Animation({ |
| | | timing: opts.timing, |
| | | duration: duration, |
| | | onProcess: function onProcess(process) { |
| | | context.clearRect(0, 0, opts.width, opts.height); |
| | | if (opts.rotate) { |
| | | contextRotate(context, opts); |
| | | } |
| | | drawYAxisGrid(categories, opts, config, context); |
| | | drawXAxis(categories, opts, config, context); |
| | | var _drawCandleDataPoints = drawCandleDataPoints(series, seriesMA, opts, config, context, process), |
| | | xAxisPoints = _drawCandleDataPoints.xAxisPoints, |
| | | calPoints = _drawCandleDataPoints.calPoints, |
| | | eachSpacing = _drawCandleDataPoints.eachSpacing; |
| | | opts.chartData.xAxisPoints = xAxisPoints; |
| | | opts.chartData.calPoints = calPoints; |
| | | opts.chartData.eachSpacing = eachSpacing; |
| | | drawYAxis(series, opts, config, context); |
| | | if (opts.enableMarkLine !== false && process === 1) { |
| | | drawMarkLine(opts, config, context); |
| | | } |
| | | if (seriesMA) { |
| | | drawLegend(seriesMA, opts, config, context, opts.chartData); |
| | | } else { |
| | | drawLegend(opts.series, opts, config, context, opts.chartData); |
| | | } |
| | | drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints); |
| | | drawCanvas(opts, context); |
| | | }, |
| | | onAnimationFinish: function onAnimationFinish() { |
| | | _this.uevent.trigger('renderComplete'); |
| | | } }); |
| | | |
| | | break;} |
| | | |
| | | } |
| | | |
| | | function uChartsEvent() { |
| | | this.events = {}; |
| | | } |
| | | |
| | | uChartsEvent.prototype.addEventListener = function (type, listener) { |
| | | this.events[type] = this.events[type] || []; |
| | | this.events[type].push(listener); |
| | | }; |
| | | |
| | | uChartsEvent.prototype.delEventListener = function (type) { |
| | | this.events[type] = []; |
| | | }; |
| | | |
| | | uChartsEvent.prototype.trigger = function () { |
| | | for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { |
| | | args[_key] = arguments[_key]; |
| | | } |
| | | var type = args[0]; |
| | | var params = args.slice(1); |
| | | if (!!this.events[type]) { |
| | | this.events[type].forEach(function (listener) { |
| | | try { |
| | | listener.apply(null, params); |
| | | } catch (e) { |
| | | //console.log('[uCharts] '+e); |
| | | } |
| | | }); |
| | | } |
| | | }; |
| | | |
| | | var uCharts = function uCharts(opts) { |
| | | opts.pix = opts.pixelRatio ? opts.pixelRatio : 1; |
| | | opts.fontSize = opts.fontSize ? opts.fontSize : 13; |
| | | opts.fontColor = opts.fontColor ? opts.fontColor : config.fontColor; |
| | | if (opts.background == "" || opts.background == "none") { |
| | | opts.background = "#FFFFFF"; |
| | | } |
| | | opts.title = assign({}, opts.title); |
| | | opts.subtitle = assign({}, opts.subtitle); |
| | | opts.duration = opts.duration ? opts.duration : 1000; |
| | | opts.yAxis = assign({}, { |
| | | data: [], |
| | | showTitle: false, |
| | | disabled: false, |
| | | disableGrid: false, |
| | | splitNumber: 5, |
| | | gridType: 'solid', |
| | | dashLength: 4 * opts.pix, |
| | | gridColor: '#cccccc', |
| | | padding: 10, |
| | | fontColor: '#666666' }, |
| | | opts.yAxis); |
| | | opts.xAxis = assign({}, { |
| | | rotateLabel: false, |
| | | disabled: false, |
| | | disableGrid: false, |
| | | splitNumber: 5, |
| | | calibration: false, |
| | | gridType: 'solid', |
| | | dashLength: 4, |
| | | scrollAlign: 'left', |
| | | boundaryGap: 'center', |
| | | axisLine: true, |
| | | axisLineColor: '#cccccc' }, |
| | | opts.xAxis); |
| | | opts.xAxis.scrollPosition = opts.xAxis.scrollAlign; |
| | | opts.legend = assign({}, { |
| | | show: true, |
| | | position: 'bottom', |
| | | float: 'center', |
| | | backgroundColor: 'rgba(0,0,0,0)', |
| | | borderColor: 'rgba(0,0,0,0)', |
| | | borderWidth: 0, |
| | | padding: 5, |
| | | margin: 5, |
| | | itemGap: 10, |
| | | fontSize: opts.fontSize, |
| | | lineHeight: opts.fontSize, |
| | | fontColor: opts.fontColor, |
| | | formatter: {}, |
| | | hiddenColor: '#CECECE' }, |
| | | opts.legend); |
| | | opts.extra = assign({}, opts.extra); |
| | | opts.rotate = opts.rotate ? true : false; |
| | | opts.animation = opts.animation ? true : false; |
| | | opts.rotate = opts.rotate ? true : false; |
| | | opts.canvas2d = opts.canvas2d ? true : false; |
| | | |
| | | var config$$1 = JSON.parse(JSON.stringify(config)); |
| | | config$$1.color = opts.color ? opts.color : config$$1.color; |
| | | config$$1.yAxisTitleWidth = opts.yAxis.disabled !== true && opts.yAxis.title ? config$$1.yAxisTitleWidth : 0; |
| | | if (opts.type == 'pie') { |
| | | config$$1.pieChartLinePadding = opts.dataLabel === false ? 0 : opts.extra.pie.labelWidth * opts.pix || config$$1.pieChartLinePadding * opts.pix; |
| | | } |
| | | if (opts.type == 'ring') { |
| | | config$$1.pieChartLinePadding = opts.dataLabel === false ? 0 : opts.extra.ring.labelWidth * opts.pix || config$$1.pieChartLinePadding * opts.pix; |
| | | } |
| | | if (opts.type == 'rose') { |
| | | config$$1.pieChartLinePadding = opts.dataLabel === false ? 0 : opts.extra.rose.labelWidth * opts.pix || config$$1.pieChartLinePadding * opts.pix; |
| | | } |
| | | config$$1.pieChartTextPadding = opts.dataLabel === false ? 0 : config$$1.pieChartTextPadding * opts.pix; |
| | | config$$1.yAxisSplit = opts.yAxis.splitNumber ? opts.yAxis.splitNumber : config.yAxisSplit; |
| | | |
| | | //屏幕旋转 |
| | | config$$1.rotate = opts.rotate; |
| | | if (opts.rotate) { |
| | | var tempWidth = opts.width; |
| | | var tempHeight = opts.height; |
| | | opts.width = tempHeight; |
| | | opts.height = tempWidth; |
| | | } |
| | | |
| | | //适配高分屏 |
| | | opts.padding = opts.padding ? opts.padding : config$$1.padding; |
| | | config$$1.yAxisWidth = config.yAxisWidth * opts.pix; |
| | | config$$1.xAxisHeight = config.xAxisHeight * opts.pix; |
| | | if (opts.enableScroll && opts.xAxis.scrollShow) { |
| | | config$$1.xAxisHeight += 6 * opts.pix; |
| | | } |
| | | config$$1.xAxisLineHeight = config.xAxisLineHeight * opts.pix; |
| | | config$$1.fontSize = opts.fontSize * opts.pix; |
| | | config$$1.titleFontSize = config.titleFontSize * opts.pix; |
| | | config$$1.subtitleFontSize = config.subtitleFontSize * opts.pix; |
| | | config$$1.toolTipPadding = config.toolTipPadding * opts.pix; |
| | | config$$1.toolTipLineHeight = config.toolTipLineHeight * opts.pix; |
| | | config$$1.columePadding = config.columePadding * opts.pix; |
| | | //this.context = opts.context ? opts.context : uni.createCanvasContext(opts.canvasId, opts.$this); |
| | | //v2.0版本后需要自行获取context并传入opts进行初始化,这么做是为了确保uCharts可以跨更多端使用,并保证了自定义组件this实例不被循环嵌套。如果您觉得不便请取消上面注释,采用v1.0版本的方式使用,对此给您带来的不便敬请谅解! |
| | | if (!opts.context) { |
| | | throw new Error('[uCharts] 未获取到context!注意:v2.0版本后,需要自行获取canvas的绘图上下文并传入opts.context!'); |
| | | } |
| | | this.context = opts.context; |
| | | if (!this.context.setTextAlign) { |
| | | this.context.setStrokeStyle = function (e) { |
| | | return this.strokeStyle = e; |
| | | }; |
| | | this.context.setLineWidth = function (e) { |
| | | return this.lineWidth = e; |
| | | }; |
| | | this.context.setLineCap = function (e) { |
| | | return this.lineCap = e; |
| | | }; |
| | | this.context.setFontSize = function (e) { |
| | | return this.font = e + "px sans-serif"; |
| | | }; |
| | | this.context.setFillStyle = function (e) { |
| | | return this.fillStyle = e; |
| | | }; |
| | | this.context.setTextAlign = function (e) { |
| | | return this.textAlign = e; |
| | | }; |
| | | this.context.draw = function () {}; |
| | | } |
| | | //兼容NVUEsetLineDash |
| | | if (!this.context.setLineDash) { |
| | | this.context.setLineDash = function (e) {}; |
| | | } |
| | | opts.chartData = {}; |
| | | this.uevent = new uChartsEvent(); |
| | | this.scrollOption = { |
| | | currentOffset: 0, |
| | | startTouchX: 0, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | this.opts = opts; |
| | | this.config = config$$1; |
| | | drawCharts.call(this, opts.type, opts, config$$1, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.updateData = function () { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | this.opts = assign({}, this.opts, data); |
| | | this.opts.updateData = true; |
| | | var scrollPosition = data.scrollPosition || 'current'; |
| | | switch (scrollPosition) { |
| | | case 'current': |
| | | //this.opts._scrollDistance_ = this.scrollOption.currentOffset; |
| | | break; |
| | | case 'left': |
| | | this.opts._scrollDistance_ = 0; |
| | | this.scrollOption = { |
| | | currentOffset: 0, |
| | | startTouchX: 0, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | break; |
| | | case 'right': |
| | | var _calYAxisData = calYAxisData(this.opts.series, this.opts, this.config, this.context),yAxisWidth = _calYAxisData.yAxisWidth; |
| | | this.config.yAxisWidth = yAxisWidth; |
| | | var offsetLeft = 0; |
| | | var _getXAxisPoints0 = getXAxisPoints(this.opts.categories, this.opts, this.config),xAxisPoints = _getXAxisPoints0.xAxisPoints, |
| | | startX = _getXAxisPoints0.startX, |
| | | endX = _getXAxisPoints0.endX, |
| | | eachSpacing = _getXAxisPoints0.eachSpacing; |
| | | var totalWidth = eachSpacing * (xAxisPoints.length - 1); |
| | | var screenWidth = endX - startX; |
| | | offsetLeft = screenWidth - totalWidth; |
| | | this.scrollOption = { |
| | | currentOffset: offsetLeft, |
| | | startTouchX: offsetLeft, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | this.opts._scrollDistance_ = offsetLeft; |
| | | break;} |
| | | |
| | | drawCharts.call(this, this.opts.type, this.opts, this.config, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.zoom = function () { |
| | | var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.opts.xAxis.itemCount; |
| | | if (this.opts.enableScroll !== true) { |
| | | __f__("log", '[uCharts] 请启用滚动条后使用', " at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6386"); |
| | | return; |
| | | } |
| | | //当前屏幕中间点 |
| | | var centerPoint = Math.round(Math.abs(this.scrollOption.currentOffset) / this.opts.chartData.eachSpacing) + Math.round(this.opts.xAxis.itemCount / 2); |
| | | this.opts.animation = false; |
| | | this.opts.xAxis.itemCount = val.itemCount; |
| | | //重新计算x轴偏移距离 |
| | | var _calYAxisData = calYAxisData(this.opts.series, this.opts, this.config, this.context), |
| | | yAxisWidth = _calYAxisData.yAxisWidth; |
| | | this.config.yAxisWidth = yAxisWidth; |
| | | var offsetLeft = 0; |
| | | var _getXAxisPoints0 = getXAxisPoints(this.opts.categories, this.opts, this.config), |
| | | xAxisPoints = _getXAxisPoints0.xAxisPoints, |
| | | startX = _getXAxisPoints0.startX, |
| | | endX = _getXAxisPoints0.endX, |
| | | eachSpacing = _getXAxisPoints0.eachSpacing; |
| | | var centerLeft = eachSpacing * centerPoint; |
| | | var screenWidth = endX - startX; |
| | | var MaxLeft = screenWidth - eachSpacing * (xAxisPoints.length - 1); |
| | | offsetLeft = screenWidth / 2 - centerLeft; |
| | | if (offsetLeft > 0) { |
| | | offsetLeft = 0; |
| | | } |
| | | if (offsetLeft < MaxLeft) { |
| | | offsetLeft = MaxLeft; |
| | | } |
| | | this.scrollOption = { |
| | | currentOffset: offsetLeft, |
| | | startTouchX: offsetLeft, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | this.opts._scrollDistance_ = offsetLeft; |
| | | drawCharts.call(this, this.opts.type, this.opts, this.config, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.stopAnimation = function () { |
| | | this.animationInstance && this.animationInstance.stop(); |
| | | }; |
| | | |
| | | uCharts.prototype.addEventListener = function (type, listener) { |
| | | this.uevent.addEventListener(type, listener); |
| | | }; |
| | | |
| | | uCharts.prototype.delEventListener = function (type) { |
| | | this.uevent.delEventListener(type); |
| | | }; |
| | | |
| | | uCharts.prototype.getCurrentDataIndex = function (e) { |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | if (this.opts.type === 'pie' || this.opts.type === 'ring') { |
| | | return findPieChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.pieData, this.opts); |
| | | } else if (this.opts.type === 'rose') { |
| | | return findRoseChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.pieData, this.opts); |
| | | } else if (this.opts.type === 'radar') { |
| | | return findRadarChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.radarData, this.opts.categories.length); |
| | | } else if (this.opts.type === 'funnel') { |
| | | return findFunnelChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.funnelData); |
| | | } else if (this.opts.type === 'map') { |
| | | return findMapChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts); |
| | | } else if (this.opts.type === 'word') { |
| | | return findWordChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.wordCloudData); |
| | | } else if (this.opts.type === 'bar') { |
| | | return findBarChartCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.calPoints, this.opts, this.config, Math.abs(this.scrollOption.currentOffset)); |
| | | } else { |
| | | return findCurrentIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.calPoints, this.opts, this.config, Math.abs(this.scrollOption.currentOffset)); |
| | | } |
| | | } |
| | | return -1; |
| | | }; |
| | | |
| | | uCharts.prototype.getLegendDataIndex = function (e) { |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | return findLegendIndex({ |
| | | x: _touches$.x, |
| | | y: _touches$.y }, |
| | | this.opts.chartData.legendData); |
| | | } |
| | | return -1; |
| | | }; |
| | | |
| | | uCharts.prototype.touchLegend = function (e) { |
| | | var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | var index = this.getLegendDataIndex(e); |
| | | if (index >= 0) { |
| | | if (this.opts.type == 'candle') { |
| | | this.opts.seriesMA[index].show = !this.opts.seriesMA[index].show; |
| | | } else { |
| | | this.opts.series[index].show = !this.opts.series[index].show; |
| | | } |
| | | this.opts.animation = option.animation ? true : false; |
| | | this.opts._scrollDistance_ = this.scrollOption.currentOffset; |
| | | drawCharts.call(this, this.opts.type, this.opts, this.config, this.context); |
| | | } |
| | | } |
| | | |
| | | }; |
| | | |
| | | uCharts.prototype.showToolTip = function (e) {var _this2 = this; |
| | | var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (!touches) { |
| | | __f__("log", "[uCharts] 未获取到event坐标信息", " at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6540"); |
| | | } |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset, |
| | | animation: false }); |
| | | |
| | | if (this.opts.type === 'line' || this.opts.type === 'area' || this.opts.type === 'column' || this.opts.type === 'scatter' || this.opts.type === 'bubble') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1 || index.length > 0) { |
| | | var seriesData = getSeriesDataItem(this.opts.series, index, current.group); |
| | | if (seriesData.length !== 0) { |
| | | var _getToolTipData = getToolTipData(seriesData, this.opts, index, current.group, this.opts.categories, option), |
| | | textList = _getToolTipData.textList, |
| | | offset = _getToolTipData.offset; |
| | | offset.y = _touches$.y; |
| | | opts.tooltip = { |
| | | textList: option.textList !== undefined ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'bar') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1 || index.length > 0) { |
| | | var seriesData = getSeriesDataItem(this.opts.series, index, current.group); |
| | | if (seriesData.length !== 0) { |
| | | var _getToolTipData = getToolTipData(seriesData, this.opts, index, current.group, this.opts.categories, option), |
| | | textList = _getToolTipData.textList, |
| | | offset = _getToolTipData.offset; |
| | | offset.x = _touches$.x; |
| | | opts.tooltip = { |
| | | textList: option.textList !== undefined ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'mix') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1) { |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset, |
| | | animation: false }); |
| | | |
| | | var seriesData = getSeriesDataItem(this.opts.series, index); |
| | | if (seriesData.length !== 0) { |
| | | var _getMixToolTipData = getMixToolTipData(seriesData, this.opts, index, this.opts.categories, option), |
| | | textList = _getMixToolTipData.textList, |
| | | offset = _getMixToolTipData.offset; |
| | | offset.y = _touches$.y; |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'candle') { |
| | | var current = this.getCurrentDataIndex(e); |
| | | var index = option.index == undefined ? current.index : option.index; |
| | | if (index > -1) { |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset, |
| | | animation: false }); |
| | | |
| | | var seriesData = getSeriesDataItem(this.opts.series, index); |
| | | if (seriesData.length !== 0) { |
| | | var _getToolTipData = getCandleToolTipData(this.opts.series[0].data, seriesData, this.opts, index, this.opts.categories, this.opts.extra.candle, option), |
| | | textList = _getToolTipData.textList, |
| | | offset = _getToolTipData.offset; |
| | | offset.y = _touches$.y; |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'pie' || this.opts.type === 'ring' || this.opts.type === 'rose' || this.opts.type === 'funnel') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = assign({}, opts._series_[index]); |
| | | var textList = [{ |
| | | text: option.formatter ? option.formatter(seriesData, undefined, index, opts) : seriesData.name + ': ' + seriesData.data, |
| | | color: seriesData.color }]; |
| | | |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'map') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = assign({}, this.opts.series[index]); |
| | | seriesData.name = seriesData.properties.name; |
| | | var textList = [{ |
| | | text: option.formatter ? option.formatter(seriesData, undefined, index, this.opts) : seriesData.name, |
| | | color: seriesData.color }]; |
| | | |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | opts.updateData = false; |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'word') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = assign({}, this.opts.series[index]); |
| | | var textList = [{ |
| | | text: option.formatter ? option.formatter(seriesData, undefined, index, this.opts) : seriesData.name, |
| | | color: seriesData.color }]; |
| | | |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | opts.updateData = false; |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | if (this.opts.type === 'radar') { |
| | | var index = option.index == undefined ? this.getCurrentDataIndex(e) : option.index; |
| | | if (index > -1) { |
| | | var opts = assign({}, this.opts, { animation: false }); |
| | | var seriesData = getSeriesDataItem(this.opts.series, index); |
| | | if (seriesData.length !== 0) { |
| | | var textList = seriesData.map(function (item) { |
| | | return { |
| | | text: option.formatter ? option.formatter(item, _this2.opts.categories[index], index, _this2.opts) : item.name + ': ' + item.data, |
| | | color: item.color }; |
| | | |
| | | }); |
| | | var offset = { |
| | | x: _touches$.x, |
| | | y: _touches$.y }; |
| | | |
| | | opts.tooltip = { |
| | | textList: option.textList ? option.textList : textList, |
| | | offset: option.offset !== undefined ? option.offset : offset, |
| | | option: option, |
| | | index: index }; |
| | | |
| | | } |
| | | } |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | } |
| | | }; |
| | | |
| | | uCharts.prototype.translate = function (distance) { |
| | | this.scrollOption = { |
| | | currentOffset: distance, |
| | | startTouchX: distance, |
| | | distance: 0, |
| | | lastMoveTime: 0 }; |
| | | |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: distance, |
| | | animation: false }); |
| | | |
| | | drawCharts.call(this, this.opts.type, opts, this.config, this.context); |
| | | }; |
| | | |
| | | uCharts.prototype.scrollStart = function (e) { |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | if (touches && this.opts.enableScroll === true) { |
| | | this.scrollOption.startTouchX = _touches$.x; |
| | | } |
| | | }; |
| | | |
| | | uCharts.prototype.scroll = function (e) { |
| | | if (this.scrollOption.lastMoveTime === 0) { |
| | | this.scrollOption.lastMoveTime = Date.now(); |
| | | } |
| | | var Limit = this.opts.touchMoveLimit || 60; |
| | | var currMoveTime = Date.now(); |
| | | var duration = currMoveTime - this.scrollOption.lastMoveTime; |
| | | if (duration < Math.floor(1000 / Limit)) return; |
| | | this.scrollOption.lastMoveTime = currMoveTime; |
| | | var touches = null; |
| | | if (e.changedTouches) { |
| | | touches = e.changedTouches[0]; |
| | | } else { |
| | | touches = e.mp.changedTouches[0]; |
| | | } |
| | | if (touches && this.opts.enableScroll === true) { |
| | | var _touches$ = getTouches(touches, this.opts, e); |
| | | var _distance; |
| | | _distance = _touches$.x - this.scrollOption.startTouchX; |
| | | var currentOffset = this.scrollOption.currentOffset; |
| | | var validDistance = calValidDistance(this, currentOffset + _distance, this.opts.chartData, this.config, this.opts); |
| | | this.scrollOption.distance = _distance = validDistance - currentOffset; |
| | | var opts = assign({}, this.opts, { |
| | | _scrollDistance_: currentOffset + _distance, |
| | | animation: false }); |
| | | |
| | | this.opts = opts; |
| | | drawCharts.call(this, opts.type, opts, this.config, this.context); |
| | | return currentOffset + _distance; |
| | | } |
| | | }; |
| | | |
| | | uCharts.prototype.scrollEnd = function (e) { |
| | | if (this.opts.enableScroll === true) { |
| | | var _scrollOption = this.scrollOption, |
| | | currentOffset = _scrollOption.currentOffset, |
| | | distance = _scrollOption.distance; |
| | | this.scrollOption.currentOffset = currentOffset + distance; |
| | | this.scrollOption.distance = 0; |
| | | } |
| | | };var _default = |
| | | |
| | | uCharts;exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 92)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 92 */ |
| | | /*!*********************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js ***! |
| | | \*********************************************************************/ |
| | | /*! exports provided: log, default */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "log", function() { return log; }); |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatLog; }); |
| | | function typof (v) { |
| | | var s = Object.prototype.toString.call(v) |
| | | return s.substring(8, s.length - 1) |
| | | } |
| | | |
| | | function isDebugMode () { |
| | | /* eslint-disable no-undef */ |
| | | return typeof __channelId__ === 'string' && __channelId__ |
| | | } |
| | | |
| | | function jsonStringifyReplacer (k, p) { |
| | | switch (typof(p)) { |
| | | case 'Function': |
| | | return 'function() { [native code] }' |
| | | default : |
| | | return p |
| | | } |
| | | } |
| | | |
| | | function log (type) { |
| | | for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { |
| | | args[_key - 1] = arguments[_key] |
| | | } |
| | | console[type].apply(console, args) |
| | | } |
| | | |
| | | function formatLog () { |
| | | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| | | args[_key] = arguments[_key] |
| | | } |
| | | var type = args.shift() |
| | | if (isDebugMode()) { |
| | | args.push(args.pop().replace('at ', 'uni-app:///')) |
| | | return console[type].apply(console, args) |
| | | } |
| | | |
| | | var msgs = args.map(function (v) { |
| | | var type = Object.prototype.toString.call(v).toLowerCase() |
| | | |
| | | if (type === '[object object]' || type === '[object array]') { |
| | | try { |
| | | v = '---BEGIN:JSON---' + JSON.stringify(v, jsonStringifyReplacer) + '---END:JSON---' |
| | | } catch (e) { |
| | | v = type |
| | | } |
| | | } else { |
| | | if (v === null) { |
| | | v = '---NULL---' |
| | | } else if (v === undefined) { |
| | | v = '---UNDEFINED---' |
| | | } else { |
| | | var vType = typof(v).toUpperCase() |
| | | |
| | | if (vType === 'NUMBER' || vType === 'BOOLEAN') { |
| | | v = '---BEGIN:' + vType + '---' + v + '---END:' + vType + '---' |
| | | } else { |
| | | v = String(v) |
| | | } |
| | | } |
| | | } |
| | | |
| | | return v |
| | | }) |
| | | var msg = '' |
| | | |
| | | if (msgs.length > 1) { |
| | | var lastMsg = msgs.pop() |
| | | msg = msgs.join('---COMMA---') |
| | | |
| | | if (lastMsg.indexOf(' at ') === 0) { |
| | | msg += lastMsg |
| | | } else { |
| | | msg += '---COMMA---' + lastMsg |
| | | } |
| | | } else { |
| | | msg = msgs[0] |
| | | } |
| | | |
| | | console[type](msg) |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | /* 93 */ |
| | | /*!**********************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-ucharts.js ***! |
| | | \**********************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* |
| | | * uCharts® |
| | | * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台 |
| | | * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved. |
| | | * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) |
| | | * 复制使用请保留本段注释,感谢支持开源! |
| | | * |
| | | * uCharts®官方网站 |
| | | * https://www.uCharts.cn |
| | | * |
| | | * 开源地址: |
| | | * https://gitee.com/uCharts/uCharts |
| | | * |
| | | * uni-app插件市场地址: |
| | | * http://ext.dcloud.net.cn/plugin?id=271 |
| | | * |
| | | */ |
| | | |
| | | // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性 |
| | | var color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc']; |
| | | |
| | | //事件转换函数,主要用作格式化x轴为时间轴,根据需求自行修改 |
| | | var formatDateTime = function formatDateTime(timeStamp, returnType) { |
| | | var date = new Date(); |
| | | date.setTime(timeStamp * 1000); |
| | | var y = date.getFullYear(); |
| | | var m = date.getMonth() + 1; |
| | | m = m < 10 ? '0' + m : m; |
| | | var d = date.getDate(); |
| | | d = d < 10 ? '0' + d : d; |
| | | var h = date.getHours(); |
| | | h = h < 10 ? '0' + h : h; |
| | | var minute = date.getMinutes(); |
| | | var second = date.getSeconds(); |
| | | minute = minute < 10 ? '0' + minute : minute; |
| | | second = second < 10 ? '0' + second : second; |
| | | if (returnType == 'full') {return y + '-' + m + '-' + d + ' ' + h + ':' + minute + ':' + second;} |
| | | if (returnType == 'y-m-d') {return y + '-' + m + '-' + d;} |
| | | if (returnType == 'h:m') {return h + ':' + minute;} |
| | | if (returnType == 'h:m:s') {return h + ':' + minute + ':' + second;} |
| | | return [y, m, d, h, minute, second]; |
| | | }; |
| | | |
| | | var cfu = { |
| | | //demotype为自定义图表类型,一般不需要自定义图表类型,只需要改根节点上对应的类型即可 |
| | | "type": ["pie", "ring", "rose", "word", "funnel", "map", "arcbar", "line", "column", "bar", "area", "radar", "gauge", "candle", "mix", "tline", "tarea", "scatter", "bubble", "demotype"], |
| | | "range": ["饼状图", "圆环图", "玫瑰图", "词云图", "漏斗图", "地图", "圆弧进度条", "折线图", "柱状图", "条状图", "区域图", "雷达图", "仪表盘", "K线图", "混合图", "时间轴折线", "时间轴区域", "散点图", "气泡图", "自定义类型"], |
| | | //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型,例如最后的"demotype" |
| | | //自定义类型时需要注意"tline","tarea","scatter","bubble"等时间轴(矢量x轴)类图表,没有categories,不需要加入categories |
| | | "categories": ["line", "column", "bar", "area", "radar", "gauge", "candle", "mix", "demotype"], |
| | | //instance为实例变量承载属性,不要删除 |
| | | "instance": {}, |
| | | //option为opts及eopts承载属性,不要删除 |
| | | "option": {}, |
| | | //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换 |
| | | "formatter": { |
| | | "yAxisDemo1": function yAxisDemo1(val) {return val + '元';}, |
| | | "yAxisDemo2": function yAxisDemo2(val) {return val.toFixed(2);}, |
| | | "xAxisDemo1": function xAxisDemo1(val) {return val + '年';}, |
| | | "xAxisDemo2": function xAxisDemo2(val) {return formatDateTime(val, 'h:m');}, |
| | | "seriesDemo1": function seriesDemo1(val) {return val + '元';}, |
| | | "tooltipDemo1": function tooltipDemo1(item, category, index, opts) { |
| | | if (index == 0) { |
| | | return '随便用' + item.data + '年'; |
| | | } else { |
| | | return '其他我没改' + item.data + '天'; |
| | | } |
| | | }, |
| | | "pieDemo": function pieDemo(val, index, series) { |
| | | if (index !== undefined) { |
| | | return series[index].name + ':' + series[index].data + '元'; |
| | | } |
| | | } }, |
| | | |
| | | //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在opts参数,会将demotype与opts中option合并后渲染图表。 |
| | | "demotype": { |
| | | //我这里把曲线图当做了自定义图表类型,您可以根据需要随意指定类型或配置 |
| | | "type": "line", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2 }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "line": { |
| | | "type": "curve", |
| | | "width": 2 } } }, |
| | | |
| | | |
| | | |
| | | //下面是自定义配置,请添加项目所需的通用配置 |
| | | "pie": { |
| | | "type": "pie", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "extra": { |
| | | "pie": { |
| | | "activeOpacity": 0.5, |
| | | "activeRadius": 10, |
| | | "offsetAngle": 0, |
| | | "labelWidth": 15, |
| | | "border": true, |
| | | "borderWidth": 3, |
| | | "borderColor": "#FFFFFF" } } }, |
| | | |
| | | |
| | | |
| | | "ring": { |
| | | "type": "ring", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "rotate": false, |
| | | "dataLabel": true, |
| | | "legend": { |
| | | "show": true, |
| | | "position": "right", |
| | | "lineHeight": 25 }, |
| | | |
| | | "title": { |
| | | "name": "收益率", |
| | | "fontSize": 15, |
| | | "color": "#666666" }, |
| | | |
| | | "subtitle": { |
| | | "name": "70%", |
| | | "fontSize": 25, |
| | | "color": "#7cb5ec" }, |
| | | |
| | | "extra": { |
| | | "ring": { |
| | | "ringWidth": 30, |
| | | "activeOpacity": 0.5, |
| | | "activeRadius": 10, |
| | | "offsetAngle": 0, |
| | | "labelWidth": 15, |
| | | "border": true, |
| | | "borderWidth": 3, |
| | | "borderColor": "#FFFFFF" } } }, |
| | | |
| | | |
| | | |
| | | "rose": { |
| | | "type": "rose", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "legend": { |
| | | "show": true, |
| | | "position": "left", |
| | | "lineHeight": 25 }, |
| | | |
| | | "extra": { |
| | | "rose": { |
| | | "type": "area", |
| | | "minRadius": 50, |
| | | "activeOpacity": 0.5, |
| | | "activeRadius": 10, |
| | | "offsetAngle": 0, |
| | | "labelWidth": 15, |
| | | "border": false, |
| | | "borderWidth": 2, |
| | | "borderColor": "#FFFFFF" } } }, |
| | | |
| | | |
| | | |
| | | "word": { |
| | | "type": "word", |
| | | "color": color, |
| | | "extra": { |
| | | "word": { |
| | | "type": "normal", |
| | | "autoColors": false } } }, |
| | | |
| | | |
| | | |
| | | "funnel": { |
| | | "type": "funnel", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "extra": { |
| | | "funnel": { |
| | | "activeOpacity": 0.3, |
| | | "activeWidth": 10, |
| | | "border": true, |
| | | "borderWidth": 2, |
| | | "borderColor": "#FFFFFF", |
| | | "fillOpacity": 1, |
| | | "labelAlign": "right" } } }, |
| | | |
| | | |
| | | |
| | | "map": { |
| | | "type": "map", |
| | | "color": color, |
| | | "padding": [0, 0, 0, 0], |
| | | "dataLabel": true, |
| | | "extra": { |
| | | "map": { |
| | | "border": true, |
| | | "borderWidth": 1, |
| | | "borderColor": "#666666", |
| | | "fillOpacity": 0.6, |
| | | "activeBorderColor": "#F04864", |
| | | "activeFillColor": "#FACC14", |
| | | "activeFillOpacity": 1 } } }, |
| | | |
| | | |
| | | |
| | | "arcbar": { |
| | | "type": "arcbar", |
| | | "color": color, |
| | | "title": { |
| | | "name": "百分比", |
| | | "fontSize": 25, |
| | | "color": "#00FF00" }, |
| | | |
| | | "subtitle": { |
| | | "name": "默认标题", |
| | | "fontSize": 15, |
| | | "color": "#666666" }, |
| | | |
| | | "extra": { |
| | | "arcbar": { |
| | | "type": "default", |
| | | "width": 12, |
| | | "backgroundColor": "#E9E9E9", |
| | | "startAngle": 0.75, |
| | | "endAngle": 0.25, |
| | | "gap": 2 } } }, |
| | | |
| | | |
| | | |
| | | "line": { |
| | | "type": "line", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2 }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "line": { |
| | | "type": "straight", |
| | | "width": 2 } } }, |
| | | |
| | | |
| | | |
| | | "tline": { |
| | | "type": "line", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": false, |
| | | "boundaryGap": "justify" }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2, |
| | | "data": [ |
| | | { |
| | | "min": 0, |
| | | "max": 80 }] }, |
| | | |
| | | |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "line": { |
| | | "type": "curve", |
| | | "width": 2 } } }, |
| | | |
| | | |
| | | |
| | | "tarea": { |
| | | "type": "area", |
| | | "color": color, |
| | | "padding": [15, 10, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true, |
| | | "boundaryGap": "justify" }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2, |
| | | "data": [ |
| | | { |
| | | "min": 0, |
| | | "max": 80 }] }, |
| | | |
| | | |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "area": { |
| | | "type": "curve", |
| | | "opacity": 0.2, |
| | | "addLine": true, |
| | | "width": 2, |
| | | "gradient": true } } }, |
| | | |
| | | |
| | | |
| | | "column": { |
| | | "type": "column", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 5], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "data": [{ "min": 0 }] }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "column": { |
| | | "type": "group", |
| | | "width": 30, |
| | | "activeBgColor": "#000000", |
| | | "activeBgOpacity": 0.08 } } }, |
| | | |
| | | |
| | | |
| | | "bar": { |
| | | "type": "bar", |
| | | "color": color, |
| | | "padding": [15, 30, 0, 5], |
| | | "xAxis": { |
| | | "boundaryGap": "justify", |
| | | "disableGrid": false, |
| | | "min": 0, |
| | | "axisLine": false }, |
| | | |
| | | "yAxis": {}, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "bar": { |
| | | "type": "group", |
| | | "width": 30, |
| | | "meterBorde": 1, |
| | | "meterFillColor": "#FFFFFF", |
| | | "activeBgColor": "#000000", |
| | | "activeBgOpacity": 0.08 } } }, |
| | | |
| | | |
| | | |
| | | "area": { |
| | | "type": "area", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "gridType": "dash", |
| | | "dashLength": 2 }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "area": { |
| | | "type": "straight", |
| | | "opacity": 0.2, |
| | | "addLine": true, |
| | | "width": 2, |
| | | "gradient": false } } }, |
| | | |
| | | |
| | | |
| | | "radar": { |
| | | "type": "radar", |
| | | "color": color, |
| | | "padding": [5, 5, 5, 5], |
| | | "dataLabel": false, |
| | | "legend": { |
| | | "show": true, |
| | | "position": "right", |
| | | "lineHeight": 25 }, |
| | | |
| | | "extra": { |
| | | "radar": { |
| | | "gridType": "radar", |
| | | "gridColor": "#CCCCCC", |
| | | "gridCount": 3, |
| | | "opacity": 0.2, |
| | | "max": 200 } } }, |
| | | |
| | | |
| | | |
| | | "gauge": { |
| | | "type": "gauge", |
| | | "color": color, |
| | | "title": { |
| | | "name": "66Km/H", |
| | | "fontSize": 25, |
| | | "color": "#2fc25b", |
| | | "offsetY": 50 }, |
| | | |
| | | "subtitle": { |
| | | "name": "实时速度", |
| | | "fontSize": 15, |
| | | "color": "#1890ff", |
| | | "offsetY": -50 }, |
| | | |
| | | "extra": { |
| | | "gauge": { |
| | | "type": "default", |
| | | "width": 30, |
| | | "labelColor": "#666666", |
| | | "startAngle": 0.75, |
| | | "endAngle": 0.25, |
| | | "startNumber": 0, |
| | | "endNumber": 100, |
| | | "labelFormat": "", |
| | | "splitLine": { |
| | | "fixRadius": 0, |
| | | "splitNumber": 10, |
| | | "width": 30, |
| | | "color": "#FFFFFF", |
| | | "childNumber": 5, |
| | | "childWidth": 12 }, |
| | | |
| | | "pointer": { |
| | | "width": 24, |
| | | "color": "auto" } } } }, |
| | | |
| | | |
| | | |
| | | |
| | | "candle": { |
| | | "type": "candle", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "enableScroll": true, |
| | | "enableMarkLine": true, |
| | | "dataLabel": false, |
| | | "xAxis": { |
| | | "labelCount": 4, |
| | | "itemCount": 40, |
| | | "disableGrid": true, |
| | | "gridColor": "#CCCCCC", |
| | | "gridType": "solid", |
| | | "dashLength": 4, |
| | | "scrollShow": true, |
| | | "scrollAlign": "left", |
| | | "scrollColor": "#A6A6A6", |
| | | "scrollBackgroundColor": "#EFEBEF" }, |
| | | |
| | | "yAxis": {}, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "candle": { |
| | | "color": { |
| | | "upLine": "#f04864", |
| | | "upFill": "#f04864", |
| | | "downLine": "#2fc25b", |
| | | "downFill": "#2fc25b" }, |
| | | |
| | | "average": { |
| | | "show": true, |
| | | "name": ["MA5", "MA10", "MA30"], |
| | | "day": [5, 10, 20], |
| | | "color": ["#1890ff", "#2fc25b", "#facc14"] } }, |
| | | |
| | | |
| | | "markLine": { |
| | | "type": "dash", |
| | | "dashLength": 5, |
| | | "data": [ |
| | | { |
| | | "value": 2150, |
| | | "lineColor": "#f04864", |
| | | "showLabel": true }, |
| | | |
| | | { |
| | | "value": 2350, |
| | | "lineColor": "#f04864", |
| | | "showLabel": true }] } } }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | "mix": { |
| | | "type": "mix", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": true }, |
| | | |
| | | "yAxis": { |
| | | "disabled": false, |
| | | "disableGrid": false, |
| | | "splitNumber": 5, |
| | | "gridType": "dash", |
| | | "dashLength": 4, |
| | | "gridColor": "#CCCCCC", |
| | | "padding": 10, |
| | | "showTitle": true, |
| | | "data": [] }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "mix": { |
| | | "column": { |
| | | "width": 20 } } } }, |
| | | |
| | | |
| | | |
| | | |
| | | "scatter": { |
| | | "type": "scatter", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "dataLabel": false, |
| | | "xAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash", |
| | | "splitNumber": 5, |
| | | "boundaryGap": "justify", |
| | | "min": 0 }, |
| | | |
| | | "yAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash" }, |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "scatter": {} } }, |
| | | |
| | | |
| | | |
| | | "bubble": { |
| | | "type": "bubble", |
| | | "color": color, |
| | | "padding": [15, 15, 0, 15], |
| | | "xAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash", |
| | | "splitNumber": 5, |
| | | "boundaryGap": "justify", |
| | | "min": 0, |
| | | "max": 250 }, |
| | | |
| | | "yAxis": { |
| | | "disableGrid": false, |
| | | "gridType": "dash", |
| | | "data": [{ |
| | | "min": 0, |
| | | "max": 150 }] }, |
| | | |
| | | |
| | | "legend": {}, |
| | | |
| | | "extra": { |
| | | "bubble": { |
| | | "border": 2, |
| | | "opacity": 0.5 } } } };var _default = |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | cfu;exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 94 */ |
| | | /*!**********************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/js_sdk/u-charts/config-echarts.js ***! |
| | | \**********************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* |
| | | * uCharts® |
| | | * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台 |
| | | * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved. |
| | | * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) |
| | | * 复制使用请保留本段注释,感谢支持开源! |
| | | * |
| | | * uCharts®官方网站 |
| | | * https://www.uCharts.cn |
| | | * |
| | | * 开源地址: |
| | | * https://gitee.com/uCharts/uCharts |
| | | * |
| | | * uni-app插件市场地址: |
| | | * http://ext.dcloud.net.cn/plugin?id=271 |
| | | * |
| | | */ |
| | | |
| | | // 通用配置项 |
| | | |
| | | // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性 |
| | | var color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc']; |
| | | |
| | | var cfe = { |
| | | //demotype为自定义图表类型 |
| | | "type": ["pie", "ring", "rose", "funnel", "line", "column", "area", "radar", "gauge", "candle", "demotype"], |
| | | //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型例如最后的"demotype" |
| | | "categories": ["line", "column", "area", "radar", "gauge", "candle", "demotype"], |
| | | //instance为实例变量承载属性,option为eopts承载属性,不要删除 |
| | | "instance": {}, |
| | | "option": {}, |
| | | //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换 |
| | | "formatter": { |
| | | "tooltipDemo1": function tooltipDemo1(res) { |
| | | var result = ''; |
| | | for (var i in res) { |
| | | if (i == 0) { |
| | | result += res[i].axisValueLabel + '年销售额'; |
| | | } |
| | | var value = '--'; |
| | | if (res[i].data !== null) { |
| | | value = res[i].data; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | result += '<br/>' + res[i].marker + res[i].seriesName + ':' + value + ' 万元'; |
| | | |
| | | } |
| | | return result; |
| | | }, |
| | | legendFormat: function legendFormat(name) { |
| | | return "自定义图例+" + name; |
| | | }, |
| | | yAxisFormatDemo: function yAxisFormatDemo(value, index) { |
| | | return value + '元'; |
| | | }, |
| | | seriesFormatDemo: function seriesFormatDemo(res) { |
| | | return res.name + '年' + res.value + '元'; |
| | | } }, |
| | | |
| | | //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在eopts参数,会将demotype与eopts中option合并后渲染图表。 |
| | | "demotype": { |
| | | "color": color |
| | | //在这里填写echarts的option即可 |
| | | }, |
| | | |
| | | //下面是自定义配置,请添加项目所需的通用配置 |
| | | "column": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'axis' }, |
| | | |
| | | "grid": { |
| | | "top": 30, |
| | | "bottom": 50, |
| | | "right": 15, |
| | | "left": 40 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left' }, |
| | | |
| | | "toolbox": { |
| | | "show": false }, |
| | | |
| | | "xAxis": { |
| | | "type": 'category', |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } }, |
| | | |
| | | |
| | | "boundaryGap": true, |
| | | "data": [] }, |
| | | |
| | | "yAxis": { |
| | | "type": 'value', |
| | | "axisTick": { |
| | | "show": false }, |
| | | |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } } }, |
| | | |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'bar', |
| | | "data": [], |
| | | "barwidth": 20, |
| | | "label": { |
| | | "show": true, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "line": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'axis' }, |
| | | |
| | | "grid": { |
| | | "top": 30, |
| | | "bottom": 50, |
| | | "right": 15, |
| | | "left": 40 }, |
| | | |
| | | "legend": { |
| | | "top": 'left', |
| | | "textStyle": { |
| | | "color": '#cccccc' } }, |
| | | |
| | | |
| | | "toolbox": { |
| | | "show": false }, |
| | | |
| | | "xAxis": { |
| | | "type": 'category', |
| | | "axisLabel": { |
| | | "color": '#CCCCCC' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } }, |
| | | |
| | | |
| | | "boundaryGap": false, |
| | | "data": [] }, |
| | | |
| | | "yAxis": { |
| | | "type": 'value', |
| | | "axisTick": { |
| | | "show": false }, |
| | | |
| | | "axisLabel": { |
| | | "color": '#CCCCCC' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } } }, |
| | | |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'line', |
| | | "data": [], |
| | | "barwidth": 20, |
| | | "label": { |
| | | "show": false, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "area": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'axis' }, |
| | | |
| | | "grid": { |
| | | "top": 30, |
| | | "bottom": 50, |
| | | "right": 15, |
| | | "left": 40 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left' }, |
| | | |
| | | "toolbox": { |
| | | "show": false }, |
| | | |
| | | "xAxis": { |
| | | "type": 'category', |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } }, |
| | | |
| | | |
| | | "boundaryGap": true, |
| | | "data": [] }, |
| | | |
| | | "yAxis": { |
| | | "type": 'value', |
| | | "axisTick": { |
| | | "show": false }, |
| | | |
| | | "axisLabel": { |
| | | "color": '#666666' }, |
| | | |
| | | "axisLine": { |
| | | "lineStyle": { |
| | | "color": '#CCCCCC' } } }, |
| | | |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'line', |
| | | "data": [], |
| | | "areaStyle": {}, |
| | | "label": { |
| | | "show": true, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "pie": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item' }, |
| | | |
| | | "grid": { |
| | | "top": 40, |
| | | "bottom": 30, |
| | | "right": 15, |
| | | "left": 15 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'pie', |
| | | "data": [], |
| | | "radius": '50%', |
| | | "label": { |
| | | "show": true, |
| | | "color": "#666666", |
| | | "position": 'top' } } }, |
| | | |
| | | |
| | | |
| | | "ring": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item' }, |
| | | |
| | | "grid": { |
| | | "top": 40, |
| | | "bottom": 30, |
| | | "right": 15, |
| | | "left": 15 }, |
| | | |
| | | "legend": { |
| | | "bottom": 'left', |
| | | "textStyle": { |
| | | "color": '#cccccc' } }, |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'pie', |
| | | "data": [], |
| | | "radius": ['30%', '60%'], |
| | | "avoidLabelOverlap": false, |
| | | "label": { |
| | | "show": false, |
| | | "color": "#FFF", |
| | | "position": 'top' }, |
| | | |
| | | "labelLine": { |
| | | "show": true } } }, |
| | | |
| | | |
| | | |
| | | "rose": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item' }, |
| | | |
| | | "legend": { |
| | | "top": 'bottom' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'pie', |
| | | "data": [], |
| | | "radius": "55%", |
| | | "center": ['50%', '50%'], |
| | | "roseType": 'area' } }, |
| | | |
| | | |
| | | "funnel": { |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "tooltip": { |
| | | "trigger": 'item', |
| | | "formatter": "{b} : {c}%" }, |
| | | |
| | | "legend": { |
| | | "top": 'bottom' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'funnel', |
| | | "left": '10%', |
| | | "top": 60, |
| | | "bottom": 60, |
| | | "width": '80%', |
| | | "min": 0, |
| | | "max": 100, |
| | | "minSize": '0%', |
| | | "maxSize": '100%', |
| | | "sort": 'descending', |
| | | "gap": 2, |
| | | "label": { |
| | | "show": true, |
| | | "position": 'inside' }, |
| | | |
| | | "labelLine": { |
| | | "length": 10, |
| | | "lineStyle": { |
| | | "width": 1, |
| | | "type": 'solid' } }, |
| | | |
| | | |
| | | "itemStyle": { |
| | | "bordercolor": '#fff', |
| | | "borderwidth": 1 }, |
| | | |
| | | "emphasis": { |
| | | "label": { |
| | | "fontSize": 20 } }, |
| | | |
| | | |
| | | "data": [] } }, |
| | | |
| | | |
| | | "gauge": { |
| | | "color": color, |
| | | "tooltip": { |
| | | "formatter": '{a} <br/>{b} : {c}%' }, |
| | | |
| | | "seriesTemplate": { |
| | | "name": '业务指标', |
| | | "type": 'gauge', |
| | | "detail": { "formatter": '{value}%' }, |
| | | "data": [{ "value": 50, "name": '完成率' }] } }, |
| | | |
| | | |
| | | "candle": { |
| | | "xAxis": { |
| | | "data": [] }, |
| | | |
| | | "yAxis": {}, |
| | | "color": color, |
| | | "title": { |
| | | "text": '' }, |
| | | |
| | | "dataZoom": [{ |
| | | "type": 'inside', |
| | | "xAxisIndex": [0, 1], |
| | | "start": 10, |
| | | "end": 100 }, |
| | | |
| | | { |
| | | "show": true, |
| | | "xAxisIndex": [0, 1], |
| | | "type": 'slider', |
| | | "bottom": 10, |
| | | "start": 10, |
| | | "end": 100 }], |
| | | |
| | | |
| | | "seriesTemplate": { |
| | | "name": '', |
| | | "type": 'k', |
| | | "data": [] } } };var _default = |
| | | |
| | | |
| | | |
| | | |
| | | cfe;exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 95 */ |
| | | /*!**************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=script&lang=js& ***! |
| | | \**************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=script&lang=js& */ 96); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_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 _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_script_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 96 */ |
| | | /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=script&lang=js& ***! |
| | | \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = |
| | | |
| | | { |
| | | name: "qiun-data-charts", props: ["type", "canvasId", "canvas2d", "background", "animation", "chartData", "opts", "eopts", "loadingType", "errorShow", "errorReload", "errorMessage", "inScrollView", "reshow", "reload", "disableScroll", "ontap", "ontouch", "onmouse", "onmovetip", "echartsH5", "echartsApp", "tooltipShow", "tooltipFormat", "tooltipCustom", "startDate", "endDate", "textEnum", "groupEnum", "pageScrollTop", "directory", "tapLegend", "menus"], |
| | | data: function data() { |
| | | return { |
| | | wxsProps: {} }; |
| | | |
| | | }, |
| | | components: {} };exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 97 */ |
| | | /*!**********************************************************************************************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& ***! |
| | | \**********************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& */ 98); |
| | | /* harmony import */ var _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); |
| | | /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); |
| | | /* harmony default export */ __webpack_exports__["default"] = (_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_app_vue_style_loader_index_js_ref_6_oneOf_1_0_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_APP_HBuilderX_3_4_18_20220630_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_view_style_js_qiun_data_charts_vue_vue_type_style_index_0_id_fe947b98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); |
| | | |
| | | /***/ }), |
| | | /* 98 */ |
| | | /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& ***! |
| | | \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // style-loader: Adds some css to the DOM by adding a <style> tag |
| | | |
| | | // load the styles |
| | | var content = __webpack_require__(/*! !../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!./qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& */ 99); |
| | | if(content.__esModule) content = content.default; |
| | | if(typeof content === 'string') content = [[module.i, content, '']]; |
| | | if(content.locals) module.exports = content.locals; |
| | | // add the styles to the DOM |
| | | var add = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/app-vue-style-loader/lib/addStylesClient.js */ 20).default |
| | | var update = add("cdb46eb0", content, false, {"sourceMap":false,"shadowMode":false}); |
| | | // Hot Module Replacement |
| | | if(false) {} |
| | | |
| | | /***/ }), |
| | | /* 99 */ |
| | | /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ |
| | | !*** ./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!D:/Workspace/zy/private/Monitor-APP/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue?vue&type=style&index=0&id=fe947b98&scoped=true&lang=css& ***! |
| | | \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.chartsview[data-v-fe947b98] {\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n flex: 1;\r\n justify-content: center;\r\n align-items: center;\n}\r\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |
| | | |
| | | /***/ }), |
| | | /* 100 */ |
| | | /*!****************************************************************************************************!*\ |
| | | !*** D:/Workspace/zy/private/Monitor-APP/uni_modules/uni-popup/components/uni-popup/uni-popup.vue ***! |
| | |
| | | |
| | | // Imports |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 19); |
| | | var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/app-plus/getUrl.js */ 27); |
| | | var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! ../../static/background.png */ 28); |
| | | var ___CSS_LOADER_URL_IMPORT_1___ = __webpack_require__(/*! ../../static/right.png */ 29); |
| | | var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(/*! ../../../../../../APP/HBuilderX.3.4.18.20220630/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/lib/app-plus/getUrl.js */ 94); |
| | | var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(/*! ../../static/background.png */ 95); |
| | | var ___CSS_LOADER_URL_IMPORT_1___ = __webpack_require__(/*! ../../static/right.png */ 96); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); |
| | | var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___); |
| | | // Module |
| | | exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 弹出:配置区域 */\n.eject-mask {\n\twidth: 100%;\n\theight: 100%;\n\tbackground-color: rgba(0, 0, 0, 0.5);\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tz-index: 999;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n.eject{\n\tposition: relative;\n\twidth: 600px;\n\theight: 350px;\n\tbackground-color: #eaeaea;\n\tborder-radius: 25rpx;\n}\n.eject-title {\n\twidth: 100%;\n\theight: 100px;\n\tline-height: 100px;\n\tfont-size: 20px;\n\tfont-weight: 700;\n\tcolor: \t#606266;\n\ttext-align: center;\n}\n.eject-input {\n}\n.item {\n\tdisplay: flex;\n\talign-items: center;\n\tmargin: 10px 0 0 0;\n}\n.desc {\n\tdisplay: inline-block;\n\twidth: 40%;\n\ttext-align: right;\n\tcolor: #606266;\n\tfont-size: 18px;\n}\n.input {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-left: 5px;\n\tpadding-right: 5px;\n\twidth: 100%;\n\theight: 30px;\n\tborder: 1px solid #C0C4CC;\n\tmargin-right: 50px;\n}\n.eject-input uni-input {\n\twidth: 100%;\n}\n.eject-button {\n\tdisplay: flex;\n\talign-items: center;\n\tposition: absolute;\n\tbottom: 0;\n\theight: 60px;\n\tline-height: 60px;\n\twidth: 100%;\n\tborder-top: 1px solid #ccc;\n}\n.button-item {\n\twidth: 50%;\n\theight: 100%;\n\tfont-size: 20px;\n\tfont-weight: bold;\n\ttext-align: center;\n\tcolor: #909399;\n}\n.button-item:last-child {\n\tcolor: #67C23A;\n\t\n\tborder-left: 1px solid #ccc;\n}\n.full-width {\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: inline-block;\n\tfloat: left;\n}\n.half-width {\n\twidth: 50%;\n\theight: 100%;\n\tdisplay: inline-block;\n\tfloat: left;\n}\n.box-items {\n\theight: 20%;\n\twidth: 100%;\n\t/* background-color: #233751; */\n\tline-height: 300rpx;\n}\n/* 当前页面无 orderNo */\n.swiper-here {\n\tdisplay: inline-block;\n\tmargin: 0 auto;\n\twidth: 100%;\n\theight: 100%;\n}\n/* 当前页面有 orderNo */\n.swiper-here-oN{\n\tdisplay: inline-block;\n\t/* background-color: #063A7B; */\n\tmargin: 0 auto;\n\twidth: 100%;\n\theight: 90%;\n}\n/* 当前页面有 error提示 */\n.swiper-here-error {\n\tdisplay: inline-block;\n\t/* background-color: #063A7B; */\n\t/* margin: 0 auto; */\n\tmargin-top: 20%;\n\twidth: 100%;\n\theight: 100%;\n}\n.animate {\n\tdisplay: inline-block;\n /* white-space: nowrap; */\n -webkit-animation: 25s wordsLoop linear infinite normal;\n animation: 25s wordsLoop linear infinite normal;\n}\n@keyframes wordsLoop {\n0% {\n transform: translateY(100px);\n -webkit-transform: translateY(100px);\n}\n100% {\n transform: translateY(-100%);\n -webkit-transform: translateY(-100%);\n}\n}\n@-webkit-keyframes wordsLoop {\n0% {\n transform: translateY(100px);\n -webkit-transform: translateY(100px);\n}\n100% {\n transform: translateY(-100%);\n -webkit-transform: translateY(-100%);\n}\n}\n/* animation:upMove 1.5s 1; */\n/* downMove */\n/* 上层向上 */\n.topUp {\n\t-webkit-animation: topUp 1.5s 1;\n\t animation: topUp 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes topUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\n}\n@keyframes topUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\n}\n/* 上层向下 */\n.topDown {\n\t-webkit-animation: topDown 1.5s 1;\n\t animation: topDown 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes topDown\n\t{\nfrom {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\nto {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\n}\n@keyframes topDown\n\t{\nfrom {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\nto {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\n}\n/* 下层向上 */\n.floorUp {\n\t-webkit-animation: floorUp 1.5s 1;\n\t animation: floorUp 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes floorUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 0px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 1080px;\n}\n}\n@keyframes floorUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 0px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 1080px;\n}\n}\n/* 下层向下 */\n.floorDown {\n\t-webkit-animation: floorDown 1.5s 1;\n\t animation: floorDown 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes floorDown {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 1080px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: -0px;\n}\n}\n@keyframes floorDown {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 1080px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: -0px;\n}\n}\n.top-screen {\n\tposition: fixed;\n\twidth: 1920px;\n\theight: 1080px;\n\t/* top: -1000px; */\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n\t/* background:red; */\n\t/* animation:upMove 1.5s 1; */\n\tz-index: 999;\n}\n.floor-screen {\n\twidth: 1920px;\n\theight: 1080px;\n\tposition: relative;\n\tcolor: #FFFFFF;\n\ttext-align: center;\n\tfont-size: 120rpx;\n\tletter-spacing: 5rpx;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n}\n.container {\n\twidth: 1920px;\n\theight: 1080px;\n\t\n\tposition: relative;\n\t/* background: #000428; \n\tbackground: -webkit-linear-gradient(to right, #004e92, #000428); \n\tbackground: linear-gradient(to right, #004e92, #000428); */\n}\n.head {\n\t/* background-color: #55aaff; */\n\twidth: 100%;\n\theight: 10%;\n\ttext-align: center;\n\tline-height: 110px;\n\tcolor: #FFFFFF;\n\tfont-size: 40px;\n\tfont-weight: 700;\n\tletter-spacing: 5px;\n}\n.head uni-text {\n\t-webkit-transform: scale(1,0.9);\n\t transform: scale(1,0.9);\n}\n.time-tools {\n\theight: 5%;\n\t/* background-color: #007AFF; */\n\tposition: absolute;\n\ttop: 0;\n\tfloat: right;\n\tright: 50px;\n\tfont-size: 16px;\n\tfont-weight: 400;\n\tline-height: 70px;\n\tletter-spacing: 1px;\n}\n.button-left {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 21.3%;\n\twidth: 13.5%;\n\theight: 8.5%;\n\t-webkit-transform: scaleX(-1);\n\t transform: scaleX(-1);\n}\n.button-right {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 65%;\n\twidth: 13.5%;\n\theight: 8.5%;\n}\n.main {\n\t/* background-color: #3F536E; */\n\tposition: relative;\n\twidth: 100%;\n\theight: 90%;\n}\n.main-sides {\n\t/* background-color: #004E92; */\n\tposition: relative;\n\tdisplay: inline-block;\n\tfloat: left;\n\twidth: 50%;\n\theight: 100%;\n\t/* margin: 2% auto 0 3.2%;\n\tborder: 1px solid rgba(20, 80, 136, 1); */\n}\n.box {\n\tposition: relative;\n\t/* background-color: #ffffff; */\n\tmargin: 3% 2% 0 2%;\n\twidth: 96%;\n\theight: 30%;\n\tborder: 1px solid rgba(20, 80, 136, 1);\n\toverflow: hidden;\n}\n.box-lg {\n\theight: 94%;\n}\n.box-border {\n\tposition: absolute;\n\t/* background-color: #4CD964; */\n\twidth: 10px;\n\theight: 10px;\n}\n.box-border1 {\n\ttop: 0;\n\tleft: 0;\n\tborder-left: 2px solid #31c4c4;\n\tborder-top: 2px solid #31c4c4;\n}\n.box-border2 {\n\ttop: 0;\n\tright: 0;\n\tborder-right: 2px solid #31c4c4;\n\tborder-top: 2px solid #31c4c4;\n}\n.box-border3 {\n\tbottom: 0;\n\tleft: 0;\n\tborder-bottom: 2px solid #31c4c4;\n\tborder-left: 2px solid #31c4c4;\n}\n.box-border4 {\n\tbottom: 0;\n\tright: 0;\n\tborder-right: 2px solid #31c4c4;\n\tborder-bottom: 2px solid #31c4c4;\n}\n.content {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n.charts-box {\n width: 80%;\n height: 230px;\n margin-left: 10%;\n /* background-color: #fff; */\n}\n.ring {\n\tdisplay: inline-block;\n\tfloat: left;\n\twidth: 60%;\n\theight: 300px;\n\tmargin-left: -10%;\n}\n.box-item {\n\t/* background-color: #2C405A; */\n\twidth: 92%;\n\theight: 20%;\n\tmargin-left: 4%;\n\tpadding-top: 1em;\n\tcolor: #FFFFFF;\n}\n.introduce {\n\theight: 30%;\n}\n.introduce h2 {\n\tletter-spacing: 5px;\n}\n.english {\n\tfont-size: 14px;\n}\n.introduce-content {\n\tfont-size: 20px;\n\tpadding-top: 2em;\n\ttext-indent: 2em;\n\tline-height: 2em;\n}\n.charge-info {\n\t/* background-color: #2C405A; */\n\theight: 45%;\n}\n.charge-info-item {\n\t/* background-color: #EE6666; */\n\tdisplay: inline-block;\n\twidth: 50%;\n\theight: 40%;\n}\n.charge-info-item uni-image {\n\tdisplay: inline-block;\n\tfloat: left;\n\t/* background-color: #4CD964; */\n\theight: 100%;\n\twidth: 20%;\n}\n.charge-info-item uni-view {\n\tdisplay: inline-block;\n\tposition: relative;\n\tmargin-left: 10%;\n\twidth: 70%;\n\theight: 49%;\n\t/* background-color: #1890FF; */\n}\n.charge-info-item .count, .charge-info-item .unit{\n\tposition: absolute;\n\tdisplay: inline-block;\n\tfont-size: 32px;\n\tbottom: 0;\n\tpadding-left: 5%;\n}\n.charge-info-item .unit {\n\tfont-size: 16px;\n\tfloat: right;\n\tright: 20%;\n}\n.footer {\n\tposition: absolute;\n\tborder: 1px solid rgba(20, 80, 136, 1);\n\theight: 15%;\n}\n.use-info {\n\t/* background-color: #007AFF; */\n}\n.use-left {\n\tdisplay: inline-block;\n\t/* background-color: #2C405A; */\n\twidth: 40%;\n}\n.use-right {\n\tdisplay: inline-block;\n\t/* background-color: #2C405A; */\n\tfloat: right;\n\twidth: 20%;\n}\n.use-main {\n\twidth: 100%;\n\theight: 75%;\n\t/* background-color: #4CD964; */\n}\n.use-main .left {\n\t/* background-color: #ffaa7f; */\n\tdisplay: inline-block;\n\tfloat: left;\n\theight: 100%;\n\twidth: 70%;\n\tline-height: 20px;\n}\n.left .progressBar {\n\t/* margin-left: ; */\n\tmargin-top: 9%;\n\twidth: 100%;\n\theight: 20%;\n\tbackground-color: #233751;\n\tborder-radius: 20px;\n}\n.left .progress {\n\t/* width: 90%; */\n\theight: 100%;\n\tbackground-color: #FF5722;\n\tborder-radius: 20px;\n}\n.left uni-progress {\n\tmargin-left: 10%;\n\tmargin-top: 10%;\n\tdisplay: block;\n}\n.use-main .right {\n\t/* background-color: #ffaaff; */\n\tdisplay: inline-block;\n\tfloat: right;\n\theight: 100%;\n\twidth: 20%;\n\tfont-size: 40px;\n\tcolor: #FF5722;\n\tline-height: 130px;\n}\n.box-tp {\n\theight: 30%;\n}\n.box-tp .sub-main {\n\t/* background-color: #FFFFFF; */\n}\n.box-md {\n\theight: 43%;\n}\n.box-md .sub-main {\n}\n.sub-main-right {\n\tdisplay: inline-block;\n\theight: 100%;\n\twidth: 50%;\n}\n.sub-info {\n\twidth: 100%;\n\theight: 33%;\n}\n.sub-info uni-image {\n\tdisplay: inline-block;\n\tfloat: left;\n\theight: 100%;\n\twidth: 15%;\n}\n.sub-info uni-text {\n\tdisplay: inline-block;\n\twidth: 40%;\n\theight: 100%;\n\ttext-align: center;\n\tline-height: 120px;\n\tfont-size: 20px;\n}\n.box-bt {\n\tbackground-color: #063A7B;\n\tborder: none;\n\theight: 15%;\n\tcolor: #FFFFFF;\n}\n.box-bt uni-image {\n\tposition: absolute;\n\tfloat: right;\n\tright: 0;\n\ttop: 0;\n\twidth: 20%;\n\theight: 100%;\n}\n.box-bt {\n\tfont-size: 36px;\n\tline-height: 140px;\n\ttext-indent: 5em;\n}\n.right-item {\n\theight: 94%;\n}\n.sub-left {\n\tdisplay: inline-block;\n\tfloat: left;\n\twidth: 40%;\n}\n.sub-right {\n\tdisplay: inline-block;\n\tfloat: right;\n\twidth: 20%;\n}\n.sub-main {\n\tposition: absolute;\n\t/* background-color: #31C4C4; */\n\twidth: 92%;\n\theight: 80%;\n\tbottom: 0;\n}\n", ""]); |
| | | exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 弹出:配置区域 */\n.eject-mask {\n\twidth: 100%;\n\theight: 100%;\n\tbackground-color: rgba(0, 0, 0, 0.5);\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tz-index: 999;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n.eject{\n\tposition: relative;\n\twidth: 600px;\n\theight: 350px;\n\tbackground-color: #eaeaea;\n\tborder-radius: 25rpx;\n}\n.eject-title {\n\twidth: 100%;\n\theight: 100px;\n\tline-height: 100px;\n\tfont-size: 20px;\n\tfont-weight: 700;\n\tcolor: \t#606266;\n\ttext-align: center;\n}\n.eject-input {\n}\n.item {\n\tdisplay: flex;\n\talign-items: center;\n\tmargin: 10px 0 0 0;\n}\n.desc {\n\tdisplay: inline-block;\n\twidth: 40%;\n\ttext-align: right;\n\tcolor: #606266;\n\tfont-size: 18px;\n}\n.input {\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-left: 5px;\n\tpadding-right: 5px;\n\twidth: 100%;\n\theight: 30px;\n\tborder: 1px solid #C0C4CC;\n\tmargin-right: 50px;\n}\n.eject-input uni-input {\n\twidth: 100%;\n}\n.eject-button {\n\tdisplay: flex;\n\talign-items: center;\n\tposition: absolute;\n\tbottom: 0;\n\theight: 60px;\n\tline-height: 60px;\n\twidth: 100%;\n\tborder-top: 1px solid #ccc;\n}\n.button-item {\n\twidth: 50%;\n\theight: 100%;\n\tfont-size: 20px;\n\tfont-weight: bold;\n\ttext-align: center;\n\tcolor: #909399;\n}\n.button-item:last-child {\n\tcolor: #67C23A;\n\t\n\tborder-left: 1px solid #ccc;\n}\n.full-width {\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: inline-block;\n\tfloat: left;\n}\n.half-width {\n\twidth: 50%;\n\theight: 100%;\n\tdisplay: inline-block;\n\tfloat: left;\n}\n.box-items {\n\theight: 20%;\n\twidth: 100%;\n\t/* background-color: #233751; */\n\tline-height: 300rpx;\n}\n/* 当前页面无 orderNo */\n.swiper-here {\n\tdisplay: inline-block;\n\tmargin: 0 auto;\n\twidth: 100%;\n\theight: 100%;\n}\n/* 当前页面有 orderNo */\n.swiper-here-oN{\n\tdisplay: inline-block;\n\t/* background-color: #063A7B; */\n\tmargin: 0 auto;\n\twidth: 100%;\n\theight: 90%;\n}\n/* 当前页面有 error提示 */\n.swiper-here-error {\n\tdisplay: inline-block;\n\t/* background-color: #063A7B; */\n\t/* margin: 0 auto; */\n\tmargin-top: 20%;\n\twidth: 100%;\n\theight: 100%;\n}\n.animate {\n\tdisplay: inline-block;\n /* white-space: nowrap; */\n -webkit-animation: 25s wordsLoop linear infinite normal;\n animation: 25s wordsLoop linear infinite normal;\n}\n@keyframes wordsLoop {\n0% {\n transform: translateY(100px);\n -webkit-transform: translateY(100px);\n}\n100% {\n transform: translateY(-100%);\n -webkit-transform: translateY(-100%);\n}\n}\n@-webkit-keyframes wordsLoop {\n0% {\n transform: translateY(100px);\n -webkit-transform: translateY(100px);\n}\n100% {\n transform: translateY(-100%);\n -webkit-transform: translateY(-100%);\n}\n}\n/* animation:upMove 1.5s 1; */\n/* downMove */\n/* 上层向上 */\n.topUp {\n\t-webkit-animation: topUp 1.5s 1;\n\t animation: topUp 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes topUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\n}\n@keyframes topUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\n}\n/* 上层向下 */\n.topDown {\n\t-webkit-animation: topDown 1.5s 1;\n\t animation: topDown 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes topDown\n\t{\nfrom {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\nto {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\n}\n@keyframes topDown\n\t{\nfrom {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 0;\n}\nto {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop:-1080px\n}\n}\n/* 下层向上 */\n.floorUp {\n\t-webkit-animation: floorUp 1.5s 1;\n\t animation: floorUp 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes floorUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 0px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 1080px;\n}\n}\n@keyframes floorUp {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 0px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: 1080px;\n}\n}\n/* 下层向下 */\n.floorDown {\n\t-webkit-animation: floorDown 1.5s 1;\n\t animation: floorDown 1.5s 1;\n\t-webkit-animation-fill-mode: both;\n\t animation-fill-mode: both;\n}\n@-webkit-keyframes floorDown {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 1080px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: -0px;\n}\n}\n@keyframes floorDown {\nfrom {\n\t\topacity: 0.5;\n\t\t/* background-color:blue; */\n\t\ttop: 1080px;\n}\nto {\n\t\topacity: 1;\n\t\t/* background-color:red; */\n\t\ttop: -0px;\n}\n}\n.top-screen {\n\tposition: fixed;\n\twidth: 1920px;\n\theight: 1080px;\n\t/* top: -1000px; */\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n\t/* background:red; */\n\t/* animation:upMove 1.5s 1; */\n\tz-index: 999;\n}\n.floor-screen {\n\twidth: 1920px;\n\theight: 1080px;\n\tposition: relative;\n\tcolor: #FFFFFF;\n\ttext-align: center;\n\tfont-size: 120rpx;\n\tletter-spacing: 5rpx;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n}\n.container {\n\twidth: 1920px;\n\theight: 1080px;\n\t\n\tposition: relative;\n\t/* background: #000428; \n\tbackground: -webkit-linear-gradient(to right, #004e92, #000428); \n\tbackground: linear-gradient(to right, #004e92, #000428); */\n}\n.head {\n\t/* background-color: #55aaff; */\n\twidth: 100%;\n\theight: 10%;\n\ttext-align: center;\n\tline-height: 110px;\n\tcolor: #FFFFFF;\n\tfont-size: 40px;\n\tfont-weight: 700;\n\tletter-spacing: 5px;\n}\n.head uni-text {\n\t-webkit-transform: scale(1,0.9);\n\t transform: scale(1,0.9);\n}\n.time-tools {\n\theight: 5%;\n\t/* background-color: #007AFF; */\n\tposition: absolute;\n\ttop: 0;\n\tfloat: right;\n\tright: 50px;\n\tfont-size: 16px;\n\tfont-weight: 400;\n\tline-height: 70px;\n\tletter-spacing: 1px;\n}\n.button-left {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 21.3%;\n\twidth: 13.5%;\n\theight: 8.5%;\n\t-webkit-transform: scaleX(-1);\n\t transform: scaleX(-1);\n}\n.button-right {\n\tposition: absolute;\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\n\tbackground-size: 100% 100%;\n\ttop: 1.8%;\n\tleft: 65%;\n\twidth: 13.5%;\n\theight: 8.5%;\n}\n.main {\n\t/* background-color: #3F536E; */\n\tposition: relative;\n\twidth: 100%;\n\theight: 90%;\n}\n.main-sides {\n\t/* background-color: #004E92; */\n\tposition: relative;\n\tdisplay: inline-block;\n\tfloat: left;\n\twidth: 50%;\n\theight: 100%;\n\t/* margin: 2% auto 0 3.2%;\n\tborder: 1px solid rgba(20, 80, 136, 1); */\n}\n.box {\n\tposition: relative;\n\t/* background-color: #ffffff; */\n\tmargin: 3% 2% 0 2%;\n\twidth: 96%;\n\theight: 30%;\n\tborder: 1px solid rgba(20, 80, 136, 1);\n\toverflow: hidden;\n}\n.box-lg {\n\theight: 94%;\n}\n.box-border {\n\tposition: absolute;\n\t/* background-color: #4CD964; */\n\twidth: 10px;\n\theight: 10px;\n}\n.box-border1 {\n\ttop: 0;\n\tleft: 0;\n\tborder-left: 2px solid #31c4c4;\n\tborder-top: 2px solid #31c4c4;\n}\n.box-border2 {\n\ttop: 0;\n\tright: 0;\n\tborder-right: 2px solid #31c4c4;\n\tborder-top: 2px solid #31c4c4;\n}\n.box-border3 {\n\tbottom: 0;\n\tleft: 0;\n\tborder-bottom: 2px solid #31c4c4;\n\tborder-left: 2px solid #31c4c4;\n}\n.box-border4 {\n\tbottom: 0;\n\tright: 0;\n\tborder-right: 2px solid #31c4c4;\n\tborder-bottom: 2px solid #31c4c4;\n}\n.content {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n.charts-box {\n width: 80%;\n height: 230px;\n margin-left: 10%;\n /* background-color: #fff; */\n}\n.ring {\n\tdisplay: inline-block;\n\tfloat: left;\n\twidth: 60%;\n\theight: 300px;\n\tmargin-left: -10%;\n}\n.box-item {\n\t/* background-color: #2C405A; */\n\twidth: 92%;\n\theight: 20%;\n\tmargin-left: 4%;\n\tpadding-top: 1em;\n\tcolor: #FFFFFF;\n}\n.introduce {\n\theight: 30%;\n}\n.introduce h2 {\n\tletter-spacing: 5px;\n}\n.english {\n\tfont-size: 14px;\n}\n.introduce-content {\n\tfont-size: 20px;\n\tpadding-top: 2em;\n\ttext-indent: 2em;\n\tline-height: 2em;\n}\n.charge-info {\n\t/* background-color: #2C405A; */\n\theight: 45%;\n}\n.charge-info-item {\n\t/* background-color: #EE6666; */\n\tdisplay: inline-block;\n\twidth: 50%;\n\theight: 40%;\n}\n.charge-info-item uni-image {\n\tdisplay: inline-block;\n\tfloat: left;\n\t/* background-color: #4CD964; */\n\theight: 100%;\n\twidth: 20%;\n}\n.charge-info-item uni-view {\n\tdisplay: inline-block;\n\tposition: relative;\n\tmargin-left: 10%;\n\twidth: 70%;\n\theight: 49%;\n\t/* background-color: #1890FF; */\n}\n.charge-info-item .count, .charge-info-item .unit{\n\tposition: absolute;\n\tdisplay: inline-block;\n\tfont-size: 32px;\n\tbottom: 0;\n\tpadding-left: 5%;\n}\n.charge-info-item .unit {\n\tfont-size: 16px;\n\tfloat: right;\n\tright: 20%;\n}\n.footer {\n\tposition: absolute;\n\tborder: 1px solid rgba(20, 80, 136, 1);\n\theight: 15%;\n}\n.use-info {\n\t/* background-color: #007AFF; */\n}\n.use-left {\n\tdisplay: inline-block;\n\t/* background-color: #2C405A; */\n\twidth: 40%;\n}\n.use-right {\n\tdisplay: inline-block;\n\t/* background-color: #2C405A; */\n\tfloat: right;\n\twidth: 20%;\n}\n.use-main {\n\twidth: 100%;\n\theight: 75%;\n\t/* background-color: #4CD964; */\n}\n.use-main .left {\n\t/* background-color: #ffaa7f; */\n\tdisplay: inline-block;\n\tfloat: left;\n\theight: 100%;\n\twidth: 70%;\n\tline-height: 20px;\n}\n.left .progressBar {\n\t/* margin-left: ; */\n\tmargin-top: 9%;\n\twidth: 100%;\n\theight: 20%;\n\tbackground-color: #233751;\n\tborder-radius: 20px;\n}\n.left .progress {\n\t/* width: 90%; */\n\theight: 100%;\n\tbackground-color: #FF5722;\n\tborder-radius: 20px;\n}\n.left uni-progress {\n\tmargin-left: 10%;\n\tmargin-top: 10%;\n\tdisplay: block;\n}\n.use-main .right {\n\t/* background-color: #ffaaff; */\n\tdisplay: inline-block;\n\tfloat: right;\n\theight: 100%;\n\twidth: 20%;\n\tfont-size: 40px;\n\tcolor: #FF5722;\n\tline-height: 130px;\n}\n.box-tp {\n\theight: 30%;\n}\n.box-tp .sub-main {\n\t/* background-color: #FFFFFF; */\n}\n.box-md {\n\theight: 43%;\n}\n.box-md .sub-main {\n}\n.sub-main-right {\n\tdisplay: inline-block;\n\theight: 100%;\n\twidth: 50%;\n}\n.sub-info {\n\twidth: 100%;\n\theight: 33%;\n}\n.sub-info uni-image {\n\tdisplay: inline-block;\n\tfloat: left;\n\theight: 100%;\n\twidth: 15%;\n}\n.sub-info uni-text {\n\tdisplay: inline-block;\n\twidth: 40%;\n\theight: 100%;\n\ttext-align: center;\n\tline-height: 120px;\n\tfont-size: 20px;\n}\n.box-bt {\n\tbackground-color: #063A7B;\n\tborder: none;\n\theight: 15%;\n\tcolor: #FFFFFF;\n}\n.box-bt uni-image {\n\tposition: absolute;\n\tfloat: right;\n\tright: 0;\n\ttop: 0;\n\twidth: 20%;\n\theight: 100%;\n}\n.box-bt {\n\tfont-size: 36px;\n\tline-height: 140px;\n\ttext-indent: 5em;\n}\n.right-item {\n\theight: 94%;\n}\n.sub-left {\n\tdisplay: inline-block;\n\tfloat: left;\n\twidth: 40%;\n}\n.sub-right {\n\tdisplay: inline-block;\n\tfloat: right;\n\twidth: 20%;\n}\n.sub-main {\n\tposition: absolute;\n\t/* background-color: #31C4C4; */\n\twidth: 92%;\n\theight: 80%;\n\tbottom: 0;\n}\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |