diff --git a/src/api/index.ts b/src/api/index.ts index cd8b1f2..82f4cb2 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -18,3 +18,4 @@ export function getinfo(): Promise{ export function seninfo(data: object): Promise{ return post("b",data) } + diff --git a/src/components/login/LoginTab.vue b/src/components/login/LoginTab.vue new file mode 100644 index 0000000..f82c8c7 --- /dev/null +++ b/src/components/login/LoginTab.vue @@ -0,0 +1,48 @@ + + + + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 5eafd8d..d1d306d 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,4 +1,6 @@ import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router' +import Home from '../views/Home.vue' +import Login from "../views/login/Login.vue" const routes: Array = [ { @@ -29,12 +31,14 @@ const routes: Array = [ component: () => import(/* webpackChunkName: "about" */ '../components/NavTop.vue') }, { - path: '/about', - name: 'About', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') + path: '/login', + name: 'Login', + component:Login + }, + { + path: '/sign', + name: 'Sign', + component: () => import('../views/login/Sign.vue') }, ] diff --git a/src/views/About.vue b/src/views/About.vue deleted file mode 100644 index 3fa2807..0000000 --- a/src/views/About.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue new file mode 100644 index 0000000..042d88a --- /dev/null +++ b/src/views/login/Login.vue @@ -0,0 +1,403 @@ + + + + \ No newline at end of file diff --git a/src/views/login/Sign.vue b/src/views/login/Sign.vue new file mode 100644 index 0000000..4d44b20 --- /dev/null +++ b/src/views/login/Sign.vue @@ -0,0 +1,373 @@ + + + + \ No newline at end of file diff --git a/static/agree.png b/static/agree.png new file mode 100644 index 0000000..6dab149 Binary files /dev/null and b/static/agree.png differ diff --git a/static/email.png b/static/email.png new file mode 100644 index 0000000..ddf119e Binary files /dev/null and b/static/email.png differ diff --git a/static/facebook.png b/static/facebook.png new file mode 100644 index 0000000..042d1c0 Binary files /dev/null and b/static/facebook.png differ diff --git a/static/loginbg.png b/static/loginbg.png new file mode 100644 index 0000000..b66ee9d Binary files /dev/null and b/static/loginbg.png differ diff --git a/static/success.png b/static/success.png new file mode 100644 index 0000000..60fa7d8 Binary files /dev/null and b/static/success.png differ diff --git a/static/tel.png b/static/tel.png new file mode 100644 index 0000000..37a23c1 Binary files /dev/null and b/static/tel.png differ diff --git a/static/weibo.png b/static/weibo.png new file mode 100644 index 0000000..52698b9 Binary files /dev/null and b/static/weibo.png differ diff --git a/static/weixin.png b/static/weixin.png new file mode 100644 index 0000000..6622aaf Binary files /dev/null and b/static/weixin.png differ diff --git a/yarn.lock b/yarn.lock index 643c375..ddfc1dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7893,8 +7893,8 @@ sass-graph@2.2.5: sass-loader@^10.0.2: version "10.0.2" - resolved "https://registry.npm.taobao.org/sass-loader/download/sass-loader-10.0.2.tgz?cache=0&sync_timestamp=1599136698634&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsass-loader%2Fdownload%2Fsass-loader-10.0.2.tgz#c7b73010848b264792dd45372eea0b87cba4401e" - integrity sha1-x7cwEISLJkeS3UU3LuoLh8ukQB4= + resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.0.2.tgz#c7b73010848b264792dd45372eea0b87cba4401e" + integrity sha512-wV6NDUVB8/iEYMalV/+139+vl2LaRFlZGEd5/xmdcdzQcgmis+npyco6NsDTVOlNA3y2NV9Gcz+vHyFMIT+ffg== dependencies: klona "^2.0.3" loader-utils "^2.0.0"