登录-Index页面
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
<style>
* {
padding:0;
margin:0;
}
a {
text-decoration: none;
color: #4cff00;
}
.head {
margin-left:500px;
font-size:25px;
}
.geren {
margin-top:40px;
margin-left: 400px;
color:#b200ff;
}
</style>
</head>
<body>
<div>
<span class="head"><a href="/Login/Login">登陆</a>
<a href="/Login/Add">注册</a></span>
<div class="geren">
<h2>欢迎你,@ViewBag.Name</h2>
</div>
</div>
</body>
</html>