informationCate.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  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. .panel-tabs,
  16. .tabbable {
  17. /* padding: 14px; */
  18. background-color: white;
  19. }
  20. .tab-content>.tab-pane,
  21. .pill-content>.pill-pane {
  22. padding: 14px;
  23. border-bottom: 1px solid #eeeeee;
  24. border-left: 1px solid #eeeeee;
  25. border-right: 1px solid #eeeeee;
  26. border-radius: 0px 0px 8px 8px;
  27. }
  28. .nav-tabs>li.active a,
  29. .nav-tabs>li.active a:hover,
  30. .nav-tabs>li.active a:focus {
  31. background-color: #006bc0;
  32. color: white;
  33. }
  34. .nav-tabs {
  35. border-top: 1px solid #eeeeee;
  36. border-bottom: 1px solid #eeeeee;
  37. border-left: 1px solid #eeeeee;
  38. border-right: 1px solid #eeeeee;
  39. border-radius: 8px 8px 0 0;
  40. height: 47px;
  41. }
  42. .nav-tabs>li {
  43. border-right: 1px solid #eeeeee;
  44. }
  45. .nav-tabs>li:last-child {
  46. border-right: none;
  47. }
  48. /* 独立css */
  49. .mainDiv {
  50. /* background: red; */
  51. /* padding: 14px; */
  52. /* height: 50px; */
  53. overflow: hidden;
  54. /* zoom: 1; */
  55. }
  56. .mainDivLeft {
  57. border-radius: 8px;
  58. border: 1px solid #eeeeee;
  59. width: 288px;
  60. float: left;
  61. }
  62. .mainDivRight {
  63. margin-left: 302px;
  64. border-radius: 8px;
  65. border: 1px solid #eeeeee;
  66. }
  67. .mainDiv-head {
  68. height: 47px;
  69. line-height: 47px;
  70. background: #f5f5f5;
  71. font-size: 16px;
  72. color: #606367;
  73. border-radius: 8px 8px 0 0;
  74. padding-left: 10px;
  75. padding-right: 4px;
  76. }
  77. .mainDivLeft-span {
  78. border: 1px solid;
  79. /* padding: 15px 0px 15px 0px; */
  80. padding-left: 15px;
  81. padding-right: 15px;
  82. padding-top: 4px;
  83. padding-bottom: 4px;
  84. height: 28px;
  85. line-height: 28px;
  86. border-radius: 4px;
  87. margin-right: 10px;
  88. font-size: 14px;
  89. }
  90. .mainDiv-head-right {
  91. display: inline-block;
  92. float: right;
  93. }
  94. .edit-left {
  95. display: inline-block;
  96. /* float: left; */
  97. margin-left: 10px;
  98. }
  99. .span-1 {
  100. border-color: #006bc0;
  101. color: #006bc0;
  102. }
  103. .span-2 {
  104. border: none;
  105. color: white;
  106. background-color: #006bc0;
  107. }
  108. .span-3 {
  109. border: none;
  110. color: white;
  111. background-color: #fc4c58;
  112. }
  113. .mainDiv-body {
  114. border-radius: 8px;
  115. border: 1px solid #eeeeee;
  116. margin: 14px;
  117. padding-top: 14px;
  118. }
  119. .mainDiv-body-1 {
  120. height: 50px;
  121. line-height: 50px;
  122. font-size: 16px;
  123. color: #606367;
  124. padding: 0px 14px;
  125. border-bottom: 1px solid #eeeeee;
  126. }
  127. .mainDiv-body-2 {
  128. height: 70px;
  129. line-height: 70px;
  130. font-size: 14px;
  131. color: #606367;
  132. padding: 0px 30px;
  133. border-bottom: 1px solid #eeeeee;
  134. }
  135. .mainDiv-body-2:last-child {
  136. border-bottom: none;
  137. }
  138. .fixHeight {
  139. height: 450px;
  140. overflow: auto;
  141. }
  142. .mainDiv-body-3 {
  143. height: 50px;
  144. line-height: 50px;
  145. font-size: 14px;
  146. color: #606367;
  147. padding: 0px 30px;
  148. border-bottom: 1px solid #eeeeee;
  149. }
  150. .mainDiv-body-3:last-child {
  151. border-bottom: none;
  152. }
  153. .mainDiv-body-img {
  154. height: 90px;
  155. border-radius: 4px;
  156. margin: 14px;
  157. margin-bottom: 0px;
  158. overflow: hidden;
  159. }
  160. .mainDiv-body-noList {
  161. height: 110px;
  162. margin: 50px 0;
  163. text-align: center;
  164. }
  165. .form-control {
  166. display: inline-block;
  167. }
  168. .mainDivLeft-span-1 {
  169. border: 1px solid;
  170. padding-left: 15px;
  171. padding-right: 15px;
  172. /* padding-top: 4px; */
  173. /* padding-bottom: 4px; */
  174. height: 28px;
  175. line-height: 28px;
  176. border-radius: 4px;
  177. margin-right: 10px;
  178. font-size: 14px;
  179. display: inline-block;
  180. }
  181. .mainDivLeft-span-2 {
  182. border: 1px solid;
  183. padding-left: 15px;
  184. padding-right: 15px;
  185. /* padding-top: 4px; */
  186. /* padding-bottom: 4px; */
  187. height: 28px;
  188. line-height: 28px;
  189. border-radius: 4px;
  190. margin-right: 10px;
  191. font-size: 14px;
  192. display: inline-block;
  193. }
  194. .mainDivLeft-span-edit-1 {
  195. border: 1px solid;
  196. padding-left: 8px;
  197. padding-right: 8px;
  198. /* padding-top: 4px; */
  199. /* padding-bottom: 4px; */
  200. height: 22px;
  201. line-height: 22px;
  202. border-radius: 2px;
  203. margin-right: 10px;
  204. font-size: 12px;
  205. display: inline-block;
  206. }
  207. .mainDivLeft-span-edit-2 {
  208. border: 1px solid;
  209. padding-left: 8px;
  210. padding-right: 8px;
  211. /* padding-top: 4px; */
  212. /* padding-bottom: 4px; */
  213. height: 22px;
  214. line-height: 22px;
  215. border-radius: 2px;
  216. margin-right: 10px;
  217. font-size: 12px;
  218. display: inline-block;
  219. }
  220. /* tab内容css */
  221. .tab-mainDiv {
  222. border: 1px solid #eeeeee;
  223. border-radius: 8px;
  224. /* min-height: 360px; */
  225. }
  226. .tab-mainDiv-head {
  227. text-align: center;
  228. border-bottom: 1px solid #eeeeee;
  229. height: 34px;
  230. line-height: 34px;
  231. font-size: 14px;
  232. color: #93989e;
  233. }
  234. .tab-mainDiv-body {
  235. padding: 14px;
  236. min-height: 280px;
  237. max-height: 320px;
  238. overflow: auto;
  239. /* padding-top: 14px; */
  240. /* padding-bottom: 14px; */
  241. }
  242. .tab-mainDiv-body-lineDiv-50 {
  243. /* display: inline-block; */
  244. font-size: 14px;
  245. color: #93989e;
  246. margin-right: 14px;
  247. width: 47%;
  248. padding-left: 14px;
  249. }
  250. .tab-mainDiv-body-lineDiv-100 {
  251. /* display: inline-block; */
  252. font-size: 14px;
  253. color: #93989e;
  254. margin-right: 14px;
  255. width: 96%;
  256. padding-left: 14px;
  257. }
  258. .tab-mainDiv-body-lable {
  259. padding-bottom: 10px;
  260. /* width: 370px; */
  261. }
  262. .tab-mainDiv-body-content {
  263. padding-bottom: 10px;
  264. /* width: 370px; */
  265. }
  266. .tab-mainDiv-body-content>textarea {
  267. min-height: 68px;
  268. width: 100%;
  269. }
  270. .tab-mainDiv-foot {
  271. /* margin: 14px auto; */
  272. border-top: 1px solid #eeeeee;
  273. text-align: center;
  274. padding: 7px;
  275. }
  276. .tab-mainDiv-body-button-1 {
  277. display: inline-block;
  278. width: 80px;
  279. height: 34px;
  280. line-height: 34px;
  281. font-size: 14px;
  282. color: white;
  283. text-align: center;
  284. background-color: #006bc0;
  285. border-radius: 4px;
  286. margin-right: 14px;
  287. }
  288. .tab-mainDiv-body-button-2 {
  289. display: inline-block;
  290. width: 80px;
  291. height: 34px;
  292. line-height: 34px;
  293. font-size: 14px;
  294. color: #93989e;
  295. text-align: center;
  296. background-color: #f5f5f5;
  297. border-radius: 4px;
  298. box-sizing: border-box;
  299. border: 1px solid #eeeeee;
  300. }
  301. .abn-tree {}
  302. .tree-control .tree-view {
  303. width: inherit;
  304. z-index: 9999;
  305. }
  306. .listClass{
  307. height: 28px;
  308. line-height: 28px;
  309. font-size: 14px;
  310. padding:0 6px
  311. }
  312. .listClass:hover{
  313. background-color: rgb(238,238,238)
  314. }
  315. .listCliClass{
  316. background-color: rgb(0,107,191)!important;
  317. color: white!important
  318. }
  319. </style>
  320. <section id="page-title">
  321. <div class="row">
  322. <div class="col-sm-8">
  323. <h1 class="mainTitle">服务指南分类设置
  324. <i tooltip='服务指南分类设置列表,点击操作处理数据' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i>
  325. </h1>
  326. </div>
  327. </div>
  328. </section>
  329. <div ng-controller="informationcateCtrl">
  330. <div class="mainDiv">
  331. <!-- 谁固定谁在前 -->
  332. <div class="mainDivLeft">
  333. <div class="mainDiv-head">
  334. <span>服务指南分类</span>
  335. <div class="mainDiv-head-right">
  336. <div class="btn btn_search" ng-click="addType()">新增</div>
  337. <div class="btn btn_remove" ng-click="remove(selectData)" ng-class="isMousedown?'btn_removeMousedown':''" ng-mousedown="changeRemoveClass()">删除</div>
  338. </div>
  339. </div>
  340. <div class="mainDiv-body fixHeight">
  341. <div class="box-tree">
  342. <div ng-repeat="v in listData" class="listClass" ng-class="listIdx==$index?'listCliClass':''" ng-click="listSelect(v,$index)">{{v.name}}</div>
  343. </div>
  344. </div>
  345. </div>
  346. <div class="mainDivRight" ng-if="changecate">
  347. <div class="mainDiv-head">
  348. <span>分类修改</span>
  349. </div>
  350. <div class="mainDiv-body">
  351. <div class="tab-mainDiv-body-lineDiv-50">
  352. <div class="tab-mainDiv-body-lable">
  353. 分类名称:
  354. </div>
  355. <div class="tab-mainDiv-body-content">
  356. <input class="form-control" ng-model="changeValue" placeholder="分类名称..." />
  357. </div>
  358. </div>
  359. </div>
  360. <div class="tab-mainDiv-foot">
  361. <div class="btn btn_search" ng-click="submitchange(changeValue,selectData)">
  362. 确认
  363. </div>
  364. </div>
  365. </div>
  366. <div class="mainDivRight" ng-if="addcate">
  367. <div class="mainDiv-head">
  368. <span>分类新增</span>
  369. </div>
  370. <div class="mainDiv-body">
  371. <div class="tab-mainDiv-body-lineDiv-50">
  372. <div class="tab-mainDiv-body-lable">
  373. 分类名称:
  374. </div>
  375. <div class="tab-mainDiv-body-content">
  376. <input class="form-control" ng-model="addCategory" placeholder="分类名称..." />
  377. </div>
  378. </div>
  379. </div>
  380. <div class="tab-mainDiv-foot">
  381. <div class="btn btn_search" ng-click="submitadd(addCategory)">
  382. 确认
  383. </div>
  384. </div>
  385. </div>
  386. <div class="mainDivRight" ng-if="addcate==''&&changecate==''">
  387. <div class="mainDiv-head">
  388. <span>操作提示</span>
  389. </div>
  390. <div class="mainDiv-body">
  391. <div class="mainDiv-body-noList">
  392. <img src="./assets/images/place/icon_quesheng.png" alt="">
  393. <p class="handlefont">请选择分类</p>
  394. </div>
  395. </div>
  396. </div>
  397. </div>
  398. </div>