diff --git a/src/api/staticPage.js b/src/api/staticPage.js
new file mode 100644
index 00000000..10f5150f
--- /dev/null
+++ b/src/api/staticPage.js
@@ -0,0 +1,39 @@
+import service from '@/utils/service'
+
+const baseUrl = '/api/admin/static_page'
+
+const staticPageApi = {}
+
+staticPageApi.list = () => {
+ return service({
+ url: baseUrl,
+ method: 'get'
+ })
+}
+
+staticPageApi.generate = () => {
+ return service({
+ url: `${baseUrl}/generate`,
+ method: 'get'
+ })
+}
+
+staticPageApi.deploy = () => {
+ return service({
+ url: `${baseUrl}/deploy`,
+ method: 'get'
+ })
+}
+
+staticPageApi.deployType = {
+ GIT: {
+ type: 'GIT',
+ text: 'Git'
+ },
+ NETLIFY: {
+ type: 'NETLIFY',
+ text: 'Netlify'
+ }
+}
+
+export default staticPageApi
diff --git a/src/views/system/developer/tabs/SettingsForm.vue b/src/views/system/developer/tabs/SettingsForm.vue
index 646e26d0..f1fe7b86 100644
--- a/src/views/system/developer/tabs/SettingsForm.vue
+++ b/src/views/system/developer/tabs/SettingsForm.vue
@@ -1,5 +1,8 @@
-
+
@@ -18,7 +21,13 @@ export default {
name: 'SettingsForm',
data() {
return {
- options: []
+ options: [],
+ wrapperCol: {
+ xl: { span: 8 },
+ lg: { span: 8 },
+ sm: { span: 12 },
+ xs: { span: 24 }
+ }
}
},
created() {
diff --git a/src/views/system/staticpages/StaticPagesManage.vue b/src/views/system/staticpages/StaticPagesManage.vue
index 939c7408..b273740b 100644
--- a/src/views/system/staticpages/StaticPagesManage.vue
+++ b/src/views/system/staticpages/StaticPagesManage.vue
@@ -8,16 +8,19 @@
文件列表
+
部署平台
+
配置
+
@@ -26,7 +29,15 @@
diff --git a/src/views/system/staticpages/tabs/DeploySettingsForm.vue b/src/views/system/staticpages/tabs/DeploySettingsForm.vue
new file mode 100644
index 00000000..c9a1a4fb
--- /dev/null
+++ b/src/views/system/staticpages/tabs/DeploySettingsForm.vue
@@ -0,0 +1,100 @@
+
+
+
+
+ {{ deployType[item].text }}
+
+
+
+
+
+ 保存
+
+
+
+
diff --git a/src/views/system/staticpages/tabs/SettingsForm.vue b/src/views/system/staticpages/tabs/SettingsForm.vue
new file mode 100644
index 00000000..2202e09b
--- /dev/null
+++ b/src/views/system/staticpages/tabs/SettingsForm.vue
@@ -0,0 +1,10 @@
+
+
+ SettingsForm
+
+
+
diff --git a/src/views/system/staticpages/tabs/StaticPagesList.vue b/src/views/system/staticpages/tabs/StaticPagesList.vue
new file mode 100644
index 00000000..9b77cdf3
--- /dev/null
+++ b/src/views/system/staticpages/tabs/StaticPagesList.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+ {{ name }}
+
+
+
+
+
+
+
+