SOURCE

console 命令行工具 X clear

                    
>
console
arm.controller("global_model", function($scope) {

  $scope.iconList = {
    "edit": {
      "setIcon": "bianji",
      "tooltipsInfo": "编辑"
    },
    "view": {
      "setIcon": "chakan",
      "tooltipsInfo": "查看"
    },
    "delete": {
      "setIcon": "shanchu text-danger",
      "tooltipsInfo": "删除"
    },
    "add": {
      "setIcon": "xinzeng",
      "tooltipsInfo": "新增"
    },
    "print": {
      "setIcon": "dayin",
      "tooltipsInfo": "打印"
    },
    "search": {
      "setIcon": "sousuo",
      "tooltipsInfo": "搜索"
    },
    "check": {
      "setIcon": "anquan",
      "tooltipsInfo": "审核"
    },
    "confirm": {
      "setIcon": "queding",
      "tooltipsInfo": "确定"
    },
    "reset": {
      "setIcon": "shuaxin",
      "tooltipsInfo": "重置"
    },
    "disabled": {
      "setIcon": "quxiao",
      "tooltipsInfo": "取消"
    },
    "pay": {
      "setIcon": "zhifupay",
      "tooltipsInfo": "付款"
    },
    "import": {
      "setIcon": "daoru",
      "tooltipsInfo": "导入"
    },
    "export": {
      "setIcon": "daochu",
      "tooltipsInfo": "导出"
    },
    "save": {
      "setIcon": "baocun",
      "tooltipsInfo": "保存"
    },
    "upload": {
      "setIcon": "shangchuan",
      "tooltipsInfo": "上传"
    },
    "transfer": {
      "setIcon": "renyuantiaodong",
      "tooltipsInfo": "人员调动"
    },
    "quit": {
      "setIcon": "lizhi1",
      "tooltipsInfo": "离职"
    },
    "stopSalary": {
      "setIcon": "tingxin",
      "tooltipsInfo": "停薪留职"
    },
    "addBlack": {
      "setIcon": "heimingdan",
      "tooltipsInfo": "加入黑名单"
    },
    "changeRecord": {
      "setIcon": "biangengjilu",
      "tooltipsInfo": "变更记录"
    },
    "backToWork": {
      "setIcon": "gangwei",
      "tooltipsInfo": "返岗"
    },
    "sendGoods": {
      "setIcon": "sendgoods",
      "tooltipsInfo": "发货"
    },
    "jifen": {
      "setIcon": "jifen",
      "tooltipsInfo": "积分"
    },
    "copy": {
      "setIcon": "fuzhi",
      "tooltipsInfo": "复制"
    },
    "batch": {
      "setIcon": "piliangtianjia",
      "tooltipsInfo": "批量"
    }
  };

})
<div class="wrapper" ng-app="arm-page">
  <!-- Content Wrapper. Contains page content -->
  <ul class="well">
    <li>icon-btn 指令名(属性,必须)</li>
    <li>icon-type='view' 图标类型(必须)</li>
    <li>icon-text 不使用默认文字(非必填,默认使用自定义文字)</li>
    <li>icon-notext 是否显示文本</li>
  </ul>

  <div ng-controller="global_model" class="content-wrapper ng-fadeInDown">
    <span style="margin:5px;display:inline-block;" ng-repeat="(k,v) in iconList">
      <a class="btn btn-default btn-sm" icon-btn icon-type="{{k}}" icon-notext="false">
        {{k}}
      </a>
    </span>
  </div>
</div>






<!-- Bootsqqtrap111 3.3.6 -->
<script type="text/javascript">
  var loginTime = new Date().getTime();
  var ctxStatic = "http://106.75.132.86:8080/static"
</script>
<script type="text/javascript">
  document.write("<link rel='stylesheet' type='text/css' href='" + ctxStatic + "/armframe/iconfont/iconfont.css?t=" + loginTime + "' />");
