<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" href="./css/index.css">
<script src="./js/vue.global.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="app">
<div class="container">
<div class="row">
<div class="col-md-2">
<div class="list-group">
<a href="#" class="list-group-item " @click="index=1" :class="{active:index==1}">用户管理 </a>
<a href="#" class="list-group-item" @click="index=2" :class="{active:index==2}">用户搜索</a>
<a href="#" class="list-group-item" @click="index=3" :class="{active:index==3}">添加用户</a>
</div>
</div>
<div class="col-md-10">
<div class="page-header">
<h3><small>用户管理 </small></h3>
</div>
<div>
<!-- Nav tabs 标签页-->
<ul class="nav nav-tabs" >
<li @click="index=1" :class="{active:index==1}" ><a href="#" >用户列表</a></li>
<li @click="index=2" :class="{active:index==2}" ><a href="#" >用户搜索</a></li>
<li><a href="#">添加用户</a> </li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" :class="{active:index==1}" >
<div class="tab-content">
<table class="table">
<thead>
<tr>
<th>ID</th>
<th>用户名</th>
<th>邮箱</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>屿桉</td>
<td>30698@126.com</td>
<td>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
操作
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a href="#">编辑</a></li>
<li><a href="#">删除</a></li>
<li><a href="#">锁定</a></li>
<li><a href="#">修改密码</a></li>
</ul>
</div>
</td>
</tr>
<tr>
<th scope
项目三用户界面
最新推荐文章于 2024-08-18 19:57:55 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)