vue-form-creator
Version:
Vue.js based dynamic form creator
1 lines • 5.63 kB
JavaScript
(function(window){var svgSprite='<svg><symbol id="icon-duigou" viewBox="0 0 1024 1024"><path d="M364.037087 836.187497c-5.176906 0-10.354835-1.954515-14.334473-5.872754l-1.402953-1.381463c-0.103354-0.102331-0.205685-0.204661-0.306992-0.309038L66.585511 539.439956c-7.869225-8.087189-7.693216-21.022803 0.393973-28.892027 8.086166-7.867178 21.021779-7.692193 28.891004 0.393973l268.255627 275.66948 565.584406-571.97086c7.934716-8.023744 20.87033-8.096399 28.893051-0.162706 8.024767 7.933693 8.096399 20.87033 0.162706 28.894074L378.565988 830.122361C374.569978 834.162374 369.304044 836.187497 364.037087 836.187497z" ></path></symbol><symbol id="icon-shanchu" viewBox="0 0 1024 1024"><path d="M728.501916 181.857884 666.120147 70.096475 383.096165 71.248717 297.303196 180.741457 69.097728 180.741457 69.097728 214.164684 334.185198 217.622436 412.053684 105.825211 636.045177 105.825211 698.283684 217.659275 954.257589 215.31795 954.257589 181.317579Z" ></path><path d="M813.646108 331.730287l0 73.762981 0 444.691011c0 37.59934-30.589692 68.190055-68.192102 68.190055L291.732317 918.374334c-37.60241 0-68.192102-30.589692-68.192102-68.190055L223.540216 405.493268l0-73.762981L223.540216 294.848285l-36.882002 0 0 555.335994c0 58.030671 47.043433 105.071034 105.07308 105.071034l453.722712 0c58.030671 0 105.07308-47.040363 105.07308-105.071034L850.527087 294.848285l-36.882002 0L813.645085 331.730287z" ></path><path d="M371.066177 294.848285l36.882002 0 0 516.342912-36.882002 0 0-516.342912Z" ></path><path d="M518.593162 294.848285l36.882002 0 0 516.342912-36.882002 0 0-516.342912Z" ></path><path d="M666.120147 294.848285l36.882002 0 0 516.342912-36.882002 0 0-516.342912Z" ></path></symbol><symbol id="icon-jia" viewBox="0 0 1024 1024"><path d="M544 128 480 128 480 480 128 480 128 544 480 544 480 896 544 896 544 544 895.936 544 895.936 480 544 480Z" ></path></symbol><symbol id="icon-peizhi" viewBox="0 0 1024 1024"><path d="M798.72 817.152c-57.344-10.24-102.4-59.392-102.4-120.832 0-67.584 55.296-122.88 122.88-122.88s122.88 55.296 122.88 122.88c0 61.44-45.056 110.592-102.4 120.832v114.688c0 12.288-8.192 20.48-20.48 20.48s-20.48-8.192-20.48-20.48v-114.688z m-614.4 0c-57.344-10.24-102.4-59.392-102.4-120.832 0-67.584 55.296-122.88 122.88-122.88s122.88 55.296 122.88 122.88c0 61.44-45.056 110.592-102.4 120.832v114.688c0 12.288-8.192 20.48-20.48 20.48s-20.48-8.192-20.48-20.48v-114.688z m307.2-610.304c-57.344 10.24-102.4 59.392-102.4 120.832 0 67.584 55.296 122.88 122.88 122.88s122.88-55.296 122.88-122.88c0-61.44-45.056-110.592-102.4-120.832v-114.688c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48v114.688z m-307.2-114.688c0-12.288 8.192-20.48 20.48-20.48s20.48 8.192 20.48 20.48v409.6c0 12.288-8.192 20.48-20.48 20.48s-20.48-8.192-20.48-20.48v-409.6z m614.4 0c0-12.288 8.192-20.48 20.48-20.48s20.48 8.192 20.48 20.48v409.6c0 12.288-8.192 20.48-20.48 20.48s-20.48-8.192-20.48-20.48v-409.6z m-286.72 317.44c-45.056 0-81.92-36.864-81.92-81.92s36.864-81.92 81.92-81.92 81.92 36.864 81.92 81.92-36.864 81.92-81.92 81.92z m-20.48 112.64c0-12.288 8.192-20.48 20.48-20.48s20.48 8.192 20.48 20.48v409.6c0 12.288-8.192 20.48-20.48 20.48s-20.48-8.192-20.48-20.48v-409.6z m-286.72 256c45.056 0 81.92-36.864 81.92-81.92s-36.864-81.92-81.92-81.92-81.92 36.864-81.92 81.92 36.864 81.92 81.92 81.92z m614.4 0c45.056 0 81.92-36.864 81.92-81.92s-36.864-81.92-81.92-81.92-81.92 36.864-81.92 81.92 36.864 81.92 81.92 81.92z" ></path></symbol><symbol id="icon-fenzu" viewBox="0 0 1024 1024"><path d="M704 864h-512c-89.6 0-160-70.4-160-160v-512c0-89.6 70.4-160 160-160h512c89.6 0 160 70.4 160 160v512c0 89.6-70.4 160-160 160z m-512-768c-51.2 0-96 44.8-96 96v512c0 51.2 44.8 96 96 96h512c51.2 0 96-44.8 96-96v-512c0-51.2-44.8-96-96-96h-512z" fill="#2F3449" ></path><path d="M832 992h-512c-19.2 0-32-12.8-32-32s12.8-32 32-32h512c51.2 0 96-44.8 96-96v-512c0-19.2 12.8-32 32-32s32 12.8 32 32v512c0 89.6-70.4 160-160 160z" fill="#2F3449" ></path></symbol></svg>';var script=function(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]}();var shouldInjectCss=script.getAttribute("data-injectcss");var ready=function(fn){if(document.addEventListener){if(~["complete","loaded","interactive"].indexOf(document.readyState)){setTimeout(fn,0)}else{var loadFn=function(){document.removeEventListener("DOMContentLoaded",loadFn,false);fn()};document.addEventListener("DOMContentLoaded",loadFn,false)}}else if(document.attachEvent){IEContentLoaded(window,fn)}function IEContentLoaded(w,fn){var d=w.document,done=false,init=function(){if(!done){done=true;fn()}};var polling=function(){try{d.documentElement.doScroll("left")}catch(e){setTimeout(polling,50);return}init()};polling();d.onreadystatechange=function(){if(d.readyState=="complete"){d.onreadystatechange=null;init()}}}};var before=function(el,target){target.parentNode.insertBefore(el,target)};var prepend=function(el,target){if(target.firstChild){before(el,target.firstChild)}else{target.appendChild(el)}};function appendSvg(){var div,svg;div=document.createElement("div");div.innerHTML=svgSprite;svgSprite=null;svg=div.getElementsByTagName("svg")[0];if(svg){svg.setAttribute("aria-hidden","true");svg.style.position="absolute";svg.style.width=0;svg.style.height=0;svg.style.overflow="hidden";prepend(svg,document.body)}}if(shouldInjectCss&&!window.__iconfont__svg__cssinject__){window.__iconfont__svg__cssinject__=true;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}ready(appendSvg)})(window)