@dadcici/cascader
Version:
A vue cascading component, without tier restrictions, is selected from a set of associated data sets, often used in provincial, corporate, transactional, directory-level, and so on. Compared to the Select component, you can complete the selection in one g
1 lines • 5.28 kB
JavaScript
!function(a){var t,c='<svg><symbol id="icon-arrowright" viewBox="0 0 1024 1024"><path d="M729.987756 534.448268 376.290155 888.145869c-18.73776 18.73776-49.092092 18.73776-67.828828 0s-18.73776-49.092092 0-67.828828l285.868773-285.868773L308.461327 248.579495c-18.73776-18.73776-18.73776-49.092092 0-67.828828s49.092092-18.73776 67.828828 0L729.987756 534.448268z" ></path></symbol><symbol id="icon-previewleft" viewBox="0 0 1024 1024"><path d="M629.291 840.832l60.331-60.331-268.501-268.501 268.501-268.501-60.331-60.331-328.832 328.832z" ></path></symbol><symbol id="icon-iccorsscircle" viewBox="0 0 1024 1024"><path d="M512 64C262.4 64 64 262.4 64 512s198.4 448 448 448 448-198.4 448-448S761.6 64 512 64zM691.2 601.6c25.6 25.6 25.6 64 0 89.6s-64 25.6-89.6 0L512 601.6l-89.6 89.6c-25.6 25.6-64 25.6-89.6 0s-25.6-64 0-89.6L422.4 512 332.8 422.4c-25.6-25.6-25.6-64 0-89.6s64-25.6 89.6 0L512 422.4l89.6-89.6c25.6-25.6 64-25.6 89.6 0s25.6 64 0 89.6L601.6 512 691.2 601.6z" ></path></symbol><symbol id="icon-arrow_down" viewBox="0 0 1024 1024"><path d="M848 368a48 48 0 0 0-81.312-34.544l-0.016-0.016-254.784 254.784-251.488-251.488a48 48 0 1 0-71.04 64.464l-0.128 0.128 288 288 0.016-0.016a47.84 47.84 0 0 0 34.544 14.688h0.224a47.84 47.84 0 0 0 34.544-14.688l0.016 0.016 288-288-0.016-0.016c8.32-8.624 13.44-20.368 13.44-33.312z" fill="" ></path></symbol><symbol id="icon-arrow_up" viewBox="0 0 1024 1024"><path d="M834.544 622.688L546.56 334.672l-0.016 0.016A47.84 47.84 0 0 0 512 320h-0.224a47.84 47.84 0 0 0-34.544 14.688l-0.016-0.016-288 288 0.128 0.128a48 48 0 1 0 71.056 64.464l251.488-251.488L766.672 690.56l0.016-0.016a48 48 0 0 0 67.856-67.856z" fill="" ></path></symbol><symbol id="icon-mogu" viewBox="0 0 1024 1024"><path d="M496.8 958.1c-29.9 0-57.7-6.3-82.7-18.8-23.6-11.8-43.5-28.4-59.3-49.4-31.9-42.5-42.2-98.3-27.4-149.3l51.3-177.2c5.9-20.2 22.3-38 46.3-50.1 20.8-10.5 46.3-16.2 71.9-16.2s51.1 5.8 71.9 16.2c24 12.1 40.4 29.9 46.3 50.1l51.3 177.2c14.7 51 4.5 106.8-27.4 149.3-15.8 21-35.8 37.6-59.3 49.4-25.2 12.5-53.1 18.8-82.9 18.8z m0-413c-37.1 0-67.7 16.7-72.1 31.7L373.4 754c-10.6 36.6-3.2 76.6 19.7 107.1 23.8 31.6 60.6 49.1 103.7 49.1s79.9-17.4 103.7-49.1c22.9-30.5 30.3-70.5 19.7-107.1l-51.3-177.2c-4.4-15-35-31.7-72.1-31.7z" fill="#EF4848" ></path><path d="M550.7 579.1c91 0 177.6 19.9 256.4 55.7 49.3 22.4 106.8-2.5 124.6-56.6 11.8-35.8 18.2-73.8 18.2-113.2C949.9 255.2 770 85.2 548 85.2c-222 0-401.9 170-401.9 379.8 0 40.4 6.7 79.3 19 115.8 18.2 53.9 75.8 78.8 124.9 55.9 79.9-37.1 168.1-57.6 260.7-57.6z" fill="#FFDA00" ></path><path d="M200.9 679.5c-23.9 0-47-7.5-66.5-21.6-20.1-14.5-35-34.9-43.2-59.1-13.5-39.8-20.3-81.3-20.3-123.5 0-54.7 11.3-107.7 33.7-157.6 21.5-48.1 52.3-91.3 91.6-128.4 39.1-37 84.6-66 135.3-86.2 52.4-20.9 108-31.6 165.3-31.6s113 10.6 165.3 31.6c50.7 20.3 96.2 49.3 135.3 86.2 39.2 37.1 70 80.2 91.6 128.4 22.3 49.9 33.7 103 33.7 157.6 0 41.2-6.5 81.8-19.4 120.7-8.1 24.4-23 45-43.1 59.5-19.6 14.2-42.7 21.7-66.8 21.7-16.4 0-32.4-3.5-47.5-10.4-78.1-35.5-161-53.6-246.5-53.6-87 0-171.3 18.6-250.5 55.4-15.2 7.3-31.4 10.9-48 10.9z m295.9-560c-208.4 0-377.9 159.6-377.9 355.8 0 36.9 6 73.3 17.8 108.1 9.9 29.2 35.1 48.1 64.3 48.1 9.6 0 18.9-2.1 27.9-6.2 85.6-39.7 176.7-59.9 270.7-59.9 92.4 0 182 19.5 266.4 57.9 8.8 4 18.1 6.1 27.6 6.1 29.4 0 54.6-19 64.3-48.3 11.3-34.1 17-69.6 17-105.7-0.2-196.3-169.7-355.9-378.1-355.9z" fill="#EF4848" ></path><path d="M771.7 350.4c-33.4-60.1-91.2-110.3-163.7-140" fill="#FFFFFF" ></path><path d="M771.7 367.4c-6 0-11.8-3.2-14.9-8.8-32-57.6-87.1-104.6-155.3-132.5-8.7-3.6-12.9-13.5-9.3-22.2 3.6-8.7 13.5-12.9 22.2-9.3 75.3 30.8 136.4 83.1 172.1 147.4 4.6 8.2 1.6 18.6-6.6 23.1-2.6 1.6-5.4 2.3-8.2 2.3z" fill="#EF4848" ></path><path d="M796.6 413.6c-2.1-8.4-4.6-16.7-7.5-24.9" fill="#FFFFFF" ></path><path d="M796.6 430.6c-7.7 0-14.6-5.2-16.5-13-1.9-7.8-4.2-15.6-7-23.2-3.2-8.8 1.4-18.6 10.2-21.8 8.8-3.2 18.6 1.4 21.8 10.2 3.1 8.8 5.9 17.7 8 26.6 2.2 9.1-3.4 18.3-12.5 20.5-1.3 0.6-2.7 0.7-4 0.7z" fill="#EF4848" ></path></symbol></svg>',e=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(e&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}!function(t){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(t,0);else{var e=function(){document.removeEventListener("DOMContentLoaded",e,!1),t()};document.addEventListener("DOMContentLoaded",e,!1)}else document.attachEvent&&(o=t,l=a.document,i=!1,n=function(){i||(i=!0,o())},(c=function(){try{l.documentElement.doScroll("left")}catch(t){return void setTimeout(c,50)}n()})(),l.onreadystatechange=function(){"complete"==l.readyState&&(l.onreadystatechange=null,n())});var o,l,i,n,c}(function(){var t,e,o,l,i,n;(t=document.createElement("div")).innerHTML=c,c=null,(e=t.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",o=e,(l=document.body).firstChild?(i=o,(n=l.firstChild).parentNode.insertBefore(i,n)):l.appendChild(o))})}(window);