From 6b5e2641e49d056c505cf9d69aa214a227f24725 Mon Sep 17 00:00:00 2001 From: fofolee Date: Sat, 30 Apr 2022 23:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=88=86=E4=BA=AB=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CommandCard.vue | 18 ++- src/components/popup/ShareDialog.vue | 170 +++++++++++++++++++++++++++ src/pages/ShareCenterPage.vue | 1 - 3 files changed, 178 insertions(+), 11 deletions(-) create mode 100644 src/components/popup/ShareDialog.vue diff --git a/src/components/CommandCard.vue b/src/components/CommandCard.vue index ae049a0..a10d26d 100644 --- a/src/components/CommandCard.vue +++ b/src/components/CommandCard.vue @@ -56,19 +56,12 @@ 复制到剪贴板 - + 分享 - 暂未开放 - - - - - - 分享设置 - 暂未开放 + 分享到分享中心 + + + @@ -243,9 +239,10 @@ import commandTypes from "../js/options/commandTypes.js"; import platformTypes from "../js/options/platformTypes.js"; import CrontabSetting from "components/popup/CrontabSetting"; +import ShareDialog from "components/popup/ShareDialog"; export default { - components: { CrontabSetting }, + components: { CrontabSetting, ShareDialog }, data() { return { allProgrammings: this.$root.programs, @@ -253,6 +250,7 @@ export default { commandTypes: commandTypes, platformTypes: platformTypes, showCrontab: false, + showShare: false, cronJob: null, }; }, diff --git a/src/components/popup/ShareDialog.vue b/src/components/popup/ShareDialog.vue new file mode 100644 index 0000000..e78bf56 --- /dev/null +++ b/src/components/popup/ShareDialog.vue @@ -0,0 +1,170 @@ + + + diff --git a/src/pages/ShareCenterPage.vue b/src/pages/ShareCenterPage.vue index 6044adf..dcbd20a 100644 --- a/src/pages/ShareCenterPage.vue +++ b/src/pages/ShareCenterPage.vue @@ -130,7 +130,6 @@ export default { perPage: 8, commandSearchKeyword: "", releaseRepo: "fofolee/qcreleases", - shareRepo: "fofolee/qcshares", commandTypes: commandTypes, platform: window.processPlatform, };