From 152b654d4168bfc6958ffc50fb15d7be57671167 Mon Sep 17 00:00:00 2001 From: hunlongyu Date: Wed, 15 Apr 2020 22:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=8D=20=E9=A1=B5=E9=9D=A2=E5=88=87?= =?UTF-8?q?=E6=8D=A2=EF=BC=8C=E4=BE=A7=E8=BE=B9=E6=A0=8F=EF=BC=8C=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/App.vue | 1 + src/assets/scss/style.scss | 14 +++++++++ src/assets/scss/theme.scss | 16 ++++++++++ src/assets/scss/theme/light.scss | 35 ++++++++++++++++++++++ src/background.js | 15 +++++----- src/components/Aside.vue | 49 +++---------------------------- src/components/Detail.vue | 50 +++++++++++++++----------------- src/components/Frame.vue | 14 +++------ src/components/Play.vue | 4 +-- src/components/Share.vue | 4 +-- src/views/Home.vue | 32 +++++++++++++------- vue.config.js | 7 +++++ yarn.lock | 6 ++-- 14 files changed, 141 insertions(+), 108 deletions(-) create mode 100644 vue.config.js diff --git a/package.json b/package.json index c1daf35..3e3f320 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@vue/eslint-config-standard": "^5.1.2", "babel-eslint": "^10.1.0", "babel-plugin-component": "^1.1.1", - "electron": "^8.0.0", + "electron": "^8.2.1", "eslint": "^6.7.2", "eslint-plugin-import": "^2.20.2", "eslint-plugin-node": "^11.1.0", diff --git a/src/App.vue b/src/App.vue index 255c813..4dd9880 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,6 +5,7 @@ diff --git a/src/components/Detail.vue b/src/components/Detail.vue index 0feceea..e51848d 100644 --- a/src/components/Detail.vue +++ b/src/components/Detail.vue @@ -36,7 +36,7 @@ @@ -33,12 +33,6 @@ export default { margin-left: 10px; cursor: pointer; opacity: 0.5; - &.min{ - background-color: #ffbe2a; - } - &.close{ - background-color: #ff5f56; - } &:hover{ animation: heartbeat 3s ease-in-out infinite both; } diff --git a/src/components/Play.vue b/src/components/Play.vue index 00f3f72..d79edae 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -338,8 +338,8 @@ export default { }) }, topEvent () { - ipc.send('top') - this.checkTop() + // ipc.send('top') + // this.checkTop() }, detailEvent () { this.detail = { diff --git a/src/components/Share.vue b/src/components/Share.vue index 6be4693..270583a 100644 --- a/src/components/Share.vue +++ b/src/components/Share.vue @@ -19,9 +19,9 @@