diff --git a/web/package.json b/web/package.json
index f4db3dbe..f26a6b18 100644
--- a/web/package.json
+++ b/web/package.json
@@ -27,7 +27,8 @@
"vue-router": "^3.1.3",
"vuescroll": "^4.14.4",
"vuex": "^3.1.1",
- "vuex-persist": "^2.1.0"
+ "vuex-persist": "^2.1.0",
+ "timeline-vuejs": "1.1.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.11.0",
diff --git a/web/src/api/github.js b/web/src/api/github.js
new file mode 100644
index 00000000..d3f0c7c8
--- /dev/null
+++ b/web/src/api/github.js
@@ -0,0 +1,31 @@
+import axios from "axios";
+import { Loading } from "element-ui";
+
+let loadingInstance;
+let service = axios.create();
+
+service.interceptors.request.use((config) => {
+ loadingInstance = Loading.service({ fullscreen: true });
+ return config;
+});
+
+service.interceptors.response.use((resp) => {
+ loadingInstance.close();
+ return resp;
+});
+
+export function Commits(page) {
+ return service({
+ url:
+ "https://api.github.com/repos/flipped-aurora/gin-vue-admin/commits?page=" +
+ page,
+ method: "get",
+ });
+}
+
+export function Members() {
+ return service({
+ url: "https://api.github.com/orgs/FLIPPED-AURORA/members",
+ method: "get",
+ });
+}
diff --git a/web/src/assets/flipped-aurora.png b/web/src/assets/flipped-aurora.png
new file mode 100644
index 00000000..ceb9af5f
Binary files /dev/null and b/web/src/assets/flipped-aurora.png differ
diff --git a/web/src/main.js b/web/src/main.js
index ccba01db..acd1c0f3 100644
--- a/web/src/main.js
+++ b/web/src/main.js
@@ -14,6 +14,9 @@ import vueParticleLine from 'vue-particle-line'
import 'vue-particle-line/dist/vue-particle-line.css'
Vue.use(vueParticleLine)
+// time line css
+import '../node_modules/timeline-vuejs/dist/timeline-vuejs.css'
+
// 富文本插件
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
diff --git a/web/src/view/test/index.vue b/web/src/view/test/index.vue
index a856d157..d8b9c46c 100644
--- a/web/src/view/test/index.vue
+++ b/web/src/view/test/index.vue
@@ -1,16 +1,181 @@
-
- 动态路由测试
-
+
+
+
+
+ gin-vue-admin
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ flipped-aurora团队
+
+
+
+
+
+
+ 提交记录
+
+
+
+
+ Load more
+
+
+
+
\ No newline at end of file
+.avatar-img {
+ float: left;
+ height: 40px;
+ width: 40px;
+ border-radius: 50%;
+ -webkit-border-radius: 50%;
+ -moz-border-radius: 50%;
+ margin-top: 15px;
+}
+
+.org-img {
+ height: 150px;
+ width: 150px;
+}
+
+.author-name {
+ float: left;
+ line-height: 65px !important;
+ margin-left: 10px;
+ color: darkblue;
+ line-height: 100px;
+ font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
+ "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
+}
+
+.dom-center {
+ margin-left: 50%;
+ transform: translateX(-50%);
+}
+