ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
文件路径:D:\ireport365\ireport365.war\template\role\list.html 文件最上面的css样式 ~~~ <style> .btn-default:hover{ background:#2990ea; color:#fff; border-color:#2990ea; } </style> ~~~ 代码 ~~~ <div class="modal-header"> <div style="float:left;"> <button class="btn btn-default" style="padding-left:10px;padding-right:10px;" ng-click="openEditFolderWindow($event)"><i class="fa fa-plus"></i>{{vsLang.folder}}</button> </div> <span class="btn btn-default fileinput-button" style="float:left;margin-left:5px;padding-left:5px;padding-right:10px;" ng-click="openRoleEditWindow($event)"> <i class="fa fa-plus"></i> <span>{{vsLang.role}}</span> </span> <span ng-show="hasItemSelected()" style="float:left;margin-left:5px;"> <button class="btn btn-default" ng-click="deleteSelectItems()"><i class="fa fa-trash"></i>{{vsLang.delete}}</button> </span> <a ng-href="{{getExportUrl()}}" target="exportFrame" class="btn btn-default" style="float:left;margin-left:5px;padding-left:5px;padding-right:5px;"> <i class="fa fa-upload"></i> <span>{{vsLang.export}}</span> </a> <span class="btn btn-default" style="float:left;margin-left:5px;padding-left:5px;padding-right:10px;" ng-click="loadData()"> <i class="fa fa-refresh"></i> <span>{{vsLang.refresh}}</span> </span> <div ng-show="hasItemSelected()" style="float:left;margin-left:5px;"> <button class="btn btn-default" ng-click="openRoleMoveWindow()">{{vsLang.move}}</button> </div> <div style="float:right;margin-top:2px;"> <div class="btn-group"> <div class="input-group" style="width:250px;"> <input ng-change="onFilterQueryChange()" ng-model="filter.query" type="text" class="form-control" style="border: 1px solid #F0F0F0;padding: 4px 10px;height:30px;" placeholder="{{vsLang.search}}"> <span class="input-group-btn"> <button ng-click="searchUserRoles()" class="btn btn-default" type="button" style="padding: 4px 10px;border: 1px solid #F0F0F0;"><i class="fa fa-search" style="height:20px;line-height:20px;"></i></button> </span> </div> </div> <div class="btn-group"> <label class="btn btn-default" ng-model="filter.type" ng-click="onFilterDeviceChange()" uib-btn-radio="'role'">{{vsLang.role}}</label> <label class="btn btn-default" ng-model="filter.type" ng-click="onFilterDeviceChange()" uib-btn-radio="'user'">{{vsLang.user}}</label> <label class="btn btn-default" ng-model="filter.type" ng-click="onFilterDeviceChange()" uib-btn-radio="'report'">{{vsLang.report}}</label> </div> </div> </div> ~~~ 代码图 ![](https://box.kancloud.cn/f14cd48c3d458d12d85e6ba02132048f_1202x648.png) ![](https://box.kancloud.cn/6489e4b11bf7f980449dc603f68fc12d_1270x309.png) 下面是效果图 ![](https://box.kancloud.cn/b1b996de8c43fd82d274a27ca289032d_1408x397.png) 下面是删除目录按钮 ~~~ <a href="javascript:" ng-show="selectedFolder != null" class="btn btn-default" ng-click="openEditFolderWindow($event, selectedFolder)" tooltip-placement="top" tooltip-append-to-body="true" style="position:absolute;width:50%;bottom:0;margin:0;font-size:12px;border-right:0;background:#1881dc;color:#fff;">{{vsLang.edit}}</a> <a href="javascript:" ng-show="selectedFolder != null" class="btn btn-danger" ng-click="deleteSelectedFolder()" tooltip-placement="top" tooltip-append-to-body="true" style="position:absolute;left:50%;width:50%;bottom:0;margin:0;font-size:12px;">{{vsLang.delete}}</a> ~~~ ![](https://box.kancloud.cn/4fbd71c7fefc2b62398792ec776c24ff_1227x224.png) 效果图 ![](https://box.kancloud.cn/fdfa0a610d1282c597e4f094291da85f_377x585.png)