Commit 9c536487 by chencong

修改测试文件

parent 7c630e0f
.main_popup[data-v-d39105b4]{width:200px;height:100px}.index[data-v-d39105b4]{width:100%;height:100%;font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.index .switch[data-v-d39105b4]{display:inline-block;width:76px;height:36px;padding:3px;position:relative}.index .switch[data-v-d39105b4]:hover{cursor:pointer}.index .slide[data-v-d39105b4]{position:absolute;left:0;right:0;bottom:0;top:0;background:#ccc;border-radius:36px}.index .slide[data-v-d39105b4]:before{margin:3px;content:"OFF";display:inline-block;position:absolute;left:0;top:0;width:30px;height:30px;line-height:30px;text-align:center;background:#fff;border-radius:50%;-webkit-transition:all .3s linear;transition:all .3s linear;-webkit-box-shadow:2px 2px 2px rgba(0,0,0,.3);box-shadow:2px 2px 2px rgba(0,0,0,.3);font-size:12px}.index #switch:checked+.slide[data-v-d39105b4]{background:#2196f3}.index #switch:checked+.slide[data-v-d39105b4]:before{content:"ON";-webkit-transform:translate(40px);transform:translate(40px);-webkit-box-shadow:-2px 2px 2px rgba(0,0,0,.3);box-shadow:-2px 2px 2px rgba(0,0,0,.3)}
\ No newline at end of file
.main_popup[data-v-409cdc1c]{width:200px;height:100px}.index[data-v-409cdc1c]{width:100%;height:100%;font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.index .switch[data-v-409cdc1c]{display:inline-block;width:76px;height:36px;padding:3px;position:relative}.index .switch[data-v-409cdc1c]:hover{cursor:pointer}.index .slide[data-v-409cdc1c]{position:absolute;left:0;right:0;bottom:0;top:0;background:#ccc;border-radius:36px}.index .slide[data-v-409cdc1c]:before{margin:3px;content:"OFF";display:inline-block;position:absolute;left:0;top:0;width:30px;height:30px;line-height:30px;text-align:center;background:#fff;border-radius:50%;-webkit-transition:all .3s linear;transition:all .3s linear;-webkit-box-shadow:2px 2px 2px rgba(0,0,0,.3);box-shadow:2px 2px 2px rgba(0,0,0,.3);font-size:12px}.index #switch:checked+.slide[data-v-409cdc1c]{background:#2196f3}.index #switch:checked+.slide[data-v-409cdc1c]:before{content:"ON";-webkit-transform:translate(40px);transform:translate(40px);-webkit-box-shadow:-2px 2px 2px rgba(0,0,0,.3);box-shadow:-2px 2px 2px rgba(0,0,0,.3)}
\ No newline at end of file
(function(e){function t(t){for(var r,c,u=t[0],l=t[1],a=t[2],p=0,f=[];p<u.length;p++)c=u[p],i[c]&&f.push(i[c][0]),i[c]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);s&&s(t);while(f.length)f.shift()();return o.push.apply(o,a||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],r=!0,u=1;u<n.length;u++){var l=n[u];0!==i[l]&&(r=!1)}r&&(o.splice(t--,1),e=c(c.s=n[0]))}return e}var r={},i={popup:0},o=[];function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=e,c.c=r,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(n,r,function(t){return e[t]}.bind(null,r));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/out/";var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var a=0;a<u.length;a++)t(u[a]);var s=l;o.push([1,"chunk-vendors"]),n()})({1:function(e,t,n){e.exports=n("7331")},7331:function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var r=n("2b0e"),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main_popup"},[n("div",{staticClass:"index container"},[n("label",{staticClass:"switch",attrs:{for:"switch"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.switchPlugin,expression:"switchPlugin"}],attrs:{type:"checkbox",name:"zhiwei_plugin_switch",id:"switch",hidden:"","true-value":!0,"false-value":!1},domProps:{checked:Array.isArray(e.switchPlugin)?e._i(e.switchPlugin,null)>-1:e.switchPlugin},on:{change:function(t){var n=e.switchPlugin,r=t.target,i=!!r.checked;if(Array.isArray(n)){var o=null,c=e._i(n,o);r.checked?c<0&&(e.switchPlugin=n.concat([o])):c>-1&&(e.switchPlugin=n.slice(0,c).concat(n.slice(c+1)))}else e.switchPlugin=i}}}),n("span",{staticClass:"slide"})])])])},o=[],c={name:"popup",data:function(){return{switchPlugin:!0}},mounted:function(){var e=this;chrome.storage.local.get("pluginSwitch",function(t){t.hasOwnProperty("pluginSwitch")&&(e.switchPlugin=t.pluginSwitch)})},watch:{switchPlugin:function(e,t){console.log(1212121212),console.log(e);var n=chrome.storage.local;n.set({pluginSwitch:e})}}},u=c,l=(n("aef3"),n("2877")),a=Object(l["a"])(u,i,o,!1,null,"d39105b4",null),s=a.exports;r["a"].config.productionTip=!1,new r["a"]({el:"#popup",render:function(e){return e(s)}})},aef3:function(e,t,n){"use strict";var r=n("ee26"),i=n.n(r);i.a},ee26:function(e,t,n){}});
(function(e){function t(t){for(var r,o,u=t[0],l=t[1],s=t[2],f=0,p=[];f<u.length;f++)o=u[f],i[o]&&p.push(i[o][0]),i[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);a&&a(t);while(p.length)p.shift()();return c.push.apply(c,s||[]),n()}function n(){for(var e,t=0;t<c.length;t++){for(var n=c[t],r=!0,u=1;u<n.length;u++){var l=n[u];0!==i[l]&&(r=!1)}r&&(c.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},i={popup:0},c=[];function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/out/";var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var s=0;s<u.length;s++)t(u[s]);var a=l;c.push([1,"chunk-vendors"]),n()})({1:function(e,t,n){e.exports=n("7331")},"64be":function(e,t,n){},7331:function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var r=n("2b0e"),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main_popup"},[n("div",{staticClass:"index container"},[e._v("\n dfgsdfgsdfgsdfgsdfgsdfgsdfg\n "),n("label",{staticClass:"switch",attrs:{for:"switch"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.switchPlugin,expression:"switchPlugin"}],attrs:{type:"checkbox",name:"zhiwei_plugin_switch",id:"switch",hidden:"","true-value":!0,"false-value":!1},domProps:{checked:Array.isArray(e.switchPlugin)?e._i(e.switchPlugin,null)>-1:e.switchPlugin},on:{change:function(t){var n=e.switchPlugin,r=t.target,i=!!r.checked;if(Array.isArray(n)){var c=null,o=e._i(n,c);r.checked?o<0&&(e.switchPlugin=n.concat([c])):o>-1&&(e.switchPlugin=n.slice(0,o).concat(n.slice(o+1)))}else e.switchPlugin=i}}}),n("span",{staticClass:"slide"})])])])},c=[],o={name:"popup",data:function(){return{switchPlugin:!0}},mounted:function(){var e=this;chrome.storage.local.get("pluginSwitch",function(t){t.hasOwnProperty("pluginSwitch")&&(e.switchPlugin=t.pluginSwitch)})},watch:{switchPlugin:function(e,t){console.log(1212121212),console.log(e);var n=chrome.storage.local;n.set({pluginSwitch:e})}}},u=o,l=(n("f46b"),n("2877")),s=Object(l["a"])(u,i,c,!1,null,"409cdc1c",null),a=s.exports;r["a"].config.productionTip=!1,new r["a"]({el:"#popup",render:function(e){return e(a)}})},f46b:function(e,t,n){"use strict";var r=n("64be"),i=n.n(r);i.a}});
//# sourceMappingURL=popup.js.map
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment