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,
};