样式修改

This commit is contained in:
gaoshuaixing
2021-09-29 20:38:16 +08:00
parent 4f20c3cf6f
commit ded3f2c7ba
15 changed files with 15 additions and 15 deletions

View File

@@ -0,0 +1 @@
#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}#app,#app-layout-sider[data-v-1778865c]{height:100%}#app-layout-sider .logo[data-v-1778865c]{border-bottom:1px solid #e8e8e8}#app-layout-sider .pic-logo[data-v-1778865c]{height:32px;margin:10px}#app-layout-sider .layout-sider[data-v-1778865c]{border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8}#app-layout-sider .menu-item .ant-menu-item[data-v-1778865c]{background-color:#fff;margin-top:0;margin-bottom:0;padding:0 0!important}#app-demo-menu[data-v-ab5a3814]{height:100%;text-align:center}#app-demo-menu .layout-sider[data-v-ab5a3814]{border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8;background-color:#fafafa}@-webkit-keyframes Blink{0%{opacity:0}to{opacity:1}}@keyframes Blink{0%{opacity:0}to{opacity:1}}@-webkit-keyframes hot-key-input-shake{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-1deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(1deg)}40%,60%,80%{transform:scale(1.1) rotate(-1deg)}to{transform:scale(1) rotate(0)}}@keyframes hot-key-input-shake{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-1deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(1deg)}40%,60%,80%{transform:scale(1.1) rotate(-1deg)}to{transform:scale(1) rotate(0)}}.hot-key-input-shark{-webkit-animation:hot-key-input-shake .8s ease-in 1;animation:hot-key-input-shake .8s ease-in 1}.hot-key-input-component{display:flex;padding:5px;border:1px solid #dcdcdc;background-color:#fff;color:#333;cursor:text;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.hot-key-input-component:before{content:attr(placeholder);color:#afafaf}.hot-key-input-component.cursor:after{content:"|";-webkit-animation:Blink 1.2s ease 0s infinite;animation:Blink 1.2s ease 0s infinite;position:absolute;left:10px}.hot-item{display:flex;align-items:center;background-color:#f4f4f5;border-color:#e9e9eb;color:#909399;padding:0 5px;margin-right:5px}.hot-key-input-component .hot-item .icon-close{display:block;content:"";background:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M512 64C264.58 64 64 264.58 64 512s200.58 448 448 448 448-200.58 448-448S759.42 64 512 64zm0 832c-212.08 0-384-171.92-384-384s171.92-384 384-384 384 171.92 384 384-171.92 384-384 384z' fill='%23909399'/%3E%3Cpath d='M625.14 353.61L512 466.75 398.86 353.61a32 32 0 00-45.25 45.25L466.75 512 353.61 625.14a32 32 0 0045.25 45.25L512 557.25l113.14 113.14a32 32 0 0045.25-45.25L557.25 512l113.14-113.14a32 32 0 00-45.25-45.25z' fill='%23909399'/%3E%3C/svg%3E") no-repeat 50%;background-size:contain;width:14px;height:14px;transform:scale(.9);opacity:.6}.hot-key-input-component .hot-item .icon-close:hover{cursor:pointer;opacity:1}

View File

@@ -1 +0,0 @@
#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}#app,#app-layout-sider[data-v-1778865c]{height:100%}#app-layout-sider .logo[data-v-1778865c]{border-bottom:1px solid #e8e8e8}#app-layout-sider .pic-logo[data-v-1778865c]{height:32px;margin:10px}#app-layout-sider .layout-sider[data-v-1778865c]{border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8}#app-layout-sider .menu-item .ant-menu-item[data-v-1778865c]{background-color:#fff;margin-top:0;margin-bottom:0;padding:0 0!important}#app-demo-menu[data-v-5c936bf5]{height:100%;text-align:center}#app-demo-menu .layout-sider[data-v-5c936bf5]{border-top:1px solid #e8e8e8;border-right:0 solid #e8e8e8;background-color:#fafafa}@-webkit-keyframes Blink{0%{opacity:0}to{opacity:1}}@keyframes Blink{0%{opacity:0}to{opacity:1}}@-webkit-keyframes hot-key-input-shake{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-1deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(1deg)}40%,60%,80%{transform:scale(1.1) rotate(-1deg)}to{transform:scale(1) rotate(0)}}@keyframes hot-key-input-shake{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-1deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(1deg)}40%,60%,80%{transform:scale(1.1) rotate(-1deg)}to{transform:scale(1) rotate(0)}}.hot-key-input-shark{-webkit-animation:hot-key-input-shake .8s ease-in 1;animation:hot-key-input-shake .8s ease-in 1}.hot-key-input-component{display:flex;padding:5px;border:1px solid #dcdcdc;background-color:#fff;color:#333;cursor:text;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.hot-key-input-component:before{content:attr(placeholder);color:#afafaf}.hot-key-input-component.cursor:after{content:"|";-webkit-animation:Blink 1.2s ease 0s infinite;animation:Blink 1.2s ease 0s infinite;position:absolute;left:10px}.hot-item{display:flex;align-items:center;background-color:#f4f4f5;border-color:#e9e9eb;color:#909399;padding:0 5px;margin-right:5px}.hot-key-input-component .hot-item .icon-close{display:block;content:"";background:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M512 64C264.58 64 64 264.58 64 512s200.58 448 448 448 448-200.58 448-448S759.42 64 512 64zm0 832c-212.08 0-384-171.92-384-384s171.92-384 384-384 384 171.92 384 384-171.92 384-384 384z' fill='%23909399'/%3E%3Cpath d='M625.14 353.61L512 466.75 398.86 353.61a32 32 0 00-45.25 45.25L466.75 512 353.61 625.14a32 32 0 0045.25 45.25L512 557.25l113.14 113.14a32 32 0 0045.25-45.25L557.25 512l113.14-113.14a32 32 0 00-45.25-45.25z' fill='%23909399'/%3E%3C/svg%3E") no-repeat 50%;background-size:contain;width:14px;height:14px;transform:scale(.9);opacity:.6}.hot-key-input-component .hot-item .icon-close:hover{cursor:pointer;opacity:1}

