Commit d2115941 authored by Amy Yang's avatar Amy Yang

提交代码

parent 076fa440
This diff is collapsed.
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
}, },
"dependencies": { "dependencies": {
"core-js": "^3.6.5", "core-js": "^3.6.5",
"eslint": "^7.18.0",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-router": "^3.2.0", "vue-router": "^3.2.0",
"vuetify": "^2.2.11", "vuetify": "^2.2.11",
...@@ -22,7 +23,9 @@ ...@@ -22,7 +23,9 @@
"@vue/cli-service": "~4.5.0", "@vue/cli-service": "~4.5.0",
"@vue/eslint-config-standard": "^5.1.2", "@vue/eslint-config-standard": "^5.1.2",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"eslint": "^6.7.2", "eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.1.1",
"eslint-plugin-html": "^5.0.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^4.2.1",
......
<template> <template>
<v-app> <v-app id="app">
<div id="app"> <!-- <div id="nav">
<div id="nav">
<router-link to="/">Home</router-link> | <router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link> | <router-link to="/about">About</router-link> |
<router-link to="/login">Login</router-link> <router-link to="/login">Login</router-link>
</div> </div> -->
<router-view/> <router-view/>
</div>
</v-app> </v-app>
</template> </template>
<style lang="less"> <style lang="less">
#app { #app {
position: absolute;
height: 100%;
width: 100%;
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
......
import Vue from 'vue' import Vue from 'vue'
import VueRouter from 'vue-router' import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
Vue.use(VueRouter) Vue.use(VueRouter)
const routes = [ const routes = [
{ {
path: '/', path: '/',
name: 'Home', name: 'Login',
component: Home component: () => import(/* webpackChunkName: "about" */ '../views/Login.vue')
}, },
{ {
path: '/about', path: '/about',
......
<template> <template>
<div> <div class="login-container">
<div class="left">
<p>Elegant Design with unlimited features, built with love</p>
<p>
Wrappixel helps developers to build organized and well-coded admin
dashboards full of beautiful and feature rich modules.
</p>
</div>
<!-- <v-col cols="12" sm="6" md="8" class="info justify-center">
<v-layout row wrap align-center justify-center fill-height >
<v-container> <v-container>
<v-row no-gutters> <v-row class="justify-center">
<v-col> <v-col cols="9" sm="6" md="9">
<v-card color="primary" dark> <h2 class="display-1 white--text font-weight-medium" align="left">Elegant Design with unlimited features, built with love</h2>
<v-card-text>
<h2
class="white--text"
align="left"
>Elegant Design with unlimited features, built with love</h2>
<h6
align="left"
>Wrappixel helps developers to build organized and well-coded admin dashboards full of beautiful and feature rich modules.</h6>
</v-card-text>
</v-card>
</v-col> </v-col>
<v-col> </v-row>
<v-card> <v-row class="justify-center">
<v-col cols="9" sm="6" md="9">
<h6 class="subtitle-1 mt-4 white--text op-5 font-weight-regular" align="left">Wrappixel helps developers to build organized and well-coded admin dashboards full of beautiful and feature rich modules.</h6>
</v-col>
</v-row>
<v-row class="justify-center">
<v-col cols="9" sm="6" md="9">
<button type="button" class="mt-4 text-capitalize v-btn v-btn--depressed v-btn--flat v-btn--outlined theme--light v-size--x-large white--text">
<span class="v-btn__content">Learn More</span>
</button>
</v-col>
</v-row>
</v-container>
</v-layout>
</v-col>-->
<div class="right">
<div>
<v-card-title> <v-card-title>
<div> <div>
<v-row> <v-row>
...@@ -33,9 +48,9 @@ ...@@ -33,9 +48,9 @@
</v-row> </v-row>
<v-row> <v-row>
<v-col align="left"> <v-col align="left">
<h6 class="subtitle-1"> <h6 class="subtitle-1 ml-auto">
Don't have an account? Don't have an account?
<a href>Sign Up</a> <a class="text-decoration-none" href>Sign Up</a>
</h6> </h6>
</v-col> </v-col>
</v-row> </v-row>
...@@ -80,7 +95,7 @@ ...@@ -80,7 +95,7 @@
></v-checkbox> ></v-checkbox>
</v-col> </v-col>
<v-col align="right"> <v-col align="right">
<a class="link" href>Forgot pwd?</a> <a class="text-decoration-none" href>Forgot pwd?</a>
</v-col> </v-col>
</v-row> </v-row>
<v-row> <v-row>
...@@ -91,7 +106,8 @@ ...@@ -91,7 +106,8 @@
:disabled="invalid" :disabled="invalid"
color="primary" color="primary"
block block
>SIGN IN</v-btn> >SIGN IN</v-btn
>
</v-col> </v-col>
</v-row> </v-row>
</form> </form>
...@@ -102,10 +118,8 @@ ...@@ -102,10 +118,8 @@
<v-btn text>Github</v-btn> <v-btn text>Github</v-btn>
<v-spacer></v-spacer> <v-spacer></v-spacer>
</v-card-actions> </v-card-actions>
</v-card> </div>
</v-col> </div>
</v-row>
</v-container>
</div> </div>
</template> </template>
...@@ -122,5 +136,42 @@ export default { ...@@ -122,5 +136,42 @@ export default {
} }
} }
} }
</script> </script>
<style scoped lang="less">
.login-container {
display: flex;
height: 100%;
width: 100%;
.left {
flex: 1;
background: rgb(43, 129, 214);
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
p {
color: #ffffff;
width: 70%;
text-align: left;
font-size: 14px;
letter-spacing: 1px;
&:first-child {
margin-bottom: 8px;
font-size: 20px;
}
}
}
.right {
width: 640px;
height: 100%;
display: flex;
align-items: center;
div {
width: 100%;
}
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment