【无标题】

代码

<!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>Users</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>123456@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<
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值