View File

@@ -0,0 +1 @@
#app-demo-test-api[data-v-5ea19b73]{padding:0 10px;text-align:left;width:100%}#app-demo-test-api .one-block-1[data-v-5ea19b73]{font-size:16px;padding-top:10px}#app-demo-test-api .one-block-2[data-v-5ea19b73]{padding-top:10px}

View File

@@ -1 +0,0 @@
#app-demo-test-api[data-v-3e0a3322]{padding:0 10px;text-align:left;width:100%}#app-demo-test-api .one-block-1[data-v-3e0a3322]{font-size:16px;padding-top:10px}#app-demo-test-api .one-block-2[data-v-3e0a3322]{padding-top:10px}

View File

@@ -4,4 +4,4 @@
::-webkit-scrollbar-track{background:0 0}
::-webkit-scrollbar-thumb{background:#E6FFEE;-webkit-transition:.3s;transition:.3s}
::-webkit-scrollbar-thumb:hover{background-color:#07C160}
::-webkit-scrollbar-thumb:active{background-color:#E6FFEE}</style><link href="/css/chunk-11be261c.ebd4d1e1.css" rel="prefetch"><link href="/css/chunk-1882667e.929cc0b0.css" rel="prefetch"><link href="/css/chunk-601f8406.1cb2f9c8.css" rel="prefetch"><link href="/css/chunk-6f5b76aa.8d2a6191.css" rel="prefetch"><link href="/css/chunk-73a34e00.e9f0edb8.css" rel="prefetch"><link href="/css/chunk-c3a37878.855045b3.css" rel="prefetch"><link href="/css/chunk-f6d2456a.5e5339e6.css" rel="prefetch"><link href="/js/chunk-11be261c.93b01da8.js" rel="prefetch"><link href="/js/chunk-1882667e.5fcce575.js" rel="prefetch"><link href="/js/chunk-601f8406.3cc00632.js" rel="prefetch"><link href="/js/chunk-6f5b76aa.120f9e79.js" rel="prefetch"><link href="/js/chunk-73a34e00.b7b94869.js" rel="prefetch"><link href="/js/chunk-c3a37878.4cd836f7.js" rel="prefetch"><link href="/js/chunk-f6d2456a.b32eeb32.js" rel="prefetch"><link href="/css/app.7e9a8093.css" rel="preload" as="style"><link href="/css/chunk-vendors.9ca8efee.css" rel="preload" as="style"><link href="/js/app.04ee1552.js" rel="preload" as="script"><link href="/js/chunk-vendors.5200e059.js" rel="preload" as="script"><link href="/css/chunk-vendors.9ca8efee.css" rel="stylesheet"><link href="/css/app.7e9a8093.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.5200e059.js"></script><script src="/js/app.04ee1552.js"></script></body></html>
::-webkit-scrollbar-thumb:active{background-color:#E6FFEE}</style><link href="/css/chunk-11be261c.ebd4d1e1.css" rel="prefetch"><link href="/css/chunk-1882667e.929cc0b0.css" rel="prefetch"><link href="/css/chunk-244783f8.dc3b0c74.css" rel="prefetch"><link href="/css/chunk-601f8406.1cb2f9c8.css" rel="prefetch"><link href="/css/chunk-6f5b76aa.8d2a6191.css" rel="prefetch"><link href="/css/chunk-c3a37878.855045b3.css" rel="prefetch"><link href="/css/chunk-f6d2456a.5e5339e6.css" rel="prefetch"><link href="/js/chunk-11be261c.93b01da8.js" rel="prefetch"><link href="/js/chunk-1882667e.5fcce575.js" rel="prefetch"><link href="/js/chunk-244783f8.da109c64.js" rel="prefetch"><link href="/js/chunk-601f8406.3cc00632.js" rel="prefetch"><link href="/js/chunk-6f5b76aa.120f9e79.js" rel="prefetch"><link href="/js/chunk-c3a37878.4cd836f7.js" rel="prefetch"><link href="/js/chunk-f6d2456a.b32eeb32.js" rel="prefetch"><link href="/css/app.0e9e5e6c.css" rel="preload" as="style"><link href="/css/chunk-vendors.9ca8efee.css" rel="preload" as="style"><link href="/js/app.c5d03ae4.js" rel="preload" as="script"><link href="/js/chunk-vendors.5200e059.js" rel="preload" as="script"><link href="/css/chunk-vendors.9ca8efee.css" rel="stylesheet"><link href="/css/app.0e9e5e6c.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.5200e059.js"></script><script src="/js/app.c5d03ae4.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-244783f8"],{"4fdf":function(e,a,t){},a358:function(e,a,t){"use strict";t.d(a,"a",(function(){return o}));var n=t("b775"),i={openDir:"/api/v1/example/openLocalDir",uploadFile:"/api/v1/example/uploadFile",executeJS:"/api/v1/example/executeJS",setShortcut:"/api/v1/example/setShortcut",autoLaunchEnable:"/api/v1/example/autoLaunchEnable",autoLaunchDisable:"/api/v1/example/autoLaunchDisable",autoLaunchIsEnabled:"/api/v1/example/autoLaunchIsEnabled",openSoftware:"/api/v1/example/openSoftware",selectFileDir:"/api/v1/example/selectFileDir",messageShow:"/api/v1/example/messageShow",messageShowConfirm:"/api/v1/example/messageShowConfirm",testElectronApi:"/api/v1/example/testElectronApi"};function o(e,a){return Object(n["b"])({url:i[e],method:"post",data:a})}},b11e:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement;e._self._c;return e._m(0)},i=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{id:"app-demo-test-api"}},[t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 1. 测试一些操作系统api ")])])])}],o=t("a358"),c={data:function(){return{type:1}},methods:{exec:function(e){var a={id:e};Object(o["a"])("testElectronApi",a).then((function(e){if(0!==e.code)return!1})).catch((function(e){console.log("err:",e)}))}}},p=c,u=(t("c46e"),t("2877")),l=Object(u["a"])(p,n,i,!1,null,"5ea19b73",null);a["default"]=l.exports},c46e:function(e,a,t){"use strict";t("4fdf")}}]);
//# sourceMappingURL=chunk-244783f8.da109c64.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73a34e00"],{"9e2e":function(e,a,t){"use strict";t("e4d0")},a358:function(e,a,t){"use strict";t.d(a,"a",(function(){return o}));var n=t("b775"),i={openDir:"/api/v1/example/openLocalDir",uploadFile:"/api/v1/example/uploadFile",executeJS:"/api/v1/example/executeJS",setShortcut:"/api/v1/example/setShortcut",autoLaunchEnable:"/api/v1/example/autoLaunchEnable",autoLaunchDisable:"/api/v1/example/autoLaunchDisable",autoLaunchIsEnabled:"/api/v1/example/autoLaunchIsEnabled",openSoftware:"/api/v1/example/openSoftware",selectFileDir:"/api/v1/example/selectFileDir",messageShow:"/api/v1/example/messageShow",messageShowConfirm:"/api/v1/example/messageShowConfirm",testElectronApi:"/api/v1/example/testElectronApi"};function o(e,a){return Object(n["b"])({url:i[e],method:"post",data:a})}},b11e:function(e,a,t){"use strict";t.r(a);var n=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{id:"app-demo-test-api"}},[e._m(0),t("div",{staticClass:"one-block-2"},[t("a-button",{on:{click:function(a){return e.exec(1)}}},[e._v(" 点击 ")])],1)])},i=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 1. 测试一些操作系统api ")])])}],o=t("a358"),c={data:function(){return{type:1}},methods:{exec:function(e){var a={id:e};Object(o["a"])("testElectronApi",a).then((function(e){if(0!==e.code)return!1})).catch((function(e){console.log("err:",e)}))}}},u=c,l=(t("9e2e"),t("2877")),p=Object(l["a"])(u,n,i,!1,null,"3e0a3322",null);a["default"]=p.exports},e4d0:function(e,a,t){}}]);
//# sourceMappingURL=chunk-73a34e00.b7b94869.js.map

File diff suppressed because one or more lines are too long

View File

@@ -4,4 +4,4 @@
::-webkit-scrollbar-track{background:0 0}
::-webkit-scrollbar-thumb{background:#E6FFEE;-webkit-transition:.3s;transition:.3s}
::-webkit-scrollbar-thumb:hover{background-color:#07C160}
::-webkit-scrollbar-thumb:active{background-color:#E6FFEE}</style><link href="/css/chunk-11be261c.ebd4d1e1.css" rel="prefetch"><link href="/css/chunk-1882667e.929cc0b0.css" rel="prefetch"><link href="/css/chunk-601f8406.1cb2f9c8.css" rel="prefetch"><link href="/css/chunk-6f5b76aa.8d2a6191.css" rel="prefetch"><link href="/css/chunk-73a34e00.e9f0edb8.css" rel="prefetch"><link href="/css/chunk-c3a37878.855045b3.css" rel="prefetch"><link href="/css/chunk-f6d2456a.5e5339e6.css" rel="prefetch"><link href="/js/chunk-11be261c.93b01da8.js" rel="prefetch"><link href="/js/chunk-1882667e.5fcce575.js" rel="prefetch"><link href="/js/chunk-601f8406.3cc00632.js" rel="prefetch"><link href="/js/chunk-6f5b76aa.120f9e79.js" rel="prefetch"><link href="/js/chunk-73a34e00.b7b94869.js" rel="prefetch"><link href="/js/chunk-c3a37878.4cd836f7.js" rel="prefetch"><link href="/js/chunk-f6d2456a.b32eeb32.js" rel="prefetch"><link href="/css/app.7e9a8093.css" rel="preload" as="style"><link href="/css/chunk-vendors.9ca8efee.css" rel="preload" as="style"><link href="/js/app.04ee1552.js" rel="preload" as="script"><link href="/js/chunk-vendors.5200e059.js" rel="preload" as="script"><link href="/css/chunk-vendors.9ca8efee.css" rel="stylesheet"><link href="/css/app.7e9a8093.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.5200e059.js"></script><script src="/js/app.04ee1552.js"></script></body></html>
::-webkit-scrollbar-thumb:active{background-color:#E6FFEE}</style><link href="/css/chunk-11be261c.ebd4d1e1.css" rel="prefetch"><link href="/css/chunk-1882667e.929cc0b0.css" rel="prefetch"><link href="/css/chunk-244783f8.dc3b0c74.css" rel="prefetch"><link href="/css/chunk-601f8406.1cb2f9c8.css" rel="prefetch"><link href="/css/chunk-6f5b76aa.8d2a6191.css" rel="prefetch"><link href="/css/chunk-c3a37878.855045b3.css" rel="prefetch"><link href="/css/chunk-f6d2456a.5e5339e6.css" rel="prefetch"><link href="/js/chunk-11be261c.93b01da8.js" rel="prefetch"><link href="/js/chunk-1882667e.5fcce575.js" rel="prefetch"><link href="/js/chunk-244783f8.da109c64.js" rel="prefetch"><link href="/js/chunk-601f8406.3cc00632.js" rel="prefetch"><link href="/js/chunk-6f5b76aa.120f9e79.js" rel="prefetch"><link href="/js/chunk-c3a37878.4cd836f7.js" rel="prefetch"><link href="/js/chunk-f6d2456a.b32eeb32.js" rel="prefetch"><link href="/css/app.0e9e5e6c.css" rel="preload" as="style"><link href="/css/chunk-vendors.9ca8efee.css" rel="preload" as="style"><link href="/js/app.c5d03ae4.js" rel="preload" as="script"><link href="/js/chunk-vendors.5200e059.js" rel="preload" as="script"><link href="/css/chunk-vendors.9ca8efee.css" rel="stylesheet"><link href="/css/app.0e9e5e6c.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but electron-egg doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.5200e059.js"></script><script src="/js/app.c5d03ae4.js"></script></body></html>

View File

@@ -32,9 +32,9 @@ const config = {
},
windowsOption: {
width: 980,
height: 600,
height: 650,
minWidth: 800,
minHeight: 600,
minHeight: 650,
webPreferences: {
//webSecurity: false,
contextIsolation: false, // 设置此项为false后才可在渲染进程中使用electron api

View File

@@ -82,7 +82,7 @@ export default {
text-align: center;
.layout-sider {
border-top: 1px solid #e8e8e8;
border-right: 0px solid #e8e8e8;
border-right: 1px solid #e8e8e8;
background-color: #FAFAFA;
}
}

View File

@@ -5,9 +5,9 @@
1. 测试一些操作系统api
</span>
</div>
<div class="one-block-2">
<!-- <div class="one-block-2">
<a-button @click="exec(1)"> 点击 </a-button>
</div>
</div> -->
</div>
</template>
<script>