From b8db6b49b45c7115090a795e86f4f0f3e2feda7c Mon Sep 17 00:00:00 2001
From: iczer <1126263215@qq.com>
Date: Thu, 26 Jul 2018 23:22:14 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EGloablFooter=E3=80=81?=
=?UTF-8?q?=E6=A0=87=E5=87=86=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/layout/CommonPageLayout.vue | 36 ++++++
src/components/layout/GloablFooter.vue | 43 +++++++
src/components/layout/GloablLayout.vue | 6 +-
src/components/list/StandardList.vue | 140 +++++++++++++++++++++
src/components/tool/HeadInfo.vue | 42 +++++++
src/router/index.js | 10 +-
6 files changed, 272 insertions(+), 5 deletions(-)
create mode 100644 src/components/layout/CommonPageLayout.vue
create mode 100644 src/components/layout/GloablFooter.vue
create mode 100644 src/components/list/StandardList.vue
create mode 100644 src/components/tool/HeadInfo.vue
diff --git a/src/components/layout/CommonPageLayout.vue b/src/components/layout/CommonPageLayout.vue
new file mode 100644
index 0000000..4ea20de
--- /dev/null
+++ b/src/components/layout/CommonPageLayout.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
diff --git a/src/components/layout/GloablFooter.vue b/src/components/layout/GloablFooter.vue
new file mode 100644
index 0000000..dd586db
--- /dev/null
+++ b/src/components/layout/GloablFooter.vue
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
diff --git a/src/components/layout/GloablLayout.vue b/src/components/layout/GloablLayout.vue
index cca99ed..2c80266 100644
--- a/src/components/layout/GloablLayout.vue
+++ b/src/components/layout/GloablLayout.vue
@@ -14,7 +14,9 @@
-
+
+
+
@@ -24,6 +26,7 @@ import ALayout from 'vue-antd-ui/es/layout'
import GloablHeader from './GloablHeader'
import AIcon from 'vue-antd-ui/es/icon/icon'
import IMenu from '../menu/menu'
+import GloablFooter from './GloablFooter'
const ALayoutSider = ALayout.Sider
const ALayoutHeader = ALayout.Header
@@ -36,6 +39,7 @@ let menuData = []
export default {
name: 'GloablLayout',
components: {
+ GloablFooter,
AIcon,
GloablHeader,
ALayout,
diff --git a/src/components/list/StandardList.vue b/src/components/list/StandardList.vue
new file mode 100644
index 0000000..fecfcf6
--- /dev/null
+++ b/src/components/list/StandardList.vue
@@ -0,0 +1,140 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+ Alipay
+
+
+
+
+
+
+
开始时间
+
2018-07-26 22:44
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/tool/HeadInfo.vue b/src/components/tool/HeadInfo.vue
new file mode 100644
index 0000000..7ae8456
--- /dev/null
+++ b/src/components/tool/HeadInfo.vue
@@ -0,0 +1,42 @@
+
+
+
{{title}}
+
{{content}}
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index a08aaf3..a33371d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -6,12 +6,14 @@ import NotFound from '@/components/exception/404'
import NotPermit from '@/components/exception/403'
import ServerError from '@/components/exception/500'
import PageLayout from '@/components/layout/PageLayout'
+import CommonPageLayout from '@/components/layout/CommonPageLayout'
import BasicForm from '@/components/form/BasicForm'
import StepForm from '@/components/form/stepForm/StepForm'
import AdvancedForm from '@/components/form/advancedForm/AdvancedForm'
import Success from '@/components/result/Success'
import Error from '@/components/result/Error'
import QueryList from '@/components/list/QueryList'
+import StandardList from '@/components/list/StandardList'
Vue.use(Router)
@@ -52,7 +54,7 @@ export default new Router({
{
path: '/list',
name: '列表页',
- component: PageLayout,
+ component: CommonPageLayout,
icon: 'table',
children: [
{
@@ -64,7 +66,7 @@ export default new Router({
{
path: '/form/primary',
name: '标准表格',
- component: NotFound,
+ component: StandardList,
icon: 'none'
},
{
@@ -85,7 +87,7 @@ export default new Router({
path: '/detail',
name: '详情页',
icon: 'profile',
- component: PageLayout,
+ component: CommonPageLayout,
children: [
{
path: '/detail/basic',
@@ -105,7 +107,7 @@ export default new Router({
path: '/result',
name: '结果页',
icon: 'check-circle-o',
- component: PageLayout,
+ component: CommonPageLayout,
children: [
{
path: '/result/success',