diff --git a/src/components/page/VueTable.vue b/src/components/page/VueTable.vue
deleted file mode 100644
index 31eda0a..0000000
--- a/src/components/page/VueTable.vue
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
- 表格
- VueDatasource
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index e9c1aee..ecd8f5d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -21,11 +21,6 @@ export default new Router({
path: '/table',
component: resolve => require(['../components/page/BaseTable.vue'], resolve)
},
- {
- // vue-datasource组件
- path: '/datasource',
- component: resolve => require(['../components/page/VueTable.vue'], resolve)
- },
{
path: '/form',
component: resolve => require(['../components/page/BaseForm.vue'], resolve)
diff --git a/static/css/datasource.css b/static/css/datasource.css
deleted file mode 100644
index c4ed35e..0000000
--- a/static/css/datasource.css
+++ /dev/null
@@ -1,167 +0,0 @@
-.vue-datasource *{
- box-sizing: border-box;
- font-size: 14px;
-}
-.vue-datasource .panel {
- margin-bottom: 22px;
- background-color: #fff;
- border: 1px solid transparent;
- border-radius: 4px;
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
-}
-.vue-datasource .panel-default {
- border-color: #d3e0e9;
-}
-.vue-datasource .panel-heading {
- padding: 10px 15px;
- border-bottom: 1px solid transparent;
- border-top-right-radius: 3px;
- border-top-left-radius: 3px;
-}
-.vue-datasource .panel-default > .panel-heading {
- height:56px;
- color: #333333;
- background-color: #fff;
- border-color: #d3e0e9;
-}
-.vue-datasource .pull-left {
- float: left !important;
-}
-.vue-datasource .pull-right {
- float: right !important;
-}
-.vue-datasource .form-group {
- margin-bottom: 15px;
-}
-.vue-datasource label {
- display: inline-block;
- max-width: 100%;
- margin-bottom: 5px;
- font-weight: bold;
-}
-.vue-datasource .form-control {
- display: block;
- width: 100%;
- height: 36px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.6;
- color: #555555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccd0d2;
- border-radius: 4px;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
- -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
- transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-}
-.vue-datasource .btn {
- display: inline-block;
- margin-bottom: 0;
- font-weight: normal;
- text-align: center;
- vertical-align: middle;
- touch-action: manipulation;
- cursor: pointer;
- background-image: none;
- border: 1px solid transparent;
- white-space: nowrap;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.6;
- border-radius: 4px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-.vue-datasource .btn-primary {
- color: #fff;
- background-color: #3097D1;
- border-color: #2a88bd;
-}
-.vue-datasource .table {
- width: 100%;
- max-width: 100%;
- margin-bottom: 22px;
- border-collapse: collapse;
- border-spacing: 0;
- text-align: center;
-}
-.vue-datasource .table > thead > tr > th {
- vertical-align: bottom;
- border-bottom: 2px solid #ddd;
-}
-.vue-datasource .table th ,.vue-datasource .table td {
- padding: 8px;
- line-height: 1.6;
- vertical-align: top;
- border-top: 1px solid #ddd;
-}
-.vue-datasource .table-striped > tbody > tr:nth-of-type(odd) {
- background-color: #f9f9f9;
-}
-.vue-datasource .success th ,.vue-datasource .success td{
- background-color: #dff0d8;
-}
-.vue-datasource .pagination {
- display: inline-block;
- padding-left: 0;
- margin: 22px 0;
- border-radius: 4px;
-}
-.vue-datasource .pagination > li {
- display: inline;
-}
-.pagination > li > a,.pagination > li > span {
- position: relative;
- float: left;
- padding: 6px 12px;
- line-height: 1.6;
- text-decoration: none;
- color: #3097D1;
- background-color: #fff;
- border: 1px solid #ddd;
- margin-left: -1px;
-}
-.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
- color: #777777;
- background-color: #fff;
- border-color: #ddd;
- cursor: not-allowed;
-}
-.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
- z-index: 3;
- color: #fff;
- background-color: #3097D1;
- border-color: #3097D1;
- cursor: default;
-}
-.vue-datasource .pagination > li:first-child > a, .vue-datasource .pagination > li:first-child > span {
- margin-left: 0;
- border-bottom-left-radius: 4px;
- border-top-left-radius: 4px;
-}
-.vue-datasource .text-center {
- text-align: center;
-}
-
-
-
-
-@media (min-width: 768px){
- .form-inline .form-group {
- display: inline-block;
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
- .form-inline .form-control {
- display: inline-block;
- width: auto;
- vertical-align: middle;
- }
-}
diff --git a/static/css/theme-green/color-green.css b/static/css/theme-green/color-green.css
index f81d70d..7a19ed6 100644
--- a/static/css/theme-green/color-green.css
+++ b/static/css/theme-green/color-green.css
@@ -1,27 +1,22 @@
-.header{
- background-color: #00d1b2;
-}
-.login-wrap{
- background: rgba(56, 157, 170, 0.82);;
-}
-.plugins-tips{
- background: #f2f2f2;
-}
-.plugins-tips a{
- color: #00d1b2;
-}
-.el-upload--text em {
- color: #00d1b2;
-}
-.pure-button{
- background: #00d1b2;
-}
-.vue-datasource .btn-primary {
- color: #fff;
- background-color: #00d1b2 !important;
- border-color: #00d1b2 !important;
-}
-.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
- background-color: #00d1b2 !important;
- border-color: #00d1b2 !important;
+.header{
+ background-color: #00d1b2;
+}
+.login-wrap{
+ background: rgba(56, 157, 170, 0.82);;
+}
+.plugins-tips{
+ background: #f2f2f2;
+}
+.plugins-tips a{
+ color: #00d1b2;
+}
+.el-upload--text em {
+ color: #00d1b2;
+}
+.pure-button{
+ background: #00d1b2;
+}
+.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
+ background-color: #00d1b2 !important;
+ border-color: #00d1b2 !important;
}
\ No newline at end of file
diff --git a/static/data.json b/static/data.json
deleted file mode 100644
index 82a10f5..0000000
--- a/static/data.json
+++ /dev/null
@@ -1,162 +0,0 @@
-{
- "pagination": {
- "total": 15,
- "per_page": 15,
- "current_page": 1,
- "last_page": 1,
- "from": 1,
- "to": 15
- },
- "data": [
- {
- "id": 1,
- "name": "Jaylen Schmidt",
- "email": "aheaney@example.org",
- "city": "Conroyburgh",
- "company": "Kunde, Gerhold and Runte",
- "job": "Soil Scientist",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 2,
- "name": "Ms. Desiree Franecki III",
- "email": "pweissnat@example.net",
- "city": "New Mathew",
- "company": "Davis Ltd",
- "job": "Customer Service Representative",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 3,
- "name": "Clyde Corwin",
- "email": "rolfson.lexus@example.com",
- "city": "East Ron",
- "company": "Zieme and Sons",
- "job": "Claims Taker",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 4,
- "name": "Mr. Tyrese Kuphal",
- "email": "libby.heaney@example.com",
- "city": "Cristianland",
- "company": "Abernathy LLC",
- "job": "Occupational Health Safety Technician",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 5,
- "name": "Ms. Amya West PhD",
- "email": "uheller@example.org",
- "city": "Treutelmouth",
- "company": "Mraz-Effertz",
- "job": "Hazardous Materials Removal Worker",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 6,
- "name": "Murphy Stamm IV",
- "email": "ckautzer@example.com",
- "city": "Myleneshire",
- "company": "Sporer-Wolf",
- "job": "Pipelaying Fitter",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 7,
- "name": "Elsa Jast",
- "email": "kaitlyn.lang@example.net",
- "city": "Mariahstad",
- "company": "Hackett LLC",
- "job": "Record Clerk",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 8,
- "name": "Hardy Mosciski DVM",
- "email": "soledad44@example.net",
- "city": "Jasminborough",
- "company": "Haley Ltd",
- "job": "Kindergarten Teacher",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 9,
- "name": "Demarcus Littel",
- "email": "americo84@example.com",
- "city": "New Lilaton",
- "company": "Satterfield Group",
- "job": "Plant Scientist",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 10,
- "name": "Dr. Shad Gleichner",
- "email": "eleanora23@example.com",
- "city": "Lake Whitneyberg",
- "company": "Fay Group",
- "job": "Rotary Drill Operator",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 11,
- "name": "Milford Mann",
- "email": "shartmann@example.net",
- "city": "Lake Austinport",
- "company": "Sporer-Langosh",
- "job": "Social and Human Service Assistant",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 12,
- "name": "Prof. Mustafa Lindgren Sr.",
- "email": "lizeth.morissette@example.net",
- "city": "Roweborough",
- "company": "Mitchell-Ratke",
- "job": "Shoe Machine Operators",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 13,
- "name": "Mrs. Brittany Bode Sr.",
- "email": "wiegand.mozelle@example.org",
- "city": "South Maxwellville",
- "company": "Reilly Inc",
- "job": "Bridge Tender OR Lock Tender",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 14,
- "name": "Dariana Bauch",
- "email": "dessie.schamberger@example.net",
- "city": "East Linnie",
- "company": "Wuckert PLC",
- "job": "Elementary and Secondary School Administrators",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- },
- {
- "id": 15,
- "name": "Jalon Renner",
- "email": "lulu45@example.net",
- "city": "New Rashad",
- "company": "Muller-Kuhn",
- "job": "Manufactured Building Installer",
- "created_at": "2017-01-13 19:17:16",
- "updated_at": "2017-01-13 19:17:16"
- }
- ]
-}
\ No newline at end of file
diff --git a/static/datasource.json b/static/datasource.json
deleted file mode 100644
index 7f958aa..0000000
--- a/static/datasource.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "data": [{
- "id": 1,
- "name": "段娜",
- "email": "g.rgiuory@kctbut.mw",
- "ip": "68.28.4.232"
- },
- {
- "id": 2,
- "name": "蔡洋",
- "email": "y.mwjjoje@lpkshev.tg",
- "ip": "22.126.12.189"
- },
- {
- "id": 3,
- "name": "陈敏",
- "email": "e.voaiiuo@mvng.sn",
- "ip": "227.89.13.37"
- },
- {
- "id": 4,
- "name": "朱平",
- "email": "e.lduuf@nkfypn.az",
- "ip": "9.39.240.243"
- },
- {
- "id": 5,
- "name": "侯平",
- "email": "t.czqjyndts@jmwenklns.md",
- "ip": "178.162.29.113"
- },
- {
- "id": 6,
- "name": "常超",
- "email": "d.dhysgem@uxpcutmlk.tt",
- "ip": "192.50.103.170"
- },
- {
- "id": 7,
- "name": "许平",
- "email": "g.fiqdonvbc@wanepptw.tv",
- "ip": "73.20.99.60"
- },
- {
- "id": 8,
- "name": "毛超",
- "email": "w.unyyejh@qus.gt",
- "ip": "10.88.135.123"
- },
- {
- "id": 9,
- "name": "周磊",
- "email": "e.qbejguqqg@ejpxhltoak.gw",
- "ip": "244.221.237.210"
- },
- {
- "id": 10,
- "name": "胡秀英",
- "email": "s.dszo@uxaojtj.sy",
- "ip": "86.199.17.210"
- }
- ],
- "pagination": {
- "total": 15,
- "per_page": 15,
- "current_page": 1,
- "last_page": 1,
- "from": 1,
- "to": 15
- }
-}
\ No newline at end of file