main.js
import Vue from 'vue'
import App from './App'
import router from './router'
// import utils from './utils/index.js'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
<template>
<div class="login">
<form name = 'form' action="">
<input id="username" type="text" placeholder="请输入手机号码或用户名" />
<input id='pwd' type="password" placeholder="请输入密码" />
<button onclick="login()">登录</button>
</form>
<div class="account">
<p class="forget" style="float:right">忘记密码?</p>
<div class="register">
<span>还没有账号?</span>
<a href="#" rel="external nofollow" >手机注册</a>
</div>
</div>
<el-button>默认按钮</el-button>
<el-button type="primary">主要按钮</el-button>
<el-button type="text">文字按钮</el-button>
</div>
</template>
qq_1F_0
慕沐林林
杨__羊羊
相关分类