08 2017 档案
摘要:ng-init设置默认选中值。 <body ng-app ng-init="msg='hello'"> <div id="app"> <input type="text" ng-model="msg"> <p>{{msg}}</p> </div> </body>废弃声明 (v1.5) v1.5 中$
阅读全文
摘要:UI 内容,样式,交互RequireJS是一个非常小巧的JavaScript模块载入框架,是AMD规范最好的实现者之一1. 防止js加载阻塞页面渲染2. 使用程序调用的方式加载js,防出现如下丑陋的场景一个程序要想使用一个可复用模块,需要先声明这种依赖关系,再使用查找{{username}}绑定表达
阅读全文
摘要:TASKBLL方法 /// <summary> /// 获取所有任务 /// </summary> /// <returns></returns> public object GetList() { return Common.NewtonJsonHelper.Deserialize<object>
阅读全文
摘要:分页: var GetData = function () { TaskAuditsService.SearchSellList($scope.paginationConf.currentPage, $scope.paginationConf.itemsPerPage, 3).success(fun
阅读全文
摘要:'/Scripts/Vendor/jquery-ui/jquery-ui.min.js', <link href="/Content/common/jquery-ui.min.css" rel="stylesheet" /> HTML部分: <div class="form-group"> <lab
阅读全文
摘要:<!-- 按钮触发模态框 --><button ng-controller="UserInfoController" class="btn btn-primary btn-lg" data-toggle="modal" ng-click="open()"> 开始演示模态框</button><scri
阅读全文
摘要:<div class="container-fluid"> <!--顶头部分--> <div class="top row"> <div class="col-md-offset-1 col-md-6 col-xs-6 col-sm-6"> <div class="log"> <img src="i
阅读全文

浙公网安备 33010602011771号