</script>
<script type="text/javascript">
  document.write("<link rel='stylesheet' type='text/css' href='" + ctxStatic + "/dist/css/mainarm-build.min.css?t=" + loginTime + "' />");
</script>
<script type="text/javascript">
  document.write("<link rel='stylesheet' type='text/css' href='" + ctxStatic + "/armframe/src/css/style-lyl.css?t=" + loginTime + "' />");
</script>
<script type="text/javascript">
  document.write("<link rel='stylesheet' type='text/css' href='" + ctxStatic + "/armframe/src/css/style-huxin.css?t=" + loginTime + "' />");
</script>
<!-- js&jquery插件 -->
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/jQuery/jquery-2.2.3.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/bootstrap/js/bootstrap.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/slimScroll/jquery.slimscroll.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/node_modules/CSV-JS/csv.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/My97DatePicker/WdatePicker.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/sweetalert/dist/sweetalert.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/echarts/echarts-min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/bootstrap-switch/js/bootstrap-switch.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/moment.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/controller/report/echartsext.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/tableExport/xlsx.core.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/tableExport/Blob.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/tableExport/FileSaver.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/tableExport/tableexport-3.2.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/ckeditor/ckeditor.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/public/JsBarcode.all.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/public/qrcode.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/pako/dist/pako.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/dist/js/app.min.js" ></sc' + 'ript>');
</script>
<!-- angularjs插件 -->
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-1.5.8/angular.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-1.5.8/ui-bootstrap-tpls-2.1.3.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-1.5.8/angular-route.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-1.5.8/angular-messages.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-1.5.8/angular-busy/angular-busy-min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/object-table/build/object-table.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/hotkeys/build/hotkeys.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-1.5.8/angular-sanitize.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/node_modules/angular-touch/angular-touch.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-1.5.8/angular-animate.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/angular-loading-bar-master/build/loading-bar.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/node_modules/angular-touch/angular-touch.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/tree-dropdown/tree-dropdown-min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-base64-upload-master/dist/angular-base64-upload.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/angular-drag-and-drop-lists-master/angular-drag-and-drop-lists.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/tree-grid-directive-master/src/tree-grid-directive-min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-tree-dnd-master/dist/ng-tree-dnd.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/ng-zTree-master/src/ng-zTree-directive.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/node_modules/angular-ui-grid/ui-grid-min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/ng-zTree-master/bower_components/ztree_v3/js/jquery.ztree.all-3.5.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/ng-zTree-master/bower_components/ztree_v3/js/jquery.ztree.exhide-3.5.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-toastr-master/dist/angular-toastr.tpls.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-xeditable-master/dist/js/xeditable.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/ocLazyLoad/ocLazyLoad.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-file-upload/dist/angular-file-upload.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angualr-color-picker/dist/color-picker.min.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/ui-select-master/dist/select.min.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/plugins/angular-bootstrap-switch/dist/angular-bootstrap-switch.js" ></sc' + 'ript>');
</script>
<!-- angularjs插件结束 -->
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/public/commonUtils.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/public/arm_cache.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<!-- pageJS -->
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/public/rule-fn.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/app/arm.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/drop-box-list/drop-box.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/app/arm_factory.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/app/arm_filter.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/arm_directive.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/multiview.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/formLayout.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/promotion_rule_directive.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/html_block_directive.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/services/exportReport.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/treeSelect.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/dictSelect.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/selectAddress2.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/ng-thumb.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/seachInvbatch.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/sortpanel.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/indexpanel.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/reportmodule.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/printTemplet.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/directive/chartpanel.js" ></sc' + 'ript>');
</script>
<script type="text/javascript">
  document.write('<scr' + 'ipt src="' + ctxStatic + '/armframe/armjs/controller/common_controller.js?t=' + loginTime + '" ></sc' + 'ript>');
</script>
.content-wrapper {
  padding: 10px 50px;
}
ul.well {
  margin:30px;
  padding:10px 30px;
}
ul.well li{
  list-style:square;
}