ui-jry_files_change.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <div>
  2. <div class="modal-header">
  3. <div class="modal-title fontcolor-two fontsizes-14">更换目录<button type="button" class="close pull-right" ng-click="cancel()">×</button></div>
  4. </div>
  5. <div class="folder">
  6. <div class="search">
  7. <input type="text" placeholder="请输入关键字" ng-model="search_tree_ipt" ng-change="search_tree_fn()">
  8. <i class="iconfont icon-search"></i>
  9. </div>
  10. <div class="tree" ng-show="search_tree_ipt==''">
  11. <!-- <div class="tree"> -->
  12. <span ng-if="doing_async">...加载中...</span>
  13. <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-liebiao1" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
  14. </div>
  15. <div class="tree" ng-show="search_tree_ipt!=''">
  16. <div ng-repeat="v in search_tree_data" class="left_search_datas" tooltip="{{v.name}}" tooltip-placement="top" ng-click="left_search_tree_cli($index,v)" ng-class="{true:'cli_bg'}[$index==left_search_index]">{{v.name}}</div>
  17. </div>
  18. <!-- <div>已选中个<span class="files_bot_color">{{files_num}}</span>文件</div> -->
  19. <div>更换到<span class="files_bot_color">【{{change_file_name}}】</span>目录下</div>
  20. </div>
  21. <div class="modal-footer">
  22. <button class="btn btn-primary" ng-click="ok()" translate="modal.button.OK">OK</button>
  23. <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">Cancel</button>
  24. </div>
  25. </div>
  26. <style>
  27. .files_bot_color{
  28. color:rgb(0,83,149)
  29. }
  30. .folder{
  31. border:1px rgb(185, 184, 184) solid;
  32. height: 500px;
  33. border-radius: 2px
  34. }
  35. /* 搜索 */
  36. .folder .search{
  37. height: 25px;
  38. margin: 0 auto;
  39. display: flex;
  40. justify-content:center;
  41. margin-top: 8px
  42. }
  43. .folder .search input{
  44. border-radius: 4px 0 0 4px;
  45. height: 25px;
  46. width: 85%
  47. }
  48. .folder .search input:focus{
  49. outline: none
  50. }
  51. .folder .search input::-webkit-input-placeholder{
  52. font-size: 13px;
  53. color: rgb(180, 179, 179)
  54. }
  55. .folder .search i{
  56. display: inline-block;
  57. height: 24.5px;
  58. width: 25px;
  59. line-height: 26px;
  60. text-align: center;
  61. border-radius: 0px 4px 4px 0px;
  62. font-size: 14px;
  63. color: rgb(192, 191, 191);
  64. border: 1px rgb(222, 222, 222) solid;
  65. margin-left: -1px;
  66. cursor: pointer;
  67. }
  68. /* 树 */
  69. .folder .tree{
  70. height: 422px;
  71. overflow: hidden;
  72. margin-top: 8px;
  73. overflow-y: scroll;
  74. }
  75. .folder .tree a{
  76. display: inline-block;
  77. width: 100%;
  78. overflow: hidden;
  79. white-space: nowrap;
  80. text-overflow: ellipsis
  81. }
  82. .folder .tree .left_search_datas{
  83. /* display: inline-block; */
  84. width: 100%;
  85. overflow: hidden;
  86. white-space: nowrap;
  87. text-overflow: ellipsis
  88. }
  89. .folder .tree::-webkit-scrollbar{
  90. display: none
  91. }
  92. .folder .tree i{
  93. font-size: 14px
  94. }
  95. </style>