navmanager.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <style>
  2. /* 公共css,需要复用 */
  3. .iconfont {
  4. font-size: 14px;
  5. }
  6. .nav-pills>li>a {
  7. border-radius: 0px;
  8. }
  9. .nav-pills>li.active>a,
  10. .nav-pills>li.active>a:hover,
  11. .nav-pills>li.active>a:focus {
  12. background-color: #006bbf;
  13. color: white !important;
  14. }
  15. .mainDiv {
  16. overflow: hidden;
  17. border-radius: 8px;
  18. border: 1px solid #eeeeee;
  19. /* padding: 14px */
  20. }
  21. .mainDiv-wrapper {
  22. /* padding-top: 14px; */
  23. /* padding-bottom: 14px; */
  24. padding-left: 14px;
  25. padding-right: 14px;
  26. }
  27. .mainDivLeft {
  28. width: 288px;
  29. float: left;
  30. padding: 14px 7px 14px 14px;
  31. }
  32. .mainDivRight {
  33. margin-left: 288px;
  34. padding: 14px;
  35. padding: 14px 14px 14px 7px;
  36. }
  37. .mainDivLeft-body {
  38. border-radius: 8px;
  39. border: 1px solid #eeeeee;
  40. padding: 14px;
  41. }
  42. .mainDivRight-body {
  43. border-radius: 8px;
  44. border: 1px solid #eeeeee;
  45. padding: 14px;
  46. }
  47. /* .mainDivLeft {
  48. display: inline-block;
  49. width: 288px;
  50. margin-right: 14px;
  51. } */
  52. /* .mainDivRight {
  53. display: inline-block;
  54. } */
  55. .mainDiv-head {
  56. height: 47px;
  57. line-height: 47px;
  58. background: #f5f5f5;
  59. font-size: 16px;
  60. color: #606367;
  61. border-radius: 8px 8px 0 0;
  62. padding-left: 10px;
  63. padding-right: 4px;
  64. }
  65. .mainDivLeft-span {
  66. border: 1px solid;
  67. /* padding: 15px 0px 15px 0px; */
  68. padding-left: 15px;
  69. padding-right: 15px;
  70. padding-top: 4px;
  71. padding-bottom: 4px;
  72. height: 28px;
  73. line-height: 28px;
  74. border-radius: 4px;
  75. margin-right: 10px;
  76. font-size: 14px;
  77. }
  78. .mainDiv-head-right {
  79. display: inline-block;
  80. float: right;
  81. }
  82. .edit-left {
  83. display: inline-block;
  84. /* float: left; */
  85. margin-left: 10px;
  86. }
  87. .span-1 {
  88. border: none;
  89. color: white;
  90. background-color: #2edbb8;
  91. }
  92. .span-2 {
  93. border: none;
  94. color: white;
  95. background-color: #006bc0;
  96. }
  97. .span-3 {
  98. border: none;
  99. color: white;
  100. background-color: #fc4c58;
  101. }
  102. .span-4 {
  103. border: none;
  104. color: white;
  105. background-color: #fcb44c;
  106. }
  107. .mainDiv-body {
  108. border-radius: 8px;
  109. border: 1px solid #eeeeee;
  110. margin: 14px;
  111. padding-top: 14px;
  112. }
  113. .mainDiv-body-1 {
  114. height: 50px;
  115. line-height: 50px;
  116. font-size: 16px;
  117. color: #606367;
  118. padding: 0px 14px;
  119. border-bottom: 1px solid #eeeeee;
  120. }
  121. .mainDiv-body-2 {
  122. height: 70px;
  123. line-height: 70px;
  124. font-size: 14px;
  125. color: #606367;
  126. padding: 0px 30px;
  127. border-bottom: 1px solid #eeeeee;
  128. }
  129. .mainDiv-body-2:last-child {
  130. border-bottom: none;
  131. }
  132. .fixHeight {
  133. height: 450px;
  134. overflow: auto;
  135. }
  136. .mainDiv-body-3 {
  137. height: 50px;
  138. line-height: 50px;
  139. font-size: 14px;
  140. color: #606367;
  141. padding: 0px 30px;
  142. border-bottom: 1px solid #eeeeee;
  143. }
  144. .mainDiv-body-3:last-child {
  145. border-bottom: none;
  146. }
  147. .mainDiv-body-img {
  148. height: 90px;
  149. border-radius: 4px;
  150. margin: 14px;
  151. margin-bottom: 0px;
  152. overflow: hidden;
  153. }
  154. .mainDiv-body-noList {
  155. height: 110px;
  156. margin: 150px 0;
  157. text-align: center;
  158. }
  159. .form-control {
  160. display: inline-block;
  161. }
  162. .mainDivLeft-span-1 {
  163. border: 1px solid;
  164. padding-left: 15px;
  165. padding-right: 15px;
  166. /* padding-top: 4px; */
  167. /* padding-bottom: 4px; */
  168. height: 28px;
  169. line-height: 28px;
  170. border-radius: 4px;
  171. margin-right: 10px;
  172. font-size: 14px;
  173. display: inline-block;
  174. }
  175. .mainDivLeft-span-2 {
  176. border: 1px solid;
  177. padding-left: 15px;
  178. padding-right: 15px;
  179. /* padding-top: 4px; */
  180. /* padding-bottom: 4px; */
  181. height: 28px;
  182. line-height: 28px;
  183. border-radius: 4px;
  184. margin-right: 10px;
  185. font-size: 14px;
  186. display: inline-block;
  187. }
  188. .mainDivLeft-span-edit-1 {
  189. border: 1px solid;
  190. padding-left: 8px;
  191. padding-right: 8px;
  192. /* padding-top: 4px; */
  193. /* padding-bottom: 4px; */
  194. height: 22px;
  195. line-height: 22px;
  196. border-radius: 2px;
  197. margin-right: 10px;
  198. font-size: 12px;
  199. display: inline-block;
  200. }
  201. .mainDivLeft-span-edit-2 {
  202. border: 1px solid;
  203. padding-left: 8px;
  204. padding-right: 8px;
  205. /* padding-top: 4px; */
  206. /* padding-bottom: 4px; */
  207. height: 22px;
  208. line-height: 22px;
  209. border-radius: 2px;
  210. margin-right: 10px;
  211. font-size: 12px;
  212. display: inline-block;
  213. }
  214. .bg-grey {
  215. background: #e9eff8 !important;
  216. color: #ffffff;
  217. border-radius: 4px 4px 0 0;
  218. margin-top: 7px;
  219. margin-bottom: 7px;
  220. }
  221. </style>
  222. <section id="page-title">
  223. <div class="row">
  224. <div class="col-sm-8">
  225. <h1 class="mainTitle">菜单配置
  226. <i tooltip='菜单设置,可对菜单配置进行新增,修改,删除' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i>
  227. </h1>
  228. </div>
  229. </div>
  230. </section>
  231. <div ng-controller="adminNavmanagerListCtrl">
  232. <div class="mainDiv">
  233. <div class="mainDiv-head">
  234. <span>菜单</span>
  235. <div class="mainDiv-head-right">
  236. <span class="mainDivLeft-span span-2 pointfont" ng-if="showAddservice==true" ng-click="addService()">新增服务</span>
  237. <span class="mainDivLeft-span span-4 pointfont" ng-if="showAddservice==true" ng-click="addData()">新增菜单事件</span>
  238. <span class="mainDivLeft-span span-1 pointfont" ng-if="showAddservice==true" ng-click="changeMenu()">修改</span>
  239. <span class="mainDivLeft-span span-3 pointfont" ng-if="showAddservice==true" ng-click="removeData()">删除</span>
  240. </div>
  241. </div>
  242. <div class="">
  243. <div class="mainDivLeft ">
  244. <div class="mainDivLeft-body fixHeight">
  245. <div class="box-tree ">
  246. <span ng-if="doing_asyncpower ">...加载中...</span>
  247. <abn-trees tree-data="my_power " on-chioce="formbranch(item)" on-select="showHandler(branch)" tree-control="my_tree " expand-level="" relation=false icon-expand="ti-plus " icon-collapse="ti-minus " check-boxs=false></abn-trees>
  248. </div>
  249. </div>
  250. </div>
  251. <div class="mainDivRight ">
  252. <div class="mainDivRight-body fixHeight">
  253. <div ui-view class="fade-in-up">
  254. <div class="mainDiv-body-noList">
  255. <img src="./assets/images/place/icon_quesheng.png" alt="">
  256. <p class="handlefont">请选择您需要的操作</p>
  257. </div>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. </div>