common_form.php 634 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. {include file="public/head"}
  5. <title>{$title|default=''}</title>
  6. </head>
  7. <body>
  8. <div id="form-add" class="mp-form" v-cloak="">
  9. <form-builder></form-builder>
  10. </div>
  11. <script>
  12. var _vm ;
  13. mpFrame.start(function(Vue){
  14. require(['axios','system/util/mpFormBuilder'],function(axios,mpFormBuilder){
  15. Vue.use(mpFormBuilder,$eb,<?php echo $rules; ?>,{
  16. action:'{$action}'
  17. });
  18. new Vue({
  19. el:"#form-add",
  20. mounted:function(){
  21. }
  22. });
  23. });
  24. });
  25. </script>
  26. </body>