Commit 760f0a3a by chencong

修改测试文件

parent 9c536487
.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
.main_popup[data-v-d068b638]{width:200px;height:100px}.index[data-v-d068b638]{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-d068b638]{display:inline-block;width:76px;height:36px;padding:3px;position:relative}.index .switch[data-v-d068b638]:hover{cursor:pointer}.index .slide[data-v-d068b638]{position:absolute;left:0;right:0;bottom:0;top:0;background:#ccc;border-radius:36px}.index .slide[data-v-d068b638]: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-d068b638]{background:#2196f3}.index #switch:checked+.slide[data-v-d068b638]: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
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(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}});
(function(t){function e(e){for(var r,o,u=e[0],a=e[1],l=e[2],p=0,f=[];p<u.length;p++)o=u[p],i[o]&&f.push(i[o][0]),i[o]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r]);s&&s(e);while(f.length)f.shift()();return c.push.apply(c,l||[]),n()}function n(){for(var t,e=0;e<c.length;e++){for(var n=c[e],r=!0,u=1;u<n.length;u++){var a=n[u];0!==i[a]&&(r=!1)}r&&(c.splice(e--,1),t=o(o.s=n[0]))}return t}var r={},i={popup:0},c=[];function o(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=t,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/out/";var u=window["webpackJsonp"]=window["webpackJsonp"]||[],a=u.push.bind(u);u.push=e,u=u.slice();for(var l=0;l<u.length;l++)e(u[l]);var s=a;c.push([1,"chunk-vendors"]),n()})({1:function(t,e,n){t.exports=n("7331")},1015:function(t,e,n){},7331:function(t,e,n){"use strict";n.r(e);n("cadf"),n("551c"),n("f751"),n("097d");var r=n("2b0e"),i=function(){var t=this,e=t.$createElement,n=t._self._c||e;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:t.switchPlugin,expression:"switchPlugin"}],attrs:{type:"checkbox",name:"zhiwei_plugin_switch",id:"switch",hidden:"","true-value":!0,"false-value":!1},domProps:{checked:Array.isArray(t.switchPlugin)?t._i(t.switchPlugin,null)>-1:t.switchPlugin},on:{change:function(e){var n=t.switchPlugin,r=e.target,i=!!r.checked;if(Array.isArray(n)){var c=null,o=t._i(n,c);r.checked?o<0&&(t.switchPlugin=n.concat([c])):o>-1&&(t.switchPlugin=n.slice(0,o).concat(n.slice(o+1)))}else t.switchPlugin=i}}}),n("span",{staticClass:"slide"})])])])},c=[],o={name:"popup",data:function(){return{switchPlugin:!0}},mounted:function(){var t=this;chrome.storage.local.get("pluginSwitch",function(e){e.hasOwnProperty("pluginSwitch")&&(t.switchPlugin=e.pluginSwitch)})},watch:{switchPlugin:function(t,e){var n=chrome.storage.local;n.set({pluginSwitch:t})}}},u=o,a=(n("b9a4"),n("2877")),l=Object(a["a"])(u,i,c,!1,null,"d068b638",null),s=l.exports;r["a"].config.productionTip=!1,new r["a"]({el:"#popup",render:function(t){return t(s)}})},b9a4:function(t,e,n){"use strict";var r=n("1015"),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