text: (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/spark/spark-data"],{"02ab":function(t,e,a){},"1ab9":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(a("df5f"));function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function o(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?r(Object(a),!0).forEach((function(e){i(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function i(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var c={data:function(){return{market:{},chartData:{categories:[],series:[{data:[]}]},times:[{key:"15m",val:"15"},{key:"30m",val:"30"},{key:"1h",val:"60"},{key:"1day",val:"D"},{key:"1week",val:"W"}],time:"15",chartsDataLine1:{},errorMessage:"自定义的错误信息，关闭点击重新加载",optsTooltip:{tooltip:{showCategory:!0},legend:{position:"top",float:"right"}}}},props:{flag:{type:Boolean,default:!1}},watch:{flag:function(t,e){t&&(this.sendK(),this.handlerGetData())}},created:function(){this.flag&&(this.sendK(),this.handlerGetData())},methods:{sendK:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.$emit("data",{data:{from:164603442e4,to:164604228e4,resolution:t,tradeId:9,method:"kData"}})},complete:function(t){console.log("渲染完成事件",t)},showMyTooltip:function(t){console.log("获取点击索引事件",t);var e=t.currentIndex.index;if(e>-1){var a=[{text:"我是一个自定义标题",color:null},{text:"类别1：",color:"#2fc25b"},{text:"类别2：",color:"#facc14"}];this.optsTooltip={tooltip:{offset:{x:t.opts.chartData.xAxisPoints[e]+t.opts.chartData.xAxisData.eachSpacing/2,y:t.event.y},textList:a},update:!0}}else this.optsTooltip=o(o({},this.optsTooltip),{},{tooltip:{}})},handlerTime:function(t){this.sendK(t.val),this.time=t.val},handleKLine:function(t){var e=[],a=t.map((function(t){var a=new Date(t.date);return e.push([t.open,t.close,t.low,t.high]),a.getHours()+":"+a.getMinutes()}));this.chartData["categories"]=a,this.chartData["series"][0]["data"]=e},handlerGetData:function(){this.$emit("data",{data:{method:"sub",tradeId:"",type:"2"}})},setMarket:function(t){this.market=t[0]}}};e.default=c},"1d3b":function(t,e,a){"use strict";var n=a("02ab"),r=a.n(n);r.a},"650e":function(t,e,a){"use strict";a.r(e);var n=a("6b422"),r=a("c259");for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);a("1d3b");var i,c=a("f0c5"),s=Object(c["a"])(r["default"],n["b"],n["c"],!1,null,"03cb8dd7",null,!1,n["a"],i);e["default"]=s.exports},"6b422":function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={qiunDataCharts:function(){return Promise.all([a.e("common/vendor"),a.e("uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(a.bind(null,"5d5b"))}},r=function(){var t=this,e=t.$createElement;t._self._c},o=[]},c259:function(t,e,a){"use strict";a.r(e);var n=a("1ab9"),r=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a}}]);
  ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
      'pages/spark/spark-data-create-component',
      {
          'pages/spark/spark-data-create-component':(function(module, exports, __webpack_require__){
              __webpack_require__('543d')['createComponent'](__webpack_require__("650e"))
          })
      },
      [['pages/spark/spark-data-create-component']]
  ]);
  