效果预览:
演示:点击这里查看效果
用法:
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<meta charset="UTF-8">
<title>imgshow</title>
<!-- 代码开始 1/2 -->
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet"...
分类为 AngularJS 的文章:
app.controller("commonCtl", function ($scope, $uibModal) {
$scope.openDialog = function () {
var modalInstance = $uibModal.open({
templateUrl: 'dialog.html',
controller: 'formCtl',
windowClass: 'window',
size: 'lg',
resolve: {
data: function () {
return $scope.data;
}
}
});
modalInstance.result.then(
function (data) { // 关闭...
效果预览:
演示:点击这里查看效果
用法:
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<meta charset="UTF-8">
<title>approvalProgress</title>
<!-- 代码开始 1/2 -->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/jquery.ap.css"...
效果预览:
演示:点击这里查看效果
代码:
<script src="jquery.min.js"></script>
<link href="jquery.ap.css" rel="stylesheet" />
<script src="jquery.ap.js"></script>
<script>
$(function(){
$('.approvalProgress').ap({step:2});
});
</script>
<div class="approvalProgress">
<ol class=&...