diff --git a/public/index.html b/public/index.html index 3ea64c8..0174f22 100644 --- a/public/index.html +++ b/public/index.html @@ -8,8 +8,8 @@ TDuck Cloud diff --git a/src/assets/images/bodyRight.png b/src/assets/images/bodyRight.png new file mode 100644 index 0000000..028215d Binary files /dev/null and b/src/assets/images/bodyRight.png differ diff --git a/src/assets/images/indexLogo.png b/src/assets/images/indexLogo.png new file mode 100644 index 0000000..70f28ac Binary files /dev/null and b/src/assets/images/indexLogo.png differ diff --git a/src/assets/images/loginView.jpg b/src/assets/images/loginView.jpg deleted file mode 100644 index 2d1a99d..0000000 Binary files a/src/assets/images/loginView.jpg and /dev/null differ diff --git a/src/store/modules/token.js b/src/store/modules/token.js index 518c4b1..e330854 100644 --- a/src/store/modules/token.js +++ b/src/store/modules/token.js @@ -1,3 +1,4 @@ +/* eslint-disable no-shadow */ import { api } from '@/api' @@ -10,7 +11,7 @@ const state = { const getters = { isLogin: state => { let retn = false - if (state.token != null) { + if (state.token !== null) { let unix = Date.parse(new Date()) if (unix < state.failuretime * 1000) { retn = true diff --git a/src/views/Home.vue b/src/views/Home.vue index b72e58f..37a267e 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -4,23 +4,45 @@ - +
- - TDUCK CLOUD +
- {{item.title}} - 控 制 台 + 控 制 台 + 登 录 + {{item.title}}
-
+
+
+ + +
+

TDuck - 填鸭表单

+

有你所想,有你所得。

+

TDuck - Have what you want, get you income.

+

TDuck填鸭,是一款在线制作表单的应用工具,通过填鸭表单可以收集任何你想得到的信息。

+

简单易用,灵活的反馈数据筛选;统计图表一目了然

+
+ 免费使用 + 在线体验 +
+
+
+ +
+ +
+
+
+
@@ -33,37 +55,45 @@