hqchart
Version:
stock chart
2 lines • 7.82 kB
JavaScript
webpackJsonp([22],{11:function(t,e,n){function o(t){for(var e=0;e<t.length;e++){var n=t[e],o=u[n.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](n.parts[r]);for(;r<n.parts.length;r++)o.parts.push(a(n.parts[r]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{for(var i=[],r=0;r<n.parts.length;r++)i.push(a(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:i}}}}function r(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function a(t){var e,n,o=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(o){if(h)return v;o.parentNode.removeChild(o)}if(b){var a=p++;o=f||(f=r()),e=i.bind(null,o,a,!1),n=i.bind(null,o,a,!0)}else o=r(),e=c.bind(null,o),n=function(){o.parentNode.removeChild(o)};return e(t),function(o){if(o){if(o.css===t.css&&o.media===t.media&&o.sourceMap===t.sourceMap)return;e(t=o)}else n()}}function i(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=_(e,r);else{var a=document.createTextNode(r),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function c(t,e){var n=e.css,o=e.media,r=e.sourceMap;if(o&&t.setAttribute("media",o),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var d="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!d)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s=n(42),u={},l=d&&(document.head||document.getElementsByTagName("head")[0]),f=null,p=0,h=!1,v=function(){},b="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){h=n;var r=s(t,e);return o(r),function(e){for(var n=[],a=0;a<r.length;a++){var i=r[a],c=u[i.id];c.refs--,n.push(c)}e?(r=s(t,e),o(r)):r=[];for(var a=0;a<n.length;a++){var c=n[a];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete u[c.id]}}}};var _=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},283:function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}var r=n(75),a=o(r),i=n(35),c=o(i),d=n(284),s=o(d);window.Promise||(window.Promise=a.default),new c.default({el:"#app",render:function(t){return t(s.default)}})},284:function(t,e,n){n(285);var o=n(16)(n(291),n(292),"data-v-45b3fed6",null);t.exports=o.exports},285:function(t,e,n){var o=n(286);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);n(11)("d98cbc72",o,!0)},286:function(t,e,n){e=t.exports=n(3)(void 0),e.push([t.i,'[data-v-45b3fed6]{margin:0;padding:0}.blockWrap[data-v-45b3fed6]{font:14px Simsun}.blockWrap .block[data-v-45b3fed6]{float:left;width:200px;height:200px;border:1px solid #ccc;margin:10px}.blockWrap .block[data-v-45b3fed6]:first-child{background-color:red;opacity:.5}.blockWrap .block[data-v-45b3fed6]:nth-child(2){background-color:green;opacity:.5}.blockWrap .block[data-v-45b3fed6]:nth-child(3){background-color:#ff0;opacity:.5}.blockWrap .block[data-v-45b3fed6]:nth-child(4){background-color:blue;opacity:.5}.blockWrap[data-v-45b3fed6]:after{content:"";width:0;height:0;display:block;clear:both}',""])},291:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{data1:["aa","bb","cc","dd"],data2:["11","bb","cc","dd"],data3:["!!","bb","cc","dd"],data4:["**","bb","cc","dd"],AddBlockData:null,Data1Show:!0,Data2Show:!0,Data3Show:!0,Data4Show:!0,CurrentShow:null}},props:[],created:function(){},mounted:function(){},methods:{DeleteDOM:function(t){t.target.dataset.dataindex}}}},292:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"blockWrap"},[n("div",{staticClass:"block"},[n("ul",t._l(t.data1,function(e,o){return t.Data1Show?n("li",{key:o,attrs:{"data-dataindex":"1"},on:{click:t.DeleteDOM}},[t._v(t._s(e))]):t._e()}),0)]),t._v(" "),n("div",{staticClass:"block"},[n("ul",t._l(t.data2,function(e,o){return t.Data2Show?n("li",{key:o,attrs:{"data-dataindex":"2"}},[t._v(t._s(e))]):t._e()}),0)]),t._v(" "),n("div",{staticClass:"block"},[n("ul",t._l(t.data3,function(e,o){return t.Data3Show?n("li",{key:o,attrs:{"data-dataindex":"3"}},[t._v(t._s(e))]):t._e()}),0)]),t._v(" "),n("div",{staticClass:"block"},[n("ul",t._l(t.data4,function(e,o){return t.Data4Show?n("li",{key:o,attrs:{"data-dataindex":"4"}},[t._v(t._s(e))]):t._e()}),0)]),t._v(" "),n("button",{attrs:{type:"button"},on:{click:t.AddDOM}},[t._v("添加一块")])])},staticRenderFns:[]}},42:function(t,e){t.exports=function(t,e){for(var n=[],o={},r=0;r<e.length;r++){var a=e[r],i=a[0],c=a[1],d=a[2],s=a[3],u={id:t+":"+r,css:c,media:d,sourceMap:s};o[i]?o[i].parts.push(u):n.push(o[i]={id:i,parts:[u]})}return n}},75:function(t,e,n){(function(e){!function(n){function o(){}function r(t,e){return function(){t.apply(e,arguments)}}function a(t){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(t,this)}function i(t,e){for(;3===t._state;)t=t._value;if(0===t._state)return void t._deferreds.push(e);t._handled=!0,a._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null===n)return void(1===t._state?c:d)(e.promise,t._value);var o;try{o=n(t._value)}catch(t){return void d(e.promise,t)}c(e.promise,o)})}function c(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof a)return t._state=3,t._value=e,void s(t);if("function"==typeof n)return void l(r(n,e),t)}t._state=1,t._value=e,s(t)}catch(e){d(t,e)}}function d(t,e){t._state=2,t._value=e,s(t)}function s(t){2===t._state&&0===t._deferreds.length&&a._immediateFn(function(){t._handled||a._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)i(t,t._deferreds[e]);t._deferreds=null}function u(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function l(t,e){var n=!1;try{t(function(t){n||(n=!0,c(e,t))},function(t){n||(n=!0,d(e,t))})}catch(t){if(n)return;n=!0,d(e,t)}}var f=setTimeout;a.prototype.catch=function(t){return this.then(null,t)},a.prototype.then=function(t,e){var n=new this.constructor(o);return i(this,new u(t,e,n)),n},a.all=function(t){return new a(function(e,n){function o(t,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var c=i.then;if("function"==typeof c)return void c.call(i,function(e){o(t,e)},n)}r[t]=i,0==--a&&e(r)}catch(t){n(t)}}if(!t||void 0===t.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);for(var a=r.length,i=0;i<r.length;i++)o(i,r[i])})},a.resolve=function(t){return t&&"object"==typeof t&&t.constructor===a?t:new a(function(e){e(t)})},a.reject=function(t){return new a(function(e,n){n(t)})},a.race=function(t){return new a(function(e,n){for(var o=0,r=t.length;o<r;o++)t[o].then(e,n)})},a._immediateFn="function"==typeof e&&function(t){e(t)}||function(t){f(t,0)},a._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},a._setImmediateFn=function(t){a._immediateFn=t},a._setUnhandledRejectionFn=function(t){a._unhandledRejectionFn=t},void 0!==t&&t.exports?t.exports=a:n.Promise||(n.Promise=a)}(this)}).call(e,n(107).setImmediate)}},[283]);
//# sourceMappingURL=block.list.demo.page.js.map?7096db5187bec8de901d