<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ##創建用戶數據 1. 創建一個data數組來模擬保存從數據庫中讀取的數據 ~~~ $scope.data = [ { name:"張三", age:20, sex:"男" }, { name:"李四", age:18, sex:"女" }, { name:"王五", age:30, sex:"男" } ]; ~~~ 2. 把數據放到C:/demo/App/Modules/System/Controllers/User/UserSystemCtrl.js 文件控制器里 ![](https://box.kancloud.cn/5394c585e402992fb84c1c75cffc57b0_1366x768.gif) 3. 修改視圖C:/demo/App/Modules/System/Views/User/UserView.html把數據遍歷出來 ![](https://box.kancloud.cn/693d1739fe3ce9266bad9bdfea0f3cd6_1366x768.gif) &nbsp; ##用戶管理 的demo代碼 1.C:/demo/App/Modules/System/Controllers/User/UserSystemCtrl.js 控制器所有代碼 ~~~ /** * 自動創建于:2017-03-24 13:02:07 */ (function () { "use strict"; angular.module("App").controller("UserSystemCtrl",["$rootScope","$scope",function ($rootScope,$scope) { $scope.data = [ { name:"張三", age:20, sex:"男" }, { name:"李四", age:18, sex:"女" }, { name:"王五", age:30, sex:"男" } ]; }]); })(); ~~~ 2.C:/demo/App/Modules/System/Views/User/UserView.html 視圖所有代碼 ~~~ <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"> 用戶管理 </h3> </div> <div class="panel-body"> <div class="row"> <div class="col-md-12"> <table class="table table-hover"> <thead> <tr> <th> # </th> <th> 姓名 </th> <th> 年齡 </th> <th> 性別 </th> </tr> </thead> <tbody> <tr ng-repeat="o in data"> <td> {{$index+1}} </td> <td> {{o.name}} </td> <td> {{o.age}} </td> <td> {{o.sex}} </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看