From e438887aa80970711a537be92ebb7f798a0f5b3a Mon Sep 17 00:00:00 2001 From: Mouse Date: Sat, 27 Mar 2021 22:12:17 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0002?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 002.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 002.txt diff --git a/002.txt b/002.txt new file mode 100644 index 0000000..95d09f2 --- /dev/null +++ b/002.txt @@ -0,0 +1 @@ +hello world \ No newline at end of file -- Gitee From 24647ca61df75ec73c78503da9b579c6a9dfc8a2 Mon Sep 17 00:00:00 2001 From: Foxnike Date: Sat, 27 Mar 2021 22:22:42 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4=20021.?= =?UTF-8?q?txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 021.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 021.txt diff --git a/021.txt b/021.txt new file mode 100644 index 0000000..f58f762 --- /dev/null +++ b/021.txt @@ -0,0 +1 @@ +fuck world \ No newline at end of file -- Gitee From fc098bf8b34bf1d122b92fcf8c295bf62779b083 Mon Sep 17 00:00:00 2001 From: Foxnike Date: Wed, 31 Mar 2021 13:42:01 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E6=AF=8F=E6=97=A5=E4=B8=80=E5=8F=A5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tip.js | 8 ++++++++ src/assets/app.css | 13 +++++++++++++ src/main.js | 1 + src/view/Home.vue | 12 ++++++++++++ src/view/card/CardBar.vue | 32 ++++++++++++++++++++++++++++++++ src/view/card/Tip.vue | 39 +++++++++++++++++++++++++++++++++++++++ src/view/post/Index.vue | 32 ++++++++++++++++++++++++++++++++ 7 files changed, 137 insertions(+) create mode 100644 src/api/tip.js create mode 100644 src/assets/app.css create mode 100644 src/view/card/CardBar.vue create mode 100644 src/view/card/Tip.vue create mode 100644 src/view/post/Index.vue diff --git a/src/api/tip.js b/src/api/tip.js new file mode 100644 index 0000000..8a83600 --- /dev/null +++ b/src/api/tip.js @@ -0,0 +1,8 @@ +import request from '@/util/request' + +export function getTodayTip() { + return request({ + url: '/tip/today', + method: 'get' + }) +} \ No newline at end of file diff --git a/src/assets/app.css b/src/assets/app.css new file mode 100644 index 0000000..7afa975 --- /dev/null +++ b/src/assets/app.css @@ -0,0 +1,13 @@ +* { + margin: 0px; + padding: 0px; +} + +body, +html{ + background-color: cyan; +} +.el-card{ + margin-top: 10px; + margin-bottom: 10px; +} \ No newline at end of file diff --git a/src/main.js b/src/main.js index 3ac0fe9..0260bb6 100644 --- a/src/main.js +++ b/src/main.js @@ -10,6 +10,7 @@ import 'element-ui/lib/theme-chalk/index.css' import router from './router' // import store from './store' +import "@/assets/app.css" Vue.use(Buefy) Vue.use(ElementUI) diff --git a/src/view/Home.vue b/src/view/Home.vue index c0f7fa2..547076c 100644 --- a/src/view/Home.vue +++ b/src/view/Home.vue @@ -3,14 +3,26 @@
{{billboard.content}}
+
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/src/view/card/Tip.vue b/src/view/card/Tip.vue new file mode 100644 index 0000000..eff00db --- /dev/null +++ b/src/view/card/Tip.vue @@ -0,0 +1,39 @@ + + + + + \ No newline at end of file diff --git a/src/view/post/Index.vue b/src/view/post/Index.vue new file mode 100644 index 0000000..58cbfae --- /dev/null +++ b/src/view/post/Index.vue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file -- Gitee