form.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <style>
  2. /* .tree-control .tree-input {
  3. min-height: 30px!important;
  4. padding-top: 5px;
  5. } */
  6. .tree-control .tree-view .item-container:hover,
  7. .tree-control .tree-view .selected,
  8. .tree-control .tree-view .active {
  9. background-color: #428bca;
  10. background-image: linear-gradient(#428bca, #428bca)!important;
  11. background: #428bca;
  12. color: #fff;
  13. }
  14. .tree-control .tree-view .item-container:hover .expand,
  15. .tree-control .tree-view .selected .expand,
  16. .tree-control .tree-view .active .expand {
  17. border-left: 10px solid #fff;
  18. }
  19. .tree-control .tree-view .item-container:hover .expand-opened,
  20. .tree-control .tree-view .selected .expand-opened,
  21. .tree-control .tree-view .active .expand-opened {
  22. border-bottom: 0px solid transparent;
  23. border-left: 6px solid transparent;
  24. border-right: 6px solid transparent;
  25. border-top: 10px solid #fff;
  26. }
  27. .formly-field-ui-input{
  28. height: 62px;
  29. }
  30. </style>
  31. <div ng-controller="SystemformCtrl">
  32. <!--{{title}}-->
  33. <form ng-submit="vm.submit(vm.model,'sm')">
  34. <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
  35. <div></div>
  36. <div class="col-xs-12 margin-top-30 margin-bottom-30 text-center">
  37. <button class="btn btn-addbutton addbutton" ng-if="vm.model.zancun" ng-click="noticeZancun()" ng-disabled="zancunDisplay">暂存</button>
  38. <button type="submit" class="btn btn-addbutton addbutton" ng-if="vm.model.fabu" ng-disabled="fabuDisplay">发布</button>
  39. <button type="submit" ladda="ldloading.sm" class="btn btn-addbutton addbutton" translate="form.button.SUBMIT" ng-if="!vm.model.fabu">Submit</button>
  40. <button type="close" class="btn btn-removebutton removebutton" ng-click="closeModel()" translate="form.button.CLOSE">CLOSE </button>
  41. <!-- <button type="button" ladda="ldloading.sm" class="margin-left-5 btn btn-default ladda-button" ng-click="vm.options.resetModel()" translate="form.button.RESET">Reset</button> -->
  42. </div>
  43. </formly-form>
  44. </form>
  45. </div>