2 lines
710 KiB
JavaScript
Executable File
2 lines
710 KiB
JavaScript
Executable File
(function(l,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["design"]=t():l["design"]=t()})(window,(function(){return function(l){function t(t){for(var e,n,c=t[0],s=t[1],r=t[2],u=0,g=[];u<c.length;u++)n=c[u],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&g.push(o[n][0]),o[n]=0;for(e in s)Object.prototype.hasOwnProperty.call(s,e)&&(l[e]=s[e]);d&&d(t);while(g.length)g.shift()();return i.push.apply(i,r||[]),a()}function a(){for(var l,t=0;t<i.length;t++){for(var a=i[t],e=!0,n=1;n<a.length;n++){var c=a[n];0!==o[c]&&(e=!1)}e&&(i.splice(t--,1),l=s(s.s=a[0]))}return l}var e={},n={app:0},o={app:0},i=[];function c(l){return s.p+"js/"+({"decoration-design":"decoration-design","decoration-preview":"decoration-preview"}[l]||l)+"."+{"decoration-design":"6a6a2b7e","decoration-preview":"48bdf18e"}[l]+".js"}function s(t){if(e[t])return e[t].exports;var a=e[t]={i:t,l:!1,exports:{}};return l[t].call(a.exports,a,a.exports,s),a.l=!0,a.exports}s.e=function(l){var t=[],a={"decoration-design":1};n[l]?t.push(n[l]):0!==n[l]&&a[l]&&t.push(n[l]=new Promise((function(t,a){for(var e="css/"+({"decoration-design":"decoration-design","decoration-preview":"decoration-preview"}[l]||l)+"."+{"decoration-design":"de93f798","decoration-preview":"31d6cfe0"}[l]+".css",o=s.p+e,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var r=i[c],u=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(u===e||u===o))return t()}var g=document.getElementsByTagName("style");for(c=0;c<g.length;c++){r=g[c],u=r.getAttribute("data-href");if(u===e||u===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var e=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+l+" failed.\n("+e+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=e,delete n[l],d.parentNode.removeChild(d),a(i)},d.href=o;var v=document.getElementsByTagName("head")[0];v.appendChild(d)})).then((function(){n[l]=0})));var e=o[l];if(0!==e)if(e)t.push(e[2]);else{var i=new Promise((function(t,a){e=o[l]=[t,a]}));t.push(e[2]=i);var r,u=document.createElement("script");u.charset="utf-8",u.timeout=120,s.nc&&u.setAttribute("nonce",s.nc),u.src=c(l);var g=new Error;r=function(t){u.onerror=u.onload=null,clearTimeout(d);var a=o[l];if(0!==a){if(a){var e=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;g.message="Loading chunk "+l+" failed.\n("+e+": "+n+")",g.name="ChunkLoadError",g.type=e,g.request=n,a[1](g)}o[l]=void 0}};var d=setTimeout((function(){r({type:"timeout",target:u})}),12e4);u.onerror=u.onload=r,document.head.appendChild(u)}return Promise.all(t)},s.m=l,s.c=e,s.d=function(l,t,a){s.o(l,t)||Object.defineProperty(l,t,{enumerable:!0,get:a})},s.r=function(l){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},s.t=function(l,t){if(1&t&&(l=s(l)),8&t)return l;if(4&t&&"object"===typeof l&&l&&l.__esModule)return l;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:l}),2&t&&"string"!=typeof l)for(var e in l)s.d(a,e,function(t){return l[t]}.bind(null,e));return a},s.n=function(l){var t=l&&l.__esModule?function(){return l["default"]}:function(){return l};return s.d(t,"a",t),t},s.o=function(l,t){return Object.prototype.hasOwnProperty.call(l,t)},s.p="/newpc/",s.oe=function(l){throw console.error(l),l};var r=window["webpackJsonpdesign"]=window["webpackJsonpdesign"]||[],u=r.push.bind(r);r.push=t,r=r.slice();for(var g=0;g<r.length;g++)t(r[g]);var d=u;return i.push([1,"chunk-vendors"]),a()}({0:function(l,t){},"00ad":function(l,t,a){},"00e2":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAHdbkFIAAAAAXNSR0IArs4c6QAAAU9JREFUeAHtmA0KgzAMhXXsCt7/fOId3IjMIk4bS3BhvK8wprZJ0/de+teP4/jqasUazPNcfvv3R83Y6twG/T/E8LShDMNgf19lmiZ/mC4OSxfm6qz8IAafi7PgPt+XGO25hlWtzoXJCcAnQsBBmMawgzCNrtjPRGT0XkpIAR2EWQjrABovrIC3KzFMY9iBN0Svvqwr1rCW+keO1kW11c58rbbhVDoKrOUbAYBAehqmU8A8kE4BAaQjkD4PpAeQTkF6AGUmjOxqWm3X3ZBtXNIRIAAQAAEQAAGW43QNsBynU0AAIAACIJCOAMtxOgItN+t3tE3X4B2DavFZ9kNbo9brhq3t1eftFYXZZPRp/corAABMBsoFBSizb2NHAShAHAFSQFwATILyKcBxWH0O4DisrgD5SRAASAFxBEgBcQFwFiAFSAFxBORTgOOweAZ0b2DJvaOa4NIVAAAAAElFTkSuQmCC"},"034c":function(l,t,a){"use strict";a("926e")},"04f1":function(l,t,a){},"05ee":function(l,t,a){"use strict";var e=a("75fc"),n=a("d225"),o=a("b0b4"),i=a("565a"),c=a("2dad"),s=function(){function l(){Object(n["a"])(this,l),this.$vue=null,this.$router=null,this.$store=null,this.leftTools=[],this.rightTools=[],this.init()}return Object(o["a"])(l,[{key:"init",value:function(){var l=i["a"].leftTools,t=i["a"].rightTools;this.leftTools=l,this.rightTools=t}},{key:"trigger",value:function(l,t){this[l]=t}},{key:"regTools",value:function(l){this.tools=[].concat(Object(e["a"])(this.tools),Object(e["a"])(l))}},{key:"handleCommit",value:function(l,t){this.$store.commit(l,t)}},{key:"handleAction",value:function(l,t){this.$store.dispatch(l,t)}},{key:"undo",value:function(){c["a"].undo()}},{key:"redo",value:function(){c["a"].redo()}}]),l}();t["a"]=new s},"0639":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAHdbkFIAAAAAXNSR0IArs4c6QAAAYBJREFUeAHtWFEOwyAIbZddofc/X9NDbKFrjU1EWNVi8O1njTCE9x5SN6/r+pkynzfZlmVhXV6s5TCIDvsW27axgR7IYS7CgZIXyxQdynCok4OIA0vSYdiLoOecZrggqhq4H5/rIs6nI/ftIEBgIddWXP20XqyDYhDFps+lDyH90KnDwl0RUQ6gcZJHQ07KZLOnsfg8kEqU7OFEI8c7s0XagLOf4i/mgNtAu44EgMClC05lagVUw8+cggsCOAdqcPpvDHMNIIFLF1icA+bvA9BA0IDFKUhnBigAAkAACAABcwTCLLB4F8AsIAQCBRjHBIfFx7wNkQAQAAJAIMyCYcex+f8DFvMn3tO8CeJkLJ5DD8SbP/luFO/b+jnV58MrAAC0ll3v8aGA3hlqnR8U0Brh3uNDAb0z1Do/KKA1wr3HH14ByctQ6tLQO5N384MCUsjhOpxCxena8C0AAJwqW10WFKCGyqkjFOCUWHVZUIAaKqeOUIBTYtVl4Tqshsqp4xc3LFr5S3P+IQAAAABJRU5ErkJggg=="},"0732":function(l,t,a){"use strict";a("6bd2")},"07ae":function(l,t,a){},"07f0":function(l,t,a){},"0930":function(l,t,a){},"0aac":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAdRJREFUWAntls1xwkAMhXEmDdBCKIEWQgmkhOTuC5SQXHyHEkgLlAAlhBYowXnfRvJk/bMTL5nhYs2I/dFbSfskb1LUdT27pzzcMzixpwQmBiYG/oWBqqqW0qecT/rmBCzwScGzEnhMZS3na9nnZVnuEzgwF2GOYHRmrmEjXbKWnKUfsl/DqvXTywBOpO/CHqQ4S8mrjJ8AdAYWvqTsERBlfrLENI2lw4CAz4IQGLn8DP2/hiWoM7Qz5MJvLAxMUCIusjV7M/QyICsOF9JkArJzu6OCOY7k9x5c85nmlAA7pelIhwEdoJZez84B3zBKqf+b7+ls4XMfhYMh1JN0Uxg7CUTW9ILgVwV1+hu0JUcPcWtY4UIdnPZu+mvYNB+OBoQEeql3fBYD1lg0V0O/O2QUK3R/sFkJaEIa9EUayVATRqCeBfSfFYgGC0Ig6c4C+jbJUHtK4O9CY2OSm8AQ/eyTXFtowr8/RO3Tv9e6IQGoa9RUdlMepI1hwquoOc3I7SO81kFyeiDc3ursfnyk7jxiBwX2Pcat8FkJRE0jp1DJZ7XCa1ssqZXhuDW00yu99HO+GPNvuRxD/1oOo8RwlCujEsgNkjqX+xWkfI6yTQlMDEwMfAN6l5MFcuEs6QAAAABJRU5ErkJggg=="},"0c0b":function(l,t,a){},"0c25":function(l,t,a){},1:function(l,t,a){l.exports=a("56d7")},"112a":function(l,t,a){},"14f0":function(l,t,a){},"161d":function(l,t,a){},1679:function(l,t,a){"use strict";a("a460")},"16cd":function(l,t,a){},"170d":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAACqUlEQVRIid3WT0gUURwH8O8+LdKDFDZSuKwmWJCU5KWzJw9Fhw7559Q9ISJotaPboYNIQUhKBUG2WKGQFrtEGp304KHATmHorohr4L4dy5nZmfl2WFe23ZnZUaKDPxgY2B+/z7557/3eAw56BPIvJF2TMhV1IQA9ANoBnAWgAMgCSAJYBvAJwHiNlfrhCgUC5cEd6H7g2NFrh7qvVlR2tEOcb4E4UQfqBri6Bvv7Esz4LLLRCZub6XEAfTVWasUN3A2Sfz1SKFdkdTCjRQZpq1ssF7a6RS0ySFkdVKVQuovrlUQRdlNtarPML4tloeKwvn6j2tRmS6Hc8gVKoXSqoVbbSqzuGdtFE6tUQ622FEqnJyiFEpLVQdWcW9g3lg9zbiH/eUNe4JjWH3Etop66QGPstW9U6xugFErUEZRCacjUNlt2WroWMJ6+oDx8ksb4pC/QTktmapstKZQGJzD8+3pv2SL66PMc+uatL3T7xh1KoYSdwFh28p2vIvqjJ5RV9TQmpsvmZqdilEKJOYFJayXpCyRJ/eEI5ZF6ZqdinnnWSpJSKEknUKOu+wZJUh8azqHvP3gk6ZRC0R1BO6PuCSTJX5e6mQme8w2KAvMn19ZLl69HGA8ew/z4GVWjQ6459voGAGw4jTDuZxHs/nGfc1i8aApHOGNOxf2NbPgZtL4BVL0cQeXlDs9cMzYDALNOI2zMHD/tufHJve3Dgo3fWAIy19qiXq1tr51G64+4tzYWNu955+atnrnou5ea8z6a9w7a9Q+Ppy7+xwP4Nv2e+Cy8YvRHaG+my0L2Zpra3Xv5z9hTXK8syPycCiWaqW22tnvDzE7HaS0nSMMgDYPWcoLZ6Ti3e8P51RjNz5kbuJ9rYguAup2fUgAWkdtnr2qs1JJbjZJb24GNP67Ha1Q867r8AAAAAElFTkSuQmCC"},1733:function(l,t,a){"use strict";a("df07")},"183f":function(l,t,a){},"1ac4":function(l,t,a){},"1b47":function(l,t,a){},"1b60":function(l,t,a){},"1cc0":function(l,t,a){"use strict";a("8c9c")},"1dfe":function(l,t,a){"use strict";a("d9d2")},"1e55":function(l,t,a){"use strict";a("ef96")},"1eef":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAHdbkFIAAAAAXNSR0IArs4c6QAAAaNJREFUeAHtWQGOwjAMO058Yf9/37Q/DAicq4GSpmvgCsRIqKNr0sR201Yc5nk+/VQ+R3k3TZM55Nd88/fCHXCdYlkW25EEua5r+T7+dqdwBxxCOEjw7hTuABeHKhfPicHFwSbp9uYaozzWNGM5acrBMka/izMGWq3roKrVi1fXgTUz+sMOwjSGHYRTqIodQFnthwjJCh/9YRDDDtyahFCttkqj0FSrE6TxBmuYxvByDjuw9NHaX/YVMahpptVh6zgU+zAHrRNa4xgAEbhbBVCmJZhX9N8FsHcZIuC9dpIIbKkBIkAEhm/HwwOgBkop7imnvXsDyrDYkwIiQASIABEYjkDZC7b1ubfG99i9DwI9uyFQ22sLO+6GRIAIEAEiQAQEAd6OhyMgNIz8DD8QjUxe5i5H0m0gew9YW9t3ft4eBBFnegUQAEgha0sFZGUeeVMBQCJrSwVkZR55UwFAImubXgHqZUi7NHyrQqgAjdn/uA4/qmzEnJJ7egUQAG0JZOqjAjKxreVKBWioZOqjAjKxreVKBWioZOrjn6OZ2NZyTV8DzmSQjY/sln3yAAAAAElFTkSuQmCC"},2:function(l,t){},"205d":function(l,t,a){"use strict";a("39ce")},2201:function(l,t,a){"use strict";a("3bca")},"22ca":function(l,t,a){"use strict";a("d8db")},2393:function(l,t,a){},"26a8":function(l,t,a){"use strict";a("acb7")},"278d":function(l,t,a){},"2a8f":function(l,t,a){"use strict";a("0c0b")},"2ae5":function(l,t,a){},"2c68":function(l,t,a){},"2cc7":function(l,t,a){"use strict";a("14f0")},"2dad":function(l,t,a){"use strict";var e=a("d225"),n=a("b0b4"),o=a("bd86"),i=a("5c8a"),c=function(){function l(){Object(e["a"])(this,l),Object(o["a"])(this,"store",void 0),Object(o["a"])(this,"history",[]),Object(o["a"])(this,"currentIndex",-1)}return Object(n["a"])(l,[{key:"canUndo",get:function(){return this.currentIndex>0}},{key:"canRedo",get:function(){return this.history.length>this.currentIndex+1}},{key:"init",value:function(l){this.store=l}},{key:"addState",value:function(l){this.currentIndex+1<this.history.length&&this.history.splice(this.currentIndex+1),this.history.push(l),this.currentIndex++}},{key:"undo",value:function(){if(this.canUndo){var l=this.history[this.currentIndex-1];this.store.replaceState(Object(i["a"])(l)),this.currentIndex--}}},{key:"redo",value:function(){if(this.canRedo){var l=this.history[this.currentIndex+1];this.store.replaceState(Object(i["a"])(l)),this.currentIndex++}}}]),l}(),s=new c;t["a"]=s},"2dce":function(l,t,a){"use strict";a("0c25")},"2ea7":function(l,t,a){"use strict";a("2ae5")},3240:function(l,t,a){"use strict";a("b460")},3648:function(l,t,a){"use strict";a.r(t),a.d(t,"getOssToken",(function(){return u})),a.d(t,"localUpload",(function(){return g})),a.d(t,"aliUpload",(function(){return d}));a("8e6e"),a("ac6a"),a("456d"),a("7f7f");var e=a("bd86"),n=a("c8f0"),o=a("bc3a"),i=a.n(o),c=a("05ee");function s(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function r(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(e["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}function u(l){return n["default"].post("/espier/oss_upload_token",r({filetype:"image"},l))}function g(l,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"image",e=new FormData;e.append("key",l.key),e.append("domain",l.domain),e.append("images",t),e.append("filetype",a),e.append("isUploadFile",!0);var n=window.__POWERED_BY_QIANKUN__?c["a"]["SYS_CONFIG"].baseUrl:"https://ecshopx-bbc-demo.yuanyuanke.cn/api",o={};return window.__POWERED_BY_QIANKUN__?o["Authorization"]="bearer "+c["a"]["SYS_CONFIG"].token:o["Authorization"]="bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9tYW5hZ2VyLm1laWhld2FuZy5jb21cL2FwaVwvb3BlcmF0b3JcL2xvZ2luIiwiaWF0IjoxNjQxMDk4OTc4LCJleHAiOjE2NDE1MzA5NzgsIm5iZiI6MTY0MTA5ODk3OCwianRpIjoidENsZU92SmpRSkpZOWVBVCIsInN1YiI6IkIySldObEFcL0RUdFNMZ2d2VUR3QVlBTnBVQ2hTYndwaFV5UlJQZ2dzREdjRE5sYzNVaXhhWjFOMlVqMEhJbEE0QUdVR1psTWxXaUZUYVZacEJ6VUNQUWNoVmpkUWZ3MDdVbVlJYmxBOEFIQURaRkJ2VWpRS05sTmtVVEVJUEF3NEEyUlhhVkkzV21kVE5WSTJCekJRT2dCbEJteFROMW8yVXpSV1pBY3lBbVVITmxZXC9VRGdOTUZKa0NHVlFOUUF4QTNGUU1WSjFDajlUTWxFXC9DSDBNS1FOdVYyQlNhMXAwVTI5U2J3ZHJVRE1BWmdab1V6WmFaVk1cL1Zqb0hhUUprQnp0V04xQngiLCJwcnYiOiI5MTVlZjNiMTQ1Nzk3ZDk2MzZlNjY3ODY2MDg5YzZiYjFmZTMyZTFjIiwiaWQiOiJCMkpXTmxBXC9EVHRTTGdndlVEd0FZQU5wVUNoU2J3cGhVeVJSUGdnc0RHY0RObGMzVWl4YVoxTjJVajBISWxBNEFHVUdabE1sV2lGVGFWWnBCelVDUFFjaFZqZFFmdzA3VW1ZSWJsQThBSEFEWkZCdlVqUUtObE5rVVRFSVBBdzRBMlJYYVZJM1dtZFROVkkyQnpCUU9nQmxCbXhUTjFvMlV6UldaQWN5QW1VSE5sWVwvVURnTk1GSmtDR1ZRTlFBeEEzRlFNVkoxQ2o5VE1sRVwvQ0gwTUtRTnVWMkJTYTFwMFUyOVNid2RyVURNQVpnWm9VelphWlZNXC9Wam9IYVFKa0J6dFdOMUJ4IiwiY29tcGFueV9pZCI6IjEiLCJtb2JpbGUiOiIxMzQwMTA4NDM2MSIsIm9wZXJhdG9yX3R5cGUiOiJhZG1pbiIsImlzX2F1dGhvcml6ZXIiOmZhbHNlLCJsb2dpbnR5cGUiOiJhZG1pbiIsImxpY2Vuc2VfYXV0aG9yaXplIjoiZXlKMllXeHBaQ0k2SW5SeWRXVWlMQ0psZUhCcGNtVmtRWFFpT2pFNU5URTNNVGN5T0RFc0ltUmxjMk1pT2lKY2RUVmtaakpjZFRoa01tUmNkVFJsTnpBaWZRPT0ifQ.0vyAej9vJv7EKr5S24ewU-XWbng5Dcx6_FpZ_jHUlI0",i()({method:"POST",url:n+"/espier/upload_localimage",headers:r({"Content-Type":"multipart/form-data;charset=UTF-8"},o),data:e})}function d(l,t){var a=new FormData;return a.append("key",l.dir),a.append("policy",l.policy),a.append("OSSAccessKeyId",l.accessid),a.append("success_action_status","200"),a.append("signature",l.signature),a.append("name",t.name),a.append("file",t),i()({method:"POST",url:l.host,headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:a})}},"365c":function(l,t,a){"use strict";a.r(t),a.d(t,"install",(function(){return i}));a("6762"),a("2fdb"),a("4917");var e=a("ed08"),n=a("c8f0");a.d(t,"req",(function(){return n["default"]})),a.d(t,"createAxios",(function(){return n["createAxios"]}));var o={};function i(l){l.prototype.$api=o,l.prototype.$http=n["default"]}Object(e["b"])(a("6c5d"),(function(l,t){var a=l.match(/\.\/(.+)\.js$/)[1];["index","sign"].includes(a)||(o[a]=t(l))})),t["default"]=o},"371c":function(l,t,a){"use strict";a("8e6e"),a("456d");var e=a("bd86");a("ac6a");function n(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function o(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){Object(e["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var i=function(){},c=function(){for(var l=[],t=arguments.length,a=new Array(t),e=0;e<t;e++)a[e]=arguments[e];a.forEach((function(t,a){var e;e=0===a?["%c "+t,"color: #3e76f6"]:t,l=l.concat(e)})),console.log.apply(null,l)},s="development",r=o(o({},console),{},{debug:"development"===s?c:i});t["a"]=r},"39ce":function(l,t,a){},"3a51":function(l,t,a){},"3b37":function(l,t,a){"use strict";a("5685")},"3bca":function(l,t,a){},"3ca8":function(l,t,a){},"3cfb":function(l,t,a){},"3d94":function(l,t,a){},"3dd5":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAKtJREFUWAlj/P//P8NAAqaBtBxk96gDRkNgNARGQ2A0BEZDgAVfZdTX1ycIlC8H4vdAPKuoqAhEgwG5cjD9MBqvA4CKVgGxC1SxMZAOg7JBFLlySEYQrg1BlsKAEowBpcmVQzGGUCLsRFKNzAYJI/OR2YTkkIxkYGAk1CICxjXI5++R4x9mArlyMP0gmqADkBXTgk0oCmhhJ4qZow4YDYHREBgNgdEQGPAQAAAlqDLTlrBYcwAAAABJRU5ErkJggg=="},"3f62":function(l,t,a){l.exports=a.p+"img/55.341d62f8.png"},"41a2":function(l,t,a){},"41ca":function(l,t,a){"use strict";a("6fa8")},"433c":function(l,t,a){"use strict";a("c960")},"435f":function(l,t,a){},"43f2":function(l,t,a){},"441c":function(l,t,a){"use strict";a("a0a8")},"459e":function(l,t,a){"use strict";a("c3f2")},"461c":function(l,t,a){"use strict";a("7e1d")},4678:function(l,t,a){var e={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function n(l){var t=o(l);return a(t)}function o(l){if(!a.o(e,l)){var t=new Error("Cannot find module '"+l+"'");throw t.code="MODULE_NOT_FOUND",t}return e[l]}n.keys=function(){return Object.keys(e)},n.resolve=o,l.exports=n,n.id="4678"},"47d5":function(l,t,a){"use strict";a("89ae")},4818:function(l,t,a){},4980:function(l,t,a){},"49ae":function(l,t,a){"use strict";a("8aeb")},"4b64":function(l,t,a){},"4c58":function(l,t,a){"use strict";a("abfb")},"4d90":function(l,t,a){},"4e13":function(l,t,a){"use strict";a("fa36")},"4e80":function(l,t,a){"use strict";a("e7d9")},5222:function(l,t,a){"use strict";a("f54e")},"552e":function(l,t,a){"use strict";a("be14")},5553:function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAKtJREFUWAlj/P//P8NAAqaBtBxk96gDRkNgNARGQ2A0BEZDgAVfZdTX1ycIlC8H4vdAPKuoqAhEgwG5cjD9MBqvA4CKVgGxC1SxMZAOg7JBFLlySEYQrg1BlsKAEowBpcmVQzGGUCLsRFKNzAYJI/OR2YTkkIxkYGAk1CICxjXI5++R4x9mArlyMP0gmqADkBXTgk0oCmhhJ4qZow4YDYHREBgNgdEQGPAQAAAlqDLTlrBYcwAAAABJRU5ErkJggg=="},"55a4":function(l,t,a){},"55f9":function(l,t,a){"use strict";a("7531")},"565a":function(l,t,a){"use strict";var e=a("05ee");t["a"]={name:"mshop",navs:[{name:"基础",id:"nav1",children:[{name:"基础挂件",id:"nav1-1"}]},{name:"业务",id:"nav2",children:[{name:"业务组件",id:"nav2-1"}]},{name:"扩展",id:"nav3",children:[{name:"扩展组件",id:"nav3-1"}]}],iconfont:"mshopdesign",leftTools:[{tooltip:"撤销",text:"撤销",icon:"icon-editor-undo",action:function(){e["a"].undo()}},{tooltip:"重做",text:"重做",icon:"icon-editor-redo",action:function(){e["a"].redo()}},{tooltip:"放大",text:"放大",icon:"icon-fangda1",action:function(){e["a"].handleCommit("ZOOM_UP")}},{tooltip:"",text:"缩放",icon:"icon-shezhi",component:"SpZoom"},{tooltip:"缩小",text:"缩小",icon:"icon-suoxiao1",action:function(){e["a"].handleCommit("ZOOM_DOWN")}},{tooltip:"屏幕适中",text:"屏幕",icon:"icon-editor-fullscreen",action:function(){e["a"].handleCommit("ZOOM_MIDDLE")}},{tooltip:"页面设置",text:"页面",icon:"icon-h5",action:function(){e["a"].handleCommit("PAGE_SETUP")}},{tooltip:"关于",text:"关于",icon:"icon-guanyuwomen",component:"SpAbout"}],rightTools:[{tooltip:"退出",text:"退出",icon:"icon-yulan",action:function(){e["a"].handleCommit("EXIT")}},{tooltip:"预览",text:"预览",icon:"icon-yulan",action:function(){e["a"].handleCommit("PREVIEW",{preview:!0})}},{tooltip:"保存",text:"保存",icon:"icon-baocun",action:function(){e["a"].handleAction("SAVE_PAGEDATA")}}]}},5685:function(l,t,a){},"56d7":function(l,t,a){"use strict";a.r(t),a.d(t,"bootstrap",(function(){return Ji})),a.d(t,"mount",(function(){return Zi})),a.d(t,"unmount",(function(){return Ki}));a("96cf");var e=a("3b8d"),n=(a("cadf"),a("551c"),a("f751"),a("097d"),a("2b0e")),o=a("e069"),i=a.n(o),c=a("371c"),s=a("5bdf"),r=function(){var l=this,t=l._self._c;return t("div",[t("router-view")],1)},u=[],g=(a("aad6"),a("2877")),d={},v=Object(g["a"])(d,r,u,!1,null,null,null),b=v.exports,p=a("8c4f");n["default"].use(p["a"]);var h=[{path:"/",title:"店铺装修",meta:{title:"表单设计器"},component:function(){return a.e("decoration-design").then(a.bind(null,"e507"))}},{path:"/preview",title:"装修预览",meta:{title:"预览"},component:function(){return a.e("decoration-preview").then(a.bind(null,"a64c"))}}],m=new p["a"]({mode:"history",base:window.__POWERED_BY_QIANKUN__?"/wxapp/pcmall/design":"/newpc",routes:h}),f=a("2f62"),C=(a("8e6e"),a("456d"),a("7514"),a("ac6a"),a("bd86")),A=a("ed08");function w(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function y(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?w(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var _={SET_PAGEDATA:function(l,t){l.pagedata=t},RESET_PAGEDATA:function(l,t){l.pagedata={name:"",title:"",widgets:[],nav:{}}},PREVIEW:function(l,t){l.preview=t.preview},EXIT:function(l,t){window.vm.$router.go(-1)},ADD_WIDGET:function(l,t){t.setting.width=l.pageWidth;var a=JSON.parse(JSON.stringify(t.setting));l.pagedata.widgets.push(y(y({},a),{},{uuid:Object(A["a"])()})),"W0000"==t.setting.type&&(l.pageBackground=t.setting.backgroundColor)},DELETE_WIDGET:function(l,t){l.pagedata.widgets.forEach((function(a,e){a.uuid===t&&l.pagedata.widgets.splice(e,1)}))},SELECT_ELE:function(l,t){l.activeEleId=t},CHANGE_WIDGET_SORT:function(l,t){var a=t.index1,e=t.index2,o=l.pagedata.widgets,i=o[a];n["default"].set(o,a,o[e]),n["default"].set(o,e,i)},ZOOM_UP:function(l){l.zoom=10*parseInt(l.zoom/10)+10},ZOOM_DOWN:function(l){l.zoom=10*parseInt(l.zoom/10)-10},ZOOM_SET:function(l,t){l.zoom=t},ZOOM_MIDDLE:function(l){var t=document.getElementById("viewport-container"),a=t.clientWidth;l.zoom=parseInt(a/(l.pageWidth+200)*100)},PAGE_SETUP:function(l){var t=l.pagedata.widgets,a=t.find((function(l){return"W0000"==l.type}));l.activeEleId=a.uuid},SET_RULER:function(l){l.showRuler=!l.showRuler},SET_LINE:function(l){l.showLine=!l.showLine},PAGE_MODE:function(l){var t="h5"===l.pageMode?"pc":"h5";l.pageMode=t,"pc"==t?(l.pageWidth=1190,l.pageHeight="auto",l.minHeight=800):(l.pageWidth=375,l.pageHeight=667,l.minHeight="auto");var a=l.pagedata.widgets,e=a.find((function(l){return"WgtPage"==l.type}));e["width"]=l.pageWidth}},I=a("cd14"),k={SAVE_PAGEDATA:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,o,i,c,s,r,u;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return t.commit,t.dispatch,a=t.state,e=a.pagedata,o=e.widgets,i=e.pageid,c=[],o.forEach((function(l){l.type&&c.push({name:l.type,config:l,data:l.data})})),s=o.filter((function(l){return"header"==l.comptyle})),r=o.filter((function(l){return!l.comptyle||"body"==l.comptyle})),u=o.filter((function(l){return"footer"==l.comptyle})),A["d"].debug("[savePageData]",r),n["default"].prototype.$Loading.start(),l.next=11,Object(I["saveHeaderOrFooter"])({page_name:"header",config:JSON.stringify(s)});case 11:return l.next=13,Object(I["saveHeaderOrFooter"])({page_name:"footer",config:JSON.stringify(u)});case 13:return l.next=15,Object(I["saveTemplateContent"])({theme_pc_template_id:i,config:JSON.stringify(r)});case 15:n["default"].prototype.$Loading.finish(),n["default"].prototype.$Message.success("保存成功");case 17:case"end":return l.stop()}}),l)})));function t(t){return l.apply(this,arguments)}return t}()},O=(a("6762"),a("5c8a")),E=a("2dad"),P=[],x=function(l){E["a"].init(l);var t=Object(O["a"])(l.state);E["a"].addState(t),l.subscribe((function(l,t){var a=l.type;P.includes(a)||E["a"].addState(Object(O["a"])(t))}))},S=x;n["default"].use(f["a"]);var j={pageMode:"pc",zoom:100,pageWidth:1190,pageHeight:"auto",minHeight:800,showRuler:!0,showLine:!0,activeEleId:null,preview:!1,pagedata:{name:"",title:"",widgets:[],nav:{}}},T={getActiveWidget:function(l){if(l.pagedata&&l.activeEleId){for(var t,a=l.pagedata.widgets,e=0;e<a.length;e++){if(a[e].uuid===l.activeEleId){t=a[e];break}if(a[e].childWidgets)for(var n=0;n<a[e].childWidgets.length;n++)if(a[e].childWidgets[n].uuid===l.activeEleId){t=a[e].childWidgets[n];break}}return t}return null}},B=new f["a"].Store({state:j,getters:T,mutations:_,actions:k,plugins:[S]}),D=(a("7f7f"),function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-tabs"},[t("div",{staticClass:"sp-tabs-header"},l._l(l.navList,(function(a,e){return t("div",{key:e,staticClass:"sp-tabs-header-item",class:{active:l.activeKey==a.name},on:{click:function(t){return l.handleChange(a)}}},[a.icon?t("SpIcon",{attrs:{icon:a.icon}}):l._e(),t("span",[l._v(l._s(a.label))])],1)})),0),t("div",{ref:"panes",staticClass:"sp-tabs-content"},[l._t("default")],2)])}),L=[],R=(a("c5f6"),{name:"SpTab",props:{value:{type:[String,Number]}},data:function(){return{navList:[],activeKey:null}},provide:function(){return{tab:this}},created:function(){},mounted:function(){this.activeKey=this.value?this.value:this.navList[0].name,this.updateTab()},methods:{handleChange:function(l){this.activeKey=l.name,this.updateTab()},updateTab:function(){var l=this;this.navList.forEach((function(t){t.show=t.name===l.activeKey}))}}}),F=R,z=(a("f6e7"),Object(g["a"])(F,D,L,!1,null,null,null)),W=z.exports,M=function(){var l=this,t=l._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:l.show,expression:"show"}],staticClass:"sp-tabpanel"},[l._t("default")],2)},$=[],N={name:"SpTabPanel",props:{name:{type:String},label:{type:[String,Function],default:""},icon:{type:String,default:""}},inject:["tab"],data:function(){return{show:!0}},created:function(){},mounted:function(){this.tab.navList.push(this)}},U=N,V=Object(g["a"])(U,M,$,!1,null,null,null),Q=V.exports,G=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-toolbar"},[t("div",{staticClass:"sp-toolbar__left"},[l._l(l.leftTools,(function(a,e){return[t("Tooltip",{key:e,staticClass:"tool-items",attrs:{content:a.tooltip,disabled:!a.tooltip}},[a.component?[t(a.component,{key:e,tag:"component",attrs:{icon:a.icon,text:a.text}})]:t("span",{staticClass:"menu-item",on:{click:function(t){return l.handleClick(a.action)}}},[t("div",{staticClass:"menu-item__icon"},[t("SpIcon",{attrs:{icon:a.icon}})],1),t("span",{staticClass:"menu-item__name"},[l._v(l._s(a.text))])])],2)]}))],2),t("div",{staticClass:"sp-toolbar__right"},[l._l(l.rightTools,(function(a,e){return[t("Tooltip",{key:e,staticClass:"tool-items",attrs:{content:a.tooltip,disabled:!a.tooltip}},[a.component?[t(a.component,{key:e,tag:"component",attrs:{icon:a.icon,text:a.text}})]:t("span",{staticClass:"menu-item",on:{click:function(t){return l.handleClick(a.action)}}},[t("div",{staticClass:"menu-item__icon"},[t("SpIcon",{attrs:{icon:a.icon}})],1),t("span",{staticClass:"menu-item__name"},[l._v(l._s(a.text))])])],2)]}))],2)])},J=[],H=a("05ee"),Z={name:"SpToolBar",props:{},data:function(){return{leftTools:[],rightTools:[]}},mounted:function(){this.leftTools=H["a"].leftTools,this.rightTools=H["a"].rightTools,console.log(this.leftTools,this.rightTools)},computed:Object(f["d"])({zoom:function(l){return l.zoom}}),methods:{handleClick:function(l){l&&l()}}},Y=Z,K=(a("f6d9"),Object(g["a"])(Y,G,J,!1,null,null,null)),q=K.exports,X=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-widgetspanel"},l._l(l.navs,(function(a,e){return t("div",{key:"navs-".concat(e),staticClass:"nav-item"},[t("div",{staticClass:"nav-item__btn"},[l._v("\n "+l._s(a.name)+"\n ")]),a.children?t("div",{staticClass:"sub-nav-con"},l._l(a.children,(function(a,e){return t("div",{key:"snavs-".concat(e),staticClass:"sub-nav-item"},[t("div",{staticClass:"sub-nav-item__btn"},[l._v("\n "+l._s(a.name)+"\n ")]),t("div",{staticClass:"widgets-con"},[l._l(a.widgets,(function(a){return[t("div",{key:a.name,staticClass:"widget-item",attrs:{draggable:"true","data-name":a.name},on:{click:function(t){return l.handleAddWidget(a)}}},[t("SpIcon",{staticClass:"widget-item__icon",attrs:{icon:a.icon}}),t("div",{staticClass:"widget-item__key"},[l._v("\n "+l._s(a.key)+"\n ")]),t("div",{staticClass:"widget-item__title"},[l._v("\n "+l._s(a.title)+"\n ")])],1)]}))],2)])})),0):l._e()])})),0)},ll=[],tl=a("565a");a("bc3a");function al(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function el(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?al(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):al(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var nl={name:"SpWidgetsPanel",data:function(){return{info:null,panel:null,navs:[]}},created:function(){this.registerWidgets()},mounted:function(){document.addEventListener("dragstart",(function(l){A["d"].debug("[sp-widgetspanel] dragstart, widgets is:",l.target.getAttribute("data-name")),l.dataTransfer.setData("Name",l.target.getAttribute("data-name"))})),document.addEventListener("dragover",(function(l){l.preventDefault()}))},methods:el(el({},Object(f["c"])(["ADD_WIDGET"])),{},{handleAddWidget:function(l){this.ADD_WIDGET(l)},registerWidgets:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:t=tl["a"].navs,A["d"].debug("[sp-widgetspanel] created, register widgets",t),t.forEach((function(l){l.children.forEach((function(t,a){for(var e in t["widgets"]=[],s["b"])s["b"][e].navs[0]==l.id&&s["b"][e].navs[1]==t.id&&t.widgets.push(el(el({},s["b"][e]),{},{key:e}))}))})),console.log(t),this.navs=t;case 5:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}()})},ol=nl,il=(a("71f4"),Object(g["a"])(ol,X,ll,!1,null,null,null)),cl=il.exports,sl=function(){var l=this,t=l._self._c;return t("i",{class:[l.iconname,l.icon]})},rl=[],ul={name:"SpIcon",props:{icon:String},data:function(){return{iconname:""}},created:function(){var l=tl["a"].iconfont;this.iconname=l}},gl=ul,dl=Object(g["a"])(gl,sl,rl,!1,null,null,null),vl=dl.exports,bl=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-viewport"},[l.renderRule?t("SketchRule",{attrs:{lang:l.lang,thick:l.thick,scale:l.scale,width:l.width,height:l.height,"start-x":l.startX,"start-y":l.startY,shadow:l.shadow,"hor-line-arr":l.lines.h,"ver-line-arr":l.lines.v,"corner-active":!0},on:{handleLine:l.handleLine,onCornerClick:l.handleCornerClick}}):l._e(),t("div",{ref:"screensRef",staticClass:"viewport-container",attrs:{id:"viewport-container"},on:{wheel:l.handleWheel,scroll:l.handleScroll}},[t("div",{ref:"containerRef",staticClass:"draw-wrap"},[t("draggable",{style:[l.viewportBoardStyle,{backgroundColor:"".concat(l.pageProps?l.pageProps.backgroundColor:"#f4f4f4")}],attrs:{id:"draw-container",options:l.options}},[l._l(l.pagedata.widgets,(function(a,e){return["W0000"!=a.type?t(a.type,{key:a.uuid,tag:"component",staticClass:"widget",class:{"widget-active":l.isActive(a),"widget-hover":l.hoverEle_uuid===a.uuid},attrs:{mode:"design",kindex:e,value:a,"page-props":l.pageProps,zoom:l.zoom},nativeOn:{click:function(t){return l.handleClickComponent(t,a.uuid)},mouseenter:function(t){return l.handleMouseEnter(a.uuid)},mouseleave:function(t){return l.handleMouseLeave(a.uuid)}}},[t("vue-draggable-resizable",{attrs:{draggable:!1,w:a.width+a.paddingLeft+a.paddingRight,h:a.height+a.paddingTop+a.paddingBottom,z:100,handles:["mr","bm","ml"]},on:{resizing:function(t,e,n,o){return l.onResizingComponent(a,t,e,n,o)}}}),t("action-tools",{directives:[{name:"show",rawName:"v-show",value:a.uuid===l.hoverEle_uuid,expression:"widget.uuid === hoverEle_uuid"}],ref:"actionTools",refInFor:!0,attrs:{uuid:a.uuid,sindex:e}})],1):l._e()]}))],2)],1)]),t("Modal",{staticClass:"preview-modal",attrs:{fullscreen:"","footer-hide":"",title:"预览模式"},on:{"on-visible-change":l.handleClosePreview},model:{value:l.modeShow,callback:function(t){l.modeShow=t},expression:"modeShow"}},[t("div",l._l(l.pagedata.widgets,(function(a,e){return t(a.type,{key:"wgt-".concat(e),tag:"component",attrs:{mode:"preview",value:a,"page-props":l.pageProps}})})),1)])],1)},pl=[],hl=a("bd15"),ml=a("b76a"),fl=a.n(ml),Cl=function(){var l=this,t=l._self._c;return t("div",{staticClass:"action-tools"},[l.drag?t("SpIcon",{attrs:{icon:"icon-tuodong"}}):l._e(),t("div",{staticClass:"hover-action"},[t("SpIcon",{attrs:{icon:"icon-shanchudelete31"},nativeOn:{click:function(t){return t.stopPropagation(),l.handleDeleteWidget.apply(null,arguments)}}}),l.up?t("SpIcon",{attrs:{icon:"icon-shangyi"},nativeOn:{click:function(t){return t.stopPropagation(),l.handleMoveUpWidget.apply(null,arguments)}}}):l._e(),l.down?t("SpIcon",{attrs:{icon:"icon-xiayi"},nativeOn:{click:function(t){return t.stopPropagation(),l.handleMoveDownWidget.apply(null,arguments)}}}):l._e()],1)],1)},Al=[];function wl(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function yl(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?wl(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):wl(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var _l={name:"ActionTools",props:{uuid:{type:String},sindex:{type:Number,default:0},length:{type:Number,default:0},drag:{type:Boolean,default:!0},up:{type:Boolean,default:!0},down:{type:Boolean,default:!0}},data:function(){return{dragTarget:null,x1:0,y1:0,x2:0,y2:0}},computed:Object(f["d"])({pagedata:function(l){return l.pagedata}}),created:function(){},mounted:function(){},methods:yl(yl({},Object(f["c"])(["DELETE_WIDGET","CHANGE_WIDGET_SORT"])),{},{handleDeleteWidget:function(){A["d"].debug("[action-tools] handleDeleteWidget: ",this.uuid),this.DELETE_WIDGET(this.uuid)},handleMoveUpWidget:function(){this.sindex>0&&this.changeComponentsPosition(this.sindex,this.sindex-1)},handleMoveDownWidget:function(){var l=this.pagedata.widgets;this.sindex<l.length-1&&this.changeComponentsPosition(this.sindex,this.sindex+1)},changeComponentsPosition:function(l,t){this.CHANGE_WIDGET_SORT({index1:l,index2:t})}})},Il=_l,kl=(a("cfd2"),Object(g["a"])(Il,Cl,Al,!1,null,null,null)),Ol=kl.exports;function El(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Pl(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?El(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):El(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var xl={name:"SpViewPort",components:{SketchRule:hl["a"],actionTools:Ol,draggable:fl.a},props:{},data:function(){return{startX:0,startY:0,lines:{h:[],v:[]},shadow:{x:0,y:0,width:0,height:0},thick:20,width:500,height:400,lang:"zh-CN",isShowRuler:!0,isShowReferLine:!0,renderRule:!1,hoverEle_uuid:null,activeEle_uuid:null,moveing:!1,options:{handle:".icon-tuodong",animation:300,ghostClass:"ghostClass",chosenClass:"chosenClass",dragClass:"dragClass"},showbottomMenuHeight:"",modeShow:!1}},computed:Pl(Pl({},Object(f["d"])({pageWidth:function(l){return l.pageWidth},zoom:function(l){return l.zoom},pagedata:function(l){return l.pagedata},showRuler:function(l){return l.showRuler},activeEleId:function(l){return l.activeEleId},preview:function(l){return l.preview}})),{},{viewportBoardStyle:function(){return{transform:"scale(".concat(this.zoom/100,")"),width:"".concat(this.pageWidth,"px"),height:"auto"==this.pageHeight?this.pageHeight:"".concat(this.pageHeight,"px"),minHeight:"auto"==this.minHeight?this.minHeight:"".concat(this.minHeight,"px"),top:"".concat(this.top,"px"),left:"".concat(this.left,"px"),marginBottom:"".concat(this.top,"px")}},pageProps:function(){var l=this.pagedata.widgets.find((function(l){return"W0000"==l.type}));return l},scale:function(){return this.zoom/100}}),watch:{scale:{handler:function(l,t){var a=this;this.renderRule=!1,console.log("............."),setTimeout((function(){a.renderRule=!0,a.handleScroll()}),20)},deep:!0},preview:{handler:function(l,t){this.modeShow=l}}},mounted:function(){var l=this;this.$on("widgetpanel.component.mouseevent",(function(l){this.hoverEle_uuid=l})),this.$refs.screensRef.scrollLeft=this.$refs.containerRef.getBoundingClientRect().width/2-300,this.$nextTick((function(){l.initSize()}))},methods:Pl(Pl({},Object(f["c"])(["ZOOM_SET","SELECT_ELE","PREVIEW"])),{},{handleLine:function(l){this.lines=l},handleCornerClick:function(){this.ZOOM_SET(100)},handleScroll:function(){var l=document.querySelector("#viewport-container").getBoundingClientRect(),t=document.querySelector("#draw-container").getBoundingClientRect(),a=(l.left+this.thick-t.left)/this.scale,e=(l.top+this.thick-t.top)/this.scale;this.startX=a>>0,this.startY=e>>0},handleWheel:function(l){var t=this;if(l.ctrlKey||l.metaKey){l.preventDefault();var a=parseFloat(Math.max(.2,this.scale-l.deltaY/500).toFixed(2));this.scale=a}this.$nextTick((function(){t.handleScroll()}))},initSize:function(){var l=1;this.width=this.$el.clientWidth-this.thick-l,this.height=this.$el.clientHeight-this.thick-l,console.log("000000000000000"),this.renderRule=!0},handleDraggableOnMove:function(l){l.preventDefault()},handleMouseEnter:function(l){this.moveing||(this.hoverEle_uuid=l)},handleMouseLeave:function(){this.moveing||(this.hoverEle_uuid=null)},handleClickComponent:function(l,t){A["d"].debug("[draw-board] methods handleClickComponent: ",t),this.SELECT_ELE(t)},isActive:function(l){var t=this,a=!1;if(l.uuid===this.activeEleId)a=!0;else if(l.childWidgets){var e=l.childWidgets.find((function(l){return l.uuid==t.activeEleId}));a=!!e}return a},handleClosePreview:function(l){l||this.PREVIEW({preview:!1})},onResizingComponent:function(l,t,a,e,n){var o=l.paddingTop,i=l.paddingRight,c=l.paddingBottom,s=l.paddingLeft;l.width=e-i-s,l.height=n-o-c}})},Sl=xl,jl=(a("1733"),Object(g["a"])(Sl,bl,pl,!1,null,null,null)),Tl=jl.exports,Bl=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-attr-panel"},[l.getActiveWidget&&l.hackReset?[t("".concat(l.getActiveWidget.type,"Props"),{tag:"component",attrs:{"active-element":l.getActiveWidget},model:{value:l.getActiveWidget,callback:function(t){l.getActiveWidget=t},expression:"getActiveWidget"}})]:l._e()],2)},Dl=[];function Ll(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Rl(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ll(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Ll(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Fl={name:"SpStylePanel",props:{},data:function(){return{hackReset:!1}},computed:Rl(Rl({},Object(f["d"])({activeEleId:function(l){return l.activeEleId},pagedata:function(l){return l.pagedata}})),Object(f["b"])(["getActiveWidget"])),watch:{activeEleId:function(l,t){var a=this;this.hackReset=!1,this.$nextTick((function(){console.log("重建组件",a.getActiveWidget),a.hackReset=!0}))}},created:function(){},mounted:function(){},methods:{}},zl=Fl,Wl=(a("26a8"),Object(g["a"])(zl,Bl,Dl,!1,null,null,null)),Ml=Wl.exports,$l=function(){var l=this,t=l._self._c;return t("span",{class:l.classes},[l.isValid?[l.noSymbol?l._e():t("span",{staticClass:"price__symbol"},[l._v(l._s(l.symbol))]),t("span",{staticClass:"price__int"},[l._v(l._s(l.priceVals.int))]),l.noDecimal||void 0===l.priceVals.decimal?l._e():t("span",{staticClass:"price__decimal"},[l._v("."+l._s(l.priceVals.decimal))]),l.appendText?t("span",{staticClass:"price__append"},[l._v(l._s(l.appendText))]):l._e()]:[l._v(l._s(l.defaultValue))]],2)},Nl=[],Ul=(a("28a5"),a("768b")),Vl="sp-price",Ql={name:"SpPrice",props:{symbol:{type:String,default:"¥"},value:{type:[String,Number],default:""},defaultValue:{type:String,default:"-"},size:{validator:function(l){return Object(A["e"])(l,["small","large","default"])},default:function(){return"default"}},noSymbol:Boolean,noDecimal:Boolean,unit:String,appendText:String},computed:{isValid:function(){return!isNaN(parseFloat(this.value,10))},classes:function(){return"".concat(Vl," ").concat(Vl,"__").concat(this.size," clearfix")},priceVals:function(){var l=+this.value,t="cent"===this.unit?l/100:l;Object(A["c"])(t)&&(t=t.toFixed(2));var a=(t||"").split("."),e=Object(Ul["a"])(a,2),n=e[0],o=e[1];return{int:n,decimal:o}}}},Gl=Ql,Jl=(a("f815"),Object(g["a"])(Gl,$l,Nl,!1,null,null,null)),Hl=Jl.exports,Zl=(a("a481"),a("3b2b"),a("4917"),function(l,t){return l.classList?l.classList.contains(t):!!l.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}),Yl=function(l,t){l.classList?l.classList.add(t):Zl(l,t)||(l.className+=" "+t)},Kl=function(l,t){if(l.classList)l.classList.remove(t);else{var a=new RegExp("(\\s|^)"+t+"(\\s|$)","g");l.className=l.className.replace(a,"")}},ql={beforeEnter:function(l){Yl(l,"dp-transition"),l.dataset||(l.dataset={}),l.dataset.oldPaddingTop=l.style.paddingTop,l.dataset.oldPaddingBottom=l.style.paddingBottom,l.style.height="0",l.style.paddingTop=0,l.style.paddingBottom=0},enter:function(l){l.dataset.oldOverflow=l.style.overflow,0!==l.scrollHeight?(l.style.height=l.scrollHeight+"px",l.style.paddingTop=l.dataset.oldPaddingTop,l.style.paddingBottom=l.dataset.oldPaddingBottom):(l.style.height="",l.style.paddingTop=l.dataset.oldPaddingTop,l.style.paddingBottom=l.dataset.oldPaddingBottom),l.style.overflow="hidden"},afterEnter:function(l){l.style.height="",l.style.overflow=l.dataset.oldOverflow},beforeLeave:function(l){l.dataset||(l.dataset={}),l.dataset.oldPaddingTop=l.style.paddingTop,l.dataset.oldPaddingBottom=l.style.paddingBottom,l.dataset.oldOverflow=l.style.overflow,l.style.height=l.scrollHeight+"px",l.style.overflow="hidden"},leave:function(l){0!==l.scrollHeight&&(Yl(l,"dp-transition"),l.style.height=0,l.style.paddingTop=0,l.style.paddingBottom=0)},afterLeave:function(l){Kl(l,"collapse-transition"),l.style.height="",l.style.overflow=l.dataset.oldOverflow,l.style.paddingTop=l.dataset.oldPaddingTop,l.style.paddingBottom=l.dataset.oldPaddingBottom}},Xl={name:"SpDptransition",functional:!0,props:{appear:Boolean},render:function(l,t){var a=t.children,e=t.props,n={on:ql,props:{appear:e.appear}};return l("transition",n,a)}},lt=function(){var l=this,t=l._self._c;return t("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:l.handleAway,expression:"handleAway"}],staticClass:"sp-setup"},[t("span",{staticClass:"menu-item",on:{click:l.handleClick}},[t("div",{staticClass:"menu-item__icon"},[t("SpIcon",{attrs:{icon:l.icon}})],1),t("span",{staticClass:"menu-item__name"},[l._v(l._s(l.text))])]),t("SpDptransition",[l.transition?t("ul",{staticClass:"sp-setup__list"},l._l(l.list,(function(a,e){return t("li",{key:e,on:{click:function(t){return l.handleListClick(a.key)}}},[t("span",{staticClass:"sp-setup__icon"},[l.handleShow(a.status)?t("SpIcon",{attrs:{icon:"icon-check"}}):l._e()],1),t("span",{staticClass:"sp-setup__name"},[l._v(l._s(a.name))])])})),0):l._e()])],1)},tt=[],at=a("c7db");function et(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function nt(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?et(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):et(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ot={name:"SpSetup",mixins:[at["mixin"]],props:{icon:String,text:String},data:function(){return{transition:!1,list:[{status:"showRuler",name:"量尺",key:"ruler"},{status:"showLine",name:"参考线",key:"line"}]}},computed:Object(f["d"])({showRuler:function(l){return l.showRuler},showLine:function(l){return l.showLine}}),methods:nt(nt({},Object(f["c"])(["SET_RULER","SET_LINE"])),{},{handleShow:function(l){return this[l]},handleClick:function(){this.transition=!this.transition},handleAway:function(){this.transition=!1},handleListClick:function(l){switch(l){case"ruler":this.SET_RULER();break;case"line":this.SET_LINE();break}}})},it=ot,ct=(a("6f0e"),Object(g["a"])(it,lt,tt,!1,null,null,null)),st=ct.exports,rt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-pagemode"},[t("span",{staticClass:"menu-item",on:{click:l.handleClick}},[t("div",{staticClass:"menu-item__icon"},[t("SpIcon",{class:{active:"h5"===l.pageMode},attrs:{icon:l.icon}})],1),t("span",{staticClass:"menu-item__name"},[l._v(l._s(l.text))])])])},ut=[];function gt(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function dt(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):gt(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var vt={name:"SpPagemode",props:{icon:String,text:String},computed:Object(f["d"])({pageMode:function(l){return l.pageMode}}),methods:dt(dt({},Object(f["c"])(["PAGE_MODE"])),{},{handleClick:function(){this.PAGE_MODE()}})},bt=vt,pt=(a("c48d"),Object(g["a"])(bt,rt,ut,!1,null,null,null)),ht=pt.exports,mt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-zoom"},[t("span",{staticClass:"menu-item"},[t("div",{staticClass:"menu-item__icon"},[t("Poptip",{attrs:{width:"300"}},[t("span",{staticClass:"zoom"},[l._v(l._s(l.zoom)+"%")]),t("div",{staticStyle:{margin:"0 10px"},attrs:{slot:"content"},slot:"content"},[t("Slider",{attrs:{max:100,"show-tip":"never"},model:{value:l.szoom,callback:function(t){l.szoom=t},expression:"szoom"}})],1)])],1)])])},ft=[];function Ct(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function At(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Ct(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var wt,yt,_t={name:"SpZoom",props:{icon:String,text:String},data:function(){return{szoom:0}},watch:{szoom:{handler:function(l,t){console.log(l),this.ZOOM_SET(l)},deep:!0}},computed:At({},Object(f["d"])({zoom:function(l){return l.zoom}})),mounted:function(){this.szoom=this.zoom},methods:At({},Object(f["c"])(["ZOOM_SET"]))},It=_t,kt=(a("92ed"),Object(g["a"])(It,mt,ft,!1,null,null,null)),Ot=kt.exports,Et=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-about"},[t("span",{staticClass:"menu-item",on:{click:l.handleClick}},[t("div",{staticClass:"menu-item__icon"},[t("SpIcon",{attrs:{icon:l.icon}})],1),t("span",{staticClass:"menu-item__name"},[l._v(l._s(l.text))])]),t("Modal",{attrs:{draggable:"",title:"关于","footer-hide":""},model:{value:l.showModal,callback:function(t){l.showModal=t},expression:"showModal"}},[t("div",[t("div",[l._v("设计器版本:"+l._s(l.designVersion))])])])],1)},Pt=[],xt=a("9224"),St={name:"SpAbout",props:{icon:String,text:String},data:function(){return{showModal:!1,designVersion:"",widgetsVersion:""}},methods:{handleClick:function(){this.designVersion=xt.version,this.showModal=!0}}},jt=St,Tt=(a("603c"),Object(g["a"])(jt,Et,Pt,!1,null,null,null)),Bt=Tt.exports,Dt=function(){var l=this,t=l._self._c;return t("Modal",{staticClass:"sp-picker",attrs:{title:l.title,width:l.width,transfer:!1,"mask-closable":!1},on:{"on-ok":l.handleConfirm},model:{value:l.isLocalShow,callback:function(t){l.isLocalShow=t},expression:"isLocalShow"}},[l.isLocalShow?t("PickerType",l._b({ref:"picker",attrs:{value:l.value},on:{close:function(t){return l.handleToggle(!1)}}},"PickerType",l.extra,!1)):l._e()],1)},Lt=[],Rt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-goods-picker"},[t("Tabs",{attrs:{value:l.curTab,animated:!1},on:{input:l.handleTabChange}},[t("TabPane",{attrs:{label:"商品",name:"goods"}},[t("GoodsPicker",{attrs:{value:"goods"===l.curTab?l.value:null},on:{input:l.handleChange}})],1),t("TabPane",{attrs:{label:"商品组",name:"goods-tag"}},[t("GoodsTagPicker",{attrs:{value:"goods-tag"===l.curTab?l.value:null},on:{input:l.handleChange}})],1)],1)],1)},Ft=[],zt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-items-picker"},[t("div",{staticClass:"sp-items-picker-toolbar"},[t("Form",{staticClass:"sp-items-picker-search",nativeOn:{submit:function(t){return t.preventDefault(),l.handleSubmit.apply(null,arguments)}}},[t("Select",{attrs:{placeholder:"分类"},model:{value:l.query.cat_id,callback:function(t){l.$set(l.query,"cat_id",t)},expression:"query.cat_id"}},l._l(l.categoryOptions,(function(a){return t("Option",{key:a.id,attrs:{value:a.id}},[l._v("\n "+l._s(a.prefix)+l._s(a.name)+"\n ")])})),1),t("Input",{attrs:{placeholder:"名称"},model:{value:l.query.name,callback:function(t){l.$set(l.query,"name",t)},expression:"query.name"}}),t("Input",{attrs:{placeholder:"货号"},model:{value:l.query.bn,callback:function(t){l.$set(l.query,"bn",t)},expression:"query.bn"}}),t("Button",{attrs:{type:"primary","html-type":"submit"}},[l._v("\n 搜索\n ")]),t("Button",{on:{click:l.handleSelectAll}},[l._v("\n 全选当页\n ")]),t("Button",{attrs:{type:"text"},on:{click:l.handleResetQuery}},[l._v("\n 清空条件\n ")])],1)],1),t("div",{staticClass:"sp-items-picker-cont"},[l.list.length>0?l._l(l.list,(function(a){return t("div",{key:a.item_id,staticClass:"goods-item",class:{"is-active":l.selectionDict[a.item_id]},on:{click:function(t){return l.handleClickItem(a)}}},[t("div",{staticClass:"goods-item__inner"},[t("div",{staticClass:"goods-item__img"},[t("Img",{attrs:{src:a.img}})],1),t("div",{staticClass:"goods-item__title"},[l._v("\n "+l._s(a.title)+"\n ")])])])})):t("div",{staticClass:"note"},[l._v("\n 暂无数据\n ")])],2),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},Wt=[],Mt=a("75fc"),$t=(a("14b9"),a("1c8f")),Nt={data:function(){return{pageCur:1,pageSize:18,pageCount:-1}},computed:{pageTotal:function(){if(this.pageCount<0)return 0;var l=Math.ceil(this.pageCount/this.pageSize);return l}},methods:{refresh:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return t&&this.resetPage(),l.next=3,this.goPage(this.pageCur);case 3:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),resetPage:function(){this.pageCur=1,this.pageCount=-1},nextPage:function(){return this.goPage(1)},goPage:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t,a,e,n=arguments;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:1,t>this.pageTotal&&-1!==this.pageCount?this.pageCur=this.pageTotal:this.pageCur=t<0?0:t,l.next=4,this.fetch({page_no:this.pageCur,page_size:this.pageSize});case 4:a=l.sent,e=a.count,this.pageCount=e;case 7:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}()}},Ut={config:{},props:{value:{type:Object,validator:function(l){return null===l||(l.type?void 0!==l.data||(console.error("[base picker] value.data is undefined"),!1):(console.error("value.type is undefined"),!1))}}},data:function(){return{type:"",defaultVal:"",localVal:{}}},watch:{value:{immediate:!0,handler:function(l){l=l&&l.type===this.type?Object(O["a"])(l):this.resolveDefaultVal(),this.localVal=l}}},methods:{resolveDefaultVal:function(){return{type:this.type,data:this.defaultVal}},getVal:function(){return this.localVal},updateVal:function(l){var t=this.$options.config.type||this.type;if(!t)throw new Error("type should not be undefined");var a={type:t,data:l};this.localVal=a,this.$emit("input",a)}}},Vt={large:"_l",medium:"_m",small:"_s",thumbnail:"_t"},Qt=function(l){var t=l.split(".");return t[t.length-1]},Gt={functional:!0,props:{src:String,type:{type:String,default:"thumbnail"}},render:function(l,t){var a=t.props,e=a.src,n=a.type,o=e?"".concat(e).concat(Vt[n],".").concat(Qt(e)):e;return l("img",{class:"picker-img",attrs:{src:o}})}},Jt=Gt,Ht=Object(g["a"])(Jt,wt,yt,!1,null,null,null),Zt=Ht.exports;a("20d6");function Yt(l){var t={};return Object.keys(l).forEach((function(a){var e=l[a].trim();e&&(t[a]=e)})),0===Object.keys(t).length?null:t}function Kt(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,a=l.data,e=void 0===a?{}:a;return"function"===typeof t?t(e):e[t]}function qt(l,t){var a;if(a="function"===typeof t?l.findIndex(t):l.indexOf(t),a>=0)return l.splice(a,1),!0}function Xt(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function la(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Xt(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ta=function(l){var t=function l(t,a){var e=t.level,n=t.cat_id,o=t.cat_name;a.push({prefix:e>1?" ".repeat(+e-1):"",level:e,id:n,name:o}),t.child_count>0&&t["lv".concat(+e+1)].forEach((function(t){return l(t,a)}))},a=[];return l.forEach((function(l){return t(l,a)})),a},aa=function(){return{name:"",bn:"",cat_id:""}},ea={components:{Img:Zt},extends:Ut,mixins:[Nt],config:{type:"goods"},data:function(){return{defaultVal:[],list:[],categoryOptions:[],query:aa()}},computed:{selection:function(){return this.localVal?this.localVal.data:[]},selectionDict:function(){var l="item_id",t=this.selection||[];return t.reduce((function(t,a){return la(la({},t),{},Object(C["a"])({},a[l],!0))}),{})}},created:function(){this.fetchOptions(),this.refresh()},methods:{fetchOptions:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t,a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$api.picker.itemCategory();case 2:t=l.sent,a=ta(t),this.categoryOptions=a;case 5:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(!this.loading){l.next=2;break}return l.abrupt("return");case 2:return this.loading=!0,t=la(la({},t),{},{q:Yt(this.query)}),l.prev=4,l.next=7,this.$api.picker.items(t);case 7:return a=l.sent,e=a.list,n=a.count,o=function(l){var t=l.item_id,a=l.title,e=l.image_default_id;return{item_id:t,title:a,img:e}},this.list=e.map(o),this.loading=!1,l.abrupt("return",{count:n});case 16:return l.prev=16,l.t0=l["catch"](4),this.loading=!1,l.abrupt("return",{count:this.pageCount||0});case 20:case"end":return l.stop()}}),l,this,[[4,16]])})));function t(t){return l.apply(this,arguments)}return t}(),handleSubmit:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(!this.loading){l.next=2;break}return l.abrupt("return");case 2:this.refresh(!0);case 3:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleSelectAll:function(){if(!this.loading){var l=[];0!==this.selection.length&&this.selection.length===this.localVal.data.length||(l=Object(Mt["a"])(this.list)),this.updateVal(l)}},handleResetQuery:function(){this.query=aa()},handleClickItem:function(l){if(!this.loading){var t=Object($t["a"])(this.selection,(function(t){return t.item_id===l.item_id}));t>=0?this.selection.splice(t,1):this.selection.push(l),this.updateVal(this.selection)}}}},na=ea,oa=(a("8d06"),Object(g["a"])(na,zt,Wt,!1,null,null,null)),ia=oa.exports,ca=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-tag-picker"},[t("div",{staticClass:"sp-tag-picker__toolbar"},[t("Form",{staticClass:"sp-tag-picker__search",nativeOn:{submit:function(t){return t.preventDefault(),l.handleSubmit.apply(null,arguments)}}},[t("Input",{attrs:{placeholder:"请输入商品标签组名称"},model:{value:l.query.keywords,callback:function(t){l.$set(l.query,"keywords",t)},expression:"query.keywords"}}),t("Button",{attrs:{type:"primary","html-type":"submit"}},[l._v("\n 搜索\n ")]),t("Button",{attrs:{type:"text"},on:{click:l.handleResetQuery}},[l._v("\n 清空条件\n ")])],1)],1),t("div",{staticClass:"sp-tag-picker__cont"},[t("Table",{attrs:{columns:l.columns,data:l.list},on:{"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row;a.index;return[t("Radio",{attrs:{value:l.curId===e.tag_id}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)])},sa=[];function ra(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function ua(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ra(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ra(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ga=function(){return{keywords:""}},da={extends:Ut,config:{type:"goods-tag"},mixins:[Nt],data:function(){var l=[{slot:"selection"},{title:"分组名称",key:"name"},{title:"商品数量",key:"num"},{title:"更新时间",key:"updated_at"}];return{curId:this.resolveCurId(),list:[],columns:l,query:ga()}},created:function(){this.refresh()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return this.loading=!0,t=ua(ua({},t),{},{q:Yt(this.query)}),l.prev=2,l.next=5,this.$api.picker.itemTag(t);case 5:return a=l.sent,e=a.count,n=a.list,this.list=n,this.loading=!1,l.abrupt("return",{count:e});case 13:l.prev=13,l.t0=l["catch"](2),this.loading=!1;case 16:case"end":return l.stop()}}),l,this,[[2,13]])})));function t(t){return l.apply(this,arguments)}return t}(),resolveCurId:function(){if(this.value){var l=this.value.data.tag_id;return l}return null},handleSubmit:function(){this.refresh(!0)},handleResetQuery:function(){this.query=ga()},handleClickItem:function(l,t){this.curId=l.tag_id,this.updateVal(l)}}},va=da,ba=(a("ff86"),Object(g["a"])(va,ca,sa,!1,null,null,null)),pa=ba.exports,ha=function(l){return"goods"===l?{type:"goods",data:[]}:{type:"goods-tag",data:{}}},ma={components:{GoodsPicker:ia,GoodsTagPicker:pa},props:{value:Object,multiple:{type:Boolean,default:!0}},data:function(){var l=this.value||{},t=l.type,a=void 0===t?"goods":t;return{curTab:a,tabIdentifier:"sp-goods-picker",localVal:this.value?this.value:ha(a)}},methods:{getVal:function(){return this.localVal},handleChange:function(l){this.localVal=l},handleTabChange:function(l){this.curTab=l,this.localVal=ha(l)}}},fa=ma,Ca=Object(g["a"])(fa,Rt,Ft,!1,null,null,null),Aa=Ca.exports,wa=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-category-picker"},[t("Form",{attrs:{"label-width":80}},[t("FormItem",{attrs:{label:"选择分类:"}},[t("Cascader",{attrs:{placeholder:"请选择分类","change-on-select":"",data:l.category,value:l.curCat},on:{"on-change":l.handleChange}})],1)],1)],1)},ya=[];function _a(l){var t=function l(t){var a=t.level,e=t.child_count,n=t.cat_id,o=t.cat_name,i={level:a,value:n,label:o};if(e>0){var c=t["lv".concat(+a+1)].map(l);i.children=c}return i},a=l.map(t);return a}var Ia={extends:Ut,config:{title:"分类"},data:function(){var l=this.value&&this.value.data?this.value.data.map((function(l){var t=l.cat_id;return t})):[];return{type:"category",category:[],defaultVal:[],curCat:l}},created:function(){this.fetch()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$api.picker.itemCategory();case 2:t=l.sent,this.category=_a(t);case 4:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleChange:function(l,t){var a=t.map((function(l){return{cat_id:l.value,cat_name:l.label}}));this.updateVal(a)}}},ka=Ia,Oa=(a("81a4"),Object(g["a"])(ka,wa,ya,!1,null,null,null)),Ea=Oa.exports,Pa=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-article-picker"},[t("Form",{attrs:{"label-width":80}},[t("FormItem",{attrs:{label:"选择文章:"}},[t("Select",{attrs:{placeholder:"请选择文章",value:l.curId,filterable:""},on:{input:l.handleChange}},l._l(l.list,(function(a){return t("Option",{key:a.article_id,attrs:{value:a.article_id}},[l._v("\n "+l._s(a.title)+"\n ")])})),1)],1)],1)],1)},xa=[],Sa="article_id",ja={extends:Ut,config:{title:"文章",type:"article"},data:function(){return{list:[],curId:Kt(this.value,Sa)}},created:function(){this.fetch()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t,a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$api.picker.article();case 2:t=l.sent,this.list=t,t.length>0&&(a=this.list[0],this.curId=a[Sa],this.updateVal(a));case 5:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleChange:function(l){var t=this.list.find((function(t){return t[Sa]===l}));this.updateVal(t)}}},Ta=ja,Ba=Object(g["a"])(Ta,Pa,xa,!1,null,null,null),Da=Ba.exports,La=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-page-picker"},[t("Form",{attrs:{"label-width":80}},[t("FormItem",{attrs:{label:"选择页面:"}},[t("Select",{attrs:{placeholder:"请选择页面",value:l.curId},on:{input:l.handleChange}},l._l(l.list,(function(a){return t("Option",{key:a.page_id,attrs:{value:a.page_id}},[l._v("\n "+l._s(a.title)+"\n ")])})),1)],1)],1)],1)},Ra=[],Fa="page_id",za={extends:Ut,config:{title:"自定义页面",type:"page"},data:function(){return{list:[],curId:Kt(this.value,Fa)}},created:function(){this.fetch()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t,a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$api.picker.page();case 2:t=l.sent,this.list=t,t.length>0&&(a=this.list[0],this.curId=a[Fa],this.updateVal(a));case 5:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleChange:function(l){var t=this.list.find((function(t){return t[Fa]===l}));this.updateVal(t)}}},Wa=za,Ma=Object(g["a"])(Wa,La,Ra,!1,null,null,null),$a=Ma.exports,Na=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-img-picker"},[t("Tabs",{attrs:{value:l.curTab,animated:!1}},[t("TabPane",{attrs:{label:"微信上传",name:"wechat-img"}},[t("ImgPage",{attrs:{type:"weixin",data:l.wechatImg,"on-change":l.handleOnChange,fetch:l.fetchWeixinImg,multiple:l.multiple}})],1),t("TabPane",{attrs:{label:"本地上传",name:"espier-img"}},[t("ImgPage",{attrs:{type:"local",data:l.espierImg,"on-change":l.handleOnChange,fetch:l.fetchLocalImg,multiple:l.multiple}})],1)],1)],1)},Ua=[],Va=function(){var l=this,t=l._self._c;return t("Modal",{attrs:{title:"添加标签",loading:l.loading,"mask-closable":!1},on:{"on-ok":l.handleConfirm,"on-cancel":l.handleCancel},model:{value:l.show,callback:function(t){l.show=t},expression:"show"}},[t("Form",{ref:"form",attrs:{"label-width":100,model:l.model,rules:l.rules},nativeOn:{submit:function(t){return t.preventDefault(),l.handleConfirm.apply(null,arguments)}}},[t("FormItem",{attrs:{label:"图片标签:",prop:"tags"}},[t("TagInput",{attrs:{list:l.list},model:{value:l.model.tags,callback:function(t){l.$set(l.model,"tags",t)},expression:"model.tags"}})],1)],1)],1)},Qa=[],Ga=function(){var l=this,t=l._self._c;return t("Select",{ref:"select",attrs:{multiple:"",filterable:"",remote:"","remote-method":l.handleFilter,loading:l.loading,value:l.value},on:{"on-change":l.handleChange,"on-open-change":l.handleOpenChange},nativeOn:{keydown:function(t){return!t.type.indexOf("key")&&l._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),l.handleConfirm.apply(null,arguments))}}},l._l(l.filteredOptions,(function(a){return t("Option",{key:a.value,attrs:{value:a.value}},[l._v("\n "+l._s(a.label)+"\n ")])})),1)},Ja=[],Ha=a("5b2e"),Za=1,Ya=Object(O["a"])(o["Select"]);Ya.watch.selectOptions=function(){var l=this;if(this.hasExpectedValue&&this.selectOptions.length>0){0===this.values.length&&(this.values=this.getInitialValue());var t=function(t){var a=t.value?t.value:t;return l.getOptionData(a)};this.values=this.values.map(t).filter(Boolean),this.hasExpectedValue=!1}this.slotOptions&&0===this.slotOptions.length&&(this.query=""),this.broadcast("Drop","on-update-popper")};var Ka={components:{Select:Ya},props:{value:Array,list:Array,default:function(){return[]}},data:function(){return{loading:!1,filteredOptions:[],userOptions:[]}},computed:{options:function(){var l=this.list.map((function(l){var t=l.tag_id,a=l.title;return{label:a,value:t}})),t=[].concat(Object(Mt["a"])(this.userOptions),Object(Mt["a"])(l));return t}},created:function(){this.lastValue=[]},beforeDestroy:function(){this.lastValue=null},methods:{makeOption:function(l){return Za++,{label:l,value:"cid_".concat(Za)}},handleFilter:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.filteredOptions=""!==l?this.options.filter((function(t){return t.label.toLowerCase().indexOf(l.toLowerCase())>-1})):this.options.slice()},handleOpenChange:function(l){l&&""===this.$refs.select.query&&(this.filteredOptions=this.options.slice())},handleChange:function(l){var t=this;if(this.lastValue){var a,e=Object(Ha["a"])(this.lastValue,l);if(e.length)e.forEach((function(l){qt(t.userOptions,(function(t){return t.value===l}))&&(a=!0)})),a&&this.handleFilter(this.$refs.select.query)}this.lastValue=l,this.$emit("input",l)},handleConfirm:function(l){var t=this,a=this.$refs.select.query.trim();if(""!==a){var e=this.options.findIndex((function(l){return l.label===a}));if(!(e>=0)){var n=this.makeOption(a);this.userOptions.push(n),this.$nextTick((function(){t.$refs.select.values=t.$refs.select.values.concat(n)}));var o=this.value.concat(n.value);this.$emit("input",o)}}}}},qa=Ka,Xa=Object(g["a"])(qa,Ga,Ja,!1,null,null,null),le=Xa.exports,te={components:{TagInput:le},props:{list:Array},data:function(){return{show:!1,loading:!0,rules:{tags:[{required:!0,type:"array",message:"请选择或输入标签"}]},model:{tags:[]}}},methods:{handleConfirm:function(){var l=this;this.$refs.form.validate((function(t){if(t){l.show=!1;var a=l.model.tags;l.$emit("change",Object(Mt["a"])(a)),l.$refs.form.resetFields()}else l.loading=!1,l.$nextTick((function(){l.loading=!0}))}))},handleCancel:function(){this.show=!1,this.$refs.form.resetFields()}}},ae=te,ee=Object(g["a"])(ae,Va,Qa,!1,null,null,null),ne=ee.exports,oe=function(){var l=this,t=l._self._c;return t("Modal",{staticClass:"sp-img-upload-modal",attrs:{title:"上传图片",loading:l.loading,"mask-closable":!1},on:{"on-ok":l.handleConfirm,"on-cancel":l.handleCancel},model:{value:l.show,callback:function(t){l.show=t},expression:"show"}},[t("Form",{ref:"form",attrs:{"label-width":100,model:l.model,rules:l.rules},nativeOn:{submit:function(t){return t.preventDefault(),l.handleConfirm.apply(null,arguments)}}},[t("FormItem",{attrs:{label:"图片分组:",prop:"group"}},[t("Select",{model:{value:l.model.group,callback:function(t){l.$set(l.model,"group",t)},expression:"model.group"}},l._l(l.groups,(function(a){return t("Option",{key:a.group_id,attrs:{value:a.group_id}},[l._v("\n "+l._s(a.title)+"\n ")])})),1)],1),t("FormItem",{attrs:{label:"上传图片:",prop:"img"}},[t("ImgUpload",{ref:"imgUpload",model:{value:l.model.img,callback:function(t){l.$set(l.model,"img",t)},expression:"model.img"}}),t("div",{staticClass:"hint"},[l._v("\n 上传图片 "),t("br"),l._v("\n 1、仅支持jpg/png/gif图片格式 "),t("br"),l._v("\n 2、图片大小不超过2MB\n ")])],1),t("FormItem",{attrs:{label:"图片标签:",prop:"tags"}},[t("TagInput",{attrs:{list:l.tags},model:{value:l.model.tags,callback:function(t){l.$set(l.model,"tags",t)},expression:"model.tags"}})],1)],1)],1)},ie=[],ce=(a("5df3"),function(){var l=this,t=l._self._c;return t("Upload",{ref:"upload",staticClass:"sp-img-uploader",attrs:{accept:"image/*",action:"//jsonplaceholder.typicode.com/posts/","max-size":2048,format:["jpg","jpeg","gif","png"],"show-upload-list":!1,"default-file-list":l.defaultList,"before-upload":l.handleBeforeUpload,"on-success":l.handleSuccess,"on-error":l.handleError}},[t("div",{staticClass:"sp-img-uploader__inner"},[!l.loading&&l.value?t("div",{staticClass:"imgs-list"},[t("div",{staticClass:"img-file-item"},[t("Img",{attrs:{src:l.value}})],1)]):t("div",{staticClass:"btn-upload"},[l.loading?[t("Icon",{attrs:{type:"ios-loading",size:"32"}}),t("p",[l._v("正在上传")])]:[t("Icon",{attrs:{type:"ios-cloud-upload",size:"32"}}),t("p",[l._v("上传图片")])]],2)])])}),se=[],re={components:{Img:Zt},props:{value:[Array,String]},data:function(){return{loading:!1,defaultList:[]}},watch:{value:{immediate:!0,handler:function(l){this.defaultList=l?[{url:l}]:[]}}},methods:{reset:function(){this.loading=!1,this.$refs.upload.clearFiles()},handleSuccess:function(l,t,a){this.loading=!1,t.url="https://onex-pic.oss-cn-shanghai.aliyuncs.com/demo/b2b2c/images/cd/81/21/77061553cc7752f19e61e66a530cd43b290c7ee2.jpeg",this.$refs.upload.fileList=[t],this.$emit("input",t.url)},handleError:function(l,t,a){this.$Message.error(l.message||"上传失败,请稍后再试"),this.loading=!1},handleBeforeUpload:function(){this.loading=!0}}},ue=re,ge=(a("6802"),Object(g["a"])(ue,ce,se,!1,null,null,null)),de=ge.exports;function ve(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function be(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ve(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var pe=function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return be({img:""},l)},he={components:{TagInput:le,ImgUpload:de},props:{noGroup:Boolean,noTag:Boolean},data:function(){return{show:!1,loading:!0,model:null,groups:[],tags:[],rules:{group:[{required:!0,message:"请选择分组"}],img:[{required:!0,message:"请选择图片"}],tags:[{type:"array",message:"请选择或输入标签"}]}}},created:function(){this.resetModel(),this.fetch()},methods:{resetModel:function(){var l={};this.noGroup||(l.group=""),this.noTag||(l.tags=[]),this.model=pe(l)},fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t,a,e,n;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,Promise.all([this.$api.picker.imgGroup(),this.$api.picker.imgTag()]);case 2:t=l.sent,a=Object(Ul["a"])(t,2),e=a[0],n=a[1],this.groups=e,this.tags=n;case 8:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleClose:function(){this.show=!1,this.$refs.form.resetFields(),this.$refs.imgUpload.reset()},handleConfirm:function(){var l=this;this.$refs.form.validate((function(t){t?(l.handleClose(),l.$emit("change",be({},l.model))):(l.loading=!1,l.$nextTick((function(){l.loading=!0})))}))},handleCancel:function(){this.handleClose()}}},me=he,fe=(a("2201"),Object(g["a"])(me,oe,ie,!1,null,null,null)),Ce=fe.exports,Ae=function(){var l=this,t=l._self._c;return t("div",{staticClass:"imgs-list"},l._l(l.list,(function(a){return t("div",{key:a.img_id,staticClass:"img-item",class:{"is-active":l.selectionDict[a.img_id]},on:{click:function(t){return l.handleClickItem(a)}}},[t("div",{staticClass:"img-item__inner"},[t("Img",{attrs:{src:a.url}})],1),t("div",{staticClass:"img-item__title"},[t("Checkbox",{attrs:{value:l.selectionDict[a.img_id]}}),l._v("\n "+l._s(a.title)+"\n ")],1)])})),0)},we=[];function ye(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function _e(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ye(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ie={components:{Img:Zt},props:{value:Array,list:Array},data:function(){return{selection:[]}},computed:{selectionDict:function(){var l="img_id";return this.selection.reduce((function(t,a){return _e(_e({},t),{},Object(C["a"])({},a[l],!0))}),{})}},watch:{value:{immediate:!0,handler:function(l){Array.isArray(l)?this.selection=Object(Mt["a"])(l):this.selection=[]}}},methods:{handleClickItem:function(l){var t=this.selection.findIndex((function(t){return t.img_id===l.img_id}));t>=0?this.selection.splice(t,1):this.selection.push(l),this.$emit("input",this.selection)}}},ke=Ie,Oe=Object(g["a"])(ke,Ae,we,!1,null,null,null),Ee=Oe.exports,Pe=function(){var l=this,t=l._self._c;return t("div",{staticClass:"picker-img-page"},[t("Upload",{ref:"upload",staticClass:"sp-img-uploader",attrs:{accept:"image/*",multiple:"",action:l.action,headers:l.headers,"max-size":2048,data:l.tdata,format:["jpg","jpeg","gif","png"],"show-upload-list":!1,"before-upload":l.handleBeforeUpload,"on-success":l.handleSuccess,"on-error":l.handleError}},[t("div",{staticClass:"sp-img-uploader__inner"},[t("Button",{attrs:{type:"primary"}},[l._v("\n "+l._s(l.uploadLoading?"正在上传":"".concat("weixin"==l.type?"微信上传":"本地上传"))+"\n ")])],1)]),t("div",{staticClass:"sp-img-picker-cont"},l._l(l.data,(function(a){return t("div",{key:a.img_id,staticClass:"img-item",class:{"is-active":l.handleIsActive(a)},on:{click:function(t){return l.handleClickItem(a)}}},[t("div",{staticClass:"img-item__inner"},[t("img",{attrs:{src:a.url}})]),t("div",{staticClass:"img-item__title"},[l._v("\n "+l._s(a.name)+"\n ")])])})),0),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},xe=[],Se=(a("6b54"),a("d225")),je=a("b0b4"),Te=a("4a9d"),Be=a.n(Te),De=a("f744"),Le=a("3648");function Re(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Fe(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Re(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ze=function(){function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"image";Object(Se["a"])(this,l),this.client={},this.fileType=t}return Object(je["a"])(l,[{key:"init",value:function(l){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"qiniu";switch(t){case"oss":this.aliInit(l);break;case"local":this.local(l);break;case"aws":this.aws(l);break;default:this.qiNiuInit(l)}}},{key:"aliInit",value:function(l){this.client.upload=function(t){return Object(Le["aliUpload"])(l,t)}}},{key:"local",value:function(l){var t=this;this.client.upload=function(a){return Object(Le["localUpload"])(l,a,t.fileType)}}},{key:"aws",value:function(l){var t=l.Region,a=l.AccessKeyId,e=l.Bucket,n=l.SecretAccessKey,o=l.SessionToken,i=new Be.a.S3({apiVersion:"2006-03-01",region:t,accessKeyId:a,secretAccessKey:n,sessionToken:o});this.client.upload=function(l){return new Promise((function(t,a){i.upload({Bucket:e,Key:"".concat(l.uid,".").concat(l.name),ContentType:l.type,Body:l},(function(l,e){e?t(Fe(Fe({},e),{},{key:e.Location})):a(l)}))}))}}},{key:"qiNiuInit",value:function(l){this.client.upload=function(t,a){return new Promise((function(e,n){var o=De["a"](t,a,l.token);o.subscribe({next:function(){},error:function(l){return n(l)},complete:function(l){return e(l)}})}))}}},{key:"setFileName",value:function(){var l=(65536*(1+Math.random())|0).toString(16).substring(1),t="".concat(+new Date,"_").concat(l).concat(l);return t}},{key:"uploadImg",value:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,Object(Le["getOssToken"])({filetype:this.fileType});case 3:return a=l.sent,e=Fe({},a.token),this.init(e,a.driver),l.next=8,this.client.upload(t,e.key).catch((function(l){return console.error(l)}));case 8:if(n=l.sent,!n.data&&!n.key){l.next=15;break}if(!n.data||!n.data.data){l.next=12;break}return l.abrupt("return",{key:n.data.data.image_url});case 12:return l.abrupt("return",n);case 15:return l.abrupt("return",{key:"".concat(e.dir)});case 16:l.next=21;break;case 18:throw l.prev=18,l.t0=l["catch"](0),new Error(l.t0);case 21:case"end":return l.stop()}}),l,this,[[0,18]])})));function t(t){return l.apply(this,arguments)}return t}()},{key:"deleteImg",value:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return console.log(t),l.next=3,this.client.deleteImg(t);case 3:return a=l.sent,l.abrupt("return",a);case 5:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}()},{key:"uploadVideo",value:function(l){console.log("video")}}]),l}(),We=ze,Me={mixins:[Nt],props:{type:String,multiple:Boolean,value:Array,data:Array,fetch:Function,onChange:Function},data:function(){var l,t;return"weixin"==this.type?(l="".concat(window.__POWERED_BY_QIANKUN__?H["a"]["SYS_CONFIG"].baseUrl:"https://ecshopx-bbc-demo.yuanyuanke.cn/api","/wechat/material"),t={isUploadFile:!0,type:"image"}):(l="",t={}),{selection:this.multiple?[]:{},uploadLoading:!1,action:l,headers:{Authorization:"bearer ".concat(window.__POWERED_BY_QIANKUN__?H["a"]["SYS_CONFIG"].token:"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9tYW5hZ2VyLm1laWhld2FuZy5jb21cL2FwaVwvb3BlcmF0b3JcL2xvZ2luIiwiaWF0IjoxNjQxMDk4OTc4LCJleHAiOjE2NDE1MzA5NzgsIm5iZiI6MTY0MTA5ODk3OCwianRpIjoidENsZU92SmpRSkpZOWVBVCIsInN1YiI6IkIySldObEFcL0RUdFNMZ2d2VUR3QVlBTnBVQ2hTYndwaFV5UlJQZ2dzREdjRE5sYzNVaXhhWjFOMlVqMEhJbEE0QUdVR1psTWxXaUZUYVZacEJ6VUNQUWNoVmpkUWZ3MDdVbVlJYmxBOEFIQURaRkJ2VWpRS05sTmtVVEVJUEF3NEEyUlhhVkkzV21kVE5WSTJCekJRT2dCbEJteFROMW8yVXpSV1pBY3lBbVVITmxZXC9VRGdOTUZKa0NHVlFOUUF4QTNGUU1WSjFDajlUTWxFXC9DSDBNS1FOdVYyQlNhMXAwVTI5U2J3ZHJVRE1BWmdab1V6WmFaVk1cL1Zqb0hhUUprQnp0V04xQngiLCJwcnYiOiI5MTVlZjNiMTQ1Nzk3ZDk2MzZlNjY3ODY2MDg5YzZiYjFmZTMyZTFjIiwiaWQiOiJCMkpXTmxBXC9EVHRTTGdndlVEd0FZQU5wVUNoU2J3cGhVeVJSUGdnc0RHY0RObGMzVWl4YVoxTjJVajBISWxBNEFHVUdabE1sV2lGVGFWWnBCelVDUFFjaFZqZFFmdzA3VW1ZSWJsQThBSEFEWkZCdlVqUUtObE5rVVRFSVBBdzRBMlJYYVZJM1dtZFROVkkyQnpCUU9nQmxCbXhUTjFvMlV6UldaQWN5QW1VSE5sWVwvVURnTk1GSmtDR1ZRTlFBeEEzRlFNVkoxQ2o5VE1sRVwvQ0gwTUtRTnVWMkJTYTFwMFUyOVNid2RyVURNQVpnWm9VelphWlZNXC9Wam9IYVFKa0J6dFdOMUJ4IiwiY29tcGFueV9pZCI6IjEiLCJtb2JpbGUiOiIxMzQwMTA4NDM2MSIsIm9wZXJhdG9yX3R5cGUiOiJhZG1pbiIsImlzX2F1dGhvcml6ZXIiOmZhbHNlLCJsb2dpbnR5cGUiOiJhZG1pbiIsImxpY2Vuc2VfYXV0aG9yaXplIjoiZXlKMllXeHBaQ0k2SW5SeWRXVWlMQ0psZUhCcGNtVmtRWFFpT2pFNU5URTNNVGN5T0RFc0ltUmxjMk1pT2lKY2RUVmtaakpjZFRoa01tUmNkVFJsTnpBaWZRPT0ifQ.0vyAej9vJv7EKr5S24ewU-XWbng5Dcx6_FpZ_jHUlI0")},tdata:t}},created:function(){},mounted:function(){this.nextPage()},methods:{handleClickItem:function(l){if(this.multiple){var t=this.selection.findIndex((function(t){return t.id==l.id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.selection?this.selection=this.selection.id==l.id?{}:l:this.selection=l;this.onChange(this.selection)},handleIsActive:function(l){var t=this.multiple,a=this.selection;if(t){var e=a.findIndex((function(t){return t.id==l.id}));return e>-1}return a.id==l.id},handleBeforeUpload:function(l){var t=this;if("local"==this.type){var a=new We;return a.uploadImg(l).then(function(){var a=Object(e["a"])(regeneratorRuntime.mark((function a(e){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.$api.picker.uploadLocalPic({image_cat_id:2,image_name:l.name,image_url:e.key,image_type:l.type,storage:"image"});case 2:t.refresh(!0),t.$Message.success("图片上传成功");case 4:case"end":return a.stop()}}),a)})));return function(l){return a.apply(this,arguments)}}()).catch((function(l){t.$Message.error("图片上传失败")})),!1}return!0},handleSuccess:function(l,t,a){this.refresh(!0),this.$Message.success("图片上传成功")},handleError:function(l){this.$Message.error("图片上传失败"),console.log(l)}}},$e=Me,Ne=(a("8dbc"),Object(g["a"])($e,Pe,xe,!1,null,null,null)),Ue=Ne.exports,Ve={components:{Img:Zt,TagModal:ne,ImgUploadModal:Ce,ImgEditList:Ee,ImgPage:Ue},extends:Ut,mixins:[Nt],config:{type:"img"},props:{multiple:Boolean},data:function(){var l=this.localVal?Array.isArray(this.localVal.data)?this.localVal.data:[this.localVal.data]:[],t=this.value||{};t.type;return{curTab:"wechat-img",wechatImg:[],espierImg:[],defaultVal:this.multiple?[]:{},selection:l}},computed:{},created:function(){},methods:{fetchWeixinImg:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.wechatImage({type:"image",page:a,pageSize:e});case 3:return n=l.sent,o=n.item,i=n.total_count,o&&(this.wechatImg=o.map((function(l){return{id:l.media_id,name:l.name,url:l.url}}))),l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),fetchLocalImg:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.espierImage({type:"image",page:a,pageSize:e});case 3:return n=l.sent,o=n.list,i=n.total_count,this.espierImg=o.map((function(l){return{id:l.image_id,name:l.image_name,url:l.url}})),l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleOnChange:function(l){this.updateVal(l)}}},Qe=Ve,Ge=(a("2dce"),Object(g["a"])(Qe,Na,Ua,!1,null,null,null)),Je=Ge.exports,He=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-picker"},[t("div",{staticClass:"picker-slider__left"},[t("Menu",{attrs:{"active-name":l.activeMenu,width:"120px"},on:{"on-select":l.menuOnSelect}},l._l(l.navs,(function(a,e){return t("MenuItem",{key:"picker-nav__".concat(e),attrs:{disabled:l.isDisabled(a.id),name:a.id}},[l._v("\n "+l._s(a.label)+"\n ")])})),1)],1),t("div",{staticClass:"picker-slider__right"},["goods"==l.activeMenu?t("PathGoodsPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathGoodsPicker",this.$attrs,!1)):l._e(),"category"==l.activeMenu?t("PathCategoryPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathCategoryPicker",this.$attrs,!1)):l._e(),"maincategory"==l.activeMenu?t("PathMainCategoryPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathMainCategoryPicker",this.$attrs,!1)):l._e(),"brand"==l.activeMenu?t("PathBrandPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathBrandPicker",this.$attrs,!1)):l._e(),"tag"==l.activeMenu?t("PathTagPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathTagPicker",this.$attrs,!1)):l._e(),"management"==l.activeMenu?t("PathManagementPicker",l._b({attrs:{type:"general",data:l.value.data,"on-select":l.handleOnChange}},"PathManagementPicker",this.$attrs,!1)):l._e(),"bring"==l.activeMenu?t("PathBringPicker",l._b({attrs:{type:"bring",data:l.value.data,"on-select":l.handleOnChange}},"PathBringPicker",this.$attrs,!1)):l._e(),"page"==l.activeMenu?t("PathPagePicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathPagePicker",this.$attrs,!1)):l._e(),"marketing"==l.activeMenu?t("PathMarketPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathMarketPicker",this.$attrs,!1)):l._e(),"seckill"==l.activeMenu?t("PathSeckillPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathSeckillPicker",this.$attrs,!1)):l._e(),"customer"==l.activeMenu?t("PathCustomerPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathCustomerPicker",this.$attrs,!1)):l._e(),"live"==l.activeMenu?t("PathLivePicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathLivePicker",this.$attrs,!1)):l._e(),"coupons"==l.activeMenu?t("PathCouponsPicker",l._b({attrs:{data:l.value.data,"on-select":l.handleOnChange}},"PathCouponsPicker",this.$attrs,!1)):l._e()],1)])},Ze=[],Ye=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-goods-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"shop-picker-con"},[t("ShopPicker",{on:{"on-change":l.handleShopOnChange}})],1),t("div",{staticClass:"search-con"},[t("Input",{attrs:{search:"",size:"large",placeholder:"请输入内容",suffix:"ios-search"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},Ke=[],qe=function(){var l=this,t=l._self._c;return t("div",{staticClass:"shop-picker"},[t("div",{staticClass:"shop-picker__con"},[t("div",{staticClass:"shop-info",on:{click:l.handleToggleModal}},[t("div",{staticClass:"shop-info__name"},[l._v("\n "+l._s(l.selection?l.selection.store_name:"")+"\n ")]),t("div",{staticClass:"shop-info__address"},[l._v("\n "+l._s(l.selection?l.selection.store_address:"")+"\n ")])]),l.selection?t("i",{staticClass:"mshopdesign icon-delete1",on:{click:l.handleDeleteShop}}):l._e(),l._m(0)]),t("Modal",{attrs:{title:"选择店铺","mask-closable":!1},on:{"on-ok":l.handleConfirm,"on-cancel":l.handleCancel},model:{value:l.show,callback:function(t){l.show=t},expression:"show"}},[t("div",{staticClass:"modal-hd"},[t("Row",{attrs:{gutter:16}},[t("Col",{attrs:{span:"12"}}),t("Input",{attrs:{suffix:"ios-search",placeholder:"店铺名称",search:""},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}}),t("Col",{attrs:{span:"12"}}),t("Cascader",{attrs:{data:l.regions},on:{"on-change":l.handleCascaderOnChange},model:{value:l.address,callback:function(t){l.address=t},expression:"address"}})],1)],1),t("div",{staticClass:"modal-bd"},[t("div",{staticClass:"store-wrap"},l._l(l.list,(function(a,e){return t("div",{key:"shop-item__".concat(e),staticClass:"store-item",on:{click:function(t){return l.handleClickShop(a)}}},[t("Radio",{attrs:{value:!!l.selection&&a.distributor_id==l.selection.distributor_id}}),t("div",[t("div",{staticClass:"store-name"},[l._v("\n "+l._s(a.store_name)+"\n ")]),t("div",{staticClass:"store-address"},[l._v("\n "+l._s(a.store_address)+"\n ")])])],1)})),0),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)])],1)},Xe=[function(){var l=this,t=l._self._c;return t("div",{staticClass:"shop-icon"},[t("i",{staticClass:"mshopdesign icon-wenjianjia"})])}],ln=a("ceda"),tn={name:"",mixins:[Nt],props:{test:String},data:function(){return{loading:!0,show:!1,regions:[],list:[],page_size:10,selection:null,address:[],keywords:"",province:"",city:"",area:""}},created:function(){},mounted:function(){this.regions=ln,this.nextPage()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getDistributors({pageSize:e,page:a,name:this.keywords,province:this.province,city:this.city,area:this.area,is_valid:!0});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh()},handleDeleteShop:function(){console.log("handleDeleteShop"),this.selection=null,this.handleConfirm()},handleCascaderOnChange:function(l,t){0==t.length?(this.province="",this.city="",this.area=""):(this.province=t[0].label,this.city=t[1].label,this.area=t[2].label),this.refresh()},handleToggleModal:function(){this.show=!0},handleConfirm:function(){this.$emit("on-change",this.selection)},handleCancel:function(){},handleClickShop:function(l){this.selection=l}}},an=tn,en=(a("dfd3"),Object(g["a"])(an,qe,Xe,!1,null,null,null)),nn=en.exports,on={name:"",components:{ShopPicker:nn},mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){this.$attrs.data;var l=[{slot:"selection",width:"80"},{title:"ID",key:"goods_id",width:"100"},{title:"标题名称",key:"itemName",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.goods_id,console.log("path-goods-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i,c;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.goodsItems({pageSize:e,page:a,item_type:"normal",keywords:this.keywords,distributor_id:this.shop?this.shop.distributor_id:""});case 3:return n=l.sent,o=n.list,i=n.total_count,c=[],this.selection.forEach((function(l){var t=o.findIndex((function(t){return t.goods_id==l.goods_id}));t>=0&&c.push(o[t])})),this.selection=c,this.list=o,l.abrupt("return",{count:i});case 11:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh(!0)},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.goods_id==l.goods_id}));t>-1?this.selection.splice(t,1):this.selection.push(l),console.log("this.selection",this.selection)}else this.curId=l.goods_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleShopOnChange:function(l){this.shop=l,this.refresh(!0)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.goods_id==l.goods_id}));return a>-1}return this.curId==l.goods_id}}},cn=on,sn=(a("5da3"),Object(g["a"])(cn,Ye,Ke,!1,null,null,null)),rn=sn.exports,un=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-category-picker"},[t("Table",{attrs:{loading:l.loading,columns:l.columns,height:"520",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])})],1)},gn=[],dn=function l(t,a){return t.forEach((function(t){a.push({category_id:t.category_id,category_name:t.category_name,category_level:parseInt(t.category_level),hasChild:!!t.children}),t.children&&l(t.children,a)})),a},vn=function l(t,a){var e;return t.map((function(t){if(t.category_id==a)e=t;else if(t.children){var n=l(t.children,a);n&&(e=n)}})),e},bn={name:"",props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"category_id",width:"150",render:function(l,t){var a=t.row;return l("div",{style:{paddingLeft:"".concat(20*(a.category_level-1),"px")}},[l("Icon",{props:{type:a.hasChild?"ios-arrow-forward":""}}),l("span",a.category_id)])}},{title:"分类名称",key:"category_name",width:"430"}];return{columns:l,curId:"",list:[],datasource:[],selection:[],loading:!0}},created:function(){},mounted:function(){this.$attrs.multiple?this.selection=this.data||[]:this.curId=this.data.category_id,this.fetch()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$api.picker.getCategory();case 2:t=l.sent,this.datasource=t,this.list=this.$attrs.multiple?t:dn(t,[]),this.loading=!1;case 6:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.category_id==l.category_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId==l.category_id?(this.curId="",this.selection={}):(this.curId=l.category_id,this.selection=vn(this.datasource,l.category_id));this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.category_id==l.category_id}));return a>-1}return this.curId==l.category_id}}},pn=bn,hn=(a("eb9f"),Object(g["a"])(pn,un,gn,!1,null,null,null)),mn=hn.exports,fn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-category-picker"},[t("Table",{attrs:{loading:l.loading,columns:l.columns,height:"520",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])})],1)},Cn=[],An=function l(t,a){return t.forEach((function(t){a.push({category_id:t.category_id,category_name:t.category_name,category_level:parseInt(t.category_level),hasChild:!!t.children}),t.children&&l(t.children,a)})),a},wn=function l(t,a){var e;return t.map((function(t){if(t.category_id==a)e=t;else if(t.children){var n=l(t.children,a);n&&(e=n)}})),e},yn={name:"",props:{onSelect:Function,isMain:{type:Boolean,default:!1},data:[Object,Array,String,Number,Boolean]},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"category_id",width:"150",render:function(l,t){var a=t.row;return l("div",{style:{paddingLeft:"".concat(20*(a.category_level-1),"px")}},[l("Icon",{props:{type:a.hasChild?"ios-arrow-forward":""}}),l("span",a.category_id)])}},{title:"分类名称",key:"category_name",width:"430"}];return{columns:l,curId:"",list:[],datasource:[],selection:[],loading:!0}},created:function(){},mounted:function(){this.$attrs.multiple?this.selection=this.data:this.curId=this.data.category_id,this.fetch()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$api.picker.getCategory({is_main_category:this.isMain});case 2:t=l.sent,this.datasource=t,this.list=this.$attrs.multiple?t:An(t,[]),this.loading=!1;case 6:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.category_id==l.category_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId==l.category_id?(this.curId="",this.selection={}):(this.curId=l.category_id,this.selection=wn(this.datasource,l.category_id));this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.category_id==l.category_id}));return a>-1}return this.curId==l.category_id}}},_n=yn,In=(a("461c"),Object(g["a"])(_n,fn,Cn,!1,null,null,null)),kn=In.exports,On=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-brand-picker"},[t("Table",{attrs:{height:"450",columns:l.columns,loading:l.loading,data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},En=[],Pn={name:"",mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"attribute_id",width:"100"},{title:"logo",key:"image_url",width:"150",render:function(l,t){var a=t.row;return l("img",{class:"brand-logo",attrs:{src:a.image_url}})}},{title:"品牌名称",key:"attribute_name",width:"330"}];return{columns:l,curId:"",list:[],datasource:[],selection:[],loading:!0}},created:function(){},mounted:function(){this.$attrs.multiple?this.selection=this.data:this.curId=this.data.attribute_id,this.nextPage()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getItemListByBrand({pageSize:e,page:a,attribute_type:"brand",distributor_id:"all"});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,this.loading=!1,l.abrupt("return",{count:i});case 9:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh(!0)},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.attribute_id==l.attribute_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.attribute_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.attribute_id==l.attribute_id}));return a>-1}return this.curId==l.attribute_id}}},xn=Pn,Sn=(a("2ea7"),Object(g["a"])(xn,On,En,!1,null,null,null)),jn=Sn.exports,Tn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-tag-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"search-con"},[t("Input",{attrs:{suffix:"ios-search",search:"",size:"large",placeholder:"请输入标签名称"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},Bn=[],Dn={name:"",mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"tag_id",width:"100"},{title:"标签名称",key:"tag_name",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.tag_id,console.log("path-tag-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getTagList({pageSize:e,page:a,tag_name:this.keywords});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh()},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.tag_id==l.tag_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.tag_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.tag_id==l.tag_id}));return a>-1}return this.curId==l.tag_id}}},Ln=Dn,Rn=(a("ac08"),Object(g["a"])(Ln,Tn,Bn,!1,null,null,null)),Fn=Rn.exports,zn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-management-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"shop-picker-con"},[t("ShopPicker",{on:{"on-change":l.handleShopOnChange}})],1),t("div",{staticClass:"search-con"},[t("Input",{attrs:{suffix:"ios-search",size:"large",search:"",placeholder:"请输入文章名称"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},Wn=[],Mn={name:"",components:{ShopPicker:nn},mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean],type:String},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"article_id",width:"100"},{title:"文章名称",key:"title",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.article_id,console.log("path-management-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getArticleList({pageSize:e,page:a,article_type:this.type,title:this.keywords,distributor_id:this.shop?this.shop.distributor_id:""});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh(!0)},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.article_id==l.article_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.article_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleShopOnChange:function(l){this.shop=l,this.refresh(!0)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.article_id==l.article_id}));return a>-1}return this.curId==l.article_id}}},$n=Mn,Nn=(a("1dfe"),Object(g["a"])($n,zn,Wn,!1,null,null,null)),Un=Nn.exports,Vn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-bring-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"shop-picker-con"},[t("ShopPicker",{on:{"on-change":l.handleShopOnChange}})],1),t("div",{staticClass:"search-con"},[t("Input",{attrs:{suffix:"ios-search",size:"large",search:"",placeholder:"请输入文章名称"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},Qn=[],Gn={name:"",components:{ShopPicker:nn},mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean],type:String},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"article_id",width:"100"},{title:"文章名称",key:"title",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.article_id,console.log("path-bring-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getArticleList({pageSize:e,page:a,article_type:this.type,title:this.keywords,distributor_id:this.shop?this.shop.distributor_id:""});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh(!0)},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.article_id==l.article_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.article_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleShopOnChange:function(l){this.shop=l,this.refresh(!0)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.article_id==l.article_id}));return a>-1}return this.curId==l.article_id}}},Jn=Gn,Hn=(a("1cc0"),Object(g["a"])(Jn,Vn,Qn,!1,null,null,null)),Zn=Hn.exports,Yn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-page-picker"},[t("Table",{attrs:{columns:l.columns,data:l.list},on:{"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{key:n,attrs:{value:l.curId===e.id}})]}}])})],1)},Kn=[],qn={name:"",props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){var l=[{slot:"selection",width:"161"},{title:"ID",key:"id",width:"250"},{title:"标题名称",key:"title",width:"250"}];return{columns:l,curId:"",list:[{title:"首页",id:"1",url:"/"},{title:"商品列表",id:"2",url:"/items"},{title:"会员中心",id:"3",url:"/member/user-info"},{title:"购物车",id:"4",url:"/cart"},{title:"积分商城",id:"5",url:"/pointitems"},{title:"领券中心",id:"6",url:"/member/coupon-center"}]}},created:function(){},mounted:function(){this.curId=this.data.id,console.log("path-page-picker init data: ",this.data)},methods:{handleClickItem:function(l){this.curId=l.id,this.onSelect(l)}}},Xn=qn,lo=Object(g["a"])(Xn,Yn,Kn,!1,null,null,null),to=lo.exports,ao=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-page-picker"},[t("Table",{attrs:{columns:l.columns,data:l.list},on:{"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{key:n,attrs:{value:l.curId===e.id}})]}}])})],1)},eo=[],no={name:"",props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){var l=[{slot:"selection",width:"161"},{title:"ID",key:"id",width:"250"},{title:"标题名称",key:"title",width:"250"}];return{columns:l,curId:"",list:[{title:"限时团购",id:"groups_list"}]}},created:function(){},mounted:function(){this.curId=this.data.id,console.log("path-page-picker init data: ",this.data)},methods:{handleClickItem:function(l){this.curId=l.id,this.onSelect(l)}}},oo=no,io=Object(g["a"])(oo,ao,eo,!1,null,null,null),co=io.exports,so=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-seckill-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"search-con"},[t("Input",{attrs:{suffix:"ios-search",size:"large",search:"",placeholder:"请输入文章名称"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},ro=[],uo={name:"",mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean],type:String},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"seckill_id",width:"100"},{title:"活动名称",key:"activity_name",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.seckill_id,console.log("path-seckill-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getSeckillActivityList({pageSize:e,page:a,status:"valid",name:this.keywords});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh(!0)},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.seckill_id==l.seckill_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.seckill_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.seckill_id==l.seckill_id}));return a>-1}return this.curId==l.seckill_id}}},go=uo,vo=(a("6112"),Object(g["a"])(go,so,ro,!1,null,null,null)),bo=vo.exports,po=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-customer-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"search-con"},[t("Input",{attrs:{suffix:"ios-search",size:"large",search:"",placeholder:"请输入文章名称"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},ho=[],mo={name:"",mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean],type:String},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"theme_pc_template_id",width:"100"},{title:"页面名称",key:"template_title",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.theme_pc_template_id,console.log("path-customer-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getPCTemplateLists({pageSize:e,page:a,page_type:"custom",status:1});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh(!0)},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.theme_pc_template_id==l.theme_pc_template_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.theme_pc_template_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.theme_pc_template_id==l.theme_pc_template_id}));return a>-1}return this.curId==l.theme_pc_template_id}}},fo=mo,Co=(a("6ef6"),Object(g["a"])(fo,po,ho,!1,null,null,null)),Ao=Co.exports,wo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-live-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"search-con"},[t("Input",{attrs:{suffix:"ios-search",size:"large",search:"",placeholder:"请输入文章名称"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},yo=[],_o={name:"",mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean],type:String},data:function(){var l=[{slot:"selection",width:"80"},{title:"ID",key:"roomid",width:"100"},{title:"页面名称",key:"name",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.roomid,console.log("path-live-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getLiverRooms({pageSize:e,page:a,wxapp_id:H["a"]["SYS_CONFIG"].wxapp_id});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh(!0)},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.roomid==l.roomid}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.roomid,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.roomid==l.roomid}));return a>-1}return this.curId==l.roomid}}},Io=_o,ko=(a("d803"),Object(g["a"])(Io,wo,yo,!1,null,null,null)),Oo=ko.exports,Eo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-goods-picker"},[t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},Po=[],xo={name:"",mixins:[Nt],props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){this.$attrs.data;var l=[{slot:"selection",width:"80"},{title:"标题名称",key:"title",width:"480"}];return{columns:l,curId:"",pageSize:10,list:[],shop:null,selection:[]}},created:function(){},mounted:function(){this.nextPage(),console.log(this.$attrs),this.$attrs.multiple?this.selection=this.data:this.curId=this.data.card_id,console.log("path-goods-picker init data: ",this.data)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getLisDiscountcard({page_size:e,page_no:a,end_date:1});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.card_id==l.card_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.card_id,this.selection=l;this.onSelect&&this.onSelect(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.card_id==l.card_id}));return a>-1}return this.curId==l.card_id}}},So=xo,jo=(a("ab20"),Object(g["a"])(So,Eo,Po,!1,null,null,null)),To=jo.exports;function Bo(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Do(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Bo(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Bo(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Lo=function(l){var t="";if(!l)return t;switch(l.linkPage){case"goods":t="/items/".concat(l.itemId);break;case"page":t=l.url;break;case"category":t="/items?cat_id=".concat(l.category_id);break;case"maincategory":t="/items?main_category=".concat(l.category_id);break;case"brand":t="/items?brand_id=".concat(l.attribute_id);break;case"customer":t="/custompage?pageid=".concat(l.theme_pc_template_id);break;case"href":t=l.href;break;case"coupons":t=l.href;break}return t},Ro={components:{PathGoodsPicker:rn,PathCategoryPicker:mn,PathMainCategoryPicker:kn,PathBrandPicker:jn,PathTagPicker:Fn,PathManagementPicker:Un,PathBringPicker:Zn,PathPagePicker:to,PathMarketPicker:co,PathSeckillPicker:bo,PathCustomerPicker:Ao,PathLivePicker:Oo,PathCouponsPicker:To},extends:Ut,mixins:[Nt],config:{title:"设置路径内容",type:"path"},props:{},data:function(){var l="";return l=this.$attrs.multiple?this.value.data.length>0?this.value.data[0].linkPage:this.$attrs.filterMenu?this.$attrs.filterMenu[0]:"goods":Object.keys(this.value.data).length>0?this.value.data.linkPage:this.$attrs.filterMenu?this.$attrs.filterMenu[0]:"goods",{navs:[{id:"goods",label:"商品"},{id:"category",label:"分类"},{id:"maincategory",label:"主类目"},{id:"brand",label:"品牌"},{id:"page",label:"页面"},{id:"customer",label:"自定义页面"},{id:"coupons",label:"优惠券"}],activeMenu:l}},computed:{},created:function(){},methods:{isDisabled:function(l){var t=this.$attrs.filterMenu;return!!t&&!(t.indexOf(l)>-1)},menuOnSelect:function(l){this.activeMenu=l},handleOnChange:function(l){var t=this;console.log(l);var a,e=this.navs.find((function(l){return l.id==t.activeMenu})),n=this.$attrs.activeKey;Array.isArray(l)?(a=l.filter((function(l){return!!l[n]})),a=a.map((function(l){return Do(Do({},l),{},{linkPage:e.id,linkPageLabel:e.label,href:Lo(Do({linkPage:e.id},l))})}))):a=Do(Do({},l),{},{linkPage:e.id,linkPageLabel:e.label,href:Lo(Do({linkPage:e.id},l))}),console.log("path picker fd:",a),this.updateVal(a)}}},Fo=Ro,zo=(a("205d"),Object(g["a"])(Fo,He,Ze,!1,null,null,null)),Wo=zo.exports,Mo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-coupon-picker"},[t("Table",{attrs:{columns:l.columns,data:l.list},on:{"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{key:n,attrs:{value:l.handleIsSelect(e,n)}})]}},{key:"type",fn:function(a){var e=a.row;return["cash"==e.card_type?t("span",[l._v("现金券")]):l._e(),"discount"==e.card_type?t("span",[l._v("折扣券")]):l._e()]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},$o=[],No={extends:Ut,mixins:[Nt],config:{title:"选择优惠券",type:"coupon"},props:{multiple:Boolean},data:function(){var l=[{slot:"selection",width:"161"},{title:"ID",key:"card_id",width:"150"},{title:"优惠券名称",key:"title",width:"300"},{title:"类型",slot:"type",key:"type"}];return{pageSize:10,columns:l,curId:"",list:[],selection:[]}},computed:{},created:function(){this.nextPage()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getCouponList({end_date:1,page_no:a,page_size:e});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleClickItem:function(l){if(this.multiple){var t=this.selection.findIndex((function(t){return t.card_id==l.card_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.selection[0]=l;this.updateVal(this.selection)},handleIsSelect:function(l,t){if(this.multiple){var a=this.selection.findIndex((function(t){return t.card_id==l.card_id}));return a>-1}return 1==this.selection.length&&this.selection[0]==l.card_id}}},Uo=No,Vo=(a("68bf"),Object(g["a"])(Uo,Mo,$o,!1,null,null,null)),Qo=Vo.exports,Go=function(){var l=this,t=l._self._c;return t("div",{staticClass:"shop-picker"},[t("div",{staticClass:"modal-hd"},[t("Row",{attrs:{gutter:16}},[t("Input",{attrs:{suffix:"ios-search",placeholder:"店铺名称",search:""},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1)],1),t("div",{staticClass:"modal-bd"},[t("div",{staticClass:"store-wrap"},l._l(l.list,(function(a,e){return t("div",{key:"shop-item__".concat(e),staticClass:"store-item",on:{click:function(t){return l.handleClickShop(a)}}},[t("Radio",{attrs:{value:!!l.selection&&a.distributor_id==l.selection.distributor_id}}),t("div",[t("div",{staticClass:"store-name"},[l._v("\n "+l._s(a.store_name)+"\n ")]),t("div",{staticClass:"store-address"},[l._v("\n "+l._s(a.store_address)+"\n ")])])],1)})),0),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)])},Jo=[],Ho={name:"",mixins:[Nt],extends:Ut,config:{title:"选择商铺",type:"shop"},props:{test:String},data:function(){return{loading:!0,show:!1,regions:[],list:[],page_size:10,selection:null,address:[],keywords:"",province:"",city:"",area:""}},created:function(){},mounted:function(){this.regions=ln,this.nextPage()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.getDistributors({pageSize:e,page:a,name:this.keywords,province:this.province,city:this.city,area:this.area,is_valid:!0});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh()},handleDeleteShop:function(){this.selection=null,this.handleConfirm()},handleConfirm:function(){this.$emit("on-change",this.selection)},handleCancel:function(){},handleClickShop:function(l){this.selection=l,this.updateVal(l)}}},Zo=Ho,Yo=(a("4e13"),Object(g["a"])(Zo,Go,Jo,!1,null,null,null)),Ko=Yo.exports,qo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"shop-picker"},[t("div",{staticClass:"modal-bd"},[t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row;a.index;return[t("Radio",{attrs:{value:!!l.selection&&e.goods_id==l.selection.goods_id}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)])},Xo=[],li={name:"",mixins:[Nt],extends:Ut,config:{title:"选择商品",type:"shop"},props:{test:String},data:function(){var l=this.$attrs.shop,t=[{slot:"selection",width:"120"},{title:"ID",key:"goods_id",width:"140"},{title:"标题名称",key:"itemName",width:"534"}];return{columns:t,loading:!0,show:!1,regions:[],list:[],page_size:10,selection:null,shop:l,keywords:""}},created:function(){},mounted:function(){this.regions=ln,this.nextPage()},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,l.next=3,this.$api.picker.goodsItems({pageSize:e,page:a,item_type:"normal",keywords:this.keywords,distributor_id:this.shop?this.shop.shop_id:""});case 3:return n=l.sent,o=n.list,i=n.total_count,this.list=o,l.abrupt("return",{count:i});case 8:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),handleSearchOnChange:function(){this.refresh()},handleDeleteShop:function(){this.selection=null,this.handleConfirm()},handleConfirm:function(){this.$emit("on-change",this.selection)},handleCancel:function(){},handleClickItem:function(l){this.selection=l,this.updateVal(l)}}},ti=li,ai=(a("a22a8"),Object(g["a"])(ti,qo,Xo,!1,null,null,null)),ei=ai.exports,ni=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-path-tag-picker"},[t("div",{staticClass:"picker-hd"},[t("div",{staticClass:"search-con"},[t("Input",{attrs:{suffix:"ios-search",search:"",size:"large",placeholder:"请输入标签名称"},on:{"on-search":l.handleSearchOnChange},model:{value:l.keywords,callback:function(t){l.keywords=t},expression:"keywords"}})],1),t("div",{staticClass:"select-count"},[l._v("已选择 "+l._s(l.selection.length))])]),t("Table",{attrs:{columns:l.columns,height:"450",data:l.list},on:{"on-selection-change":l.handleClickItem,"on-row-click":l.handleClickItem},scopedSlots:l._u([{key:"selection",fn:function(a){var e=a.row,n=a.index;return[t("Radio",{attrs:{value:l.handleIsSelect(e,n)}})]}}])}),t("Page",{staticClass:"sp-picker-page",attrs:{size:"small","show-total":"",total:l.pageCount,current:l.pageCur,"page-size":l.pageSize},on:{"on-change":l.goPage}})],1)},oi=[],ii=(a("2fdb"),{name:"",mixins:[Nt],extends:Ut,config:{title:"选择标签",type:"shop-tag"},props:{onSelect:Function,data:[Object,Array,String,Number,Boolean]},data:function(){var l=[{slot:"selection",width:"120"},{title:"ID",key:"tag_id",width:"140"},{title:"标签名称",key:"tag_name",width:"534"}];return{columns:l,curId:"",pageSize:10,list:[],keywords:"",selection:[]}},created:function(){},mounted:function(){this.nextPage(),this.$attrs.multiple?this.selection=this.$attrs.selectList:this.curId=this.$attrs.tag_id,console.log("path-tag-picker init data: ",this.selection)},methods:{fetch:function(){var l=Object(e["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i=this;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.page_no,e=t.page_size,n=this.$attrs.allList,o=n.filter((function(l){return""==i.keywords||l.tag_name.includes(i.keywords)})),this.list=this.getPagedTagList(a,e,o),l.abrupt("return",{count:n.length});case 5:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),getPagedTagList:function(l,t,a){var e=(l-1)*t,n=a.length%t;n=e<a.length/t||0==n?t:n;var o=a.slice(e,e+n);return o},handleSearchOnChange:function(){this.refresh()},handleClickItem:function(l){if(this.$attrs.multiple){var t=this.selection.findIndex((function(t){return t.tag_id==l.tag_id}));t>-1?this.selection.splice(t,1):this.selection.push(l)}else this.curId=l.tag_id,this.selection=l;this.updateVal(this.selection)},handleIsSelect:function(l,t){if(this.$attrs.multiple){var a=this.selection.findIndex((function(t){return t.tag_id==l.tag_id}));return a>-1}return this.curId==l.tag_id},handleConfirm:function(){console.log("aaaa"),this.$emit("on-change",this.selection)}}}),ci=ii,si=(a("9dc5"),Object(g["a"])(ci,ni,oi,!1,null,null,null)),ri=si.exports;function ui(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function gi(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ui(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ui(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}function di(l){switch(l){case"goods":case"goods-tag":return Aa;case"category":return Ea;case"article":return Da;case"page":return $a;case"img":return Je;case"path":return Wo;case"coupon":return Qo;case"shop":return Ko;case"shop-goods":return ei;case"shop-tag":return ri;default:throw new Error("picker: ".concat(l," not registered"))}}var vi,bi,pi={functional:!0,render:function(l,t){var a=t.props.value.type,e=gi(gi({},t.data),{},{value:t.data.attrs.value});return l(di(a),e,t.children)},resolvePickerConfig:function(l){var t=di(l);return t.config||{}}},hi=pi,mi=Object(g["a"])(hi,vi,bi,!1,null,null,null),fi=mi.exports,Ci={name:"SpPicker",components:{PickerType:fi},props:{value:Object,width:{default:830},isShow:Boolean,extra:Object},data:function(){var l=this.value.type,t=fi.resolvePickerConfig(l),a=t.title;return{title:a,isLocalShow:!1}},watch:{isShow:{immediate:!0,handler:function(l){this.isLocalShow=l}}},methods:{handleToggle:function(l){void 0===l&&(l=!this.isLocalShow),this.isLocalShow=l,this.$emit("toggle",l),l||this.$emit("close")},handleConfirm:function(){var l=this.$refs.picker.getVal();this.$emit("input",l)}}},Ai=Ci,wi=Object(g["a"])(Ai,Dt,Lt,!1,null,null,null),yi=wi.exports,_i=a("a8db"),Ii=a("c8f0");function ki(l){return l=Object(Ii["createAxios"])(),l.interceptors.response.eject(0),l.interceptors.response.use((function(l){return l.data.data})),{wechatImage:function(t){return l.get("/wechat/material",t)},espierImage:function(t){return l.get("/espier/images",t)},uploadLocalPic:function(t){return l.post("/espier/image",t)},uploadWeixinPic:function(t){return l.post("/wechat/material",t)},goodsItems:function(t){return l.get("/goods/items",t)},getDistributors:function(t){return l.get("/distributors",t)},getCategory:function(t){return l.get("/goods/category",t)},getItemListByBrand:function(t){return l.get("/goods/attributes",t)},getLisDiscountcard:function(t){return l.get("/discountcard/list",t)},getTagList:function(t){return l.get("/goods/tag",t)},getArticleList:function(t){return l.get("/article/management",t)},getSeckillActivityList:function(t){return l.get("/promotions/seckillactivity/getlist",t)},getCustomizepage:function(t){return l.get("/wxa/customizepage/list",t)},getPCTemplateLists:function(t){return l.get("/pctemplate/lists",t)},getLiverRooms:function(t){return l.get("/promotions/liverooms",t)},getCouponList:function(t){return l.get("/discountcard/list",t)}}}var Oi=["data"];function Ei(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Pi(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Ei(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var xi={install:function(l){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=l.extend(yi);function e(l,e){if(!l)throw new Error("type should not be undefined");var n=e,o=n.data,i=Object(_i["a"])(n,Oi);return e=Pi(Pi({},t),{},{value:{type:l,data:o},isShow:!0,extra:i}),new Promise((function(l){var t=new a({propsData:e,created:function(){var t=this,a=function(){t.$destroy(),t.$el.remove()};this.$once("close",a),this.$once("input",(function(t){l(t),a()}))}}).$mount();document.body.appendChild(t.$el)}))}l.prototype.$picker=e,l.prototype.$api.picker=ki(l.prototype.$http)}},Si=function(){var l=this,t=l._self._c;return t("div",{staticClass:"sp-picker"},[t("Picker",l._b({attrs:{value:l.value,"is-show":l.isShow},on:{input:function(t){return l.$emit("input",t)}}},"Picker",l.$attrs,!1)),t("div",{staticClass:"sp-picker__cont",on:{click:function(t){l.isShow=!l.isShow}}},[l._t("default",(function(){return[l._v(l._s(l.value))]}))],2)],1)},ji=[],Ti={name:"SpPicker",components:{Picker:yi},props:{value:Object},data:function(){return{isLoaded:!1,isShow:!1}},watch:{isShow:function(l){!this.isLoaded&&l&&(this.isLoaded=!0)}}},Bi=Ti,Di=Object(g["a"])(Bi,Si,ji,!1,null,null,null),Li=Di.exports;function Ri(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Fi(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ri(Object(a),!0).forEach((function(t){Object(C["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Ri(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var zi={SpTab:W,SpTabPanel:Q,SpToolBar:q,SpWidgetsPanel:cl,SpIcon:vl,SpViewPort:Tl,SpStylePanel:Ml,SpPrice:Hl,SpPicker:Li,SpDptransition:Xl,SpSetup:st,SpPagemode:ht,SpZoom:Ot,SpAbout:Bt},Wi={SpPickerPlugin:xi},Mi=Fi({install:function(l){Object.keys(zi).forEach((function(t){var a=zi[t];if(!a.name)throw new Error("component name required: ",a);l.component(a.name,a)})),Object.keys(Wi).forEach((function(t){var a=Wi[t];l.use(a)}))}},zi),$i=a("365c"),Ni=a("abea"),Ui=a("611b"),Vi=a.n(Ui);a("c78c"),a("dcad"),a("8e1f");Object($i["install"])(n["default"]),n["default"].use(i.a),n["default"].use(Mi),s["a"].install(n["default"]),n["default"].component("vue-draggable-resizable",Vi.a),n["default"].component("draggable",fl.a),n["default"].config.productionTip=!1,n["default"].prototype.$log=c["a"],H["a"].trigger("$vue",n["default"]),H["a"].trigger("$router",m),H["a"].trigger("$store",B),m.beforeEach((function(l,t,a){a()}));var Qi=null;function Gi(l){try{Ni["a"].setActions(l)}catch(t){}Qi=new n["default"]({router:m,store:B,render:function(l){return l(b)}}).$mount("#app-design"),window.vm=Qi}function Ji(l){return Hi.apply(this,arguments)}function Hi(){return Hi=Object(e["a"])(regeneratorRuntime.mark((function l(t){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:console.log("【qiankun subapp】bootstrap");case 1:case"end":return l.stop()}}),l)}))),Hi.apply(this,arguments)}function Zi(l){return Yi.apply(this,arguments)}function Yi(){return Yi=Object(e["a"])(regeneratorRuntime.mark((function l(t){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:console.log("【qiankun subapp】mount"),B.commit("RESET_PAGEDATA"),Gi(t);case 3:case"end":return l.stop()}}),l)}))),Yi.apply(this,arguments)}function Ki(l){return qi.apply(this,arguments)}function qi(){return qi=Object(e["a"])(regeneratorRuntime.mark((function l(t){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:console.log("【qiankun subapp】unmount"),Qi.$destroy();case 2:case"end":return l.stop()}}),l)}))),qi.apply(this,arguments)}window.__POWERED_BY_QIANKUN__?a.p=window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__:Gi()},"583b":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAHRJREFUWAlj/P//P8NAAqaBtBxk96gDRkNgNARGQ2A0BEZDYMBDgAW9Nuzr6wsFiqWhiwP5Z4uKiioIyYP0EaMGZj6GA4AS74H4HkwBEg0SBwFC8sSqARvGONogAYfDABIDngtGHTAaAqMhMBoCoyEw4CEAALI1HXERY4mBAAAAAElFTkSuQmCC"},"5bdf":function(l,t,a){"use strict";a.d(t,"b",(function(){return Zc}));a("7f7f"),a("456d"),a("ac6a");var e=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0000"})},n=[],o=(a("8e6e"),a("bd86")),i=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0000-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"页面配置",name:"name1"}},[t("panelBar",{attrs:{title:"设置"}},[t("attrField",{attrs:{label:"背景:"}},[t("colorPicker",{model:{value:l.activeElement.backgroundColor,callback:function(t){l.$set(l.activeElement,"backgroundColor",t)},expression:"activeElement.backgroundColor"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"主题:"}},[t("colorPicker",{model:{value:l.activeElement.themeColor,callback:function(t){l.$set(l.activeElement,"themeColor",t)},expression:"activeElement.themeColor"}})],1)],1),t("panelBar",{attrs:{title:"挂件"}},[t("draggable",{staticClass:"list-group",attrs:{list:l.widgets,"ghost-class":"ghost",move:l.checkMove},on:{end:l.draggableEnd}},l._l(l.widgets,(function(a,e){return t("div",{key:"widget-".concat(e),staticClass:"list-group-item",on:{click:function(t){return l.handleWidgetClick(a)}}},[l._v("\n "+l._s("【".concat(e+1<10?"0":"").concat(e+1,"】").concat(a.type,"(").concat(a.name,")"))+"\n "),t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(a)}}})],1)})),0)],1)],1)],1)],1)},c=[],s=a("2f62"),r=function(){var l=this,t=l._self._c;return t("div",{staticClass:"attr-field",class:{"align-item-top":l.labelTop}},[t("div",{staticClass:"attr-field__label",class:{tag:l.tag},style:{width:"".concat(l.width,"px")}},[t("span",[l._v(l._s(l.label))])]),t("div",{staticClass:"attr-field__content"},[l._t("default")],2)])},u=[],g=(a("c5f6"),{name:"attrField",props:{label:{type:String},tag:{type:Boolean,default:!1},labelTop:{type:Boolean,default:!1},width:{type:[String,Number],default:70}},data:function(){return{}}}),d=g,v=(a("a56f"),a("2877")),b=Object(v["a"])(d,r,u,!1,null,null,null),p=b.exports,h=function(){var l=this,t=l._self._c;return t("div",{staticClass:"color-picker"},[t("Poptip",{attrs:{placement:"bottom",transfer:!0}},[t("div",{staticClass:"color-select-box"},[t("div",{staticClass:"color-select",style:{backgroundColor:l.value}})]),t("div",{staticClass:"api",attrs:{slot:"content"},slot:"content"},[t("sketch-picker",{model:{value:l.skcolor,callback:function(t){l.skcolor=t},expression:"skcolor"}})],1)])],1)},m=[],f=a("c345"),C={name:"colorPicker",mixins:[],components:{sketchPicker:f["Sketch"]},props:{value:{type:String}},data:function(){return{skcolor:this.value}},watch:{skcolor:function(l,t){var a=l.rgba,e=a.r,n=a.g,o=a.b,i=a.a;this.color="rgba(".concat(e,",").concat(n,",").concat(o,",").concat(i,")"),this.$emit("input","rgba(".concat(e,",").concat(n,",").concat(o,",").concat(i,")"))}}},A=C,w=(a("7f2b"),Object(v["a"])(A,h,m,!1,null,null,null)),y=w.exports,_=function(){var l=this,t=l._self._c;return t("div",{staticClass:"panel-bar"},[t("div",{staticClass:"panel-bar__title"},[l._v(l._s(l.title))]),t("div",{staticClass:"panel-bar__container"},[l._t("default")],2)])},I=[],k={name:"sPanelBar",props:{title:{type:String}},data:function(){return{}}},O=k,E=(a("de0b"),Object(v["a"])(O,_,I,!1,null,null,null)),P=E.exports,x=function(){var l=this,t=l._self._c;return t("div",{staticClass:"img-picker"},[t("div",{staticClass:"img-picker__btn",on:{click:l.handleSelectImg}},[l.value?t("SpIcon",{attrs:{icon:"icon-delete1"},nativeOn:{click:function(t){return t.stopPropagation(),l.handleDelete.apply(null,arguments)}}}):l._e(),l.value?t("img",{attrs:{src:l.value,alt:""}}):l._e(),l.value?l._e():t("div",{staticClass:"null-picker"},[t("div",{staticClass:"icon"},[l._v("+")]),t("div",[l._v("选择图片")])])],1)])},S=[],j=(a("96cf"),a("3b8d")),T={name:"imgPicker",components:{},props:{value:String,onChange:Function,multiple:Boolean},data:function(){return{img:""}},methods:{handleSelectImg:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("img",{data:{},multiple:this.multiple});case 2:t=l.sent,this.$emit("input",t.data.url);case 4:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleDelete:function(){this.$emit("input","")}}},B=T,D=(a("b9e9"),Object(v["a"])(B,x,S,!1,null,null,null)),L=D.exports,R=function(){var l=this,t=l._self._c;return t("div",{class:"data-bind ".concat(l.imgPicker?"":"path-full")},[l.imgPicker?t("div",{staticClass:"data-bind__btn",on:{click:l.handleSelectImg}},[l.localImgData?t("SpIcon",{attrs:{icon:"icon-delete1"},nativeOn:{click:function(t){return t.stopPropagation(),l.handleDeleteImg.apply(null,arguments)}}}):l._e(),l.multiple?[0==l.localImgData.length?t("div",{staticClass:"null-picker"},[t("div",{staticClass:"icon"},[l._v("+")]),t("div",[l._v("选择图片")])]):l._e(),l.localImgData.length>0?t("div",{staticClass:"null-picker",staticStyle:{"margin-top":"30px"}},[t("div",[l._v(l._s("已选择(".concat(l.localImgData.length,")")))])]):l._e()]:[t("img",{attrs:{src:l.localImgData,alt:""}}),l.localImgData?l._e():t("div",{staticClass:"null-picker"},[t("div",{staticClass:"icon"},[l._v("+")]),t("div",[l._v("选择图片")])])]],2):l._e(),l.pathPicker?t("div",{staticClass:"data-bind__path"},[l.customPath?t("RadioGroup",{on:{"on-change":l.handleOnRadioChange},model:{value:l.pathRaido,callback:function(t){l.pathRaido=t},expression:"pathRaido"}},[t("Radio",{attrs:{label:"path"}},[t("span",[l._v("选择路径")])]),t("Radio",{attrs:{label:"custom-path"}},[t("span",[l._v("自定义路由")])])],1):l._e(),"path"==l.pathRaido?t("div",{staticClass:"path-wrap",on:{click:l.handleClickSetPath}},[l.localPathData?t("SpIcon",{attrs:{icon:"icon-delete1"},nativeOn:{click:function(t){return t.stopPropagation(),l.handleDeletePath.apply(null,arguments)}}}):l._e(),t("div",{staticClass:"data-bind__path-con"},[t("i",{staticClass:"mshopdesign icon-editor-link"}),t("span",{staticClass:"text"},[l._v(l._s(l.pathTitle))])])],1):l._e(),"custom-path"==l.pathRaido&&l.customPath?t("div",{staticClass:"custompath-wrap"},[t("Input",{attrs:{placeholder:"http://www.xxx.com"},on:{"on-blur":l.handleOnBlur},model:{value:l.localPathData.href,callback:function(t){l.$set(l.localPathData,"href",t)},expression:"localPathData.href"}})],1):l._e()],1):l._e()])},F=[],z={name:"imgPicker",components:{},props:{value:[Object,String,Array],imgData:[String,Array],pathData:[Object,Array],activeKey:{type:String,default:""},imgOnChange:Function,pathOnChange:Function,imgPicker:{type:Boolean,default:!0},pathPicker:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},filterMenu:Array,placeholder:{type:String,default:"设置路径"},customPath:{type:Boolean,default:!0},maxSelsect:{type:[String,Number],default:30}},data:function(){var l=this.imgPicker&&this.pathPicker?this.imgData:this.value,t=this.imgPicker&&this.pathPicker?this.pathData:this.value;return{localImgData:l,localPathData:t,pathRaido:0==Object.keys(t).length||"href"!=t.linkPage?"path":"custom-path"}},computed:{pathTitle:function(){var l=this.placeholder,t=this.multiple,a=this.localPathData;if(t){if(a.length>0)switch(a[0].linkPage){case"goods":l="".concat(a[0].linkPageLabel,"(").concat(a.length,")");break}}else if(Object.getOwnPropertyNames(a).length>0)switch(a.linkPage){case"goods":l="".concat(a.linkPageLabel,": ").concat(a.itemName);break;case"category":case"maincategory":l="".concat(a.linkPageLabel,": ").concat(a.category_name);break;case"brand":l="".concat(a.linkPageLabel,": ").concat(a.attribute_name);break;case"tag":l="".concat(a.linkPageLabel,": ").concat(a.tag_name);break;case"management":case"bring":case"page":case"marketing":l="".concat(a.linkPageLabel,": ").concat(a.title);break;case"seckill":l="".concat(a.linkPageLabel,": ").concat(a.activity_name);break;case"customer":l="".concat(a.linkPageLabel,": ").concat(a.template_title);break;case"live":l="".concat(a.linkPageLabel,": ").concat(a.name);break}return l}},methods:{handleSelectImg:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t,a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("img",{data:{},multiple:this.multiple});case 2:t=l.sent,a=this.multiple?t.data.map((function(l){return l.url})):t.data.url,this.localImgData=a,this.$emit("input",a),this.imgOnChange&&this.imgOnChange(a),this.$emit("imgOnChange",a);case 8:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleDeleteImg:function(){var l=this.multiple?[]:"";this.localImgData=l,this.$emit("input",l),this.imgOnChange&&this.imgOnChange(l),this.$emit("imgOnChange",l)},handleClickSetPath:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return console.log("handleClickSetPath",this.localPathData),l.next=3,this.$picker("path",{data:JSON.parse(JSON.stringify(this.localPathData)),multiple:this.multiple,filterMenu:this.filterMenu,activeKey:this.activeKey});case 3:t=l.sent,console.log("$picker component result:",t.data),this.localPathData=t.data,this.$emit("input",t.data),this.pathOnChange&&this.pathOnChange(t.data),this.$emit("pathOnChange",t.data);case 9:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleOnBlur:function(){this.$emit("input",this.localPathData),this.pathOnChange&&this.pathOnChange(this.localPathData),this.$emit("pathOnChange",this.localPathData)},handleDeletePath:function(){var l=this.multiple?[]:{};this.localPathData=l,this.$emit("input",l),this.pathOnChange&&this.pathOnChange(l),this.$emit("pathOnChange",l)},handleOnRadioChange:function(){if("custom-path"==this.pathRaido){var l={linkPage:"href",href:""};this.localPathData=l,this.pathOnChange&&this.pathOnChange(l),this.$emit("pathOnChange",l)}else this.localPathData={},this.pathOnChange&&this.pathOnChange({}),this.$emit("pathOnChange",{})}}},W=z,M=(a("1e55"),Object(v["a"])(W,R,F,!1,null,null,null)),$=M.exports,N=function(){var l=this,t=l._self._c;return t("span",{class:l.classes,style:{color:l.theme,fontSize:l.afontSize+"px"}},[l.isValid?[l.noSymbol?l._e():t("span",{staticClass:"price__symbol",style:{fontSize:l.afontSize-(5!=l.marginTop?0:4)+"px",marginTop:l.marginTop+"px"}},[l._v(" "+l._s(l.symbol))]),t("span",{staticClass:"price__int"},[l._v(l._s(l.priceVals.int))]),l.noDecimal||void 0===l.priceVals.decimal?l._e():t("span",{staticClass:"price__decimal"},[l._v("."+l._s(l.priceVals.decimal))]),l.appendText?t("span",{staticClass:"price__append"},[l._v(l._s(l.appendText)+'"')]):l._e()]:[l._v(l._s(l.defaultValue))]],2)},U=[],V=(a("28a5"),a("768b")),Q=a("ed08"),G="widgets-goods-price",J={name:"goodsPrice",props:{symbol:{type:String,default:"¥"},value:{type:[String,Number],default:""},defaultValue:{type:String,default:"-"},size:{validator:function(l){return Object(Q["e"])(l,["small","large","default"])},default:function(){return"default"}},noSymbol:Boolean,noDecimal:Boolean,unit:String,appendText:String,theme:{type:String,default:"#e1251b"},afontSize:{type:[String,Number],default:18},marginTop:{type:[String,Number],default:5},toFixed:{type:[String,Number],default:2}},computed:{isValid:function(){return!isNaN(parseFloat(this.value,10))},classes:function(){return"".concat(G," ").concat(G,"__").concat(this.size," clearfix")},priceVals:function(){var l=+this.value,t="cent"===this.unit?l/100:l;Object(Q["c"])(t)&&(t=t.toFixed(this.toFixed));var a=(t||"").split("."),e=Object(V["a"])(a,2),n=e[0],o=e[1];return{int:n,decimal:o}}}},H=J,Z=(a("af74"),Object(v["a"])(H,N,U,!1,null,null,null)),Y=Z.exports,K=function(){var l=this,t=l._self._c;return t("div",{staticClass:"shop-bind"},[t("div",{staticClass:"shop-bind__path"},[t("div",{staticClass:"path-wrap",on:{click:l.handleClickSetPath}},[l._e(),t("div",{staticClass:"shop-bind__path-con"},[t("i",{staticClass:"mshopdesign icon-editor-link"}),t("span",{staticClass:"text"},[l._v(l._s(l.pathTitle))])])],1)])])},q=[],X={name:"shopPicker",components:{},props:{value:[Object,String,Array],shopData:[Object,Array],activeKey:{type:String,default:""},shopOnChange:Function,pathTitle:{type:String,default:"选择商铺"}},data:function(){return{}},methods:{handleClickSetPath:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("shop",{title:"选择商铺",data:{}});case 2:t=l.sent,console.log("$picker component result:",t.data),this.$emit("input",t.data),this.shopOnChange&&this.shopOnChange(t.data),this.$emit("shopOnChange",t.data);case 7:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleDeletePath:function(){var l=this;this.$Modal.confirm({title:"提示",content:"确定情况商铺?",onOk:function(){var t={};l.$emit("input",t),l.shopOnChange&&l.shopOnChange(t),l.$emit("shopOnChange",t),l.$Message.success("删除成功!")}})}}},ll=X,tl=(a("a981"),Object(v["a"])(ll,K,q,!1,null,null,null)),al=tl.exports;function el(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function nl(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?el(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):el(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ol={name:"W0000Props",props:["activeElement"],data:function(){return{}},computed:nl({},Object(s["d"])({widgets:function(l){return l.pagedata.widgets.filter((function(l){return"W0000"!=l.type}))}})),components:{panelBar:P,attrField:p,colorPicker:y},methods:nl(nl({},Object(s["c"])(["DELETE_WIDGET","CHANGE_WIDGET_SORT","SELECT_ELE"])),{},{checkMove:function(l){console.log("Future index: "+l.draggedContext.futureIndex)},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该挂件?",onOk:function(){t.DELETE_WIDGET(l.uuid),t.$Message.success("删除成功!")}})},draggableEnd:function(l){console.log("draggableEnd:",l),this.CHANGE_WIDGET_SORT({index1:l.oldIndex+1,index2:l.newIndex+1})},handleWidgetClick:function(l){this.SELECT_ELE(l.uuid)}})},il=ol,cl=(a("034c"),Object(v["a"])(il,i,c,!1,null,null,null)),sl=cl.exports,rl={isContainer:!1,isUpload:!1,hasGuide:!0,isChild:!0,dragable:!0,resizable:!0,left:50,top:0,z:0,width:375,height:20,lineHeight:20,fontSize:12,fontWeight:"normal",fontStyle:"normal",textDecoration:"none",color:"#000000ff",textAlign:"left",marginTop:0,marginRight:"auto",marginBottom:0,marginLeft:"auto",paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,borderTopWidth:0,borderTopColor:"#ffffffff",borderRightWidth:0,borderRightColor:"#ffffffff",borderBottomWidth:0,borderBottomColor:"#ffffffff",borderLeftWidth:0,borderLeftColor:"#ffffffff",foregroundColor:"#ffffffff",backgroundColor:"#ffffffff",backgroundImage:"",textShadow:"",textShadowColor:"#000000ff",textShadowH:0,textShadowV:0,textShadowBlur:0,boxShadow:"",boxShadowColor:"#000000ff",boxShadowH:0,boxShadowV:1,boxShadowBlur:1,borderStyle:"normal",borderColor:"#000000ff",borderWidth:1,borderRadius:0,borderEffect:"none",imgUrl:"",data:[],opacity:1,proportion:!1,proportionDisabled:!0,proportionShow:!1,heightDisabled:!1,heightShow:!0,widthDisabled:!1,href:[],phoneNumber:"",clipboard:"",belong:"page",resizableAxis:"x",x:0,y:0,pageWidth:1190,customerThemeEnabled:!1},ul=[{value:12,label:"12"},{value:13,label:"13"},{value:14,label:"14"},{value:16,label:"16"},{value:18,label:"18"},{value:20,label:"20"},{value:24,label:"24"},{value:36,label:"36"},{value:48,label:"48"},{value:64,label:"64"}],gl=[{value:"Arial",label:"Arial"},{value:"Arial Black",label:"Arial Black"},{value:"Arial Narrow",label:"Arial Narrow"},{value:"Verdana",label:"Verdana"},{value:"Georgia",label:"Georgia"},{value:"Times New Roman",label:"Times New Roman"},{value:"Trebuchet MS",label:"Trebuchet MS"},{value:"Courier New",label:"Courier New"},{value:"Impact",label:"Impact"},{value:"Comic Sans MS",label:"Comic Sans MS"},{value:"Tahoma",label:"Tahoma"},{value:"Courier",label:"Courier"},{value:"Lucida Sans Unicode",label:"Lucida Sans Unicode"},{value:"Lucida Console",label:"Lucida Console"},{value:"Garamond",label:"Garamond"},{value:"MS Sans Serif",label:"MS Sans Serif"},{value:"MS Serif",label:"MS Serif"},{value:"Palatino Linotype",label:"Palatino Linotype"},{value:"Symbol",label:"Symbol"},{value:"Bookman Old Style",label:"Bookman Old Style"}],dl=function(l){var t="";if(!l)return t;switch(l.linkPage){case"goods":t="/items/".concat(l.itemId);break;case"page":t=l.url;break;case"category":t="/items?cat_id=".concat(l.category_id);break;case"maincategory":t="/items?main_category=".concat(l.category_id);break;case"customer":t="/custompage?pageid=".concat(l.theme_pc_template_id);break;case"href":t=l.href;break}return t};function vl(l,t,a){this.$children.forEach((function(e){var n=e.$options.name;n===l?e.$emit.apply(e,[t].concat(a)):vl.apply(e,[l,t].concat([a]))}))}var bl={props:{rendertype:{type:String,default:"pc"},value:[Object,Array],pageProps:Object,mode:{type:String,default:"design"},inLayout:{type:Boolean,default:!1}},computed:{widgetStyle:function(){var l=this.value,t=this.translatePx2Device;return{marginTop:t(l.marginTop),marginBottom:t(l.marginBottom),borderStyle:"solid",borderTopWidth:t(l.borderTopWidth),borderTopColor:l.borderTopColor,borderRightWidth:t(l.borderRightWidth),borderRightColor:l.borderRightColor,borderBottomWidth:t(l.borderBottomWidth),borderBottomColor:l.borderBottomColor,borderLeftWidth:t(l.borderLeftWidth),borderLeftColor:l.borderLeftColor,backgroundColor:l.backgroundColor}},widgetInnerStyle:function(){var l=this.value,t=this.translatePx2Device;return{width:this.inLayout?"auto":t(l.pageWidth),paddingTop:t(l.paddingTop),paddingRight:t(l.paddingRight),paddingBottom:t(l.paddingBottom),paddingLeft:t(l.paddingLeft),backgroundColor:l.foregroundColor,margin:"0 auto",boxSizing:"border-box"}},widgetBodyStyle:function(){var l=this.value,t=this.translatePx2Device;return{width:t(l.width),height:l.heightShow?t(l.height):"auto",marginRight:t(l.marginRight),marginLeft:t(l.marginLeft)}},getThemeColor:function(){var l=this.pageProps,t=this.value;return t.customerThemeEnabled?t.wgtTheme:l?l.themeColor:"inherit"}},mounted:function(){},methods:{isRenderMode:function(){return"render"===this.mode},isDesignMode:function(){return"design"===this.mode},isPreviewMode:function(){return"preview"===this.mode},handleClickLinkPage:function(l){this.isRenderMode()&&this.$router.push(dl[l.linkPage](l))},handleLinkPage:function(l){return l?l&&"undefined"==typeof l.href?dl(l):l.href:""},translatePx2Device:function(l){if("auto"===l)return l;var t;switch(this.rendertype){case"pc":t=l+"px";break;case"h5":t=(2*l/100).toFixed(3)+"rem";break;default:break}return t},navagation:function(l){"design"!==this.mode&&l.length>0&&this.dispatch("preview","page.navagation",{href:l})},telephone:function(l){"design"!==this.mode&&l&&this.dispatch("preview","page.telephone",l)},clipboard:function(l){"design"!==this.mode&&l&&this.dispatch("preview","page.clipboard",l)},getChildInPanel:function(){var l,t=this.$store.state.mshopdesign.activeEleIdOfPanel,a=this.$store.state.mshopdesign.activePage.widgets;return a.forEach((function(a){"widget-panel"===a.type&&a.children.forEach((function(a){a.uuid===t&&(l=a)}))})),l},getActiveComponent:function(){return this.getComponentByUuid(this.$store.state.mshopdesign.activeEleId)},getComponentByUuid:function(l){var t,a=this.$store.state.mshopdesign.activePage.widgets;return a.forEach((function(a){a.uuid===l&&(t=a)})),t},dispatch:function(l,t,a){var e=this.$parent||this.$root,n=e.$options.name;while(e&&(!n||n!==l))e=e.$parent,e&&(n=e.$options.name);e&&e.$emit.apply(e,[t].concat(a))},broadcast:function(l,t,a){vl.call(this,l,t,a)}}};function pl(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function hl(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):pl(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ml="W0000",fl={name:ml,icon:"icon-shangyi",title:"页面配置",mixins:[bl],panel:sl,navs:[],widgetType:["pc","h5"],setting:hl(hl({name:"页面配置",alias:"页面配置",text:"页面配置",type:ml},rl),{},{themeColor:"#479EE9"}),data:function(){return{}},computed:{widgetGoodsInner:function(){var l=this.value,t=this.translatePx2Device;return{marginTop:t(l.marginTop),marginLeft:t(l.marginLeft),marginRight:t(l.marginRight)}}},mounted:function(){},methods:{}},Cl=fl,Al=(a("7568"),Object(v["a"])(Cl,e,n,!1,null,null,null)),wl=Al.exports,yl=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0001",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0001-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0001-body widget-body",style:l.widgetBodyStyle},[l.reloadSwiper?t("swiper",{staticClass:"swiper-container",attrs:{options:l.swiperOption}},[l._l(l.value.data,(function(a,e){return t("swiper-slide",{key:e},[a.imgUrl?[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData)}},[t("img",{attrs:{src:a.imgUrl,alt:"",width:"100%",height:"100%"}})])]:[t("div",{staticClass:"default-bg"},[l._v("\n "+l._s("".concat(l.widgetBodyStyle.width," * ").concat(l.widgetBodyStyle.height))+"\n ")])]],2)})),t("div",{staticClass:"swiper-pagination",class:[l.value.styleType],style:l.paginationAlign,attrs:{slot:"pagination"},slot:"pagination"})],2):l._e(),"style5"==l.value.styleType?t("div",{staticClass:"custom-pagination",class:[l.paginationAlign.textAlign]},l._l(l.value.data,(function(a,e){return t("img",{key:"pg-img__".concat(e),class:{active:l.swiperActiveIndex==e},attrs:{src:a.imgUrl,width:"100"}})})),0):l._e()],1)])],2)},_l=[],Il=a("7212"),kl=(a("6b54"),function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0001-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"自动播放:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.autoplay,callback:function(t){l.$set(l.activeElement,"autoplay",t)},expression:"activeElement.autoplay"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"延时时间:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.autoplaySpeed,callback:function(t){l.$set(l.activeElement,"autoplaySpeed",t)},expression:"activeElement.autoplaySpeed"}})],1)],1),t("panelBar",{attrs:{title:"指示点"}},[t("attr-field",{attrs:{label:"样式:"}},[t("Select",{attrs:{size:"small","label-in-value":""},model:{value:l.activeElement.styleType,callback:function(t){l.$set(l.activeElement,"styleType",t)},expression:"activeElement.styleType"}},l._l(l.styleList,(function(a){return t("Option",{key:a.value,attrs:{value:a.value,label:a.label}},[t("img",{attrs:{src:a.img,alt:"",width:"24"}}),t("div",[l._v(l._s(a.label))])])})),1)],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"位置:"}},[t("RadioGroup",{model:{value:l.activeElement.pointAlign,callback:function(t){l.$set(l.activeElement,"pointAlign",t)},expression:"activeElement.pointAlign"}},[t("Radio",{attrs:{label:"left"}},[t("span",[l._v("居左")])]),t("Radio",{attrs:{label:"center"}},[t("span",[l._v("居中")])]),t("Radio",{attrs:{label:"right"}},[t("span",[l._v("居右")])])],1)],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选中:",labelTop:""}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.customerThemeEnabled,callback:function(t){l.$set(l.activeElement,"customerThemeEnabled",t)},expression:"activeElement.customerThemeEnabled"}}),t("div",{staticClass:"division"}),t("color-picker",{model:{value:l.activeElement.pointActiveColor,callback:function(t){l.$set(l.activeElement,"pointActiveColor",t)},expression:"activeElement.pointActiveColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"默认:"}},[t("color-picker",{model:{value:l.activeElement.pointDefaultColor,callback:function(t){l.$set(l.activeElement,"pointDefaultColor",t)},expression:"activeElement.pointDefaultColor"}})],1)],1),t("panelBar",{attrs:{title:"轮播列表"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAdd}},[l._v("添加轮播项")]),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-top":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n 轮播项"+l._s(Number(e)+1)+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("dataBind",{attrs:{imgData:a.imgUrl,pathData:a.pathData,imgOnChange:l.handleImgOnChange.bind(this,e),pathOnChange:l.handlePathOnChange.bind(this,e)}})],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)}),Ol=[],El=function(){var l=this,t=l._self._c;return t("div",{staticClass:"basic-set"},[l.value.leaf?t("panelBar",{attrs:{title:"位置"}},[t("attrField",{attrs:{label:"X:"}},[t("InputNumber",{attrs:{size:"small"},model:{value:l.value.x,callback:function(t){l.$set(l.value,"x",t)},expression:"value.x"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"Y:"}},[t("InputNumber",{attrs:{size:"small"},model:{value:l.value.y,callback:function(t){l.$set(l.value,"y",t)},expression:"value.y"}})],1)],1):l._e(),t("panelBar",{attrs:{title:"大小"}},[t("attrField",{attrs:{label:"等比例:"}},[t("iSwitch",{attrs:{size:"small",disabled:l.value.proportionDisabled},model:{value:l.value.proportion,callback:function(t){l.$set(l.value,"proportion",t)},expression:"value.proportion"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"宽度:"}},[t("Row",[t("Col",{attrs:{span:"12"}},[t("InputNumber",{attrs:{disabled:l.value.widthDisabled,size:"small",min:0,max:l.pageWidth},on:{"on-change":l.onChangeWidth,"on-blur":l.onBlurWidth},model:{value:l.value.width,callback:function(t){l.$set(l.value,"width",t)},expression:"value.width"}})],1),t("Col",{attrs:{span:"12"}},[t("Slider",{attrs:{disabled:l.value.widthDisabled,max:l.pageWidth},model:{value:l.sliderWidth,callback:function(t){l.sliderWidth=t},expression:"sliderWidth"}})],1)],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"高度:"}},[t("Row",[t("Col",{attrs:{span:"12"}},[t("InputNumber",{attrs:{disabled:l.value.heightDisabled,min:0,size:"small"},on:{"on-change":l.onChangeHeight,"on-blur":l.onBlurHeight},model:{value:l.value.height,callback:function(t){l.$set(l.value,"height",t)},expression:"value.height"}})],1)],1)],1)],1),t("panelBar",{attrs:{title:"外边距"}},[t("attrField",{attrs:{label:"上边:"}},[t("InputNumber",{attrs:{size:"small"},model:{value:l.value.marginTop,callback:function(t){l.$set(l.value,"marginTop",t)},expression:"value.marginTop"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"下边:"}},[t("InputNumber",{attrs:{size:"small"},model:{value:l.value.marginBottom,callback:function(t){l.$set(l.value,"marginBottom",t)},expression:"value.marginBottom"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"右边:"}},["auto"!=l.value.marginRight?t("InputNumber",{attrs:{size:"small"},model:{value:l.value.marginRight,callback:function(t){l.$set(l.value,"marginRight",t)},expression:"value.marginRight"}}):t("InputNumber",{attrs:{disabled:"auto"==l.value.marginRight,size:"small"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"左边:"}},["auto"!=l.value.marginLeft?t("InputNumber",{attrs:{size:"small"},model:{value:l.value.marginLeft,callback:function(t){l.$set(l.value,"marginLeft",t)},expression:"value.marginLeft"}}):t("InputNumber",{attrs:{disabled:"auto"==l.value.marginLeft,size:"small"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"位置:"}},[t("RadioGroup",{on:{"on-change":l.handleChangeAlign},model:{value:l.position,callback:function(t){l.position=t},expression:"position"}},[t("Radio",{attrs:{label:"left"}},[t("span",[l._v("居左")])]),t("Radio",{attrs:{label:"center"}},[t("span",[l._v("居中")])]),t("Radio",{attrs:{label:"right"}},[t("span",[l._v("居右")])])],1)],1)],1),t("panelBar",{attrs:{title:"内边距"}},[t("attrField",{attrs:{label:"上边:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.value.paddingTop,callback:function(t){l.$set(l.value,"paddingTop",t)},expression:"value.paddingTop"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"右边:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.value.paddingRight,callback:function(t){l.$set(l.value,"paddingRight",t)},expression:"value.paddingRight"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"下边:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.value.paddingBottom,callback:function(t){l.$set(l.value,"paddingBottom",t)},expression:"value.paddingBottom"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"左边:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.value.paddingLeft,callback:function(t){l.$set(l.value,"paddingLeft",t)},expression:"value.paddingLeft"}})],1)],1),t("panelBar",{attrs:{title:"边框"}},[t("attrField",{attrs:{label:"上边:"}},[t("Row",[t("Col",{attrs:{span:"12"}},[t("InputNumber",{attrs:{min:0,size:"small"},model:{value:l.value.borderTopWidth,callback:function(t){l.$set(l.value,"borderTopWidth",t)},expression:"value.borderTopWidth"}})],1),t("Col",{attrs:{span:"12"}},[t("color-picker",{model:{value:l.value.borderTopColor,callback:function(t){l.$set(l.value,"borderTopColor",t)},expression:"value.borderTopColor"}})],1)],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"右边:"}},[t("Row",[t("Col",{attrs:{span:"12"}},[t("InputNumber",{attrs:{min:0,size:"small"},model:{value:l.value.borderRightWidth,callback:function(t){l.$set(l.value,"borderRightWidth",t)},expression:"value.borderRightWidth"}})],1),t("Col",{attrs:{span:"12"}},[t("color-picker",{model:{value:l.value.borderRightColor,callback:function(t){l.$set(l.value,"borderRightColor",t)},expression:"value.borderRightColor"}})],1)],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"下边:"}},[t("Row",[t("Col",{attrs:{span:"12"}},[t("InputNumber",{attrs:{min:0,size:"small"},model:{value:l.value.borderBottomWidth,callback:function(t){l.$set(l.value,"borderBottomWidth",t)},expression:"value.borderBottomWidth"}})],1),t("Col",{attrs:{span:"12"}},[t("color-picker",{model:{value:l.value.borderBottomColor,callback:function(t){l.$set(l.value,"borderBottomColor",t)},expression:"value.borderBottomColor"}})],1)],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"左边:"}},[t("Row",[t("Col",{attrs:{span:"12"}},[t("InputNumber",{attrs:{min:0,size:"small"},model:{value:l.value.borderLeftWidth,callback:function(t){l.$set(l.value,"borderLeftWidth",t)},expression:"value.borderLeftWidth"}})],1),t("Col",{attrs:{span:"12"}},[t("color-picker",{model:{value:l.value.borderLeftColor,callback:function(t){l.$set(l.value,"borderLeftColor",t)},expression:"value.borderLeftColor"}})],1)],1)],1)],1),t("panelBar",{attrs:{title:"颜色"}},[t("attrField",{attrs:{label:"前景:"}},[t("color-picker",{model:{value:l.value.foregroundColor,callback:function(t){l.$set(l.value,"foregroundColor",t)},expression:"value.foregroundColor"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"背景:"}},[t("color-picker",{model:{value:l.value.backgroundColor,callback:function(t){l.$set(l.value,"backgroundColor",t)},expression:"value.backgroundColor"}})],1)],1)],1)},Pl=[];function xl(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Sl(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?xl(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):xl(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var jl={name:"basicSet",components:{attrField:p,panelBar:P,colorPicker:y},props:{value:Object},data:function(){return{position:null,imgWidth:15,imgHeight:8,sliderWidth:this.value.width,sliderHeight:this.value.height}},computed:Sl({},Object(s["d"])({pageWidth:function(l){return l.pageWidth}})),watch:{"value.imgUrl":function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a){var e,n,o;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.readImgData();case 2:e=l.sent,n=e.width,o=e.height,console.log("img info width: ".concat(n,", height: ").concat(o)),this.imgWidth=n,this.imgHeight=o,this.value.proportion&&(this.value.height=this.getImageHeightByWidth());case 9:case"end":return l.stop()}}),l,this)})));function t(t,a){return l.apply(this,arguments)}return t}(),sliderWidth:{handler:function(l,t){l!=t&&(this.value.width=l,this.onChangeWidth())},deep:!0},sliderHeight:{handler:function(l,t){l!=t&&(this.value.height=l,this.onChangeHeight())},deep:!0}},mounted:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t,a,e;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if("auto"===this.value.marginLeft&&"auto"===this.value.marginRight?this.position="center":0===this.value.marginLeft&&"auto"===this.value.marginRight?this.position="left":"auto"===this.value.marginLeft&&0===this.value.marginRight&&(this.position="right"),!this.value.imgUrl){l.next=9;break}return l.next=4,this.readImgData();case 4:t=l.sent,a=t.width,e=t.height,this.imgWidth=a,this.imgHeight=e;case 9:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),methods:{getImageHeightByWidth:function(){var l=this.value.width,t=void 0===l?0:l;return Math.floor(this.imgHeight*t/this.imgWidth)},getImageWidthByHeight:function(){var l=this.value.height,t=void 0===l?0:l;return Math.floor(this.imgWidth*t/this.imgHeight)},onBlurWidth:function(){this.sliderWidth=this.value.width},onBlurHeight:function(){this.sliderHeight=this.value.height},handleChangeAlign:function(){switch(this.position){case"left":this.value.marginRight="auto",this.value.marginLeft=0;break;case"center":this.value.marginRight="auto",this.value.marginLeft="auto";break;case"right":this.value.marginRight=0,this.value.marginLeft="auto";break}},onChangeWidth:function(){if(this.value.proportion&&"disabled"!=this.value.proportion){var l=this.getImageHeightByWidth();this.value.height=l}},onChangeHeight:function(){if(this.value.proportion&&"disabled"!=this.value.proportion){var l=this.getImageWidthByHeight();this.value.width=l}},readImgData:function(){var l=this;return new Promise((function(t){var a=new Image;a.src=l.value.imgUrl,a.onload=function(){Q["d"].debug("[plugin styleWhHeight] readImgData",this.width,this.height),t({width:this.width,height:this.height})}}))}}},Tl=jl,Bl=(a("c471"),Object(v["a"])(Tl,El,Pl,!1,null,null,null)),Dl=Bl.exports,Ll={name:"W0001Props",props:["activeElement"],data:function(){return{test:"",styleList:[{img:a("72a2"),label:"样式一",value:"style1"},{img:a("db99"),label:"样式二",value:"style2"},{img:a("3dd5"),label:"样式三",value:"style3"},{img:a("cb03"),label:"样式四",value:"style4"},{img:a("6a87"),label:"样式五",value:"style5"}]}},components:{panelBar:P,attrField:p,colorPicker:y,basicSet:Dl,dataBind:$},methods:{change:function(){},handleAdd:function(){console.log("this.activeElement",this.activeElement),this.activeElement.data.length<5?this.activeElement.data.push({imgUrl:"",pathData:{}}):this.$Message.error("最多只能添加5张轮播图")},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该轮播图?",onOk:function(){t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1张轮播图")}})},handleImgOnChange:function(l,t){this.activeElement.data[l].imgUrl=t},handlePathOnChange:function(l,t){this.activeElement.data[l].pathData=t}}},Rl=Ll,Fl=(a("9461"),Object(v["a"])(Rl,kl,Ol,!1,null,null,null)),zl=Fl.exports,Wl=function(){var l=this,t=l._self._c;return t("span",{staticClass:"link-page"},["design"==l.mode||"preview"==l.mode?t("a",{staticClass:"link-page__a",style:{color:l.ctitleColor}},[l._t("default")],2):[l.to?t("a",{staticClass:"link-page__a",style:{color:l.ctitleColor},attrs:{href:l.to}},[l._t("default")],2):l._e(),l.to?l._e():t("a",{staticClass:"link-page__a",style:{color:l.ctitleColor}},[l._t("default")],2)]],2)},Ml=[],$l={name:"linkPage",mixins:[bl],props:{to:String,ctitleColor:{type:String,default:"#333333"}},data:function(){return{}},methods:{isTargetLink:function(l){return!!/^(http|https)/.test(l)}}},Nl=$l,Ul=(a("68f7"),Object(v["a"])(Nl,Wl,Ml,!1,null,"628cc4be",null)),Vl=Ul.exports;a("dfa4");function Ql(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Gl(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ql(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Ql(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Jl="W0001",Hl={name:Jl,icon:"icon-lunbo",title:"轮播",mixins:[bl],panel:zl,navs:["nav1","nav1-1"],widgetType:["pc","h5"],setting:Gl(Gl({name:"轮播",alias:"轮播",text:"轮播",type:Jl},rl),{},{height:200,proportion:"disabled",styleType:"style1",pointAlign:"right",pointDefaultColor:"#000000ff",pointActiveColor:"#ff0000ff",data:[{imgData:"",pathData:{}},{imgData:"",pathData:{}},{imgData:"",pathData:{}}],autoplay:!0,autoplaySpeed:2e3,dots:"none",radiusDot:!1,trigger:"click",arrow:"never",color:"#ffffff",activeColor:"#8391a5"}),components:{Swiper:Il["Swiper"],SwiperSlide:Il["SwiperSlide"],linkPage:Vl},data:function(){var l=this,t=this.value,a=t.autoplay,e=t.autoplaySpeed,n=!!a&&{delay:e},o=this;return{swiperOption:{autoplay:n,loop:!0,pagination:{el:".swiper-pagination",type:"custom",renderCustom:function(t,a,e){var n=l.value,o=n.styleType,i=n.pointDefaultColor,c=n.pointActiveColor,s=n.customerThemeEnabled,r="";switch(o){case"style1":r='<span class="pag-style1">'.concat(a,"/").concat(e,"</span>");break;case"style2":r='<span class="pag-style2">'.concat(a,"/").concat(e,"</span>");break;case"style3":for(var u=1;u<=e;u++)r+='<span class="pag-style3" style="background: '.concat(u!=a?i:s?c:l.pageProps?l.pageProps.themeColor:"inherit",'"></span>');break;case"style4":for(var g=1;g<=e;g++)r+='<span class="pag-style4" style="background: '.concat(g!=a?i:s?c:l.pageProps?l.pageProps.themeColor:"inherit",'"></span>');break;default:break}return r}},on:{slideChange:function(){this.activeIndex==o.value.data.length+1?o.swiperActiveIndex=0:0==this.activeIndex?o.swiperActiveIndex=o.value.data.length-1:o.swiperActiveIndex=this.activeIndex-1}}},swiperActiveIndex:0,reloadSwiper:!0}},computed:{swiperObj:function(){return this.$refs.mySwiper.swiper},paginationAlign:function(){return{textAlign:this.value.pointAlign}}},watch:{value:{handler:function(l,t){var a=this;this.reloadSwiper=!1;var e=this.value,n=e.autoplay,o=e.autoplaySpeed,i=!!n&&{delay:o};this.swiperOption.autoplay=i,this.$nextTick((function(l){console.log("reloadSwiper..."),a.reloadSwiper=!0}))},deep:!0}},methods:{callback:function(){}}},Zl=Hl,Yl=(a("d46f"),Object(v["a"])(Zl,yl,_l,!1,null,null,null)),Kl=Yl.exports,ql=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0002",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0002-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0002-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-goods_title",attrs:{id:"wgt-goods_title__".concat(l.value.uuid)}},[t("div",{staticClass:"name",class:{"bg-null":!l.value.titleBackground},style:{textAlign:l.value.titleAlign,background:"linear-gradient(90deg, ".concat(l.value.wgtBackgroundColor1," 0%, ").concat(l.value.wgtBackgroundColor2," 100%)"),fontSize:l.value.wgtTitleFontSize+"px"}},[t("linkPage",{staticClass:"more",attrs:{ctitleColor:l.value.wgtTitleColor,mode:l.mode,to:l.handleLinkPage(l.value.moreLinkData)}},[l._v("\n "+l._s(l.value.text)+"\n ")])],1)]),t("ul",{class:"wgt-goods_list",attrs:{id:"wgt-goods_list__".concat(l.value.uuid)}},l._l(l.value.data,(function(a,e){return t("li",{key:"goods-item__".concat(e),staticClass:"goods-item"},[t("linkPage",{staticClass:"goods-item_wrap",attrs:{mode:l.mode,to:l.handleLinkPage(a)}},[t("div",{staticClass:"goods-item_img"},[t("ImgWrap",{attrs:{src:a.goods_pic,width:214,height:214}})],1),t("div",{staticClass:"goods-item_title"},[l._v("\n "+l._s(a.goods_name)+"\n ")]),t("div",{staticClass:"goods-item_price"},[t("goodsPrice",{staticClass:"mkt-price",attrs:{theme:l.value.wgtPriceColor,value:a.price/100,afontSize:l.value.wgtPriceFontSize}}),t("goodsPrice",{staticClass:"mkt-original-price",attrs:{theme:"#8C8C8C",value:a.market_price/100,afontSize:l.value.wgtPriceFontSize-4}})],1)])],1)})),0)])])],2)},Xl=[],lt=(a("7514"),function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0002-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"标题位置:"}},[t("RadioGroup",{model:{value:l.activeElement.titleAlign,callback:function(t){l.$set(l.activeElement,"titleAlign",t)},expression:"activeElement.titleAlign"}},[t("Radio",{attrs:{label:"left"}},[t("span",[l._v("居左")])]),t("Radio",{attrs:{label:"center"}},[t("span",[l._v("居中")])]),t("Radio",{attrs:{label:"right"}},[t("span",[l._v("居右")])])],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"标题背景:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.titleBackground,callback:function(t){l.$set(l.activeElement,"titleBackground",t)},expression:"activeElement.titleBackground"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleColor,callback:function(t){l.$set(l.activeElement,"wgtTitleColor",t)},expression:"activeElement.wgtTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor1,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor1",t)},expression:"activeElement.wgtBackgroundColor1"}}),t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor2,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor2",t)},expression:"activeElement.wgtBackgroundColor2"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"价格字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtPriceFontSize,callback:function(t){l.$set(l.activeElement,"wgtPriceFontSize",t)},expression:"activeElement.wgtPriceFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"价格颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtPriceColor,callback:function(t){l.$set(l.activeElement,"wgtPriceColor",t)},expression:"activeElement.wgtPriceColor"}})],1),t("div",{staticClass:"division"}),l.activeElement.showMore?t("attr-field",{attrs:{label:"跳转路径:",labelTop:""}},[t("dataBind",{attrs:{imgPicker:!1},model:{value:l.activeElement.moreLinkData,callback:function(t){l.$set(l.activeElement,"moreLinkData",t)},expression:"activeElement.moreLinkData"}})],1):l._e()],1),t("panelBar",{attrs:{title:"商品配置"}},[t("attr-field",{attrs:{label:"选择商品:"}},[t("dataBind",{attrs:{value:l.activeElement.data,imgPicker:!1,filterMenu:["goods"],multiple:!0,customPath:!1,activeKey:"goods_id",placeholder:"选择商品"},on:{pathOnChange:l.onChangePath}})],1),t("div",{staticClass:"tip"},[l._v("图片分辨率:300px * 300px")]),t("div",{staticClass:"tip"},[l._v("上下拖动图片可以改变排序")]),t("ul",[t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:l.activeElement.data,callback:function(t){l.$set(l.activeElement,"data",t)},expression:"activeElement.data"}},l._l(l.activeElement.data,(function(a,e){return t("li",{key:"wgt-propsitem__".concat(e),staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img",on:{click:function(t){return l.handleClickPickerGoods(a,e)}}},[t("img",{attrs:{src:a.goods_pic}})]),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(a.goods_name))])]),t("div",{staticClass:"wgt-props_delete",on:{click:function(t){return l.deleteItem(e)}}},[t("i",{staticClass:"mshopdesign icon-shanchu"})])])})),0)],1)],1)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)}),tt=[],at={name:"W0002Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,colorPicker:y,basicSet:Dl},methods:{deleteItem:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该商品?",onOk:function(){t.activeElement.data.length>0&&(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!"))}})},handleChangeColumn:function(l){this.column=l,this.activeElement.columnStyle=l},handleClickPickerGoods:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a){var e,n,o,i,c,s,r,u,g,d;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("path",{data:JSON.parse(JSON.stringify(t)),filterMenu:["goods"],activeKey:"goods_id"});case 2:e=l.sent,n=e.data,o=n.goods_id,i=n.pics,c=n.price,s=n.item_name,r=n.linkPage,u=n.linkPageLabel,g=n.market_price,d={goods_id:o,goods_pic:i.length>0?i[0]:"",price:c,goods_name:s,linkPage:r,linkPageLabel:u,market_price:g},this.$set(this.activeElement.data,a,d);case 7:case"end":return l.stop()}}),l,this)})));function t(t,a){return l.apply(this,arguments)}return t}(),onChangePath:function(l){var t=l.map((function(l){var t=l.goods_id,a=l.itemId,e=l.pics,n=l.price,o=l.item_name,i=l.linkPage,c=l.linkPageLabel,s=l.market_price;return{goods_id:t,itemId:a,goods_pic:e.length>0?e[0]:"",price:n,goods_name:o,linkPage:i,linkPageLabel:c,market_price:s}}));this.activeElement.data=t}}},et=at,nt=(a("c19f"),Object(v["a"])(et,lt,tt,!1,null,null,null)),ot=nt.exports,it=function(){var l=this,t=l._self._c;return t("div",{staticClass:"img-wrap",style:{width:"".concat(l.width,"px"),height:"".concat(l.height,"px")}},[l.src?t("img",{style:{borderRadius:"".concat(l.borderRadius,"px")},attrs:{src:l.src}}):t("span",[l._v(l._s("".concat(l.width,"px * ").concat(l.height,"px")))])])},ct=[],st={name:"ImgWrap",props:{src:String,width:Number,height:Number,borderRadius:{type:Number,default:0}},data:function(){return{}},created:function(){},methods:{}},rt=st,ut=(a("f96c"),Object(v["a"])(rt,it,ct,!1,null,null,null)),gt=ut.exports;function dt(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function vt(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):dt(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var bt="W0002",pt={name:bt,icon:"icon-shangpin",title:"商品",mixins:[bl],panel:ot,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:vt(vt({name:"商品",alias:"商品",text:"商品",type:bt},rl),{},{showMore:!0,moreText:"更多",moreLinkData:{},columnNums:5,widthDisabled:!0,height:400,heightDisabled:!0,data:[{goods_id:"",goods_pic:"",price:123,market_price:333,goods_name:"商品名5商品名5商品名5商品名5商品名5商品名5",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:123.2,market_price:333,goods_name:"商品名称4",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:990,market_price:333,goods_name:"商品名称3",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:123,market_price:233,goods_name:"商品名称2",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1230,market_price:4234,goods_name:"商品名称1",linkPage:"goods",linkPageLabel:"商品"}],titleAlign:"center",titleBackground:!0,wgtBackgroundColor1:"#FF5A00",wgtBackgroundColor2:"#FF8600",wgtTitleFontSize:28,wgtTitleColor:"#FFFFFF",wgtPriceFontSize:18,wgtPriceColor:"#FF0036"}),data:function(){return{}},components:{goodsPrice:Y,linkPage:Vl,ImgWrap:gt},computed:{},watch:{"value.data":{handler:function(l,t){var a=this;setTimeout((function(){a.changeWgtHeight()}),100)},deep:!0}},created:function(){},mounted:function(){},methods:{changeWgtHeight:function(){this.value.height=document.getElementById("wgt-goods_title__".concat(this.value.uuid)).clientHeight+document.getElementById("wgt-goods_list__".concat(this.value.uuid)).clientHeight+20},getGoodsItems:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t,a,e,n;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(!this.isRenderMode()){l.next=8;break}return t=this.value.data,a=t.map((function(l){return l.goods_id})),l.next=5,this.$api.item.list({item_id:a,page:1,pageSize:a.length,distributor_id:0,item_type:"normal"});case 5:e=l.sent,n=e.list,t.forEach((function(l){var t=n.find((function(t){return t.goods_id==l.goods_id}));t&&(l["goods_pic"]=t.pics.length>0?t.pics[0]:"",l["price"]=t.price,l["goods_name"]=t.item_name)}));case 8:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}()}},ht=pt,mt=(a("ffb5"),Object(v["a"])(ht,ql,Xl,!1,null,null,null)),ft=mt.exports,Ct=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0003",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0003-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0003-body widget-body",style:l.widgetBodyStyle},[l.value.imgUrl?[t("img",{staticStyle:{display:"block"},attrs:{src:l.value.imgUrl,alt:"",width:"100%",height:"100%"}})]:[t("div",{staticClass:"default-bg"},[l._v("\n "+l._s("".concat(l.widgetBodyStyle.width," * ").concat(l.widgetBodyStyle.height))+"\n ")])],l._l(l.value.data,(function(a,e){return[t("linkPage",{key:"img-zone-item__".concat(e),staticClass:"img-zone__item",style:{width:"".concat(100*a.widthPer,"%"),height:"".concat(100*a.heightPer,"%"),top:"".concat(100*a.topPer,"%"),left:"".concat(100*a.leftPer,"%")},attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData)}})]}))],2)])],2)},At=[],wt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0003-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"展示图:"}},[t("imgPicker",{attrs:{path:!1},model:{value:l.activeElement.imgUrl,callback:function(t){l.$set(l.activeElement,"imgUrl",t)},expression:"activeElement.imgUrl"}})],1),t("panelBar",{attrs:{title:"热区:"}},[l.hackReset?t("hotzone",{attrs:{image:l.activeElement.imgUrl,zonesInit:l.activeElement.data},on:{change:l.handleChange,remove:l.handleRemove}}):l._e(),l._l(l.activeElement.data,(function(a,e){return t("div",{key:"hot-link__item-".concat(e),staticClass:"hot-link__item"},[t("dataBind",{attrs:{imgPicker:!1},model:{value:a.pathData,callback:function(t){l.$set(a,"pathData",t)},expression:"item.pathData"}})],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},yt=[],_t=a("2b0e"),It=a("4304");function kt(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Ot(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):kt(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Et={name:"W0003Props",props:["activeElement"],data:function(){return{zonesList:[],hackReset:!1}},components:{panelBar:P,basicSet:Dl,imgPicker:L,hotzone:It["a"],dataBind:$},watch:{"activeElement.imgUrl":{handler:function(l,t){l||this.activeElement.data.splice(0,this.activeElement.data.length)},deep:!0}},mounted:function(){var l=this;this.hackReset=!1,this.$nextTick((function(){l.hackReset=!0}))},methods:{handleChange:function(l){console.log("activeElement.data:",this.activeElement.data),console.log("handleChange:",JSON.stringify(l));var t=this.activeElement;l.forEach((function(l,a){console.log(JSON.stringify(l));var e=l.pathData?l:Ot(Ot({},l),{},{pathData:{}});_t["default"].set(t.data,a,e)}))},handleRemove:function(l){console.log("handleRemove:",l),this.activeElement.data.splice(l,1)}}},Pt=Et,xt=(a("e457"),Object(v["a"])(Pt,wt,yt,!1,null,null,null)),St=xt.exports;function jt(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Tt(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):jt(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Bt="W0003",Dt={name:Bt,icon:"icon-requhuizhi",title:"热区图",mixins:[bl],panel:St,navs:["nav1","nav1-1"],widgetType:["pc","h5"],setting:Tt(Tt({name:"热区图",alias:"热区图",text:"热区图",type:Bt},rl),{},{height:200,proportion:!0,proportionDisabled:!1,data:[]}),components:{linkPage:Vl},data:function(){return{}},computed:{},watch:{},methods:{callback:function(){}}},Lt=Dt,Rt=(a("55f9"),Object(v["a"])(Lt,Ct,At,!1,null,null,null)),Ft=Rt.exports,zt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0004",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0004-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0004-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-logowall_title"},[t("h4",{staticClass:"name"},[l._v("\n "+l._s(l.value.text)+"\n ")]),t("linkPage",{staticClass:"more",attrs:{mode:l.mode,to:l.handleLinkPage(l.value.moreLinkData)}},[l._v("\n "+l._s(l.value.moreText)+"\n "),t("i",{staticClass:"espier-icon espier-icon-xiangyou-01"})])],1),t("div",{staticClass:"wgt-logowall_list",attrs:{id:"wgt-logowall_list_".concat(l.value.uuid)}},[0==l.value.data.length?t("div",{staticClass:"logowall-item"},[t("ImgWrap",{attrs:{src:null,width:l.value.logoWidth,height:l.value.logoHeight}})],1):l._e(),l._l(l.value.data,(function(a,e){return t("div",{key:"logowall-item__".concat(e),staticClass:"logowall-item",style:{width:l.translatePx2Device(l.value.logoWidth),height:l.translatePx2Device(l.value.logoHeight)}},[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData)}},[t("ImgWrap",{attrs:{src:a.imgUrl,width:l.value.logoWidth,height:l.value.logoHeight}})],1)],1)}))],2)])])],2)},Wt=[],Mt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0004-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题:"}},[t("Input",{model:{value:l.activeElement.moreText,callback:function(t){l.$set(l.activeElement,"moreText",t)},expression:"activeElement.moreText"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"链接:",labelTop:""}},[t("dataBind",{attrs:{imgPicker:!1},model:{value:l.activeElement.moreLinkData,callback:function(t){l.$set(l.activeElement,"moreLinkData",t)},expression:"activeElement.moreLinkData"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选择列数:"}},[t("Select",{attrs:{size:"small","label-in-value":""},on:{"on-change":l.handleSelectChange},model:{value:l.activeElement.column,callback:function(t){l.$set(l.activeElement,"column",t)},expression:"activeElement.column"}},l._l(l.styleList,(function(a){return t("Option",{key:a.value,attrs:{value:a.value,label:a.label}},[t("div",[l._v(l._s(a.label))])])})),1)],1)],1),t("panelBar",{attrs:{title:"参数配置"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAdd}},[l._v("添加配置")]),t("div",{staticClass:"tip"},[l._v("\n "+l._s("图片分辨率:".concat(l.activeElement.logoWidth,"px * ").concat(l.activeElement.logoHeight,"px"))+"\n ")]),t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:l.activeElement.data,callback:function(t){l.$set(l.activeElement,"data",t)},expression:"activeElement.data"}},l._l(l.activeElement.data,(function(a,e){return t("div",{key:"wgt-props__".concat(e),staticClass:"wgt-props"},[t("dataBind",{attrs:{imgData:a.imgUrl,pathData:a.pathData,imgOnChange:l.handleImgOnChange.bind(this,e),pathOnChange:l.handlePathOnChange.bind(this,e)}}),t("i",{staticClass:"mshopdesign icon-shanchu",on:{click:function(t){return l.deleteItem(e)}}})],1)})),0)],1)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},$t=[],Nt={name:"W0004Props",props:["activeElement"],data:function(){return{styleList:[{label:"3",value:3},{label:"4",value:4},{label:"5",value:5}]}},components:{panelBar:P,attrField:p,basicSet:Dl,dataBind:$},mounted:function(){this.calcHeight()},methods:{deleteItem:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){t.activeElement.data.length>0&&(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!"),t.calcHeight())}})},handleAdd:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:this.activeElement.data.push({imgUrl:"",pathData:{}}),this.calcHeight();case 2:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleSelectChange:function(){this.calcLogoSize(),this.calcHeight()},handleGetImg:function(l){console.log(l)},handleImgOnChange:function(l,t){this.activeElement.data[l].imgUrl=t},handlePathOnChange:function(l,t){this.activeElement.data[l].pathData=t},calcLogoSize:function(){var l=this.activeElement,t=l.width,a=l.column;this.activeElement.logoWidth=Math.floor((t-10*(a-1))/a),this.activeElement.logoHeight=Math.floor(.6*this.activeElement.logoWidth),console.log("logoWidth, logoHeight",this.activeElement.logoWidth,this.activeElement.logoHeight)},calcHeight:function(){var l=this;setTimeout((function(){l.activeElement.height=document.getElementById("wgt-logowall_list_".concat(l.activeElement.uuid)).clientHeight+60}),100)}}},Ut=Nt,Vt=(a("cd52"),Object(v["a"])(Ut,Mt,$t,!1,null,null,null)),Qt=Vt.exports;function Gt(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Jt(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Gt(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ht="W0004",Zt={name:Ht,icon:"icon-logoqiang2",title:"Logo墙",mixins:[bl],panel:Qt,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Jt(Jt({name:"Logo墙",alias:"Logo墙",text:"Logo墙",type:Ht},rl),{},{column:5,widthDisabled:!0,heightDisabled:!0,showMore:!1,moreText:"更多",moreLinkData:{},data:[],logoWidth:230,logoHeight:138}),data:function(){return{}},components:{linkPage:Vl,ImgWrap:gt},computed:{},mounted:function(){},methods:{handleClickLogo:function(l){l&&window.open(l,"_blank")}}},Yt=Zt,Kt=(a("955e"),Object(v["a"])(Yt,zt,Wt,!1,null,null,null)),qt=Kt.exports,Xt=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0005",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0005-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0005-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-goodstab_tab"},[t("h4",{staticClass:"title"},[l._v(l._s(l.value.text))]),t("ul",{staticClass:"tabList"},l._l(l.value.data,(function(a,e){return t("a",{key:"tabitem__".concat(e),staticClass:"tabItem",class:{active:e==l.tabIndex},on:{mouseover:function(t){return l.handleOverShow(e)}}},[l._v(l._s(a.text))])})),0)]),t("div",{staticClass:"wgt-goodstab_goods"},[t("div",{staticClass:"wgt-goodstab_goods_scroll"},l._l(l.value.data,(function(a,e){return t("div",{key:"goods-wrap__".concat(e),class:["goods-wrap",{active:e==l.tabIndex}],attrs:{id:"goods-wrap__".concat(l.value.uuid,"_").concat(e)}},l._l(a.data,(function(a,e){return t("div",{staticClass:"goods-list-wrap"},[t("div",{staticClass:"goods-image"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id)}},[t("ImgWrap",{attrs:{src:a.goods_pic,width:0==e?400:150,height:0==e?400:150}})],1)],1),t("div",{staticClass:"goods-wrap__info"},[t("div",{staticClass:"goods-title"},[l._v("\n "+l._s(a.goods_name)+"\n ")]),t("goodsPrice",{attrs:{size:"large",value:a.price/100}})],1)])})),0)})),0)])])])],2)},la=[],ta=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0005-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1)],1),t("panelBar",{attrs:{title:"标签列表"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAdd}},[l._v("添加标签商品")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-bottom":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n "+l._s("标签".concat(e+1))+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("attr-field",{attrs:{label:"设置标题:"}},[t("Input",{model:{value:a.text,callback:function(t){l.$set(a,"text",t)},expression:"tab.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选择商品:"}},[t("dataBind",{attrs:{value:a.data,imgPicker:!1,filterMenu:["goods"],multiple:!0,customPath:!1,activeKey:"goods_id",placeholder:"选择商品"},on:{pathOnChange:function(t){return l.onChangePath(t,e)}}})],1),t("div",{staticClass:"division"}),t("ul",[t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:a.data,callback:function(t){l.$set(a,"data",t)},expression:"tab.data"}},l._l(a.data,(function(a,n){return t("li",{key:"wgt-props__".concat(e,"_").concat(n),staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img",on:{click:function(t){return l.handleClickPickerGoods(a,e,n)}}},[t("img",{attrs:{src:a.goods_pic}})]),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(a.goods_name))])]),t("div",{staticClass:"wgt-props_delete",on:{click:function(t){return l.deleteItem(e,n)}}},[t("i",{staticClass:"mshopdesign icon-shanchu"})])])})),0)],1)],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},aa=[],ea={name:"W0005Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,basicSet:Dl},watch:{"activeElement.data":{handler:function(l,t){var a=this;setTimeout((function(){a.activeElement.height=60+document.getElementById("goods-wrap__".concat(a.activeElement.uuid,"_0")).clientHeight}),100)},deep:!0},"activeElement.width":{handler:function(l,t){var a=this;setTimeout((function(){a.activeElement.height=60+document.getElementById("goods-wrap__".concat(a.activeElement.uuid,"_0")).clientHeight}),100)},deep:!0}},methods:{handleAdd:function(){this.activeElement.data.push({text:"tab",data:[{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]})},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1个商品")}})},deleteItem:function(l,t){var a=this;this.$Modal.confirm({title:"提示",content:"确定删除该商品?",onOk:function(){a.activeElement.data[l].data.length>1?(a.activeElement.data[l].data.splice(t,1),a.$Message.success("删除成功!")):a.$Message.error("请至少添加1个商品")}})},handleClickPickerGoods:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a,e){var n,o,i,c,s,r,u,g,d;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("path",{data:JSON.parse(JSON.stringify(t)),filterMenu:["goods"],activeKey:"goods_id"});case 2:n=l.sent,o=n.data,i=o.goods_id,c=o.pics,s=o.price,r=o.item_name,u=o.linkPage,g=o.linkPageLabel,d={goods_id:i,goods_pic:c.length>0?c[0]:"",price:s,goods_name:r,linkPage:u,linkPageLabel:g},this.$set(this.activeElement.data[a].data,e,d);case 7:case"end":return l.stop()}}),l,this)})));function t(t,a,e){return l.apply(this,arguments)}return t}(),onChangePath:function(l,t){var a=l.map((function(l){var t=l.goods_id,a=l.itemId,e=l.pics,n=l.price,o=l.item_name,i=l.linkPage,c=l.linkPageLabel;return{goods_id:t,itemId:a,goods_pic:e.length>0?e[0]:"",price:n,goods_name:o,linkPage:i,linkPageLabel:c}}));this.activeElement.data[t].data=a}}},na=ea,oa=(a("745f"),Object(v["a"])(na,ta,aa,!1,null,null,null)),ia=oa.exports;function ca(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function sa(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ca(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ca(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ra="W0005",ua={name:ra,icon:"icon-chuchuang1",title:"商品橱窗",mixins:[bl],panel:ia,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:sa(sa({name:"商品橱窗",alias:"商品橱窗",text:"商品橱窗",type:ra},rl),{},{widthDisabled:!0,height:594,heightDisabled:!0,data:[{text:"tab1",data:[{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]}],foregroundColor:"#ffffffff",imgWidth:200,imgHeight:200}),data:function(){return{defaultImg:"",tabIndex:0,imgWidth:0,imgHeight:0,leftWidth:.3333}},components:{goodsPrice:Y,ImgWrap:gt,linkPage:Vl},computed:{goodsImageStyle:function(){this.value;return{width:200,height:200}}},created:function(){if(this.isRenderMode()){var l=this.value.data;l.forEach((function(l){l.data.forEach((function(l){l.goods_id||(l={goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"})}))}))}},methods:{callback:function(){},handleOverShow:function(l){this.tabIndex=l},handleClickGoodsItem:function(l){this.isRenderMode()&&this.$router.push(dl[l.linkPage](l))}}},ga=ua,da=(a("5222"),Object(v["a"])(ga,Xt,la,!1,null,null,null)),va=da.exports,ba=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0006",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0006-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0006-body widget-body",style:l.widgetBodyStyle},[0===l.value.childWidgets.length?t("div",{staticClass:"empty-container"},[t("div",[l._v("拖拽组件到自由面板")]),t("div",[l._v(l._s("".concat(l.widgetBodyStyle.width," * ").concat(l.widgetBodyStyle.height)))])]):l._e(),l._l(l.vLine,(function(l,a){return t("span",{directives:[{name:"show",rawName:"v-show",value:l.display,expression:"item.display"}],key:"vline_".concat(a),staticClass:"ref-line v-line",style:{left:l.position,top:l.origin,height:l.lineLength}})})),l._l(l.hLine,(function(l,a){return t("span",{directives:[{name:"show",rawName:"v-show",value:l.display,expression:"item.display"}],key:"hline_".concat(a),staticClass:"ref-line h-line",style:{top:l.position,left:l.origin,width:l.lineLength}})})),l._l(l.value.childWidgets,(function(a,e){return["design"===l.mode?t("vue-draggable-resizable",{key:e,staticClass:"draggable-resizable",attrs:{x:a.x,y:a.y,w:a.width+a.paddingLeft+a.paddingRight,h:a.height+a.paddingTop+a.paddingBottom,z:l.value.zindex?l.value.zindex:1e4,parent:!0,debug:!1,isConflictCheck:!0,snap:!0,snapTolerance:10},on:{resizing:function(t,e,n,o){return l.onResizingChild(a,t,e,n,o)},dragging:function(t,e){return l.onDrag(a,t,e)},refLineParams:l.getRefLineParams},nativeOn:{click:function(t){return t.stopPropagation(),l.handleOnSelect(a.uuid)},keyup:function(t){return!t.type.indexOf("key")&&l._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:l.handleKeyPressUp(a.uuid)}}},[t(a.type,{key:a.uuid,tag:"component",attrs:{"data-type":a.type,"data-uuid":a.uuid,"in-layout":!0,"page-props":l.pageProps,value:a,mode:l.mode}},[t("i",{staticClass:"mshopdesign icon-shanchudelete31 deletechildwidget",on:{click:function(t){return t.stopPropagation(),l.deleteWidget(a.uuid)}}})])],1):l._e(),"design"!==l.mode?t(a.type,{key:a.uuid,tag:"component",staticStyle:{position:"absolute"},style:{top:l.translatePx2Device(a.y),left:l.translatePx2Device(a.x)},attrs:{"data-type":a.type,"data-uuid":a.uuid,"in-layout":!0,value:a,"page-props":l.pageProps,rendertype:l.rendertype,mode:l.mode},on:{callback:l.handleCallback}}):l._e()]}))],2)])],2)},pa=[],ha=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-0006-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"类型:"}},[t("Select",{attrs:{size:"small","label-in-value":""},model:{value:l.activeElement.comptyle,callback:function(t){l.$set(l.activeElement,"comptyle",t)},expression:"activeElement.comptyle"}},l._l(l.styleList,(function(a){return t("Option",{key:a.value,attrs:{value:a.value,label:a.label}},[t("div",[l._v(l._s(a.label))])])})),1)],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"网格:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.grid,callback:function(t){l.$set(l.activeElement,"grid",t)},expression:"activeElement.grid"}})],1)],1),t("panelBar",{attrs:{title:"挂件(".concat(l.activeElement.childWidgets.length,")")}},[t("ul",{staticClass:"child-ele"},l._l(l.activeElement.childWidgets,(function(a,e){return t("li",{key:e,on:{mouseover:function(t){return l.handleMouseover(a)}}},[t("div",[l._v(l._s("".concat(a.type,"(").concat(a.name,")")))])])})),0)]),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"视图层级"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.zindex,callback:function(t){l.$set(l.activeElement,"zindex",t)},expression:"activeElement.zindex"}})],1)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},ma=[],fa=a("15a4"),Ca=a("bc3a"),Aa=a.n(Ca),wa={name:"W0006Props",props:["activeElement"],data:function(){return{editIndex:-1,src:"",postData:{token:"",key:""},blob:"",vmodelCombineName:"",loading:!1,styleList:[{label:"头部",value:"header"},{label:"正文",value:"body"},{label:"尾部",value:"footer"}]}},components:{panelBar:P,basicSet:Dl,attrField:p},computed:{},methods:{collection:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(this.loading=!0,this.vmodelCombineName){l.next=5;break}return this.$Message.error("请输入组合模块名称"),this.loading=!1,l.abrupt("return",!1);case 5:return l.next=7,this.getQiniuToken();case 7:return l.next=9,this.handleDomToImage();case 9:fa["a"].isEmpty(this.src)?(this.loading=!1,this.$Message.error("组合模块图片保存失败")):(this.combineSave({image:this.src,name:this.vmodelCombineName}),this.loading=!1);case 10:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),combineSave:function(l){var t=this;if("widget-layout"===this.$store.state.mshopdesign.activeElement.type){var a=fa["a"].omit(this.$store.state.mshopdesign.activeElement,["uuid"]);if(a.href=[],!fa["a"].isEmpty(a.children)){var e=[];a.children.forEach((function(l){var t=fa["a"].omit(l,["uuid"]);t.href=[],e.push(t)})),a.children=e}var n={name:l.name,image:l.image,params:JSON.stringify(a)};API.postCombineDesign(n).then((function(l){t.$Message.success("组合模块保存成功!")}))}else this.$Message.warning("请选中要保存的自由面板")},handleDomToImage:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t,a,e;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return t=document.getElementsByClassName("widget-active")[0],l.next=3,domtoimage.toBlob(t);case 3:return a=l.sent,e=new window.File([a],"file",{type:a.type}),l.prev=5,l.next=8,this.uploadQiniu(e,a);case 8:l.next=13;break;case 10:l.prev=10,l.t0=l["catch"](5),this.loading=!1;case 13:case"end":return l.stop()}}),l,this,[[5,10]])})));function t(){return l.apply(this,arguments)}return t}(),getQiniuToken:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t,a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,API.getQiniuToken({},{Authorization:"bearer "+this.getCookie("jwt_token")});case 2:t=l.sent,a=t.data,this.postData.token=a.data,this.image_prefix=a.image_prefix;case 6:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),uploadQiniu:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a){var e,n,o,i,c,s,r,u;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return e="image/jpeg"===t.type,n="image/png"===t.type,e||n||this.$message.error("上传图片只能是 JPG 或者 PNG 格式!"),o=".jpg",n&&(o=".png"),this.postData.key=this.image_prefix+this.uuid(32,32)+o,i="https://upload-z2.qiniup.com",c=new FormData,c.append("file",t,t.name),c.append("token",this.postData.token),c.append("key",this.postData.key),l.prev=11,l.next=14,Aa()({url:i,method:"post",data:c,headers:{"Content-Type":"multipart/form-data"}});case 14:return s=l.sent,r=s.data,u={img_name:t.name,img_url:r.img_url,img_type:r.mimeType,img_size:r.img_size,width:r.width,height:r.height},l.next=19,this.postQiniu(u);case 19:this.$Message.success("上传组合模块图片成功!"),l.next=25;break;case 22:l.prev=22,l.t0=l["catch"](11),this.loading=!1;case 25:case"end":return l.stop()}}),l,this,[[11,22]])})));function t(t,a){return l.apply(this,arguments)}return t}(),postQiniu:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t){var a,e;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,API.postQiniuToken(t,{"Content-type":"application/x-www-form-urlencoded",Authorization:"bearer "+this.getCookie("jwt_token")});case 3:a=l.sent,e=a.data,this.src=e.img_full_url,l.next=11;break;case 8:l.prev=8,l.t0=l["catch"](0),this.loading=!1;case 11:case"end":return l.stop()}}),l,this,[[0,8]])})));function t(t){return l.apply(this,arguments)}return t}(),getCookie:function(l){for(var t=document.cookie,a=t.split("; "),e=0;e<a.length;e++){var n=a[e].split("=");if(n[0]===l)return n[1]}return""},uuid:function(l,t){var a,e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[],o=0;if(t=t||e.length,l)for(o=0;o<l;o++)n[o]=e[0|Math.random()*t];else for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(a=0|16*Math.random(),n[o]=e[19===o?3&a|8:a]);return n.join("")},handleMouseover:function(l){},handleClick:function(l){this.$store.commit("MSHOPDESIGN_SELECT_ELE_IN_PANEL",l)},edit:function(l){var t=this;this.editIndex=l,setTimeout((function(){t.$refs["input_".concat(l)][0].focus()}),50)},del:function(l,t){this.$store.commit("MSHOPDESIGN_DELETE_IN_PANEL",{puuid:l,cuuid:t})},blur:function(){this.editIndex=-1}}},ya=wa,_a=(a("22ca"),Object(v["a"])(ya,ha,ma,!1,null,null,null)),Ia=_a.exports;function ka(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Oa(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ka(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ea="W0006",Pa=["W0001","W0003","W0011","W0007","W0008","W0010","W0012","W0013",,"W0014","W0015","W0016","W0017","W0018","W0019",,"W0020","W0021","W0022"],xa={name:Ea,icon:"icon-ziyoumianban",title:"自由面板",mixins:[bl],panel:Ia,navs:["nav1","nav1-1"],setting:Oa(Oa({name:"自由面板",alias:"自由面板",text:"自由面板",type:Ea},rl),{},{height:400,comptyle:"body",childWidgets:[],grid:!1,zindex:1e3}),data:function(){return{activeChildId:null,vLine:[],hLine:[]}},components:{},computed:Oa({},Object(s["d"])({activeEleId:function(l){return l.activeEleId}})),mounted:function(){var l=this;this.isDesignMode()&&this.$el.addEventListener("drop",(function(t){t.preventDefault(),t.stopPropagation();var a=t.dataTransfer.getData("Name");if(Q["d"].debug("[widget-w0006] mindex drop name:",a),Pa.indexOf(a)>-1){var e=l.$el.getBoundingClientRect(),n=e.left,o=e.top,i=Object(Q["a"])();console.log(Jc[a].setting),l.value.childWidgets.push(Oa(Oa({},JSON.parse(JSON.stringify(Jc[a].setting))),{},{x:t.x-n,y:t.y-o,uuid:i,leaf:!0})),l.SELECT_ELE(i)}else console.log("widgetName: ".concat(a)),"null"!=a&&"W0006"!=a&&l.$Message.warning("不可放入自由面板")}))},methods:Oa(Oa({},Object(s["c"])(["SELECT_ELE"])),{},{deleteWidget:function(l){var t=this;Q["d"].debug("[plugins panel] deleteWidget",l),this.value.childWidgets.forEach((function(a,e){a.uuid===l&&t.value.childWidgets.splice(e,1)})),this.SELECT_ELE(this.value.uuid)},handleOnSelect:function(l){this.SELECT_ELE(l)},handleCallback:function(l){this.$emit("callback",l)},onResizingChild:function(l,t,a,e,n){var o=l.paddingTop,i=l.paddingRight,c=l.paddingBottom,s=l.paddingLeft;l.width=e-i-s,l.height=n-o-c},onDrag:function(l,t,a){l.x=t,l.y=a},getRefLineParams:function(l){var t=l.vLine,a=l.hLine;this.vLine=t,this.hLine=a,console.log("getRefLineParams: ",JSON.stringify(l))},handleKeyPressUp:function(l){console.log(l)}})},Sa=xa,ja=(a("0732"),Object(v["a"])(Sa,ba,pa,!1,null,null,null)),Ta=ja.exports,Ba=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0007",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0007-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0007-body widget-body",style:l.widgetBodyStyle},[t("div",{class:["all-category",l.value.hover?"open":"hover"],on:{mouseover:l.mouseoverCategory,mouseleave:l.mouseLeaveCategory}},[t("div",{staticClass:"all-category__btn",style:{backgroundColor:l.value.wgtTypeBackgroundColor,color:l.value.wgtTypeLabelColor,fontWeight:"800"}},[l._v("\n 全部商品分类\n ")]),t("div",{staticClass:"category-list"},l._l(l.value.categoryData,(function(a){return t("div",{key:"category-".concat(a.category_id),staticClass:"category-main",on:{mouseover:function(t){l.btnHover=a.category_id},mouseleave:function(t){l.btnHover=""}}},[t("div",{staticClass:"category-main__btn",style:{backgroundColor:l.btnHover!=a.category_id?l.value.wgtBackgroundColor:l.value.wgtSelectColor}},[t("img",{staticClass:"category-main__btn__img",attrs:{src:a.image_url,width:"16",height:"16"}}),t("span",{staticClass:"category-main__btn_title",style:{color:l.value.wgtTextColor}},[l._v(l._s(a.category_name))]),t("br"),l._l(a.children,(function(a,e){return t("span",{staticClass:"category-main__btn_subtitle",class:0==e?"category-main__btn_subtitle__first":"",style:{color:l.value.wgtSubTextColor}},[l._v("\n "+l._s(a.category_name)+"\n ")])}))],2),a.children?[t("div",{staticClass:"category-main__con"},l._l(a.children,(function(a,e){return t("div",{key:"scategory-".concat(e),staticClass:"category-child"},[t("linkPage",{staticClass:"category-child__btn",attrs:{ctitleColor:"#3B3B3B",mode:l.mode,to:"/items?cat_id=".concat(a.category_id)}},[l._v(l._s(a.category_name))]),a.children?t("div",{staticClass:"category-subchild-main"},l._l(a.children,(function(a,e){return t("div",{key:"tcategory-".concat(e),staticClass:"category-subchild",attrs:{ctitleColor:"#8C8C8C"}},[t("span",{staticClass:"category-subchild__line"},[l._v("|")]),t("linkPage",{staticClass:"category-subchild__btn",attrs:{mode:l.mode,to:"/items?cat_id=".concat(a.category_id)}},[l._v(" "+l._s(a.category_name))])],1)})),0):l._e()],1)})),0)]:l._e()],2)})),0)]),t("div",{staticClass:"navs-con"},l._l(l.value.data,(function(a,e){return t("linkPage",{key:"nav-item__".concat(e),staticClass:"nav-item",attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData),ctitleColor:a.wgtHotKeywordTextColor}},[l._v(l._s(a.title))])})),1)])])],2)},Da=[],La=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0007-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"属性"}},[t("attr-field",{attrs:{label:"常开:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.hover,callback:function(t){l.$set(l.activeElement,"hover",t)},expression:"activeElement.hover"}})],1)],1),t("panelBar",{attrs:{title:"颜色"}},[t("attr-field",{attrs:{label:"商品分类背景:"}},[t("color-picker",{model:{value:l.activeElement.wgtTypeBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtTypeBackgroundColor",t)},expression:"activeElement.wgtTypeBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"商品分类字体:"}},[t("color-picker",{model:{value:l.activeElement.wgtTypeLabelColor,callback:function(t){l.$set(l.activeElement,"wgtTypeLabelColor",t)},expression:"activeElement.wgtTypeLabelColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor",t)},expression:"activeElement.wgtBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选中颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtSelectColor,callback:function(t){l.$set(l.activeElement,"wgtSelectColor",t)},expression:"activeElement.wgtSelectColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtSubTextColor,callback:function(t){l.$set(l.activeElement,"wgtSubTextColor",t)},expression:"activeElement.wgtSubTextColor"}})],1)],1),t("panelBar",{attrs:{title:"分类"}},[t("attr-field",{attrs:{label:"分类链接:"}},[t("dataBind",{attrs:{filterMenu:["category"],multiple:!0,imgPicker:!1,customPath:!1,activeKey:"category_id"},model:{value:l.activeElement.categoryData,callback:function(t){l.$set(l.activeElement,"categoryData",t)},expression:"activeElement.categoryData"}})],1)],1),t("panelBar",{attrs:{title:"菜单"}},[t("Button",{attrs:{type:"primary",long:""},on:{click:l.handleAddNav}},[l._v("添加菜单")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:"hotsearch-item__".concat(e),staticClass:"navs__item"},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n 菜单"+l._s(Number(e)+1)+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("Input",{staticClass:"nav-input",attrs:{placeholder:"菜单名称"},model:{value:a.title,callback:function(t){l.$set(a,"title",t)},expression:"item.title"}}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:a.wgtHotKeywordTextColor,callback:function(t){l.$set(a,"wgtHotKeywordTextColor",t)},expression:"item.wgtHotKeywordTextColor"}})],1),t("div",{staticClass:"division"}),t("dataBind",{attrs:{imgPicker:!1},model:{value:a.pathData,callback:function(t){l.$set(a,"pathData",t)},expression:"item.pathData"}})],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Ra=[],Fa={name:"W0007Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,colorPicker:y,basicSet:Dl},methods:{handleAddNav:function(){this.activeElement.data.push({title:"",pathData:{},wgtHotKeywordTextColor:"#333333"})},handleDelete:function(l){this.activeElement.data.length>0&&(this.activeElement.data.splice(l,1),this.$Message.success("删除成功!"))}}},za=Fa,Wa=(a("88a1"),Object(v["a"])(za,La,Ra,!1,null,null,null)),Ma=Wa.exports;function $a(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Na(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$a(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):$a(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ua="W0007",Va={name:Ua,icon:"icon-caidan1",title:"导航菜单",mixins:[bl],panel:Ma,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Na(Na({name:"导航菜单",alias:"导航菜单",text:"导航菜单",type:Ua},rl),{},{proportion:"disabled",height:40,heightDisabled:!0,customerThemeEnabled:!0,wgtTypeBackgroundColor:"#FF5D02",wgtTypeLabelColor:"#FFFFFF",wgtBackgroundColor:"#FFFFFF",wgtSelectColor:"#F5F6FA",wgtTextColor:"#3B3B3B",wgtSubTextColor:"#8C8C8C",categoryData:[],hover:!0,menuTop:40}),data:function(){return{btnHover:!1}},components:{ImgWrap:gt,linkPage:Vl},computed:{},mounted:function(){},methods:{handleMainBtnHover:function(){this.btnHover=!0},mouseoverCategory:function(){if(!this.value.hover){var l=document.querySelector(".widget-w0007-body .hover .category-list");l.style.height="auto",l.style.overflow="visible"}console.log("mouseoverCategory",!this.value.hover)},mouseLeaveCategory:function(){if(!this.value.hover){var l=document.querySelector(".widget-w0007-body .hover .category-list");l.style.height="0",l.style.overflow="hidden"}}}},Qa=Va,Ga=(a("1679"),Object(v["a"])(Qa,Ba,Da,!1,null,null,null)),Ja=Ga.exports,Ha=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0008",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0008-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0008-body widget-body",style:[l.widgetBodyStyle,l.focusStyleBody]},[t("div",{staticClass:"widget-w0008__wrap",style:{borderColor:l.getThemeColor}},[t("i",{staticClass:"espier-icon espier-icon-sousuo-01"}),t("input",{directives:[{name:"model",rawName:"v-model",value:l.keyword,expression:"keyword"}],staticClass:"search-input",attrs:{placeholder:l.value.placeholder,type:"text"},domProps:{value:l.keyword},on:{focus:l.handleFocus,blur:l.handleBlur,keyup:function(t){return!t.type.indexOf("key")&&l._k(t.keyCode,"enter",13,t.key,"Enter")?null:l.handleClickSearch.apply(null,arguments)},input:function(t){t.target.composing||(l.keyword=t.target.value)}}}),l.value.isShowBtn?t("div",{staticClass:"search-icon",style:{backgroundColor:l.getThemeColor,color:l.value.wgtTextColor,background:"linear-gradient(90deg, ".concat(l.value.wgtTextColor1," 0%, ").concat(l.value.wgtTextColor2," 100%)")},on:{click:l.handleClickSearch}},[l._v("\n 搜索\n ")]):l._e()]),l.value.data.length>0?t("div",{staticClass:"hot-keyword"},l._l(l.value.data,(function(a,e){return t("linkPage",{key:"hotsearch-item__".concat(e),staticClass:"hot-keyword__item",attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData),ctitleColor:a.wgtHotKeywordTextColor}},[l._v(l._s(a.title))])})),1):l._e()])])],2)},Za=[],Ya=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0008-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"搜索显示:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.isShowBtn,callback:function(t){l.$set(l.activeElement,"isShowBtn",t)},expression:"activeElement.isShowBtn"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"搜索占位:"}},[t("Input",{attrs:{placeholder:"搜索placeholder"},model:{value:l.activeElement.placeholder,callback:function(t){l.$set(l.activeElement,"placeholder",t)},expression:"activeElement.placeholder"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"主题:",labelTop:""}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.customerThemeEnabled,callback:function(t){l.$set(l.activeElement,"customerThemeEnabled",t)},expression:"activeElement.customerThemeEnabled"}}),t("div",{staticClass:"division"}),t("color-picker",{model:{value:l.activeElement.wgtTheme,callback:function(t){l.$set(l.activeElement,"wgtTheme",t)},expression:"activeElement.wgtTheme"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"按钮字体:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"按钮背景:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor1,callback:function(t){l.$set(l.activeElement,"wgtTextColor1",t)},expression:"activeElement.wgtTextColor1"}}),t("color-picker",{model:{value:l.activeElement.wgtTextColor2,callback:function(t){l.$set(l.activeElement,"wgtTextColor2",t)},expression:"activeElement.wgtTextColor2"}})],1)],1),t("panelBar",{attrs:{title:"热门搜索"}},[t("Button",{attrs:{type:"primary",long:""},on:{click:l.handleAddHotSearch}},[l._v("添加热门搜索")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:"hotsearch-item__".concat(e),staticClass:"hot-keyword__item"},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n 热门关键词"+l._s(Number(e)+1)+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("Input",{staticClass:"hotword-input",attrs:{placeholder:"热门关键字"},model:{value:a.title,callback:function(t){l.$set(a,"title",t)},expression:"item.title"}}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:a.wgtHotKeywordTextColor,callback:function(t){l.$set(a,"wgtHotKeywordTextColor",t)},expression:"item.wgtHotKeywordTextColor"}})],1),t("dataBind",{attrs:{imgPicker:!1},model:{value:a.pathData,callback:function(t){l.$set(a,"pathData",t)},expression:"item.pathData"}})],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Ka=[],qa={name:"W0008Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,colorPicker:y,basicSet:Dl},methods:{handleAddHotSearch:function(l){this.activeElement.data.push({title:"",pathData:{},wgtHotKeywordTextColor:"#8C8C8C"})},handleDelete:function(l){this.activeElement.data.splice(l,1)}}},Xa=qa,le=(a("f44c"),Object(v["a"])(Xa,Ya,Ka,!1,null,null,null)),te=le.exports;function ae(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function ee(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ae(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var ne="W0008",oe={name:ne,icon:"icon-sousuo",title:"搜索",mixins:[bl],panel:te,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:ee(ee({name:"搜索",alias:"搜索",text:"搜索",type:ne},rl),{},{proportion:"disabled",height:38,heightDisabled:!0,wgtTheme:"#000000ff",wgtTextColor:"#ffffffff",wgtTextColor1:"#FF5A00",wgtTextColor2:"#FF8600",placeholder:"搜索",focusWidth:100,isShowBtn:!0}),data:function(){return{keyword:"",focusStatus:!1,wgtHotKeywordTextColor:"#8C8C8C"}},computed:{focusStyleBody:function(){var l=this.value,t=this.translatePx2Device,a=this.focusStatus;return a?{}:{width:t(l.width),position:"relative",left:""}}},components:{linkPage:Vl},mounted:function(){},watch:{"value.data":function(l,t){0==l.length?this.value.height=38:this.value.height=66}},methods:{handleFocus:function(){this.isDesignMode()||(this.focusStatus=!0)},handleBlur:function(){this.isDesignMode()||(this.focusStatus=!1)},handleClickSearch:function(){this.isRenderMode()&&(console.log(this.keyword),this.$emit("callback",{wgt:ne,data:{keyword:this.keyword}}))}}},ie=oe,ce=(a("459e"),Object(v["a"])(ie,Ha,Za,!1,null,null,null)),se=ce.exports,re=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-0010",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-0010-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-0010-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"minicart-wrap"},[t("div",{staticClass:"minicart-btn",style:{backgroundColor:l.getThemeColor,color:l.value.wgtTextColor,border:"".concat(l.value.wgtBorderRadius,"px solid ").concat(l.value.wgtAaaa)}},[t("i",{staticClass:"new_iconfont icon-new-pc-cart",style:{color:l.value.wgtTextColor}}),l._v("\n 我的购物车\n\n "),t("span",{staticClass:"count",style:{background:l.value.wgtTextColor}},[l._v(l._s(l.cartTotal))])]),l.isRenderMode()?t("div",{staticClass:"minicart-list"},[t("div",{staticClass:"cart-main-wrap"},l._l(l.cartInfo,(function(a,e){return t("div",{key:"shop-cart__".concat(e),staticClass:"cart-main"},l._l(a.list,(function(a,e){return t("div",{key:"cart-item__".concat(e),staticClass:"cart-sub"},[t("linkPage",{staticClass:"cart-item",attrs:{mode:l.mode,to:"/items/".concat(a.item_id)}},[t("div",{staticClass:"goods-image"},[t("img",{attrs:{src:a.pics,alt:"",width:"60",height:"60"}})]),t("div",{staticClass:"goods-info-warp"},[t("div",{staticClass:"goods-info__name"},[l._v(l._s(a.item_name))]),t("div",{staticClass:"goods-info__ft"},[t("goodsPrice",{staticClass:"goods-price",attrs:{value:a.price/100}}),t("span",{staticClass:"goods-num"},[l._v(l._s("x ".concat(a.num)))])],1)])])],1)})),0)})),0),t("div",{staticClass:"cart-total"},[t("div",{staticClass:"cart-total__hd"},[l._v("\n "+l._s("共".concat(l.cartInfo?l.getCartTotal(l.cartInfo).totalCount:"","件商品,合计"))+"\n "),t("goodsPrice",{staticClass:"goods-price",attrs:{value:l.cartInfo?l.getCartTotal(l.cartInfo).totalPrice/100:0}})],1),t("div",{staticClass:"cart-total__bd"},[t("div",{staticClass:"btn btn-cart",on:{click:l.handleClickCart}},[l._v("进入购物车")])])])]):l._e()])])])],2)},ue=[],ge=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-0010-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"属性"}},[t("attr-field",{attrs:{label:"主题:",labelTop:""}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.customerThemeEnabled,callback:function(t){l.$set(l.activeElement,"customerThemeEnabled",t)},expression:"activeElement.customerThemeEnabled"}}),t("div",{staticClass:"division"}),t("color-picker",{model:{value:l.activeElement.wgtTheme,callback:function(t){l.$set(l.activeElement,"wgtTheme",t)},expression:"activeElement.wgtTheme"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"边框大小:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtBorderRadius,callback:function(t){l.$set(l.activeElement,"wgtBorderRadius",t)},expression:"activeElement.wgtBorderRadius"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"边框颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtAaaa,callback:function(t){l.$set(l.activeElement,"wgtAaaa",t)},expression:"activeElement.wgtAaaa"}})],1)],1)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},de=[],ve={name:"W0010Props",props:["activeElement"],components:{panelBar:P,attrField:p,basicSet:Dl,colorPicker:y},data:function(){return{fontFamilyList:gl,fontSizeList:ul}},watch:{"value.fontSize":{handler:function(l,t){this.activeElement.height=Math.floor(this.activeElement.fontSize/.6)},deep:!0}},methods:{handleEventClick:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("goods-tag",{data:""});case 2:t=l.sent,console.log(t);case 4:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleInputChange:function(){document.getElementById("wtext-copy").textContent=this.activeElement.text,this.calcElementSize()},handleInputFocus:function(){this.copySpanElement()},handleInputBlur:function(){this.removeSpanElement()},handldeOnOpenChange:function(l){l&&this.copySpanElement()},handleOnChangeFontSize:function(){var l=this;document.getElementById("wtext-copy").style.fontSize=this.activeElement.fontSize+"px",this.calcElementSize(),setTimeout((function(){l.removeSpanElement()}),50)},copySpanElement:function(){var l=document.createElement("span");l.id="wtext-copy",l.style.display="inline-block",l.style.whiteSpace="pre-wrap",l.style.fontSize=this.activeElement.fontSize+"px",l.textContent=this.activeElement.text,document.body.appendChild(l)},removeSpanElement:function(){document.getElementById("wtext-copy").remove()},calcElementSize:function(){var l=document.getElementById("wtext-copy").getBoundingClientRect(),t=l.width,a=l.height;this.activeElement.width=t+20,this.activeElement.height=a+4}}},be=ve,pe=Object(v["a"])(be,ge,de,!1,null,null,null),he=pe.exports;function me(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function fe(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?me(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):me(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ce="W0010",Ae={name:Ce,icon:"icon-gouwuche",title:"购物车",mixins:[bl],panel:he,navs:["nav2","nav2-1"],setting:fe(fe({name:"购物车",alias:"购物车",text:"购物车",type:Ce},rl),{},{fontSize:14,width:110,height:38,heightDisabled:!0,data:{},wgtTheme:"#000000ff",wgtTextColor:"#ffffffff",wgtAaaa:"#ffffffff",wgtBorderRadius:0}),components:{goodsPrice:Y,linkPage:Vl},data:function(){return{cartTotal:0}},computed:{cartInfo:function(){if(this.isRenderMode()){var l=this.$store.state.cart.cartInfo;return l?l.valid_cart:null}return null},loginStatus:function(){if(this.isRenderMode()){var l=this.$store.state.user.token;return!!l}return!1}},mounted:function(){this.inLayout&&(this.value.heightDisabled=!0,this.value.widthDisabled=!0)},methods:{getCartTotal:function(l){if(l){var t=0,a=0;return l.forEach((function(l){t+=l.list.reduce((function(l,t){return Number(t.total_fee)*t.num+l}),0),a+=l.list.reduce((function(l,t){return Number(t.num)+l}),0)})),this.cartTotal=a,{totalPrice:t,totalCount:a}}},handleClickCart:function(){this.isRenderMode()&&this.$router.push("/cart")},handleClickCheckout:function(){this.isRenderMode()&&this.$router.push("/cart/checkout?mode=cart")}}},we=Ae,ye=(a("4e80"),Object(v["a"])(we,re,ue,!1,null,null,null)),_e=ye.exports,Ie=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-0011",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-0011-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-0011-body widget-body",style:[l.widgetBodyStyle,l.widgetAlignStyle]},[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(l.value.data)}},[t("span",{staticClass:"text-content",style:l.widgetTextStyle,attrs:{id:"widget-0011_".concat(l.value.uuid)},domProps:{textContent:l._s(l.value.text)}})])],1)])],2)},ke=[],Oe=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-0011-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"文本内容"}},[t("Input",{attrs:{type:"textarea",autosize:{minRows:5,maxRows:10}},on:{"on-change":l.handleInputChange,"on-focus":l.handleInputFocus,"on-blur":l.handleInputBlur},model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("panelBar",{attrs:{title:"属性"}},[t("attrField",{attrs:{label:"大小:"}},[t("Select",{staticStyle:{width:"82px"},attrs:{transfer:!0,size:"small"},on:{"on-change":l.handleOnChangeFontSize,"on-open-change":l.handldeOnOpenChange},model:{value:l.activeElement.fontSize,callback:function(t){l.$set(l.activeElement,"fontSize",t)},expression:"activeElement.fontSize"}},l._l(l.fontSizeList,(function(a){return t("Option",{key:a.value,attrs:{value:a.value}},[l._v(l._s(a.label))])})),1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"对齐:"}},[t("ButtonGroup",{attrs:{size:"small"}},[t("Button",{attrs:{type:"left"==l.activeElement.textAlign?"primary":"default"},on:{click:function(t){l.activeElement.textAlign="left"}}},[t("SpIcon",{attrs:{icon:"icon-editor-align-left"}})],1),t("Button",{attrs:{type:"center"==l.activeElement.textAlign?"primary":"default"},on:{click:function(t){l.activeElement.textAlign="center"}}},[t("SpIcon",{attrs:{icon:"icon-editor-align-center"}})],1),t("Button",{attrs:{type:"right"==l.activeElement.textAlign?"primary":"default"},on:{click:function(t){l.activeElement.textAlign="right"}}},[t("SpIcon",{attrs:{icon:"icon-editor-align-right"}})],1)],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"字重:"}},[t("ButtonGroup",{attrs:{size:"small"}},[t("Button",{attrs:{type:"bold"==l.activeElement.fontWeight?"primary":"default"},on:{click:function(t){l.activeElement.fontWeight="normal"===l.activeElement.fontWeight?"bold":"normal"}}},[t("SpIcon",{attrs:{icon:"icon-editor-bold"}})],1),t("Button",{attrs:{type:"italic"==l.activeElement.fontStyle?"primary":"default"},on:{click:function(t){l.activeElement.fontStyle="normal"===l.activeElement.fontStyle?"italic":"normal"}}},[t("SpIcon",{attrs:{icon:"icon-editor-italic"}})],1),t("Button",{attrs:{type:"underline"==l.activeElement.textDecoration?"primary":"default"},on:{click:function(t){l.activeElement.textDecoration="none"===l.activeElement.textDecoration?"underline":"none"}}},[t("SpIcon",{attrs:{icon:"icon-editor-underline"}})],1)],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"颜色:"}},[t("colorPicker",{model:{value:l.activeElement.color,callback:function(t){l.$set(l.activeElement,"color",t)},expression:"activeElement.color"}})],1)],1),t("panelBar",{attrs:{title:"链接"}},[t("dataBind",{attrs:{imgPicker:!1},model:{value:l.activeElement.data,callback:function(t){l.$set(l.activeElement,"data",t)},expression:"activeElement.data"}})],1)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Ee=[],Pe={name:"W0011Props",props:["activeElement"],components:{panelBar:P,attrField:p,basicSet:Dl,dataBind:$,colorPicker:y},data:function(){return{fontFamilyList:gl,fontSizeList:ul}},watch:{"value.fontSize":{handler:function(l,t){this.activeElement.height=Math.floor(this.activeElement.fontSize/.6)},deep:!0}},methods:{handleEventClick:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("goods-tag",{data:""});case 2:t=l.sent,console.log(t);case 4:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}(),handleInputChange:function(){document.getElementById("wtext-copy").textContent=this.activeElement.text,this.calcElementSize()},handleInputFocus:function(){this.copySpanElement()},handleInputBlur:function(){this.removeSpanElement()},handldeOnOpenChange:function(l){l&&this.copySpanElement()},handleOnChangeFontSize:function(){var l=this;document.getElementById("wtext-copy").style.fontSize=this.activeElement.fontSize+"px",this.calcElementSize(),setTimeout((function(){l.removeSpanElement()}),50)},copySpanElement:function(){var l=document.createElement("span");l.id="wtext-copy",l.style.display="inline-block",l.style.whiteSpace="pre-wrap",l.style.fontSize=this.activeElement.fontSize+"px",l.textContent=this.activeElement.text,document.body.appendChild(l)},removeSpanElement:function(){document.getElementById("wtext-copy").remove()},calcElementSize:function(){var l=document.getElementById("wtext-copy").getBoundingClientRect(),t=l.width,a=l.height;this.activeElement.width=t+20,this.activeElement.height=a+4}}},xe=Pe,Se=Object(v["a"])(xe,Oe,Ee,!1,null,null,null),je=Se.exports;function Te(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Be(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Te(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var De="W0011",Le={name:De,icon:"icon-wenben1",title:"文本",mixins:[bl],panel:je,navs:["nav1","nav1-1"],setting:Be(Be({name:"文本",alias:"文本",text:"文本",type:De},rl),{},{fontSize:14,width:52,height:20,heightDisabled:!0,data:{},foregroundColor:"#ffffff00",backgroundColor:"#ffffff00"}),components:{linkPage:Vl},computed:{widgetTextStyle:function(){var l=this.value;return{fontSize:this.translatePx2Device(l.fontSize),fontWeight:l.fontWeight,fontStyle:l.fontStyle,textDecoration:l.textDecoration,color:l.color}},widgetAlignStyle:function(){var l=this.value;return{textAlign:l.textAlign}}},mounted:function(){this.inLayout&&(this.value.heightDisabled=!0,this.value.widthDisabled=!0)},methods:{}},Re=Le,Fe=(a("552e"),Object(v["a"])(Re,Ie,ke,!1,null,null,null)),ze=Fe.exports,We=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0012",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0012-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0012-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"card-hd"},[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(l.value.linkPath)}},[t("h3",{staticClass:"title"},[l._v(l._s(l.value.mainTitle))]),t("img",{staticClass:"t-icon",attrs:{src:a("170d"),width:"26"}}),t("span",{staticClass:"subtitle"},[l._v(l._s(l.value.subTitle))])])],1),t("div",{staticClass:"card-bd"},[0==l.value.styleType?t("WinDisplay1",{attrs:{mode:l.mode},model:{value:l.value.data[0],callback:function(t){l.$set(l.value.data,0,t)},expression:"value.data[0]"}}):l._e(),1==l.value.styleType?t("WinDisplay2",{attrs:{mode:l.mode},model:{value:l.value.data[1],callback:function(t){l.$set(l.value.data,1,t)},expression:"value.data[1]"}}):l._e(),2==l.value.styleType?t("WinDisplay3",{attrs:{mode:l.mode},model:{value:l.value.data[2],callback:function(t){l.$set(l.value.data,2,t)},expression:"value.data[2]"}}):l._e(),3==l.value.styleType?t("WinGoods",{attrs:{mode:l.mode},model:{value:l.value.data[3],callback:function(t){l.$set(l.value.data,3,t)},expression:"value.data[3]"}}):l._e(),4==l.value.styleType?t("WinCoupon",{attrs:{mode:l.mode},model:{value:l.value.data[4],callback:function(t){l.$set(l.value.data,4,t)},expression:"value.data[4]"}}):l._e()],1)])])],2)},Me=[],$e=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0012-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"主标题:"}},[t("Input",{model:{value:l.activeElement.mainTitle,callback:function(t){l.$set(l.activeElement,"mainTitle",t)},expression:"activeElement.mainTitle"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题:"}},[t("Input",{model:{value:l.activeElement.subTitle,callback:function(t){l.$set(l.activeElement,"subTitle",t)},expression:"activeElement.subTitle"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"链接:",labelTop:""}},[t("dataBind",{attrs:{imgPicker:!1},model:{value:l.activeElement.linkPath,callback:function(t){l.$set(l.activeElement,"linkPath",t)},expression:"activeElement.linkPath"}})],1)],1),t("panelBar",{attrs:{title:"排版"}},[t("attr-field",{attrs:{label:"样式:",labelTop:""}},[t("select-picker",{attrs:{data:l.styleList,label:"label",icon:"img"},model:{value:l.activeElement.styleType,callback:function(t){l.$set(l.activeElement,"styleType",t)},expression:"activeElement.styleType"}})],1)],1),t("panelBar",{attrs:{title:l.styleTitle}},[0==l.activeElement.styleType?t("div",[l._l(l.activeElement.data[0],(function(a,e){return[t("dataBind",{key:"path-item-0-0__".concat(e),attrs:{imgData:l.activeElement.data[0][e].imgUrl,pathData:l.activeElement.data[0][e].pathData,imgOnChange:l.handleImgOnChange.bind(this,0,e),pathOnChange:l.handlePathOnChange.bind(this,0,e)}}),t("div",{key:"path-item-0-1__".concat(e),staticClass:"division"})]}))],2):l._e(),1==l.activeElement.styleType?t("div",[l._l(l.activeElement.data[1],(function(a,e){return[t("dataBind",{key:"path-item-1-0__".concat(e),attrs:{imgData:l.activeElement.data[1][e].imgUrl,pathData:l.activeElement.data[1][e].pathData,imgOnChange:l.handleImgOnChange.bind(this,1,e),pathOnChange:l.handlePathOnChange.bind(this,1,e)}}),t("div",{key:"path-item-1-1__".concat(e),staticClass:"division"})]}))],2):l._e(),2==l.activeElement.styleType?t("div",[l._l(l.activeElement.data[2],(function(a,e){return[t("dataBind",{key:"path-item-2-0__".concat(e),attrs:{imgData:l.activeElement.data[2][e].imgUrl,pathData:l.activeElement.data[2][e].pathData,imgOnChange:l.handleImgOnChange.bind(this,2,e),pathOnChange:l.handlePathOnChange.bind(this,2,e)}}),t("div",{key:"path-item-2-1__".concat(e),staticClass:"division"})]}))],2):l._e(),3==l.activeElement.styleType?t("div",[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAddGoods}},[l._v("添加商品")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data[3],(function(a,e){return t("div",{key:e,staticStyle:{"margin-bottom":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n "+l._s("商品组".concat(e+1))+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDeleteGoods(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("attr-field",{attrs:{label:"选择商品:"}},[t("dataBind",{attrs:{imgPicker:!1,filterMenu:["goods"],multiple:!0,customPath:!1,activeKey:"goods_id",placeholder:"选择商品"},on:{pathOnChange:function(t){return l.onChangePath(t,e)}},model:{value:a.data,callback:function(t){l.$set(a,"data",t)},expression:"tab.data"}})],1),t("div",{staticClass:"division"}),t("ul",{staticClass:"goods-con"},[l._l(a.data,(function(a,n){return[t("li",{key:n,staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img",on:{click:function(t){return l.handleClickPickerGoods(a,e,n)}}},[t("img",{attrs:{src:a.goods_pic}})]),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(a.goods_name))])])])]}))],2)],1)])],1)],1)}))],2):l._e(),4==l.activeElement.styleType?t("div",[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAddCoupon}},[l._v("添加优惠券")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data[4],(function(a,e){return t("div",{key:e,staticStyle:{"margin-bottom":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n "+l._s("优惠券组".concat(e+1))+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDeleteCoupon(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("attr-field",{attrs:{label:"优惠券:"}},[t("div",{staticClass:"picker-coupon__btn"},[t("SpIcon",{attrs:{icon:"icon-delete1"},nativeOn:{click:function(t){return t.stopPropagation(),l.handleDeletePath.apply(null,arguments)}}}),t("div",{staticClass:"data-bind__path-con",on:{click:function(t){return l.handleSelectCouponPicker(a,e)}}},[t("i",{staticClass:"mshopdesign icon-editor-link"}),t("span",{staticClass:"text"},[l._v(l._s("".concat(a.data.length,"张")))])])],1)]),t("div",{staticClass:"division"}),t("ul",{staticClass:"coupon-con"},[l._l(a.data,(function(a,e){return[a.title?t("li",{key:e,staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img"},[t("imgPicker",{attrs:{path:!1},model:{value:a.imgUrl,callback:function(t){l.$set(a,"imgUrl",t)},expression:"val.imgUrl"}})],1),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s("优惠券:".concat(a.title)))])])]):l._e()]}))],2)],1)])],1)],1)}))],2):l._e()])],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Ne=[],Ue=function(){var l=this,t=l._self._c;return t("div",{staticClass:"select-picker"},l._l(l.data,(function(a,e){return t("div",{key:"picker-item__".concat(e),staticClass:"picker-item",class:{"is-active":l.select==a.value},on:{click:function(t){return l.handleClick(a)}}},[t("div",{staticClass:"item-wrap"},[l.icon?t("img",{staticClass:"icon",attrs:{src:a[l.icon],width:l.iconSize}}):l._e(),t("div",{staticClass:"label"},[l._v(l._s(a[l.label]))])])])})),0)},Ve=[],Qe={name:"selectPicker",props:{value:Number,data:Array,label:String,icon:String,iconSize:{type:Number,default:46}},data:function(){return{multiple:!1,select:this.value}},created:function(){},methods:{handleClick:function(l){this.select=l.value,this.$emit("input",l.value)}}},Ge=Qe,Je=(a("8b06"),Object(v["a"])(Ge,Ue,Ve,!1,null,null,null)),He=Je.exports,Ze=a("0639"),Ye=a.n(Ze),Ke=a("1eef"),qe=a.n(Ke),Xe=a("62c6"),ln=a.n(Xe),tn=a("00e2"),an=a.n(tn),en=a("95f6"),nn=a.n(en);function on(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function cn(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?on(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):on(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var sn={name:"W0012Props",props:["activeElement"],data:function(){return{test:"",styleList:[{img:Ye.a,label:"橱窗一",value:0},{img:qe.a,label:"橱窗二",value:1},{img:ln.a,label:"橱窗三",value:2},{img:an.a,label:"商品",value:3},{img:nn.a,label:"优惠券",value:4}]}},computed:{styleTitle:function(){var l=this,t=this.styleList.find((function(t){return t.value==l.activeElement.styleType}));return t?t.label:""}},components:{panelBar:P,attrField:p,basicSet:Dl,dataBind:$,selectPicker:He,imgPicker:L},methods:{handleImgOnChange:function(l,t,a){this.activeElement.data[l][t].imgUrl=a},handlePathOnChange:function(l,t,a){this.activeElement.data[l][t].pathData=a},handleAddGoods:function(){this.activeElement.data[3].length<4?this.activeElement.data[3].push({type:"goods",data:[{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"}]}):this.$Message.error("最多添加4组商品")},handleDeleteGoods:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){t.activeElement.data[3].length>1?(t.activeElement.data[3].splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1组商品")}})},handleClickPickerGoods:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a,e){var n,o,i,c,s,r,u,g,d;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("path",{data:JSON.parse(JSON.stringify(t)),filterMenu:["goods"],activeKey:"goods_id"});case 2:n=l.sent,o=n.data,i=o.goods_id,c=o.pics,s=o.price,r=o.item_name,u=o.linkPage,g=o.linkPageLabel,d={goods_id:i,goods_pic:c.length>0?c[0]:"",price:s,goods_name:r,linkPage:u,linkPageLabel:g},this.$set(this.activeElement.data[3][a].data,e,d);case 7:case"end":return l.stop()}}),l,this)})));function t(t,a,e){return l.apply(this,arguments)}return t}(),handleAddCoupon:function(){this.activeElement.data[4].length<3?this.activeElement.data[4].push({type:"coupon",data:[]}):this.$Message.error("最多添加3组优惠券")},handleDeleteCoupon:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){t.activeElement.data[4].length>1?(t.activeElement.data[4].splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1组优惠券")}})},handleSelectCouponPicker:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a){var e,n;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("coupon",{data:JSON.parse(JSON.stringify(t)),multiple:!0});case 2:e=l.sent,e.data.length>3?this.$Message.error("最多选择3张优惠券"):(n=e.data.map((function(l){return cn(cn({},l),{},{imgUrl:""})})),this.activeElement.data[4][a].data=n);case 4:case"end":return l.stop()}}),l,this)})));function t(t,a){return l.apply(this,arguments)}return t}(),onChangePath:function(l,t){var a=l.map((function(l){var t=l.goods_id,a=l.itemId,e=l.pics,n=l.price,o=l.item_name,i=l.linkPage,c=l.linkPageLabel;return{goods_id:t,itemId:a,goods_pic:e.length>0?e[0]:"",price:n,goods_name:o,linkPage:i,linkPageLabel:c}}));this.activeElement.data[3][t].data=a}}},rn=sn,un=(a("2a8f"),Object(v["a"])(rn,$e,Ne,!1,null,null,null)),gn=un.exports,dn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-goods"},[1==l.value.length?t("div",{staticClass:"goods-con"},l._l([1,2,3,4],(function(a,e){return t("div",{key:"swiper-item__".concat(e),staticClass:"goods-item__wrap"},[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData)}},[t("ImgWrap",{attrs:{src:l.value[0].data[e].goods_pic,width:174,height:140}}),t("div",{staticClass:"wingoods-info"},[t("div",{staticClass:"goods-title"},[l._v("\n "+l._s("".concat(l.value[0].data[e].goods_name))+"\n ")]),t("goodsPrice",{staticClass:"goods-price",attrs:{value:"".concat(l.value[0].data[e].price/100)}})],1)],1)],1)})),0):t("div",{staticClass:"swiper-container"},[l.reloadSwiper?t("swiper",{staticClass:"swiper-wrap",attrs:{options:l.swiperOption}},l._l(l.value,(function(a,e){return t("swiper-slide",{key:e},l._l([1,2,3,4],(function(a,n){return t("div",{key:"swiper-item__".concat(n),staticClass:"goods-item__wrap"},[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData)}},[t("ImgWrap",{attrs:{src:l.value[e].data[n].goods_pic,width:174,height:140}}),t("div",{staticClass:"wingoods-info"},[t("div",{staticClass:"goods-title"},[l._v("\n "+l._s("".concat(l.value[e].data[n].goods_name))+"\n ")]),t("goodsPrice",{staticClass:"goods-price",attrs:{value:"".concat(l.value[e].data[n].price/100)}})],1)],1)],1)})),0)})),1):l._e(),l._m(0),l._m(1)],1)])},vn=[function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-goods__swiper-button-prev"},[t("img",{attrs:{src:a("ed74"),width:"15"}})])},function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-goods__swiper-button-next"},[t("img",{attrs:{src:a("9f18"),width:"15"}})])}],bn={name:"WinGoods",mixins:[bl],props:{value:Array},data:function(){return{swiperOption:{loop:!1,navigation:{nextEl:".win-goods__swiper-button-next",prevEl:".win-goods__swiper-button-prev"}},reloadSwiper:!0}},watch:{value:{handler:function(l,t){var a=this;this.reloadSwiper=!1,this.$nextTick((function(l){a.reloadSwiper=!0}))},deep:!0}},components:{Swiper:Il["Swiper"],SwiperSlide:Il["SwiperSlide"],linkPage:Vl,ImgWrap:gt,goodsPrice:Y},created:function(){},methods:{}},pn=bn,hn=(a("f9f8"),Object(v["a"])(pn,dn,vn,!1,null,null,null)),mn=hn.exports,fn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-coupon"},[l.reloadSwiper?t("swiper",{staticClass:"swiper-wrap",attrs:{options:l.swiperOption}},[l._l(l.value,(function(a,e){return t("swiper-slide",{key:e},l._l([1,2,3],(function(a,n){return t("div",{key:"swiper-item__".concat(n),staticClass:"goods-item__wrap"},[l.value[e].data[n]?t("div",{staticClass:"coupon-item",on:{click:function(t){return l.handleClickGetCoupon(l.value[0].data[n])}}},[t("div",{staticClass:"coupon-item__img"},[""==l.value[e].data[n].imgUrl?t("div",{staticClass:"default-img"}):t("img",{attrs:{src:l.value[e].data[n].imgUrl,alt:""}})]),t("div",{staticClass:"coupon-item__info"},[t("div",{staticClass:"title"},[l._v(l._s(l.value[e].data[n].title))]),t("div",{staticClass:"desc"},[l._v(l._s(l.value[e].data[n].description))])]),t("div",{staticClass:"coupon-item__desc"},["cash"==l.value[0].data[n].card_type?t("goodsPrice",{attrs:{value:l.value[0].data[n].reduce_cost/100,noDecimal:""}}):l._e(),"discount"==l.value[0].data[n].card_type?t("div",{staticClass:"discount-wrap"},[t("span",{staticClass:"discount-amount"},[l._v(l._s("".concat((100-l.value[0].data[n].discount)/10)))]),t("span",{staticClass:"discount-unit"},[l._v("折")])]):l._e()],1)]):l._e()])})),0)})),t("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2):l._e()],1)},Cn=[],An={name:"WinGoods",mixins:[bl],props:{value:Array},data:function(){return{swiperOption:{loop:!1,pagination:{el:".swiper-pagination"}},reloadSwiper:!0}},watch:{value:{handler:function(l,t){var a=this;this.reloadSwiper=!1,this.$nextTick((function(l){a.reloadSwiper=!0}))},deep:!0}},components:{Swiper:Il["Swiper"],SwiperSlide:Il["SwiperSlide"],linkPage:Vl,ImgWrap:gt,goodsPrice:Y},created:function(){},methods:{handleClickGetCoupon:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t){return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(!this.isRenderMode()){l.next=4;break}return l.next=3,this.$api.cart.receiveCard({card_id:t.card_id});case 3:this.$Message.success("领取成功");case 4:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}()}},wn=An,yn=(a("e7ec"),Object(v["a"])(wn,fn,Cn,!1,null,null,null)),_n=yn.exports,In=function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-dispaly-1"},[t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[0].pathData))}},[t("ImgWrap",{attrs:{src:l.value[0].imgUrl,width:350,height:180}})],1)],1),t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[1].pathData))}},[t("ImgWrap",{attrs:{src:l.value[1].imgUrl,width:350,height:180}})],1)],1)])},kn=[],On={name:"WinDisplay1",inject:["mode","handleLinkPage"],props:{value:Array},data:function(){return{list:this.value}},components:{ImgWrap:gt,linkPage:Vl},created:function(){},methods:{}},En=On,Pn=(a("41ca"),Object(v["a"])(En,In,kn,!1,null,null,null)),xn=Pn.exports,Sn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-dispaly-2"},[t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[0].pathData))}},[t("ImgWrap",{attrs:{src:l.value[0].imgUrl,width:350,height:180}})],1)],1),t("div",{staticClass:"img-row"},[t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[1].pathData))}},[t("ImgWrap",{attrs:{src:l.value[1].imgUrl,width:174,height:180}})],1)],1),t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[2].pathData))}},[t("ImgWrap",{attrs:{src:l.value[2].imgUrl,width:174,height:180}})],1)],1)])])},jn=[],Tn={name:"WinDisplay2",inject:["mode","handleLinkPage"],props:{value:Array},data:function(){return{list:this.value}},components:{ImgWrap:gt,linkPage:Vl},created:function(){},methods:{}},Bn=Tn,Dn=(a("b972"),Object(v["a"])(Bn,Sn,jn,!1,null,null,null)),Ln=Dn.exports,Rn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-dispaly-3"},[t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[0].pathData))}},[t("ImgWrap",{attrs:{src:l.value[0].imgUrl,width:350,height:255}})],1)],1),t("div",{staticClass:"img-row"},[t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[1].pathData))}},[t("ImgWrap",{attrs:{src:l.value[1].imgUrl,width:115,height:105}})],1)],1),t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[2].pathData))}},[t("ImgWrap",{attrs:{src:l.value[2].imgUrl,width:115,height:105}})],1)],1),t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[3].pathData))}},[t("ImgWrap",{attrs:{src:l.value[3].imgUrl,width:115,height:105}})],1)],1)])])},Fn=[],zn={name:"WinDisplay3",inject:["mode","handleLinkPage"],props:{value:Array},data:function(){return{list:this.value}},components:{ImgWrap:gt,linkPage:Vl},created:function(){},methods:{}},Wn=zn,Mn=(a("2cc7"),Object(v["a"])(Wn,Rn,Fn,!1,null,null,null)),$n=Mn.exports;function Nn(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Un(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Nn(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Vn="W0012",Qn={name:Vn,icon:"icon-chuchuang1",title:"橱窗卡",mixins:[bl],panel:gn,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Un(Un({name:"橱窗卡",alias:"橱窗卡",text:"橱窗卡",type:Vn},rl),{},{width:390,height:450,widthDisabled:!0,heightDisabled:!0,mainTitle:"新品首发",subTitle:"看新奇好物",linkPath:"",styleType:0,data:[[{imgUrl:"",pathData:{}},{imgUrl:"",pathData:{}}],[{imgUrl:"",pathData:{}},{imgUrl:"",pathData:{}},{imgUrl:"",pathData:{}}],[{imgUrl:"",pathData:{}},{imgUrl:"",pathData:{}},{imgUrl:"",pathData:{}},{imgUrl:"",pathData:{}}],[{type:"goods",data:[{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",linkPage:"goods",linkPageLabel:"商品"}]}],[{type:"coupon",data:[]}]]}),provide:function(){return{mode:this.mode,handleLinkPage:this.handleLinkPage}},data:function(){return{}},components:{linkPage:Vl,WinGoods:mn,WinCoupon:_n,WinDisplay1:xn,WinDisplay2:Ln,WinDisplay3:$n},computed:{},mounted:function(){},methods:{}},Gn=Qn,Jn=(a("4c58"),Object(v["a"])(Gn,We,Me,!1,null,null,null)),Hn=Jn.exports,Zn=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0013",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0013-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0013-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"navs-con",style:l.scrollStyle,attrs:{id:"navs-con__".concat(l.value.uuid)}},[t("div",{staticClass:"nav-item-bar",style:{backgroundColor:l.value.wgtTheme},attrs:{id:"nav-item-bar__".concat(l.value.uuid)}}),l._l(l.value.data,(function(a,e){return t("linkPage",{key:"nav-item__".concat(e),ref:"link-item__".concat(e),refInFor:!0,staticClass:"nav-item",attrs:{ctitleColor:l.value.wgtTextColor,mode:l.mode,to:l.handleLinkPage(a.pathData)},nativeOn:{click:function(t){return l.handleClickLink(e)}}},[l._v(l._s(a.title))])}))],2),t("div",{staticClass:"arrow-btn"},[t("i",{staticClass:"espier-icon espier-icon-xiangzuo-01",class:{disabled:0==l.scrollIndex},on:{click:l.handlePrev}}),t("i",{staticClass:"espier-icon espier-icon-xiangyou-01",class:{disabled:l.nextDisabled},on:{click:l.handleNext}})])])])],2)},Yn=[],Kn=(a("20d6"),function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0013-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"颜色"}},[t("attr-field",{attrs:{label:"菜单选中:"}},[t("color-picker",{model:{value:l.activeElement.wgtTheme,callback:function(t){l.$set(l.activeElement,"wgtTheme",t)},expression:"activeElement.wgtTheme"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1)],1),t("panelBar",{attrs:{title:"菜单"}},[t("Button",{attrs:{type:"primary",long:""},on:{click:l.handleAddNav}},[l._v("添加菜单")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:"hotsearch-item__".concat(e),staticClass:"navs__item"},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n 菜单"+l._s(Number(e)+1)+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("Input",{staticClass:"nav-input",attrs:{placeholder:"菜单名称"},model:{value:a.title,callback:function(t){l.$set(a,"title",t)},expression:"item.title"}}),t("dataBind",{attrs:{imgPicker:!1},model:{value:a.pathData,callback:function(t){l.$set(a,"pathData",t)},expression:"item.pathData"}})],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)}),qn=[],Xn={name:"W0013Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,colorPicker:y,basicSet:Dl},methods:{handleAddNav:function(){this.activeElement.data.push({title:"",pathData:{}})},handleDelete:function(l){this.activeElement.data.splice(l,1)}}},lo=Xn,to=(a("e1f6"),Object(v["a"])(lo,Kn,qn,!1,null,null,null)),ao=to.exports;function eo(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function no(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?eo(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):eo(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var oo="W0013",io={name:oo,icon:"icon-caidan1",title:"导航菜单",mixins:[bl],panel:ao,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:no(no({name:"导航菜单",alias:"导航菜单",text:"导航菜单",type:oo},rl),{},{proportion:"disabled",height:40,heightDisabled:!0,wgtTheme:"#000000ff",wgtTextColor:"#000000ff"}),data:function(){return{btnHover:!0,translatex:0,scrollIndex:0}},components:{linkPage:Vl},computed:{scrollStyle:function(){return{transform:"translateX(".concat(this.translatex,"px)")}},nextDisabled:function(){var l=this.value,t=this.translatex,a=document.querySelector("#navs-con__".concat(l.uuid));return a&&a.clientWidth+t<l.width}},mounted:function(){var l=this.$route.path,t=this.value,a=t.data.findIndex((function(t){return dl(t.pathData)==l}));if(a>-1){this.handleClickLink(a);for(var e=this.$refs["link-item__".concat(a)][0].$el.offsetLeft,n=0;n<t.data.length;n++){var o=this.$refs["link-item__".concat(n)][0].$el.offsetLeft;if(e>t.width&&e-o<t.width){this.scrollIndex=n+1,this.translatex=0-this.$refs["link-item__".concat(this.scrollIndex)][0].$el.offsetLeft+50;break}}}},methods:{handleMainBtnHover:function(){this.btnHover=!0},handleClickLink:function(l){var t=this.$refs["link-item__".concat(l)][0].$el,a=t.clientWidth,e=t.offsetLeft,n=this.value.uuid;console.log("clientWidth:",a);var o=document.querySelector("#nav-item-bar__".concat(n));o.style.width="".concat(a,"px"),o.style.left="".concat(e,"px")},handlePrev:function(){if(this.scrollIndex>0){this.scrollIndex--;var l=this.$refs["link-item__".concat(this.scrollIndex)][0].$el.offsetLeft;this.translatex=0-l+50}},handleNext:function(){if(!this.nextDisabled){this.scrollIndex++;var l=this.$refs["link-item__".concat(this.scrollIndex)][0].$el.offsetLeft;this.translatex=0-l+50}}}},co=io,so=(a("ff85"),Object(v["a"])(co,Zn,Yn,!1,null,null,null)),ro=so.exports,uo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0014",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0014-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0014-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-goodstab_tab"},[t("div",{staticClass:"title",style:{backgroundColor:l.value.wgtBackgroundColor,borderRadius:"".concat(l.value.wgtBorderRadius?"15px":"0px")}},[t("span",{staticClass:"title-span",style:{color:l.value.wgtTextColor}},[l._v(l._s(l.value.text))])]),t("ul",{staticClass:"tabList"},l._l(l.value.data,(function(a,e){return t("a",{key:"tabitem__".concat(e),staticClass:"tabItem",class:{active:e==l.tabIndex},on:{mouseover:function(t){return l.handleOverShow(e)}}},[l._v(l._s(a.text))])})),0)]),t("div",{staticClass:"wgt-goodstab_goods"},[t("div",{staticClass:"wgt-goodstab_goods_scroll"},l._l(l.value.data,(function(a,e){return t("div",{key:"goods-wrap__".concat(e),class:["goods-wrap",{active:e==l.tabIndex}],attrs:{id:"goods-wrap__".concat(l.value.uuid,"_").concat(e)}},l._l(a.data,(function(a,e){return t("div",{key:"goods-list-wrap__".concat(e),staticClass:"goods-list-wrap"},[t("div",{staticClass:"goods-image"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id)}},[t("ImgWrap",{attrs:{src:a.goods_pic,width:0==e?290:90,height:0==e?200:90}})],1)],1),t("div",{staticClass:"goods-wrap__info"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id)}},[t("div",{staticClass:"goods-title"},[l._v("\n "+l._s(a.goods_name)+"\n ")]),t("div",{staticClass:"goods-subtitle",style:{color:0==e?"#8C8C8C":"#009EFF"}},[l._v("\n "+l._s(a.brief)+"\n ")])]),0==e?t("div",{staticClass:"word23"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id),ctitleColor:"#FFFFFF;"}},[l._v("点击查看")])],1):l._e()],1)])})),0)})),0)])])])],2)},go=[],vo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0014-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"圆角:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtBorderRadius,callback:function(t){l.$set(l.activeElement,"wgtBorderRadius",t)},expression:"activeElement.wgtBorderRadius"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor",t)},expression:"activeElement.wgtBackgroundColor"}})],1)],1),t("panelBar",{attrs:{title:"标签列表"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAdd}},[l._v("添加标签商品")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-bottom":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n "+l._s("标签".concat(e+1))+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("attr-field",{attrs:{label:"设置标题:"}},[t("Input",{model:{value:a.text,callback:function(t){l.$set(a,"text",t)},expression:"tab.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选择商品:"}},[t("dataBind",{attrs:{value:a.data,imgPicker:!1,filterMenu:["goods"],multiple:!0,customPath:!1,activeKey:"goods_id",placeholder:"选择商品"},on:{pathOnChange:function(t){return l.onChangePath(t,e)}}})],1),t("div",{staticClass:"division"}),t("ul",[t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:a.data,callback:function(t){l.$set(a,"data",t)},expression:"tab.data"}},l._l(a.data,(function(a,n){return t("li",{key:"wgt-props__".concat(e,"_").concat(n),staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img",on:{click:function(t){return l.handleClickPickerGoods(a,e,n)}}},[t("img",{attrs:{src:a.goods_pic}})]),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(a.goods_name))])]),t("div",{staticClass:"wgt-props_delete",on:{click:function(t){return l.deleteItem(e,n)}}},[t("i",{staticClass:"mshopdesign icon-shanchu"})])])})),0)],1)],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},bo=[],po={name:"W0014Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,basicSet:Dl,colorPicker:y},watch:{"activeElement.data":{handler:function(l,t){var a=this;setTimeout((function(){a.activeElement.height=60+document.getElementById("goods-wrap__".concat(a.activeElement.uuid,"_0")).clientHeight}),100)},deep:!0},"activeElement.width":{handler:function(l,t){var a=this;setTimeout((function(){a.activeElement.height=60+document.getElementById("goods-wrap__".concat(a.activeElement.uuid,"_0")).clientHeight}),100)},deep:!0}},methods:{handleAdd:function(){this.activeElement.data.push({text:"tab",data:[{goods_id:"",goods_pic:"",price:123,goods_name:"产品标题文案0",brief:"副标题文案最多控制副标题文案最多控制副标题文案最多控制行内副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1231,goods_name:"产品标题文案1",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,goods_name:"产品标题文案2",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,goods_name:"产品标题文案3",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,goods_name:"产品标题文案4",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案5",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:99.99,goods_name:"产品标题文案6",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:22.22,goods_name:"产品标题文案7",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1230,goods_name:"产品标题文案8",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案9",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]})},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1个商品")}})},deleteItem:function(l,t){var a=this;this.$Modal.confirm({title:"提示",content:"确定删除该商品?",onOk:function(){a.activeElement.data[l].data.length>1?(a.activeElement.data[l].data.splice(t,1),a.$Message.success("删除成功!")):a.$Message.error("请至少添加1个商品")}})},handleClickPickerGoods:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a,e){var n,o,i,c,s,r,u,g,d,v;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("path",{data:JSON.parse(JSON.stringify(t)),filterMenu:["goods"],activeKey:"goods_id"});case 2:n=l.sent,o=n.data,i=o.goods_id,c=o.pics,s=o.price,r=o.item_name,u=o.linkPage,g=o.linkPageLabel,d=o.brief,v={goods_id:i,goods_pic:c.length>0?c[0]:"",price:s,goods_name:r,linkPage:u,linkPageLabel:g,brief:d},this.$set(this.activeElement.data[a].data,e,v);case 7:case"end":return l.stop()}}),l,this)})));function t(t,a,e){return l.apply(this,arguments)}return t}(),onChangePath:function(l,t){var a=l.map((function(l){var t=l.goods_id,a=l.itemId,e=l.pics,n=l.price,o=l.item_name,i=l.linkPage,c=l.linkPageLabel,s=l.title,r=l.brief;return{goods_id:t,itemId:a,goods_pic:e.length>0?e[0]:"",price:n,goods_name:o,linkPage:i,title:s,brief:r,linkPageLabel:c}}));this.activeElement.data[t].data=a}}},ho=po,mo=(a("6f3a"),Object(v["a"])(ho,vo,bo,!1,null,null,null)),fo=mo.exports;function Co(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Ao(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Co(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Co(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var wo="W0014",yo={name:wo,icon:"icon-chuchuang1",title:"主图橱窗",mixins:[bl],panel:fo,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Ao(Ao({name:"主图橱窗",alias:"主图橱窗",text:"主图橱窗 >",type:wo},rl),{},{widthDisabled:!1,height:462,heightDisabled:!1,wgtTextColor:"#ffffffff",wgtBackgroundColor:"#FF5D02",wgtBorderRadius:!1,data:[{text:"tab1",data:[{goods_id:"",goods_pic:"",price:123,goods_name:"产品标题文案0",brief:"副标题文案最多控制副标题文案最多控制副标题文案最多控制副标题文行内副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1231,goods_name:"产品标题文案1",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,goods_name:"产品标题文案2",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,goods_name:"产品标题文案3",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,goods_name:"产品标题文案4",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案5",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:99.99,goods_name:"产品标题文案6",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:22.22,goods_name:"产品标题文案7",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1230,goods_name:"产品标题文案8",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案9",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]}],foregroundColor:"#ffffffff",imgWidth:200,imgHeight:200}),data:function(){return{defaultImg:"",tabIndex:0,imgWidth:0,imgHeight:0,leftWidth:.3333}},components:{ImgWrap:gt,linkPage:Vl},computed:{goodsImageStyle:function(){this.value;return{width:200,height:200}}},created:function(){if(this.isRenderMode()){var l=this.value.data;l.forEach((function(l){l.data.forEach((function(l){l.goods_id||(l={goods_id:"",goods_pic:"",price:0,goods_name:"商品名称",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"})}))}))}},methods:{callback:function(){},handleOverShow:function(l){this.tabIndex=l},qwert:function(l){console.log(l)},handleClickGoodsItem:function(l){this.isRenderMode()&&this.$router.push(dl[l.linkPage](l))}}},_o=yo,Io=(a("3b37"),Object(v["a"])(_o,uo,go,!1,null,null,null)),ko=Io.exports,Oo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0015",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-W0015-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-W0015-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-goodstab_tab"},[t("div",{staticClass:"title",style:{backgroundColor:l.value.wgtBackgroundColor,borderRadius:"".concat(l.value.wgtBorderRadius?"15px":"0px")}},[t("span",{staticClass:"title-span",style:{color:l.value.wgtTextColor}},[l._v(l._s(l.value.text))])]),t("ul",{staticClass:"tabList"},l._l(l.value.data,(function(a,e){return t("a",{key:"tabitem__".concat(e),staticClass:"tabItem",class:{active:e==l.tabIndex},on:{mouseover:function(t){return l.handleOverShow(e)}}},[l._v(l._s(a.text))])})),0)]),t("div",{staticClass:"wgt-goodstab_goods"},[t("div",{staticClass:"wgt-goodstab_goods_scroll"},l._l(l.value.data,(function(a,e){return t("div",{key:"goods-wrap__".concat(e),class:["goods-wrap",{active:e==l.tabIndex}],attrs:{id:"goods-wrap__".concat(l.value.uuid,"_").concat(e)}},l._l(a.data,(function(a,e){return t("div",{key:"goods-list-wrap__".concat(e),staticClass:"goods-list-wrap"},[t("div",{staticClass:"goods-wrap__info"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id)}},[t("div",{staticClass:"goods-title",style:{color:l.value.wgtTitleColor,fontSize:l.value.wgtTitleFontSize+(0==e?2:0)+"px"}},[l._v("\n "+l._s(a.goods_name)+"\n ")])]),t("goodsPrice",{staticClass:"goods-price",attrs:{size:"large",value:a.price/100,theme:l.value.wgtPriceColor,afontSize:l.value.wgtPriceFontSize,toFixed:l.value.wgtToFixed}}),t("div",{staticClass:"goods-image"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id)}},[t("ImgWrap",{attrs:{src:a.goods_pic,width:10==e?122:0==e?290:90,height:10==e?122:0==e?160:90}})],1)],1)],1)])})),0)})),0)])])])],2)},Eo=[],Po=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0015-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"标题设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor",t)},expression:"activeElement.wgtBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"圆角:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtBorderRadius,callback:function(t){l.$set(l.activeElement,"wgtBorderRadius",t)},expression:"activeElement.wgtBorderRadius"}})],1)],1),t("panelBar",{attrs:{title:"商品设置"}},[t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleColor,callback:function(t){l.$set(l.activeElement,"wgtTitleColor",t)},expression:"activeElement.wgtTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"保留小数:"}},[t("InputNumber",{attrs:{size:"small",min:0,max:2},model:{value:l.activeElement.wgtToFixed,callback:function(t){l.$set(l.activeElement,"wgtToFixed",t)},expression:"activeElement.wgtToFixed"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"价格颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtPriceColor,callback:function(t){l.$set(l.activeElement,"wgtPriceColor",t)},expression:"activeElement.wgtPriceColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"价格字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtPriceFontSize,callback:function(t){l.$set(l.activeElement,"wgtPriceFontSize",t)},expression:"activeElement.wgtPriceFontSize"}})],1)],1),t("panelBar",{attrs:{title:"标签列表"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAdd}},[l._v("添加标签商品")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-bottom":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n "+l._s("标签".concat(e+1))+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("attr-field",{attrs:{label:"设置标题:"}},[t("Input",{model:{value:a.text,callback:function(t){l.$set(a,"text",t)},expression:"tab.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选择商品:"}},[t("dataBind",{attrs:{value:a.data,imgPicker:!1,filterMenu:["goods"],multiple:!0,customPath:!1,activeKey:"goods_id",placeholder:"选择商品"},on:{pathOnChange:function(t){return l.onChangePath(t,e)}}})],1),t("div",{staticClass:"division"}),t("ul",[t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:a.data,callback:function(t){l.$set(a,"data",t)},expression:"tab.data"}},l._l(a.data,(function(a,n){return t("li",{key:"wgt-props__".concat(e,"_").concat(n),staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img",on:{click:function(t){return l.handleClickPickerGoods(a,e,n)}}},[t("img",{attrs:{src:a.goods_pic}})]),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(a.goods_name))])]),t("div",{staticClass:"wgt-props_delete",on:{click:function(t){return l.deleteItem(e,n)}}},[t("i",{staticClass:"mshopdesign icon-shanchu"})])])})),0)],1)],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},xo=[],So={name:"W0015Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,basicSet:Dl,colorPicker:y},watch:{"activeElement.data":{handler:function(l,t){},deep:!0},"activeElement.width":{handler:function(l,t){var a=this;setTimeout((function(){a.activeElement.height=60+document.getElementById("goods-wrap__".concat(a.activeElement.uuid,"_0")).clientHeight}),100)},deep:!0}},methods:{handleAdd:function(){this.activeElement.data.push({text:"tab",data:[{goods_id:"",goods_pic:"",price:123,goods_name:"产品标题文案0",subTitle:"副标题文案最多控制副标题文案最多控制副标题文案最多控制副行内副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1231,goods_name:"产品标题文案1",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,goods_name:"产品标题文案2",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,goods_name:"产品标题文案3",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,goods_name:"产品标题文案4",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案5",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:99.99,goods_name:"产品标题文案6",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:22.22,goods_name:"产品标题文案7",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1230,goods_name:"产品标题文案8",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案9",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:22.22,goods_name:"产品标题文案10",subTitle:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]})},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1个商品")}})},deleteItem:function(l,t){var a=this;this.$Modal.confirm({title:"提示",content:"确定删除该商品?",onOk:function(){a.activeElement.data[l].data.length>1?(a.activeElement.data[l].data.splice(t,1),a.$Message.success("删除成功!")):a.$Message.error("请至少添加1个商品")}})},handleClickPickerGoods:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a,e){var n,o,i,c,s,r,u,g,d;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("path",{data:JSON.parse(JSON.stringify(t)),filterMenu:["goods"],activeKey:"goods_id"});case 2:n=l.sent,o=n.data,i=o.goods_id,c=o.pics,s=o.price,r=o.item_name,u=o.linkPage,g=o.linkPageLabel,d={goods_id:i,goods_pic:c.length>0?c[0]:"",price:s,goods_name:r,linkPage:u,linkPageLabel:g},this.$set(this.activeElement.data[a].data,e,d);case 7:case"end":return l.stop()}}),l,this)})));function t(t,a,e){return l.apply(this,arguments)}return t}(),onChangePath:function(l,t){var a=l.map((function(l){var t=l.goods_id,a=l.itemId,e=l.pics,n=l.price,o=l.item_name,i=l.linkPage,c=l.linkPageLabel,s=l.title,r=l.subTitle;return{goods_id:t,itemId:a,goods_pic:e.length>0?e[0]:"",price:n,goods_name:o,linkPage:i,title:s,subTitle:r,linkPageLabel:c}}));this.activeElement.data[t].data=a}}},jo=So,To=(a("9439"),Object(v["a"])(jo,Po,xo,!1,null,null,null)),Bo=To.exports;function Do(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Lo(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Do(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Do(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ro="W0015",Fo={name:Ro,icon:"icon-chuchuang1",title:"精品橱窗",mixins:[bl],panel:Bo,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Lo(Lo({name:"精品橱窗",alias:"精品橱窗",text:"精品橱窗 >",type:Ro},rl),{},{widthDisabled:!0,height:462,heightDisabled:!0,wgtTextColor:"#ffffffff",wgtBackgroundColor:"#FF5D02",wgtPriceColor:"#FF0036",wgtTitleColor:"#3B3B3B",wgtBorderRadius:!1,wgtTitleFontSize:18,wgtPriceFontSize:18,wgtToFixed:2,data:[{text:"tab1",data:[{goods_id:"",goods_pic:"",price:123,goods_name:"产品标题文案0",subTitle:"副标题文案最多控制副标题文案最多控制副标题文案最多控制副标",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1231,goods_name:"产品标题文案1",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,goods_name:"产品标题文案2",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,goods_name:"产品标题文案3",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,goods_name:"产品标题文案4",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案5",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:99.99,goods_name:"产品标题文案6",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:22.22,goods_name:"产品标题文案7",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1230,goods_name:"产品标题文案8",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:320,goods_name:"产品标题文案9",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:22.22,goods_name:"产品标题文案10",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]}],foregroundColor:"#ffffffff",imgWidth:200,imgHeight:200}),data:function(){return{defaultImg:"",tabIndex:0,imgWidth:0,imgHeight:0,leftWidth:.3333}},components:{goodsPrice:Y,ImgWrap:gt,linkPage:Vl},computed:{goodsImageStyle:function(){this.value;return{width:200,height:200}}},created:function(){if(this.isRenderMode()){var l=this.value.data;l.forEach((function(l){l.data.forEach((function(l){l.goods_id||(l={goods_id:"",goods_pic:"",title:"",price:0,goods_name:"商品名称",tagList:[],linkPage:"goods",linkPageLabel:"商品"})}))}))}},methods:{callback:function(){},handleOverShow:function(l){this.tabIndex=l},handleClickGoodsItem:function(l){this.isRenderMode()&&this.$router.push(dl[l.linkPage](l))}}},zo=Fo,Wo=(a("90ca"),Object(v["a"])(zo,Oo,Eo,!1,null,null,null)),Mo=Wo.exports,$o=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0016",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0016-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0016-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"card-hd"},[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(l.value.linkPath)}},[t("span",{staticClass:"title",style:{backgroundColor:l.value.wgtBackgroundColor,borderRadius:"".concat(l.value.wgtBorderRadius?"15px":"0px"),color:l.value.wgtTitleColor,fontSize:l.value.wgtTitleFontSize+"px"}},[l._v(l._s(l.value.mainTitle))]),t("span",{staticClass:"subtitle"},[l._v(l._s(l.value.subTitle))])])],1),t("div",{staticClass:"card-bd"},[0==l.value.styleType?t("WinDisplay1",{attrs:{mode:l.mode},model:{value:l.value.data[0],callback:function(t){l.$set(l.value.data,0,t)},expression:"value.data[0]"}}):l._e()],1)])])],2)},No=[],Uo=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0016-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"主标题:"}},[t("Input",{model:{value:l.activeElement.mainTitle,callback:function(t){l.$set(l.activeElement,"mainTitle",t)},expression:"activeElement.mainTitle"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor",t)},expression:"activeElement.wgtBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleColor,callback:function(t){l.$set(l.activeElement,"wgtTitleColor",t)},expression:"activeElement.wgtTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"圆角:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtBorderRadius,callback:function(t){l.$set(l.activeElement,"wgtBorderRadius",t)},expression:"activeElement.wgtBorderRadius"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题:"}},[t("Input",{model:{value:l.activeElement.subTitle,callback:function(t){l.$set(l.activeElement,"subTitle",t)},expression:"activeElement.subTitle"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtSubTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtSubTitleFontSize",t)},expression:"activeElement.wgtSubTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtSubTextColor,callback:function(t){l.$set(l.activeElement,"wgtSubTextColor",t)},expression:"activeElement.wgtSubTextColor"}})],1),t("div",{staticClass:"division"}),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"链接:",labelTop:""}},[t("dataBind",{attrs:{imgPicker:!1},model:{value:l.activeElement.linkPath,callback:function(t){l.$set(l.activeElement,"linkPath",t)},expression:"activeElement.linkPath"}})],1)],1),t("panelBar",{attrs:{title:"排版"}},[t("attr-field",{attrs:{label:"样式:",labelTop:""}},[t("select-picker",{attrs:{data:l.styleList,label:"label",icon:"img"},model:{value:l.activeElement.styleType,callback:function(t){l.$set(l.activeElement,"styleType",t)},expression:"activeElement.styleType"}})],1)],1),t("panelBar",{attrs:{title:l.styleTitle}},[0==l.activeElement.styleType?t("div",[l._l(l.activeElement.data[0],(function(a,e){return[t("dataBind",{key:"path-item-0-0__".concat(e),attrs:{imgData:l.activeElement.data[0][e].imgUrl,pathData:l.activeElement.data[0][e].pathData,imgOnChange:l.handleImgOnChange.bind(this,0,e),pathOnChange:l.handlePathOnChange.bind(this,0,e)}}),t("div",{key:"path-item-0-1__".concat(e),staticClass:"division"})]}))],2):l._e()])],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Vo=[],Qo=a("69a9"),Go=a.n(Qo),Jo={name:"W0016Props",props:["activeElement"],data:function(){return{test:"",styleList:[{img:Go.a,label:"商品图片",value:0}]}},computed:{styleTitle:function(){var l=this,t=this.styleList.find((function(t){return t.value==l.activeElement.styleType}));return t?t.label:""}},components:{panelBar:P,attrField:p,basicSet:Dl,dataBind:$,selectPicker:He,colorPicker:y},methods:{handleImgOnChange:function(l,t,a){this.activeElement.data[l][t].imgUrl=a},handlePathOnChange:function(l,t,a){this.activeElement.data[l][t].pathData=a}}},Ho=Jo,Zo=(a("6b02"),Object(v["a"])(Ho,Uo,Vo,!1,null,null,null)),Yo=Zo.exports,Ko=function(){var l=this,t=l._self._c;return t("div",{staticClass:"win-dispaly-1"},[t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[0].pathData))}},[t("ImgWrap",{attrs:{src:l.value[0].imgUrl,width:342,height:160}})],1)],1),t("div",{staticClass:"ad-img"},[t("linkPage",{attrs:{mode:l.mode,to:"".concat(l.handleLinkPage(l.value[1].pathData))}},[t("ImgWrap",{attrs:{src:l.value[1].imgUrl,width:342,height:160}})],1)],1)])},qo=[],Xo={name:"WinDisplay1",inject:["mode","handleLinkPage"],props:{value:Array},data:function(){return{list:this.value}},components:{ImgWrap:gt,linkPage:Vl},created:function(){},methods:{}},li=Xo,ti=(a("3240"),Object(v["a"])(li,Ko,qo,!1,null,null,null)),ai=ti.exports;function ei(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function ni(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):ei(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var oi="W0016",ii={name:oi,icon:"icon-chuchuang1",title:"营销橱窗",mixins:[bl],panel:Yo,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:ni(ni({name:"营销橱窗",alias:"营销橱窗",text:"营销橱窗 >",type:oi},rl),{},{width:384,height:422,widthDisabled:!0,heightDisabled:!0,wgtBackgroundColor:"#33C900",mainTitle:"营销橱窗",wgtTitleFontSize:18,wgtTitleColor:"#FFFFFF",wgtSubTitleFontSize:16,wgtSubTextColor:"#8C8C8C",subTitle:"看新奇好物",linkPath:"",styleType:0,data:[[{imgUrl:"",pathData:{}},{imgUrl:"",pathData:{}}]]}),provide:function(){return{mode:this.mode,handleLinkPage:this.handleLinkPage}},data:function(){return{}},components:{linkPage:Vl,WinDisplay1:ai},computed:{},mounted:function(){},methods:{}},ci=ii,si=(a("e2f4"),Object(v["a"])(ci,$o,No,!1,null,null,null)),ri=si.exports,ui=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0017",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-W0017-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-W0017-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-goodstab_tab"},[t("div",{staticClass:"title",style:{backgroundColor:l.value.wgtBackgroundColor,borderRadius:"".concat(l.value.wgtBorderRadius?"15px":"0px")}},[t("span",{staticClass:"title-span",style:{color:l.value.wgtTextColor}},[l._v(l._s(l.value.text))])]),t("ul",{staticClass:"tabList"},l._l(l.value.data,(function(a,e){return t("a",{key:"tabitem__".concat(e),staticClass:"tabItem",class:{active:e==l.tabIndex},on:{mouseover:function(t){return l.handleOverShow(e)}}},[l._v(l._s(a.text))])})),0)]),t("div",{staticClass:"wgt-goodstab_goods"},[t("div",{staticClass:"goods-main-img"},[t("linkPage",{attrs:{mode:l.mode,to:l.handleLinkPage(l.value.pathData)}},[t("ImgWrap",{attrs:{src:l.value.goods_pic,width:290,height:480}})],1)],1),t("div",{staticClass:"wgt-goodstab_goods_scroll"},l._l(l.value.data,(function(a,e){return t("div",{key:"goods-wrap__".concat(e),class:["goods-wrap",{active:e==l.tabIndex}],attrs:{id:"goods-wrap__".concat(l.value.uuid,"_").concat(e)}},l._l(a.data,(function(a){return t("div",{staticClass:"goods-list-wrap"},[t("div",{staticClass:"goods-wrap__info"},[t("div",{staticClass:"goods-title",style:{color:l.value.wgtTitleColor,fontSize:l.value.wgtTitleFontSize+"px"}},[l._v("\n "+l._s(a.goods_name)+"\n ")]),t("div",{staticClass:"goods-sub-title",style:{color:l.value.wgtSubTitleColor,fontSize:l.value.wgtSubTitleFontSize+"px"}},[l._v("\n "+l._s(a.brief)+"\n ")]),t("div",{staticClass:"goods-image"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id)}},[t("ImgWrap",{attrs:{src:a.goods_pic,width:190,height:150}})],1)],1)])])})),0)})),0)])])])],2)},gi=[],di=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0017-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"标题设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor",t)},expression:"activeElement.wgtBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"圆角:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtBorderRadius,callback:function(t){l.$set(l.activeElement,"wgtBorderRadius",t)},expression:"activeElement.wgtBorderRadius"}})],1)],1),t("panelBar",{attrs:{title:"商品设置"}},[t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleColor,callback:function(t){l.$set(l.activeElement,"wgtTitleColor",t)},expression:"activeElement.wgtTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtSubTitleColor,callback:function(t){l.$set(l.activeElement,"wgtSubTitleColor",t)},expression:"activeElement.wgtSubTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtSubTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtSubTitleFontSize",t)},expression:"activeElement.wgtSubTitleFontSize"}})],1)],1),t("panelBar",{attrs:{title:"主商品"}},[t("dataBind",{attrs:{imgData:l.activeElement.goods_pic,pathData:l.activeElement.pathData,imgOnChange:l.handleImgOnChange.bind(l.activeElement.goods_pic),pathOnChange:l.handlePathOnChange.bind(l.activeElement.pathData)}})],1),t("panelBar",{attrs:{title:"标签列表"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAdd}},[l._v("添加标签商品")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-bottom":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n "+l._s("标签".concat(e+1))+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("attr-field",{attrs:{label:"设置标题:"}},[t("Input",{model:{value:a.text,callback:function(t){l.$set(a,"text",t)},expression:"tab.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选择商品:"}},[t("dataBind",{attrs:{value:a.data,imgPicker:!1,filterMenu:["goods"],multiple:!0,customPath:!1,activeKey:"goods_id",placeholder:"选择商品"},on:{pathOnChange:function(t){return l.onChangePath(t,e)}}})],1),t("div",{staticClass:"division"}),t("ul",[t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:a.data,callback:function(t){l.$set(a,"data",t)},expression:"tab.data"}},l._l(a.data,(function(a,n){return t("li",{key:"wgt-props__".concat(e,"_").concat(n),staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img",on:{click:function(t){return l.handleClickPickerGoods(a,e,n)}}},[t("img",{attrs:{src:a.goods_pic}})]),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(a.goods_name))])]),t("div",{staticClass:"wgt-props_delete",on:{click:function(t){return l.deleteItem(e,n)}}},[t("i",{staticClass:"mshopdesign icon-shanchu"})])])})),0)],1)],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},vi=[],bi={name:"W0017Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,basicSet:Dl,colorPicker:y},watch:{"activeElement.data":{handler:function(l,t){},deep:!0},"activeElement.width":{handler:function(l,t){var a=this;setTimeout((function(){a.activeElement.height=60+document.getElementById("goods-wrap__".concat(a.activeElement.uuid,"_0")).clientHeight}),100)},deep:!0}},methods:{handleAdd:function(){this.activeElement.data.push({text:"tab",goods_id:"",data:[{goods_id:"",goods_pic:"",price:123,goods_name:"产品标题文案0",brief:"副标题文案最多控制副标题文案最多控制副标题文案最多控制副标题文案最多控制行内副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1231,goods_name:"产品标题文案1",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,goods_name:"产品标题文案2",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,goods_name:"产品标题文案3",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]})},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1个商品")}})},deleteItem:function(l,t){var a=this;this.$Modal.confirm({title:"提示",content:"确定删除该商品?",onOk:function(){a.activeElement.data[l].data.length>1?(a.activeElement.data[l].data.splice(t,1),a.$Message.success("删除成功!")):a.$Message.error("请至少添加1个商品")}})},handleClickPickerGoods:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a,e){var n,o,i,c,s,r,u,g,d,v;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$picker("path",{data:JSON.parse(JSON.stringify(t)),filterMenu:["goods"],activeKey:"goods_id"});case 2:n=l.sent,o=n.data,i=o.goods_id,c=o.pics,s=o.price,r=o.item_name,u=o.linkPage,g=o.linkPageLabel,d=o.brief,v={goods_id:i,goods_pic:c.length>0?c[0]:"",price:s,goods_name:r,linkPage:u,brief:d,linkPageLabel:g},this.$set(this.activeElement.data[a].data,e,v);case 7:case"end":return l.stop()}}),l,this)})));function t(t,a,e){return l.apply(this,arguments)}return t}(),onChangePath:function(l,t){var a=l.map((function(l){var t=l.goods_id,a=l.itemId,e=l.pics,n=l.price,o=l.item_name,i=l.linkPage,c=l.linkPageLabel,s=l.title,r=l.brief;return{goods_id:t,itemId:a,goods_pic:e.length>0?e[0]:"",price:n,goods_name:o,linkPage:i,title:s,brief:r,linkPageLabel:c}}));this.activeElement.data[t].data=a},handleImgOnChange:function(l){this.activeElement.goods_pic=l},handlePathOnChange:function(l){this.activeElement.pathData=l}}},pi=bi,hi=(a("cb8b"),Object(v["a"])(pi,di,vi,!1,null,null,null)),mi=hi.exports;function fi(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Ci(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fi(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):fi(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ai="W0017",wi={name:Ai,icon:"icon-chuchuang1",title:"特殊橱窗",mixins:[bl],panel:mi,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Ci(Ci({name:"特殊橱窗",alias:"特殊橱窗",text:"特殊橱窗 >",goods_pic:"",pathData:{},type:Ai},rl),{},{width:882,height:592,widthDisabled:!0,heightDisabled:!0,wgtTextColor:"#ffffffff",wgtBackgroundColor:"#FF5D02",wgtBorderRadius:!1,wgtTitleColor:"#3B3B3B",wgtTitleFontSize:18,wgtSubTitleColor:"#8C8C8C",wgtSubTitleFontSize:16,data:[{text:"精选",goods_id:"",data:[{goods_id:"",goods_pic:"",price:1231,goods_name:"流行饰品1",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,goods_name:"大牌腕表2",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,goods_name:"眼镜烟具3",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,goods_name:"黄金珠宝4",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]}],foregroundColor:"#ffffffff",imgWidth:200,imgHeight:200}),data:function(){return{defaultImg:"",tabIndex:0,imgWidth:0,imgHeight:0,leftWidth:.3333}},components:{ImgWrap:gt,linkPage:Vl},computed:{goodsImageStyle:function(){this.value;return{width:200,height:200}}},created:function(){if(this.isRenderMode()){var l=this.value.data;l.forEach((function(l){l.data.forEach((function(l){l.goods_id||(l={goods_id:"",goods_pic:"",title:"",price:0,goods_name:"商品名称",brief:"副标题文案最多控制2行内",tagList:[],linkPage:"goods",linkPageLabel:"商品"})}))}))}},methods:{callback:function(){},handleOverShow:function(l){this.tabIndex=l},handleClickGoodsItem:function(l){this.isRenderMode()&&this.$router.push(dl[l.linkPage](l))}}},yi=wi,_i=(a("8ec6"),Object(v["a"])(yi,ui,gi,!1,null,null,null)),Ii=_i.exports,ki=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0018",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-W0018-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-W0018-body widget-body",style:l.widgetBodyStyle},[t("span",{staticClass:"swiper-container-title"},[l._v(l._s(l.value.mainTitle))]),l.reloadSwiper?t("swiper",{staticClass:"swiper-container",attrs:{options:l.swiperOption}},[l._l(l.value.data,(function(a,e){return t("swiper-slide",{key:e},l._l(a.data,(function(a,e){return t("div",{staticClass:"goods-list-wrap"},[t("div",{staticClass:"goods-wrap__info"},[t("linkPage",{attrs:{mode:l.mode,to:"/items/".concat(a.goods_id)}},[t("div",{staticClass:"goods-title",style:{color:l.value.wgtTitleColor,fontSize:l.value.wgtTitleFontSize+"px"}},[l._v("\n "+l._s(a.goods_name)+"\n ")]),t("div",{staticClass:"goods-item_price"},[t("goodsPrice",{staticClass:"mkt-price",attrs:{theme:l.value.wgtPriceColor,value:a.price/100,afontSize:l.value.wgtPriceFontSize,marginTop:"1",toFixed:l.value.wgtToFixed}}),t("goodsPrice",{staticClass:"mkt-original-price",attrs:{theme:"#8C8C8C",value:a.market_price/100,afontSize:l.value.wgtPriceFontSize-4,marginTop:"1",toFixed:l.value.wgtToFixed}})],1),t("ImgWrap",{attrs:{src:a.goods_pic,width:90,height:90}})],1)],1)])})),0)})),t("div",{staticClass:"swiper-pagination",class:[l.value.styleType,l.paginationAlign.textAlign],style:l.paginationAlign,attrs:{slot:"pagination"},slot:"pagination"})],2):l._e(),"style5"==l.value.styleType?t("div",{staticClass:"custom-pagination",class:[l.paginationAlign.textAlign]},l._l(l.value.data,(function(a,e){return t("img",{key:"pg-img__".concat(e),class:{active:l.swiperActiveIndex==e},attrs:{src:a.imgUrl,width:"100"}})})),0):l._e()],1)])],2)},Oi=[],Ei=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0018-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"主标题:"}},[t("Input",{model:{value:l.activeElement.mainTitle,callback:function(t){l.$set(l.activeElement,"mainTitle",t)},expression:"activeElement.mainTitle"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"自动播放:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.autoplay,callback:function(t){l.$set(l.activeElement,"autoplay",t)},expression:"activeElement.autoplay"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"延时时间:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.autoplaySpeed,callback:function(t){l.$set(l.activeElement,"autoplaySpeed",t)},expression:"activeElement.autoplaySpeed"}})],1)],1),t("panelBar",{attrs:{title:"指示点"}},[t("attr-field",{attrs:{label:"样式:"}},[t("Select",{attrs:{size:"small","label-in-value":""},model:{value:l.activeElement.styleType,callback:function(t){l.$set(l.activeElement,"styleType",t)},expression:"activeElement.styleType"}},l._l(l.styleList,(function(a){return t("Option",{key:a.value,attrs:{value:a.value,label:a.label}},[t("img",{attrs:{src:a.img,alt:"",width:"24"}}),t("div",[l._v(l._s(a.label))])])})),1)],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"位置:"}},[t("RadioGroup",{model:{value:l.activeElement.pointAlign,callback:function(t){l.$set(l.activeElement,"pointAlign",t)},expression:"activeElement.pointAlign"}},[t("Radio",{attrs:{label:"left"}},[t("span",[l._v("居左")])]),t("Radio",{attrs:{label:"center"}},[t("span",[l._v("居中")])]),t("Radio",{attrs:{label:"right"}},[t("span",[l._v("居右")])])],1)],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选中:",labelTop:""}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.customerThemeEnabled,callback:function(t){l.$set(l.activeElement,"customerThemeEnabled",t)},expression:"activeElement.customerThemeEnabled"}}),t("div",{staticClass:"division"}),t("color-picker",{model:{value:l.activeElement.pointActiveColor,callback:function(t){l.$set(l.activeElement,"pointActiveColor",t)},expression:"activeElement.pointActiveColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"默认:"}},[t("color-picker",{model:{value:l.activeElement.pointDefaultColor,callback:function(t){l.$set(l.activeElement,"pointDefaultColor",t)},expression:"activeElement.pointDefaultColor"}})],1)],1),t("panelBar",{attrs:{title:"字体设置"}},[t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0,max:27},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleColor,callback:function(t){l.$set(l.activeElement,"wgtTitleColor",t)},expression:"activeElement.wgtTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"价格字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtPriceFontSize,callback:function(t){l.$set(l.activeElement,"wgtPriceFontSize",t)},expression:"activeElement.wgtPriceFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"保留小数:"}},[t("InputNumber",{attrs:{size:"small",min:0,max:2},model:{value:l.activeElement.wgtToFixed,callback:function(t){l.$set(l.activeElement,"wgtToFixed",t)},expression:"activeElement.wgtToFixed"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"价格颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtPriceColor,callback:function(t){l.$set(l.activeElement,"wgtPriceColor",t)},expression:"activeElement.wgtPriceColor"}})],1)],1),t("panelBar",{attrs:{title:"商品列表"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.handleAdd}},[l._v("添加标签商品")]),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-top":"10px"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n 标签"+l._s(Number(e)+1)+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选择商品:"}},[t("dataBind",{attrs:{value:a.data,imgPicker:!1,filterMenu:["goods"],multiple:!0,customPath:!1,activeKey:"goods_id",placeholder:"选择商品"},on:{pathOnChange:function(t){return l.onChangePath(t,e)}}})],1)],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Pi=[],xi={name:"W0018Props",props:["activeElement"],data:function(){return{data:{},test:"",styleList:[{img:a("a0fe"),label:"样式一",value:"style1"},{img:a("0aac"),label:"样式二",value:"style2"},{img:a("5553"),label:"样式三",value:"style3"},{img:a("583b"),label:"样式四",value:"style4"},{img:a("3f62"),label:"样式五",value:"style5"}]}},components:{panelBar:P,attrField:p,colorPicker:y,basicSet:Dl,dataBind:$},methods:{change:function(){},handleAdd:function(){console.log("this.activeElement",this.activeElement),this.activeElement.data.length<5?this.activeElement.data.push({data:[{goods_id:"",goods_pic:"",price:1231,market_price:3333,goods_name:"流行饰品1",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,market_price:3333,goods_name:"大牌腕表2",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,market_price:3333,goods_name:"眼镜烟具3",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,market_price:3333,goods_name:"黄金珠宝4",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]}):this.$Message.error("最多只能添加5组商品列表")},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该商品列表?",onOk:function(){t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1组商品列表")}})},handleImgOnChange:function(l,t){this.activeElement.data[l].imgUrl=t},handlePathOnChange:function(l,t){this.activeElement.data[l].pathData=t},onChangePath:function(l,t){var a=l.map((function(l){var t=l.goods_id,a=l.itemId,e=l.pics,n=l.price,o=l.item_name,i=l.linkPage,c=l.linkPageLabel,s=l.title,r=l.brief,u=l.market_price;return{goods_id:t,itemId:a,goods_pic:e.length>0?e[0]:"",price:n,goods_name:o,linkPage:i,title:s,brief:r,market_price:u,linkPageLabel:c}}));this.activeElement.data[t].data=a}}},Si=xi,ji=(a("c7cb"),Object(v["a"])(Si,Ei,Pi,!1,null,null,null)),Ti=ji.exports;function Bi(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Di(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Bi(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Bi(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Li="W0018",Ri={name:Li,icon:"icon-lunbo",title:"热卖橱窗",mixins:[bl],panel:Ti,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Di(Di({name:"热卖橱窗",alias:"热卖橱窗",text:"热卖橱窗",type:Li},rl),{},{width:307,height:593,widthDisabled:!0,heightDisabled:!0,proportion:"disabled",styleType:"style1",pointAlign:"right",pointDefaultColor:"#000000ff",pointActiveColor:"#ff0000ff",data:[{data:[{goods_id:"",goods_pic:"",price:1231,market_price:3333,goods_name:"流行饰品1",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,market_price:3333,goods_name:"大牌腕表2",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,market_price:3333,goods_name:"眼镜烟具3",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,market_price:3333,goods_name:"黄金珠宝4",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]},{data:[{goods_id:"",goods_pic:"",price:1231,market_price:3333,goods_name:"流行饰品1",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,market_price:3333,goods_name:"大牌腕表2",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,market_price:3333,goods_name:"眼镜烟具3",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,market_price:3333,goods_name:"黄金珠宝4",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]},{data:[{goods_id:"",goods_pic:"",price:1231,market_price:3333,goods_name:"流行饰品1",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:4234,market_price:3333,goods_name:"大牌腕表2",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:68.9,market_price:3333,goods_name:"眼镜烟具3",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:220,market_price:3333,goods_name:"黄金珠宝4",brief:"璀璨夺目甄选好礼",tagList:[],linkPage:"goods",linkPageLabel:"商品"}]}],autoplay:!1,autoplaySpeed:2e3,dots:"none",radiusDot:!1,trigger:"click",arrow:"never",wgtTitleFontSize:14,wgtTitleColor:"#3B3B3B",mainTitle:"最新热卖",wgtPriceFontSize:20,wgtPriceColor:"#FF0036",wgtToFixed:2,color:"#ffffff",activeColor:"#8391a5"}),components:{Swiper:Il["Swiper"],SwiperSlide:Il["SwiperSlide"],linkPage:Vl,ImgWrap:gt,goodsPrice:Y},data:function(){var l=this,t=this.value,a=t.autoplay,e=t.autoplaySpeed,n=!!a&&{delay:e},o=this;return{swiperOption:{autoplay:n,loop:!0,pagination:{el:".swiper-pagination",type:"custom",renderCustom:function(t,a,e){var n=l.value,o=n.styleType,i=n.pointDefaultColor,c=n.pointActiveColor,s=n.customerThemeEnabled,r="";switch(o){case"style1":r='<span class="pag-style1">'.concat(a,"/").concat(e,"</span>");break;case"style2":r='<span class="pag-style2">'.concat(a,"/").concat(e,"</span>");break;case"style3":for(var u=1;u<=e;u++)r+='<span class="pag-style3" style="background: '.concat(u!=a?i:s?c:l.pageProps?l.pageProps.themeColor:"inherit",'"></span>');break;case"style4":for(var g=1;g<=e;g++)r+='<span class="pag-style4" style="background: '.concat(g!=a?i:s?c:l.pageProps?l.pageProps.themeColor:"inherit",'"></span>');break;default:break}return r}},on:{slideChange:function(){this.activeIndex==o.value.data.length+1?o.swiperActiveIndex=0:0==this.activeIndex?o.swiperActiveIndex=o.value.data.length-1:o.swiperActiveIndex=this.activeIndex-1}}},swiperActiveIndex:0,reloadSwiper:!0}},computed:{swiperObj:function(){return this.$refs.mySwiper.swiper},paginationAlign:function(){return{textAlign:this.value.pointAlign}}},watch:{value:{handler:function(l,t){var a=this;this.reloadSwiper=!1;var e=this.value,n=e.autoplay,o=e.autoplaySpeed,i=!!n&&{delay:o};this.swiperOption.autoplay=i,this.$nextTick((function(l){console.log("reloadSwiper..."),a.reloadSwiper=!0}))},deep:!0}},methods:{callback:function(){}}},Fi=Ri,zi=(a("49ae"),Object(v["a"])(Fi,ki,Oi,!1,null,null,null)),Wi=zi.exports,Mi=function(){var l=this,t=l._self._c;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:l.loading,expression:"loading"}],staticClass:"widget-W0019",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-W0019-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-W0019-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-goods"},[t("div",{staticClass:"wgt-goodstab_tab"},[t("div",{staticClass:"title",style:{backgroundColor:l.value.wgtTitleBackgroundColor,borderRadius:"".concat(l.value.wgtTitleBorderRadius?"15px":"0px")}},[t("span",{staticClass:"title-span",style:{color:l.value.wgtTitleTextColor,fontSize:"".concat(l.value.wgtTitleFontSize,"px")}},[l._v(l._s(l.value.text))])]),t("ul",{staticClass:"tabList"},l._l(l.value.selectTagList,(function(a,e){return t("li",{key:"tabitem__".concat(e),staticClass:"tabItem",class:{active:e==l.tabIndex},on:{mousedown:function(t){return l.handleOverShow(e)}}},[l._v(l._s(a.tag_name))])})),0),t("div",{staticClass:"more",style:{fontSize:"".concat(l.value.wgtMoreTitleFontSize,"px"),color:l.value.wgtMoreTitleColor,marginRight:"".concat(l.value.wgtMoreRightMargin,"px")}},[t("nuxt-link",{attrs:{name:"tag",to:"/shops/near"}},[l._v(l._s(l.value.moreText))])],1)]),t("ul",{class:"wgt-goods_list",attrs:{id:"wgt-goods_list__".concat(l.value.uuid)}},l._l(l.shopList,(function(a,e){return t("li",{key:"goods-item__".concat(e),staticClass:"goods-item",style:{border:"".concat(l.value.wgtShopBorder?l.value.wgtShopBorderWidth:0,"px solid"),borderColor:l.value.wgtShopBorderColor}},[t("linkPage",{staticClass:"goods-item_wrap",attrs:{mode:l.mode,to:"shops/info?distributor_id=".concat(a.distributor_id)}},[t("div",{staticClass:"goods-item_img"},[t("ImgWrap",{attrs:{src:a.banner,width:214,height:130}})],1),t("div",{staticClass:"goods-item_logo"},[t("ImgWrap",{attrs:{borderRadius:35,src:a.logo,width:70,height:70}})],1),t("div",{staticClass:"goods-item_title",style:{fontSize:"".concat(l.value.wgtShopNameFontSize,"px"),color:l.value.wgtShopNameColor}},[l._v("\n "+l._s(a.name)+"\n ")])])],1)})),0)])])])],2)},$i=[],Ni=(a("a481"),function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0019-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtTitleBackgroundColor",t)},expression:"activeElement.wgtTitleBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"标题圆角:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtTitleBorderRadius,callback:function(t){l.$set(l.activeElement,"wgtTitleBorderRadius",t)},expression:"activeElement.wgtTitleBorderRadius"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleTextColor,callback:function(t){l.$set(l.activeElement,"wgtTitleTextColor",t)},expression:"activeElement.wgtTitleTextColor"}})],1)],1),t("panelBar",{attrs:{title:"标设置"}},[t("Button",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{type:"primary"},on:{click:l.tatListOnChange}},[l._v("\n 选择标签")])],1),t("panelBar",{attrs:{title:"更多 标题设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.moreText,callback:function(t){l.$set(l.activeElement,"moreText",t)},expression:"activeElement.moreText"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:10},model:{value:l.activeElement.wgtMoreTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtMoreTitleFontSize",t)},expression:"activeElement.wgtMoreTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtMoreTitleColor,callback:function(t){l.$set(l.activeElement,"wgtMoreTitleColor",t)},expression:"activeElement.wgtMoreTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"右边距:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtMoreRightMargin,callback:function(t){l.$set(l.activeElement,"wgtMoreRightMargin",t)},expression:"activeElement.wgtMoreRightMargin"}})],1)],1),t("panelBar",{attrs:{title:"商家设置"}},[t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtShopNameColor,callback:function(t){l.$set(l.activeElement,"wgtShopNameColor",t)},expression:"activeElement.wgtShopNameColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体大小:"}},[t("InputNumber",{attrs:{size:"small",min:14},model:{value:l.activeElement.wgtShopNameFontSize,callback:function(t){l.$set(l.activeElement,"wgtShopNameFontSize",t)},expression:"activeElement.wgtShopNameFontSize"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"边框"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtShopBorder,callback:function(t){l.$set(l.activeElement,"wgtShopBorder",t)},expression:"activeElement.wgtShopBorder"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"边框颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtShopBorderColor,callback:function(t){l.$set(l.activeElement,"wgtShopBorderColor",t)},expression:"activeElement.wgtShopBorderColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"边框宽度:"}},[t("InputNumber",{attrs:{size:"small",min:0,max:5},model:{value:l.activeElement.wgtShopBorderWidth,callback:function(t){l.$set(l.activeElement,"wgtShopBorderWidth",t)},expression:"activeElement.wgtShopBorderWidth"}})],1)],1)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)}),Ui=[],Vi={name:"W0019Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,colorPicker:y,basicSet:Dl},methods:{tatListOnChange:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t,a,e;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return t=JSON.parse(JSON.stringify(this.activeElement.selectTagList)),l.next=3,this.$picker("shop-tag",{data:[],allList:JSON.parse(JSON.stringify(this.activeElement.allTagList)),selectList:t.slice(1,t.length),multiple:!0});case 3:a=l.sent,e=a.data,e.unshift({tag_id:-1,tag_name:"全部"}),this.activeElement.selectTagList=e;case 7:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}()}},Qi=Vi,Gi=(a("47d5"),Object(v["a"])(Qi,Ni,Ui,!1,null,null,null)),Ji=Gi.exports;function Hi(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Zi(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Hi(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Hi(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Yi="W0019",Ki="5IaKAT5exp7lhdRsNDTWKXrvqZLytIFg",qi={name:Yi,icon:"icon-shangpin",title:"附近商家",mixins:[bl],panel:Ji,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Zi(Zi({name:"附近商家",alias:"附近商家",text:"附近商家",type:Yi},rl),{},{showMore:!0,moreText:"查看更多>",moreLinkData:{},columnNums:5,widthDisabled:!0,height:565,heightDisabled:!0,data:[],selectTagList:[],allTagList:[],wgtTitleBorderRadius:!0,wgtTitleBackgroundColor:"#FF5A00",wgtTitleTextColor:"#FFFFFF",wgtTitleFontSize:18,wgtMoreTitleColor:"#8C8C8C",wgtMoreTitleFontSize:14,wgtMoreRightMargin:10,wgtShopNameColor:"#333333",wgtShopNameFontSize:18,wgtShopBorder:!1,wgtShopBorderColor:"#333333",wgtShopBorderWidth:0}),data:function(){return{tabIndex:0,loading:!1,shopList:[]}},components:{linkPage:Vl,ImgWrap:gt},computed:{},watch:{"value.data":{handler:function(l,t){},deep:!0},"value.location":{handler:function(l,t){l&&this.localPosition()},deep:!0}},created:function(){var l=this;window.init=function(){l.initMap()}},mounted:function(){"index"==this.$route.name?this.loadScript():this.getShopListAdmin()},methods:{handleOverShow:function(l){if(this.tabIndex=l,0==l)this.value.data=this.shopList;else{var t=this.value.selectTagList[l],a=[];this.shopList.forEach((function(l){l.tagList.forEach((function(e){e.tag_id==t.tag_id&&a.push({name:l.name,tag:e.tag_name,banner:l.banner,logo:l.logo})}))})),this.value.data=a}console.log(JSON.stringify(a))},loadScript:function(){var l=document.createElement("script");l.type="text/javascript",l.charset="utf-8",l.src="https://api.map.baidu.com/api?v=2.0&ak=".concat(Ki,"&callback=init"),document.body.appendChild(l),console.log("动态加载SDK")},initMap:function(l){console.log("地图初始化");new BMap.Map("map-container1");this.localPosition()},localPosition:function(){var l=this,t=new BMap.Geolocation,a=new BMap.Geocoder;t.getCurrentPosition((function(t){if(this.getStatus()==BMAP_STATUS_SUCCESS){new BMap.Marker(t.point);null!=t.accuracy&&"null"!=t.accuracy||new BMap.Marker(t.point);var e=t.point;a.getLocation(e,(function(a){var e=a.addressComponents,n=e.province;e.city;localStorage.setItem("position",JSON.stringify(t));var o={lat:t.point.lat,lng:t.point.lng,show_discount:1,company_id:1,province:t.point.lat?e.province:"北京市",city:t.point.lat?e.city:"北京市",area:t.point.lat?e.district:"昌平区",type:t.point.lat?0:1,sort_type:1};n=n.replace(/市/i,""),l.getShopList(o)}))}else alert("failed"+this.getStatus())}),{enableHighAccuracy:!0})},changeWgtHeight:function(){this.value.height=document.getElementById("wgt-goods_title__".concat(this.value.uuid)).clientHeight+document.getElementById("wgt-goods_list__".concat(this.value.uuid)).clientHeight+20},getShopList:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t){var a,e,n,o,i;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return this.loading=!0,l.next=3,this.$api.item.getNearbyShop(t);case 3:for(a=l.sent,e=a.list,n=a.tagList,this.value.data=[],this.shopList=e,o=e.length>=10?10:e.length,i=0;i<o;i++)this.value.data.push(e[i]);this.value.allTagList=JSON.parse(JSON.stringify(n)),n.unshift({tag_id:-1,tag_name:"全部"}),this.value.selectTagList=n,this.loading=!1;case 14:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}(),getShopListAdmin:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(){var t,a,e,n,o;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return l.next=2,this.$api.item.getNearbyShop({show_discount:1,company_id:1,type:1,sort_type:1});case 2:for(t=l.sent,a=t.list,e=t.tagList,this.value.data=[],this.shopList=a,n=a.length>=10?10:a.length,o=0;o<n;o++)this.value.data.push(a[o]);this.value.allTagList=JSON.parse(JSON.stringify(e)),e.unshift({tag_id:-1,tag_name:"全部"}),this.value.selectTagList=e,this.loading=!1;case 13:case"end":return l.stop()}}),l,this)})));function t(){return l.apply(this,arguments)}return t}()}},Xi=qi,lc=(a("441c"),Object(v["a"])(Xi,Mi,$i,!1,null,null,null)),tc=lc.exports,ac=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0020",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-W0020-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-W0020-body widget-body",style:l.widgetBodyStyle},[t("div",{directives:[{name:"show",rawName:"v-show",value:!l.value.wgtHiddenTitle,expression:"!value.wgtHiddenTitle"}],staticClass:"wgt-shop_title",attrs:{id:"wgt-shop_title__".concat(l.value.uuid)}},[t("div",{staticClass:"name",class:{"bg-null":!l.value.titleBackground},style:{textAlign:l.value.titleAlign,background:"linear-gradient(90deg, ".concat(l.value.wgtBackgroundColor1," 0%, ").concat(l.value.wgtBackgroundColor2," 100%)"),fontSize:l.value.wgtTitleFontSize+"px"}},[t("linkPage",{staticClass:"more",attrs:{ctitleColor:l.value.wgtTitleColor,mode:l.mode,to:l.handleLinkPage(l.value.moreLinkData)}},[l._v("\n "+l._s(l.value.text)+"\n ")])],1)]),t("ul",{class:"wgt-shop_list",attrs:{id:"wgt-shop_list__".concat(l.value.uuid)}},l._l(l.value.data,(function(a,e){return t("li",{key:"shop-item__".concat(e),staticClass:"shop-item"},[t("div",{staticClass:"shop-item_wrap"},[t("div",{staticClass:"shop-item-top"},[t("div",{staticClass:"shop-item-top_img"},[t("ImgWrap",{attrs:{src:a.shop_pic,width:583,height:96}})],1)]),t("div",{staticClass:"shop-item-content"},[t("linkPage",{staticClass:"shop-item-content_img",attrs:{to:"shops/info?distributor_id=".concat(a.shop_id),mode:l.mode}},[t("ImgWrap",{attrs:{src:a.banner,width:149,height:246}})],1),t("linkPage",{staticClass:"shop-item-content_logo",attrs:{to:"shops/info?distributor_id=".concat(a.shop_id),mode:l.mode}},[t("ImgWrap",{attrs:{borderRadius:40,src:a.logo,width:80,height:80}})],1),t("div",{staticClass:"shop-item-content_title"},[l._v("\n "+l._s(a.shop_name)+"\n ")]),t("div",{staticClass:"shop-item-content_tag-list"},l._l(a.tag_list,(function(a,e){return t("span",{key:"goods-tag__".concat(e),staticClass:"shop-item-content_tag-list_text"},[l._v(l._s(a.tag_name))])})),0)],1),t("div",{staticClass:"goods-list"},l._l(a.goods_list,(function(a,e){return t("div",{key:"goods-list-item".concat(e),staticClass:"goods-list-item"},[l.showItem(a)?t("div",{staticClass:"goods-list-item__warp"},[t("linkPage",{staticClass:"goods-list-item__warp_img",attrs:{to:"items/".concat(a.goods_id),mode:l.mode}},[t("ImgWrap",{attrs:{to:122,src:a.goods_pic,width:118,height:118}})],1),t("div",{staticClass:"goods-list-item__warp_title"},[l._v("\n "+l._s(a.goods_name)+"\n ")]),t("div",{staticClass:"goods-list-item__warp_price"},[t("goodsPrice",{staticClass:"mkt-price",attrs:{afontSize:14,marginTop:"1",theme:l.value.wgtPriceColor,value:a.price/100}})],1)],1):l._e()])})),0)])])})),0)])])],2)},ec=[],nc=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0020-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"基本设置"}},[t("attr-field",{attrs:{label:"标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"标题位置:"}},[t("RadioGroup",{model:{value:l.activeElement.titleAlign,callback:function(t){l.$set(l.activeElement,"titleAlign",t)},expression:"activeElement.titleAlign"}},[t("Radio",{attrs:{label:"left"}},[t("span",[l._v("居左")])]),t("Radio",{attrs:{label:"center"}},[t("span",[l._v("居中")])]),t("Radio",{attrs:{label:"right"}},[t("span",[l._v("居右")])])],1)],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"隐藏标题:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtHiddenTitle,callback:function(t){l.$set(l.activeElement,"wgtHiddenTitle",t)},expression:"activeElement.wgtHiddenTitle"}})],1),t("div",{staticClass:"division"}),t("attrField",{attrs:{label:"标题背景:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.titleBackground,callback:function(t){l.$set(l.activeElement,"titleBackground",t)},expression:"activeElement.titleBackground"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTitleColor,callback:function(t){l.$set(l.activeElement,"wgtTitleColor",t)},expression:"activeElement.wgtTitleColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor1,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor1",t)},expression:"activeElement.wgtBackgroundColor1"}}),t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor2,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor2",t)},expression:"activeElement.wgtBackgroundColor2"}})],1)],1),t("panelBar",{attrs:{title:"商铺列表"}},[t("div",{staticClass:"division"}),t("attrField",{attrs:{width:100,label:"隐藏未选择商品:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtHideUnselectedItems,callback:function(t){l.$set(l.activeElement,"wgtHideUnselectedItems",t)},expression:"activeElement.wgtHideUnselectedItems"}})],1),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-top":"10px"},model:{value:l.activeElement.data,callback:function(t){l.$set(l.activeElement,"data",t)},expression:"activeElement.data"}},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n 商铺"+l._s(e+1+" : "+a.shop_name)+"\n "),t("div",{attrs:{slot:"content"},slot:"content"},[t("shopBind",{staticStyle:{width:"100%",margin:"0 auto"},attrs:{shopOnChange:l.shopOnChange.bind(this,e)}}),t("div",{staticClass:"tip"},[l._v("顶部图片 图片分辨率:538px * 96px")]),t("div",{staticClass:"division"}),t("dataBind",{attrs:{imgData:a.shop_pic,pathData:a.pathData,imgOnChange:l.handleImgOnChange.bind(this,e),pathOnChange:l.handlePathOnChange.bind(this,e)}}),t("div",{staticClass:"division"}),t("div",{staticClass:"tip"},[l._v("上下拖动图片可以改变商品排序")]),t("div",{staticClass:"tip"},[l._v("点击图片可以选择商品")]),t("ul",[t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:l.activeElement.data[e].goods_list,callback:function(t){l.$set(l.activeElement.data[e],"goods_list",t)},expression:"activeElement.data[i].goods_list"}},l._l(a.goods_list,(function(n,o){return t("li",{key:"wgt-propsitem__".concat(o),staticClass:"wgt-props"},[t("div",{staticClass:"wgt-props_img",on:{click:function(t){return l.handleClickPickerGoods(a,n,e,o)}}},[t("img",{attrs:{src:n.goods_pic}})]),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(n.goods_name))])])])})),0)],1)],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},oc=[],ic={name:"W0020Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,colorPicker:y,basicSet:Dl,shopBind:al},methods:{deleteSop:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该商铺?",onOk:function(){t.activeElement.data.length>0&&(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!"))}})},deleteItem:function(l,t){var a=this;this.$Modal.confirm({title:"提示",content:"确定删除该商品?",onOk:function(){a.activeElement.data.length>0&&(a.activeElement.data[l].goods_list.splice(t,1),a.$Message.success("删除成功!"))}})},handleImgOnChange:function(l,t){this.activeElement.data[l].shop_pic=t},handlePathOnChange:function(l,t){this.activeElement.data[l].dataPath=t},handleClickPickerGoods:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t,a,e,n){var o,i,c,s,r,u,g,d,v;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(""!=t.shop_id){l.next=3;break}return this.$Message.error("请先选择商铺"),l.abrupt("return");case 3:return l.next=5,this.$picker("shop-goods",{data:JSON.parse(JSON.stringify(a)),shop:t});case 5:o=l.sent,i=o.data,c=i.goods_id,s=i.pics,r=i.price,u=i.item_name,g=i.linkPage,d=i.linkPageLabel,i.market_price,v={goods_id:c,goods_pic:s.length>0?s[0]:"",price:r,goods_name:u,linkPage:g,linkPageLabel:d},console.log(i),this.$set(this.activeElement.data[e].goods_list,n,v);case 11:case"end":return l.stop()}}),l,this)})));function t(t,a,e,n){return l.apply(this,arguments)}return t}(),shopOnChange:function(l,t){var a=t.distributor_id,e=(t.company_id,t.name),n=(t.address,t.logo),o=t.banner,i=t.tagList,c={shop_id:a,shop_pic:"",pathData:{},shop_name:e,logo:n,banner:o,tag_list:i.length>2?i.slice(0,2):i,goods_list:[{goods_id:"",goods_pic:"",price:1799,goods_name:"商品名1",pathData:{},linkPage:"",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1799,goods_name:"商品名2",pathData:{},linkPage:"",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1799,goods_name:"商品名3",pathData:{},linkPage:"",linkPageLabel:"商品"}]};this.$set(this.activeElement.data,l,c)}}},cc=ic,sc=(a("843c"),Object(v["a"])(cc,nc,oc,!1,null,null,null)),rc=sc.exports;function uc(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function gc(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?uc(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):uc(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var dc="W0020",vc={name:dc,icon:"icon-shangpin",title:"为你推荐",mixins:[bl],panel:rc,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:gc(gc({name:"为你推荐",alias:"为你推荐",text:"为你推荐",type:dc},rl),{},{showMore:!0,columnNums:2,widthDisabled:!0,height:430,heightDisabled:!0,moreLinkData:{},data:[{shop_id:"",shop_name:"小米旗舰店1",shop_pic:"",pathData:{},banner:"",logo:"",tag_list:[{tag_id:"",tag_name:"店铺标签1"},{tag_id:"",tag_name:"店铺标签2"}],goods_list:[{goods_id:"",goods_pic:"",price:1799,goods_name:"Redmi K40骁龙..",linkPage:"",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1799,goods_name:"Redmi K40骁龙1123123123",linkPage:"",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1799,goods_name:"Redmi K40骁龙..",linkPage:"",linkPageLabel:"商品"}]},{shop_id:"",shop_name:"小米旗舰店2",shop_pic:"",banner:"",logo:"",pathData:{},tag_list:[{tag_id:"",tag_name:"店铺标签1"},{tag_id:"",tag_name:"店铺标签2"}],goods_list:[{goods_id:"",goods_pic:"",price:1799,goods_name:"商品名1",pathData:{},linkPage:"",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1799,goods_name:"商品名2",pathData:{},linkPage:"",linkPageLabel:"商品"},{goods_id:"",goods_pic:"",price:1799,goods_name:"商品名3",pathData:{},linkPage:"",linkPageLabel:"商品"}]}],wgtHiddenTitle:!1,titleAlign:"center",titleBackground:!0,wgtBackgroundColor1:"#FF5A00",wgtBackgroundColor2:"#FF8600",wgtTitleFontSize:28,wgtTitleColor:"#FFFFFF",wgtPriceFontSize:18,wgtPriceColor:"#FF0036",wgtHideUnselectedItems:!1}),data:function(){return{}},components:{goodsPrice:Y,linkPage:Vl,ImgWrap:gt},computed:{},watch:{"value.data":{handler:function(l,t){},deep:!0}},created:function(){},mounted:function(){},methods:{showItem:function(l){return!this.value.wgtHideUnselectedItems||""!=l.goods_id},shopClicked:function(l){return"商铺详情"}}},bc=vc,pc=(a("433c"),Object(v["a"])(bc,ac,ec,!1,null,null,null)),hc=pc.exports,mc=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0021",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-W0021-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-W0021-body widget-body",style:l.widgetBodyStyle},[t("div",{staticClass:"wgt-goodstab_tab"},[t("div",{staticClass:"title",style:{backgroundColor:l.value.wgtBackgroundColor,borderRadius:"".concat(l.value.wgtBorderRadius?"15px":"0px")}},[t("span",{staticClass:"title-span",style:{color:l.value.wgtTextColor,fontSize:l.value.wgtTitleFontSize+"px"}},[l._v(l._s(l.value.text))])]),t("div",{staticClass:"tabList",staticStyle:{"margin-left":"26px","margin-top":"25px"}},[t("span",{staticClass:"tabItem",style:{color:l.value.wgtSubTextColor,fontSize:l.value.wgtSubTitleFontSize+"px"}},[l._v(l._s(l.value.subTitle))])]),t("linkPage",{staticClass:"more",attrs:{mode:l.mode,to:l.handleLinkPage(l.value.moreLinkData)}},[l._v("\n "+l._s(l.value.moreText)+"\n "),t("i",{staticClass:"espier-icon espier-icon-xiangyou-01"})])],1),t("div",{staticClass:"wgt-goodstab_goods"},[t("div",{staticClass:"wgt-goodstab_goods_scroll"},l._l(l.value.data,(function(a,e){return t("div",{key:"goods-wrap__".concat(e),class:["goods-wrap",{active:e==l.tabIndex}],attrs:{id:"goods-wrap__".concat(l.value.coupons_id,"_").concat(e)}},[t("div",{staticClass:"goods-wrap__info coupons-list"},l._l(l.value.data,(function(a,e){return t("div",{key:e,staticClass:"goods-image"},[t("linkPage",{attrs:{mode:l.mode}},[!a.icon_url_list&&!a.card_type||a.icon_url_list&&a.card_type?t("ImgWrap",{class:[""!=a.icon_url_list?"conponImg":""],attrs:{src:a.icon_url_list,width:378,height:115}}):l._e(),!a.icon_url_list&&a.card_type?t("div",{class:[a.icon_url_list?"linkHid":"linkItem"]},["discount"==a.card_type?t("p",{staticClass:"discount_title"},[l._v("\n "+l._s(10-a.discount/10)+"\n "),t("span",[l._v("折")])]):l._e(),"cash"==a.card_type?t("p",{staticClass:"discount_title"},[l._v("\n "+l._s(a.reduce_cost/100)+"\n "),t("span",[l._v("RMB")])]):l._e(),"gift"==a.card_type?t("p",{staticClass:"discount_title"},[l._v("\n 适用商品:"+l._s(a.object_use_for)+"\n ")]):l._e(),t("div",{staticClass:"conpon_info"},[t("p",{staticClass:"conpon_title",attrs:{title:a.title}},[l._v(l._s(a.title))]),t("p",{staticClass:"conpon_desc"},[l._v(l._s(a.description))])])]):l._e(),t("span",{staticClass:"btn_receive",on:{click:function(t){return l.handleClickGetCoupon(a)}}},[l._v("领取")])],1)],1)})),0)])})),0)])])])],2)},fc=[],Cc=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-W0021-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"标题设置"}},[t("attr-field",{attrs:{label:"主标题:"}},[t("Input",{model:{value:l.activeElement.text,callback:function(t){l.$set(l.activeElement,"text",t)},expression:"activeElement.text"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor",t)},expression:"activeElement.wgtBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtTitleFontSize",t)},expression:"activeElement.wgtTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"圆角:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.wgtBorderRadius,callback:function(t){l.$set(l.activeElement,"wgtBorderRadius",t)},expression:"activeElement.wgtBorderRadius"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题:"}},[t("Input",{model:{value:l.activeElement.subTitle,callback:function(t){l.$set(l.activeElement,"subTitle",t)},expression:"activeElement.subTitle"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题字体:"}},[t("InputNumber",{attrs:{size:"small",min:0},model:{value:l.activeElement.wgtSubTitleFontSize,callback:function(t){l.$set(l.activeElement,"wgtSubTitleFontSize",t)},expression:"activeElement.wgtSubTitleFontSize"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题字体颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtSubTextColor,callback:function(t){l.$set(l.activeElement,"wgtSubTextColor",t)},expression:"activeElement.wgtSubTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"更多链接:",labelTop:""}},[t("dataBind",{attrs:{imgPicker:!1},model:{value:l.activeElement.moreLinkData,callback:function(t){l.$set(l.activeElement,"moreLinkData",t)},expression:"activeElement.moreLinkData"}})],1)],1),t("panelBar",{attrs:{title:"优惠券列表"}},[t("div",{staticClass:"division"}),l.showGoodsList?t("dataBind",{attrs:{value:l.activeElement.data,imgPicker:!1,filterMenu:["coupons"],multiple:!0,customPath:!1,activeKey:"card_id",placeholder:"选择优惠券"},on:{pathOnChange:l.onChangePath}}):l._e(),l._l(l.activeElement.data,(function(a,e){return t("div",{key:e,staticStyle:{"margin-bottom":"10px","margin-top":"10px"}},[t("ul",[t("draggable",{staticClass:"list-group",attrs:{"ghost-class":"ghost"},model:{value:l.activeElement.data[e],callback:function(t){l.$set(l.activeElement.data,e,t)},expression:"activeElement.data[i]"}},[t("li",{staticClass:"wgt-props"},[t("div",{},[t("dataBind",{key:l.key,attrs:{value:a.icon_url_list,pathPicker:!1,imgData:a.icon_url_list,pathData:a.pathData,imgOnChange:l.handleImgOnChange.bind(this,e),pathOnChange:l.handlePathOnChange.bind(this,e)}})],1),t("div",{staticClass:"wgt-props_content"},[t("h4",{staticClass:"title"},[l._v(l._s(a.title))])]),t("div",{staticClass:"wgt-props_delete",on:{click:function(t){return l.deleteItem(e)}}},[t("i",{staticClass:"mshopdesign icon-shanchu"})])])])],1)])}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Ac=[],wc={name:"W0021Props",props:["activeElement"],data:function(){return{key:0,showGoodsList:!0}},components:{panelBar:P,attrField:p,dataBind:$,basicSet:Dl,colorPicker:y},watch:{"activeElement.data":{handler:function(l,t){},deep:!0},"activeElement.width":{handler:function(l,t){var a=this;setTimeout((function(){a.activeElement.height=60+document.getElementById("goods-wrap__".concat(a.activeElement.uuid,"_0")).clientHeight}),100)},deep:!0}},methods:{handleAdd:function(){this.activeElement.data.push({text:"tab",goods_id:"",data:[{card_id:"",linkPage:"coupons",linkPageLabel:"优惠券"}]}),console.log(this.activeElement)},handleDelete:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该项?",onOk:function(){console.log(t.activeElement),t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!")):t.$Message.error("请至少添加1个优惠券")}}),this.key=this.key+1},deleteItem:function(l){var t=this;this.$Modal.confirm({title:"提示",content:"确定删除该优惠券?",onOk:function(){t.showGoodsList=!1,t.activeElement.data.length>1?(t.activeElement.data.splice(l,1),t.$Message.success("删除成功!"),t.$forceUpdate()):t.$Message.error("请至少添加1个优惠券"),t.showGoodsList=!0}})},onChangePath:function(l){this.activeElement.data=[];var t=l.map((function(l){var t=l.card_id,a=l.card_type,e=l.icon_url_list,n=l.linkPage,o=l.linkPageLabel,i=l.title,c=l.description,s=l.notice,r=l.custom_url,u=l.discount,g=l.least_cost,d=l.reduce_cost,v=l.object_use_for;return{card_id:t,card_type:a,notice:s,icon_url_list:e||"",linkPage:n,title:i,description:c,linkPageLabel:o,custom_url:r,discount:u,least_cost:g,reduce_cost:d,object_use_for:v}}));console.log(this.activeElement.data,"this.activeElement.data11111111111111111111111"),this.activeElement.data=t,this.$forceUpdate(),console.log(this.activeElement.data)},handleImgOnChange:function(l,t){var a=this.activeElement.data[l];a.icon_url_list=t,this.activeElement.data[l]=a},handlePathOnChange:function(l,t){console.log(t),this.activeElement.data[l].icon_url_list=t}}},yc=wc,_c=(a("7eaa"),Object(v["a"])(yc,Cc,Ac,!1,null,null,null)),Ic=_c.exports;function kc(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function Oc(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?kc(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):kc(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Ec="W0021",Pc={name:Ec,icon:"icon-chuchuang1",title:"优惠券",mixins:[bl],panel:Ic,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:Oc(Oc({name:"优惠券",alias:"优惠券",text:"优惠券 >",type:Ec},rl),{},{widthDisabled:!0,height:462,heightDisabled:!0,wgtTextColor:"#ffffffff",wgtBackgroundColor:"#FF5D02",wgtPriceColor:"#FF0036",wgtTitleColor:"#3B3B3B",wgtBorderRadius:!1,wgtTitleFontSize:18,wgtPriceFontSize:18,wgtToFixed:2,subTitle:"副标题",wgtSubTitleFontSize:16,wgtSubTextColor:"#3B3B3B",moreText:"更多",moreLinkData:{},pathData:{},data:[{coupons_id:"",icon_url_list:"",title:"",price:0,coupons_name:"商品名称",linkPage:"coupons",linkPageLabel:"优惠券"},{coupons_id:"",icon_url_list:"",title:"",price:0,coupons_name:"商品名称",linkPage:"coupons",linkPageLabel:"优惠券"},{coupons_id:"",icon_url_list:"",title:"",price:0,coupons_name:"商品名称",linkPage:"coupons",linkPageLabel:"优惠券"}],foregroundColor:"#ffffffff",imgWidth:200,imgHeight:200}),watch:{data:function(l,t){console.log(l),console.log(t)}},data:function(){return{defaultImg:"",tabIndex:0,imgWidth:0,imgHeight:0,leftWidth:.3333}},components:{goodsPrice:Y,ImgWrap:gt,linkPage:Vl},computed:{goodsImageStyle:function(){this.value;return{width:200,height:200}}},created:function(){if(this.isRenderMode()){var l=this.value.data;l.forEach((function(l){console.log(l)})),console.log(JSON.stringify(l))}},methods:{callback:function(){},handleOverShow:function(l){this.tabIndex=l},handleClickGooditem:function(l){this.isRenderMode()&&this.$router.push(dl[l.linkPage](l))},handleClickGetCoupon:function(){var l=Object(j["a"])(regeneratorRuntime.mark((function l(t){var a=this;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(!this.isRenderMode()){l.next=4;break}return l.next=3,this.$api.cart.receiveCard({card_id:t.card_id});case 3:this.$Modal.confirm({title:"领取成功",content:"优惠券领取成功,现在去使用",showFooter:!0,onOk:function(){a.$router.push("/items?keywords=")},onCancel:function(){}});case 4:case"end":return l.stop()}}),l,this)})));function t(t){return l.apply(this,arguments)}return t}()}},xc=Pc,Sc=(a("bbe4"),a("9f54"),Object(v["a"])(xc,mc,fc,!1,null,null,null)),jc=Sc.exports,Tc=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0022",style:l.widgetStyle},[l._t("default"),t("div",{staticClass:"widget-w0022-inner widget-inner",style:l.widgetInnerStyle},[t("div",{staticClass:"widget-w0022-body widget-body",style:l.widgetBodyStyle},[t("div",{class:["all-category",l.value.hover?"open":"hover"],on:{mouseover:l.mouseoverCategory,mouseleave:l.mouseLeaveCategory}},[t("div",{staticClass:"all-category__btn",style:{backgroundColor:l.value.wgtTypeBackgroundColor,color:l.value.wgtTypeLabelColor,fontWeight:"800"}},[l._v("\n 全部商品分类\n ")]),t("div",{staticClass:"category-list"},l._l(l.value.categoryData,(function(a){return t("div",{key:"category-".concat(a.category_id),staticClass:"category-main",on:{mouseover:function(t){l.btnHover=a.category_id},mouseleave:function(t){l.btnHover=""}}},[t("div",{staticClass:"category-main__btn",style:{backgroundColor:l.btnHover!=a.category_id?l.value.wgtBackgroundColor:l.value.wgtSelectColor}},[t("img",{staticClass:"category-main__btn__img",attrs:{src:a.image_url,width:"16",height:"16"}}),t("span",{staticClass:"category-main__btn_title",style:{color:l.value.wgtTextColor}},[l._v(l._s(a.category_name))]),t("br"),l._l(a.children,(function(a,e){return t("span",{key:"w22_"+e,staticClass:"category-main__btn_subtitle",class:0==e?"category-main__btn_subtitle__first":"",style:{color:l.value.wgtSubTextColor}},[l._v("\n "+l._s(a.category_name)+"\n ")])}))],2),a.children?[t("div",{staticClass:"category-main__con"},l._l(a.children,(function(a,e){return t("div",{key:"scategory-".concat(e),staticClass:"category-child"},[t("linkPage",{staticClass:"category-child__btn",attrs:{ctitleColor:"#3B3B3B",mode:l.mode,to:"/items?main_category=".concat(a.category_id)}},[l._v(l._s(a.category_name))]),a.children?t("div",{staticClass:"category-subchild-main"},l._l(a.children,(function(a,e){return t("div",{key:"tcategory-".concat(e),staticClass:"category-subchild",attrs:{ctitleColor:"#8C8C8C"}},[t("span",{staticClass:"category-subchild__line"},[l._v("|")]),t("linkPage",{staticClass:"category-subchild__btn",attrs:{mode:l.mode,to:"/items?main_category=".concat(a.category_id)}},[l._v(" "+l._s(a.category_name))])],1)})),0):l._e()],1)})),0)]:l._e()],2)})),0)]),t("div",{staticClass:"navs-con"},l._l(l.value.data,(function(a,e){return t("linkPage",{key:"nav-item__".concat(e),staticClass:"nav-item",attrs:{mode:l.mode,to:l.handleLinkPage(a.pathData),ctitleColor:a.wgtHotKeywordTextColor}},[l._v(l._s(a.title))])})),1)])])],2)},Bc=[],Dc=function(){var l=this,t=l._self._c;return t("div",{staticClass:"widget-w0022-props"},[t("Tabs",{attrs:{value:"name1",animated:!1}},[t("TabPane",{staticStyle:{overflow:"auto"},attrs:{label:"".concat(l.activeElement.name,"[").concat(l.activeElement.type,"]"),name:"name1"}},[t("panelBar",{attrs:{title:"属性"}},[t("attr-field",{attrs:{label:"常开:"}},[t("iSwitch",{attrs:{size:"small"},model:{value:l.activeElement.hover,callback:function(t){l.$set(l.activeElement,"hover",t)},expression:"activeElement.hover"}})],1)],1),t("panelBar",{attrs:{title:"颜色"}},[t("attr-field",{attrs:{label:"商品分类背景:"}},[t("color-picker",{model:{value:l.activeElement.wgtTypeBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtTypeBackgroundColor",t)},expression:"activeElement.wgtTypeBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"商品分类字体:"}},[t("color-picker",{model:{value:l.activeElement.wgtTypeLabelColor,callback:function(t){l.$set(l.activeElement,"wgtTypeLabelColor",t)},expression:"activeElement.wgtTypeLabelColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"背景颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtBackgroundColor,callback:function(t){l.$set(l.activeElement,"wgtBackgroundColor",t)},expression:"activeElement.wgtBackgroundColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"选中颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtSelectColor,callback:function(t){l.$set(l.activeElement,"wgtSelectColor",t)},expression:"activeElement.wgtSelectColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtTextColor,callback:function(t){l.$set(l.activeElement,"wgtTextColor",t)},expression:"activeElement.wgtTextColor"}})],1),t("div",{staticClass:"division"}),t("attr-field",{attrs:{label:"副标题颜色:"}},[t("color-picker",{model:{value:l.activeElement.wgtSubTextColor,callback:function(t){l.$set(l.activeElement,"wgtSubTextColor",t)},expression:"activeElement.wgtSubTextColor"}})],1)],1),t("panelBar",{attrs:{title:"分类"}},[t("attr-field",{attrs:{label:"分类链接:"}},[t("dataBind",{attrs:{filterMenu:["maincategory"],multiple:!0,imgPicker:!1,customPath:!1,activeKey:"category_id"},model:{value:l.activeElement.categoryData,callback:function(t){l.$set(l.activeElement,"categoryData",t)},expression:"activeElement.categoryData"}})],1)],1),t("panelBar",{attrs:{title:"菜单"}},[t("Button",{attrs:{type:"primary",long:""},on:{click:l.handleAddNav}},[l._v("添加菜单")]),t("div",{staticClass:"division"}),l._l(l.activeElement.data,(function(a,e){return t("div",{key:"hotsearch-item__".concat(e),staticClass:"navs__item"},[t("Collapse",[t("Panel",{attrs:{name:e.toString()}},[l._v("\n 菜单"+l._s(Number(e)+1)+"\n "),t("span",{staticClass:"delete-btn"},[t("Icon",{attrs:{type:"ios-trash-outline",size:"16"},on:{click:function(t){return t.stopPropagation(),l.handleDelete(e)}}})],1),t("div",{attrs:{slot:"content"},slot:"content"},[t("Input",{staticClass:"nav-input",attrs:{placeholder:"菜单名称"},model:{value:a.title,callback:function(t){l.$set(a,"title",t)},expression:"item.title"}}),t("attr-field",{attrs:{label:"字体颜色:"}},[t("color-picker",{model:{value:a.wgtHotKeywordTextColor,callback:function(t){l.$set(a,"wgtHotKeywordTextColor",t)},expression:"item.wgtHotKeywordTextColor"}})],1),t("div",{staticClass:"division"}),t("dataBind",{attrs:{imgPicker:!1},model:{value:a.pathData,callback:function(t){l.$set(a,"pathData",t)},expression:"item.pathData"}})],1)])],1)],1)}))],2)],1),t("TabPane",{attrs:{label:"组件样式",name:"name2"}},[t("basic-set",{model:{value:l.activeElement,callback:function(t){l.activeElement=t},expression:"activeElement"}})],1)],1)],1)},Lc=[],Rc={name:"W0022Props",props:["activeElement"],data:function(){return{}},components:{panelBar:P,attrField:p,dataBind:$,colorPicker:y,basicSet:Dl},methods:{handleAddNav:function(){this.activeElement.data.push({title:"",pathData:{},wgtHotKeywordTextColor:"#333333"})},handleDelete:function(l){this.activeElement.data.length>0&&(this.activeElement.data.splice(l,1),this.$Message.success("删除成功!"))}}},Fc=Rc,zc=(a("ee0c"),Object(v["a"])(Fc,Dc,Lc,!1,null,null,null)),Wc=zc.exports;function Mc(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function $c(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Mc(Object(a),!0).forEach((function(t){Object(o["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):Mc(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}var Nc="W0022",Uc={name:Nc,icon:"icon-caidan1",title:"主类目导航",mixins:[bl],panel:Wc,navs:["nav2","nav2-1"],widgetType:["pc","h5"],setting:$c($c({name:"主类目导航",alias:"主类目导航",text:"主类目导航",type:Nc},rl),{},{proportion:"disabled",height:40,heightDisabled:!0,customerThemeEnabled:!0,wgtTypeBackgroundColor:"#FF5D02",wgtTypeLabelColor:"#FFFFFF",wgtBackgroundColor:"#FFFFFF",wgtSelectColor:"#F5F6FA",wgtTextColor:"#3B3B3B",wgtSubTextColor:"#8C8C8C",categoryData:[],hover:!0,menuTop:40}),data:function(){return{btnHover:!1}},components:{ImgWrap:gt,linkPage:Vl},computed:{},mounted:function(){},methods:{handleMainBtnHover:function(){this.btnHover=!0},mouseoverCategory:function(){if(!this.value.hover){var l=document.querySelector(".widget-w0022-body .hover .category-list");l.style.height="auto",l.style.overflow="visible"}console.log("mouseoverCategory",!this.value.hover)},mouseLeaveCategory:function(){if(!this.value.hover){var l=document.querySelector(".widget-w0022-body .hover .category-list");l.style.height="0",l.style.overflow="hidden"}}}},Vc=Uc,Qc=(a("b05a"),Object(v["a"])(Vc,Tc,Bc,!1,null,null,null)),Gc=Qc.exports,Jc={W0000:wl,W0001:Kl,W0002:ft,W0003:Ft,W0004:qt,W0005:va,W0006:Ta,W0007:Ja,W0008:se,W0010:_e,W0011:ze,W0012:Hn,W0013:ro,W0014:ko,W0015:Mo,W0016:ri,W0017:Ii,W0018:Wi,W0019:tc,W0020:hc,W0021:jc,W0022:Gc},Hc=function(l){Object.keys(Zc).forEach((function(t){var a=Zc[t];a["propsComponent"]=a.panel.name,l.component(a.name,a),a.panel&&l.component(a.panel.name,a.panel)}))},Zc=Jc;t["a"]={install:Hc}},"5d5d":function(l,t,a){},"5da3":function(l,t,a){"use strict";a("00ad")},"603c":function(l,t,a){"use strict";a("842f")},6112:function(l,t,a){"use strict";a("698f")},"624b":function(l,t,a){},"626b":function(l,t,a){},"62c6":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAHdbkFIAAAAAXNSR0IArs4c6QAAAaFJREFUeAHtWYGuwiAMVOMv7P+/b9k/TIN6pNN1ZTRatWdi6GMF2ruj4N5xHMfLYeNzLs+GYVBdTuqTxwO/wy2GaZr0lUoW8zwvvrLPjOHowqHEZi7hdzBx2CSrKUgTB52D+5NbCMXc0ow2SVOI2mD0mzjDUWs/N4GmaXcEbhrdE7hT2NSyRh36swkJeT+3bhbiJzCL3nPOL3/LgwCHxJ6+eAzcEbi3s3uCF1Z2dtRzpYzrOVt2rlfdUaPdHNQZOw0GQASIQDgCi0KE4tC5pbuGLQKwKmEJsMWnRNLqF04BAwg/jsMDoAZqHbD2bVeVUQbJgkcKiAARIAJEgAgQASJQLyTykqDcI97SHU5BRcC6kgGhFr8WH8AZjgADIAJEgL+OwxFARYxqwzdBVOJYt56F6CitdZZJ31+ycZ7LmNMrgABIOWS0qYCMrMucqQCJRkabCsjIusyZCpBoZLSpgIysy5ypAIlGRpsKyMi6zHn1jdDamxM56J/s9FtgVQHed4JSQd86F1ScXgEEAFLI2lIBWZlH3lQAkMja8r/DWZlH3leyq88fSZ28gQAAAABJRU5ErkJggg=="},"62e2":function(l,t,a){},6802:function(l,t,a){"use strict";a("3cfb")},"68bf":function(l,t,a){"use strict";a("b26f")},"68f7":function(l,t,a){"use strict";a("7c0b")},"698f":function(l,t,a){},"69a9":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAHdbkFIAAAAAXNSR0IArs4c6QAAAYBJREFUeAHtWFEOwyAIbZddofc/X9NDbKFrjU1EWNVi8O1njTCE9x5SN6/r+pkynzfZlmVhXV6s5TCIDvsW27axgR7IYS7CgZIXyxQdynCok4OIA0vSYdiLoOecZrggqhq4H5/rIs6nI/ftIEBgIddWXP20XqyDYhDFps+lDyH90KnDwl0RUQ6gcZJHQ07KZLOnsfg8kEqU7OFEI8c7s0XagLOf4i/mgNtAu44EgMClC05lagVUw8+cggsCOAdqcPpvDHMNIIFLF1icA+bvA9BA0IDFKUhnBigAAkAACAABcwTCLLB4F8AsIAQCBRjHBIfFx7wNkQAQAAJAIMyCYcex+f8DFvMn3tO8CeJkLJ5DD8SbP/luFO/b+jnV58MrAAC0ll3v8aGA3hlqnR8U0Brh3uNDAb0z1Do/KKA1wr3HH14ByctQ6tLQO5N384MCUsjhOpxCxena8C0AAJwqW10WFKCGyqkjFOCUWHVZUIAaKqeOUIBTYtVl4Tqshsqp4xc3LFr5S3P+IQAAAABJRU5ErkJggg=="},"6a87":function(l,t,a){l.exports=a.p+"img/55.341d62f8.png"},"6b02":function(l,t,a){"use strict";a("41a2")},"6ba8":function(l,t,a){},"6bd2":function(l,t,a){},"6c5d":function(l,t,a){var e={"./coupon.js":"cbfe","./index.js":"365c","./item.js":"f236","./oss-storage.js":"3648","./req.js":"c8f0","./temp.js":"cd14","./user.js":"c24f"};function n(l){var t=o(l);return a(t)}function o(l){if(!a.o(e,l)){var t=new Error("Cannot find module '"+l+"'");throw t.code="MODULE_NOT_FOUND",t}return e[l]}n.keys=function(){return Object.keys(e)},n.resolve=o,l.exports=n,n.id="6c5d"},"6ef6":function(l,t,a){"use strict";a("55a4")},"6f0e":function(l,t,a){"use strict";a("04f1")},"6f3a":function(l,t,a){"use strict";a("5d5d")},"6fa8":function(l,t,a){},"71d7":function(l,t,a){},"71f4":function(l,t,a){"use strict";a("43f2")},"72a2":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA9dJREFUWAm1lz1IHEEUxychoBYKimJUiHgS8OMMCjZikcMgKoErhICWQtoUlgmkSpNGU6QNamFjI3oQxEDkLEQLRQ2KhV9YKBFFUAlql/cbnXV3b25vLzkf/G92Zt6899/33szOPRoaGlIh5bnotQtaBVFBjaBcgBwL9gUbgmXBgmBbkFGeZNRQKiY6vYK4oFpgk2cyCF7eTR5ImxBMCpKCtBJEICKr3goGBE/TWrBPQPSd4I1gVPBNsCdIkXQEXonmoOB1yorsBiD+XvBC8EXwU+CRx57ebYdQfxb8r3O3aWxhE9se8RPgzT8KKLRcCzaxjQ9H3ATIOWF/COfGIbbxgS8tbgIUXC7DfucipcEHvrQYAjHpUe3/JJWVlaqkpCSbtfiKscAQYJ9nu9VYrx339fWp4uJi3Q/5gy98KrYhJ1xKdTLZ2Nio8vPz1crKCl2r1NXVqcvLS7W7u6vnCwoKVFtbmyorK9P9k5MTtbi4qK6urvzr8fkVAhyvnhPOGGlubtbGgwhA0jgnDf39/drR4eGhbuvr61Vtba0aHx/3k8BnOwQ8VY9yd3e3XsybBQm6hYWFam1tTat1dnbqdmRkxHFGfZAiojI3N+c310oN8GHxyNbWlsLIxcWFZ9zfaWpqUrzp2dmZnqqqqlKsdYf76OhIRzEvL8+/nH6UCNS4ZwinCal73P9MmiKRiJqfn3emhoeHnWfzQFqI0vn5uRlytzUQMJ9U90TG54aGBnVzc2MtUMjFYjHFWxMVorS6umqzWW62oW0ycIzi29uzfuCcdRBIE3pHBwJcJrISCqu0tFStr69b11EDMzMzamJiQo2NjWndrq4um+4xBPZtM0Fj7P3T01NFgRkh1z09PSknIgVKCsy5YPTv2n0IbPgGM3bZ2zs7Oyl6jEPOL0VFRbpe/OPS34AAd7jQQu7Jq7+oeFNqoqWlRZ+gGKQYOzo6dAo2NzdtPpbZBQuCA4HnNLRpMxaNRrUj9143urOzsyoejyvy7c750tKSbbfgcwEC3F4TAu5wHkkkGL4X8sy2mp6evh90PUGKwkOvoqJCXV9f6zqxkZVlGN+GADIp4ALp+SL6F2KUMGc6qEiHOR0xbpHfMoZP53OclOdRBoKEPE5NTQWphJ3DVxJlitAIV+fvpvOALT7wpcVNgGONq3NWu+LWTOhfbOPDOULdBLDCvf2T4CFIYBPb+HDEFKEzIA9U5x/BoCBXl1TCbv1jYiMgupolR/QvwYDAszukH1aodgou679mOCBPHwQ/BL2CuKBaEEY4ZIgkWy0pSCvpIuBekJQO+CrI+d/zv0T1JePHfCltAAAAAElFTkSuQmCC"},"745f":function(l,t,a){"use strict";a("cfc8")},7531:function(l,t,a){},7568:function(l,t,a){"use strict";a("8f8c")},7651:function(l,t,a){},"767f":function(l,t,a){},"79ad":function(l,t,a){},"7c0b":function(l,t,a){},"7c4c":function(l,t,a){},"7e1d":function(l,t,a){},"7eaa":function(l,t,a){"use strict";a("112a")},"7f2b":function(l,t,a){"use strict";a("f109")},"81a4":function(l,t,a){"use strict";a("1b60")},"82a0":function(l,t,a){},"842f":function(l,t,a){},"843c":function(l,t,a){"use strict";a("6ba8")},8528:function(l,t,a){},"88a1":function(l,t,a){"use strict";a("b825")},"89ae":function(l,t,a){},"8aeb":function(l,t,a){},"8b06":function(l,t,a){"use strict";a("de37")},"8c9c":function(l,t,a){},"8d06":function(l,t,a){"use strict";a("e744")},"8dbc":function(l,t,a){"use strict";a("d66a")},"8e1f":function(l,t,a){},"8e75":function(l,t,a){},"8ec6":function(l,t,a){"use strict";a("ce48")},"8f8c":function(l,t,a){},"8fb5":function(l,t,a){},"90ca":function(l,t,a){"use strict";a("767f")},9224:function(l){l.exports=JSON.parse('{"name":"shop-decoration","version":"0.1.2","private":true,"scripts":{"build":"vue-cli-service build","lint":"vue-cli-service lint --fix","format":"prettier-eslint --write --list-different \'src/**/*.{js,json,vue}\'","dev":"vue-cli-service serve","server":"supervisor server/index.js","test":"npm run server | npm run dev"},"spx":{"theme":"./theme/index.js","publicPath":"//sks-cdn.ishopex.cn/","cdn":{"bucket":"sks-cdn","path":"crm/"}},"dependencies":{"aws-sdk":"^2.845.0","axios":"^0.19.0","core-js":"^2.6.5","dom-to-image":"^2.6.0","express":"^4.17.1","iview":"^3.4.2","lodash-es":"^4.17.15","md5":"^2.2.1","moment":"^2.24.0","nanoid":"^2.0.3","qiniu-js":"^3.1.2","qrcode.vue":"^1.6.2","qs":"^6.8.0","swiper":"^4.5.0","vue":"^2.6.10","vue-awesome-swiper":"^4.1.1","vue-clickaway":"^2.2.2","vue-color":"^2.7.0","vue-draggable-resizable-gorkys":"^2.4.4","vue-hotzone":"^1.1.0","vue-router":"^3.0.3","vue-server-renderer":"^2.6.10","vue-sketch-ruler":"^1.0.3","vuedraggable":"^2.23.0","vuex":"^3.0.1","vuex-persist":"^3.1.3"},"devDependencies":{"@babel/plugin-proposal-export-default-from":"^7.5.2","@vue/cli-plugin-babel":"^3.10.0","@vue/cli-plugin-eslint":"^3.10.0","@vue/cli-service":"^3.10.0","@vue/eslint-config-prettier":"^6.0.0","@vue/eslint-config-standard":"^4.0.0","babel-eslint":"^10.0.1","eslint":"^5.16.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-vue":"^5.0.0","less":"^3.0.0","less-loader":"^5.0.0","node-sass":"^4.12.0","node-sass-js-importer":"^4.0.1","prettier-eslint-cli":"^5.0.0","sass-loader":"^7.3.1","vue-template-compiler":"^2.6.10"},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"]}')},"926e":function(l,t,a){},"92ed":function(l,t,a){"use strict";a("c9dd")},9439:function(l,t,a){"use strict";a("4980")},9461:function(l,t,a){"use strict";a("8fb5")},"955e":function(l,t,a){"use strict";a("62e2")},"95f6":function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAAHdbkFIAAAAAXNSR0IArs4c6QAAAjFJREFUeAHtWz1vwjAQNQUhFYmJAlOHDPz/H8TA0ClQJiQqIVCrcxOrls5xYic+p7xIEcQfd8/vns9OApOyLL9VwzGjuvV67Wzy4qypKuIbaAyn08npKR7kJIoHwhY/TK+FOB5agfTy4IxBVaEx0vcmzbiMtILo6lyXe2msG7o+/4EBEwVu1qxWK3U+n9Vhv1fFbsfSEK2DaBK9c5rFXRVCSL9EREdB3oA36TXpgOogpIoDLhdsNht1PB41hx+Hg3ovCpbP6HzAWu1QaDIa9QlZWzr4sprWrEXPBMtqwAUAWBqo4xLAZHAXCwBEGMxjREfMAjAgzoCVByQSURADtO+fz+fW5KM1/+t6tcraXIjvB4IYaDOytm3EARgRSixExJI4AwAABsCAyQMSCxHlAQMAiYjokDgwC8CAOAMmDyARSeQA8imuAQAAA+IMiCeizgzQrTk9iv970K05vaILOToDuFwu6vF4WL7etls1mxkyrTrfhfjzAR/Aoes7R2BoQKnts7pJeYeQcsDcjufpFQACUkowR19QQI5RSYkJCkjJdo6+2H0At17mCL4PTCwB2Aj1Qe1IbCAJjiRQg8GEAgajdiSGoYCRBGowmOw+ABuhhr8WDRaKBIa5wCIHJCA+axdQQNbhSQAOCkhActYunl4B2Ail0Cf90nu5XGpX9Hb3druxbunX359lqevoje/rYsG267MwyRSgwU+nU33WRHCDoMHf73d91kRw7fose/rX4z+l4Z+gfNpr9AAAAABJRU5ErkJggg=="},"983e":function(l,t,a){},"98c3":function(l,t,a){},"9b5b":function(l,t,a){},"9dc5":function(l,t,a){"use strict";a("624b")},"9f18":function(l,t){l.exports="data:image/jpeg;base64,/9j/4QlQaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzEzOCA3OS4xNTk4MjQsIDIwMTYvMDkvMTQtMDE6MDk6MDEgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiLz4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8P3hwYWNrZXQgZW5kPSJ3Ij8+/+0ALFBob3Rvc2hvcCAzLjAAOEJJTQQlAAAAAAAQ1B2M2Y8AsgTpgAmY7PhCfv/bAIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgICAwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD/90ABAAC/+4ADkFkb2JlAGTAAAAAAf/AABEIAB4ADwMAEQABEQECEQH/xABZAAEBAQAAAAAAAAAAAAAAAAAKAAMBAQAAAAAAAAAAAAAAAAAAAAAQAAIDAAICAgMAAAAAAAAAAAIDAQQFABIGERMhIyQzEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMAAAERAhEAPwBTHAuB/9BWOE7EVe6+QVLNrNsIZWY2i6VXs9jJD49KoEkKLTqsj/Fv42jJR7EupiGvkOC/x68qsdhF6pcqJ0srSq94raeXalg1rqgaIPT2JRga2CJrYBDMfXuQ/9FV2JeoZugu7o5QbSkAw0577J16bLkB+qd+FqNtqklvomIElS6I69xiZ9hlra2huX36WnZK1bsSPY5gQAFgMApCErgE16yFjALWAiCwiBGIiIjgf//SUxwLgf/Z"},"9f54":function(l,t,a){"use strict";a("d1e9")},a0a8:function(l,t,a){},a0fe:function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA9dJREFUWAm1lz1IHEEUxychoBYKimJUiHgS8OMMCjZikcMgKoErhICWQtoUlgmkSpNGU6QNamFjI3oQxEDkLEQLRQ2KhV9YKBFFUAlql/cbnXV3b25vLzkf/G92Zt6899/33szOPRoaGlIh5bnotQtaBVFBjaBcgBwL9gUbgmXBgmBbkFGeZNRQKiY6vYK4oFpgk2cyCF7eTR5ImxBMCpKCtBJEICKr3goGBE/TWrBPQPSd4I1gVPBNsCdIkXQEXonmoOB1yorsBiD+XvBC8EXwU+CRx57ebYdQfxb8r3O3aWxhE9se8RPgzT8KKLRcCzaxjQ9H3ATIOWF/COfGIbbxgS8tbgIUXC7DfucipcEHvrQYAjHpUe3/JJWVlaqkpCSbtfiKscAQYJ9nu9VYrx339fWp4uJi3Q/5gy98KrYhJ1xKdTLZ2Nio8vPz1crKCl2r1NXVqcvLS7W7u6vnCwoKVFtbmyorK9P9k5MTtbi4qK6urvzr8fkVAhyvnhPOGGlubtbGgwhA0jgnDf39/drR4eGhbuvr61Vtba0aHx/3k8BnOwQ8VY9yd3e3XsybBQm6hYWFam1tTat1dnbqdmRkxHFGfZAiojI3N+c310oN8GHxyNbWlsLIxcWFZ9zfaWpqUrzp2dmZnqqqqlKsdYf76OhIRzEvL8+/nH6UCNS4ZwinCal73P9MmiKRiJqfn3emhoeHnWfzQFqI0vn5uRlytzUQMJ9U90TG54aGBnVzc2MtUMjFYjHFWxMVorS6umqzWW62oW0ycIzi29uzfuCcdRBIE3pHBwJcJrISCqu0tFStr69b11EDMzMzamJiQo2NjWndrq4um+4xBPZtM0Fj7P3T01NFgRkh1z09PSknIgVKCsy5YPTv2n0IbPgGM3bZ2zs7Oyl6jEPOL0VFRbpe/OPS34AAd7jQQu7Jq7+oeFNqoqWlRZ+gGKQYOzo6dAo2NzdtPpbZBQuCA4HnNLRpMxaNRrUj9143urOzsyoejyvy7c750tKSbbfgcwEC3F4TAu5wHkkkGL4X8sy2mp6evh90PUGKwkOvoqJCXV9f6zqxkZVlGN+GADIp4ALp+SL6F2KUMGc6qEiHOR0xbpHfMoZP53OclOdRBoKEPE5NTQWphJ3DVxJlitAIV+fvpvOALT7wpcVNgGONq3NWu+LWTOhfbOPDOULdBLDCvf2T4CFIYBPb+HDEFKEzIA9U5x/BoCBXl1TCbv1jYiMgupolR/QvwYDAszukH1aodgou679mOCBPHwQ/BL2CuKBaEEY4ZIgkWy0pSCvpIuBekJQO+CrI+d/zv0T1JePHfCltAAAAAElFTkSuQmCC"},a22a8:function(l,t,a){"use strict";a("8528")},a460:function(l,t,a){},a56f:function(l,t,a){"use strict";a("4b64")},a981:function(l,t,a){"use strict";a("c06d")},aad6:function(l,t,a){"use strict";a("d13d")},ab20:function(l,t,a){"use strict";a("3ca8")},abea:function(l,t,a){"use strict";var e=a("d225"),n=a("b0b4"),o=a("bd86");function i(){console.warn("Current execute action is empty!")}var c=function(){function l(){Object(e["a"])(this,l),Object(o["a"])(this,"actions",{onGlobalStateChange:i,setGlobalState:i})}return Object(n["a"])(l,[{key:"setActions",value:function(l){this.actions=l}},{key:"onGlobalStateChange",value:function(){var l;return(l=this.actions).onGlobalStateChange.apply(l,arguments)}},{key:"setGlobalState",value:function(){var l;return(l=this.actions).setGlobalState.apply(l,arguments)}}]),l}(),s=new c;t["a"]=s},abfb:function(l,t,a){},ac08:function(l,t,a){"use strict";a("435f")},acb7:function(l,t,a){},af74:function(l,t,a){"use strict";a("07ae")},b05a:function(l,t,a){"use strict";a("dd8a")},b26f:function(l,t,a){},b460:function(l,t,a){},b825:function(l,t,a){},b972:function(l,t,a){"use strict";a("3a51")},b9e9:function(l,t,a){"use strict";a("e09a")},bbe4:function(l,t,a){"use strict";a("db63")},be14:function(l,t,a){},c06d:function(l,t,a){},c19f:function(l,t,a){"use strict";a("dd8d")},c24f:function(l,t){},c3f2:function(l,t,a){},c471:function(l,t,a){"use strict";a("cc53")},c48d:function(l,t,a){"use strict";a("e552")},c7cb:function(l,t,a){"use strict";a("79ad")},c8f0:function(l,t,a){"use strict";a.r(t),a.d(t,"createAxios",(function(){return v}));a("8e6e"),a("ac6a"),a("456d"),a("6b54");var e=a("bd86"),n=a("bc3a"),o=a.n(n),i=a("2b0e"),c=a("05ee");function s(l,t){var a=Object.keys(l);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(l);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(l,t).enumerable}))),a.push.apply(a,e)}return a}function r(l){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(e["a"])(l,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(l,t,Object.getOwnPropertyDescriptor(a,t))}))}return l}function u(l){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=l.data||{},e=a.data;t=e.msg||e.err_msg||t;var n=new Error(t);return n.res=l,n}function g(l){var t=l.get;l.get=function(l,a){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=r({params:a},e),t(l,e)}}function d(l){var t=l.msg||l.error&&l.error.message||l.errmsg||"操作失败";i["default"].prototype.$Message.error(t)}function v(l){return l=l||o.a.create(),l.defaults.timeout=1e4,l.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",l.interceptors.request.use((function(l){var t="get"===l.method;window.__POWERED_BY_QIANKUN__?l.baseURL=c["a"]["SYS_CONFIG"].baseUrl||"/":l.baseURL="https://ecshopx-bbc-demo.yuanyuanke.cn/api";var a=void 0===l.showError||l.showError;return window.__POWERED_BY_QIANKUN__?l.headers["Authorization"]="bearer "+c["a"]["SYS_CONFIG"].token:l.headers["Authorization"]="bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9tYW5hZ2VyLm1laWhld2FuZy5jb21cL2FwaVwvb3BlcmF0b3JcL2xvZ2luIiwiaWF0IjoxNjQxMDk4OTc4LCJleHAiOjE2NDE1MzA5NzgsIm5iZiI6MTY0MTA5ODk3OCwianRpIjoidENsZU92SmpRSkpZOWVBVCIsInN1YiI6IkIySldObEFcL0RUdFNMZ2d2VUR3QVlBTnBVQ2hTYndwaFV5UlJQZ2dzREdjRE5sYzNVaXhhWjFOMlVqMEhJbEE0QUdVR1psTWxXaUZUYVZacEJ6VUNQUWNoVmpkUWZ3MDdVbVlJYmxBOEFIQURaRkJ2VWpRS05sTmtVVEVJUEF3NEEyUlhhVkkzV21kVE5WSTJCekJRT2dCbEJteFROMW8yVXpSV1pBY3lBbVVITmxZXC9VRGdOTUZKa0NHVlFOUUF4QTNGUU1WSjFDajlUTWxFXC9DSDBNS1FOdVYyQlNhMXAwVTI5U2J3ZHJVRE1BWmdab1V6WmFaVk1cL1Zqb0hhUUprQnp0V04xQngiLCJwcnYiOiI5MTVlZjNiMTQ1Nzk3ZDk2MzZlNjY3ODY2MDg5YzZiYjFmZTMyZTFjIiwiaWQiOiJCMkpXTmxBXC9EVHRTTGdndlVEd0FZQU5wVUNoU2J3cGhVeVJSUGdnc0RHY0RObGMzVWl4YVoxTjJVajBISWxBNEFHVUdabE1sV2lGVGFWWnBCelVDUFFjaFZqZFFmdzA3VW1ZSWJsQThBSEFEWkZCdlVqUUtObE5rVVRFSVBBdzRBMlJYYVZJM1dtZFROVkkyQnpCUU9nQmxCbXhUTjFvMlV6UldaQWN5QW1VSE5sWVwvVURnTk1GSmtDR1ZRTlFBeEEzRlFNVkoxQ2o5VE1sRVwvQ0gwTUtRTnVWMkJTYTFwMFUyOVNid2RyVURNQVpnWm9VelphWlZNXC9Wam9IYVFKa0J6dFdOMUJ4IiwiY29tcGFueV9pZCI6IjEiLCJtb2JpbGUiOiIxMzQwMTA4NDM2MSIsIm9wZXJhdG9yX3R5cGUiOiJhZG1pbiIsImlzX2F1dGhvcml6ZXIiOmZhbHNlLCJsb2dpbnR5cGUiOiJhZG1pbiIsImxpY2Vuc2VfYXV0aG9yaXplIjoiZXlKMllXeHBaQ0k2SW5SeWRXVWlMQ0psZUhCcGNtVmtRWFFpT2pFNU5URTNNVGN5T0RFc0ltUmxjMk1pT2lKY2RUVmtaakpjZFRoa01tUmNkVFJsTnpBaWZRPT0ifQ.0vyAej9vJv7EKr5S24ewU-XWbng5Dcx6_FpZ_jHUlI0",t?l.params=r(r({},l.params),l.data):l.data=r({},l.data),l.showError=a,l})),l.interceptors.response.use((function(l){var t=l.data,a=l.status,e=l.config.showError;return 200===a?t.data?t.data:(e&&d(t),Promise.reject(t)):Promise.reject(u(l))}),(function(l){return d({msg:l.toString()}),Promise.reject(l)})),g(l),l}t["default"]=v()},c960:function(l,t,a){},c9dd:function(l,t,a){},cb03:function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAHRJREFUWAlj/P//P8NAAqaBtBxk96gDRkNgNARGQ2A0BEZDYMBDgAW9Nuzr6wsFiqWhiwP5Z4uKiioIyYP0EaMGZj6GA4AS74H4HkwBEg0SBwFC8sSqARvGONogAYfDABIDngtGHTAaAqMhMBoCoyEw4CEAALI1HXERY4mBAAAAAElFTkSuQmCC"},cb8b:function(l,t,a){"use strict";a("9b5b")},cbfe:function(l,t,a){"use strict";a.r(t),a.d(t,"getCouponList",(function(){return n}));var e=a("c8f0");function n(){return e["default"].get("/mshop/getCouponList")}},cc53:function(l,t,a){},cd14:function(l,t,a){"use strict";a.r(t),a.d(t,"getPageData",(function(){return n})),a.d(t,"savePageData",(function(){return o})),a.d(t,"getTemplateContent",(function(){return i})),a.d(t,"saveTemplateContent",(function(){return c})),a.d(t,"getHeaderOrFooter",(function(){return s})),a.d(t,"saveHeaderOrFooter",(function(){return r}));var e=a("c8f0");function n(l){return e["default"].get("/wxa/pageparams/setting?template_name=pc&version=v1.0.1&page_name=index",l)}function o(l){return e["default"].post("/wxa/pageparams/setting_all",l)}function i(l){return e["default"].get("/pctemplate/getTemplateContent",l)}function c(l){return e["default"].post("/pctemplate/saveTemplateContent",l)}function s(l){return e["default"].get("/pctemplate/getHeaderOrFooter",l)}function r(l){return e["default"].post("/pctemplate/saveHeaderOrFooter",l)}},cd52:function(l,t,a){"use strict";a("2393")},ce48:function(l,t,a){},ceda:function(l){l.exports=JSON.parse('[{"label":"北京市","value":"110000","location":{"lat":39.90469,"lng":116.40717},"children":[{"label":"北京市","value":"110001","location":{"lat":39.90469,"lng":116.40717},"children":[{"label":"东城","value":"110101","location":{"lat":39.92855,"lng":116.41637}},{"label":"西城","value":"110102","location":{"lat":39.91231,"lng":116.36611}},{"label":"朝阳","value":"110105","location":{"lat":39.9219,"lng":116.44355}},{"label":"丰台","value":"110106","location":{"lat":39.85856,"lng":116.28616}},{"label":"石景山","value":"110107","location":{"lat":39.90569,"lng":116.22299}},{"label":"海淀","value":"110108","location":{"lat":39.95933,"lng":116.29845}},{"label":"门头沟","value":"110109","location":{"lat":39.94048,"lng":116.10146}},{"label":"房山","value":"110111","location":{"lat":39.74788,"lng":116.14294}},{"label":"通州","value":"110112","location":{"lat":39.90998,"lng":116.65714}},{"label":"顺义","value":"110113","location":{"lat":40.13012,"lng":116.65477}},{"label":"昌平","value":"110114","location":{"lat":40.22077,"lng":116.23128}},{"label":"大兴","value":"110115","location":{"lat":39.72684,"lng":116.34159}},{"label":"怀柔","value":"110116","location":{"lat":40.316,"lng":116.63177}},{"label":"平谷","value":"110117","location":{"lat":40.14062,"lng":117.12141}},{"label":"密云","value":"110118","location":{"lat":40.37625,"lng":116.84317}},{"label":"延庆","value":"110119","location":{"lat":40.45678,"lng":115.97503}}]}]},{"label":"天津市","value":"120000","location":{"lat":39.0851,"lng":117.19937},"children":[{"label":"天津市","value":"120001","location":{"lat":39.0851,"lng":117.19937},"children":[{"label":"和平","value":"120101","location":{"lat":39.11712,"lng":117.2147}},{"label":"河东","value":"120102","location":{"lat":39.12827,"lng":117.25228}},{"label":"河西","value":"120103","location":{"lat":39.10954,"lng":117.22336}},{"label":"南开","value":"120104","location":{"lat":39.13815,"lng":117.15011}},{"label":"河北","value":"120105","location":{"lat":39.14784,"lng":117.19674}},{"label":"红桥","value":"120106","location":{"lat":39.16734,"lng":117.15161}},{"label":"东丽","value":"120110","location":{"lat":39.08652,"lng":117.31428}},{"label":"西青","value":"120111","location":{"lat":39.14111,"lng":117.00739}},{"label":"津南","value":"120112","location":{"lat":38.9375,"lng":117.3571}},{"label":"北辰","value":"120113","location":{"lat":39.22393,"lng":117.13544}},{"label":"武清","value":"120114","location":{"lat":39.38326,"lng":117.04412}},{"label":"宝坻","value":"120115","location":{"lat":39.71755,"lng":117.30983}},{"label":"滨海","value":"120116","location":{"lat":39.0032,"lng":117.71071}},{"label":"宁河","value":"120117","location":{"lat":39.33091,"lng":117.82478}},{"label":"静海","value":"120118","location":{"lat":38.94737,"lng":116.97428}},{"label":"蓟州","value":"120119","location":{"lat":40.04577,"lng":117.40829}}]}]},{"label":"河北省","value":"130000","location":{"lat":38.03599,"lng":114.46979},"children":[{"label":"石家庄","value":"130100","location":{"lat":38.04276,"lng":114.5143},"children":[{"label":"长安区","value":"130102","location":{"lat":38.03647,"lng":114.53952}},{"label":"桥西区","value":"130104","location":{"lat":38.00407,"lng":114.46104}},{"label":"新华区","value":"130105","location":{"lat":38.0509,"lng":114.46312}},{"label":"井陉矿区","value":"130107","location":{"lat":38.06499,"lng":114.0623}},{"label":"裕华区","value":"130108","location":{"lat":38.0061,"lng":114.53122}},{"label":"藁城区","value":"130109","location":{"lat":38.02166,"lng":114.84676}},{"label":"鹿泉区","value":"130110","location":{"lat":38.08587,"lng":114.31344}},{"label":"栾城区","value":"130111","location":{"lat":37.90025,"lng":114.64839}},{"label":"井陉县","value":"130121","location":{"lat":38.03225,"lng":114.14532}},{"label":"正定县","value":"130123","location":{"lat":38.14618,"lng":114.57096}},{"label":"行唐县","value":"130125","location":{"lat":38.43848,"lng":114.55294}},{"label":"灵寿县","value":"130126","location":{"lat":38.30864,"lng":114.38265}},{"label":"高邑县","value":"130127","location":{"lat":37.61493,"lng":114.61148}},{"label":"深泽县","value":"130128","location":{"lat":38.18417,"lng":115.20094}},{"label":"赞皇县","value":"130129","location":{"lat":37.66579,"lng":114.38592}},{"label":"无极县","value":"130130","location":{"lat":38.17915,"lng":114.97638}},{"label":"平山县","value":"130131","location":{"lat":38.25998,"lng":114.18605}},{"label":"元氏县","value":"130132","location":{"lat":37.76646,"lng":114.52547}},{"label":"赵县","value":"130133","location":{"lat":37.75631,"lng":114.77616}},{"label":"晋州市","value":"130183","location":{"lat":38.03356,"lng":115.0441}},{"label":"新乐市","value":"130184","location":{"lat":38.34338,"lng":114.68384}},{"label":"辛集","value":"139002","location":{"lat":37.94316,"lng":115.21792}}]},{"label":"唐山","value":"130200","location":{"lat":39.63048,"lng":118.18058},"children":[{"label":"路南区","value":"130202","location":{"lat":39.62527,"lng":118.15474}},{"label":"路北区","value":"130203","location":{"lat":39.62429,"lng":118.20127}},{"label":"古冶区","value":"130204","location":{"lat":39.71612,"lng":118.45885}},{"label":"开平区","value":"130205","location":{"lat":39.67132,"lng":118.26174}},{"label":"丰南区","value":"130207","location":{"lat":39.57487,"lng":118.08505}},{"label":"丰润区","value":"130208","location":{"lat":39.83269,"lng":118.16206}},{"label":"曹妃甸区","value":"130209","location":{"lat":39.27313,"lng":118.46023}},{"label":"滦县","value":"130223","location":{"lat":39.74058,"lng":118.70351}},{"label":"滦南县","value":"130224","location":{"lat":39.50394,"lng":118.67414}},{"label":"乐亭县","value":"130225","location":{"lat":39.42564,"lng":118.91252}},{"label":"迁西县","value":"130227","location":{"lat":40.14153,"lng":118.3146}},{"label":"玉田县","value":"130229","location":{"lat":39.9005,"lng":117.73881}},{"label":"遵化市","value":"130281","location":{"lat":40.18924,"lng":117.96567}},{"label":"迁安市","value":"130283","location":{"lat":39.99836,"lng":118.70073}}]},{"label":"秦皇岛","value":"130300","location":{"lat":39.93545,"lng":119.59964},"children":[{"label":"海港区","value":"130302","location":{"lat":39.9345,"lng":119.61063}},{"label":"山海关区","value":"130303","location":{"lat":39.97892,"lng":119.77606}},{"label":"北戴河区","value":"130304","location":{"lat":39.83507,"lng":119.48458}},{"label":"抚宁区","value":"130306","location":{"lat":39.87634,"lng":119.24444}},{"label":"青龙满族自治县","value":"130321","location":{"lat":40.40692,"lng":118.95012}},{"label":"昌黎县","value":"130322","location":{"lat":39.71284,"lng":119.16288}},{"label":"卢龙县","value":"130324","location":{"lat":39.8918,"lng":118.89294}}]},{"label":"邯郸","value":"130400","location":{"lat":36.62556,"lng":114.53918},"children":[{"label":"邯山区","value":"130402","location":{"lat":36.6,"lng":114.48376}},{"label":"丛台区","value":"130403","location":{"lat":36.61853,"lng":114.49339}},{"label":"复兴区","value":"130404","location":{"lat":36.61693,"lng":114.47309}},{"label":"峰峰矿区","value":"130406","location":{"lat":36.41968,"lng":114.21302}},{"label":"肥乡区","value":"130407","location":{"lat":36.54811,"lng":114.80002}},{"label":"永年区","value":"130408","location":{"lat":36.77771,"lng":114.49095}},{"label":"临漳县","value":"130423","location":{"lat":36.33464,"lng":114.61955}},{"label":"成安县","value":"130424","location":{"lat":36.44414,"lng":114.66999}},{"label":"大名县","value":"130425","location":{"lat":36.28558,"lng":115.14788}},{"label":"涉县","value":"130426","location":{"lat":36.58544,"lng":113.69065}},{"label":"磁县","value":"130427","location":{"lat":36.37396,"lng":114.37392}},{"label":"邱县","value":"130430","location":{"lat":36.81987,"lng":115.17641}},{"label":"鸡泽县","value":"130431","location":{"lat":36.92031,"lng":114.8782}},{"label":"广平县","value":"130432","location":{"lat":36.48345,"lng":114.9485}},{"label":"馆陶县","value":"130433","location":{"lat":36.53529,"lng":115.30629}},{"label":"魏县","value":"130434","location":{"lat":36.35991,"lng":114.93882}},{"label":"曲周县","value":"130435","location":{"lat":36.77918,"lng":114.94485}},{"label":"武安市","value":"130481","location":{"lat":36.69671,"lng":114.20376}}]},{"label":"邢台","value":"130500","location":{"lat":37.07055,"lng":114.50443},"children":[{"label":"桥东区","value":"130502","location":{"lat":37.06787,"lng":114.50713}},{"label":"桥西区","value":"130503","location":{"lat":37.05983,"lng":114.46816}},{"label":"邢台县","value":"130521","location":{"lat":37.08627,"lng":114.54489}},{"label":"临城县","value":"130522","location":{"lat":37.4443,"lng":114.49898}},{"label":"内丘县","value":"130523","location":{"lat":37.28678,"lng":114.51207}},{"label":"柏乡县","value":"130524","location":{"lat":37.48244,"lng":114.69363}},{"label":"隆尧县","value":"130525","location":{"lat":37.35025,"lng":114.77031}},{"label":"任县","value":"130526","location":{"lat":37.12092,"lng":114.67132}},{"label":"南和县","value":"130527","location":{"lat":37.0049,"lng":114.68376}},{"label":"宁晋县","value":"130528","location":{"lat":37.6198,"lng":114.91932}},{"label":"巨鹿县","value":"130529","location":{"lat":37.22107,"lng":115.03781}},{"label":"新河县","value":"130530","location":{"lat":37.52867,"lng":115.24214}},{"label":"广宗县","value":"130531","location":{"lat":37.07463,"lng":115.14261}},{"label":"平乡县","value":"130532","location":{"lat":37.06319,"lng":115.03007}},{"label":"威县","value":"130533","location":{"lat":36.97542,"lng":115.26669}},{"label":"清河县","value":"130534","location":{"lat":37.03993,"lng":115.66718}},{"label":"临西县","value":"130535","location":{"lat":36.87082,"lng":115.50104}},{"label":"南宫市","value":"130581","location":{"lat":37.35795,"lng":115.40866}},{"label":"沙河市","value":"130582","location":{"lat":36.85516,"lng":114.50332}}]},{"label":"保定","value":"130600","location":{"lat":38.87396,"lng":115.46459},"children":[{"label":"竞秀区","value":"130602","location":{"lat":38.87757,"lng":115.45875}},{"label":"莲池区","value":"130606","location":{"lat":38.88353,"lng":115.49715}},{"label":"满城区","value":"130607","location":{"lat":38.94892,"lng":115.32217}},{"label":"清苑区","value":"130608","location":{"lat":38.76526,"lng":115.48989}},{"label":"徐水区","value":"130609","location":{"lat":39.01865,"lng":115.65586}},{"label":"涞水县","value":"130623","location":{"lat":39.39428,"lng":115.71378}},{"label":"阜平县","value":"130624","location":{"lat":38.84915,"lng":114.19531}},{"label":"定兴县","value":"130626","location":{"lat":39.26315,"lng":115.8079}},{"label":"唐县","value":"130627","location":{"lat":38.7479,"lng":114.98295}},{"label":"高阳县","value":"130628","location":{"lat":38.70007,"lng":115.77884}},{"label":"容城县","value":"130629","location":{"lat":39.04285,"lng":115.86164}},{"label":"涞源县","value":"130630","location":{"lat":39.36018,"lng":114.69424}},{"label":"望都县","value":"130631","location":{"lat":38.709,"lng":115.15564}},{"label":"安新县","value":"130632","location":{"lat":38.93535,"lng":115.93564}},{"label":"易县","value":"130633","location":{"lat":39.34926,"lng":115.49846}},{"label":"曲阳县","value":"130634","location":{"lat":38.62231,"lng":114.74501}},{"label":"蠡县","value":"130635","location":{"lat":38.48806,"lng":115.5836}},{"label":"顺平县","value":"130636","location":{"lat":38.83759,"lng":115.13543}},{"label":"博野县","value":"130637","location":{"lat":38.45766,"lng":115.46439}},{"label":"雄县","value":"130638","location":{"lat":38.99446,"lng":116.10879}},{"label":"涿州市","value":"130681","location":{"lat":39.48529,"lng":115.97439}},{"label":"安国市","value":"130683","location":{"lat":38.41845,"lng":115.32664}},{"label":"高碑店市","value":"130684","location":{"lat":39.32658,"lng":115.87373}},{"label":"定州","value":"139001","location":{"lat":38.51626,"lng":114.99025}}]},{"label":"张家口","value":"130700","location":{"lat":40.82444,"lng":114.88755},"children":[{"label":"桥东区","value":"130702","location":{"lat":40.78847,"lng":114.89436}},{"label":"桥西区","value":"130703","location":{"lat":40.81956,"lng":114.86937}},{"label":"宣化区","value":"130705","location":{"lat":40.60845,"lng":115.09923}},{"label":"下花园区","value":"130706","location":{"lat":40.5024,"lng":115.28751}},{"label":"万全区","value":"130708","location":{"lat":40.76699,"lng":114.74055}},{"label":"崇礼区","value":"130709","location":{"lat":40.97457,"lng":115.28264}},{"label":"张北县","value":"130722","location":{"lat":41.15862,"lng":114.71987}},{"label":"康保县","value":"130723","location":{"lat":41.85228,"lng":114.60035}},{"label":"沽源县","value":"130724","location":{"lat":41.66964,"lng":115.68865}},{"label":"尚义县","value":"130725","location":{"lat":41.07599,"lng":113.96919}},{"label":"蔚县","value":"130726","location":{"lat":39.84072,"lng":114.58897}},{"label":"阳原县","value":"130727","location":{"lat":40.10366,"lng":114.15057}},{"label":"怀安县","value":"130728","location":{"lat":40.6743,"lng":114.38564}},{"label":"怀来县","value":"130730","location":{"lat":40.41538,"lng":115.51778}},{"label":"涿鹿县","value":"130731","location":{"lat":40.38003,"lng":115.21962}},{"label":"赤城县","value":"130732","location":{"lat":40.91295,"lng":115.83166}}]},{"label":"承德","value":"130800","location":{"lat":40.9515,"lng":117.9634},"children":[{"label":"双桥区","value":"130802","location":{"lat":40.97469,"lng":117.94348}},{"label":"双滦区","value":"130803","location":{"lat":40.95913,"lng":117.80024}},{"label":"鹰手营子矿区","value":"130804","location":{"lat":40.5464,"lng":117.65955}},{"label":"承德县","value":"130821","location":{"lat":40.76853,"lng":118.17382}},{"label":"兴隆县","value":"130822","location":{"lat":40.41727,"lng":117.50076}},{"label":"平泉县","value":"130823","location":{"lat":41.0184,"lng":118.70202}},{"label":"滦平县","value":"130824","location":{"lat":40.94145,"lng":117.33286}},{"label":"隆化县","value":"130825","location":{"lat":41.31381,"lng":117.73897}},{"label":"丰宁满族自治县","value":"130826","location":{"lat":41.20894,"lng":116.64591}},{"label":"宽城满族自治县","value":"130827","location":{"lat":40.61139,"lng":118.48535}},{"label":"围场满族蒙古族自治县","value":"130828","location":{"lat":41.93846,"lng":117.76016}}]},{"label":"沧州","value":"130900","location":{"lat":38.30441,"lng":116.83869},"children":[{"label":"新华区","value":"130902","location":{"lat":38.31419,"lng":116.86622}},{"label":"运河区","value":"130903","location":{"lat":38.31077,"lng":116.83191}},{"label":"沧县","value":"130921","location":{"lat":38.32474,"lng":116.60718}},{"label":"青县","value":"130922","location":{"lat":38.58348,"lng":116.80318}},{"label":"东光县","value":"130923","location":{"lat":37.88828,"lng":116.5371}},{"label":"海兴县","value":"130924","location":{"lat":38.14325,"lng":117.49785}},{"label":"盐山县","value":"130925","location":{"lat":38.0583,"lng":117.23025}},{"label":"肃宁县","value":"130926","location":{"lat":38.42277,"lng":115.82997}},{"label":"南皮县","value":"130927","location":{"lat":38.0378,"lng":116.70774}},{"label":"吴桥县","value":"130928","location":{"lat":37.6277,"lng":116.39154}},{"label":"献县","value":"130929","location":{"lat":38.19018,"lng":116.12279}},{"label":"孟村回族自治县","value":"130930","location":{"lat":38.05341,"lng":117.10418}},{"label":"泊头市","value":"130981","location":{"lat":38.08364,"lng":116.57828}},{"label":"任丘市","value":"130982","location":{"lat":38.71164,"lng":116.09954}},{"label":"黄骅市","value":"130983","location":{"lat":38.37139,"lng":117.33012}},{"label":"河间市","value":"130984","location":{"lat":38.44548,"lng":116.099}}]},{"label":"廊坊","value":"131000","location":{"lat":39.53775,"lng":116.68376},"children":[{"label":"安次区","value":"131002","location":{"lat":39.50311,"lng":116.68572}},{"label":"广阳区","value":"131003","location":{"lat":39.5228,"lng":116.71051}},{"label":"固安县","value":"131022","location":{"lat":39.43825,"lng":116.29852}},{"label":"永清县","value":"131023","location":{"lat":39.32178,"lng":116.49904}},{"label":"香河县","value":"131024","location":{"lat":39.76142,"lng":117.00645}},{"label":"大城县","value":"131025","location":{"lat":38.70469,"lng":116.65423}},{"label":"文安县","value":"131026","location":{"lat":38.87328,"lng":116.45848}},{"label":"大厂回族自治县","value":"131028","location":{"lat":39.88665,"lng":116.98951}},{"label":"霸州市","value":"131081","location":{"lat":39.12581,"lng":116.3917}},{"label":"三河市","value":"131082","location":{"lat":39.98246,"lng":117.07822}}]},{"label":"衡水","value":"131100","location":{"lat":37.73886,"lng":115.67054},"children":[{"label":"桃城区","value":"131102","location":{"lat":37.73516,"lng":115.67466}},{"label":"冀州区","value":"131103","location":{"lat":37.55085,"lng":115.57938}},{"label":"枣强县","value":"131121","location":{"lat":37.51337,"lng":115.72418}},{"label":"武邑县","value":"131122","location":{"lat":37.80186,"lng":115.88751}},{"label":"武强县","value":"131123","location":{"lat":38.0412,"lng":115.98253}},{"label":"饶阳县","value":"131124","location":{"lat":38.2353,"lng":115.7256}},{"label":"安平县","value":"131125","location":{"lat":38.23447,"lng":115.51912}},{"label":"故城县","value":"131126","location":{"lat":37.34748,"lng":115.96581}},{"label":"景县","value":"131127","location":{"lat":37.69234,"lng":116.2706}},{"label":"阜城县","value":"131128","location":{"lat":37.86885,"lng":116.14437}},{"label":"深州市","value":"131182","location":{"lat":38.00022,"lng":115.56001}}]}]},{"label":"山西省","value":"140000","location":{"lat":37.87343,"lng":112.56272},"children":[{"label":"太原","value":"140100","location":{"lat":37.87059,"lng":112.55067},"children":[{"label":"小店区","value":"140105","location":{"lat":37.73605,"lng":112.56566}},{"label":"迎泽区","value":"140106","location":{"lat":37.8632,"lng":112.56346}},{"label":"杏花岭区","value":"140107","location":{"lat":37.89403,"lng":112.57053}},{"label":"尖草坪区","value":"140108","location":{"lat":37.94036,"lng":112.48699}},{"label":"万柏林区","value":"140109","location":{"lat":37.85929,"lng":112.51562}},{"label":"晋源区","value":"140110","location":{"lat":37.71525,"lng":112.4777}},{"label":"清徐县","value":"140121","location":{"lat":37.60736,"lng":112.35885}},{"label":"阳曲县","value":"140122","location":{"lat":38.05828,"lng":112.67292}},{"label":"娄烦县","value":"140123","location":{"lat":38.0672,"lng":111.79745}},{"label":"古交市","value":"140181","location":{"lat":37.90714,"lng":112.17588}}]},{"label":"大同","value":"140200","location":{"lat":40.07637,"lng":113.30001},"children":[{"label":"城区","value":"140202","location":{"lat":40.07567,"lng":113.29853}},{"label":"矿区","value":"140203","location":{"lat":40.03705,"lng":113.17743}},{"label":"南郊区","value":"140211","location":{"lat":40.00543,"lng":113.14952}},{"label":"新荣区","value":"140212","location":{"lat":40.25585,"lng":113.14013}},{"label":"阳高县","value":"140221","location":{"lat":40.36627,"lng":113.75412}},{"label":"天镇县","value":"140222","location":{"lat":40.42031,"lng":114.0907}},{"label":"广灵县","value":"140223","location":{"lat":39.7602,"lng":114.28257}},{"label":"灵丘县","value":"140224","location":{"lat":39.44243,"lng":114.2342}},{"label":"浑源县","value":"140225","location":{"lat":39.69873,"lng":113.6908}},{"label":"左云县","value":"140226","location":{"lat":40.01349,"lng":112.70273}},{"label":"大同县","value":"140227","location":{"lat":40.04016,"lng":113.61217}}]},{"label":"阳泉","value":"140300","location":{"lat":37.85668,"lng":113.58047},"children":[{"label":"城区","value":"140302","location":{"lat":37.84739,"lng":113.60075}},{"label":"矿区","value":"140303","location":{"lat":37.86851,"lng":113.5553}},{"label":"郊区","value":"140311","location":{"lat":37.94135,"lng":113.58515}},{"label":"平定县","value":"140321","location":{"lat":37.78685,"lng":113.65804}},{"label":"盂县","value":"140322","location":{"lat":38.0858,"lng":113.41238}}]},{"label":"长治","value":"140400","location":{"lat":36.19581,"lng":113.11649},"children":[{"label":"城区","value":"140402","location":{"lat":36.20346,"lng":113.12303}},{"label":"郊区","value":"140411","location":{"lat":36.22434,"lng":113.11185}},{"label":"长治县","value":"140421","location":{"lat":36.05312,"lng":113.05135}},{"label":"襄垣县","value":"140423","location":{"lat":36.53581,"lng":113.05306}},{"label":"屯留县","value":"140424","location":{"lat":36.31553,"lng":112.89221}},{"label":"平顺县","value":"140425","location":{"lat":36.20006,"lng":113.43606}},{"label":"黎城县","value":"140426","location":{"lat":36.50227,"lng":113.38722}},{"label":"壶关县","value":"140427","location":{"lat":36.11567,"lng":113.20733}},{"label":"长子县","value":"140428","location":{"lat":36.12222,"lng":112.87795}},{"label":"武乡县","value":"140429","location":{"lat":36.8378,"lng":112.86387}},{"label":"沁县","value":"140430","location":{"lat":36.75608,"lng":112.69907}},{"label":"沁源县","value":"140431","location":{"lat":36.5001,"lng":112.33762}},{"label":"潞城市","value":"140481","location":{"lat":36.33418,"lng":113.22893}}]},{"label":"晋城","value":"140500","location":{"lat":35.49039,"lng":112.85113},"children":[{"label":"城区","value":"140502","location":{"lat":35.50154,"lng":112.85352}},{"label":"沁水县","value":"140521","location":{"lat":35.69015,"lng":112.1866}},{"label":"阳城县","value":"140522","location":{"lat":35.48618,"lng":112.41491}},{"label":"陵川县","value":"140524","location":{"lat":35.77512,"lng":113.28061}},{"label":"泽州县","value":"140525","location":{"lat":35.50043,"lng":112.94366}},{"label":"高平市","value":"140581","location":{"lat":35.79807,"lng":112.92358}}]},{"label":"朔州","value":"140600","location":{"lat":39.33155,"lng":112.43286},"children":[{"label":"朔城区","value":"140602","location":{"lat":39.31918,"lng":112.43314}},{"label":"平鲁区","value":"140603","location":{"lat":39.51238,"lng":112.28832}},{"label":"山阴县","value":"140621","location":{"lat":39.52625,"lng":112.81572}},{"label":"应县","value":"140622","location":{"lat":39.55401,"lng":113.19095}},{"label":"右玉县","value":"140623","location":{"lat":39.98913,"lng":112.46705}},{"label":"怀仁县","value":"140624","location":{"lat":39.82788,"lng":113.10012}}]},{"label":"晋中","value":"140700","location":{"lat":37.68702,"lng":112.75278},"children":[{"label":"榆次区","value":"140702","location":{"lat":37.69978,"lng":112.70746}},{"label":"榆社县","value":"140721","location":{"lat":37.07084,"lng":112.97522}},{"label":"左权县","value":"140722","location":{"lat":37.08243,"lng":113.37926}},{"label":"和顺县","value":"140723","location":{"lat":37.32905,"lng":113.56972}},{"label":"昔阳县","value":"140724","location":{"lat":37.61282,"lng":113.70718}},{"label":"寿阳县","value":"140725","location":{"lat":37.89498,"lng":113.17666}},{"label":"太谷县","value":"140726","location":{"lat":37.42119,"lng":112.55126}},{"label":"祁县","value":"140727","location":{"lat":37.35775,"lng":112.33507}},{"label":"平遥县","value":"140728","location":{"lat":37.18934,"lng":112.17557}},{"label":"灵石县","value":"140729","location":{"lat":36.84788,"lng":111.77879}},{"label":"介休市","value":"140781","location":{"lat":37.0271,"lng":111.91672}}]},{"label":"运城","value":"140800","location":{"lat":35.02628,"lng":111.00699},"children":[{"label":"盐湖区","value":"140802","location":{"lat":35.01505,"lng":110.99817}},{"label":"临猗县","value":"140821","location":{"lat":35.14471,"lng":110.77408}},{"label":"万荣县","value":"140822","location":{"lat":35.41534,"lng":110.83781}},{"label":"闻喜县","value":"140823","location":{"lat":35.35663,"lng":111.22472}},{"label":"稷山县","value":"140824","location":{"lat":35.60401,"lng":110.98311}},{"label":"新绛县","value":"140825","location":{"lat":35.61622,"lng":111.2247}},{"label":"绛县","value":"140826","location":{"lat":35.49146,"lng":111.56878}},{"label":"垣曲县","value":"140827","location":{"lat":35.29762,"lng":111.67025}},{"label":"夏县","value":"140828","location":{"lat":35.14136,"lng":111.22031}},{"label":"平陆县","value":"140829","location":{"lat":34.83467,"lng":111.19474}},{"label":"芮城县","value":"140830","location":{"lat":34.69365,"lng":110.69442}},{"label":"永济市","value":"140881","location":{"lat":34.86716,"lng":110.44773}},{"label":"河津市","value":"140882","location":{"lat":35.59643,"lng":110.71186}}]},{"label":"忻州","value":"140900","location":{"lat":38.4167,"lng":112.73418},"children":[{"label":"忻府区","value":"140902","location":{"lat":38.40429,"lng":112.74619}},{"label":"定襄县","value":"140921","location":{"lat":38.47348,"lng":112.95722}},{"label":"五台县","value":"140922","location":{"lat":38.72812,"lng":113.2554}},{"label":"代县","value":"140923","location":{"lat":39.06689,"lng":112.95996}},{"label":"繁峙县","value":"140924","location":{"lat":39.18904,"lng":113.26547}},{"label":"宁武县","value":"140925","location":{"lat":39.00147,"lng":112.3045}},{"label":"静乐县","value":"140926","location":{"lat":38.35924,"lng":111.93875}},{"label":"神池县","value":"140927","location":{"lat":39.09059,"lng":112.21077}},{"label":"五寨县","value":"140928","location":{"lat":38.91071,"lng":111.84701}},{"label":"岢岚县","value":"140929","location":{"lat":38.70427,"lng":111.57296}},{"label":"河曲县","value":"140930","location":{"lat":39.38456,"lng":111.13837}},{"label":"保德县","value":"140931","location":{"lat":39.02265,"lng":111.08625}},{"label":"偏关县","value":"140932","location":{"lat":39.43613,"lng":111.50869}},{"label":"原平市","value":"140981","location":{"lat":38.73051,"lng":112.71092}}]},{"label":"临汾","value":"141000","location":{"lat":36.08822,"lng":111.51962},"children":[{"label":"尧都区","value":"141002","location":{"lat":36.08329,"lng":111.57776}},{"label":"曲沃县","value":"141021","location":{"lat":35.64105,"lng":111.4757}},{"label":"翼城县","value":"141022","location":{"lat":35.73823,"lng":111.71836}},{"label":"襄汾县","value":"141023","location":{"lat":35.87618,"lng":111.44189}},{"label":"洪洞县","value":"141024","location":{"lat":36.25374,"lng":111.67496}},{"label":"古县","value":"141025","location":{"lat":36.26661,"lng":111.9205}},{"label":"安泽县","value":"141026","location":{"lat":36.14781,"lng":112.25013}},{"label":"浮山县","value":"141027","location":{"lat":35.96802,"lng":111.84952}},{"label":"吉县","value":"141028","location":{"lat":36.09789,"lng":110.68162}},{"label":"乡宁县","value":"141029","location":{"lat":35.97053,"lng":110.84721}},{"label":"大宁县","value":"141030","location":{"lat":36.46511,"lng":110.75285}},{"label":"隰县","value":"141031","location":{"lat":36.69344,"lng":110.94049}},{"label":"永和县","value":"141032","location":{"lat":36.75952,"lng":110.63198}},{"label":"蒲县","value":"141033","location":{"lat":36.41179,"lng":111.09648}},{"label":"汾西县","value":"141034","location":{"lat":36.65295,"lng":111.56365}},{"label":"侯马市","value":"141081","location":{"lat":35.61908,"lng":111.37213}},{"label":"霍州市","value":"141082","location":{"lat":36.56879,"lng":111.75505}}]},{"label":"吕梁","value":"141100","location":{"lat":37.51934,"lng":111.14165},"children":[{"label":"离石区","value":"141102","location":{"lat":37.51761,"lng":111.15081}},{"label":"文水县","value":"141121","location":{"lat":37.43843,"lng":112.0285}},{"label":"交城县","value":"141122","location":{"lat":37.55165,"lng":112.15478}},{"label":"兴县","value":"141123","location":{"lat":38.46242,"lng":111.1276}},{"label":"临县","value":"141124","location":{"lat":37.95106,"lng":110.99208}},{"label":"柳林县","value":"141125","location":{"lat":37.42902,"lng":110.88937}},{"label":"石楼县","value":"141126","location":{"lat":36.99857,"lng":110.83469}},{"label":"岚县","value":"141127","location":{"lat":38.27939,"lng":111.67195}},{"label":"方山县","value":"141128","location":{"lat":37.8947,"lng":111.24396}},{"label":"中阳县","value":"141129","location":{"lat":37.3572,"lng":111.17953}},{"label":"交口县","value":"141130","location":{"lat":36.98217,"lng":111.18107}},{"label":"孝义市","value":"141181","location":{"lat":37.14534,"lng":111.77903}},{"label":"汾阳市","value":"141182","location":{"lat":37.26542,"lng":111.78777}}]}]},{"label":"内蒙古自治区","value":"150000","location":{"lat":40.81733,"lng":111.76522},"children":[{"label":"呼和浩特","value":"150100","location":{"lat":40.84149,"lng":111.75199},"children":[{"label":"新城区","value":"150102","location":{"lat":40.85844,"lng":111.66345}},{"label":"回民区","value":"150103","location":{"lat":40.80772,"lng":111.62299}},{"label":"玉泉区","value":"150104","location":{"lat":40.75319,"lng":111.67543}},{"label":"赛罕区","value":"150105","location":{"lat":40.79195,"lng":111.70171}},{"label":"土默特左旗","value":"150121","location":{"lat":40.72957,"lng":111.16358}},{"label":"托克托县","value":"150122","location":{"lat":40.27744,"lng":111.19421}},{"label":"和林格尔县","value":"150123","location":{"lat":40.37859,"lng":111.82083}},{"label":"清水河县","value":"150124","location":{"lat":39.90892,"lng":111.68639}},{"label":"武川县","value":"150125","location":{"lat":41.0965,"lng":111.45118}}]},{"label":"包头","value":"150200","location":{"lat":40.65781,"lng":109.84021},"children":[{"label":"东河区","value":"150202","location":{"lat":40.57643,"lng":110.04317}},{"label":"昆都仑区","value":"150203","location":{"lat":40.64178,"lng":109.83859}},{"label":"青山区","value":"150204","location":{"lat":40.64559,"lng":109.90241}},{"label":"石拐区","value":"150205","location":{"lat":40.67204,"lng":110.27227}},{"label":"白云鄂博矿区","value":"150206","location":{"lat":41.76943,"lng":109.97372}},{"label":"九原区","value":"150207","location":{"lat":40.61009,"lng":109.96718}},{"label":"土默特右旗","value":"150221","location":{"lat":40.56883,"lng":110.52421}},{"label":"固阳县","value":"150222","location":{"lat":41.03412,"lng":110.0607}},{"label":"达尔罕茂明安联合旗","value":"150223","location":{"lat":41.69854,"lng":110.43261}}]},{"label":"乌海","value":"150300","location":{"lat":39.65384,"lng":106.79546},"children":[{"label":"海勃湾区","value":"150302","location":{"lat":39.69184,"lng":106.8226}},{"label":"海南区","value":"150303","location":{"lat":39.44096,"lng":106.89157}},{"label":"乌达区","value":"150304","location":{"lat":39.5058,"lng":106.72609}}]},{"label":"赤峰","value":"150400","location":{"lat":42.2586,"lng":118.88894},"children":[{"label":"红山区","value":"150402","location":{"lat":42.26581,"lng":118.95927}},{"label":"元宝山区","value":"150403","location":{"lat":42.03888,"lng":119.28862}},{"label":"松山区","value":"150404","location":{"lat":42.28727,"lng":118.93301}},{"label":"阿鲁科尔沁旗","value":"150421","location":{"lat":43.87244,"lng":120.06556}},{"label":"巴林左旗","value":"150422","location":{"lat":43.97094,"lng":119.37961}},{"label":"巴林右旗","value":"150423","location":{"lat":43.53391,"lng":118.66466}},{"label":"林西县","value":"150424","location":{"lat":43.61702,"lng":118.0558}},{"label":"克什克腾旗","value":"150425","location":{"lat":43.26624,"lng":117.54421}},{"label":"翁牛特旗","value":"150426","location":{"lat":42.93483,"lng":119.00669}},{"label":"喀喇沁旗","value":"150428","location":{"lat":41.92718,"lng":118.70273}},{"label":"宁城县","value":"150429","location":{"lat":41.59426,"lng":119.34308}},{"label":"敖汉旗","value":"150430","location":{"lat":42.29073,"lng":119.92168}}]},{"label":"通辽","value":"150500","location":{"lat":43.65247,"lng":122.24469},"children":[{"label":"科尔沁区","value":"150502","location":{"lat":43.62244,"lng":122.25615}},{"label":"科尔沁左翼中旗","value":"150521","location":{"lat":44.12659,"lng":123.31216}},{"label":"科尔沁左翼后旗","value":"150522","location":{"lat":42.93511,"lng":122.35674}},{"label":"开鲁县","value":"150523","location":{"lat":43.60005,"lng":121.3189}},{"label":"库伦旗","value":"150524","location":{"lat":42.73504,"lng":121.81073}},{"label":"奈曼旗","value":"150525","location":{"lat":42.86729,"lng":120.65779}},{"label":"扎鲁特旗","value":"150526","location":{"lat":44.55631,"lng":120.91159}},{"label":"霍林郭勒市","value":"150581","location":{"lat":45.53141,"lng":119.66359}}]},{"label":"鄂尔多斯","value":"150600","location":{"lat":39.60845,"lng":109.78087},"children":[{"label":"东胜区","value":"150602","location":{"lat":39.82127,"lng":109.96144}},{"label":"康巴什区","value":"150603","location":{"lat":39.658795,"lng":109.820934}},{"label":"达拉特旗","value":"150621","location":{"lat":40.40016,"lng":110.03293}},{"label":"准格尔旗","value":"150622","location":{"lat":39.86426,"lng":111.23987}},{"label":"鄂托克前旗","value":"150623","location":{"lat":38.18239,"lng":107.47743}},{"label":"鄂托克旗","value":"150624","location":{"lat":39.08989,"lng":107.9776}},{"label":"杭锦旗","value":"150625","location":{"lat":39.83352,"lng":108.73497}},{"label":"乌审旗","value":"150626","location":{"lat":38.60388,"lng":108.81769}},{"label":"伊金霍洛旗","value":"150627","location":{"lat":39.56442,"lng":109.74811}}]},{"label":"呼伦贝尔","value":"150700","location":{"lat":49.21163,"lng":119.76584},"children":[{"label":"海拉尔区","value":"150702","location":{"lat":49.21336,"lng":119.73572}},{"label":"扎赉诺尔区","value":"150703","location":{"lat":49.51054,"lng":117.66992}},{"label":"阿荣旗","value":"150721","location":{"lat":48.12582,"lng":123.45944}},{"label":"莫力达瓦达斡尔族自治旗","value":"150722","location":{"lat":48.47711,"lng":124.51936}},{"label":"鄂伦春自治旗","value":"150723","location":{"lat":50.59158,"lng":123.72577}},{"label":"鄂温克族自治旗","value":"150724","location":{"lat":49.14678,"lng":119.75542}},{"label":"陈巴尔虎旗","value":"150725","location":{"lat":49.32837,"lng":119.42429}},{"label":"新巴尔虎左旗","value":"150726","location":{"lat":48.21819,"lng":118.26995}},{"label":"新巴尔虎右旗","value":"150727","location":{"lat":48.67191,"lng":116.82355}},{"label":"满洲里市","value":"150781","location":{"lat":49.59655,"lng":117.37836}},{"label":"牙克石市","value":"150782","location":{"lat":49.28563,"lng":120.71174}},{"label":"扎兰屯市","value":"150783","location":{"lat":48.01365,"lng":122.73761}},{"label":"额尔古纳市","value":"150784","location":{"lat":50.24315,"lng":120.17962}},{"label":"根河市","value":"150785","location":{"lat":50.78046,"lng":121.5204}}]},{"label":"巴彦淖尔","value":"150800","location":{"lat":40.74317,"lng":107.38773},"children":[{"label":"临河区","value":"150802","location":{"lat":40.76645,"lng":107.38683}},{"label":"五原县","value":"150821","location":{"lat":41.08879,"lng":108.2673}},{"label":"磴口县","value":"150822","location":{"lat":40.33056,"lng":107.00864}},{"label":"乌拉特前旗","value":"150823","location":{"lat":40.73662,"lng":108.65224}},{"label":"乌拉特中旗","value":"150824","location":{"lat":41.56746,"lng":108.52647}},{"label":"乌拉特后旗","value":"150825","location":{"lat":41.08414,"lng":107.07466}},{"label":"杭锦后旗","value":"150826","location":{"lat":40.88594,"lng":107.15114}}]},{"label":"乌兰察布","value":"150900","location":{"lat":40.99391,"lng":113.13376},"children":[{"label":"集宁区","value":"150902","location":{"lat":40.9906,"lng":113.12401}},{"label":"卓资县","value":"150921","location":{"lat":40.89417,"lng":112.57785}},{"label":"化德县","value":"150922","location":{"lat":41.90479,"lng":114.01089}},{"label":"商都县","value":"150923","location":{"lat":41.5621,"lng":113.57718}},{"label":"兴和县","value":"150924","location":{"lat":40.8719,"lng":113.83396}},{"label":"凉城县","value":"150925","location":{"lat":40.53165,"lng":112.50387}},{"label":"察哈尔右翼前旗","value":"150926","location":{"lat":40.78585,"lng":113.21095}},{"label":"察哈尔右翼中旗","value":"150927","location":{"lat":41.27747,"lng":112.63544}},{"label":"察哈尔右翼后旗","value":"150928","location":{"lat":41.43589,"lng":113.19222}},{"label":"四子王旗","value":"150929","location":{"lat":41.53316,"lng":111.70658}},{"label":"丰镇市","value":"150981","location":{"lat":40.43574,"lng":113.11056}}]},{"label":"兴安盟","value":"152200","location":{"lat":46.08208,"lng":122.03818},"children":[{"label":"乌兰浩特市","value":"152201","location":{"lat":46.07282,"lng":122.09316}},{"label":"阿尔山市","value":"152202","location":{"lat":47.1771,"lng":119.94381}},{"label":"科尔沁右翼前旗","value":"152221","location":{"lat":46.07955,"lng":121.95275}},{"label":"科尔沁右翼中旗","value":"152222","location":{"lat":45.06056,"lng":121.47694}},{"label":"扎赉特旗","value":"152223","location":{"lat":46.72279,"lng":122.8998}},{"label":"突泉县","value":"152224","location":{"lat":45.38282,"lng":121.59408}}]},{"label":"锡林郭勒盟","value":"152500","location":{"lat":43.9332,"lng":116.04775},"children":[{"label":"二连浩特市","value":"152501","location":{"lat":43.64305,"lng":111.95238}},{"label":"锡林浩特市","value":"152502","location":{"lat":43.93339,"lng":116.08608}},{"label":"阿巴嘎旗","value":"152522","location":{"lat":44.02272,"lng":114.95034}},{"label":"苏尼特左旗","value":"152523","location":{"lat":43.85921,"lng":113.66737}},{"label":"苏尼特右旗","value":"152524","location":{"lat":42.74694,"lng":112.65746}},{"label":"东乌珠穆沁旗","value":"152525","location":{"lat":45.5096,"lng":116.97215}},{"label":"西乌珠穆沁旗","value":"152526","location":{"lat":44.58716,"lng":117.60899}},{"label":"太仆寺旗","value":"152527","location":{"lat":41.87732,"lng":115.28305}},{"label":"镶黄旗","value":"152528","location":{"lat":42.23232,"lng":113.84751}},{"label":"正镶白旗","value":"152529","location":{"lat":42.28722,"lng":115.03077}},{"label":"正蓝旗","value":"152530","location":{"lat":42.24162,"lng":115.99239}},{"label":"多伦县","value":"152531","location":{"lat":42.20303,"lng":116.48571}}]},{"label":"阿拉善盟","value":"152900","location":{"lat":38.85153,"lng":105.72898},"children":[{"label":"阿拉善左旗","value":"152921","location":{"lat":38.83343,"lng":105.66626}},{"label":"阿拉善右旗","value":"152922","location":{"lat":39.21536,"lng":101.66711}},{"label":"额济纳旗","value":"152923","location":{"lat":41.95449,"lng":101.05552}}]}]},{"label":"辽宁省","value":"210000","location":{"lat":41.83571,"lng":123.42925},"children":[{"label":"沈阳","value":"210100","location":{"lat":41.67718,"lng":123.4631},"children":[{"label":"和平区","value":"210102","location":{"lat":41.78978,"lng":123.42056}},{"label":"沈河区","value":"210103","location":{"lat":41.79607,"lng":123.45852}},{"label":"大东区","value":"210104","location":{"lat":41.80515,"lng":123.46987}},{"label":"皇姑区","value":"210105","location":{"lat":41.82465,"lng":123.44168}},{"label":"铁西区","value":"210106","location":{"lat":41.80283,"lng":123.3768}},{"label":"苏家屯区","value":"210111","location":{"lat":41.66472,"lng":123.34432}},{"label":"浑南区","value":"210112","location":{"lat":41.71482,"lng":123.44972}},{"label":"沈北新区","value":"210113","location":{"lat":41.91303,"lng":123.58424}},{"label":"于洪区","value":"210114","location":{"lat":41.79407,"lng":123.30813}},{"label":"辽中区","value":"210115","location":{"lat":41.51685,"lng":122.76549}},{"label":"康平县","value":"210123","location":{"lat":42.7499,"lng":123.35349}},{"label":"法库县","value":"210124","location":{"lat":42.50403,"lng":123.40838}},{"label":"新民市","value":"210181","location":{"lat":41.99767,"lng":122.828}}]},{"label":"大连","value":"210200","location":{"lat":38.91369,"lng":121.61476},"children":[{"label":"中山区","value":"210202","location":{"lat":38.91864,"lng":121.64511}},{"label":"西岗区","value":"210203","location":{"lat":38.91478,"lng":121.61234}},{"label":"沙河口区","value":"210204","location":{"lat":38.90463,"lng":121.59451}},{"label":"甘井子区","value":"210211","location":{"lat":38.95223,"lng":121.5255}},{"label":"旅顺口区","value":"210212","location":{"lat":38.85129,"lng":121.26208}},{"label":"金州区","value":"210213","location":{"lat":39.05015,"lng":121.78259}},{"label":"普兰店区","value":"210214","location":{"lat":39.39443,"lng":121.96323}},{"label":"长海县","value":"210224","location":{"lat":39.27276,"lng":122.58861}},{"label":"瓦房店市","value":"210281","location":{"lat":39.62644,"lng":121.97995}},{"label":"庄河市","value":"210283","location":{"lat":39.68037,"lng":122.96611}}]},{"label":"鞍山","value":"210300","location":{"lat":41.10777,"lng":122.9946},"children":[{"label":"铁东区","value":"210302","location":{"lat":41.08994,"lng":122.9912}},{"label":"铁西区","value":"210303","location":{"lat":41.11956,"lng":122.96939}},{"label":"立山区","value":"210304","location":{"lat":41.15013,"lng":123.02952}},{"label":"千山区","value":"210311","location":{"lat":41.06462,"lng":122.95412}},{"label":"台安县","value":"210321","location":{"lat":41.41269,"lng":122.43591}},{"label":"岫岩满族自治县","value":"210323","location":{"lat":40.28998,"lng":123.28171}},{"label":"海城市","value":"210381","location":{"lat":40.88145,"lng":122.68463}}]},{"label":"抚顺","value":"210400","location":{"lat":41.87971,"lng":123.95722},"children":[{"label":"新抚区","value":"210402","location":{"lat":41.85928,"lng":123.87415}},{"label":"东洲区","value":"210403","location":{"lat":41.85301,"lng":124.03923}},{"label":"望花区","value":"210404","location":{"lat":41.85329,"lng":123.78439}},{"label":"顺城区","value":"210411","location":{"lat":41.88307,"lng":123.94513}},{"label":"抚顺县","value":"210421","location":{"lat":41.78616,"lng":124.19596}},{"label":"新宾满族自治县","value":"210422","location":{"lat":41.73371,"lng":125.03979}},{"label":"清原满族自治县","value":"210423","location":{"lat":42.10038,"lng":124.92411}}]},{"label":"本溪","value":"210500","location":{"lat":41.29413,"lng":123.76686},"children":[{"label":"平山区","value":"210502","location":{"lat":41.22132,"lng":123.68338}},{"label":"溪湖区","value":"210503","location":{"lat":41.32919,"lng":123.76769}},{"label":"明山区","value":"210504","location":{"lat":41.30877,"lng":123.81695}},{"label":"南芬区","value":"210505","location":{"lat":41.10031,"lng":123.74509}},{"label":"本溪满族自治县","value":"210521","location":{"lat":41.3027,"lng":124.12193}},{"label":"桓仁满族自治县","value":"210522","location":{"lat":41.26706,"lng":125.36096}}]},{"label":"丹东","value":"210600","location":{"lat":39.9998,"lng":124.35601},"children":[{"label":"元宝区","value":"210602","location":{"lat":40.13673,"lng":124.39582}},{"label":"振兴区","value":"210603","location":{"lat":40.10495,"lng":124.36041}},{"label":"振安区","value":"210604","location":{"lat":40.15823,"lng":124.4282}},{"label":"宽甸满族自治县","value":"210624","location":{"lat":40.73131,"lng":124.78366}},{"label":"东港市","value":"210681","location":{"lat":39.86172,"lng":124.15209}},{"label":"凤城市","value":"210682","location":{"lat":40.45279,"lng":124.06605}}]},{"label":"锦州","value":"210700","location":{"lat":41.09515,"lng":121.12703},"children":[{"label":"古塔区","value":"210702","location":{"lat":41.11728,"lng":121.12834}},{"label":"凌河区","value":"210703","location":{"lat":41.11512,"lng":121.15126}},{"label":"太和区","value":"210711","location":{"lat":41.10897,"lng":121.10378}},{"label":"黑山县","value":"210726","location":{"lat":41.69391,"lng":122.12066}},{"label":"义县","value":"210727","location":{"lat":41.53311,"lng":121.23915}},{"label":"凌海市","value":"210781","location":{"lat":41.17371,"lng":121.35771}},{"label":"北镇市","value":"210782","location":{"lat":41.59465,"lng":121.79854}}]},{"label":"营口","value":"210800","location":{"lat":40.66683,"lng":122.2349},"children":[{"label":"站前区","value":"210802","location":{"lat":40.67256,"lng":122.25896}},{"label":"西市区","value":"210803","location":{"lat":40.66629,"lng":122.20668}},{"label":"鲅鱼圈区","value":"210804","location":{"lat":40.22675,"lng":122.12169}},{"label":"老边区","value":"210811","location":{"lat":40.68006,"lng":122.38012}},{"label":"盖州市","value":"210881","location":{"lat":40.40053,"lng":122.3488}},{"label":"大石桥市","value":"210882","location":{"lat":40.64448,"lng":122.50917}}]},{"label":"阜新","value":"210900","location":{"lat":42.02166,"lng":121.67011},"children":[{"label":"海州区","value":"210902","location":{"lat":42.01332,"lng":121.65617}},{"label":"新邱区","value":"210903","location":{"lat":42.08742,"lng":121.79232}},{"label":"太平区","value":"210904","location":{"lat":42.01072,"lng":121.67865}},{"label":"清河门区","value":"210905","location":{"lat":41.78306,"lng":121.41614}},{"label":"细河区","value":"210911","location":{"lat":42.02539,"lng":121.68008}},{"label":"阜新蒙古族自治县","value":"210921","location":{"lat":42.06514,"lng":121.75791}},{"label":"彰武县","value":"210922","location":{"lat":42.38649,"lng":122.53889}}]},{"label":"辽阳","value":"211000","location":{"lat":41.26809,"lng":123.23736},"children":[{"label":"白塔区","value":"211002","location":{"lat":41.27031,"lng":123.17424}},{"label":"文圣区","value":"211003","location":{"lat":41.26776,"lng":123.23699}},{"label":"宏伟区","value":"211004","location":{"lat":41.21725,"lng":123.19637}},{"label":"弓长岭区","value":"211005","location":{"lat":41.15171,"lng":123.42052}},{"label":"太子河区","value":"211011","location":{"lat":41.29225,"lng":123.13278}},{"label":"辽阳县","value":"211021","location":{"lat":41.20546,"lng":123.10578}},{"label":"灯塔市","value":"211081","location":{"lat":41.42616,"lng":123.3393}}]},{"label":"盘锦","value":"211100","location":{"lat":41.11996,"lng":122.07078},"children":[{"label":"双台子区","value":"211102","location":{"lat":41.19049,"lng":122.06017}},{"label":"兴隆台区","value":"211103","location":{"lat":41.13876,"lng":122.10558}},{"label":"大洼区","value":"211104","location":{"lat":41.00247,"lng":122.08245}},{"label":"盘山县","value":"211122","location":{"lat":41.24265,"lng":121.9963}}]},{"label":"铁岭","value":"211200","location":{"lat":42.2862,"lng":123.84241},"children":[{"label":"银州区","value":"211202","location":{"lat":42.2862,"lng":123.84241}},{"label":"清河区","value":"211204","location":{"lat":42.54682,"lng":124.15916}},{"label":"铁岭县","value":"211221","location":{"lat":42.22284,"lng":123.72783}},{"label":"西丰县","value":"211223","location":{"lat":42.73835,"lng":124.72734}},{"label":"昌图县","value":"211224","location":{"lat":42.78613,"lng":124.11092}},{"label":"调兵山市","value":"211281","location":{"lat":42.46755,"lng":123.5669}},{"label":"开原市","value":"211282","location":{"lat":42.54645,"lng":124.0382}}]},{"label":"朝阳","value":"211300","location":{"lat":41.57347,"lng":120.4508},"children":[{"label":"双塔区","value":"211302","location":{"lat":41.5657,"lng":120.45372}},{"label":"龙城区","value":"211303","location":{"lat":41.59973,"lng":120.41555}},{"label":"朝阳县","value":"211321","location":{"lat":41.36782,"lng":120.29592}},{"label":"建平县","value":"211322","location":{"lat":41.4032,"lng":119.64396}},{"label":"喀喇沁左翼蒙古族自治县","value":"211324","location":{"lat":41.12738,"lng":119.74048}},{"label":"北票市","value":"211381","location":{"lat":41.8008,"lng":120.77091}},{"label":"凌源市","value":"211382","location":{"lat":41.24548,"lng":119.40134}}]},{"label":"葫芦岛","value":"211400","location":{"lat":40.711,"lng":120.83699},"children":[{"label":"连山区","value":"211402","location":{"lat":40.77526,"lng":120.86908}},{"label":"龙港区","value":"211403","location":{"lat":40.73545,"lng":120.89393}},{"label":"南票区","value":"211404","location":{"lat":41.10714,"lng":120.74985}},{"label":"绥中县","value":"211421","location":{"lat":40.32565,"lng":120.34431}},{"label":"建昌县","value":"211422","location":{"lat":40.82408,"lng":119.83715}},{"label":"兴城市","value":"211481","location":{"lat":40.61018,"lng":120.75619}}]}]},{"label":"吉林省","value":"220000","location":{"lat":43.89616,"lng":125.3268},"children":[{"label":"长春","value":"220100","location":{"lat":43.81602,"lng":125.32357},"children":[{"label":"南关区","value":"220102","location":{"lat":43.86414,"lng":125.35043}},{"label":"宽城区","value":"220103","location":{"lat":43.94288,"lng":125.32615}},{"label":"朝阳区","value":"220104","location":{"lat":43.83327,"lng":125.28845}},{"label":"二道区","value":"220105","location":{"lat":43.86497,"lng":125.37427}},{"label":"绿园区","value":"220106","location":{"lat":43.88041,"lng":125.25606}},{"label":"双阳区","value":"220112","location":{"lat":43.52503,"lng":125.66464}},{"label":"九台区","value":"220113","location":{"lat":44.15174,"lng":125.83949}},{"label":"农安县","value":"220122","location":{"lat":44.43195,"lng":125.18512}},{"label":"榆树市","value":"220182","location":{"lat":44.83989,"lng":126.533}},{"label":"德惠市","value":"220183","location":{"lat":44.53709,"lng":125.70558}}]},{"label":"吉林","value":"220200","location":{"lat":43.83784,"lng":126.54944},"children":[{"label":"昌邑区","value":"220202","location":{"lat":43.88187,"lng":126.57436}},{"label":"龙潭区","value":"220203","location":{"lat":43.9106,"lng":126.56223}},{"label":"船营区","value":"220204","location":{"lat":43.83395,"lng":126.54113}},{"label":"丰满区","value":"220211","location":{"lat":43.82142,"lng":126.56206}},{"label":"永吉县","value":"220221","location":{"lat":43.67253,"lng":126.49754}},{"label":"蛟河市","value":"220281","location":{"lat":43.72393,"lng":127.34477}},{"label":"桦甸市","value":"220282","location":{"lat":42.97208,"lng":126.74627}},{"label":"舒兰市","value":"220283","location":{"lat":44.40586,"lng":126.96532}},{"label":"磐石市","value":"220284","location":{"lat":42.94662,"lng":126.06046}}]},{"label":"四平","value":"220300","location":{"lat":43.16646,"lng":124.35036},"children":[{"label":"铁西区","value":"220302","location":{"lat":43.14635,"lng":124.34515}},{"label":"铁东区","value":"220303","location":{"lat":43.16208,"lng":124.40946}},{"label":"梨树县","value":"220322","location":{"lat":43.30717,"lng":124.33564}},{"label":"伊通满族自治县","value":"220323","location":{"lat":43.34494,"lng":125.30536}},{"label":"公主岭市","value":"220381","location":{"lat":43.50468,"lng":124.8228}},{"label":"双辽市","value":"220382","location":{"lat":43.51845,"lng":123.50296}}]},{"label":"辽源","value":"220400","location":{"lat":42.88805,"lng":125.14368},"children":[{"label":"龙山区","value":"220402","location":{"lat":42.9015,"lng":125.13682}},{"label":"西安区","value":"220403","location":{"lat":42.92689,"lng":125.14922}},{"label":"东丰县","value":"220421","location":{"lat":42.67704,"lng":125.53056}},{"label":"东辽县","value":"220422","location":{"lat":42.92636,"lng":124.99162}}]},{"label":"通化","value":"220500","location":{"lat":41.72829,"lng":125.9399},"children":[{"label":"东昌区","value":"220502","location":{"lat":41.7285,"lng":125.95513}},{"label":"二道江区","value":"220503","location":{"lat":41.7742,"lng":126.04262}},{"label":"通化县","value":"220521","location":{"lat":41.67929,"lng":125.7594}},{"label":"辉南县","value":"220523","location":{"lat":42.68499,"lng":126.04687}},{"label":"柳河县","value":"220524","location":{"lat":42.2847,"lng":125.74478}},{"label":"梅河口市","value":"220581","location":{"lat":42.53873,"lng":125.7121}},{"label":"集安市","value":"220582","location":{"lat":41.12622,"lng":126.19269}}]},{"label":"白山","value":"220600","location":{"lat":41.9408,"lng":126.42443},"children":[{"label":"浑江区","value":"220602","location":{"lat":41.94507,"lng":126.417}},{"label":"江源区","value":"220605","location":{"lat":42.05665,"lng":126.59088}},{"label":"抚松县","value":"220621","location":{"lat":42.34202,"lng":127.28036}},{"label":"靖宇县","value":"220622","location":{"lat":42.38872,"lng":126.81329}},{"label":"长白朝鲜族自治县","value":"220623","location":{"lat":41.41997,"lng":128.2005}},{"label":"临江市","value":"220681","location":{"lat":41.81193,"lng":126.91798}}]},{"label":"松原","value":"220700","location":{"lat":45.1411,"lng":124.82515},"children":[{"label":"宁江区","value":"220702","location":{"lat":45.17185,"lng":124.81698}},{"label":"前郭尔罗斯蒙古族自治县","value":"220721","location":{"lat":45.1173,"lng":124.82357}},{"label":"长岭县","value":"220722","location":{"lat":44.27591,"lng":123.9673}},{"label":"乾安县","value":"220723","location":{"lat":45.00457,"lng":124.02797}},{"label":"扶余市","value":"220781","location":{"lat":44.99014,"lng":126.04972}}]},{"label":"白城","value":"220800","location":{"lat":45.6196,"lng":122.83871},"children":[{"label":"洮北区","value":"220802","location":{"lat":45.6216,"lng":122.85111}},{"label":"镇赉县","value":"220821","location":{"lat":45.84825,"lng":123.19987}},{"label":"通榆县","value":"220822","location":{"lat":44.81296,"lng":123.08831}},{"label":"洮南市","value":"220881","location":{"lat":45.33559,"lng":122.78635}},{"label":"大安市","value":"220882","location":{"lat":45.50711,"lng":124.29252}}]},{"label":"延边朝鲜族自治州","value":"222400","location":{"lat":42.89119,"lng":129.5091},"children":[{"label":"延吉市","value":"222401","location":{"lat":42.89107,"lng":129.5091}},{"label":"图们市","value":"222402","location":{"lat":42.96805,"lng":129.8439}},{"label":"敦化市","value":"222403","location":{"lat":43.37278,"lng":128.23109}},{"label":"珲春市","value":"222404","location":{"lat":42.86249,"lng":130.36577}},{"label":"龙井市","value":"222405","location":{"lat":42.76587,"lng":129.42641}},{"label":"和龙市","value":"222406","location":{"lat":42.54641,"lng":129.01079}},{"label":"汪清县","value":"222424","location":{"lat":43.31281,"lng":129.77125}},{"label":"安图县","value":"222426","location":{"lat":43.11166,"lng":128.8992}}]}]},{"label":"黑龙江省","value":"230000","location":{"lat":45.74208,"lng":126.66285},"children":[{"label":"哈尔滨","value":"230100","location":{"lat":45.80216,"lng":126.5358},"children":[{"label":"道里区","value":"230102","location":{"lat":45.75567,"lng":126.61686}},{"label":"南岗区","value":"230103","location":{"lat":45.76021,"lng":126.66837}},{"label":"道外区","value":"230104","location":{"lat":45.79201,"lng":126.64932}},{"label":"平房区","value":"230108","location":{"lat":45.59799,"lng":126.63768}},{"label":"松北区","value":"230109","location":{"lat":45.80825,"lng":126.56279}},{"label":"香坊区","value":"230110","location":{"lat":45.70847,"lng":126.66287}},{"label":"呼兰区","value":"230111","location":{"lat":45.88899,"lng":126.58796}},{"label":"阿城区","value":"230112","location":{"lat":45.54774,"lng":126.95717}},{"label":"双城区","value":"230113","location":{"lat":45.38355,"lng":126.31227}},{"label":"依兰县","value":"230123","location":{"lat":46.32489,"lng":129.56859}},{"label":"方正县","value":"230124","location":{"lat":45.85253,"lng":128.82707}},{"label":"宾县","value":"230125","location":{"lat":45.75864,"lng":127.48586}},{"label":"巴彦县","value":"230126","location":{"lat":46.08536,"lng":127.4035}},{"label":"木兰县","value":"230127","location":{"lat":45.95038,"lng":128.04392}},{"label":"通河县","value":"230128","location":{"lat":45.9901,"lng":128.74607}},{"label":"延寿县","value":"230129","location":{"lat":45.4519,"lng":128.33162}},{"label":"尚志市","value":"230183","location":{"lat":45.21102,"lng":127.96027}},{"label":"五常市","value":"230184","location":{"lat":44.93191,"lng":127.16746}}]},{"label":"齐齐哈尔","value":"230200","location":{"lat":47.35431,"lng":123.91796},"children":[{"label":"龙沙区","value":"230202","location":{"lat":47.31742,"lng":123.95763}},{"label":"建华区","value":"230203","location":{"lat":47.35434,"lng":123.95546}},{"label":"铁锋区","value":"230204","location":{"lat":47.34076,"lng":123.97807}},{"label":"昂昂溪区","value":"230205","location":{"lat":47.15517,"lng":123.82234}},{"label":"富拉尔基区","value":"230206","location":{"lat":47.2089,"lng":123.62937}},{"label":"碾子山区","value":"230207","location":{"lat":47.51698,"lng":122.88777}},{"label":"梅里斯达斡尔族区","value":"230208","location":{"lat":47.3095,"lng":123.75281}},{"label":"龙江县","value":"230221","location":{"lat":47.33737,"lng":123.20483}},{"label":"依安县","value":"230223","location":{"lat":47.89349,"lng":125.30621}},{"label":"泰来县","value":"230224","location":{"lat":46.39389,"lng":123.41738}},{"label":"甘南县","value":"230225","location":{"lat":47.92037,"lng":123.50624}},{"label":"富裕县","value":"230227","location":{"lat":47.77533,"lng":124.47387}},{"label":"克山县","value":"230229","location":{"lat":48.03694,"lng":125.87561}},{"label":"克东县","value":"230230","location":{"lat":48.04167,"lng":126.24871}},{"label":"拜泉县","value":"230231","location":{"lat":47.59569,"lng":126.10005}},{"label":"讷河市","value":"230281","location":{"lat":48.48419,"lng":124.88397}}]},{"label":"鸡西","value":"230300","location":{"lat":45.29524,"lng":130.96954},"children":[{"label":"鸡冠区","value":"230302","location":{"lat":45.30412,"lng":130.98084}},{"label":"恒山区","value":"230303","location":{"lat":45.21072,"lng":130.90499}},{"label":"滴道区","value":"230304","location":{"lat":45.34872,"lng":130.84367}},{"label":"梨树区","value":"230305","location":{"lat":45.09203,"lng":130.69708}},{"label":"城子河区","value":"230306","location":{"lat":45.33693,"lng":131.01136}},{"label":"麻山区","value":"230307","location":{"lat":45.21213,"lng":130.47817}},{"label":"鸡东县","value":"230321","location":{"lat":45.26002,"lng":131.12408}},{"label":"虎林市","value":"230381","location":{"lat":45.76267,"lng":132.93695}},{"label":"密山市","value":"230382","location":{"lat":45.52975,"lng":131.84631}}]},{"label":"鹤岗","value":"230400","location":{"lat":47.34989,"lng":130.29785},"children":[{"label":"向阳区","value":"230402","location":{"lat":47.34254,"lng":130.2943}},{"label":"工农区","value":"230403","location":{"lat":47.31872,"lng":130.27482}},{"label":"南山区","value":"230404","location":{"lat":47.31506,"lng":130.28714}},{"label":"兴安区","value":"230405","location":{"lat":47.25286,"lng":130.23924}},{"label":"东山区","value":"230406","location":{"lat":47.33872,"lng":130.31755}},{"label":"兴山区","value":"230407","location":{"lat":47.3846,"lng":130.33302}},{"label":"萝北县","value":"230421","location":{"lat":47.57752,"lng":130.8286}},{"label":"绥滨县","value":"230422","location":{"lat":47.28906,"lng":131.85224}}]},{"label":"双鸭山","value":"230500","location":{"lat":46.64658,"lng":131.1591},"children":[{"label":"尖山区","value":"230502","location":{"lat":46.64618,"lng":131.1584}},{"label":"岭东区","value":"230503","location":{"lat":46.54464,"lng":131.15214}},{"label":"四方台区","value":"230505","location":{"lat":46.59426,"lng":131.33446}},{"label":"宝山区","value":"230506","location":{"lat":46.57727,"lng":131.40178}},{"label":"集贤县","value":"230521","location":{"lat":46.72844,"lng":131.14115}},{"label":"友谊县","value":"230522","location":{"lat":46.76743,"lng":131.80795}},{"label":"宝清县","value":"230523","location":{"lat":46.32695,"lng":132.19708}},{"label":"饶河县","value":"230524","location":{"lat":46.7982,"lng":134.01324}}]},{"label":"大庆","value":"230600","location":{"lat":46.58758,"lng":125.10307},"children":[{"label":"萨尔图区","value":"230602","location":{"lat":46.60302,"lng":125.05422}},{"label":"龙凤区","value":"230603","location":{"lat":46.56182,"lng":125.13415}},{"label":"让胡路区","value":"230604","location":{"lat":46.65225,"lng":124.87083}},{"label":"红岗区","value":"230605","location":{"lat":46.39818,"lng":124.89082}},{"label":"大同区","value":"230606","location":{"lat":46.03904,"lng":124.81056}},{"label":"肇州县","value":"230621","location":{"lat":45.69886,"lng":125.26859}},{"label":"肇源县","value":"230622","location":{"lat":45.5183,"lng":125.07795}},{"label":"林甸县","value":"230623","location":{"lat":47.18298,"lng":124.8713}},{"label":"杜尔伯特蒙古族自治县","value":"230624","location":{"lat":46.86231,"lng":124.44278}}]},{"label":"伊春","value":"230700","location":{"lat":47.72752,"lng":128.84049},"children":[{"label":"伊春区","value":"230702","location":{"lat":47.72798,"lng":128.90743}},{"label":"南岔区","value":"230703","location":{"lat":47.13799,"lng":129.28365}},{"label":"友好区","value":"230704","location":{"lat":47.8538,"lng":128.84071}},{"label":"西林区","value":"230705","location":{"lat":47.48081,"lng":129.31286}},{"label":"翠峦区","value":"230706","location":{"lat":47.72582,"lng":128.669}},{"label":"新青区","value":"230707","location":{"lat":48.29045,"lng":129.53362}},{"label":"美溪区","value":"230708","location":{"lat":47.63508,"lng":129.12925}},{"label":"金山屯区","value":"230709","location":{"lat":47.41303,"lng":129.42899}},{"label":"五营区","value":"230710","location":{"lat":48.10802,"lng":129.24536}},{"label":"乌马河区","value":"230711","location":{"lat":47.72669,"lng":128.80019}},{"label":"汤旺河区","value":"230712","location":{"lat":48.45469,"lng":129.57097}},{"label":"带岭区","value":"230713","location":{"lat":47.02834,"lng":129.02057}},{"label":"乌伊岭区","value":"230714","location":{"lat":48.59057,"lng":129.43773}},{"label":"红星区","value":"230715","location":{"lat":48.23941,"lng":129.39081}},{"label":"上甘岭区","value":"230716","location":{"lat":47.97469,"lng":129.02439}},{"label":"嘉荫县","value":"230722","location":{"lat":48.88942,"lng":130.40308}},{"label":"铁力市","value":"230781","location":{"lat":46.98664,"lng":128.03243}}]},{"label":"佳木斯","value":"230800","location":{"lat":46.79977,"lng":130.31882},"children":[{"label":"向阳区","value":"230803","location":{"lat":46.80774,"lng":130.36547}},{"label":"前进区","value":"230804","location":{"lat":46.81409,"lng":130.37525}},{"label":"东风区","value":"230805","location":{"lat":46.82252,"lng":130.40368}},{"label":"郊区","value":"230811","location":{"lat":46.80975,"lng":130.32707}},{"label":"桦南县","value":"230822","location":{"lat":46.23925,"lng":130.55366}},{"label":"桦川县","value":"230826","location":{"lat":47.023,"lng":130.71898}},{"label":"汤原县","value":"230828","location":{"lat":46.73068,"lng":129.90495}},{"label":"同江市","value":"230881","location":{"lat":47.64213,"lng":132.51101}},{"label":"富锦市","value":"230882","location":{"lat":47.25022,"lng":132.03728}},{"label":"抚远市","value":"230883","location":{"lat":48.36485,"lng":134.30795}}]},{"label":"七台河","value":"230900","location":{"lat":45.77065,"lng":131.00306},"children":[{"label":"新兴区","value":"230902","location":{"lat":45.81597,"lng":130.9321}},{"label":"桃山区","value":"230903","location":{"lat":45.76554,"lng":131.02}},{"label":"茄子河区","value":"230904","location":{"lat":45.78487,"lng":131.06693}},{"label":"勃利县","value":"230921","location":{"lat":45.75506,"lng":130.59144}}]},{"label":"牡丹江","value":"231000","location":{"lat":44.55269,"lng":129.63244},"children":[{"label":"东安区","value":"231002","location":{"lat":44.58122,"lng":129.62672}},{"label":"阳明区","value":"231003","location":{"lat":44.5963,"lng":129.63559}},{"label":"爱民区","value":"231004","location":{"lat":44.59608,"lng":129.59176}},{"label":"西安区","value":"231005","location":{"lat":44.5775,"lng":129.6161}},{"label":"林口县","value":"231025","location":{"lat":45.27782,"lng":130.28315}},{"label":"绥芬河市","value":"231081","location":{"lat":44.4132,"lng":131.15012}},{"label":"海林市","value":"231083","location":{"lat":44.59378,"lng":129.38064}},{"label":"宁安市","value":"231084","location":{"lat":44.34018,"lng":129.4828}},{"label":"穆棱市","value":"231085","location":{"lat":44.91883,"lng":130.52468}},{"label":"东宁市","value":"231086","location":{"lat":44.08694,"lng":131.12463}}]},{"label":"黑河","value":"231100","location":{"lat":50.24523,"lng":127.52852},"children":[{"label":"爱辉区","value":"231102","location":{"lat":50.2521,"lng":127.50048}},{"label":"嫩江县","value":"231121","location":{"lat":49.18572,"lng":125.22094}},{"label":"逊克县","value":"231123","location":{"lat":49.56391,"lng":128.47888}},{"label":"孙吴县","value":"231124","location":{"lat":49.42543,"lng":127.33605}},{"label":"北安市","value":"231181","location":{"lat":48.24146,"lng":126.49108}},{"label":"五大连池市","value":"231182","location":{"lat":48.51649,"lng":126.20451}}]},{"label":"绥化","value":"231200","location":{"lat":46.65246,"lng":126.96932},"children":[{"label":"北林区","value":"231202","location":{"lat":46.6373,"lng":126.98566}},{"label":"望奎县","value":"231221","location":{"lat":46.83281,"lng":126.48602}},{"label":"兰西县","value":"231222","location":{"lat":46.25241,"lng":126.28788}},{"label":"青冈县","value":"231223","location":{"lat":46.68966,"lng":126.11387}},{"label":"庆安县","value":"231224","location":{"lat":46.8802,"lng":127.50758}},{"label":"明水县","value":"231225","location":{"lat":47.17332,"lng":125.906}},{"label":"绥棱县","value":"231226","location":{"lat":47.23609,"lng":127.11478}},{"label":"安达市","value":"231281","location":{"lat":46.41773,"lng":125.34379}},{"label":"肇东市","value":"231282","location":{"lat":46.05121,"lng":125.9625}},{"label":"海伦市","value":"231283","location":{"lat":47.4621,"lng":126.97338}}]},{"label":"大兴安岭","value":"232700","location":{"lat":51.92398,"lng":124.59216},"children":[{"label":"加格达奇区","value":"232701","location":{"lat":50.40856,"lng":124.13956}},{"label":"呼玛县","value":"232721","location":{"lat":51.72606,"lng":126.65291}},{"label":"塔河县","value":"232722","location":{"lat":52.33432,"lng":124.71003}},{"label":"漠河县","value":"232723","location":{"lat":52.97209,"lng":122.53864}}]}]},{"label":"上海市","value":"310000","location":{"lat":31.23037,"lng":121.4737},"children":[{"label":"上海市","value":"310001","location":{"lat":31.23037,"lng":121.4737},"children":[{"label":"黄浦","value":"310101","location":{"lat":31.23162,"lng":121.48461}},{"label":"徐汇","value":"310104","location":{"lat":31.18826,"lng":121.43687}},{"label":"长宁","value":"310105","location":{"lat":31.22024,"lng":121.42394}},{"label":"静安","value":"310106","location":{"lat":31.22352,"lng":121.45591}},{"label":"普陀","value":"310107","location":{"lat":31.2494,"lng":121.397}},{"label":"虹口","value":"310109","location":{"lat":31.26451,"lng":121.50515}},{"label":"杨浦","value":"310110","location":{"lat":31.25956,"lng":121.52609}},{"label":"闵行","value":"310112","location":{"lat":31.11325,"lng":121.38206}},{"label":"宝山","value":"310113","location":{"lat":31.40527,"lng":121.48941}},{"label":"嘉定","value":"310114","location":{"lat":31.37482,"lng":121.26621}},{"label":"浦东","value":"310115","location":{"lat":31.22114,"lng":121.54409}},{"label":"金山","value":"310116","location":{"lat":30.74185,"lng":121.34242}},{"label":"松江","value":"310117","location":{"lat":31.03241,"lng":121.22654}},{"label":"青浦","value":"310118","location":{"lat":31.14979,"lng":121.12426}},{"label":"奉贤","value":"310120","location":{"lat":30.91803,"lng":121.4741}},{"label":"崇明","value":"310151","location":{"lat":31.6229,"lng":121.3973}}]}]},{"label":"江苏省","value":"320000","location":{"lat":32.06071,"lng":118.76295},"children":[{"label":"南京","value":"320100","location":{"lat":32.05838,"lng":118.79647},"children":[{"label":"玄武区","value":"320102","location":{"lat":32.04835,"lng":118.79809}},{"label":"秦淮区","value":"320104","location":{"lat":32.03899,"lng":118.7945}},{"label":"建邺区","value":"320105","location":{"lat":32.00335,"lng":118.73145}},{"label":"鼓楼区","value":"320106","location":{"lat":32.06639,"lng":118.77013}},{"label":"浦口区","value":"320111","location":{"lat":32.059,"lng":118.62841}},{"label":"栖霞区","value":"320113","location":{"lat":32.09636,"lng":118.90907}},{"label":"雨花台区","value":"320114","location":{"lat":31.99226,"lng":118.7787}},{"label":"江宁区","value":"320115","location":{"lat":31.95266,"lng":118.84002}},{"label":"六合区","value":"320116","location":{"lat":32.32222,"lng":118.82155}},{"label":"溧水区","value":"320117","location":{"lat":31.651,"lng":119.0284}},{"label":"高淳区","value":"320118","location":{"lat":31.32751,"lng":118.8921}}]},{"label":"无锡","value":"320200","location":{"lat":31.49099,"lng":120.31237},"children":[{"label":"锡山区","value":"320205","location":{"lat":31.58849,"lng":120.35761}},{"label":"惠山区","value":"320206","location":{"lat":31.68096,"lng":120.29834}},{"label":"滨湖区","value":"320211","location":{"lat":31.52853,"lng":120.28429}},{"label":"梁溪区","value":"320213","location":{"lat":31.56597,"lng":120.30297}},{"label":"新吴区","value":"320214","location":{"lat":31.514266,"lng":120.4371}},{"label":"江阴市","value":"320281","location":{"lat":31.92005,"lng":120.2854}},{"label":"宜兴市","value":"320282","location":{"lat":31.34042,"lng":119.82346}}]},{"label":"徐州","value":"320300","location":{"lat":34.2044,"lng":117.28577},"children":[{"label":"鼓楼区","value":"320302","location":{"lat":34.28823,"lng":117.18554}},{"label":"云龙区","value":"320303","location":{"lat":34.249,"lng":117.22942}},{"label":"贾汪区","value":"320305","location":{"lat":34.44308,"lng":117.45353}},{"label":"泉山区","value":"320311","location":{"lat":34.24422,"lng":117.19383}},{"label":"铜山区","value":"320312","location":{"lat":34.18044,"lng":117.16898}},{"label":"丰县","value":"320321","location":{"lat":34.69396,"lng":116.59532}},{"label":"沛县","value":"320322","location":{"lat":34.72166,"lng":116.9375}},{"label":"睢宁县","value":"320324","location":{"lat":33.91274,"lng":117.94108}},{"label":"新沂市","value":"320381","location":{"lat":34.36927,"lng":118.35548}},{"label":"邳州市","value":"320382","location":{"lat":34.3352,"lng":118.01246}}]},{"label":"常州","value":"320400","location":{"lat":31.81072,"lng":119.97365},"children":[{"label":"天宁区","value":"320402","location":{"lat":31.77973,"lng":119.97472}},{"label":"钟楼区","value":"320404","location":{"lat":31.80164,"lng":119.90143}},{"label":"新北区","value":"320411","location":{"lat":31.83052,"lng":119.97147}},{"label":"武进区","value":"320412","location":{"lat":31.70165,"lng":119.94311}},{"label":"金坛区","value":"320413","location":{"lat":31.72322,"lng":119.59794}},{"label":"溧阳市","value":"320481","location":{"lat":31.41586,"lng":119.4846}}]},{"label":"苏州","value":"320500","location":{"lat":31.29834,"lng":120.58319},"children":[{"label":"虎丘区","value":"320505","location":{"lat":31.29579,"lng":120.57186}},{"label":"吴中区","value":"320506","location":{"lat":31.26249,"lng":120.63212}},{"label":"相城区","value":"320507","location":{"lat":31.36897,"lng":120.64247}},{"label":"姑苏区","value":"320508","location":{"lat":31.30227,"lng":120.63132}},{"label":"吴江区","value":"320509","location":{"lat":31.13762,"lng":120.64504}},{"label":"常熟市","value":"320581","location":{"lat":31.65382,"lng":120.75237}},{"label":"张家港市","value":"320582","location":{"lat":31.87547,"lng":120.5555}},{"label":"昆山市","value":"320583","location":{"lat":31.38475,"lng":120.98181}},{"label":"太仓市","value":"320585","location":{"lat":31.45911,"lng":121.12975}}]},{"label":"南通","value":"320600","location":{"lat":31.97958,"lng":120.89371},"children":[{"label":"崇川区","value":"320602","location":{"lat":32.00986,"lng":120.85737}},{"label":"港闸区","value":"320611","location":{"lat":32.03141,"lng":120.81813}},{"label":"通州区","value":"320612","location":{"lat":32.06764,"lng":121.07299}},{"label":"海安县","value":"320621","location":{"lat":32.53308,"lng":120.46759}},{"label":"如东县","value":"320623","location":{"lat":32.32956,"lng":121.18502}},{"label":"启东市","value":"320681","location":{"lat":31.80805,"lng":121.65787}},{"label":"如皋市","value":"320682","location":{"lat":32.3716,"lng":120.57382}},{"label":"海门市","value":"320684","location":{"lat":31.87165,"lng":121.18179}}]},{"label":"连云港","value":"320700","location":{"lat":34.59669,"lng":119.22295},"children":[{"label":"连云区","value":"320703","location":{"lat":34.75974,"lng":119.33894}},{"label":"海州区","value":"320706","location":{"lat":34.57203,"lng":119.16348}},{"label":"赣榆区","value":"320707","location":{"lat":34.84065,"lng":119.1773}},{"label":"东海县","value":"320722","location":{"lat":34.54216,"lng":118.77147}},{"label":"灌云县","value":"320723","location":{"lat":34.28407,"lng":119.24096}},{"label":"灌南县","value":"320724","location":{"lat":34.08673,"lng":119.31563}}]},{"label":"淮安","value":"320800","location":{"lat":33.61016,"lng":119.01595},"children":[{"label":"淮安区","value":"320803","location":{"lat":33.50306,"lng":119.14108}},{"label":"淮阴区","value":"320804","location":{"lat":33.63175,"lng":119.0349}},{"label":"清江浦区","value":"320812","location":{"lat":33.55308,"lng":119.02662}},{"label":"洪泽区","value":"320813","location":{"lat":33.29433,"lng":118.8735}},{"label":"涟水县","value":"320826","location":{"lat":33.78098,"lng":119.26089}},{"label":"盱眙县","value":"320830","location":{"lat":33.01089,"lng":118.54499}},{"label":"金湖县","value":"320831","location":{"lat":33.02359,"lng":119.02043}}]},{"label":"盐城","value":"320900","location":{"lat":33.34951,"lng":120.16164},"children":[{"label":"亭湖区","value":"320902","location":{"lat":33.38893,"lng":120.1953}},{"label":"盐都区","value":"320903","location":{"lat":33.33732,"lng":120.15448}},{"label":"大丰区","value":"320904","location":{"lat":33.20107,"lng":120.50102}},{"label":"响水县","value":"320921","location":{"lat":34.19919,"lng":119.57839}},{"label":"滨海县","value":"320922","location":{"lat":33.98975,"lng":119.82064}},{"label":"阜宁县","value":"320923","location":{"lat":33.75931,"lng":119.80258}},{"label":"射阳县","value":"320924","location":{"lat":33.77496,"lng":120.25815}},{"label":"建湖县","value":"320925","location":{"lat":33.46406,"lng":119.79858}},{"label":"东台市","value":"320981","location":{"lat":32.86695,"lng":120.3205}}]},{"label":"扬州","value":"321000","location":{"lat":32.39358,"lng":119.41269},"children":[{"label":"广陵区","value":"321002","location":{"lat":32.39463,"lng":119.43157}},{"label":"邗江区","value":"321003","location":{"lat":32.37654,"lng":119.39823}},{"label":"江都区","value":"321012","location":{"lat":32.43458,"lng":119.57006}},{"label":"宝应县","value":"321023","location":{"lat":33.24142,"lng":119.35841}},{"label":"仪征市","value":"321081","location":{"lat":32.27203,"lng":119.18444}},{"label":"高邮市","value":"321084","location":{"lat":32.78112,"lng":119.45558}}]},{"label":"镇江","value":"321100","location":{"lat":32.18959,"lng":119.425},"children":[{"label":"京口区","value":"321102","location":{"lat":32.19811,"lng":119.46962}},{"label":"润州区","value":"321111","location":{"lat":32.19525,"lng":119.41217}},{"label":"丹徒区","value":"321112","location":{"lat":32.13188,"lng":119.43396}},{"label":"丹阳市","value":"321181","location":{"lat":32.00945,"lng":119.60694}},{"label":"扬中市","value":"321182","location":{"lat":32.23702,"lng":119.79682}},{"label":"句容市","value":"321183","location":{"lat":31.94482,"lng":119.16864}}]},{"label":"泰州","value":"321200","location":{"lat":32.45546,"lng":119.92554},"children":[{"label":"海陵区","value":"321202","location":{"lat":32.49098,"lng":119.91956}},{"label":"高港区","value":"321203","location":{"lat":32.31841,"lng":119.88116}},{"label":"姜堰区","value":"321204","location":{"lat":32.50882,"lng":120.12701}},{"label":"兴化市","value":"321281","location":{"lat":32.91041,"lng":119.85272}},{"label":"靖江市","value":"321282","location":{"lat":32.01494,"lng":120.27454}},{"label":"泰兴市","value":"321283","location":{"lat":32.17191,"lng":120.052}}]},{"label":"宿迁","value":"321300","location":{"lat":33.96193,"lng":118.27549},"children":[{"label":"宿城区","value":"321302","location":{"lat":33.96315,"lng":118.24238}},{"label":"宿豫区","value":"321311","location":{"lat":33.94686,"lng":118.33066}},{"label":"沭阳县","value":"321322","location":{"lat":34.11215,"lng":118.80406}},{"label":"泗阳县","value":"321323","location":{"lat":33.72101,"lng":118.70335}},{"label":"泗洪县","value":"321324","location":{"lat":33.459,"lng":118.21624}}]}]},{"label":"浙江省","value":"330000","location":{"lat":30.26555,"lng":120.1536},"children":[{"label":"杭州","value":"330100","location":{"lat":30.27415,"lng":120.15515},"children":[{"label":"上城区","value":"330102","location":{"lat":30.24259,"lng":120.16929}},{"label":"下城区","value":"330103","location":{"lat":30.28122,"lng":120.18117}},{"label":"江干区","value":"330104","location":{"lat":30.25727,"lng":120.20523}},{"label":"拱墅区","value":"330105","location":{"lat":30.31974,"lng":120.1421}},{"label":"西湖区","value":"330106","location":{"lat":30.25961,"lng":120.13026}},{"label":"滨江区","value":"330108","location":{"lat":30.2084,"lng":120.21201}},{"label":"萧山区","value":"330109","location":{"lat":30.18534,"lng":120.26457}},{"label":"余杭区","value":"330110","location":{"lat":30.41875,"lng":120.2985}},{"label":"富阳区","value":"330111","location":{"lat":30.04885,"lng":119.96043}},{"label":"桐庐县","value":"330122","location":{"lat":29.79317,"lng":119.6915}},{"label":"淳安县","value":"330127","location":{"lat":29.60886,"lng":119.04207}},{"label":"建德市","value":"330182","location":{"lat":29.47475,"lng":119.28121}},{"label":"临安市","value":"330185","location":{"lat":30.23383,"lng":119.7248}}]},{"label":"宁波","value":"330200","location":{"lat":29.87386,"lng":121.55027},"children":[{"label":"海曙区","value":"330203","location":{"lat":29.85957,"lng":121.55084}},{"label":"江北区","value":"330205","location":{"lat":29.88615,"lng":121.55468}},{"label":"北仑区","value":"330206","location":{"lat":29.89889,"lng":121.84431}},{"label":"镇海区","value":"330211","location":{"lat":29.94899,"lng":121.71624}},{"label":"鄞州区","value":"330212","location":{"lat":29.8172,"lng":121.547}},{"label":"奉化区","value":"330213","location":{"lat":29.65503,"lng":121.40686}},{"label":"象山县","value":"330225","location":{"lat":29.47665,"lng":121.86932}},{"label":"宁海县","value":"330226","location":{"lat":29.28807,"lng":121.42961}},{"label":"余姚市","value":"330281","location":{"lat":30.03711,"lng":121.15435}},{"label":"慈溪市","value":"330282","location":{"lat":30.16964,"lng":121.26647}}]},{"label":"温州","value":"330300","location":{"lat":27.99492,"lng":120.69939},"children":[{"label":"鹿城区","value":"330302","location":{"lat":28.01469,"lng":120.65523}},{"label":"龙湾区","value":"330303","location":{"lat":27.93252,"lng":120.81303}},{"label":"瓯海区","value":"330304","location":{"lat":28.00708,"lng":120.63768}},{"label":"洞头区","value":"330305","location":{"lat":27.83616,"lng":121.1572}},{"label":"永嘉县","value":"330324","location":{"lat":28.15336,"lng":120.69171}},{"label":"平阳县","value":"330326","location":{"lat":27.6621,"lng":120.56595}},{"label":"苍南县","value":"330327","location":{"lat":27.51743,"lng":120.42631}},{"label":"文成县","value":"330328","location":{"lat":27.78712,"lng":120.09137}},{"label":"泰顺县","value":"330329","location":{"lat":27.55639,"lng":119.7175}},{"label":"瑞安市","value":"330381","location":{"lat":27.77838,"lng":120.65518}},{"label":"乐清市","value":"330382","location":{"lat":28.11289,"lng":120.98338}}]},{"label":"嘉兴","value":"330400","location":{"lat":30.74501,"lng":120.7555},"children":[{"label":"南湖区","value":"330402","location":{"lat":30.74744,"lng":120.78483}},{"label":"秀洲区","value":"330411","location":{"lat":30.76388,"lng":120.7092}},{"label":"嘉善县","value":"330421","location":{"lat":30.83075,"lng":120.92716}},{"label":"海盐县","value":"330424","location":{"lat":30.52553,"lng":120.94579}},{"label":"海宁市","value":"330481","location":{"lat":30.50938,"lng":120.68102}},{"label":"平湖市","value":"330482","location":{"lat":30.67585,"lng":121.01606}},{"label":"桐乡市","value":"330483","location":{"lat":30.63074,"lng":120.56432}}]},{"label":"湖州","value":"330500","location":{"lat":30.89305,"lng":120.08805},"children":[{"label":"吴兴区","value":"330502","location":{"lat":30.85816,"lng":120.18562}},{"label":"南浔区","value":"330503","location":{"lat":30.84979,"lng":120.41847}},{"label":"德清县","value":"330521","location":{"lat":30.54269,"lng":119.97754}},{"label":"长兴县","value":"330522","location":{"lat":31.02663,"lng":119.91011}},{"label":"安吉县","value":"330523","location":{"lat":30.63824,"lng":119.68219}}]},{"label":"绍兴","value":"330600","location":{"lat":30.03033,"lng":120.5802},"children":[{"label":"越城区","value":"330602","location":{"lat":29.98899,"lng":120.58199}},{"label":"柯桥区","value":"330603","location":{"lat":30.08189,"lng":120.49476}},{"label":"上虞区","value":"330604","location":{"lat":30.03227,"lng":120.86858}},{"label":"新昌县","value":"330624","location":{"lat":29.49983,"lng":120.90385}},{"label":"诸暨市","value":"330681","location":{"lat":29.71364,"lng":120.23632}},{"label":"嵊州市","value":"330683","location":{"lat":29.58849,"lng":120.8217}}]},{"label":"金华","value":"330700","location":{"lat":29.07812,"lng":119.64759},"children":[{"label":"婺城区","value":"330702","location":{"lat":29.08624,"lng":119.5715}},{"label":"金东区","value":"330703","location":{"lat":29.09914,"lng":119.69311}},{"label":"武义县","value":"330723","location":{"lat":28.8926,"lng":119.81651}},{"label":"浦江县","value":"330726","location":{"lat":29.45251,"lng":119.89206}},{"label":"磐安县","value":"330727","location":{"lat":29.05403,"lng":120.45022}},{"label":"兰溪市","value":"330781","location":{"lat":29.20838,"lng":119.46051}},{"label":"义乌市","value":"330782","location":{"lat":29.30558,"lng":120.07468}},{"label":"东阳市","value":"330783","location":{"lat":29.28946,"lng":120.24191}},{"label":"永康市","value":"330784","location":{"lat":28.88851,"lng":120.04731}}]},{"label":"衢州","value":"330800","location":{"lat":28.93592,"lng":118.87419},"children":[{"label":"柯城区","value":"330802","location":{"lat":28.96864,"lng":118.87117}},{"label":"衢江区","value":"330803","location":{"lat":28.97964,"lng":118.95919}},{"label":"常山县","value":"330822","location":{"lat":28.90141,"lng":118.51116}},{"label":"开化县","value":"330824","location":{"lat":29.13609,"lng":118.41422}},{"label":"龙游县","value":"330825","location":{"lat":29.02827,"lng":119.17225}},{"label":"江山市","value":"330881","location":{"lat":28.73725,"lng":118.6269}}]},{"label":"舟山","value":"330900","location":{"lat":29.98539,"lng":122.20778},"children":[{"label":"定海区","value":"330902","location":{"lat":30.01979,"lng":122.10679}},{"label":"普陀区","value":"330903","location":{"lat":29.9492,"lng":122.30278}},{"label":"岱山县","value":"330921","location":{"lat":30.24369,"lng":122.20498}},{"label":"嵊泗县","value":"330922","location":{"lat":30.72573,"lng":122.45137}}]},{"label":"台州","value":"331000","location":{"lat":28.65611,"lng":121.42056},"children":[{"label":"椒江区","value":"331002","location":{"lat":28.67307,"lng":121.44297}},{"label":"黄岩区","value":"331003","location":{"lat":28.64965,"lng":121.26295}},{"label":"路桥区","value":"331004","location":{"lat":28.58265,"lng":121.36508}},{"label":"玉环县","value":"331021","location":{"lat":28.13589,"lng":121.23164}},{"label":"三门县","value":"331022","location":{"lat":29.10467,"lng":121.39568}},{"label":"天台县","value":"331023","location":{"lat":29.14304,"lng":121.00728}},{"label":"仙居县","value":"331024","location":{"lat":28.84683,"lng":120.72881}},{"label":"温岭市","value":"331081","location":{"lat":28.3718,"lng":121.38599}},{"label":"临海市","value":"331082","location":{"lat":28.8584,"lng":121.14495}}]},{"label":"丽水","value":"331100","location":{"lat":28.4672,"lng":119.92293},"children":[{"label":"莲都区","value":"331102","location":{"lat":28.44594,"lng":119.91284}},{"label":"青田县","value":"331121","location":{"lat":28.13987,"lng":120.28955}},{"label":"缙云县","value":"331122","location":{"lat":28.65928,"lng":120.09158}},{"label":"遂昌县","value":"331123","location":{"lat":28.59213,"lng":119.27602}},{"label":"松阳县","value":"331124","location":{"lat":28.44947,"lng":119.48202}},{"label":"云和县","value":"331125","location":{"lat":28.11591,"lng":119.5734}},{"label":"庆元县","value":"331126","location":{"lat":27.61913,"lng":119.06266}},{"label":"景宁畲族自治县","value":"331127","location":{"lat":27.9732,"lng":119.63581}},{"label":"龙泉市","value":"331181","location":{"lat":28.07434,"lng":119.14168}}]}]},{"label":"安徽省","value":"340000","location":{"lat":31.86157,"lng":117.28565},"children":[{"label":"合肥","value":"340100","location":{"lat":31.82057,"lng":117.22901},"children":[{"label":"瑶海区","value":"340102","location":{"lat":31.85797,"lng":117.30949}},{"label":"庐阳区","value":"340103","location":{"lat":31.87872,"lng":117.26497}},{"label":"蜀山区","value":"340104","location":{"lat":31.8512,"lng":117.26061}},{"label":"包河区","value":"340111","location":{"lat":31.79322,"lng":117.30794}},{"label":"长丰县","value":"340121","location":{"lat":32.47796,"lng":117.16766}},{"label":"肥东县","value":"340122","location":{"lat":31.8877,"lng":117.46928}},{"label":"肥西县","value":"340123","location":{"lat":31.70689,"lng":117.18283}},{"label":"庐江县","value":"340124","location":{"lat":31.25567,"lng":117.28736}},{"label":"巢湖市","value":"340181","location":{"lat":31.62329,"lng":117.88937}}]},{"label":"芜湖","value":"340200","location":{"lat":31.35246,"lng":118.43313},"children":[{"label":"镜湖区","value":"340202","location":{"lat":31.34072,"lng":118.38548}},{"label":"弋江区","value":"340203","location":{"lat":31.31202,"lng":118.37273}},{"label":"鸠江区","value":"340207","location":{"lat":31.36959,"lng":118.39236}},{"label":"三山区","value":"340208","location":{"lat":31.22436,"lng":118.23464}},{"label":"芜湖县","value":"340221","location":{"lat":31.13479,"lng":118.57529}},{"label":"繁昌县","value":"340222","location":{"lat":31.08291,"lng":118.19934}},{"label":"南陵县","value":"340223","location":{"lat":30.91465,"lng":118.33405}},{"label":"无为县","value":"340225","location":{"lat":31.30317,"lng":117.90224}}]},{"label":"蚌埠","value":"340300","location":{"lat":32.91548,"lng":117.38932},"children":[{"label":"龙子湖区","value":"340302","location":{"lat":32.9428,"lng":117.39347}},{"label":"蚌山区","value":"340303","location":{"lat":32.94448,"lng":117.36779}},{"label":"禹会区","value":"340304","location":{"lat":32.92921,"lng":117.34211}},{"label":"淮上区","value":"340311","location":{"lat":32.96436,"lng":117.35996}},{"label":"怀远县","value":"340321","location":{"lat":32.97011,"lng":117.20514}},{"label":"五河县","value":"340322","location":{"lat":33.14507,"lng":117.88529}},{"label":"固镇县","value":"340323","location":{"lat":33.31769,"lng":117.31666}}]},{"label":"淮南","value":"340400","location":{"lat":32.62549,"lng":116.9998},"children":[{"label":"大通区","value":"340402","location":{"lat":32.63149,"lng":117.05335}},{"label":"田家庵区","value":"340403","location":{"lat":32.64709,"lng":117.01743}},{"label":"谢家集区","value":"340404","location":{"lat":32.59996,"lng":116.85913}},{"label":"八公山区","value":"340405","location":{"lat":32.63142,"lng":116.83359}},{"label":"潘集区","value":"340406","location":{"lat":32.77263,"lng":116.83626}},{"label":"凤台县","value":"340421","location":{"lat":32.70946,"lng":116.71077}},{"label":"寿县","value":"340422","location":{"lat":32.57332,"lng":116.78708}}]},{"label":"马鞍山","value":"340500","location":{"lat":31.67067,"lng":118.50611},"children":[{"label":"花山区","value":"340503","location":{"lat":31.69996,"lng":118.5115}},{"label":"雨山区","value":"340504","location":{"lat":31.68216,"lng":118.49853}},{"label":"博望区","value":"340506","location":{"lat":31.55856,"lng":118.84432}},{"label":"当涂县","value":"340521","location":{"lat":31.5699,"lng":118.4978}},{"label":"含山县","value":"340522","location":{"lat":31.73358,"lng":118.10241}},{"label":"和县","value":"340523","location":{"lat":31.74423,"lng":118.35145}}]},{"label":"淮北","value":"340600","location":{"lat":33.95479,"lng":116.79834},"children":[{"label":"杜集区","value":"340602","location":{"lat":33.99141,"lng":116.82803}},{"label":"相山区","value":"340603","location":{"lat":33.95999,"lng":116.79425}},{"label":"烈山区","value":"340604","location":{"lat":33.89577,"lng":116.8132}},{"label":"濉溪县","value":"340621","location":{"lat":33.91537,"lng":116.7662}}]},{"label":"铜陵","value":"340700","location":{"lat":30.94486,"lng":117.81232},"children":[{"label":"铜官区","value":"340705","location":{"lat":30.95614,"lng":117.87431}},{"label":"义安区","value":"340706","location":{"lat":30.95271,"lng":117.79147}},{"label":"郊区","value":"340711","location":{"lat":30.90466,"lng":117.80103}},{"label":"枞阳县","value":"340722","location":{"lat":30.69961,"lng":117.22019}}]},{"label":"安庆","value":"340800","location":{"lat":30.54294,"lng":117.06354},"children":[{"label":"迎江区","value":"340802","location":{"lat":30.51155,"lng":117.09081}},{"label":"大观区","value":"340803","location":{"lat":30.51227,"lng":117.03424}},{"label":"宜秀区","value":"340811","location":{"lat":30.61328,"lng":116.98726}},{"label":"怀宁县","value":"340822","location":{"lat":30.73381,"lng":116.82974}},{"label":"潜山县","value":"340824","location":{"lat":30.63107,"lng":116.58133}},{"label":"太湖县","value":"340825","location":{"lat":30.45411,"lng":116.30885}},{"label":"宿松县","value":"340826","location":{"lat":30.15363,"lng":116.1292}},{"label":"望江县","value":"340827","location":{"lat":30.12442,"lng":116.69423}},{"label":"岳西县","value":"340828","location":{"lat":30.84939,"lng":116.35999}},{"label":"桐城市","value":"340881","location":{"lat":31.03585,"lng":116.97416}}]},{"label":"黄山","value":"341000","location":{"lat":29.71517,"lng":118.33866},"children":[{"label":"屯溪区","value":"341002","location":{"lat":29.6958,"lng":118.3151}},{"label":"黄山区","value":"341003","location":{"lat":30.27296,"lng":118.14161}},{"label":"徽州区","value":"341004","location":{"lat":29.82794,"lng":118.33681}},{"label":"歙县","value":"341021","location":{"lat":29.86076,"lng":118.41359}},{"label":"休宁县","value":"341022","location":{"lat":29.78618,"lng":118.18245}},{"label":"黟县","value":"341023","location":{"lat":29.92476,"lng":117.93835}},{"label":"祁门县","value":"341024","location":{"lat":29.85409,"lng":117.71715}}]},{"label":"滁州","value":"341100","location":{"lat":32.30181,"lng":118.31683},"children":[{"label":"琅琊区","value":"341102","location":{"lat":32.2948,"lng":118.30553}},{"label":"南谯区","value":"341103","location":{"lat":32.35317,"lng":118.17138}},{"label":"来安县","value":"341122","location":{"lat":32.45217,"lng":118.43575}},{"label":"全椒县","value":"341124","location":{"lat":32.0853,"lng":118.27303}},{"label":"定远县","value":"341125","location":{"lat":32.52998,"lng":117.69856}},{"label":"凤阳县","value":"341126","location":{"lat":32.866,"lng":117.56124}},{"label":"天长市","value":"341181","location":{"lat":32.68945,"lng":119.00355}},{"label":"明光市","value":"341182","location":{"lat":32.77699,"lng":117.98944}}]},{"label":"阜阳","value":"341200","location":{"lat":32.88963,"lng":115.81495},"children":[{"label":"颍州区","value":"341202","location":{"lat":32.88327,"lng":115.80672}},{"label":"颍东区","value":"341203","location":{"lat":32.91303,"lng":115.85668}},{"label":"颍泉区","value":"341204","location":{"lat":32.92505,"lng":115.80847}},{"label":"临泉县","value":"341221","location":{"lat":33.06457,"lng":115.25811}},{"label":"太和县","value":"341222","location":{"lat":33.16026,"lng":115.62203}},{"label":"阜南县","value":"341225","location":{"lat":32.65887,"lng":115.59319}},{"label":"颍上县","value":"341226","location":{"lat":32.62893,"lng":116.26455}},{"label":"界首市","value":"341282","location":{"lat":33.25722,"lng":115.37436}}]},{"label":"宿州","value":"341300","location":{"lat":33.64614,"lng":116.96391},"children":[{"label":"埇桥区","value":"341302","location":{"lat":33.64004,"lng":116.97728}},{"label":"砀山县","value":"341321","location":{"lat":34.44097,"lng":116.36606}},{"label":"萧县","value":"341322","location":{"lat":34.18876,"lng":116.94724}},{"label":"灵璧县","value":"341323","location":{"lat":33.54232,"lng":117.55855}},{"label":"泗县","value":"341324","location":{"lat":33.48289,"lng":117.91106}}]},{"label":"六安","value":"341500","location":{"lat":31.73488,"lng":116.52324},"children":[{"label":"金安区","value":"341502","location":{"lat":31.74933,"lng":116.53949}},{"label":"裕安区","value":"341503","location":{"lat":31.73795,"lng":116.47995}},{"label":"叶集区","value":"341504","location":{"lat":31.85122,"lng":115.9133}},{"label":"霍邱县","value":"341522","location":{"lat":32.3532,"lng":116.27823}},{"label":"舒城县","value":"341523","location":{"lat":31.46209,"lng":116.9487}},{"label":"金寨县","value":"341524","location":{"lat":31.72719,"lng":115.93418}},{"label":"霍山县","value":"341525","location":{"lat":31.39279,"lng":116.33269}}]},{"label":"亳州","value":"341600","location":{"lat":33.84461,"lng":115.77931},"children":[{"label":"谯城区","value":"341602","location":{"lat":33.87641,"lng":115.77914}},{"label":"涡阳县","value":"341621","location":{"lat":33.49285,"lng":116.21581}},{"label":"蒙城县","value":"341622","location":{"lat":33.26584,"lng":116.5645}},{"label":"利辛县","value":"341623","location":{"lat":33.14484,"lng":116.20839}}]},{"label":"池州","value":"341700","location":{"lat":30.66469,"lng":117.49142},"children":[{"label":"贵池区","value":"341702","location":{"lat":30.68673,"lng":117.56733}},{"label":"东至县","value":"341721","location":{"lat":30.09663,"lng":117.02766}},{"label":"石台县","value":"341722","location":{"lat":30.21026,"lng":117.48619}},{"label":"青阳县","value":"341723","location":{"lat":30.63935,"lng":117.84749}}]},{"label":"宣城","value":"341800","location":{"lat":30.94078,"lng":118.75866},"children":[{"label":"宣州区","value":"341802","location":{"lat":30.94622,"lng":118.75634}},{"label":"郎溪县","value":"341821","location":{"lat":31.12658,"lng":119.17944}},{"label":"广德县","value":"341822","location":{"lat":30.8938,"lng":119.41705}},{"label":"泾县","value":"341823","location":{"lat":30.68853,"lng":118.4197}},{"label":"绩溪县","value":"341824","location":{"lat":30.06633,"lng":118.57993}},{"label":"旌德县","value":"341825","location":{"lat":30.28636,"lng":118.54045}},{"label":"宁国市","value":"341881","location":{"lat":30.63364,"lng":118.98336}}]}]},{"label":"福建省","value":"350000","location":{"lat":26.09982,"lng":119.29659},"children":[{"label":"福州","value":"350100","location":{"lat":26.07421,"lng":119.29647},"children":[{"label":"鼓楼区","value":"350102","location":{"lat":26.08198,"lng":119.30405}},{"label":"台江区","value":"350103","location":{"lat":26.0527,"lng":119.31414}},{"label":"仓山区","value":"350104","location":{"lat":26.04769,"lng":119.27345}},{"label":"马尾区","value":"350105","location":{"lat":25.98939,"lng":119.4556}},{"label":"晋安区","value":"350111","location":{"lat":26.08135,"lng":119.32842}},{"label":"闽侯县","value":"350121","location":{"lat":26.15021,"lng":119.13139}},{"label":"连江县","value":"350122","location":{"lat":26.19753,"lng":119.53957}},{"label":"罗源县","value":"350123","location":{"lat":26.48939,"lng":119.54969}},{"label":"闽清县","value":"350124","location":{"lat":26.22117,"lng":118.86352}},{"label":"永泰县","value":"350125","location":{"lat":25.86672,"lng":118.93258}},{"label":"平潭县","value":"350128","location":{"lat":25.49876,"lng":119.7901}},{"label":"福清市","value":"350181","location":{"lat":25.72024,"lng":119.38411}},{"label":"长乐市","value":"350182","location":{"lat":25.96283,"lng":119.52324}}]},{"label":"厦门","value":"350200","location":{"lat":24.47951,"lng":118.08948},"children":[{"label":"思明区","value":"350203","location":{"lat":24.44579,"lng":118.08243}},{"label":"海沧区","value":"350205","location":{"lat":24.48405,"lng":118.03394}},{"label":"湖里区","value":"350206","location":{"lat":24.5118,"lng":118.14577}},{"label":"集美区","value":"350211","location":{"lat":24.57591,"lng":118.09728}},{"label":"同安区","value":"350212","location":{"lat":24.72286,"lng":118.15207}},{"label":"翔安区","value":"350213","location":{"lat":24.61854,"lng":118.24722}}]},{"label":"莆田","value":"350300","location":{"lat":25.454,"lng":119.00771},"children":[{"label":"城厢区","value":"350302","location":{"lat":25.41878,"lng":118.99472}},{"label":"涵江区","value":"350303","location":{"lat":25.45879,"lng":119.1163}},{"label":"荔城区","value":"350304","location":{"lat":25.43131,"lng":119.01501}},{"label":"秀屿区","value":"350305","location":{"lat":25.31839,"lng":119.10642}},{"label":"仙游县","value":"350322","location":{"lat":25.36215,"lng":118.69181}}]},{"label":"三明","value":"350400","location":{"lat":26.26385,"lng":117.63922},"children":[{"label":"梅列区","value":"350402","location":{"lat":26.27168,"lng":117.64579}},{"label":"三元区","value":"350403","location":{"lat":26.23381,"lng":117.6081}},{"label":"明溪县","value":"350421","location":{"lat":26.35595,"lng":117.20219}},{"label":"清流县","value":"350423","location":{"lat":26.17781,"lng":116.81694}},{"label":"宁化县","value":"350424","location":{"lat":26.26178,"lng":116.65443}},{"label":"大田县","value":"350425","location":{"lat":25.69261,"lng":117.84713}},{"label":"尤溪县","value":"350426","location":{"lat":26.17004,"lng":118.19049}},{"label":"沙县","value":"350427","location":{"lat":26.39617,"lng":117.79268}},{"label":"将乐县","value":"350428","location":{"lat":26.72904,"lng":117.47096}},{"label":"泰宁县","value":"350429","location":{"lat":26.90012,"lng":117.1758}},{"label":"建宁县","value":"350430","location":{"lat":26.83092,"lng":116.84604}},{"label":"永安市","value":"350481","location":{"lat":25.94138,"lng":117.36518}}]},{"label":"泉州","value":"350500","location":{"lat":24.87389,"lng":118.67587},"children":[{"label":"鲤城区","value":"350502","location":{"lat":24.9075,"lng":118.58687}},{"label":"丰泽区","value":"350503","location":{"lat":24.88946,"lng":118.613}},{"label":"洛江区","value":"350504","location":{"lat":24.9399,"lng":118.6712}},{"label":"泉港区","value":"350505","location":{"lat":25.12014,"lng":118.91596}},{"label":"惠安县","value":"350521","location":{"lat":25.03065,"lng":118.79695}},{"label":"安溪县","value":"350524","location":{"lat":25.05544,"lng":118.18685}},{"label":"永春县","value":"350525","location":{"lat":25.32188,"lng":118.29424}},{"label":"德化县","value":"350526","location":{"lat":25.4916,"lng":118.24098}},{"label":"金门县","value":"350527","location":{"lat":24.41774,"lng":118.22694}},{"label":"石狮市","value":"350581","location":{"lat":24.73172,"lng":118.64805}},{"label":"晋江市","value":"350582","location":{"lat":24.78144,"lng":118.55199}},{"label":"南安市","value":"350583","location":{"lat":24.9604,"lng":118.38627}}]},{"label":"漳州","value":"350600","location":{"lat":24.51347,"lng":117.64725},"children":[{"label":"芗城区","value":"350602","location":{"lat":24.51067,"lng":117.65391}},{"label":"龙文区","value":"350603","location":{"lat":24.5033,"lng":117.70984}},{"label":"云霄县","value":"350622","location":{"lat":23.95806,"lng":117.33965}},{"label":"漳浦县","value":"350623","location":{"lat":24.1171,"lng":117.61372}},{"label":"诏安县","value":"350624","location":{"lat":23.71152,"lng":117.17508}},{"label":"长泰县","value":"350625","location":{"lat":24.6258,"lng":117.75948}},{"label":"东山县","value":"350626","location":{"lat":23.70132,"lng":117.42964}},{"label":"南靖县","value":"350627","location":{"lat":24.51453,"lng":117.35742}},{"label":"平和县","value":"350628","location":{"lat":24.36344,"lng":117.31587}},{"label":"华安县","value":"350629","location":{"lat":25.00446,"lng":117.53414}},{"label":"龙海市","value":"350681","location":{"lat":24.44658,"lng":117.81813}}]},{"label":"南平","value":"350700","location":{"lat":27.33175,"lng":118.12043},"children":[{"label":"延平区","value":"350702","location":{"lat":26.63798,"lng":118.18202}},{"label":"建阳区","value":"350703","location":{"lat":27.33175,"lng":118.12043}},{"label":"顺昌县","value":"350721","location":{"lat":26.79301,"lng":117.81036}},{"label":"浦城县","value":"350722","location":{"lat":27.91721,"lng":118.54138}},{"label":"光泽县","value":"350723","location":{"lat":27.54107,"lng":117.33387}},{"label":"松溪县","value":"350724","location":{"lat":27.52629,"lng":118.7854}},{"label":"政和县","value":"350725","location":{"lat":27.36609,"lng":118.85754}},{"label":"邵武市","value":"350781","location":{"lat":27.34036,"lng":117.49253}},{"label":"武夷山市","value":"350782","location":{"lat":27.75671,"lng":118.03548}},{"label":"建瓯市","value":"350783","location":{"lat":27.02266,"lng":118.30498}}]},{"label":"龙岩","value":"350800","location":{"lat":25.07504,"lng":117.01722},"children":[{"label":"新罗区","value":"350802","location":{"lat":25.09839,"lng":117.03736}},{"label":"永定区","value":"350803","location":{"lat":24.72303,"lng":116.73202}},{"label":"长汀县","value":"350821","location":{"lat":25.83348,"lng":116.35765}},{"label":"上杭县","value":"350823","location":{"lat":25.04943,"lng":116.42026}},{"label":"武平县","value":"350824","location":{"lat":25.09535,"lng":116.10039}},{"label":"连城县","value":"350825","location":{"lat":25.70997,"lng":116.75486}},{"label":"漳平市","value":"350881","location":{"lat":25.29013,"lng":117.42001}}]},{"label":"宁德","value":"350900","location":{"lat":26.66571,"lng":119.54819},"children":[{"label":"蕉城区","value":"350902","location":{"lat":26.66022,"lng":119.52623}},{"label":"霞浦县","value":"350921","location":{"lat":26.88517,"lng":120.00556}},{"label":"古田县","value":"350922","location":{"lat":26.57762,"lng":118.74606}},{"label":"屏南县","value":"350923","location":{"lat":26.90853,"lng":118.98578}},{"label":"寿宁县","value":"350924","location":{"lat":27.46054,"lng":119.50479}},{"label":"周宁县","value":"350925","location":{"lat":27.10474,"lng":119.33899}},{"label":"柘荣县","value":"350926","location":{"lat":27.23513,"lng":119.90085}},{"label":"福安市","value":"350981","location":{"lat":27.08797,"lng":119.64768}},{"label":"福鼎市","value":"350982","location":{"lat":27.32436,"lng":120.21671}}]}]},{"label":"江西省","value":"360000","location":{"lat":28.67417,"lng":115.91004},"children":[{"label":"南昌","value":"360100","location":{"lat":28.68202,"lng":115.85794},"children":[{"label":"东湖区","value":"360102","location":{"lat":28.68503,"lng":115.89925}},{"label":"西湖区","value":"360103","location":{"lat":28.65619,"lng":115.87683}},{"label":"青云谱区","value":"360104","location":{"lat":28.62084,"lng":115.9258}},{"label":"湾里区","value":"360105","location":{"lat":28.71479,"lng":115.73083}},{"label":"青山湖区","value":"360111","location":{"lat":28.68194,"lng":115.96191}},{"label":"新建区","value":"360112","location":{"lat":28.6925,"lng":115.81529}},{"label":"南昌县","value":"360121","location":{"lat":28.54538,"lng":115.94422}},{"label":"安义县","value":"360123","location":{"lat":28.84444,"lng":115.54927}},{"label":"进贤县","value":"360124","location":{"lat":28.37737,"lng":116.24145}}]},{"label":"景德镇","value":"360200","location":{"lat":29.26869,"lng":117.17839},"children":[{"label":"昌江区","value":"360202","location":{"lat":29.27324,"lng":117.18366}},{"label":"珠山区","value":"360203","location":{"lat":29.30005,"lng":117.20275}},{"label":"浮梁县","value":"360222","location":{"lat":29.35159,"lng":117.21523}},{"label":"乐平市","value":"360281","location":{"lat":28.96173,"lng":117.129}}]},{"label":"萍乡","value":"360300","location":{"lat":27.62289,"lng":113.85427},"children":[{"label":"安源区","value":"360302","location":{"lat":27.61552,"lng":113.87163}},{"label":"湘东区","value":"360313","location":{"lat":27.64069,"lng":113.73421}},{"label":"莲花县","value":"360321","location":{"lat":27.12761,"lng":113.96123}},{"label":"上栗县","value":"360322","location":{"lat":27.88042,"lng":113.79537}},{"label":"芦溪县","value":"360323","location":{"lat":27.63064,"lng":114.02956}}]},{"label":"九江","value":"360400","location":{"lat":29.70548,"lng":116.00146},"children":[{"label":"濂溪区","value":"360402","location":{"lat":29.67183,"lng":115.98913}},{"label":"浔阳区","value":"360403","location":{"lat":29.72776,"lng":115.98999}},{"label":"九江县","value":"360421","location":{"lat":29.60855,"lng":115.91135}},{"label":"武宁县","value":"360423","location":{"lat":29.25622,"lng":115.10065}},{"label":"修水县","value":"360424","location":{"lat":29.02533,"lng":114.54688}},{"label":"永修县","value":"360425","location":{"lat":29.02097,"lng":115.80916}},{"label":"德安县","value":"360426","location":{"lat":29.31344,"lng":115.75605}},{"label":"都昌县","value":"360428","location":{"lat":29.27307,"lng":116.20409}},{"label":"湖口县","value":"360429","location":{"lat":29.73942,"lng":116.22025}},{"label":"彭泽县","value":"360430","location":{"lat":29.89613,"lng":116.54911}},{"label":"瑞昌市","value":"360481","location":{"lat":29.67658,"lng":115.68103}},{"label":"共青城市","value":"360482","location":{"lat":29.24955,"lng":115.81477}},{"label":"庐山市","value":"360483","location":{"lat":29.44821,"lng":116.04512}}]},{"label":"新余","value":"360500","location":{"lat":27.81776,"lng":114.91713},"children":[{"label":"渝水区","value":"360502","location":{"lat":27.80038,"lng":114.94461}},{"label":"分宜县","value":"360521","location":{"lat":27.81476,"lng":114.69191}}]},{"label":"鹰潭","value":"360600","location":{"lat":28.26019,"lng":117.06919},"children":[{"label":"月湖区","value":"360602","location":{"lat":28.23902,"lng":117.03708}},{"label":"余江县","value":"360622","location":{"lat":28.20991,"lng":116.81834}},{"label":"贵溪市","value":"360681","location":{"lat":28.29252,"lng":117.24525}}]},{"label":"赣州","value":"360700","location":{"lat":25.83109,"lng":114.93476},"children":[{"label":"章贡区","value":"360702","location":{"lat":25.81751,"lng":114.92085}},{"label":"南康区","value":"360703","location":{"lat":25.66144,"lng":114.76535}},{"label":"赣县区","value":"360704","location":{"lat":25.86076,"lng":115.01161}},{"label":"信丰县","value":"360722","location":{"lat":25.38617,"lng":114.92285}},{"label":"大余县","value":"360723","location":{"lat":25.40148,"lng":114.36195}},{"label":"上犹县","value":"360724","location":{"lat":25.79086,"lng":114.53754}},{"label":"崇义县","value":"360725","location":{"lat":25.68165,"lng":114.30784}},{"label":"安远县","value":"360726","location":{"lat":25.13702,"lng":115.39379}},{"label":"龙南县","value":"360727","location":{"lat":24.91105,"lng":114.78993}},{"label":"定南县","value":"360728","location":{"lat":24.7855,"lng":115.02739}},{"label":"全南县","value":"360729","location":{"lat":24.74235,"lng":114.53012}},{"label":"宁都县","value":"360730","location":{"lat":26.47019,"lng":116.00941}},{"label":"于都县","value":"360731","location":{"lat":25.95184,"lng":115.41544}},{"label":"兴国县","value":"360732","location":{"lat":26.33779,"lng":115.36314}},{"label":"会昌县","value":"360733","location":{"lat":25.60039,"lng":115.786}},{"label":"寻乌县","value":"360734","location":{"lat":24.96351,"lng":115.64673}},{"label":"石城县","value":"360735","location":{"lat":26.32691,"lng":116.35432}},{"label":"瑞金市","value":"360781","location":{"lat":25.88562,"lng":116.02709}}]},{"label":"吉安","value":"360800","location":{"lat":27.11382,"lng":114.99376},"children":[{"label":"吉州区","value":"360802","location":{"lat":27.1448,"lng":114.99457}},{"label":"青原区","value":"360803","location":{"lat":27.08195,"lng":115.01465}},{"label":"吉安县","value":"360821","location":{"lat":27.03935,"lng":114.90821}},{"label":"吉水县","value":"360822","location":{"lat":27.22976,"lng":115.1355}},{"label":"峡江县","value":"360823","location":{"lat":27.58289,"lng":115.31643}},{"label":"新干县","value":"360824","location":{"lat":27.74016,"lng":115.38692}},{"label":"永丰县","value":"360825","location":{"lat":27.31815,"lng":115.44189}},{"label":"泰和县","value":"360826","location":{"lat":26.78993,"lng":114.90887}},{"label":"遂川县","value":"360827","location":{"lat":26.31363,"lng":114.52052}},{"label":"万安县","value":"360828","location":{"lat":26.45825,"lng":114.78615}},{"label":"安福县","value":"360829","location":{"lat":27.3928,"lng":114.6196}},{"label":"永新县","value":"360830","location":{"lat":26.94498,"lng":114.24307}},{"label":"井冈山市","value":"360881","location":{"lat":26.74808,"lng":114.28953}}]},{"label":"宜春","value":"360900","location":{"lat":27.81443,"lng":114.41612},"children":[{"label":"袁州区","value":"360902","location":{"lat":27.79817,"lng":114.42773}},{"label":"奉新县","value":"360921","location":{"lat":28.68793,"lng":115.40037}},{"label":"万载县","value":"360922","location":{"lat":28.1061,"lng":114.44551}},{"label":"上高县","value":"360923","location":{"lat":28.23337,"lng":114.9248}},{"label":"宜丰县","value":"360924","location":{"lat":28.3938,"lng":114.80369}},{"label":"靖安县","value":"360925","location":{"lat":28.86138,"lng":115.36268}},{"label":"铜鼓县","value":"360926","location":{"lat":28.52182,"lng":114.37071}},{"label":"丰城市","value":"360981","location":{"lat":28.1592,"lng":115.77121}},{"label":"樟树市","value":"360982","location":{"lat":28.05589,"lng":115.54615}},{"label":"高安市","value":"360983","location":{"lat":28.41729,"lng":115.37562}}]},{"label":"抚州","value":"361000","location":{"lat":27.94781,"lng":116.35809},"children":[{"label":"临川区","value":"361002","location":{"lat":27.93473,"lng":116.30986}},{"label":"东乡区","value":"361003","location":{"lat":28.24771,"lng":116.60334}},{"label":"南城县","value":"361021","location":{"lat":27.5684,"lng":116.63775}},{"label":"黎川县","value":"361022","location":{"lat":27.28236,"lng":116.90753}},{"label":"南丰县","value":"361023","location":{"lat":27.21863,"lng":116.52526}},{"label":"崇仁县","value":"361024","location":{"lat":27.76437,"lng":116.06124}},{"label":"乐安县","value":"361025","location":{"lat":27.42814,"lng":115.83109}},{"label":"宜黄县","value":"361026","location":{"lat":27.55489,"lng":116.23628}},{"label":"金溪县","value":"361027","location":{"lat":27.91912,"lng":116.75485}},{"label":"资溪县","value":"361028","location":{"lat":27.70594,"lng":117.06101}},{"label":"广昌县","value":"361030","location":{"lat":26.83729,"lng":116.32573}}]},{"label":"上饶","value":"361100","location":{"lat":28.45463,"lng":117.94357},"children":[{"label":"信州区","value":"361102","location":{"lat":28.42995,"lng":117.96469}},{"label":"广丰区","value":"361103","location":{"lat":28.43631,"lng":118.19133}},{"label":"上饶县","value":"361121","location":{"lat":28.44923,"lng":117.9096}},{"label":"玉山县","value":"361123","location":{"lat":28.68194,"lng":118.24481}},{"label":"铅山县","value":"361124","location":{"lat":28.31535,"lng":117.70942}},{"label":"横峰县","value":"361125","location":{"lat":28.4072,"lng":117.59644}},{"label":"弋阳县","value":"361126","location":{"lat":28.37754,"lng":117.44821}},{"label":"余干县","value":"361127","location":{"lat":28.70211,"lng":116.6956}},{"label":"鄱阳县","value":"361128","location":{"lat":29.00563,"lng":116.70343}},{"label":"万年县","value":"361129","location":{"lat":28.69466,"lng":117.05839}},{"label":"婺源县","value":"361130","location":{"lat":29.24791,"lng":117.86192}},{"label":"德兴市","value":"361181","location":{"lat":28.94654,"lng":117.57884}}]}]},{"label":"山东省","value":"370000","location":{"lat":36.66826,"lng":117.02076},"children":[{"label":"济南","value":"370100","location":{"lat":36.65184,"lng":117.12009},"children":[{"label":"历下区","value":"370102","location":{"lat":36.66645,"lng":117.07641}},{"label":"市中区","value":"370103","location":{"lat":36.65118,"lng":116.99744}},{"label":"槐荫区","value":"370104","location":{"lat":36.65142,"lng":116.90084}},{"label":"天桥区","value":"370105","location":{"lat":36.67789,"lng":116.98737}},{"label":"历城区","value":"370112","location":{"lat":36.68013,"lng":117.06533}},{"label":"长清区","value":"370113","location":{"lat":36.55358,"lng":116.75199}},{"label":"章丘区","value":"370114","location":{"lat":36.68124,"lng":117.52627}},{"label":"平阴县","value":"370124","location":{"lat":36.28937,"lng":116.45599}},{"label":"济阳县","value":"370125","location":{"lat":36.97847,"lng":117.17333}},{"label":"商河县","value":"370126","location":{"lat":37.30907,"lng":117.1571}}]},{"label":"青岛","value":"370200","location":{"lat":36.06623,"lng":120.38299},"children":[{"label":"市南区","value":"370202","location":{"lat":36.07515,"lng":120.41283}},{"label":"市北区","value":"370203","location":{"lat":36.08743,"lng":120.37479}},{"label":"黄岛区","value":"370211","location":{"lat":35.95995,"lng":120.19653}},{"label":"崂山区","value":"370212","location":{"lat":36.10811,"lng":120.46803}},{"label":"李沧区","value":"370213","location":{"lat":36.14508,"lng":120.43294}},{"label":"城阳区","value":"370214","location":{"lat":36.30744,"lng":120.39629}},{"label":"胶州市","value":"370281","location":{"lat":36.26445,"lng":120.03354}},{"label":"即墨市","value":"370282","location":{"lat":36.38932,"lng":120.44715}},{"label":"平度市","value":"370283","location":{"lat":36.7867,"lng":119.95994}},{"label":"莱西市","value":"370285","location":{"lat":36.88808,"lng":120.51777}}]},{"label":"淄博","value":"370300","location":{"lat":36.8131,"lng":118.0548},"children":[{"label":"淄川区","value":"370302","location":{"lat":36.6435,"lng":117.96673}},{"label":"张店区","value":"370303","location":{"lat":36.80661,"lng":118.0179}},{"label":"博山区","value":"370304","location":{"lat":36.49473,"lng":117.86172}},{"label":"临淄区","value":"370305","location":{"lat":36.82593,"lng":118.30971}},{"label":"周村区","value":"370306","location":{"lat":36.80298,"lng":117.86974}},{"label":"桓台县","value":"370321","location":{"lat":36.95933,"lng":118.09797}},{"label":"高青县","value":"370322","location":{"lat":37.17105,"lng":117.82675}},{"label":"沂源县","value":"370323","location":{"lat":36.18488,"lng":118.17077}}]},{"label":"枣庄","value":"370400","location":{"lat":34.81071,"lng":117.32196},"children":[{"label":"市中区","value":"370402","location":{"lat":34.86426,"lng":117.55601}},{"label":"薛城区","value":"370403","location":{"lat":34.79502,"lng":117.2632}},{"label":"峄城区","value":"370404","location":{"lat":34.77228,"lng":117.59061}},{"label":"台儿庄区","value":"370405","location":{"lat":34.56261,"lng":117.73385}},{"label":"山亭区","value":"370406","location":{"lat":35.09963,"lng":117.4613}},{"label":"滕州市","value":"370481","location":{"lat":35.11338,"lng":117.16596}}]},{"label":"东营","value":"370500","location":{"lat":37.43365,"lng":118.67466},"children":[{"label":"东营区","value":"370502","location":{"lat":37.44878,"lng":118.58215}},{"label":"河口区","value":"370503","location":{"lat":37.88624,"lng":118.52544}},{"label":"垦利区","value":"370505","location":{"lat":37.58748,"lng":118.54768}},{"label":"利津县","value":"370522","location":{"lat":37.49028,"lng":118.25536}},{"label":"广饶县","value":"370523","location":{"lat":37.05359,"lng":118.40702}}]},{"label":"烟台","value":"370600","location":{"lat":37.46353,"lng":121.44801},"children":[{"label":"芝罘区","value":"370602","location":{"lat":37.54061,"lng":121.40011}},{"label":"福山区","value":"370611","location":{"lat":37.49794,"lng":121.26757}},{"label":"牟平区","value":"370612","location":{"lat":37.38683,"lng":121.60042}},{"label":"莱山区","value":"370613","location":{"lat":37.51104,"lng":121.44547}},{"label":"长岛县","value":"370634","location":{"lat":37.92135,"lng":120.73645}},{"label":"龙口市","value":"370681","location":{"lat":37.64345,"lng":120.47872}},{"label":"莱阳市","value":"370682","location":{"lat":36.97878,"lng":120.71181}},{"label":"莱州市","value":"370683","location":{"lat":37.17702,"lng":119.94222}},{"label":"蓬莱市","value":"370684","location":{"lat":37.81072,"lng":120.75882}},{"label":"招远市","value":"370685","location":{"lat":37.35531,"lng":120.43421}},{"label":"栖霞市","value":"370686","location":{"lat":37.33505,"lng":120.84977}},{"label":"海阳市","value":"370687","location":{"lat":36.77645,"lng":121.15846}}]},{"label":"潍坊","value":"370700","location":{"lat":36.70686,"lng":119.16176},"children":[{"label":"潍城区","value":"370702","location":{"lat":36.72667,"lng":119.02389}},{"label":"寒亭区","value":"370703","location":{"lat":36.77506,"lng":119.21994}},{"label":"坊子区","value":"370704","location":{"lat":36.65458,"lng":119.16607}},{"label":"奎文区","value":"370705","location":{"lat":36.70864,"lng":119.13279}},{"label":"临朐县","value":"370724","location":{"lat":36.51231,"lng":118.543}},{"label":"昌乐县","value":"370725","location":{"lat":36.70702,"lng":118.82984}},{"label":"青州市","value":"370781","location":{"lat":36.68456,"lng":118.47966}},{"label":"诸城市","value":"370782","location":{"lat":35.99583,"lng":119.40983}},{"label":"寿光市","value":"370783","location":{"lat":36.85541,"lng":118.79098}},{"label":"安丘市","value":"370784","location":{"lat":36.47842,"lng":119.21784}},{"label":"高密市","value":"370785","location":{"lat":36.38257,"lng":119.75568}},{"label":"昌邑市","value":"370786","location":{"lat":36.85884,"lng":119.39862}}]},{"label":"济宁","value":"370800","location":{"lat":35.41459,"lng":116.58724},"children":[{"label":"任城区","value":"370811","location":{"lat":35.4082,"lng":116.59649}},{"label":"兖州区","value":"370812","location":{"lat":35.5526,"lng":116.7857}},{"label":"微山县","value":"370826","location":{"lat":34.80718,"lng":117.12886}},{"label":"鱼台县","value":"370827","location":{"lat":35.01161,"lng":116.65046}},{"label":"金乡县","value":"370828","location":{"lat":35.06661,"lng":116.31148}},{"label":"嘉祥县","value":"370829","location":{"lat":35.4075,"lng":116.34249}},{"label":"汶上县","value":"370830","location":{"lat":35.73281,"lng":116.48917}},{"label":"泗水县","value":"370831","location":{"lat":35.66471,"lng":117.25216}},{"label":"梁山县","value":"370832","location":{"lat":35.8024,"lng":116.09584}},{"label":"曲阜市","value":"370881","location":{"lat":35.58082,"lng":116.98648}},{"label":"邹城市","value":"370883","location":{"lat":35.40522,"lng":117.00385}}]},{"label":"泰安","value":"370900","location":{"lat":36.19994,"lng":117.0884},"children":[{"label":"泰山区","value":"370902","location":{"lat":36.19198,"lng":117.13526}},{"label":"岱岳区","value":"370911","location":{"lat":36.18752,"lng":117.0418}},{"label":"宁阳县","value":"370921","location":{"lat":35.75961,"lng":116.80727}},{"label":"东平县","value":"370923","location":{"lat":35.93708,"lng":116.47024}},{"label":"新泰市","value":"370982","location":{"lat":35.90878,"lng":117.768}},{"label":"肥城市","value":"370983","location":{"lat":36.18245,"lng":116.76917}}]},{"label":"威海","value":"371000","location":{"lat":37.51348,"lng":122.12171},"children":[{"label":"环翠区","value":"371002","location":{"lat":37.50212,"lng":122.12348}},{"label":"文登区","value":"371003","location":{"lat":37.19397,"lng":122.0581}},{"label":"荣成市","value":"371082","location":{"lat":37.16523,"lng":122.48628}},{"label":"乳山市","value":"371083","location":{"lat":36.92021,"lng":121.5402}}]},{"label":"日照","value":"371100","location":{"lat":35.41646,"lng":119.52719},"children":[{"label":"东港区","value":"371102","location":{"lat":35.42545,"lng":119.46242}},{"label":"岚山区","value":"371103","location":{"lat":35.12206,"lng":119.31891}},{"label":"五莲县","value":"371121","location":{"lat":35.75018,"lng":119.20875}},{"label":"莒县","value":"371122","location":{"lat":35.57997,"lng":118.83687}}]},{"label":"莱芜","value":"371200","location":{"lat":36.21359,"lng":117.67667},"children":[{"label":"莱城区","value":"371202","location":{"lat":36.20317,"lng":117.65992}},{"label":"钢城区","value":"371203","location":{"lat":36.05866,"lng":117.81107}}]},{"label":"临沂","value":"371300","location":{"lat":35.10465,"lng":118.35646},"children":[{"label":"兰山区","value":"371302","location":{"lat":35.05151,"lng":118.34787}},{"label":"罗庄区","value":"371311","location":{"lat":34.99636,"lng":118.28437}},{"label":"河东区","value":"371312","location":{"lat":35.08729,"lng":118.40184}},{"label":"沂南县","value":"371321","location":{"lat":35.55001,"lng":118.46566}},{"label":"郯城县","value":"371322","location":{"lat":34.61357,"lng":118.36717}},{"label":"沂水县","value":"371323","location":{"lat":35.79034,"lng":118.62782}},{"label":"兰陵县","value":"371324","location":{"lat":34.85729,"lng":118.07072}},{"label":"费县","value":"371325","location":{"lat":35.26659,"lng":117.97711}},{"label":"平邑县","value":"371326","location":{"lat":35.50587,"lng":117.64048}},{"label":"莒南县","value":"371327","location":{"lat":35.17486,"lng":118.83543}},{"label":"蒙阴县","value":"371328","location":{"lat":35.7101,"lng":117.94494}},{"label":"临沭县","value":"371329","location":{"lat":34.91985,"lng":118.65063}}]},{"label":"德州","value":"371400","location":{"lat":37.4355,"lng":116.35927},"children":[{"label":"德城区","value":"371402","location":{"lat":37.45079,"lng":116.29941}},{"label":"陵城区","value":"371403","location":{"lat":37.33566,"lng":116.57634}},{"label":"宁津县","value":"371422","location":{"lat":37.65221,"lng":116.80023}},{"label":"庆云县","value":"371423","location":{"lat":37.77528,"lng":117.38497}},{"label":"临邑县","value":"371424","location":{"lat":37.18998,"lng":116.8666}},{"label":"齐河县","value":"371425","location":{"lat":36.79492,"lng":116.76002}},{"label":"平原县","value":"371426","location":{"lat":37.16538,"lng":116.43395}},{"label":"夏津县","value":"371427","location":{"lat":36.94856,"lng":116.00175}},{"label":"武城县","value":"371428","location":{"lat":37.21317,"lng":116.06923}},{"label":"乐陵市","value":"371481","location":{"lat":37.72979,"lng":117.23171}},{"label":"禹城市","value":"371482","location":{"lat":36.93394,"lng":116.63813}}]},{"label":"聊城","value":"371500","location":{"lat":36.45702,"lng":115.98549},"children":[{"label":"东昌府区","value":"371502","location":{"lat":36.43452,"lng":115.98847}},{"label":"阳谷县","value":"371521","location":{"lat":36.11447,"lng":115.79131}},{"label":"莘县","value":"371522","location":{"lat":36.23361,"lng":115.67072}},{"label":"茌平县","value":"371523","location":{"lat":36.58068,"lng":116.25522}},{"label":"东阿县","value":"371524","location":{"lat":36.33503,"lng":116.24773}},{"label":"冠县","value":"371525","location":{"lat":36.48335,"lng":115.44263}},{"label":"高唐县","value":"371526","location":{"lat":36.86602,"lng":116.23111}},{"label":"临清市","value":"371581","location":{"lat":36.83834,"lng":115.70504}}]},{"label":"滨州","value":"371600","location":{"lat":37.38211,"lng":117.97279},"children":[{"label":"滨城区","value":"371602","location":{"lat":37.42726,"lng":118.02279}},{"label":"沾化区","value":"371603","location":{"lat":37.70058,"lng":118.09882}},{"label":"惠民县","value":"371621","location":{"lat":37.48982,"lng":117.5092}},{"label":"阳信县","value":"371622","location":{"lat":37.64109,"lng":117.5782}},{"label":"无棣县","value":"371623","location":{"lat":37.76993,"lng":117.62577}},{"label":"博兴县","value":"371625","location":{"lat":37.15299,"lng":118.11096}},{"label":"邹平县","value":"371626","location":{"lat":36.86299,"lng":117.74309}}]},{"label":"菏泽","value":"371700","location":{"lat":35.23363,"lng":115.48115},"children":[{"label":"牡丹区","value":"371702","location":{"lat":35.25141,"lng":115.41666}},{"label":"定陶区","value":"371703","location":{"lat":35.07095,"lng":115.57298}},{"label":"曹县","value":"371721","location":{"lat":34.82553,"lng":115.54214}},{"label":"单县","value":"371722","location":{"lat":34.79438,"lng":116.08724}},{"label":"成武县","value":"371723","location":{"lat":34.95245,"lng":115.88964}},{"label":"巨野县","value":"371724","location":{"lat":35.39633,"lng":116.09495}},{"label":"郓城县","value":"371725","location":{"lat":35.59984,"lng":115.94364}},{"label":"鄄城县","value":"371726","location":{"lat":35.5635,"lng":115.51005}},{"label":"东明县","value":"371728","location":{"lat":35.28953,"lng":115.09016}}]}]},{"label":"河南省","value":"410000","location":{"lat":34.76571,"lng":113.75322},"children":[{"label":"郑州","value":"410100","location":{"lat":34.74725,"lng":113.62493},"children":[{"label":"中原区","value":"410102","location":{"lat":34.74821,"lng":113.61332}},{"label":"二七区","value":"410103","location":{"lat":34.72468,"lng":113.6401}},{"label":"管城回族区","value":"410104","location":{"lat":34.75381,"lng":113.67739}},{"label":"金水区","value":"410105","location":{"lat":34.79977,"lng":113.66072}},{"label":"上街区","value":"410106","location":{"lat":34.8028,"lng":113.30892}},{"label":"惠济区","value":"410108","location":{"lat":34.86739,"lng":113.61694}},{"label":"中牟县","value":"410122","location":{"lat":34.71903,"lng":113.97624}},{"label":"巩义市","value":"410181","location":{"lat":34.74798,"lng":113.02206}},{"label":"荥阳市","value":"410182","location":{"lat":34.78762,"lng":113.38349}},{"label":"新密市","value":"410183","location":{"lat":34.53952,"lng":113.39044}},{"label":"新郑市","value":"410184","location":{"lat":34.39605,"lng":113.74161}},{"label":"登封市","value":"410185","location":{"lat":34.45348,"lng":113.05028}}]},{"label":"开封","value":"410200","location":{"lat":34.79726,"lng":114.30731},"children":[{"label":"龙亭区","value":"410202","location":{"lat":34.81568,"lng":114.35461}},{"label":"顺河回族区","value":"410203","location":{"lat":34.79971,"lng":114.36435}},{"label":"鼓楼区","value":"410204","location":{"lat":34.78861,"lng":114.34816}},{"label":"禹王台区","value":"410205","location":{"lat":34.77717,"lng":114.34826}},{"label":"祥符区","value":"410212","location":{"lat":34.757,"lng":114.44136}},{"label":"杞县","value":"410221","location":{"lat":34.55034,"lng":114.78283}},{"label":"通许县","value":"410222","location":{"lat":34.48044,"lng":114.46741}},{"label":"尉氏县","value":"410223","location":{"lat":34.41161,"lng":114.19297}},{"label":"兰考县","value":"410225","location":{"lat":34.8223,"lng":114.82115}}]},{"label":"洛阳","value":"410300","location":{"lat":34.61812,"lng":112.45361},"children":[{"label":"老城区","value":"410302","location":{"lat":34.68356,"lng":112.46958}},{"label":"西工区","value":"410303","location":{"lat":34.66064,"lng":112.42827}},{"label":"瀍河回族区","value":"410304","location":{"lat":34.70431,"lng":112.51078}},{"label":"涧西区","value":"410305","location":{"lat":34.65774,"lng":112.3957}},{"label":"吉利区","value":"410306","location":{"lat":34.90099,"lng":112.58888}},{"label":"洛龙区","value":"410311","location":{"lat":34.61866,"lng":112.46403}},{"label":"孟津县","value":"410322","location":{"lat":34.82544,"lng":112.4451}},{"label":"新安县","value":"410323","location":{"lat":34.72818,"lng":112.13242}},{"label":"栾川县","value":"410324","location":{"lat":33.78576,"lng":111.61579}},{"label":"嵩县","value":"410325","location":{"lat":34.13451,"lng":112.0857}},{"label":"汝阳县","value":"410326","location":{"lat":34.15388,"lng":112.47317}},{"label":"宜阳县","value":"410327","location":{"lat":34.51496,"lng":112.1792}},{"label":"洛宁县","value":"410328","location":{"lat":34.38917,"lng":111.65313}},{"label":"伊川县","value":"410329","location":{"lat":34.42135,"lng":112.42568}},{"label":"偃师市","value":"410381","location":{"lat":34.72763,"lng":112.78965}}]},{"label":"平顶山","value":"410400","location":{"lat":33.76609,"lng":113.19241},"children":[{"label":"新华区","value":"410402","location":{"lat":33.73741,"lng":113.29431}},{"label":"卫东区","value":"410403","location":{"lat":33.73469,"lng":113.33503}},{"label":"石龙区","value":"410404","location":{"lat":33.89889,"lng":112.89888}},{"label":"湛河区","value":"410411","location":{"lat":33.7009,"lng":113.27602}},{"label":"宝丰县","value":"410421","location":{"lat":33.8684,"lng":113.05479}},{"label":"叶县","value":"410422","location":{"lat":33.62683,"lng":113.35737}},{"label":"鲁山县","value":"410423","location":{"lat":33.73854,"lng":112.90802}},{"label":"郏县","value":"410425","location":{"lat":33.9718,"lng":113.21262}},{"label":"舞钢市","value":"410481","location":{"lat":33.29315,"lng":113.52531}},{"label":"汝州市","value":"410482","location":{"lat":34.16717,"lng":112.84437}}]},{"label":"安阳","value":"410500","location":{"lat":36.09771,"lng":114.3931},"children":[{"label":"文峰区","value":"410502","location":{"lat":36.09052,"lng":114.35688}},{"label":"北关区","value":"410503","location":{"lat":36.10849,"lng":114.35511}},{"label":"殷都区","value":"410505","location":{"lat":36.10994,"lng":114.30345}},{"label":"龙安区","value":"410506","location":{"lat":36.07609,"lng":114.30089}},{"label":"安阳县","value":"410522","location":{"lat":36.21256,"lng":114.23182}},{"label":"汤阴县","value":"410523","location":{"lat":35.92138,"lng":114.35723}},{"label":"滑县","value":"410526","location":{"lat":35.57534,"lng":114.5193}},{"label":"内黄县","value":"410527","location":{"lat":35.94714,"lng":114.89936}},{"label":"林州市","value":"410581","location":{"lat":36.08308,"lng":113.81908}}]},{"label":"鹤壁","value":"410600","location":{"lat":35.747,"lng":114.29745},"children":[{"label":"鹤山区","value":"410602","location":{"lat":35.9547,"lng":114.1633}},{"label":"山城区","value":"410603","location":{"lat":35.89765,"lng":114.18444}},{"label":"淇滨区","value":"410611","location":{"lat":35.7413,"lng":114.29872}},{"label":"浚县","value":"410621","location":{"lat":35.67617,"lng":114.55078}},{"label":"淇县","value":"410622","location":{"lat":35.60786,"lng":114.19766}}]},{"label":"新乡","value":"410700","location":{"lat":35.30323,"lng":113.92675},"children":[{"label":"红旗区","value":"410702","location":{"lat":35.30351,"lng":113.87523}},{"label":"卫滨区","value":"410703","location":{"lat":35.30227,"lng":113.86582}},{"label":"凤泉区","value":"410704","location":{"lat":35.3718,"lng":113.90598}},{"label":"牧野区","value":"410711","location":{"lat":35.31493,"lng":113.90866}},{"label":"新乡县","value":"410721","location":{"lat":35.19079,"lng":113.80516}},{"label":"获嘉县","value":"410724","location":{"lat":35.25962,"lng":113.65716}},{"label":"原阳县","value":"410725","location":{"lat":35.06569,"lng":113.93997}},{"label":"延津县","value":"410726","location":{"lat":35.14194,"lng":114.20515}},{"label":"封丘县","value":"410727","location":{"lat":35.04119,"lng":114.41861}},{"label":"长垣县","value":"410728","location":{"lat":35.20049,"lng":114.66886}},{"label":"卫辉市","value":"410781","location":{"lat":35.39847,"lng":114.06459}},{"label":"辉县市","value":"410782","location":{"lat":35.46212,"lng":113.8054}}]},{"label":"焦作","value":"410800","location":{"lat":35.21563,"lng":113.24201},"children":[{"label":"解放区","value":"410802","location":{"lat":35.24052,"lng":113.23064}},{"label":"中站区","value":"410803","location":{"lat":35.2367,"lng":113.18296}},{"label":"马村区","value":"410804","location":{"lat":35.25615,"lng":113.3229}},{"label":"山阳区","value":"410811","location":{"lat":35.21414,"lng":113.2542}},{"label":"修武县","value":"410821","location":{"lat":35.22361,"lng":113.44776}},{"label":"博爱县","value":"410822","location":{"lat":35.17123,"lng":113.06453}},{"label":"武陟县","value":"410823","location":{"lat":35.09952,"lng":113.40184}},{"label":"温县","value":"410825","location":{"lat":34.94023,"lng":113.08057}},{"label":"沁阳市","value":"410882","location":{"lat":35.0876,"lng":112.9506}},{"label":"孟州市","value":"410883","location":{"lat":34.90735,"lng":112.79134}}]},{"label":"濮阳","value":"410900","location":{"lat":35.76189,"lng":115.02932},"children":[{"label":"华龙区","value":"410902","location":{"lat":35.77745,"lng":115.07432}},{"label":"清丰县","value":"410922","location":{"lat":35.8851,"lng":115.10421}},{"label":"南乐县","value":"410923","location":{"lat":36.06979,"lng":115.20491}},{"label":"范县","value":"410926","location":{"lat":35.85193,"lng":115.50411}},{"label":"台前县","value":"410927","location":{"lat":35.96931,"lng":115.87163}},{"label":"濮阳县","value":"410928","location":{"lat":35.71221,"lng":115.02903}}]},{"label":"许昌","value":"411000","location":{"lat":34.0357,"lng":113.85233},"children":[{"label":"魏都区","value":"411002","location":{"lat":34.04611,"lng":113.8308}},{"label":"建安区","value":"411003","location":{"lat":34.12596,"lng":113.82272}},{"label":"鄢陵县","value":"411024","location":{"lat":34.10233,"lng":114.17739}},{"label":"襄城县","value":"411025","location":{"lat":33.85072,"lng":113.50669}},{"label":"禹州市","value":"411081","location":{"lat":34.14048,"lng":113.48794}},{"label":"长葛市","value":"411082","location":{"lat":34.21672,"lng":113.76827}}]},{"label":"漯河","value":"411100","location":{"lat":33.58149,"lng":114.01681},"children":[{"label":"源汇区","value":"411102","location":{"lat":33.54528,"lng":113.9202}},{"label":"郾城区","value":"411103","location":{"lat":33.58705,"lng":114.00664}},{"label":"召陵区","value":"411104","location":{"lat":33.58645,"lng":114.09389}},{"label":"舞阳县","value":"411121","location":{"lat":33.43765,"lng":113.60931}},{"label":"临颍县","value":"411122","location":{"lat":33.80958,"lng":113.93443}}]},{"label":"三门峡","value":"411200","location":{"lat":34.77261,"lng":111.2003},"children":[{"label":"湖滨区","value":"411202","location":{"lat":34.77141,"lng":111.18747}},{"label":"陕州区","value":"411203","location":{"lat":34.72054,"lng":111.10338}},{"label":"渑池县","value":"411221","location":{"lat":34.76726,"lng":111.7619}},{"label":"卢氏县","value":"411224","location":{"lat":34.05438,"lng":111.04783}},{"label":"义马市","value":"411281","location":{"lat":34.74725,"lng":111.87449}},{"label":"灵宝市","value":"411282","location":{"lat":34.51685,"lng":110.89456}}]},{"label":"南阳","value":"411300","location":{"lat":32.99073,"lng":112.52851},"children":[{"label":"宛城区","value":"411302","location":{"lat":33.0036,"lng":112.5396}},{"label":"卧龙区","value":"411303","location":{"lat":32.98646,"lng":112.53494}},{"label":"南召县","value":"411321","location":{"lat":33.48979,"lng":112.42914}},{"label":"方城县","value":"411322","location":{"lat":33.25439,"lng":113.01255}},{"label":"西峡县","value":"411323","location":{"lat":33.3056,"lng":111.47244}},{"label":"镇平县","value":"411324","location":{"lat":33.03391,"lng":112.23448}},{"label":"内乡县","value":"411325","location":{"lat":33.04483,"lng":111.84926}},{"label":"淅川县","value":"411326","location":{"lat":33.13815,"lng":111.49078}},{"label":"社旗县","value":"411327","location":{"lat":33.05614,"lng":112.94793}},{"label":"唐河县","value":"411328","location":{"lat":32.68117,"lng":112.80745}},{"label":"新野县","value":"411329","location":{"lat":32.52093,"lng":112.36006}},{"label":"桐柏县","value":"411330","location":{"lat":32.37913,"lng":113.42892}},{"label":"邓州市","value":"411381","location":{"lat":32.68777,"lng":112.08736}}]},{"label":"商丘","value":"411400","location":{"lat":34.41427,"lng":115.65635},"children":[{"label":"梁园区","value":"411402","location":{"lat":34.44379,"lng":115.61396}},{"label":"睢阳区","value":"411403","location":{"lat":34.38818,"lng":115.65347}},{"label":"民权县","value":"411421","location":{"lat":34.64691,"lng":115.14766}},{"label":"睢县","value":"411422","location":{"lat":34.44526,"lng":115.07153}},{"label":"宁陵县","value":"411423","location":{"lat":34.45454,"lng":115.30516}},{"label":"柘城县","value":"411424","location":{"lat":34.09114,"lng":115.30544}},{"label":"虞城县","value":"411425","location":{"lat":34.39737,"lng":115.86519}},{"label":"夏邑县","value":"411426","location":{"lat":34.23929,"lng":116.12969}},{"label":"永城市","value":"411481","location":{"lat":33.92915,"lng":116.44946}}]},{"label":"信阳","value":"411500","location":{"lat":32.14714,"lng":114.09279},"children":[{"label":"浉河区","value":"411502","location":{"lat":32.11683,"lng":114.05857}},{"label":"平桥区","value":"411503","location":{"lat":32.10105,"lng":114.12561}},{"label":"罗山县","value":"411521","location":{"lat":32.20314,"lng":114.51307}},{"label":"光山县","value":"411522","location":{"lat":32.00997,"lng":114.91878}},{"label":"新县","value":"411523","location":{"lat":31.64389,"lng":114.87929}},{"label":"商城县","value":"411524","location":{"lat":31.79836,"lng":115.4069}},{"label":"固始县","value":"411525","location":{"lat":32.16839,"lng":115.65481}},{"label":"潢川县","value":"411526","location":{"lat":32.13156,"lng":115.05129}},{"label":"淮滨县","value":"411527","location":{"lat":32.47339,"lng":115.41987}},{"label":"息县","value":"411528","location":{"lat":32.34282,"lng":114.74024}}]},{"label":"周口","value":"411600","location":{"lat":33.62583,"lng":114.69695},"children":[{"label":"川汇区","value":"411602","location":{"lat":33.64738,"lng":114.65048}},{"label":"扶沟县","value":"411621","location":{"lat":34.06,"lng":114.39482}},{"label":"西华县","value":"411622","location":{"lat":33.76754,"lng":114.52974}},{"label":"商水县","value":"411623","location":{"lat":33.54256,"lng":114.61165}},{"label":"沈丘县","value":"411624","location":{"lat":33.4094,"lng":115.09856}},{"label":"郸城县","value":"411625","location":{"lat":33.64475,"lng":115.17704}},{"label":"淮阳县","value":"411626","location":{"lat":33.7315,"lng":114.88614}},{"label":"太康县","value":"411627","location":{"lat":34.06379,"lng":114.83779}},{"label":"鹿邑县","value":"411628","location":{"lat":33.86009,"lng":115.48443}},{"label":"项城市","value":"411681","location":{"lat":33.46723,"lng":114.87562}}]},{"label":"驻马店","value":"411700","location":{"lat":33.01142,"lng":114.02299},"children":[{"label":"驿城区","value":"411702","location":{"lat":32.97319,"lng":113.99382}},{"label":"西平县","value":"411721","location":{"lat":33.3878,"lng":114.02158}},{"label":"上蔡县","value":"411722","location":{"lat":33.26255,"lng":114.26435}},{"label":"平舆县","value":"411723","location":{"lat":32.96257,"lng":114.61912}},{"label":"正阳县","value":"411724","location":{"lat":32.60566,"lng":114.39274}},{"label":"确山县","value":"411725","location":{"lat":32.80207,"lng":114.02648}},{"label":"泌阳县","value":"411726","location":{"lat":32.7241,"lng":113.32709}},{"label":"汝南县","value":"411727","location":{"lat":33.00685,"lng":114.36229}},{"label":"遂平县","value":"411728","location":{"lat":33.14576,"lng":114.01319}},{"label":"新蔡县","value":"411729","location":{"lat":32.74926,"lng":114.98571}}]},{"label":"省直辖县级行政区划","value":"419001","location":{"lat":35.06707,"lng":112.60273},"children":[{"label":"济源","value":"419001","location":{"lat":35.06707,"lng":112.60273}}]}]},{"label":"湖北省","value":"420000","location":{"lat":30.54539,"lng":114.34234},"children":[{"label":"武汉","value":"420100","location":{"lat":30.59276,"lng":114.30525},"children":[{"label":"江岸区","value":"420102","location":{"lat":30.59982,"lng":114.3096}},{"label":"江汉区","value":"420103","location":{"lat":30.60147,"lng":114.27096}},{"label":"硚口区","value":"420104","location":{"lat":30.58145,"lng":114.21498}},{"label":"汉阳区","value":"420105","location":{"lat":30.55473,"lng":114.21772}},{"label":"武昌区","value":"420106","location":{"lat":30.55386,"lng":114.31599}},{"label":"青山区","value":"420107","location":{"lat":30.64039,"lng":114.38415}},{"label":"洪山区","value":"420111","location":{"lat":30.49984,"lng":114.34253}},{"label":"东西湖区","value":"420112","location":{"lat":30.61996,"lng":114.13702}},{"label":"汉南区","value":"420113","location":{"lat":30.30895,"lng":114.08469}},{"label":"蔡甸区","value":"420114","location":{"lat":30.58203,"lng":114.02919}},{"label":"江夏区","value":"420115","location":{"lat":30.37559,"lng":114.32168}},{"label":"黄陂区","value":"420116","location":{"lat":30.88131,"lng":114.37509}},{"label":"新洲区","value":"420117","location":{"lat":30.84154,"lng":114.80114}}]},{"label":"黄石","value":"420200","location":{"lat":30.19953,"lng":115.0389},"children":[{"label":"黄石港区","value":"420202","location":{"lat":30.22286,"lng":115.06611}},{"label":"西塞山区","value":"420203","location":{"lat":30.20489,"lng":115.11019}},{"label":"下陆区","value":"420204","location":{"lat":30.17384,"lng":114.96118}},{"label":"铁山区","value":"420205","location":{"lat":30.20666,"lng":114.90143}},{"label":"阳新县","value":"420222","location":{"lat":29.83039,"lng":115.2153}},{"label":"大冶市","value":"420281","location":{"lat":30.09551,"lng":114.97977}}]},{"label":"十堰","value":"420300","location":{"lat":32.62918,"lng":110.79801},"children":[{"label":"茅箭区","value":"420302","location":{"lat":32.59175,"lng":110.81285}},{"label":"张湾区","value":"420303","location":{"lat":32.65192,"lng":110.76916}},{"label":"郧阳区","value":"420304","location":{"lat":32.83488,"lng":110.81197}},{"label":"郧西县","value":"420322","location":{"lat":32.99306,"lng":110.42588}},{"label":"竹山县","value":"420323","location":{"lat":32.22468,"lng":110.22879}},{"label":"竹溪县","value":"420324","location":{"lat":32.31824,"lng":109.71527}},{"label":"房县","value":"420325","location":{"lat":32.05552,"lng":110.74116}},{"label":"丹江口市","value":"420381","location":{"lat":32.5404,"lng":111.51322}}]},{"label":"宜昌","value":"420500","location":{"lat":30.69186,"lng":111.28642},"children":[{"label":"西陵区","value":"420502","location":{"lat":30.71082,"lng":111.28581}},{"label":"伍家岗区","value":"420503","location":{"lat":30.64441,"lng":111.361}},{"label":"点军区","value":"420504","location":{"lat":30.69322,"lng":111.26824}},{"label":"猇亭区","value":"420505","location":{"lat":30.5307,"lng":111.43471}},{"label":"夷陵区","value":"420506","location":{"lat":30.7699,"lng":111.32488}},{"label":"远安县","value":"420525","location":{"lat":31.06144,"lng":111.63985}},{"label":"兴山县","value":"420526","location":{"lat":31.34813,"lng":110.74719}},{"label":"秭归县","value":"420527","location":{"lat":30.82578,"lng":110.97768}},{"label":"长阳土家族自治县","value":"420528","location":{"lat":30.4725,"lng":111.20705}},{"label":"五峰土家族自治县","value":"420529","location":{"lat":30.19983,"lng":110.67452}},{"label":"宜都市","value":"420581","location":{"lat":30.37846,"lng":111.4501}},{"label":"当阳市","value":"420582","location":{"lat":30.82118,"lng":111.78833}},{"label":"枝江市","value":"420583","location":{"lat":30.42583,"lng":111.76044}}]},{"label":"襄阳","value":"420600","location":{"lat":32.009,"lng":112.12255},"children":[{"label":"襄城区","value":"420602","location":{"lat":32.01067,"lng":112.13423}},{"label":"樊城区","value":"420606","location":{"lat":32.04487,"lng":112.13555}},{"label":"襄州区","value":"420607","location":{"lat":32.08718,"lng":112.21194}},{"label":"南漳县","value":"420624","location":{"lat":31.77471,"lng":111.83902}},{"label":"谷城县","value":"420625","location":{"lat":32.26338,"lng":111.65304}},{"label":"保康县","value":"420626","location":{"lat":31.87753,"lng":111.26117}},{"label":"老河口市","value":"420682","location":{"lat":32.38671,"lng":111.67507}},{"label":"枣阳市","value":"420683","location":{"lat":32.12836,"lng":112.77398}},{"label":"宜城市","value":"420684","location":{"lat":31.71976,"lng":112.25776}}]},{"label":"鄂州","value":"420700","location":{"lat":30.39085,"lng":114.89495},"children":[{"label":"梁子湖区","value":"420702","location":{"lat":30.09996,"lng":114.68456}},{"label":"华容区","value":"420703","location":{"lat":30.53434,"lng":114.72983}},{"label":"鄂城区","value":"420704","location":{"lat":30.40057,"lng":114.89171}}]},{"label":"荆门","value":"420800","location":{"lat":31.03546,"lng":112.19945},"children":[{"label":"东宝区","value":"420802","location":{"lat":31.05193,"lng":112.20158}},{"label":"掇刀区","value":"420804","location":{"lat":30.97303,"lng":112.20715}},{"label":"京山县","value":"420821","location":{"lat":31.01848,"lng":113.11953}},{"label":"沙洋县","value":"420822","location":{"lat":30.70918,"lng":112.58854}},{"label":"钟祥市","value":"420881","location":{"lat":31.16797,"lng":112.58817}}]},{"label":"孝感","value":"420900","location":{"lat":30.92483,"lng":113.91645},"children":[{"label":"孝南区","value":"420902","location":{"lat":30.91677,"lng":113.91049}},{"label":"孝昌县","value":"420921","location":{"lat":31.25803,"lng":113.99802}},{"label":"大悟县","value":"420922","location":{"lat":31.56096,"lng":114.12694}},{"label":"云梦县","value":"420923","location":{"lat":31.02103,"lng":113.75331}},{"label":"应城市","value":"420981","location":{"lat":30.92838,"lng":113.57292}},{"label":"安陆市","value":"420982","location":{"lat":31.25554,"lng":113.68913}},{"label":"汉川市","value":"420984","location":{"lat":30.66122,"lng":113.83907}}]},{"label":"荆州","value":"421000","location":{"lat":30.33479,"lng":112.24069},"children":[{"label":"沙市区","value":"421002","location":{"lat":30.31098,"lng":112.25494}},{"label":"荆州区","value":"421003","location":{"lat":30.35269,"lng":112.19016}},{"label":"公安县","value":"421022","location":{"lat":30.0583,"lng":112.22948}},{"label":"监利县","value":"421023","location":{"lat":29.83928,"lng":112.90492}},{"label":"江陵县","value":"421024","location":{"lat":30.04184,"lng":112.4247}},{"label":"石首市","value":"421081","location":{"lat":29.72085,"lng":112.4255}},{"label":"洪湖市","value":"421083","location":{"lat":29.82756,"lng":113.47775}},{"label":"松滋市","value":"421087","location":{"lat":30.1696,"lng":111.76743}}]},{"label":"黄冈","value":"421100","location":{"lat":30.45347,"lng":114.87238},"children":[{"label":"黄州区","value":"421102","location":{"lat":30.43472,"lng":114.88005}},{"label":"团风县","value":"421121","location":{"lat":30.64362,"lng":114.87232}},{"label":"红安县","value":"421122","location":{"lat":31.2881,"lng":114.61813}},{"label":"罗田县","value":"421123","location":{"lat":30.78399,"lng":115.39927}},{"label":"英山县","value":"421124","location":{"lat":30.73518,"lng":115.68143}},{"label":"浠水县","value":"421125","location":{"lat":30.45184,"lng":115.26551}},{"label":"蕲春县","value":"421126","location":{"lat":30.22617,"lng":115.43621}},{"label":"黄梅县","value":"421127","location":{"lat":30.07037,"lng":115.94432}},{"label":"麻城市","value":"421181","location":{"lat":31.17333,"lng":115.00869}},{"label":"武穴市","value":"421182","location":{"lat":29.84433,"lng":115.5613}}]},{"label":"咸宁","value":"421200","location":{"lat":29.84126,"lng":114.32245},"children":[{"label":"咸安区","value":"421202","location":{"lat":29.85251,"lng":114.2984}},{"label":"嘉鱼县","value":"421221","location":{"lat":29.97057,"lng":113.93932}},{"label":"通城县","value":"421222","location":{"lat":29.24535,"lng":113.81702}},{"label":"崇阳县","value":"421223","location":{"lat":29.55537,"lng":114.03892}},{"label":"通山县","value":"421224","location":{"lat":29.60638,"lng":114.48276}},{"label":"赤壁市","value":"421281","location":{"lat":29.72476,"lng":113.90054}}]},{"label":"随州","value":"421300","location":{"lat":31.69013,"lng":113.38262},"children":[{"label":"曾都区","value":"421303","location":{"lat":31.71615,"lng":113.3712}},{"label":"随县","value":"421321","location":{"lat":31.8538,"lng":113.29995}},{"label":"广水市","value":"421381","location":{"lat":31.61686,"lng":113.826}}]},{"label":"恩施土家族苗族自治州","value":"422800","location":{"lat":30.27217,"lng":109.48817},"children":[{"label":"恩施市","value":"422801","location":{"lat":30.29504,"lng":109.47918}},{"label":"利川市","value":"422802","location":{"lat":30.29121,"lng":108.93595}},{"label":"建始县","value":"422822","location":{"lat":30.60213,"lng":109.72213}},{"label":"巴东县","value":"422823","location":{"lat":31.04233,"lng":110.34075}},{"label":"宣恩县","value":"422825","location":{"lat":29.98715,"lng":109.49185}},{"label":"咸丰县","value":"422826","location":{"lat":29.66521,"lng":109.13963}},{"label":"来凤县","value":"422827","location":{"lat":29.49391,"lng":109.407}},{"label":"鹤峰县","value":"422828","location":{"lat":29.89084,"lng":110.03498}}]},{"label":"省直辖县级行政区划","value":"429004","location":{"lat":30.36251,"lng":113.4545},"children":[{"label":"仙桃","value":"429004","location":{"lat":30.36251,"lng":113.4545}},{"label":"潜江","value":"429005","location":{"lat":30.40147,"lng":112.8993}},{"label":"天门","value":"429006","location":{"lat":30.66339,"lng":113.16614}},{"label":"神农架","value":"429021","location":{"lat":31.74457,"lng":110.67556}}]}]},{"label":"湖南省","value":"430000","location":{"lat":28.11266,"lng":112.9834},"children":[{"label":"长沙","value":"430100","location":{"lat":28.22778,"lng":112.93886},"children":[{"label":"芙蓉区","value":"430102","location":{"lat":28.20279,"lng":113.03539}},{"label":"天心区","value":"430103","location":{"lat":28.11264,"lng":112.98992}},{"label":"岳麓区","value":"430104","location":{"lat":28.23529,"lng":112.93134}},{"label":"开福区","value":"430105","location":{"lat":28.25591,"lng":112.98626}},{"label":"雨花区","value":"430111","location":{"lat":28.13551,"lng":113.03555}},{"label":"望城区","value":"430112","location":{"lat":28.36121,"lng":112.8179}},{"label":"长沙县","value":"430121","location":{"lat":28.24595,"lng":113.08093}},{"label":"宁乡县","value":"430124","location":{"lat":28.27741,"lng":112.55183}},{"label":"浏阳市","value":"430181","location":{"lat":28.16378,"lng":113.64317}}]},{"label":"株洲","value":"430200","location":{"lat":27.82767,"lng":113.13396},"children":[{"label":"荷塘区","value":"430202","location":{"lat":27.85595,"lng":113.17329}},{"label":"芦淞区","value":"430203","location":{"lat":27.78499,"lng":113.1523}},{"label":"石峰区","value":"430204","location":{"lat":27.87558,"lng":113.11784}},{"label":"天元区","value":"430211","location":{"lat":27.82681,"lng":113.08231}},{"label":"株洲县","value":"430221","location":{"lat":27.69938,"lng":113.14398}},{"label":"攸县","value":"430223","location":{"lat":27.00023,"lng":113.34569}},{"label":"茶陵县","value":"430224","location":{"lat":26.77745,"lng":113.53927}},{"label":"炎陵县","value":"430225","location":{"lat":26.48979,"lng":113.77258}},{"label":"醴陵市","value":"430281","location":{"lat":27.64617,"lng":113.49703}}]},{"label":"湘潭","value":"430300","location":{"lat":27.82975,"lng":112.94411},"children":[{"label":"雨湖区","value":"430302","location":{"lat":27.85632,"lng":112.90737}},{"label":"岳塘区","value":"430304","location":{"lat":27.87266,"lng":112.97019}},{"label":"湘潭县","value":"430321","location":{"lat":27.77904,"lng":112.95099}},{"label":"湘乡市","value":"430381","location":{"lat":27.7341,"lng":112.53504}},{"label":"韶山市","value":"430382","location":{"lat":27.91507,"lng":112.5266}}]},{"label":"衡阳","value":"430400","location":{"lat":26.89324,"lng":112.57195},"children":[{"label":"珠晖区","value":"430405","location":{"lat":26.89456,"lng":112.62039}},{"label":"雁峰区","value":"430406","location":{"lat":26.88864,"lng":112.61669}},{"label":"石鼓区","value":"430407","location":{"lat":26.94343,"lng":112.59798}},{"label":"蒸湘区","value":"430408","location":{"lat":26.91259,"lng":112.56755}},{"label":"南岳区","value":"430412","location":{"lat":27.23258,"lng":112.73876}},{"label":"衡阳县","value":"430421","location":{"lat":26.96977,"lng":112.37066}},{"label":"衡南县","value":"430422","location":{"lat":26.73831,"lng":112.67792}},{"label":"衡山县","value":"430423","location":{"lat":27.23022,"lng":112.86831}},{"label":"衡东县","value":"430424","location":{"lat":27.08116,"lng":112.95325}},{"label":"祁东县","value":"430426","location":{"lat":26.79965,"lng":112.09043}},{"label":"耒阳市","value":"430481","location":{"lat":26.42243,"lng":112.85988}},{"label":"常宁市","value":"430482","location":{"lat":26.42093,"lng":112.39992}}]},{"label":"邵阳","value":"430500","location":{"lat":27.2389,"lng":111.4677},"children":[{"label":"双清区","value":"430502","location":{"lat":27.23285,"lng":111.49674}},{"label":"大祥区","value":"430503","location":{"lat":27.2213,"lng":111.43888}},{"label":"北塔区","value":"430511","location":{"lat":27.24566,"lng":111.45207}},{"label":"邵东县","value":"430521","location":{"lat":27.25844,"lng":111.74446}},{"label":"新邵县","value":"430522","location":{"lat":27.32091,"lng":111.459}},{"label":"邵阳县","value":"430523","location":{"lat":26.99078,"lng":111.27382}},{"label":"隆回县","value":"430524","location":{"lat":27.11402,"lng":111.03249}},{"label":"洞口县","value":"430525","location":{"lat":27.06038,"lng":110.57583}},{"label":"绥宁县","value":"430527","location":{"lat":26.58201,"lng":110.15568}},{"label":"新宁县","value":"430528","location":{"lat":26.43346,"lng":110.85674}},{"label":"城步苗族自治县","value":"430529","location":{"lat":26.39156,"lng":110.32285}},{"label":"武冈市","value":"430581","location":{"lat":26.72659,"lng":110.63138}}]},{"label":"岳阳","value":"430600","location":{"lat":29.35728,"lng":113.12919},"children":[{"label":"岳阳楼区","value":"430602","location":{"lat":29.37197,"lng":113.12931}},{"label":"云溪区","value":"430603","location":{"lat":29.47358,"lng":113.27239}},{"label":"君山区","value":"430611","location":{"lat":29.46135,"lng":113.00651}},{"label":"岳阳县","value":"430621","location":{"lat":29.14415,"lng":113.11635}},{"label":"华容县","value":"430623","location":{"lat":29.53015,"lng":112.53946}},{"label":"湘阴县","value":"430624","location":{"lat":28.68925,"lng":112.90917}},{"label":"平江县","value":"430626","location":{"lat":28.70203,"lng":113.58134}},{"label":"汨罗市","value":"430681","location":{"lat":28.80642,"lng":113.06711}},{"label":"临湘市","value":"430682","location":{"lat":29.47684,"lng":113.45058}}]},{"label":"常德","value":"430700","location":{"lat":29.03158,"lng":111.69854},"children":[{"label":"武陵区","value":"430702","location":{"lat":29.05397,"lng":111.68396}},{"label":"鼎城区","value":"430703","location":{"lat":29.01871,"lng":111.68072}},{"label":"安乡县","value":"430721","location":{"lat":29.41142,"lng":112.17096}},{"label":"汉寿县","value":"430722","location":{"lat":28.90549,"lng":111.97043}},{"label":"澧县","value":"430723","location":{"lat":29.63318,"lng":111.75868}},{"label":"临澧县","value":"430724","location":{"lat":29.44098,"lng":111.64735}},{"label":"桃源县","value":"430725","location":{"lat":28.90259,"lng":111.48893}},{"label":"石门县","value":"430726","location":{"lat":29.58413,"lng":111.37982}},{"label":"津市市","value":"430781","location":{"lat":29.60543,"lng":111.87741}}]},{"label":"张家界","value":"430800","location":{"lat":29.11667,"lng":110.47839},"children":[{"label":"永定区","value":"430802","location":{"lat":29.11983,"lng":110.53737}},{"label":"武陵源区","value":"430811","location":{"lat":29.34589,"lng":110.55042}},{"label":"慈利县","value":"430821","location":{"lat":29.4297,"lng":111.13921}},{"label":"桑植县","value":"430822","location":{"lat":29.39971,"lng":110.16428}}]},{"label":"益阳","value":"430900","location":{"lat":28.55391,"lng":112.35516},"children":[{"label":"资阳区","value":"430902","location":{"lat":28.591,"lng":112.32426}},{"label":"赫山区","value":"430903","location":{"lat":28.5793,"lng":112.37409}},{"label":"南县","value":"430921","location":{"lat":29.36162,"lng":112.39636}},{"label":"桃江县","value":"430922","location":{"lat":28.51819,"lng":112.15571}},{"label":"安化县","value":"430923","location":{"lat":28.37428,"lng":111.21303}},{"label":"沅江市","value":"430981","location":{"lat":28.84402,"lng":112.35468}}]},{"label":"郴州","value":"431000","location":{"lat":25.77063,"lng":113.01485},"children":[{"label":"北湖区","value":"431002","location":{"lat":25.78398,"lng":113.01101}},{"label":"苏仙区","value":"431003","location":{"lat":25.8004,"lng":113.04236}},{"label":"桂阳县","value":"431021","location":{"lat":25.7541,"lng":112.73368}},{"label":"宜章县","value":"431022","location":{"lat":25.39957,"lng":112.94887}},{"label":"永兴县","value":"431023","location":{"lat":26.1272,"lng":113.11659}},{"label":"嘉禾县","value":"431024","location":{"lat":25.58766,"lng":112.3686}},{"label":"临武县","value":"431025","location":{"lat":25.27596,"lng":112.56295}},{"label":"汝城县","value":"431026","location":{"lat":25.55036,"lng":113.68493}},{"label":"桂东县","value":"431027","location":{"lat":26.07752,"lng":113.94454}},{"label":"安仁县","value":"431028","location":{"lat":26.70942,"lng":113.26948}},{"label":"资兴市","value":"431081","location":{"lat":25.97619,"lng":113.23601}}]},{"label":"永州","value":"431100","location":{"lat":26.42034,"lng":111.61225},"children":[{"label":"零陵区","value":"431102","location":{"lat":26.22255,"lng":111.63112}},{"label":"冷水滩区","value":"431103","location":{"lat":26.46098,"lng":111.59244}},{"label":"祁阳县","value":"431121","location":{"lat":26.58012,"lng":111.84015}},{"label":"东安县","value":"431122","location":{"lat":26.39206,"lng":111.31644}},{"label":"双牌县","value":"431123","location":{"lat":25.96218,"lng":111.66031}},{"label":"道县","value":"431124","location":{"lat":25.52753,"lng":111.60007}},{"label":"江永县","value":"431125","location":{"lat":25.27353,"lng":111.34385}},{"label":"宁远县","value":"431126","location":{"lat":25.56919,"lng":111.94445}},{"label":"蓝山县","value":"431127","location":{"lat":25.36943,"lng":112.19678}},{"label":"新田县","value":"431128","location":{"lat":25.9043,"lng":112.20329}},{"label":"江华瑶族自治县","value":"431129","location":{"lat":25.18536,"lng":111.57952}}]},{"label":"怀化","value":"431200","location":{"lat":27.56974,"lng":110.0016},"children":[{"label":"鹤城区","value":"431202","location":{"lat":27.57771,"lng":110.04098}},{"label":"中方县","value":"431221","location":{"lat":27.43992,"lng":109.94501}},{"label":"沅陵县","value":"431222","location":{"lat":28.45277,"lng":110.39388}},{"label":"辰溪县","value":"431223","location":{"lat":28.00652,"lng":110.18368}},{"label":"溆浦县","value":"431224","location":{"lat":27.90834,"lng":110.59486}},{"label":"会同县","value":"431225","location":{"lat":26.88718,"lng":109.7357}},{"label":"麻阳苗族自治县","value":"431226","location":{"lat":27.86555,"lng":109.80256}},{"label":"新晃侗族自治县","value":"431227","location":{"lat":27.35264,"lng":109.17492}},{"label":"芷江侗族自治县","value":"431228","location":{"lat":27.44328,"lng":109.68519}},{"label":"靖州苗族侗族自治县","value":"431229","location":{"lat":26.57514,"lng":109.69627}},{"label":"通道侗族自治县","value":"431230","location":{"lat":26.15794,"lng":109.78449}},{"label":"洪江市","value":"431281","location":{"lat":27.20925,"lng":109.83655}}]},{"label":"娄底","value":"431300","location":{"lat":27.69728,"lng":111.99458},"children":[{"label":"娄星区","value":"431302","location":{"lat":27.72978,"lng":112.0017}},{"label":"双峰县","value":"431321","location":{"lat":27.45702,"lng":112.19392}},{"label":"新化县","value":"431322","location":{"lat":27.72663,"lng":111.32743}},{"label":"冷水江市","value":"431381","location":{"lat":27.68615,"lng":111.43525}},{"label":"涟源市","value":"431382","location":{"lat":27.69271,"lng":111.66446}}]},{"label":"湘西土家族苗族自治州","value":"433100","location":{"lat":28.31173,"lng":109.73893},"children":[{"label":"吉首市","value":"433101","location":{"lat":28.26244,"lng":109.69811}},{"label":"泸溪县","value":"433122","location":{"lat":28.21639,"lng":110.21965}},{"label":"凤凰县","value":"433123","location":{"lat":27.94843,"lng":109.59832}},{"label":"花垣县","value":"433124","location":{"lat":28.57211,"lng":109.48224}},{"label":"保靖县","value":"433125","location":{"lat":28.70001,"lng":109.66054}},{"label":"古丈县","value":"433126","location":{"lat":28.61711,"lng":109.95085}},{"label":"永顺县","value":"433127","location":{"lat":29.00515,"lng":109.84807}},{"label":"龙山县","value":"433130","location":{"lat":29.4579,"lng":109.44387}}]}]},{"label":"广东省","value":"440000","location":{"lat":23.13171,"lng":113.26627},"children":[{"label":"广州","value":"440100","location":{"lat":23.12908,"lng":113.26436},"children":[{"label":"荔湾区","value":"440103","location":{"lat":23.12586,"lng":113.24428}},{"label":"越秀区","value":"440104","location":{"lat":23.12901,"lng":113.2668}},{"label":"海珠区","value":"440105","location":{"lat":23.08331,"lng":113.3172}},{"label":"天河区","value":"440106","location":{"lat":23.12463,"lng":113.36199}},{"label":"白云区","value":"440111","location":{"lat":23.15792,"lng":113.27324}},{"label":"黄埔区","value":"440112","location":{"lat":23.18139,"lng":113.48067}},{"label":"番禺区","value":"440113","location":{"lat":22.93772,"lng":113.38424}},{"label":"花都区","value":"440114","location":{"lat":23.40391,"lng":113.22026}},{"label":"南沙区","value":"440115","location":{"lat":22.80169,"lng":113.52497}},{"label":"从化区","value":"440117","location":{"lat":23.54835,"lng":113.58646}},{"label":"增城区","value":"440118","location":{"lat":23.26093,"lng":113.8109}}]},{"label":"韶关","value":"440200","location":{"lat":24.81039,"lng":113.59723},"children":[{"label":"武江区","value":"440203","location":{"lat":24.79268,"lng":113.58771}},{"label":"浈江区","value":"440204","location":{"lat":24.80446,"lng":113.61095}},{"label":"曲江区","value":"440205","location":{"lat":24.6826,"lng":113.60458}},{"label":"始兴县","value":"440222","location":{"lat":24.95269,"lng":114.06206}},{"label":"仁化县","value":"440224","location":{"lat":25.08566,"lng":113.74918}},{"label":"翁源县","value":"440229","location":{"lat":24.3502,"lng":114.13033}},{"label":"乳源瑶族自治县","value":"440232","location":{"lat":24.77591,"lng":113.27596}},{"label":"新丰县","value":"440233","location":{"lat":24.05959,"lng":114.20689}},{"label":"乐昌市","value":"440281","location":{"lat":25.13014,"lng":113.34746}},{"label":"南雄市","value":"440282","location":{"lat":25.11962,"lng":114.31084}}]},{"label":"深圳","value":"440300","location":{"lat":22.54286,"lng":114.05956},"children":[{"label":"罗湖区","value":"440303","location":{"lat":22.54895,"lng":114.13111}},{"label":"福田区","value":"440304","location":{"lat":22.52291,"lng":114.05454}},{"label":"南山区","value":"440305","location":{"lat":22.53332,"lng":113.93041}},{"label":"宝安区","value":"440306","location":{"lat":22.55329,"lng":113.88308}},{"label":"龙岗区","value":"440307","location":{"lat":22.71991,"lng":114.24779}},{"label":"盐田区","value":"440308","location":{"lat":22.55786,"lng":114.23748}},{"label":"龙华区","value":"440309","location":{"lat":22.72174,"lng":114.06031}},{"label":"坪山区","value":"440310","location":{"lat":22.69084,"lng":114.34632}}]},{"label":"珠海","value":"440400","location":{"lat":22.27073,"lng":113.57668},"children":[{"label":"香洲区","value":"440402","location":{"lat":22.26666,"lng":113.54342}},{"label":"斗门区","value":"440403","location":{"lat":22.20903,"lng":113.29658}},{"label":"金湾区","value":"440404","location":{"lat":22.14589,"lng":113.3642}}]},{"label":"汕头","value":"440500","location":{"lat":23.3535,"lng":116.68221},"children":[{"label":"龙湖区","value":"440507","location":{"lat":23.37246,"lng":116.71677}},{"label":"金平区","value":"440511","location":{"lat":23.36525,"lng":116.7054}},{"label":"濠江区","value":"440512","location":{"lat":23.28592,"lng":116.72664}},{"label":"潮阳区","value":"440513","location":{"lat":23.26489,"lng":116.60157}},{"label":"潮南区","value":"440514","location":{"lat":23.25029,"lng":116.4331}},{"label":"澄海区","value":"440515","location":{"lat":23.46613,"lng":116.75608}},{"label":"南澳县","value":"440523","location":{"lat":23.42178,"lng":117.02348}}]},{"label":"佛山","value":"440600","location":{"lat":23.02185,"lng":113.12192},"children":[{"label":"禅城区","value":"440604","location":{"lat":23.00944,"lng":113.12249}},{"label":"南海区","value":"440605","location":{"lat":23.02882,"lng":113.14278}},{"label":"顺德区","value":"440606","location":{"lat":22.80536,"lng":113.29321}},{"label":"三水区","value":"440607","location":{"lat":23.15585,"lng":112.89672}},{"label":"高明区","value":"440608","location":{"lat":22.90026,"lng":112.89262}}]},{"label":"江门","value":"440700","location":{"lat":22.57865,"lng":113.08161},"children":[{"label":"蓬江区","value":"440703","location":{"lat":22.59514,"lng":113.07845}},{"label":"江海区","value":"440704","location":{"lat":22.56028,"lng":113.11103}},{"label":"新会区","value":"440705","location":{"lat":22.45877,"lng":113.03231}},{"label":"台山市","value":"440781","location":{"lat":22.25156,"lng":112.7939}},{"label":"开平市","value":"440783","location":{"lat":22.37638,"lng":112.69851}},{"label":"鹤山市","value":"440784","location":{"lat":22.7653,"lng":112.96436}},{"label":"恩平市","value":"440785","location":{"lat":22.18294,"lng":112.30532}}]},{"label":"湛江","value":"440800","location":{"lat":21.27134,"lng":110.35894},"children":[{"label":"赤坎区","value":"440802","location":{"lat":21.26624,"lng":110.36534}},{"label":"霞山区","value":"440803","location":{"lat":21.19169,"lng":110.39821}},{"label":"坡头区","value":"440804","location":{"lat":21.24475,"lng":110.4555}},{"label":"麻章区","value":"440811","location":{"lat":21.26331,"lng":110.33427}},{"label":"遂溪县","value":"440823","location":{"lat":21.37708,"lng":110.25006}},{"label":"徐闻县","value":"440825","location":{"lat":20.32652,"lng":110.17502}},{"label":"廉江市","value":"440881","location":{"lat":21.60962,"lng":110.28625}},{"label":"雷州市","value":"440882","location":{"lat":20.91444,"lng":110.09651}},{"label":"吴川市","value":"440883","location":{"lat":21.44182,"lng":110.77824}}]},{"label":"茂名","value":"440900","location":{"lat":21.66329,"lng":110.92523},"children":[{"label":"茂南区","value":"440902","location":{"lat":21.64109,"lng":110.91879}},{"label":"电白区","value":"440904","location":{"lat":21.51428,"lng":111.01636}},{"label":"高州市","value":"440981","location":{"lat":21.91812,"lng":110.85338}},{"label":"化州市","value":"440982","location":{"lat":21.66397,"lng":110.63954}},{"label":"信宜市","value":"440983","location":{"lat":22.35429,"lng":110.9471}}]},{"label":"肇庆","value":"441200","location":{"lat":23.0469,"lng":112.46528},"children":[{"label":"端州区","value":"441202","location":{"lat":23.05196,"lng":112.48461}},{"label":"鼎湖区","value":"441203","location":{"lat":23.15815,"lng":112.56706}},{"label":"高要区","value":"441204","location":{"lat":23.02581,"lng":112.45839}},{"label":"广宁县","value":"441223","location":{"lat":23.63493,"lng":112.44112}},{"label":"怀集县","value":"441224","location":{"lat":23.91188,"lng":112.18454}},{"label":"封开县","value":"441225","location":{"lat":23.42448,"lng":111.51196}},{"label":"德庆县","value":"441226","location":{"lat":23.14376,"lng":111.78559}},{"label":"四会市","value":"441284","location":{"lat":23.32743,"lng":112.73404}}]},{"label":"惠州","value":"441300","location":{"lat":23.11075,"lng":114.41679},"children":[{"label":"惠城区","value":"441302","location":{"lat":23.08383,"lng":114.38273}},{"label":"惠阳区","value":"441303","location":{"lat":22.78851,"lng":114.45646}},{"label":"博罗县","value":"441322","location":{"lat":23.17315,"lng":114.28973}},{"label":"惠东县","value":"441323","location":{"lat":22.98486,"lng":114.71999}},{"label":"龙门县","value":"441324","location":{"lat":23.72763,"lng":114.25486}}]},{"label":"梅州","value":"441400","location":{"lat":24.28844,"lng":116.12264},"children":[{"label":"梅江区","value":"441402","location":{"lat":24.30996,"lng":116.11699}},{"label":"梅县区","value":"441403","location":{"lat":24.26539,"lng":116.08245}},{"label":"大埔县","value":"441422","location":{"lat":24.34792,"lng":116.6952}},{"label":"丰顺县","value":"441423","location":{"lat":23.73945,"lng":116.18225}},{"label":"五华县","value":"441424","location":{"lat":23.93254,"lng":115.77609}},{"label":"平远县","value":"441426","location":{"lat":24.56632,"lng":115.89112}},{"label":"蕉岭县","value":"441427","location":{"lat":24.65861,"lng":116.17123}},{"label":"兴宁市","value":"441481","location":{"lat":24.1365,"lng":115.73119}}]},{"label":"汕尾","value":"441500","location":{"lat":22.78566,"lng":115.37514},"children":[{"label":"城区","value":"441502","location":{"lat":22.7787,"lng":115.36502}},{"label":"海丰县","value":"441521","location":{"lat":22.96657,"lng":115.32341}},{"label":"陆河县","value":"441523","location":{"lat":23.30148,"lng":115.65996}},{"label":"陆丰市","value":"441581","location":{"lat":22.94511,"lng":115.64462}}]},{"label":"河源","value":"441600","location":{"lat":23.74365,"lng":114.70065},"children":[{"label":"源城区","value":"441602","location":{"lat":23.73417,"lng":114.70246}},{"label":"紫金县","value":"441621","location":{"lat":23.63532,"lng":115.18398}},{"label":"龙川县","value":"441622","location":{"lat":24.10014,"lng":115.25984}},{"label":"连平县","value":"441623","location":{"lat":24.36956,"lng":114.48865}},{"label":"和平县","value":"441624","location":{"lat":24.44201,"lng":114.93872}},{"label":"东源县","value":"441625","location":{"lat":23.78817,"lng":114.74649}}]},{"label":"阳江","value":"441700","location":{"lat":21.85829,"lng":111.98256},"children":[{"label":"江城区","value":"441702","location":{"lat":21.86182,"lng":111.95516}},{"label":"阳东区","value":"441704","location":{"lat":21.86829,"lng":112.0067}},{"label":"阳西县","value":"441721","location":{"lat":21.75229,"lng":111.61791}},{"label":"阳春市","value":"441781","location":{"lat":22.1703,"lng":111.79153}}]},{"label":"清远","value":"441800","location":{"lat":23.68201,"lng":113.05615},"children":[{"label":"清城区","value":"441802","location":{"lat":23.69795,"lng":113.06269}},{"label":"清新区","value":"441803","location":{"lat":23.73474,"lng":113.01658}},{"label":"佛冈县","value":"441821","location":{"lat":23.87921,"lng":113.53172}},{"label":"阳山县","value":"441823","location":{"lat":24.465,"lng":112.64132}},{"label":"连山壮族瑶族自治县","value":"441825","location":{"lat":24.57036,"lng":112.09348}},{"label":"连南瑶族自治县","value":"441826","location":{"lat":24.7254,"lng":112.28698}},{"label":"英德市","value":"441881","location":{"lat":24.18572,"lng":113.41505}},{"label":"连州市","value":"441882","location":{"lat":24.77998,"lng":112.37677}}]},{"label":"东莞","value":"441900","location":{"lat":23.02067,"lng":113.75179},"children":[{"label":"东莞市","value":"441999","location":{"lat":23.02067,"lng":113.75179}}]},{"label":"中山","value":"442000","location":{"lat":22.51595,"lng":113.3926},"children":[{"label":"中山市","value":"442099","location":{"lat":22.51595,"lng":113.3926}}]},{"label":"潮州","value":"445100","location":{"lat":23.6567,"lng":116.62296},"children":[{"label":"湘桥区","value":"445102","location":{"lat":23.67441,"lng":116.62834}},{"label":"潮安区","value":"445103","location":{"lat":23.46244,"lng":116.67809}},{"label":"饶平县","value":"445122","location":{"lat":23.66412,"lng":117.0039}}]},{"label":"揭阳","value":"445200","location":{"lat":23.54972,"lng":116.37271},"children":[{"label":"榕城区","value":"445202","location":{"lat":23.52486,"lng":116.36692}},{"label":"揭东区","value":"445203","location":{"lat":23.56606,"lng":116.41211}},{"label":"揭西县","value":"445222","location":{"lat":23.43141,"lng":115.84189}},{"label":"惠来县","value":"445224","location":{"lat":23.03321,"lng":116.29511}},{"label":"普宁市","value":"445281","location":{"lat":23.29736,"lng":116.16569}}]},{"label":"云浮","value":"445300","location":{"lat":22.91525,"lng":112.04453},"children":[{"label":"云城区","value":"445302","location":{"lat":22.92797,"lng":112.04373}},{"label":"云安区","value":"445303","location":{"lat":23.07101,"lng":112.00324}},{"label":"新兴县","value":"445321","location":{"lat":22.69573,"lng":112.22536}},{"label":"郁南县","value":"445322","location":{"lat":23.23464,"lng":111.53536}},{"label":"罗定市","value":"445381","location":{"lat":22.7683,"lng":111.57004}}]}]},{"label":"广西壮族自治区","value":"450000","location":{"lat":22.81521,"lng":108.32754},"children":[{"label":"南宁","value":"450100","location":{"lat":22.81673,"lng":108.3669},"children":[{"label":"兴宁区","value":"450102","location":{"lat":22.85429,"lng":108.36836}},{"label":"青秀区","value":"450103","location":{"lat":22.78658,"lng":108.49693}},{"label":"江南区","value":"450105","location":{"lat":22.78129,"lng":108.27331}},{"label":"西乡塘区","value":"450107","location":{"lat":22.83393,"lng":108.31343}},{"label":"良庆区","value":"450108","location":{"lat":22.75619,"lng":108.32082}},{"label":"邕宁区","value":"450109","location":{"lat":22.75837,"lng":108.48737}},{"label":"武鸣区","value":"450110","location":{"lat":23.15866,"lng":108.27461}},{"label":"隆安县","value":"450123","location":{"lat":23.16589,"lng":107.6961}},{"label":"马山县","value":"450124","location":{"lat":23.70817,"lng":108.17702}},{"label":"上林县","value":"450125","location":{"lat":23.43205,"lng":108.60506}},{"label":"宾阳县","value":"450126","location":{"lat":23.21768,"lng":108.8103}},{"label":"横县","value":"450127","location":{"lat":22.67999,"lng":109.26147}}]},{"label":"柳州","value":"450200","location":{"lat":24.32543,"lng":109.41552},"children":[{"label":"城中区","value":"450202","location":{"lat":24.33941,"lng":109.44626}},{"label":"鱼峰区","value":"450203","location":{"lat":24.28154,"lng":109.44726}},{"label":"柳南区","value":"450204","location":{"lat":24.33599,"lng":109.3859}},{"label":"柳北区","value":"450205","location":{"lat":24.36213,"lng":109.40189}},{"label":"柳江区","value":"450206","location":{"lat":24.25465,"lng":109.32672}},{"label":"柳城县","value":"450222","location":{"lat":24.65058,"lng":109.24468}},{"label":"鹿寨县","value":"450223","location":{"lat":24.47308,"lng":109.75179}},{"label":"融安县","value":"450224","location":{"lat":25.22467,"lng":109.39764}},{"label":"融水苗族自治县","value":"450225","location":{"lat":25.06629,"lng":109.25636}},{"label":"三江侗族自治县","value":"450226","location":{"lat":25.78314,"lng":109.60788}}]},{"label":"桂林","value":"450300","location":{"lat":25.27361,"lng":110.29002},"children":[{"label":"秀峰区","value":"450302","location":{"lat":25.28131,"lng":110.28903}},{"label":"叠彩区","value":"450303","location":{"lat":25.31402,"lng":110.30188}},{"label":"象山区","value":"450304","location":{"lat":25.26159,"lng":110.2811}},{"label":"七星区","value":"450305","location":{"lat":25.25235,"lng":110.31771}},{"label":"雁山区","value":"450311","location":{"lat":25.06039,"lng":110.30914}},{"label":"临桂区","value":"450312","location":{"lat":25.23868,"lng":110.2124}},{"label":"阳朔县","value":"450321","location":{"lat":24.77843,"lng":110.49663}},{"label":"灵川县","value":"450323","location":{"lat":25.4097,"lng":110.32552}},{"label":"全州县","value":"450324","location":{"lat":25.92861,"lng":111.07304}},{"label":"兴安县","value":"450325","location":{"lat":25.61169,"lng":110.67147}},{"label":"永福县","value":"450326","location":{"lat":24.98001,"lng":109.98318}},{"label":"灌阳县","value":"450327","location":{"lat":25.48932,"lng":111.16083}},{"label":"龙胜各族自治县","value":"450328","location":{"lat":25.79809,"lng":110.01149}},{"label":"资源县","value":"450329","location":{"lat":26.04241,"lng":110.65259}},{"label":"平乐县","value":"450330","location":{"lat":24.63325,"lng":110.64322}},{"label":"荔浦县","value":"450331","location":{"lat":24.48785,"lng":110.39508}},{"label":"恭城瑶族自治县","value":"450332","location":{"lat":24.83135,"lng":110.82835}}]},{"label":"梧州","value":"450400","location":{"lat":23.47691,"lng":111.27917},"children":[{"label":"万秀区","value":"450403","location":{"lat":23.47303,"lng":111.32033}},{"label":"长洲区","value":"450405","location":{"lat":23.48555,"lng":111.27466}},{"label":"龙圩区","value":"450406","location":{"lat":23.41513,"lng":111.24752}},{"label":"苍梧县","value":"450421","location":{"lat":23.84232,"lng":111.54488}},{"label":"藤县","value":"450422","location":{"lat":23.37497,"lng":110.91497}},{"label":"蒙山县","value":"450423","location":{"lat":24.19355,"lng":110.52492}},{"label":"岑溪市","value":"450481","location":{"lat":22.91828,"lng":110.9949}}]},{"label":"北海","value":"450500","location":{"lat":21.48112,"lng":109.12008},"children":[{"label":"海城区","value":"450502","location":{"lat":21.47525,"lng":109.1175}},{"label":"银海区","value":"450503","location":{"lat":21.44872,"lng":109.13916}},{"label":"铁山港区","value":"450512","location":{"lat":21.52909,"lng":109.4216}},{"label":"合浦县","value":"450521","location":{"lat":21.66089,"lng":109.20725}}]},{"label":"防城港","value":"450600","location":{"lat":21.68713,"lng":108.35472},"children":[{"label":"港口区","value":"450602","location":{"lat":21.64348,"lng":108.38012}},{"label":"防城区","value":"450603","location":{"lat":21.76913,"lng":108.35342}},{"label":"上思县","value":"450621","location":{"lat":22.1537,"lng":107.98362}},{"label":"东兴市","value":"450681","location":{"lat":21.54792,"lng":107.97188}}]},{"label":"钦州","value":"450700","location":{"lat":21.9797,"lng":108.65431},"children":[{"label":"钦南区","value":"450702","location":{"lat":21.93854,"lng":108.6569}},{"label":"钦北区","value":"450703","location":{"lat":22.17075,"lng":108.57324}},{"label":"灵山县","value":"450721","location":{"lat":22.4165,"lng":109.29094}},{"label":"浦北县","value":"450722","location":{"lat":22.27152,"lng":109.55698}}]},{"label":"贵港","value":"450800","location":{"lat":23.11306,"lng":109.59764},"children":[{"label":"港北区","value":"450802","location":{"lat":23.11084,"lng":109.57339}},{"label":"港南区","value":"450803","location":{"lat":23.07504,"lng":109.59996}},{"label":"覃塘区","value":"450804","location":{"lat":23.12718,"lng":109.45269}},{"label":"平南县","value":"450821","location":{"lat":23.53919,"lng":110.39215}},{"label":"桂平市","value":"450881","location":{"lat":23.3941,"lng":110.07901}}]},{"label":"玉林","value":"450900","location":{"lat":22.65451,"lng":110.18098},"children":[{"label":"玉州区","value":"450902","location":{"lat":22.62811,"lng":110.15133}},{"label":"福绵区","value":"450903","location":{"lat":22.57957,"lng":110.05125}},{"label":"容县","value":"450921","location":{"lat":22.85783,"lng":110.55786}},{"label":"陆川县","value":"450922","location":{"lat":22.32109,"lng":110.26413}},{"label":"博白县","value":"450923","location":{"lat":22.27306,"lng":109.97627}},{"label":"兴业县","value":"450924","location":{"lat":22.73636,"lng":109.87517}},{"label":"北流市","value":"450981","location":{"lat":22.70837,"lng":110.35426}}]},{"label":"百色","value":"451000","location":{"lat":23.90216,"lng":106.61838},"children":[{"label":"右江区","value":"451002","location":{"lat":23.90115,"lng":106.61897}},{"label":"田阳县","value":"451021","location":{"lat":23.73567,"lng":106.91567}},{"label":"田东县","value":"451022","location":{"lat":23.59724,"lng":107.12608}},{"label":"平果县","value":"451023","location":{"lat":23.32934,"lng":107.58988}},{"label":"德保县","value":"451024","location":{"lat":23.3234,"lng":106.6155}},{"label":"那坡县","value":"451026","location":{"lat":23.38739,"lng":105.83265}},{"label":"凌云县","value":"451027","location":{"lat":24.34751,"lng":106.56159}},{"label":"乐业县","value":"451028","location":{"lat":24.78583,"lng":106.56163}},{"label":"田林县","value":"451029","location":{"lat":24.29438,"lng":106.22852}},{"label":"西林县","value":"451030","location":{"lat":24.48957,"lng":105.09383}},{"label":"隆林各族自治县","value":"451031","location":{"lat":24.77066,"lng":105.34389}},{"label":"靖西市","value":"451081","location":{"lat":23.13402,"lng":106.41769}}]},{"label":"贺州","value":"451100","location":{"lat":24.40346,"lng":111.56655},"children":[{"label":"八步区","value":"451102","location":{"lat":24.41175,"lng":111.55197}},{"label":"平桂区","value":"451103","location":{"lat":24.45296,"lng":111.47971}},{"label":"昭平县","value":"451121","location":{"lat":24.16947,"lng":110.81137}},{"label":"钟山县","value":"451122","location":{"lat":24.5264,"lng":111.30278}},{"label":"富川瑶族自治县","value":"451123","location":{"lat":24.81433,"lng":111.27753}}]},{"label":"河池","value":"451200","location":{"lat":24.69291,"lng":108.0854},"children":[{"label":"金城江区","value":"451202","location":{"lat":24.68983,"lng":108.03719}},{"label":"宜州区","value":"451203","location":{"lat":24.48513,"lng":108.63656}},{"label":"南丹县","value":"451221","location":{"lat":24.97535,"lng":107.54224}},{"label":"天峨县","value":"451222","location":{"lat":24.99911,"lng":107.17372}},{"label":"凤山县","value":"451223","location":{"lat":24.54699,"lng":107.04221}},{"label":"东兰县","value":"451224","location":{"lat":24.51072,"lng":107.37421}},{"label":"罗城仫佬族自治县","value":"451225","location":{"lat":24.77739,"lng":108.90465}},{"label":"环江毛南族自治县","value":"451226","location":{"lat":24.82601,"lng":108.2583}},{"label":"巴马瑶族自治县","value":"451227","location":{"lat":24.14108,"lng":107.25965}},{"label":"都安瑶族自治县","value":"451228","location":{"lat":23.93122,"lng":108.10555}},{"label":"大化瑶族自治县","value":"451229","location":{"lat":23.7364,"lng":107.99814}}]},{"label":"来宾","value":"451300","location":{"lat":23.7521,"lng":109.22238},"children":[{"label":"兴宾区","value":"451302","location":{"lat":23.72742,"lng":109.23462}},{"label":"忻城县","value":"451321","location":{"lat":24.06617,"lng":108.66575}},{"label":"象州县","value":"451322","location":{"lat":23.97374,"lng":109.70526}},{"label":"武宣县","value":"451323","location":{"lat":23.59414,"lng":109.66325}},{"label":"金秀瑶族自治县","value":"451324","location":{"lat":24.13039,"lng":110.18942}},{"label":"合山市","value":"451381","location":{"lat":23.8066,"lng":108.88611}}]},{"label":"崇左","value":"451400","location":{"lat":22.37895,"lng":107.36485},"children":[{"label":"江州区","value":"451402","location":{"lat":22.40566,"lng":107.35325}},{"label":"扶绥县","value":"451421","location":{"lat":22.63497,"lng":107.90411}},{"label":"宁明县","value":"451422","location":{"lat":22.14016,"lng":107.07668}},{"label":"龙州县","value":"451423","location":{"lat":22.34262,"lng":106.85455}},{"label":"大新县","value":"451424","location":{"lat":22.8304,"lng":107.20124}},{"label":"天等县","value":"451425","location":{"lat":23.08134,"lng":107.14363}},{"label":"凭祥市","value":"451481","location":{"lat":22.09439,"lng":106.76649}}]}]},{"label":"海南省","value":"460000","location":{"lat":20.01997,"lng":110.34863},"children":[{"label":"海口","value":"460100","location":{"lat":20.04422,"lng":110.19989},"children":[{"label":"秀英区","value":"460105","location":{"lat":20.0076,"lng":110.29357}},{"label":"龙华区","value":"460106","location":{"lat":20.02971,"lng":110.32941}},{"label":"琼山区","value":"460107","location":{"lat":20.0039,"lng":110.35432}},{"label":"美兰区","value":"460108","location":{"lat":20.02864,"lng":110.36663}}]},{"label":"三亚","value":"460200","location":{"lat":18.25248,"lng":109.51209},"children":[{"label":"海棠区","value":"460202","location":{"lat":18.40005,"lng":109.7525}},{"label":"吉阳区","value":"460203","location":{"lat":18.28193,"lng":109.57836}},{"label":"天涯区","value":"460204","location":{"lat":18.29921,"lng":109.45263}},{"label":"崖州区","value":"460205","location":{"lat":18.35753,"lng":109.17186}}]},{"label":"三沙","value":"460300","location":{"lat":16.83272,"lng":112.33356},"children":[{"label":"西沙群岛","value":"460321","location":{"lat":19.193808,"lng":113.864571}},{"label":"南沙群岛","value":"460322","location":{"lat":7.752668,"lng":114.226028}},{"label":"中沙群岛的岛礁及其海域","value":"460323","location":{"lat":15.169558,"lng":117.801764}}]},{"label":"省直辖县级行政区划","value":"460400","location":{"lat":19.52093,"lng":109.58069},"children":[{"label":"五指山","value":"469001","location":{"lat":18.77515,"lng":109.51696}},{"label":"琼海","value":"469002","location":{"lat":19.25838,"lng":110.47464}},{"label":"文昌","value":"469005","location":{"lat":19.54329,"lng":110.79774}},{"label":"万宁","value":"469006","location":{"lat":18.79532,"lng":110.38975}},{"label":"东方","value":"469007","location":{"lat":19.09614,"lng":108.65367}},{"label":"定安","value":"469021","location":{"lat":19.68121,"lng":110.3593}},{"label":"屯昌","value":"469022","location":{"lat":19.35182,"lng":110.10347}},{"label":"澄迈","value":"469023","location":{"lat":19.73849,"lng":110.00487}},{"label":"临高","value":"469024","location":{"lat":19.91243,"lng":109.69077}},{"label":"白沙","value":"469025","location":{"lat":19.22543,"lng":109.45167}},{"label":"昌江","value":"469026","location":{"lat":19.29828,"lng":109.05559}},{"label":"乐东","value":"469027","location":{"lat":18.74986,"lng":109.17361}},{"label":"陵水","value":"469028","location":{"lat":18.50596,"lng":110.0372}},{"label":"保亭","value":"469029","location":{"lat":18.63905,"lng":109.70259}},{"label":"琼中","value":"469030","location":{"lat":19.03334,"lng":109.83839}}]}]},{"label":"重庆市","value":"500000","location":{"lat":29.56471,"lng":106.55073},"children":[{"label":"重庆市","value":"500001","location":{"lat":29.56471,"lng":106.55073},"children":[{"label":"万州","value":"500101","location":{"lat":30.8079,"lng":108.40873}},{"label":"涪陵","value":"500102","location":{"lat":29.70315,"lng":107.38982}},{"label":"渝中","value":"500103","location":{"lat":29.55314,"lng":106.5686}},{"label":"大渡口","value":"500104","location":{"lat":29.48408,"lng":106.48225}},{"label":"江北","value":"500105","location":{"lat":29.60661,"lng":106.57439}},{"label":"沙坪坝","value":"500106","location":{"lat":29.54098,"lng":106.45773}},{"label":"九龙坡","value":"500107","location":{"lat":29.50207,"lng":106.5114}},{"label":"南岸","value":"500108","location":{"lat":29.52168,"lng":106.56256}},{"label":"北碚","value":"500109","location":{"lat":29.80583,"lng":106.39628}},{"label":"綦江","value":"500110","location":{"lat":28.96463,"lng":106.92852}},{"label":"大足","value":"500111","location":{"lat":29.48604,"lng":105.78017}},{"label":"渝北","value":"500112","location":{"lat":29.71798,"lng":106.63043}},{"label":"巴南","value":"500113","location":{"lat":29.40268,"lng":106.54041}},{"label":"黔江","value":"500114","location":{"lat":29.53348,"lng":108.77079}},{"label":"长寿","value":"500115","location":{"lat":29.85781,"lng":107.08105}},{"label":"江津","value":"500116","location":{"lat":29.29014,"lng":106.25936}},{"label":"合川","value":"500117","location":{"lat":29.97288,"lng":106.27679}},{"label":"永川","value":"500118","location":{"lat":29.356,"lng":105.92709}},{"label":"南川","value":"500119","location":{"lat":29.15788,"lng":107.09896}},{"label":"璧山","value":"500120","location":{"lat":29.59202,"lng":106.22742}},{"label":"铜梁","value":"500151","location":{"lat":29.84475,"lng":106.05638}},{"label":"潼南","value":"500152","location":{"lat":30.19054,"lng":105.83952}},{"label":"荣昌","value":"500153","location":{"lat":29.40485,"lng":105.59444}},{"label":"开州","value":"500154","location":{"lat":31.16098,"lng":108.39311}},{"label":"梁平","value":"500155","location":{"lat":30.67373,"lng":107.80235}},{"label":"武隆","value":"500156","location":{"lat":29.32543,"lng":107.75993}},{"label":"城口","value":"500229","location":{"lat":31.94767,"lng":108.66433}},{"label":"丰都","value":"500230","location":{"lat":29.86352,"lng":107.73085}},{"label":"垫江","value":"500231","location":{"lat":30.3268,"lng":107.33515}},{"label":"忠县","value":"500233","location":{"lat":30.30026,"lng":108.03767}},{"label":"云阳","value":"500235","location":{"lat":30.93063,"lng":108.69698}},{"label":"奉节","value":"500236","location":{"lat":31.01846,"lng":109.46406}},{"label":"巫山","value":"500237","location":{"lat":31.07462,"lng":109.8788}},{"label":"巫溪","value":"500238","location":{"lat":31.3986,"lng":109.57016}},{"label":"石柱","value":"500240","location":{"lat":29.99968,"lng":108.11415}},{"label":"秀山","value":"500241","location":{"lat":28.44832,"lng":109.00714}},{"label":"酉阳","value":"500242","location":{"lat":28.84126,"lng":108.76778}},{"label":"彭水","value":"500243","location":{"lat":29.29376,"lng":108.16555}}]}]},{"label":"四川省","value":"510000","location":{"lat":30.65089,"lng":104.07572},"children":[{"label":"成都","value":"510100","location":{"lat":30.5702,"lng":104.06476},"children":[{"label":"锦江区","value":"510104","location":{"lat":30.65618,"lng":104.08329}},{"label":"青羊区","value":"510105","location":{"lat":30.67485,"lng":104.06291}},{"label":"金牛区","value":"510106","location":{"lat":30.69015,"lng":104.05293}},{"label":"武侯区","value":"510107","location":{"lat":30.64242,"lng":104.04311}},{"label":"成华区","value":"510108","location":{"lat":30.65984,"lng":104.10194}},{"label":"龙泉驿区","value":"510112","location":{"lat":30.55663,"lng":104.27471}},{"label":"青白江区","value":"510113","location":{"lat":30.87849,"lng":104.25122}},{"label":"新都区","value":"510114","location":{"lat":30.82404,"lng":104.15801}},{"label":"温江区","value":"510115","location":{"lat":30.68144,"lng":103.8559}},{"label":"双流区","value":"510116","location":{"lat":30.57447,"lng":103.92377}},{"label":"郫都区","value":"510117","location":{"lat":30.79589,"lng":103.90256}},{"label":"金堂县","value":"510121","location":{"lat":30.86203,"lng":104.41205}},{"label":"大邑县","value":"510129","location":{"lat":30.58757,"lng":103.52085}},{"label":"蒲江县","value":"510131","location":{"lat":30.19676,"lng":103.50628}},{"label":"新津县","value":"510132","location":{"lat":30.41026,"lng":103.81166}},{"label":"都江堰市","value":"510181","location":{"lat":30.98837,"lng":103.64662}},{"label":"彭州市","value":"510182","location":{"lat":30.99018,"lng":103.95811}},{"label":"邛崃市","value":"510183","location":{"lat":30.41032,"lng":103.46436}},{"label":"崇州市","value":"510184","location":{"lat":30.63021,"lng":103.67289}},{"label":"简阳市","value":"510185","location":{"lat":30.41133,"lng":104.54733}}]},{"label":"自贡","value":"510300","location":{"lat":29.3392,"lng":104.77844},"children":[{"label":"自流井区","value":"510302","location":{"lat":29.3374,"lng":104.77728}},{"label":"贡井区","value":"510303","location":{"lat":29.34576,"lng":104.71526}},{"label":"大安区","value":"510304","location":{"lat":29.36371,"lng":104.7739}},{"label":"沿滩区","value":"510311","location":{"lat":29.27234,"lng":104.87423}},{"label":"荣县","value":"510321","location":{"lat":29.4445,"lng":104.41766}},{"label":"富顺县","value":"510322","location":{"lat":29.18021,"lng":104.97512}}]},{"label":"攀枝花","value":"510400","location":{"lat":26.58228,"lng":101.71872},"children":[{"label":"东区","value":"510402","location":{"lat":26.54639,"lng":101.70413}},{"label":"西区","value":"510403","location":{"lat":26.59757,"lng":101.63064}},{"label":"仁和区","value":"510411","location":{"lat":26.49778,"lng":101.73866}},{"label":"米易县","value":"510421","location":{"lat":26.89067,"lng":102.11024}},{"label":"盐边县","value":"510422","location":{"lat":26.68265,"lng":101.85393}}]},{"label":"泸州","value":"510500","location":{"lat":28.8717,"lng":105.44257},"children":[{"label":"江阳区","value":"510502","location":{"lat":28.87875,"lng":105.43501}},{"label":"纳溪区","value":"510503","location":{"lat":28.77313,"lng":105.37131}},{"label":"龙马潭区","value":"510504","location":{"lat":28.91318,"lng":105.43779}},{"label":"泸县","value":"510521","location":{"lat":29.1516,"lng":105.38185}},{"label":"合江县","value":"510522","location":{"lat":28.81147,"lng":105.83135}},{"label":"叙永县","value":"510524","location":{"lat":28.15588,"lng":105.44475}},{"label":"古蔺县","value":"510525","location":{"lat":28.03884,"lng":105.81239}}]},{"label":"德阳","value":"510600","location":{"lat":31.12679,"lng":104.3979},"children":[{"label":"旌阳区","value":"510603","location":{"lat":31.14263,"lng":104.41702}},{"label":"中江县","value":"510623","location":{"lat":31.03304,"lng":104.67872}},{"label":"罗江县","value":"510626","location":{"lat":31.31681,"lng":104.51021}},{"label":"广汉市","value":"510681","location":{"lat":30.97706,"lng":104.28249}},{"label":"什邡市","value":"510682","location":{"lat":31.12736,"lng":104.16694}},{"label":"绵竹市","value":"510683","location":{"lat":31.33776,"lng":104.22083}}]},{"label":"绵阳","value":"510700","location":{"lat":31.46751,"lng":104.6796},"children":[{"label":"涪城区","value":"510703","location":{"lat":31.45498,"lng":104.75708}},{"label":"游仙区","value":"510704","location":{"lat":31.47367,"lng":104.7667}},{"label":"安州区","value":"510705","location":{"lat":31.53474,"lng":104.56756}},{"label":"三台县","value":"510722","location":{"lat":31.09563,"lng":105.09459}},{"label":"盐亭县","value":"510723","location":{"lat":31.20819,"lng":105.38996}},{"label":"梓潼县","value":"510725","location":{"lat":31.63529,"lng":105.16118}},{"label":"北川羌族自治县","value":"510726","location":{"lat":31.89148,"lng":104.30755}},{"label":"平武县","value":"510727","location":{"lat":32.40858,"lng":104.52904}},{"label":"江油市","value":"510781","location":{"lat":31.75691,"lng":104.72458}}]},{"label":"广元","value":"510800","location":{"lat":32.43549,"lng":105.84357},"children":[{"label":"利州区","value":"510802","location":{"lat":32.43396,"lng":105.84559}},{"label":"昭化区","value":"510811","location":{"lat":32.3232,"lng":105.96304}},{"label":"朝天区","value":"510812","location":{"lat":32.64409,"lng":105.89034}},{"label":"旺苍县","value":"510821","location":{"lat":32.2291,"lng":106.28974}},{"label":"青川县","value":"510822","location":{"lat":32.5841,"lng":105.23822}},{"label":"剑阁县","value":"510823","location":{"lat":32.28849,"lng":105.52526}},{"label":"苍溪县","value":"510824","location":{"lat":31.73244,"lng":105.93442}}]},{"label":"遂宁","value":"510900","location":{"lat":30.53286,"lng":105.59273},"children":[{"label":"船山区","value":"510903","location":{"lat":30.52552,"lng":105.56821}},{"label":"安居区","value":"510904","location":{"lat":30.35541,"lng":105.45636}},{"label":"蓬溪县","value":"510921","location":{"lat":30.75778,"lng":105.70756}},{"label":"射洪县","value":"510922","location":{"lat":30.87113,"lng":105.38836}},{"label":"大英县","value":"510923","location":{"lat":30.5945,"lng":105.23649}}]},{"label":"内江","value":"511000","location":{"lat":29.58015,"lng":105.05844},"children":[{"label":"市中区","value":"511002","location":{"lat":29.58698,"lng":105.06776}},{"label":"东兴区","value":"511011","location":{"lat":29.59346,"lng":105.07459}},{"label":"威远县","value":"511024","location":{"lat":29.52742,"lng":104.66885}},{"label":"资中县","value":"511025","location":{"lat":29.76416,"lng":104.85212}},{"label":"隆昌县","value":"511028","location":{"lat":29.33948,"lng":105.28773}}]},{"label":"乐山","value":"511100","location":{"lat":29.55221,"lng":103.76539},"children":[{"label":"市中区","value":"511102","location":{"lat":29.55544,"lng":103.7612}},{"label":"沙湾区","value":"511111","location":{"lat":29.41306,"lng":103.55027}},{"label":"五通桥区","value":"511112","location":{"lat":29.40726,"lng":103.81846}},{"label":"金口河区","value":"511113","location":{"lat":29.24447,"lng":103.07879}},{"label":"犍为县","value":"511123","location":{"lat":29.20828,"lng":103.94931}},{"label":"井研县","value":"511124","location":{"lat":29.65305,"lng":104.06482}},{"label":"夹江县","value":"511126","location":{"lat":29.73753,"lng":103.57156}},{"label":"沐川县","value":"511129","location":{"lat":28.95673,"lng":103.90241}},{"label":"峨边彝族自治县","value":"511132","location":{"lat":29.23047,"lng":103.26202}},{"label":"马边彝族自治县","value":"511133","location":{"lat":28.83557,"lng":103.54635}},{"label":"峨眉山市","value":"511181","location":{"lat":29.60125,"lng":103.48447}}]},{"label":"南充","value":"511300","location":{"lat":30.83731,"lng":106.11073},"children":[{"label":"顺庆区","value":"511302","location":{"lat":30.79653,"lng":106.09224}},{"label":"高坪区","value":"511303","location":{"lat":30.78154,"lng":106.11877}},{"label":"嘉陵区","value":"511304","location":{"lat":30.75874,"lng":106.07176}},{"label":"南部县","value":"511321","location":{"lat":31.35316,"lng":106.06734}},{"label":"营山县","value":"511322","location":{"lat":31.0767,"lng":106.56553}},{"label":"蓬安县","value":"511323","location":{"lat":31.0286,"lng":106.4123}},{"label":"仪陇县","value":"511324","location":{"lat":31.26998,"lng":106.3033}},{"label":"西充县","value":"511325","location":{"lat":30.99517,"lng":105.90072}},{"label":"阆中市","value":"511381","location":{"lat":31.55837,"lng":106.00499}}]},{"label":"眉山","value":"511400","location":{"lat":30.07563,"lng":103.84851},"children":[{"label":"东坡区","value":"511402","location":{"lat":30.04228,"lng":103.83211}},{"label":"彭山区","value":"511403","location":{"lat":30.19299,"lng":103.87283}},{"label":"仁寿县","value":"511421","location":{"lat":29.99572,"lng":104.13407}},{"label":"洪雅县","value":"511423","location":{"lat":29.90496,"lng":103.37288}},{"label":"丹棱县","value":"511424","location":{"lat":30.01453,"lng":103.51284}},{"label":"青神县","value":"511425","location":{"lat":29.8315,"lng":103.84656}}]},{"label":"宜宾","value":"511500","location":{"lat":28.7513,"lng":104.6417},"children":[{"label":"翠屏区","value":"511502","location":{"lat":28.76593,"lng":104.61947}},{"label":"南溪区","value":"511503","location":{"lat":28.84548,"lng":104.96953}},{"label":"宜宾县","value":"511521","location":{"lat":28.68998,"lng":104.53316}},{"label":"江安县","value":"511523","location":{"lat":28.72389,"lng":105.06688}},{"label":"长宁县","value":"511524","location":{"lat":28.58227,"lng":104.9211}},{"label":"高县","value":"511525","location":{"lat":28.43622,"lng":104.5176}},{"label":"珙县","value":"511526","location":{"lat":28.43885,"lng":104.70878}},{"label":"筠连县","value":"511527","location":{"lat":28.16418,"lng":104.51185}},{"label":"兴文县","value":"511528","location":{"lat":28.30361,"lng":105.23646}},{"label":"屏山县","value":"511529","location":{"lat":28.65312,"lng":104.15125}}]},{"label":"广安","value":"511600","location":{"lat":30.45596,"lng":106.63322},"children":[{"label":"广安区","value":"511602","location":{"lat":30.47392,"lng":106.64188}},{"label":"前锋区","value":"511603","location":{"lat":30.49592,"lng":106.89125}},{"label":"岳池县","value":"511621","location":{"lat":30.53795,"lng":106.43988}},{"label":"武胜县","value":"511622","location":{"lat":30.34935,"lng":106.29597}},{"label":"邻水县","value":"511623","location":{"lat":30.33458,"lng":106.93048}},{"label":"华蓥市","value":"511681","location":{"lat":30.39001,"lng":106.78298}}]},{"label":"达州","value":"511700","location":{"lat":31.20864,"lng":107.46791},"children":[{"label":"通川区","value":"511702","location":{"lat":31.21473,"lng":107.50455}},{"label":"达川区","value":"511703","location":{"lat":31.19603,"lng":107.51177}},{"label":"宣汉县","value":"511722","location":{"lat":31.35386,"lng":107.7271}},{"label":"开江县","value":"511723","location":{"lat":31.08316,"lng":107.86852}},{"label":"大竹县","value":"511724","location":{"lat":30.73607,"lng":107.20441}},{"label":"渠县","value":"511725","location":{"lat":30.83664,"lng":106.97299}},{"label":"万源市","value":"511781","location":{"lat":32.08197,"lng":108.03446}}]},{"label":"雅安","value":"511800","location":{"lat":30.01053,"lng":103.0424},"children":[{"label":"雨城区","value":"511802","location":{"lat":30.00534,"lng":103.03311}},{"label":"名山区","value":"511803","location":{"lat":30.06982,"lng":103.10954}},{"label":"荥经县","value":"511822","location":{"lat":29.79308,"lng":102.84671}},{"label":"汉源县","value":"511823","location":{"lat":29.34457,"lng":102.65261}},{"label":"石棉县","value":"511824","location":{"lat":29.22799,"lng":102.35944}},{"label":"天全县","value":"511825","location":{"lat":30.06672,"lng":102.7584}},{"label":"芦山县","value":"511826","location":{"lat":30.14408,"lng":102.92826}},{"label":"宝兴县","value":"511827","location":{"lat":30.36806,"lng":102.81457}}]},{"label":"巴中","value":"511900","location":{"lat":31.86715,"lng":106.74733},"children":[{"label":"巴州区","value":"511902","location":{"lat":31.85131,"lng":106.76897}},{"label":"恩阳区","value":"511903","location":{"lat":31.78956,"lng":106.63602}},{"label":"通江县","value":"511921","location":{"lat":31.9118,"lng":107.24493}},{"label":"南江县","value":"511922","location":{"lat":32.34645,"lng":106.82907}},{"label":"平昌县","value":"511923","location":{"lat":31.56054,"lng":107.10358}}]},{"label":"资阳","value":"512000","location":{"lat":30.12859,"lng":104.62798},"children":[{"label":"雁江区","value":"512002","location":{"lat":30.11758,"lng":104.6522}},{"label":"安岳县","value":"512021","location":{"lat":30.09733,"lng":105.33537}},{"label":"乐至县","value":"512022","location":{"lat":30.2759,"lng":105.02133}}]},{"label":"阿坝藏族羌族自治州","value":"513200","location":{"lat":31.8994,"lng":102.22477},"children":[{"label":"马尔康市","value":"513201","location":{"lat":31.90585,"lng":102.20644}},{"label":"汶川县","value":"513221","location":{"lat":31.47686,"lng":103.5903}},{"label":"理县","value":"513222","location":{"lat":31.43659,"lng":103.167}},{"label":"茂县","value":"513223","location":{"lat":31.68163,"lng":103.85334}},{"label":"松潘县","value":"513224","location":{"lat":32.63813,"lng":103.59893}},{"label":"九寨沟县","value":"513225","location":{"lat":33.26142,"lng":104.23567}},{"label":"金川县","value":"513226","location":{"lat":31.47597,"lng":102.06325}},{"label":"小金县","value":"513227","location":{"lat":30.99918,"lng":102.3644}},{"label":"黑水县","value":"513228","location":{"lat":32.06179,"lng":102.99021}},{"label":"壤塘县","value":"513230","location":{"lat":32.26545,"lng":100.97861}},{"label":"阿坝县","value":"513231","location":{"lat":32.90245,"lng":101.70634}},{"label":"若尔盖县","value":"513232","location":{"lat":33.57586,"lng":102.96187}},{"label":"红原县","value":"513233","location":{"lat":32.79087,"lng":102.54438}}]},{"label":"甘孜藏族自治州","value":"513300","location":{"lat":30.04932,"lng":101.96254},"children":[{"label":"康定市","value":"513301","location":{"lat":30.05441,"lng":101.96308}},{"label":"泸定县","value":"513322","location":{"lat":29.91412,"lng":102.23471}},{"label":"丹巴县","value":"513323","location":{"lat":30.87868,"lng":101.89077}},{"label":"九龙县","value":"513324","location":{"lat":29.00019,"lng":101.50729}},{"label":"雅江县","value":"513325","location":{"lat":30.03145,"lng":101.01426}},{"label":"道孚县","value":"513326","location":{"lat":30.97936,"lng":101.12508}},{"label":"炉霍县","value":"513327","location":{"lat":31.39005,"lng":100.67703}},{"label":"甘孜县","value":"513328","location":{"lat":31.623,"lng":99.99266}},{"label":"新龙县","value":"513329","location":{"lat":30.93932,"lng":100.31152}},{"label":"德格县","value":"513330","location":{"lat":31.80612,"lng":98.58088}},{"label":"白玉县","value":"513331","location":{"lat":31.21014,"lng":98.82418}},{"label":"石渠县","value":"513332","location":{"lat":32.97834,"lng":98.10294}},{"label":"色达县","value":"513333","location":{"lat":32.26814,"lng":100.33264}},{"label":"理塘县","value":"513334","location":{"lat":29.99603,"lng":100.26963}},{"label":"巴塘县","value":"513335","location":{"lat":30.00537,"lng":99.1105}},{"label":"乡城县","value":"513336","location":{"lat":28.93118,"lng":99.79842}},{"label":"稻城县","value":"513337","location":{"lat":29.03704,"lng":100.29829}},{"label":"得荣县","value":"513338","location":{"lat":28.71307,"lng":99.28639}}]},{"label":"凉山彝族自治州","value":"513400","location":{"lat":27.88164,"lng":102.26746},"children":[{"label":"西昌市","value":"513401","location":{"lat":27.89449,"lng":102.26305}},{"label":"木里藏族自治县","value":"513422","location":{"lat":27.92859,"lng":101.28048}},{"label":"盐源县","value":"513423","location":{"lat":27.42241,"lng":101.50919}},{"label":"德昌县","value":"513424","location":{"lat":27.40289,"lng":102.17559}},{"label":"会理县","value":"513425","location":{"lat":26.65527,"lng":102.24457}},{"label":"会东县","value":"513426","location":{"lat":26.6346,"lng":102.57817}},{"label":"宁南县","value":"513427","location":{"lat":27.06667,"lng":102.76052}},{"label":"普格县","value":"513428","location":{"lat":27.3765,"lng":102.54092}},{"label":"布拖县","value":"513429","location":{"lat":27.70622,"lng":102.81149}},{"label":"金阳县","value":"513430","location":{"lat":27.69654,"lng":103.24903}},{"label":"昭觉县","value":"513431","location":{"lat":28.01425,"lng":102.84265}},{"label":"喜德县","value":"513432","location":{"lat":28.30666,"lng":102.41231}},{"label":"冕宁县","value":"513433","location":{"lat":28.55018,"lng":102.17678}},{"label":"越西县","value":"513434","location":{"lat":28.63999,"lng":102.5075}},{"label":"甘洛县","value":"513435","location":{"lat":28.95873,"lng":102.77033}},{"label":"美姑县","value":"513436","location":{"lat":28.32885,"lng":103.13229}},{"label":"雷波县","value":"513437","location":{"lat":28.26272,"lng":103.5715}}]}]},{"label":"贵州省","value":"520000","location":{"lat":26.5982,"lng":106.70722},"children":[{"label":"贵阳","value":"520100","location":{"lat":26.64702,"lng":106.63024},"children":[{"label":"南明区","value":"520102","location":{"lat":26.56822,"lng":106.7141}},{"label":"云岩区","value":"520103","location":{"lat":26.60491,"lng":106.72566}},{"label":"花溪区","value":"520111","location":{"lat":26.40985,"lng":106.67034}},{"label":"乌当区","value":"520112","location":{"lat":26.62959,"lng":106.75208}},{"label":"白云区","value":"520113","location":{"lat":26.67856,"lng":106.62304}},{"label":"观山湖区","value":"520115","location":{"lat":26.6015,"lng":106.62254}},{"label":"开阳县","value":"520121","location":{"lat":27.05759,"lng":106.96486}},{"label":"息烽县","value":"520122","location":{"lat":27.09053,"lng":106.7404}},{"label":"修文县","value":"520123","location":{"lat":26.8389,"lng":106.59203}},{"label":"清镇市","value":"520181","location":{"lat":26.55607,"lng":106.47057}}]},{"label":"六盘水","value":"520200","location":{"lat":26.59336,"lng":104.83023},"children":[{"label":"钟山区","value":"520201","location":{"lat":26.57585,"lng":104.84447}},{"label":"六枝特区","value":"520203","location":{"lat":26.20141,"lng":105.48025}},{"label":"水城县","value":"520221","location":{"lat":26.54658,"lng":104.95764}},{"label":"盘县","value":"520222","location":{"lat":25.70993,"lng":104.47158}}]},{"label":"遵义","value":"520300","location":{"lat":27.72545,"lng":106.92723},"children":[{"label":"红花岗区","value":"520302","location":{"lat":27.64481,"lng":106.8938}},{"label":"汇川区","value":"520303","location":{"lat":27.74979,"lng":106.93252}},{"label":"播州区","value":"520304","location":{"lat":27.53613,"lng":106.82993}},{"label":"桐梓县","value":"520322","location":{"lat":28.13321,"lng":106.82502}},{"label":"绥阳县","value":"520323","location":{"lat":27.94705,"lng":107.1907}},{"label":"正安县","value":"520324","location":{"lat":28.55011,"lng":107.44402}},{"label":"道真仡佬族苗族自治县","value":"520325","location":{"lat":28.86264,"lng":107.61316}},{"label":"务川仡佬族苗族自治县","value":"520326","location":{"lat":28.56295,"lng":107.89888}},{"label":"凤冈县","value":"520327","location":{"lat":27.95465,"lng":107.71689}},{"label":"湄潭县","value":"520328","location":{"lat":27.74889,"lng":107.46551}},{"label":"余庆县","value":"520329","location":{"lat":27.22536,"lng":107.88825}},{"label":"习水县","value":"520330","location":{"lat":28.3274,"lng":106.20385}},{"label":"赤水市","value":"520381","location":{"lat":28.59055,"lng":105.69744}},{"label":"仁怀市","value":"520382","location":{"lat":27.79234,"lng":106.40156}}]},{"label":"安顺","value":"520400","location":{"lat":26.25367,"lng":105.9462},"children":[{"label":"西秀区","value":"520402","location":{"lat":26.24532,"lng":105.96533}},{"label":"平坝区","value":"520403","location":{"lat":26.40574,"lng":106.2553}},{"label":"普定县","value":"520422","location":{"lat":26.30144,"lng":105.74291}},{"label":"镇宁布依族苗族自治县","value":"520423","location":{"lat":26.05716,"lng":105.77048}},{"label":"关岭布依族苗族自治县","value":"520424","location":{"lat":25.94357,"lng":105.61933}},{"label":"紫云苗族布依族自治县","value":"520425","location":{"lat":25.75117,"lng":106.08404}}]},{"label":"毕节","value":"520500","location":{"lat":27.29847,"lng":105.30504},"children":[{"label":"七星关区","value":"520502","location":{"lat":27.29847,"lng":105.30504}},{"label":"大方县","value":"520521","location":{"lat":27.14161,"lng":105.613}},{"label":"黔西县","value":"520522","location":{"lat":27.00866,"lng":106.0323}},{"label":"金沙县","value":"520523","location":{"lat":27.45922,"lng":106.22014}},{"label":"织金县","value":"520524","location":{"lat":26.66301,"lng":105.77488}},{"label":"纳雍县","value":"520525","location":{"lat":26.7777,"lng":105.38269}},{"label":"威宁彝族回族苗族自治县","value":"520526","location":{"lat":26.85641,"lng":104.27872}},{"label":"赫章县","value":"520527","location":{"lat":27.12328,"lng":104.7274}}]},{"label":"铜仁","value":"520600","location":{"lat":27.69066,"lng":109.18099},"children":[{"label":"碧江区","value":"520602","location":{"lat":27.69066,"lng":109.18099}},{"label":"万山区","value":"520603","location":{"lat":27.51796,"lng":109.21369}},{"label":"江口县","value":"520621","location":{"lat":27.69956,"lng":108.83967}},{"label":"玉屏侗族自治县","value":"520622","location":{"lat":27.23637,"lng":108.91212}},{"label":"石阡县","value":"520623","location":{"lat":27.51339,"lng":108.22338}},{"label":"思南县","value":"520624","location":{"lat":27.93886,"lng":108.2528}},{"label":"印江土家族苗族自治县","value":"520625","location":{"lat":27.9941,"lng":108.40958}},{"label":"德江县","value":"520626","location":{"lat":28.26408,"lng":108.11987}},{"label":"沿河土家族自治县","value":"520627","location":{"lat":28.56397,"lng":108.50301}},{"label":"松桃苗族自治县","value":"520628","location":{"lat":28.15414,"lng":109.20316}}]},{"label":"黔西南布依族苗族自治州","value":"522300","location":{"lat":25.08988,"lng":104.90437},"children":[{"label":"兴义市","value":"522301","location":{"lat":25.09192,"lng":104.89553}},{"label":"兴仁县","value":"522322","location":{"lat":25.43511,"lng":105.18639}},{"label":"普安县","value":"522323","location":{"lat":25.78429,"lng":104.95324}},{"label":"晴隆县","value":"522324","location":{"lat":25.83474,"lng":105.21904}},{"label":"贞丰县","value":"522325","location":{"lat":25.38558,"lng":105.65043}},{"label":"望谟县","value":"522326","location":{"lat":25.17824,"lng":106.09962}},{"label":"册亨县","value":"522327","location":{"lat":24.98368,"lng":105.81173}},{"label":"安龙县","value":"522328","location":{"lat":25.09811,"lng":105.44333}}]},{"label":"黔东南苗族侗族自治州","value":"522600","location":{"lat":26.58364,"lng":107.98416},"children":[{"label":"凯里市","value":"522601","location":{"lat":26.56756,"lng":107.9804}},{"label":"黄平县","value":"522622","location":{"lat":26.90533,"lng":107.91638}},{"label":"施秉县","value":"522623","location":{"lat":27.03327,"lng":108.12413}},{"label":"三穗县","value":"522624","location":{"lat":26.95291,"lng":108.67533}},{"label":"镇远县","value":"522625","location":{"lat":27.04914,"lng":108.42968}},{"label":"岑巩县","value":"522626","location":{"lat":27.17385,"lng":108.8157}},{"label":"天柱县","value":"522627","location":{"lat":26.90948,"lng":109.20776}},{"label":"锦屏县","value":"522628","location":{"lat":26.67631,"lng":109.20051}},{"label":"剑河县","value":"522629","location":{"lat":26.7286,"lng":108.44137}},{"label":"台江县","value":"522630","location":{"lat":26.66903,"lng":108.32009}},{"label":"黎平县","value":"522631","location":{"lat":26.22924,"lng":109.13718}},{"label":"榕江县","value":"522632","location":{"lat":25.93189,"lng":108.52251}},{"label":"从江县","value":"522633","location":{"lat":25.75418,"lng":108.90532}},{"label":"雷山县","value":"522634","location":{"lat":26.37834,"lng":108.07758}},{"label":"麻江县","value":"522635","location":{"lat":26.49115,"lng":107.58937}},{"label":"丹寨县","value":"522636","location":{"lat":26.19841,"lng":107.78871}}]},{"label":"黔南布衣族苗族自治州","value":"522700","location":{"lat":26.25427,"lng":107.52226},"children":[{"label":"都匀市","value":"522701","location":{"lat":26.25979,"lng":107.51867}},{"label":"福泉市","value":"522702","location":{"lat":26.68651,"lng":107.5207}},{"label":"荔波县","value":"522722","location":{"lat":25.41124,"lng":107.88732}},{"label":"贵定县","value":"522723","location":{"lat":26.58498,"lng":107.23447}},{"label":"瓮安县","value":"522725","location":{"lat":27.0779,"lng":107.47106}},{"label":"独山县","value":"522726","location":{"lat":25.82279,"lng":107.54578}},{"label":"平塘县","value":"522727","location":{"lat":25.82249,"lng":107.32287}},{"label":"罗甸县","value":"522728","location":{"lat":25.42536,"lng":106.75171}},{"label":"长顺县","value":"522729","location":{"lat":26.02214,"lng":106.45244}},{"label":"龙里县","value":"522730","location":{"lat":26.45325,"lng":106.97981}},{"label":"惠水县","value":"522731","location":{"lat":26.1329,"lng":106.6567}},{"label":"三都水族自治县","value":"522732","location":{"lat":25.98326,"lng":107.86971}}]}]},{"label":"云南省","value":"530000","location":{"lat":25.0453,"lng":102.70973},"children":[{"label":"昆明","value":"530100","location":{"lat":24.87966,"lng":102.83322},"children":[{"label":"五华区","value":"530102","location":{"lat":25.04347,"lng":102.70737}},{"label":"盘龙区","value":"530103","location":{"lat":25.11624,"lng":102.75205}},{"label":"官渡区","value":"530111","location":{"lat":25.01503,"lng":102.7437}},{"label":"西山区","value":"530112","location":{"lat":25.03845,"lng":102.66481}},{"label":"东川区","value":"530113","location":{"lat":26.08294,"lng":103.18773}},{"label":"呈贡区","value":"530114","location":{"lat":24.88554,"lng":102.82147}},{"label":"晋宁区","value":"530115","location":{"lat":24.66982,"lng":102.59559}},{"label":"富民县","value":"530124","location":{"lat":25.22199,"lng":102.49767}},{"label":"宜良县","value":"530125","location":{"lat":24.92005,"lng":103.14119}},{"label":"石林彝族自治县","value":"530126","location":{"lat":24.77082,"lng":103.2889}},{"label":"嵩明县","value":"530127","location":{"lat":25.33872,"lng":103.03687}},{"label":"禄劝彝族苗族自治县","value":"530128","location":{"lat":25.55128,"lng":102.47145}},{"label":"寻甸回族彝族自治县","value":"530129","location":{"lat":25.55818,"lng":103.25668}},{"label":"安宁市","value":"530181","location":{"lat":24.91954,"lng":102.478}}]},{"label":"曲靖","value":"530300","location":{"lat":25.49002,"lng":103.79625},"children":[{"label":"麒麟区","value":"530302","location":{"lat":25.49513,"lng":103.80481}},{"label":"沾益区","value":"530303","location":{"lat":25.60167,"lng":103.82183}},{"label":"马龙县","value":"530321","location":{"lat":25.42807,"lng":103.57834}},{"label":"陆良县","value":"530322","location":{"lat":25.02941,"lng":103.66683}},{"label":"师宗县","value":"530323","location":{"lat":24.82851,"lng":103.9899}},{"label":"罗平县","value":"530324","location":{"lat":24.88468,"lng":104.3087}},{"label":"富源县","value":"530325","location":{"lat":25.67422,"lng":104.25485}},{"label":"会泽县","value":"530326","location":{"lat":26.41791,"lng":103.29737}},{"label":"宣威市","value":"530381","location":{"lat":26.21989,"lng":104.10448}}]},{"label":"玉溪","value":"530400","location":{"lat":24.3518,"lng":102.54714},"children":[{"label":"红塔区","value":"530402","location":{"lat":24.35423,"lng":102.54522}},{"label":"江川区","value":"530403","location":{"lat":24.28744,"lng":102.75376}},{"label":"澄江县","value":"530422","location":{"lat":24.67379,"lng":102.90819}},{"label":"通海县","value":"530423","location":{"lat":24.11367,"lng":102.76647}},{"label":"华宁县","value":"530424","location":{"lat":24.1934,"lng":102.92849}},{"label":"易门县","value":"530425","location":{"lat":24.67108,"lng":102.16273}},{"label":"峨山彝族自治县","value":"530426","location":{"lat":24.16908,"lng":102.40579}},{"label":"新平彝族傣族自治县","value":"530427","location":{"lat":24.07,"lng":101.99014}},{"label":"元江哈尼族彝族傣族自治县","value":"530428","location":{"lat":23.59667,"lng":101.99809}}]},{"label":"保山","value":"530500","location":{"lat":25.11205,"lng":99.16181},"children":[{"label":"隆阳区","value":"530502","location":{"lat":25.12107,"lng":99.16579}},{"label":"施甸县","value":"530521","location":{"lat":24.72308,"lng":99.18902}},{"label":"龙陵县","value":"530523","location":{"lat":24.58682,"lng":98.68927}},{"label":"昌宁县","value":"530524","location":{"lat":24.82745,"lng":99.60567}},{"label":"腾冲市","value":"530581","location":{"lat":25.02053,"lng":98.49097}}]},{"label":"昭通","value":"530600","location":{"lat":27.33817,"lng":103.7168},"children":[{"label":"昭阳区","value":"530602","location":{"lat":27.32027,"lng":103.70594}},{"label":"鲁甸县","value":"530621","location":{"lat":27.18664,"lng":103.55792}},{"label":"巧家县","value":"530622","location":{"lat":26.90861,"lng":102.93006}},{"label":"盐津县","value":"530623","location":{"lat":28.10859,"lng":104.23467}},{"label":"大关县","value":"530624","location":{"lat":27.74806,"lng":103.89111}},{"label":"永善县","value":"530625","location":{"lat":28.22909,"lng":103.63817}},{"label":"绥江县","value":"530626","location":{"lat":28.5984,"lng":103.95841}},{"label":"镇雄县","value":"530627","location":{"lat":27.4415,"lng":104.8736}},{"label":"彝良县","value":"530628","location":{"lat":27.62551,"lng":104.04805}},{"label":"威信县","value":"530629","location":{"lat":27.84685,"lng":105.04906}},{"label":"水富县","value":"530630","location":{"lat":28.63002,"lng":104.41562}}]},{"label":"丽江","value":"530700","location":{"lat":26.85648,"lng":100.2271},"children":[{"label":"古城区","value":"530702","location":{"lat":26.87721,"lng":100.22549}},{"label":"玉龙纳西族自治县","value":"530721","location":{"lat":26.82152,"lng":100.23695}},{"label":"永胜县","value":"530722","location":{"lat":26.68431,"lng":100.75086}},{"label":"华坪县","value":"530723","location":{"lat":26.62921,"lng":101.2663}},{"label":"宁蒗彝族自治县","value":"530724","location":{"lat":27.28196,"lng":100.85198}}]},{"label":"普洱","value":"530800","location":{"lat":22.82521,"lng":100.96624},"children":[{"label":"思茅区","value":"530802","location":{"lat":22.78684,"lng":100.97692}},{"label":"宁洱哈尼族彝族自治县","value":"530821","location":{"lat":23.06167,"lng":101.04539}},{"label":"墨江哈尼族自治县","value":"530822","location":{"lat":23.43185,"lng":101.69223}},{"label":"景东彝族自治县","value":"530823","location":{"lat":24.44697,"lng":100.8339}},{"label":"景谷傣族彝族自治县","value":"530824","location":{"lat":23.49704,"lng":100.7029}},{"label":"镇沅彝族哈尼族拉祜族自治县","value":"530825","location":{"lat":24.00461,"lng":101.10843}},{"label":"江城哈尼族彝族自治县","value":"530826","location":{"lat":22.58518,"lng":101.86237}},{"label":"孟连傣族拉祜族佤族自治县","value":"530827","location":{"lat":22.32911,"lng":99.58441}},{"label":"澜沧拉祜族自治县","value":"530828","location":{"lat":22.55577,"lng":99.93208}},{"label":"西盟佤族自治县","value":"530829","location":{"lat":22.64435,"lng":99.59018}}]},{"label":"临沧","value":"530900","location":{"lat":23.88426,"lng":100.08884},"children":[{"label":"临翔区","value":"530902","location":{"lat":23.89516,"lng":100.08233}},{"label":"凤庆县","value":"530921","location":{"lat":24.58038,"lng":99.92841}},{"label":"云县","value":"530922","location":{"lat":24.4446,"lng":100.13111}},{"label":"永德县","value":"530923","location":{"lat":24.01828,"lng":99.25929}},{"label":"镇康县","value":"530924","location":{"lat":23.7631,"lng":98.82543}},{"label":"双江拉祜族佤族布朗族傣族自治县","value":"530925","location":{"lat":23.4736,"lng":99.82768}},{"label":"耿马傣族佤族自治县","value":"530926","location":{"lat":23.53786,"lng":99.39767}},{"label":"沧源佤族自治县","value":"530927","location":{"lat":23.14681,"lng":99.24583}}]},{"label":"楚雄彝族自治州","value":"532300","location":{"lat":25.04495,"lng":101.52767},"children":[{"label":"楚雄市","value":"532301","location":{"lat":25.03288,"lng":101.54582}},{"label":"双柏县","value":"532322","location":{"lat":24.68884,"lng":101.64206}},{"label":"牟定县","value":"532323","location":{"lat":25.31241,"lng":101.54697}},{"label":"南华县","value":"532324","location":{"lat":25.19229,"lng":101.27354}},{"label":"姚安县","value":"532325","location":{"lat":25.50423,"lng":101.24158}},{"label":"大姚县","value":"532326","location":{"lat":25.72179,"lng":101.3244}},{"label":"永仁县","value":"532327","location":{"lat":26.05615,"lng":101.66982}},{"label":"元谋县","value":"532328","location":{"lat":25.70436,"lng":101.87449}},{"label":"武定县","value":"532329","location":{"lat":25.53038,"lng":102.40442}},{"label":"禄丰县","value":"532331","location":{"lat":25.14998,"lng":102.079}}]},{"label":"红河哈尼族彝族自治州","value":"532500","location":{"lat":23.36422,"lng":103.3756},"children":[{"label":"个旧市","value":"532501","location":{"lat":23.35899,"lng":103.16004}},{"label":"开远市","value":"532502","location":{"lat":23.71434,"lng":103.26676}},{"label":"蒙自市","value":"532503","location":{"lat":23.39622,"lng":103.36481}},{"label":"弥勒市","value":"532504","location":{"lat":24.41059,"lng":103.41499}},{"label":"屏边苗族自治县","value":"532523","location":{"lat":22.98372,"lng":103.68721}},{"label":"建水县","value":"532524","location":{"lat":23.63499,"lng":102.82699}},{"label":"石屏县","value":"532525","location":{"lat":23.70556,"lng":102.49621}},{"label":"泸西县","value":"532527","location":{"lat":24.5321,"lng":103.76623}},{"label":"元阳县","value":"532528","location":{"lat":23.21999,"lng":102.83528}},{"label":"红河县","value":"532529","location":{"lat":23.36907,"lng":102.42079}},{"label":"金平苗族瑶族傣族自治县","value":"532530","location":{"lat":22.77966,"lng":103.22648}},{"label":"绿春县","value":"532531","location":{"lat":22.99346,"lng":102.39293}},{"label":"河口瑶族自治县","value":"532532","location":{"lat":22.52931,"lng":103.93936}}]},{"label":"文山壮族苗族自治州","value":"532600","location":{"lat":23.39849,"lng":104.21504},"children":[{"label":"文山市","value":"532601","location":{"lat":23.38678,"lng":104.233}},{"label":"砚山县","value":"532622","location":{"lat":23.60586,"lng":104.33709}},{"label":"西畴县","value":"532623","location":{"lat":23.43712,"lng":104.6722}},{"label":"麻栗坡县","value":"532624","location":{"lat":23.12525,"lng":104.70252}},{"label":"马关县","value":"532625","location":{"lat":23.01298,"lng":104.39387}},{"label":"丘北县","value":"532626","location":{"lat":24.04186,"lng":104.19581}},{"label":"广南县","value":"532627","location":{"lat":24.04645,"lng":105.05516}},{"label":"富宁县","value":"532628","location":{"lat":23.62539,"lng":105.63053}}]},{"label":"西双版纳傣族自治州","value":"532800","location":{"lat":22.00749,"lng":100.79739},"children":[{"label":"景洪市","value":"532801","location":{"lat":22.00008,"lng":100.77163}},{"label":"勐海县","value":"532822","location":{"lat":21.95753,"lng":100.45223}},{"label":"勐腊县","value":"532823","location":{"lat":21.45941,"lng":101.56461}}]},{"label":"大理白族自治州","value":"532900","location":{"lat":25.60648,"lng":100.26764},"children":[{"label":"大理市","value":"532901","location":{"lat":25.59158,"lng":100.22976}},{"label":"漾濞彝族自治县","value":"532922","location":{"lat":25.66992,"lng":99.95814}},{"label":"祥云县","value":"532923","location":{"lat":25.48381,"lng":100.55059}},{"label":"宾川县","value":"532924","location":{"lat":25.827,"lng":100.57265}},{"label":"弥渡县","value":"532925","location":{"lat":25.34365,"lng":100.49131}},{"label":"南涧彝族自治县","value":"532926","location":{"lat":25.04282,"lng":100.50974}},{"label":"巍山彝族回族自治县","value":"532927","location":{"lat":25.22714,"lng":100.30711}},{"label":"永平县","value":"532928","location":{"lat":25.46454,"lng":99.54098}},{"label":"云龙县","value":"532929","location":{"lat":25.88573,"lng":99.37096}},{"label":"洱源县","value":"532930","location":{"lat":26.11113,"lng":99.95088}},{"label":"剑川县","value":"532931","location":{"lat":26.53692,"lng":99.9055}},{"label":"鹤庆县","value":"532932","location":{"lat":26.56013,"lng":100.17644}}]},{"label":"德宏傣族景颇族自治州","value":"533100","location":{"lat":24.43232,"lng":98.58486},"children":[{"label":"瑞丽市","value":"533102","location":{"lat":24.01278,"lng":97.85189}},{"label":"芒市","value":"533103","location":{"lat":24.43379,"lng":98.58815}},{"label":"梁河县","value":"533122","location":{"lat":24.80435,"lng":98.2967}},{"label":"盈江县","value":"533123","location":{"lat":24.70519,"lng":97.93184}},{"label":"陇川县","value":"533124","location":{"lat":24.18305,"lng":97.79203}}]},{"label":"怒江傈僳族自治州","value":"533300","location":{"lat":25.81763,"lng":98.8567},"children":[{"label":"泸水市","value":"533301","location":{"lat":25.82306,"lng":98.85804}},{"label":"福贡县","value":"533323","location":{"lat":26.90185,"lng":98.86905}},{"label":"贡山独龙族怒族自治县","value":"533324","location":{"lat":27.74104,"lng":98.66579}},{"label":"兰坪白族普米族自治县","value":"533325","location":{"lat":26.45353,"lng":99.41671}}]},{"label":"迪庆藏族自治州","value":"533400","location":{"lat":27.81908,"lng":99.70305},"children":[{"label":"香格里拉市","value":"533401","location":{"lat":27.83031,"lng":99.7009}},{"label":"德钦县","value":"533422","location":{"lat":28.46357,"lng":98.91699}},{"label":"维西傈僳族自治县","value":"533423","location":{"lat":27.17739,"lng":99.28705}}]}]},{"label":"西藏自治区","value":"540000","location":{"lat":29.64725,"lng":91.11748},"children":[{"label":"拉萨","value":"540100","location":{"lat":29.64415,"lng":91.1145},"children":[{"label":"城关区","value":"540102","location":{"lat":29.65262,"lng":91.13775}},{"label":"堆龙德庆区","value":"540103","location":{"lat":29.64602,"lng":91.00338}},{"label":"林周县","value":"540121","location":{"lat":29.89469,"lng":91.2619}},{"label":"当雄县","value":"540122","location":{"lat":30.47192,"lng":91.1013}},{"label":"尼木县","value":"540123","location":{"lat":29.43184,"lng":90.16464}},{"label":"曲水县","value":"540124","location":{"lat":29.353,"lng":90.74367}},{"label":"达孜县","value":"540126","location":{"lat":29.66933,"lng":91.34979}},{"label":"墨竹工卡县","value":"540127","location":{"lat":29.83375,"lng":91.73065}}]},{"label":"日喀则","value":"540200","location":{"lat":29.26705,"lng":88.88116},"children":[{"label":"桑珠孜区","value":"540202","location":{"lat":29.26969,"lng":88.88697}},{"label":"南木林县","value":"540221","location":{"lat":29.68224,"lng":89.09936}},{"label":"江孜县","value":"540222","location":{"lat":28.91152,"lng":89.60558}},{"label":"定日县","value":"540223","location":{"lat":28.65874,"lng":87.12607}},{"label":"萨迦县","value":"540224","location":{"lat":28.89919,"lng":88.02172}},{"label":"拉孜县","value":"540225","location":{"lat":29.08164,"lng":87.63718}},{"label":"昂仁县","value":"540226","location":{"lat":29.29482,"lng":87.23617}},{"label":"谢通门县","value":"540227","location":{"lat":29.43234,"lng":88.26166}},{"label":"白朗县","value":"540228","location":{"lat":29.10765,"lng":89.26182}},{"label":"仁布县","value":"540229","location":{"lat":29.23089,"lng":89.842}},{"label":"康马县","value":"540230","location":{"lat":28.55567,"lng":89.68169}},{"label":"定结县","value":"540231","location":{"lat":28.36408,"lng":87.76606}},{"label":"仲巴县","value":"540232","location":{"lat":29.72419,"lng":84.02454}},{"label":"亚东县","value":"540233","location":{"lat":27.48592,"lng":88.90708}},{"label":"吉隆县","value":"540234","location":{"lat":28.85254,"lng":85.29737}},{"label":"聂拉木县","value":"540235","location":{"lat":28.15499,"lng":85.98232}},{"label":"萨嘎县","value":"540236","location":{"lat":29.32943,"lng":85.23421}},{"label":"岗巴县","value":"540237","location":{"lat":28.2746,"lng":88.52015}}]},{"label":"昌都","value":"540300","location":{"lat":31.14073,"lng":97.17225},"children":[{"label":"卡若区","value":"540302","location":{"lat":31.13831,"lng":97.18039}},{"label":"江达县","value":"540321","location":{"lat":31.49968,"lng":98.21822}},{"label":"贡觉县","value":"540322","location":{"lat":30.86016,"lng":98.2708}},{"label":"类乌齐县","value":"540323","location":{"lat":31.21155,"lng":96.6002}},{"label":"丁青县","value":"540324","location":{"lat":31.4125,"lng":95.59572}},{"label":"察雅县","value":"540325","location":{"lat":30.65363,"lng":97.56877}},{"label":"八宿县","value":"540326","location":{"lat":30.0532,"lng":96.91785}},{"label":"左贡县","value":"540327","location":{"lat":29.67107,"lng":97.84088}},{"label":"芒康县","value":"540328","location":{"lat":29.68008,"lng":98.59312}},{"label":"洛隆县","value":"540329","location":{"lat":30.74181,"lng":95.82482}},{"label":"边坝县","value":"540330","location":{"lat":30.93345,"lng":94.7079}}]},{"label":"林芝","value":"540400","location":{"lat":29.64895,"lng":94.36155},"children":[{"label":"巴宜区","value":"540402","location":{"lat":29.63654,"lng":94.36119}},{"label":"工布江达县","value":"540421","location":{"lat":29.88531,"lng":93.24611}},{"label":"米林县","value":"540422","location":{"lat":29.21607,"lng":94.21315}},{"label":"墨脱县","value":"540423","location":{"lat":29.32521,"lng":95.33304}},{"label":"波密县","value":"540424","location":{"lat":29.85903,"lng":95.76761}},{"label":"察隅县","value":"540425","location":{"lat":28.66154,"lng":97.46687}},{"label":"朗县","value":"540426","location":{"lat":29.04607,"lng":93.07482}}]},{"label":"山南","value":"540500","location":{"lat":29.23705,"lng":91.77313},"children":[{"label":"乃东区","value":"540502","location":{"lat":29.22484,"lng":91.76141}},{"label":"扎囊县","value":"540521","location":{"lat":29.245,"lng":91.33735}},{"label":"贡嘎县","value":"540522","location":{"lat":29.28947,"lng":90.98421}},{"label":"桑日县","value":"540523","location":{"lat":29.25906,"lng":92.01579}},{"label":"琼结县","value":"540524","location":{"lat":29.02464,"lng":91.68385}},{"label":"曲松县","value":"540525","location":{"lat":29.06277,"lng":92.20222}},{"label":"措美县","value":"540526","location":{"lat":28.43793,"lng":91.43361}},{"label":"洛扎县","value":"540527","location":{"lat":28.38569,"lng":90.85998}},{"label":"加查县","value":"540528","location":{"lat":29.14023,"lng":92.59387}},{"label":"隆子县","value":"540529","location":{"lat":28.40681,"lng":92.46177}},{"label":"错那县","value":"540530","location":{"lat":27.99099,"lng":91.9571}},{"label":"浪卡子县","value":"540531","location":{"lat":28.96818,"lng":90.39809}}]},{"label":"那曲","value":"542400","location":{"lat":31.47614,"lng":92.05136},"children":[{"label":"那曲县","value":"542421","location":{"lat":31.46988,"lng":92.05355}},{"label":"嘉黎县","value":"542422","location":{"lat":30.64087,"lng":93.23236}},{"label":"比如县","value":"542423","location":{"lat":31.47785,"lng":93.6813}},{"label":"聂荣县","value":"542424","location":{"lat":32.10784,"lng":92.30327}},{"label":"安多县","value":"542425","location":{"lat":32.265,"lng":91.68258}},{"label":"申扎县","value":"542426","location":{"lat":30.93043,"lng":88.70982}},{"label":"索县","value":"542427","location":{"lat":31.88673,"lng":93.78556}},{"label":"班戈县","value":"542428","location":{"lat":31.39199,"lng":90.00987}},{"label":"巴青县","value":"542429","location":{"lat":31.9184,"lng":94.05345}},{"label":"尼玛县","value":"542430","location":{"lat":31.78448,"lng":87.23691}},{"label":"双湖县","value":"542431","location":{"lat":33.18763,"lng":88.83691}}]},{"label":"阿里","value":"542500","location":{"lat":30.40051,"lng":81.1454},"children":[{"label":"普兰县","value":"542521","location":{"lat":30.29326,"lng":81.17739}},{"label":"札达县","value":"542522","location":{"lat":31.47865,"lng":79.80321}},{"label":"噶尔县","value":"542523","location":{"lat":32.50028,"lng":80.0959}},{"label":"日土县","value":"542524","location":{"lat":33.38747,"lng":79.71317}},{"label":"革吉县","value":"542525","location":{"lat":32.39645,"lng":81.15106}},{"label":"改则县","value":"542526","location":{"lat":32.30455,"lng":84.06305}},{"label":"措勤县","value":"542527","location":{"lat":31.0164,"lng":85.15253}}]}]},{"label":"陕西省","value":"610000","location":{"lat":34.26486,"lng":108.95424},"children":[{"label":"西安","value":"610100","location":{"lat":34.34127,"lng":108.93984},"children":[{"label":"新城区","value":"610102","location":{"lat":34.26665,"lng":108.96074}},{"label":"碑林区","value":"610103","location":{"lat":34.23053,"lng":108.93425}},{"label":"莲湖区","value":"610104","location":{"lat":34.26703,"lng":108.9402}},{"label":"灞桥区","value":"610111","location":{"lat":34.2727,"lng":109.06458}},{"label":"未央区","value":"610112","location":{"lat":34.29318,"lng":108.94712}},{"label":"雁塔区","value":"610113","location":{"lat":34.22259,"lng":108.94878}},{"label":"阎良区","value":"610114","location":{"lat":34.66225,"lng":109.2262}},{"label":"临潼区","value":"610115","location":{"lat":34.3667,"lng":109.21421}},{"label":"长安区","value":"610116","location":{"lat":34.15775,"lng":108.90688}},{"label":"高陵区","value":"610117","location":{"lat":34.53487,"lng":109.08822}},{"label":"鄠邑区","value":"610118","location":{"lat":34.10847,"lng":108.60494}},{"label":"蓝田县","value":"610122","location":{"lat":34.15132,"lng":109.32345}},{"label":"周至县","value":"610124","location":{"lat":34.1634,"lng":108.22213}}]},{"label":"铜川","value":"610200","location":{"lat":34.89673,"lng":108.94515},"children":[{"label":"王益区","value":"610202","location":{"lat":35.06914,"lng":109.07593}},{"label":"印台区","value":"610203","location":{"lat":35.11473,"lng":109.09986}},{"label":"耀州区","value":"610204","location":{"lat":34.90978,"lng":108.98011}},{"label":"宜君县","value":"610222","location":{"lat":35.39877,"lng":109.11689}}]},{"label":"宝鸡","value":"610300","location":{"lat":34.36194,"lng":107.23732},"children":[{"label":"渭滨区","value":"610302","location":{"lat":34.3716,"lng":107.15028}},{"label":"金台区","value":"610303","location":{"lat":34.39029,"lng":107.13126}},{"label":"陈仓区","value":"610304","location":{"lat":34.35454,"lng":107.38745}},{"label":"凤翔县","value":"610322","location":{"lat":34.52114,"lng":107.40076}},{"label":"岐山县","value":"610323","location":{"lat":34.44346,"lng":107.62101}},{"label":"扶风县","value":"610324","location":{"lat":34.37527,"lng":107.90022}},{"label":"眉县","value":"610326","location":{"lat":34.2741,"lng":107.74992}},{"label":"陇县","value":"610327","location":{"lat":34.89305,"lng":106.8643}},{"label":"千阳县","value":"610328","location":{"lat":34.6426,"lng":107.13237}},{"label":"麟游县","value":"610329","location":{"lat":34.67793,"lng":107.79339}},{"label":"凤县","value":"610330","location":{"lat":33.91227,"lng":106.52203}},{"label":"太白县","value":"610331","location":{"lat":34.05825,"lng":107.3191}}]},{"label":"咸阳","value":"610400","location":{"lat":34.32932,"lng":108.70929},"children":[{"label":"秦都区","value":"610402","location":{"lat":34.32908,"lng":108.70641}},{"label":"杨陵区","value":"610403","location":{"lat":34.27221,"lng":108.08455}},{"label":"渭城区","value":"610404","location":{"lat":34.36126,"lng":108.73751}},{"label":"三原县","value":"610422","location":{"lat":34.61704,"lng":108.9404}},{"label":"泾阳县","value":"610423","location":{"lat":34.52709,"lng":108.84262}},{"label":"乾县","value":"610424","location":{"lat":34.52761,"lng":108.2394}},{"label":"礼泉县","value":"610425","location":{"lat":34.48165,"lng":108.42496}},{"label":"永寿县","value":"610426","location":{"lat":34.69192,"lng":108.14216}},{"label":"彬县","value":"610427","location":{"lat":35.03565,"lng":108.08108}},{"label":"长武县","value":"610428","location":{"lat":35.20571,"lng":107.79866}},{"label":"旬邑县","value":"610429","location":{"lat":35.11184,"lng":108.33371}},{"label":"淳化县","value":"610430","location":{"lat":34.79873,"lng":108.58059}},{"label":"武功县","value":"610431","location":{"lat":34.26036,"lng":108.20018}},{"label":"兴平市","value":"610481","location":{"lat":34.29932,"lng":108.4904}}]},{"label":"渭南","value":"610500","location":{"lat":34.49997,"lng":109.51015},"children":[{"label":"临渭区","value":"610502","location":{"lat":34.49823,"lng":109.49217}},{"label":"华州区","value":"610503","location":{"lat":34.51259,"lng":109.7719}},{"label":"潼关县","value":"610522","location":{"lat":34.54438,"lng":110.24656}},{"label":"大荔县","value":"610523","location":{"lat":34.79566,"lng":109.94217}},{"label":"合阳县","value":"610524","location":{"lat":35.23752,"lng":110.14928}},{"label":"澄城县","value":"610525","location":{"lat":35.19024,"lng":109.93226}},{"label":"蒲城县","value":"610526","location":{"lat":34.95517,"lng":109.58646}},{"label":"白水县","value":"610527","location":{"lat":35.1771,"lng":109.59102}},{"label":"富平县","value":"610528","location":{"lat":34.75114,"lng":109.18025}},{"label":"韩城市","value":"610581","location":{"lat":35.47669,"lng":110.44243}},{"label":"华阴市","value":"610582","location":{"lat":34.56602,"lng":110.09207}}]},{"label":"延安","value":"610600","location":{"lat":36.58529,"lng":109.48978},"children":[{"label":"宝塔区","value":"610602","location":{"lat":36.59141,"lng":109.49303}},{"label":"安塞区","value":"610603","location":{"lat":36.86373,"lng":109.32897}},{"label":"延长县","value":"610621","location":{"lat":36.5793,"lng":110.01242}},{"label":"延川县","value":"610622","location":{"lat":36.87813,"lng":110.19375}},{"label":"子长县","value":"610623","location":{"lat":37.14258,"lng":109.67538}},{"label":"志丹县","value":"610625","location":{"lat":36.82235,"lng":108.76845}},{"label":"吴起县","value":"610626","location":{"lat":36.92728,"lng":108.17587}},{"label":"甘泉县","value":"610627","location":{"lat":36.27673,"lng":109.3513}},{"label":"富县","value":"610628","location":{"lat":35.98779,"lng":109.37976}},{"label":"洛川县","value":"610629","location":{"lat":35.7619,"lng":109.43238}},{"label":"宜川县","value":"610630","location":{"lat":36.05026,"lng":110.16899}},{"label":"黄龙县","value":"610631","location":{"lat":35.58432,"lng":109.84018}},{"label":"黄陵县","value":"610632","location":{"lat":35.57937,"lng":109.26291}}]},{"label":"汉中","value":"610700","location":{"lat":33.06761,"lng":107.02377},"children":[{"label":"汉台区","value":"610702","location":{"lat":33.06784,"lng":107.03194}},{"label":"南郑县","value":"610721","location":{"lat":32.99932,"lng":106.93624}},{"label":"城固县","value":"610722","location":{"lat":33.15665,"lng":107.33372}},{"label":"洋县","value":"610723","location":{"lat":33.22275,"lng":107.54565}},{"label":"西乡县","value":"610724","location":{"lat":32.98306,"lng":107.76669}},{"label":"勉县","value":"610725","location":{"lat":33.15362,"lng":106.67314}},{"label":"宁强县","value":"610726","location":{"lat":32.82962,"lng":106.2572}},{"label":"略阳县","value":"610727","location":{"lat":33.32733,"lng":106.1566}},{"label":"镇巴县","value":"610728","location":{"lat":32.53666,"lng":107.89502}},{"label":"留坝县","value":"610729","location":{"lat":33.61758,"lng":106.92076}},{"label":"佛坪县","value":"610730","location":{"lat":33.52449,"lng":107.9905}}]},{"label":"榆林","value":"610800","location":{"lat":38.2852,"lng":109.73458},"children":[{"label":"榆阳区","value":"610802","location":{"lat":38.27658,"lng":109.72126}},{"label":"横山区","value":"610803","location":{"lat":37.95871,"lng":109.29315}},{"label":"神木县","value":"610821","location":{"lat":38.84239,"lng":110.49896}},{"label":"府谷县","value":"610822","location":{"lat":39.02806,"lng":111.06764}},{"label":"靖边县","value":"610824","location":{"lat":37.59931,"lng":108.79568}},{"label":"定边县","value":"610825","location":{"lat":37.59454,"lng":107.60128}},{"label":"绥德县","value":"610826","location":{"lat":37.50278,"lng":110.26317}},{"label":"米脂县","value":"610827","location":{"lat":37.75484,"lng":110.18394}},{"label":"佳县","value":"610828","location":{"lat":38.01959,"lng":110.49136}},{"label":"吴堡县","value":"610829","location":{"lat":37.45224,"lng":110.73967}},{"label":"清涧县","value":"610830","location":{"lat":37.0889,"lng":110.12114}},{"label":"子洲县","value":"610831","location":{"lat":37.61075,"lng":110.03526}}]},{"label":"安康","value":"610900","location":{"lat":32.68486,"lng":109.02932},"children":[{"label":"汉滨区","value":"610902","location":{"lat":32.6955,"lng":109.02697}},{"label":"汉阴县","value":"610921","location":{"lat":32.89314,"lng":108.50866}},{"label":"石泉县","value":"610922","location":{"lat":33.03829,"lng":108.24843}},{"label":"宁陕县","value":"610923","location":{"lat":33.31049,"lng":108.31428}},{"label":"紫阳县","value":"610924","location":{"lat":32.52025,"lng":108.53419}},{"label":"岚皋县","value":"610925","location":{"lat":32.30715,"lng":108.90222}},{"label":"平利县","value":"610926","location":{"lat":32.38903,"lng":109.3618}},{"label":"镇坪县","value":"610927","location":{"lat":31.88376,"lng":109.52677}},{"label":"旬阳县","value":"610928","location":{"lat":32.83417,"lng":109.3652}},{"label":"白河县","value":"610929","location":{"lat":32.80906,"lng":110.11261}}]},{"label":"商洛","value":"611000","location":{"lat":33.87036,"lng":109.94041},"children":[{"label":"商州区","value":"611002","location":{"lat":33.86273,"lng":109.94107}},{"label":"洛南县","value":"611021","location":{"lat":34.09081,"lng":110.14833}},{"label":"丹凤县","value":"611022","location":{"lat":33.69585,"lng":110.32721}},{"label":"商南县","value":"611023","location":{"lat":33.53112,"lng":110.88158}},{"label":"山阳县","value":"611024","location":{"lat":33.53218,"lng":109.88193}},{"label":"镇安县","value":"611025","location":{"lat":33.42337,"lng":109.15258}},{"label":"柞水县","value":"611026","location":{"lat":33.68607,"lng":109.1142}}]}]},{"label":"甘肃省","value":"620000","location":{"lat":36.05942,"lng":103.82634},"children":[{"label":"兰州","value":"620100","location":{"lat":36.06138,"lng":103.83417},"children":[{"label":"城关区","value":"620102","location":{"lat":36.05709,"lng":103.82538}},{"label":"七里河区","value":"620103","location":{"lat":36.06592,"lng":103.78576}},{"label":"西固区","value":"620104","location":{"lat":36.08842,"lng":103.6281}},{"label":"安宁区","value":"620105","location":{"lat":36.10396,"lng":103.71878}},{"label":"红古区","value":"620111","location":{"lat":36.34578,"lng":102.85936}},{"label":"永登县","value":"620121","location":{"lat":36.7364,"lng":103.26051}},{"label":"皋兰县","value":"620122","location":{"lat":36.33216,"lng":103.94751}},{"label":"榆中县","value":"620123","location":{"lat":35.84327,"lng":104.11261}}]},{"label":"嘉峪关","value":"620200","location":{"lat":39.77201,"lng":98.29011},"children":[{"label":"嘉峪关市","value":"620299","location":{"lat":39.77201,"lng":98.29011}}]},{"label":"金昌","value":"620300","location":{"lat":38.52006,"lng":102.18759},"children":[{"label":"金川区","value":"620302","location":{"lat":38.52014,"lng":102.19409}},{"label":"永昌县","value":"620321","location":{"lat":38.24704,"lng":101.973}}]},{"label":"白银","value":"620400","location":{"lat":36.5447,"lng":104.13773},"children":[{"label":"白银区","value":"620402","location":{"lat":36.53454,"lng":104.1724}},{"label":"平川区","value":"620403","location":{"lat":36.72774,"lng":104.82503}},{"label":"靖远县","value":"620421","location":{"lat":36.56529,"lng":104.687}},{"label":"会宁县","value":"620422","location":{"lat":35.69291,"lng":105.05334}},{"label":"景泰县","value":"620423","location":{"lat":37.18137,"lng":104.06312}}]},{"label":"天水","value":"620500","location":{"lat":34.58085,"lng":105.72486},"children":[{"label":"秦州区","value":"620502","location":{"lat":34.58088,"lng":105.72417}},{"label":"麦积区","value":"620503","location":{"lat":34.57024,"lng":105.88965}},{"label":"清水县","value":"620521","location":{"lat":34.74981,"lng":106.13737}},{"label":"秦安县","value":"620522","location":{"lat":34.85918,"lng":105.67566}},{"label":"甘谷县","value":"620523","location":{"lat":34.732,"lng":105.33564}},{"label":"武山县","value":"620524","location":{"lat":34.72134,"lng":104.89089}},{"label":"张家川回族自治县","value":"620525","location":{"lat":34.98843,"lng":106.20577}}]},{"label":"武威","value":"620600","location":{"lat":37.9282,"lng":102.63797},"children":[{"label":"凉州区","value":"620602","location":{"lat":37.92818,"lng":102.64198}},{"label":"民勤县","value":"620621","location":{"lat":38.62434,"lng":103.09366}},{"label":"古浪县","value":"620622","location":{"lat":37.47013,"lng":102.89765}},{"label":"天祝藏族自治县","value":"620623","location":{"lat":36.97184,"lng":103.14178}}]},{"label":"张掖","value":"620700","location":{"lat":38.92592,"lng":100.44981},"children":[{"label":"甘州区","value":"620702","location":{"lat":38.92967,"lng":100.47801}},{"label":"肃南裕固族自治县","value":"620721","location":{"lat":38.8369,"lng":99.61558}},{"label":"民乐县","value":"620722","location":{"lat":38.43064,"lng":100.81317}},{"label":"临泽县","value":"620723","location":{"lat":39.15257,"lng":100.16449}},{"label":"高台县","value":"620724","location":{"lat":39.37772,"lng":99.81943}},{"label":"山丹县","value":"620725","location":{"lat":38.78449,"lng":101.08861}}]},{"label":"平凉","value":"620800","location":{"lat":35.54303,"lng":106.6653},"children":[{"label":"崆峒区","value":"620802","location":{"lat":35.54258,"lng":106.67477}},{"label":"泾川县","value":"620821","location":{"lat":35.33262,"lng":107.36775}},{"label":"灵台县","value":"620822","location":{"lat":35.06541,"lng":107.62126}},{"label":"崇信县","value":"620823","location":{"lat":35.30229,"lng":107.03536}},{"label":"华亭县","value":"620824","location":{"lat":35.21756,"lng":106.65352}},{"label":"庄浪县","value":"620825","location":{"lat":35.20239,"lng":106.03666}},{"label":"静宁县","value":"620826","location":{"lat":35.52223,"lng":105.73245}}]},{"label":"酒泉","value":"620900","location":{"lat":39.73255,"lng":98.49394},"children":[{"label":"肃州区","value":"620902","location":{"lat":39.74502,"lng":98.50801}},{"label":"金塔县","value":"620921","location":{"lat":39.98593,"lng":98.90271}},{"label":"瓜州县","value":"620922","location":{"lat":40.52023,"lng":95.78238}},{"label":"肃北蒙古族自治县","value":"620923","location":{"lat":39.51244,"lng":94.87684}},{"label":"阿克塞哈萨克族自治县","value":"620924","location":{"lat":39.63372,"lng":94.34023}},{"label":"玉门市","value":"620981","location":{"lat":40.29176,"lng":97.04542}},{"label":"敦煌市","value":"620982","location":{"lat":40.14219,"lng":94.66197}}]},{"label":"庆阳","value":"621000","location":{"lat":35.70978,"lng":107.64292},"children":[{"label":"西峰区","value":"621002","location":{"lat":35.73062,"lng":107.65114}},{"label":"庆城县","value":"621021","location":{"lat":36.01526,"lng":107.88248}},{"label":"环县","value":"621022","location":{"lat":36.5685,"lng":107.30839}},{"label":"华池县","value":"621023","location":{"lat":36.4613,"lng":107.99016}},{"label":"合水县","value":"621024","location":{"lat":35.81927,"lng":108.01953}},{"label":"正宁县","value":"621025","location":{"lat":35.4917,"lng":108.3601}},{"label":"宁县","value":"621026","location":{"lat":35.50223,"lng":107.92824}},{"label":"镇原县","value":"621027","location":{"lat":35.67728,"lng":107.2006}}]},{"label":"定西","value":"621100","location":{"lat":35.58113,"lng":104.62524},"children":[{"label":"安定区","value":"621102","location":{"lat":35.57934,"lng":104.61093}},{"label":"通渭县","value":"621121","location":{"lat":35.21087,"lng":105.24219}},{"label":"陇西县","value":"621122","location":{"lat":35.00391,"lng":104.6348}},{"label":"渭源县","value":"621123","location":{"lat":35.13626,"lng":104.21502}},{"label":"临洮县","value":"621124","location":{"lat":35.39509,"lng":103.85954}},{"label":"漳县","value":"621125","location":{"lat":34.84853,"lng":104.4717}},{"label":"岷县","value":"621126","location":{"lat":34.43811,"lng":104.03697}}]},{"label":"陇南","value":"621200","location":{"lat":33.401,"lng":104.92166},"children":[{"label":"武都区","value":"621202","location":{"lat":33.39189,"lng":104.92667}},{"label":"成县","value":"621221","location":{"lat":33.75062,"lng":105.74222}},{"label":"文县","value":"621222","location":{"lat":32.94396,"lng":104.68343}},{"label":"宕昌县","value":"621223","location":{"lat":34.04735,"lng":104.39354}},{"label":"康县","value":"621224","location":{"lat":33.32937,"lng":105.60855}},{"label":"西和县","value":"621225","location":{"lat":34.01085,"lng":105.30143}},{"label":"礼县","value":"621226","location":{"lat":34.18907,"lng":105.17844}},{"label":"徽县","value":"621227","location":{"lat":33.76884,"lng":106.08785}},{"label":"两当县","value":"621228","location":{"lat":33.909,"lng":106.30494}}]},{"label":"临夏回族自治州","value":"622900","location":{"lat":35.60122,"lng":103.21091},"children":[{"label":"临夏市","value":"622901","location":{"lat":35.6045,"lng":103.24317}},{"label":"临夏县","value":"622921","location":{"lat":35.49157,"lng":102.99563}},{"label":"康乐县","value":"622922","location":{"lat":35.36973,"lng":103.70894}},{"label":"永靖县","value":"622923","location":{"lat":35.94173,"lng":103.31587}},{"label":"广河县","value":"622924","location":{"lat":35.481,"lng":103.56935}},{"label":"和政县","value":"622925","location":{"lat":35.42535,"lng":103.35143}},{"label":"东乡族自治县","value":"622926","location":{"lat":35.66376,"lng":103.38933}},{"label":"积石山保安族东乡族撒拉族自治县","value":"622927","location":{"lat":35.71768,"lng":102.87581}}]},{"label":"甘南藏族自治州","value":"623000","location":{"lat":34.98327,"lng":102.91102},"children":[{"label":"合作市","value":"623001","location":{"lat":35.00019,"lng":102.91088}},{"label":"临潭县","value":"623021","location":{"lat":34.69275,"lng":103.35362}},{"label":"卓尼县","value":"623022","location":{"lat":34.58922,"lng":103.5071}},{"label":"舟曲县","value":"623023","location":{"lat":33.78491,"lng":104.37155}},{"label":"迭部县","value":"623024","location":{"lat":34.05587,"lng":103.22175}},{"label":"玛曲县","value":"623025","location":{"lat":33.9977,"lng":102.07226}},{"label":"碌曲县","value":"623026","location":{"lat":34.59103,"lng":102.48699}},{"label":"夏河县","value":"623027","location":{"lat":35.20233,"lng":102.52158}}]}]},{"label":"青海省","value":"630000","location":{"lat":36.62087,"lng":101.78011},"children":[{"label":"西宁","value":"630100","location":{"lat":36.61729,"lng":101.77782},"children":[{"label":"城东区","value":"630102","location":{"lat":36.59976,"lng":101.80319}},{"label":"城中区","value":"630103","location":{"lat":36.5866,"lng":101.77013}},{"label":"城西区","value":"630104","location":{"lat":36.6283,"lng":101.76585}},{"label":"城北区","value":"630105","location":{"lat":36.6502,"lng":101.76628}},{"label":"大通回族土族自治县","value":"630121","location":{"lat":36.92694,"lng":101.68545}},{"label":"湟中县","value":"630122","location":{"lat":36.50087,"lng":101.57164}},{"label":"湟源县","value":"630123","location":{"lat":36.68246,"lng":101.25648}}]},{"label":"海东","value":"630200","location":{"lat":36.48209,"lng":102.40173},"children":[{"label":"乐都区","value":"630202","location":{"lat":36.48209,"lng":102.40173}},{"label":"平安区","value":"630203","location":{"lat":36.50029,"lng":102.10848}},{"label":"民和回族土族自治县","value":"630222","location":{"lat":36.32026,"lng":102.83087}},{"label":"互助土族自治县","value":"630223","location":{"lat":36.84412,"lng":101.95842}},{"label":"化隆回族自治县","value":"630224","location":{"lat":36.09493,"lng":102.26404}},{"label":"循化撒拉族自治县","value":"630225","location":{"lat":35.8508,"lng":102.4891}}]},{"label":"海北藏族自治州","value":"632200","location":{"lat":36.95454,"lng":100.90096},"children":[{"label":"门源回族自治县","value":"632221","location":{"lat":37.37615,"lng":101.62232}},{"label":"祁连县","value":"632222","location":{"lat":38.17709,"lng":100.25305}},{"label":"海晏县","value":"632223","location":{"lat":36.897,"lng":100.99504}},{"label":"刚察县","value":"632224","location":{"lat":37.32162,"lng":100.14682}}]},{"label":"黄南藏族自治州","value":"632300","location":{"lat":35.51991,"lng":102.01507},"children":[{"label":"同仁县","value":"632321","location":{"lat":35.5163,"lng":102.01954}},{"label":"尖扎县","value":"632322","location":{"lat":35.93817,"lng":102.03102}},{"label":"泽库县","value":"632323","location":{"lat":35.03605,"lng":101.46594}},{"label":"河南蒙古族自治县","value":"632324","location":{"lat":34.73421,"lng":101.61649}}]},{"label":"海南藏族自治州","value":"632500","location":{"lat":36.28663,"lng":100.62037},"children":[{"label":"共和县","value":"632521","location":{"lat":36.283,"lng":100.62012}},{"label":"同德县","value":"632522","location":{"lat":35.25386,"lng":100.57876}},{"label":"贵德县","value":"632523","location":{"lat":36.04004,"lng":101.4336}},{"label":"兴海县","value":"632524","location":{"lat":35.58868,"lng":99.98818}},{"label":"贵南县","value":"632525","location":{"lat":35.58688,"lng":100.7475}}]},{"label":"果洛藏族自治州","value":"632600","location":{"lat":34.47141,"lng":100.24475},"children":[{"label":"玛沁县","value":"632621","location":{"lat":34.47733,"lng":100.23956}},{"label":"班玛县","value":"632622","location":{"lat":32.93269,"lng":100.7374}},{"label":"甘德县","value":"632623","location":{"lat":33.96921,"lng":99.90075}},{"label":"达日县","value":"632624","location":{"lat":33.74924,"lng":99.65153}},{"label":"久治县","value":"632625","location":{"lat":33.42928,"lng":101.48289}},{"label":"玛多县","value":"632626","location":{"lat":34.91508,"lng":98.20934}}]},{"label":"玉树藏族自治州","value":"632700","location":{"lat":33.00528,"lng":97.0065},"children":[{"label":"玉树市","value":"632701","location":{"lat":32.99336,"lng":97.00862}},{"label":"杂多县","value":"632722","location":{"lat":32.89295,"lng":95.30102}},{"label":"称多县","value":"632723","location":{"lat":33.36823,"lng":97.10865}},{"label":"治多县","value":"632724","location":{"lat":33.85203,"lng":95.61335}},{"label":"囊谦县","value":"632725","location":{"lat":32.20295,"lng":96.48063}},{"label":"曲麻莱县","value":"632726","location":{"lat":34.12639,"lng":95.79722}}]},{"label":"海西蒙古族藏族自治州","value":"632800","location":{"lat":37.3771,"lng":97.37122},"children":[{"label":"格尔木市","value":"632801","location":{"lat":36.4024,"lng":94.9033}},{"label":"德令哈市","value":"632802","location":{"lat":37.36947,"lng":97.36087}},{"label":"乌兰县","value":"632821","location":{"lat":36.92976,"lng":98.48003}},{"label":"都兰县","value":"632822","location":{"lat":36.30386,"lng":98.09531}},{"label":"天峻县","value":"632823","location":{"lat":37.30096,"lng":99.02293}},{"label":"冷湖行政区","value":"632824","location":{"lat":38.73523,"lng":93.33135}},{"label":"大柴旦行政区","value":"632825","location":{"lat":37.85044,"lng":95.3621}},{"label":"茫崖行政区","value":"632826","location":{"lat":38.25217,"lng":90.85742}}]}]},{"label":"宁夏回族自治区","value":"640000","location":{"lat":38.47117,"lng":106.25867},"children":[{"label":"银川","value":"640100","location":{"lat":38.48644,"lng":106.23248},"children":[{"label":"兴庆区","value":"640104","location":{"lat":38.47371,"lng":106.28847}},{"label":"西夏区","value":"640105","location":{"lat":38.49589,"lng":106.15652}},{"label":"金凤区","value":"640106","location":{"lat":38.47314,"lng":106.24284}},{"label":"永宁县","value":"640121","location":{"lat":38.27749,"lng":106.25318}},{"label":"贺兰县","value":"640122","location":{"lat":38.55443,"lng":106.34985}},{"label":"灵武市","value":"640181","location":{"lat":38.10269,"lng":106.34005}}]},{"label":"石嘴山","value":"640200","location":{"lat":38.9841,"lng":106.38418},"children":[{"label":"大武口区","value":"640202","location":{"lat":39.01895,"lng":106.36803}},{"label":"惠农区","value":"640205","location":{"lat":39.23909,"lng":106.78132}},{"label":"平罗县","value":"640221","location":{"lat":38.91335,"lng":106.52304}}]},{"label":"吴忠","value":"640300","location":{"lat":37.99755,"lng":106.19879},"children":[{"label":"利通区","value":"640302","location":{"lat":37.98472,"lng":106.21251}},{"label":"红寺堡区","value":"640303","location":{"lat":37.42533,"lng":106.06243}},{"label":"盐池县","value":"640323","location":{"lat":37.78294,"lng":107.40789}},{"label":"同心县","value":"640324","location":{"lat":36.98064,"lng":105.91448}},{"label":"青铜峡市","value":"640381","location":{"lat":38.02121,"lng":106.07875}}]},{"label":"固原","value":"640400","location":{"lat":36.0158,"lng":106.24259},"children":[{"label":"原州区","value":"640402","location":{"lat":36.00341,"lng":106.28779}},{"label":"西吉县","value":"640422","location":{"lat":35.96385,"lng":105.72911}},{"label":"隆德县","value":"640423","location":{"lat":35.61812,"lng":106.12332}},{"label":"泾源县","value":"640424","location":{"lat":35.49823,"lng":106.33067}},{"label":"彭阳县","value":"640425","location":{"lat":35.8496,"lng":106.63808}}]},{"label":"中卫","value":"640500","location":{"lat":37.50026,"lng":105.19676},"children":[{"label":"沙坡头区","value":"640502","location":{"lat":37.51701,"lng":105.17365}},{"label":"中宁县","value":"640521","location":{"lat":37.49157,"lng":105.68518}},{"label":"海原县","value":"640522","location":{"lat":36.56524,"lng":105.64359}}]}]},{"label":"新疆维吾尔自治区","value":"650000","location":{"lat":43.79343,"lng":87.6271},"children":[{"label":"乌鲁木齐","value":"650100","location":{"lat":43.82663,"lng":87.61688},"children":[{"label":"天山区","value":"650102","location":{"lat":43.79547,"lng":87.63356}},{"label":"沙依巴克区","value":"650103","location":{"lat":43.80095,"lng":87.59811}},{"label":"新市区","value":"650104","location":{"lat":43.84367,"lng":87.574}},{"label":"水磨沟区","value":"650105","location":{"lat":43.83244,"lng":87.64248}},{"label":"头屯河区","value":"650106","location":{"lat":43.87711,"lng":87.42812}},{"label":"达坂城区","value":"650107","location":{"lat":43.36378,"lng":88.31104}},{"label":"米东区","value":"650109","location":{"lat":43.97374,"lng":87.65614}},{"label":"乌鲁木齐县","value":"650121","location":{"lat":43.47129,"lng":87.40931}}]},{"label":"克拉玛依","value":"650200","location":{"lat":45.57999,"lng":84.88927},"children":[{"label":"独山子区","value":"650202","location":{"lat":44.3287,"lng":84.88675}},{"label":"克拉玛依区","value":"650203","location":{"lat":45.60243,"lng":84.86782}},{"label":"白碱滩区","value":"650204","location":{"lat":45.68734,"lng":85.13208}},{"label":"乌尔禾区","value":"650205","location":{"lat":46.08908,"lng":85.69377}}]},{"label":"吐鲁番","value":"650400","location":{"lat":42.9513,"lng":89.18954},"children":[{"label":"高昌区","value":"650402","location":{"lat":42.94244,"lng":89.18596}},{"label":"鄯善县","value":"650421","location":{"lat":42.86887,"lng":90.21341}},{"label":"托克逊县","value":"650422","location":{"lat":42.79181,"lng":88.65384}}]},{"label":"哈密","value":"650500","location":{"lat":42.81855,"lng":93.51538},"children":[{"label":"伊州区","value":"650502","location":{"lat":42.82699,"lng":93.51465}},{"label":"巴里坤哈萨克自治县","value":"650521","location":{"lat":43.59873,"lng":93.01654}},{"label":"伊吾县","value":"650522","location":{"lat":43.25451,"lng":94.69741}}]},{"label":"昌吉回族自治州","value":"652300","location":{"lat":44.01117,"lng":87.30822},"children":[{"label":"昌吉市","value":"652301","location":{"lat":44.01437,"lng":87.26749}},{"label":"阜康市","value":"652302","location":{"lat":44.15706,"lng":87.98738}},{"label":"呼图壁县","value":"652323","location":{"lat":44.1916,"lng":86.89887}},{"label":"玛纳斯县","value":"652324","location":{"lat":44.30413,"lng":86.21421}},{"label":"奇台县","value":"652325","location":{"lat":44.02197,"lng":89.59399}},{"label":"吉木萨尔县","value":"652327","location":{"lat":44.00061,"lng":89.18076}},{"label":"木垒哈萨克自治县","value":"652328","location":{"lat":43.83464,"lng":90.28598}}]},{"label":"博尔塔拉蒙族自治州","value":"652700","location":{"lat":44.90597,"lng":82.06665},"children":[{"label":"博乐市","value":"652701","location":{"lat":44.85387,"lng":82.05112}},{"label":"阿拉山口市","value":"652702","location":{"lat":45.17328,"lng":82.55447}},{"label":"精河县","value":"652722","location":{"lat":44.60055,"lng":82.89417}},{"label":"温泉县","value":"652723","location":{"lat":44.96882,"lng":81.02478}}]},{"label":"巴音郭楞蒙古自治州","value":"652800","location":{"lat":41.76404,"lng":86.14517},"children":[{"label":"库尔勒市","value":"652801","location":{"lat":41.72643,"lng":86.17369}},{"label":"轮台县","value":"652822","location":{"lat":41.77763,"lng":84.25191}},{"label":"尉犁县","value":"652823","location":{"lat":41.34392,"lng":86.26075}},{"label":"若羌县","value":"652824","location":{"lat":39.02374,"lng":88.16728}},{"label":"且末县","value":"652825","location":{"lat":38.14538,"lng":85.52977}},{"label":"焉耆回族自治县","value":"652826","location":{"lat":42.0591,"lng":86.57425}},{"label":"和静县","value":"652827","location":{"lat":42.32266,"lng":86.38307}},{"label":"和硕县","value":"652828","location":{"lat":42.26817,"lng":86.86397}},{"label":"博湖县","value":"652829","location":{"lat":41.98009,"lng":86.63254}}]},{"label":"阿克苏","value":"652900","location":{"lat":41.16842,"lng":80.26008},"children":[{"label":"阿克苏市","value":"652901","location":{"lat":41.16763,"lng":80.26338}},{"label":"温宿县","value":"652922","location":{"lat":41.27706,"lng":80.23914}},{"label":"库车县","value":"652923","location":{"lat":41.71741,"lng":82.96212}},{"label":"沙雅县","value":"652924","location":{"lat":41.2216,"lng":82.78209}},{"label":"新和县","value":"652925","location":{"lat":41.54833,"lng":82.60912}},{"label":"拜城县","value":"652926","location":{"lat":41.79685,"lng":81.87347}},{"label":"乌什县","value":"652927","location":{"lat":41.21472,"lng":79.22457}},{"label":"阿瓦提县","value":"652928","location":{"lat":40.64451,"lng":80.37306}},{"label":"柯坪县","value":"652929","location":{"lat":40.50826,"lng":79.04681}}]},{"label":"克孜勒苏柯尔克孜自治州","value":"653000","location":{"lat":39.7153,"lng":76.16661},"children":[{"label":"阿图什市","value":"653001","location":{"lat":39.7161,"lng":76.16839}},{"label":"阿克陶县","value":"653022","location":{"lat":39.14786,"lng":75.9474}},{"label":"阿合奇县","value":"653023","location":{"lat":40.93704,"lng":78.44626}},{"label":"乌恰县","value":"653024","location":{"lat":39.71909,"lng":75.25841}}]},{"label":"喀什","value":"653100","location":{"lat":39.47042,"lng":75.98976},"children":[{"label":"喀什市","value":"653101","location":{"lat":39.46772,"lng":75.99381}},{"label":"疏附县","value":"653121","location":{"lat":39.37516,"lng":75.86296}},{"label":"疏勒县","value":"653122","location":{"lat":39.40134,"lng":76.04797}},{"label":"英吉沙县","value":"653123","location":{"lat":38.92956,"lng":76.17561}},{"label":"泽普县","value":"653124","location":{"lat":38.19174,"lng":77.27095}},{"label":"莎车县","value":"653125","location":{"lat":38.41432,"lng":77.24629}},{"label":"叶城县","value":"653126","location":{"lat":37.88299,"lng":77.41367}},{"label":"麦盖提县","value":"653127","location":{"lat":38.90493,"lng":77.65273}},{"label":"岳普湖县","value":"653128","location":{"lat":39.2333,"lng":76.77796}},{"label":"伽师县","value":"653129","location":{"lat":39.48806,"lng":76.72379}},{"label":"巴楚县","value":"653130","location":{"lat":39.78519,"lng":78.54906}},{"label":"塔什库尔干塔吉克自治县","value":"653131","location":{"lat":37.77297,"lng":75.2247}}]},{"label":"和田","value":"653200","location":{"lat":37.11431,"lng":79.92247},"children":[{"label":"和田市","value":"653201","location":{"lat":37.11178,"lng":79.91321}},{"label":"和田县","value":"653221","location":{"lat":36.57246,"lng":79.90141}},{"label":"墨玉县","value":"653222","location":{"lat":37.2775,"lng":79.72917}},{"label":"皮山县","value":"653223","location":{"lat":37.62139,"lng":78.283}},{"label":"洛浦县","value":"653224","location":{"lat":37.0737,"lng":80.18889}},{"label":"策勒县","value":"653225","location":{"lat":36.99846,"lng":80.81005}},{"label":"于田县","value":"653226","location":{"lat":36.85728,"lng":81.67712}},{"label":"民丰县","value":"653227","location":{"lat":37.06419,"lng":82.69595}}]},{"label":"伊犁哈萨克自治州","value":"654000","location":{"lat":43.91689,"lng":81.32416},"children":[{"label":"伊宁市","value":"654002","location":{"lat":43.9095,"lng":81.27725}},{"label":"奎屯市","value":"654003","location":{"lat":44.42689,"lng":84.90167}},{"label":"霍尔果斯市","value":"654004","location":{"lat":44.19865,"lng":80.41317}},{"label":"伊宁县","value":"654021","location":{"lat":43.97715,"lng":81.52732}},{"label":"察布查尔锡伯自治县","value":"654022","location":{"lat":43.84072,"lng":81.15128}},{"label":"霍城县","value":"654023","location":{"lat":44.05599,"lng":80.87899}},{"label":"巩留县","value":"654024","location":{"lat":43.48257,"lng":82.23175}},{"label":"新源县","value":"654025","location":{"lat":43.42988,"lng":83.26157}},{"label":"昭苏县","value":"654026","location":{"lat":43.15724,"lng":81.13102}},{"label":"特克斯县","value":"654027","location":{"lat":43.21799,"lng":81.83603}},{"label":"尼勒克县","value":"654028","location":{"lat":43.79904,"lng":82.5119}}]},{"label":"塔城","value":"654200","location":{"lat":46.74532,"lng":82.98046},"children":[{"label":"塔城市","value":"654201","location":{"lat":46.75145,"lng":82.98703}},{"label":"乌苏市","value":"654202","location":{"lat":44.43556,"lng":84.67851}},{"label":"额敏县","value":"654221","location":{"lat":46.52457,"lng":83.62822}},{"label":"沙湾县","value":"654223","location":{"lat":44.32628,"lng":85.61959}},{"label":"托里县","value":"654224","location":{"lat":45.93677,"lng":83.60621}},{"label":"裕民县","value":"654225","location":{"lat":46.20109,"lng":82.98277}},{"label":"和布克赛尔蒙古自治县","value":"654226","location":{"lat":46.79302,"lng":85.72856}}]},{"label":"阿勒泰","value":"654300","location":{"lat":47.84564,"lng":88.14023},"children":[{"label":"阿勒泰市","value":"654301","location":{"lat":47.827,"lng":88.13243}},{"label":"布尔津县","value":"654321","location":{"lat":47.69989,"lng":86.86313}},{"label":"富蕴县","value":"654322","location":{"lat":46.99362,"lng":89.52553}},{"label":"福海县","value":"654323","location":{"lat":47.112,"lng":87.48677}},{"label":"哈巴河县","value":"654324","location":{"lat":48.06069,"lng":86.4192}},{"label":"青河县","value":"654325","location":{"lat":46.67911,"lng":90.37558}},{"label":"吉木乃县","value":"654326","location":{"lat":47.4431,"lng":85.8754}}]},{"label":"自治区直辖县级行政区划","value":"659001","location":{"lat":44.30653,"lng":86.07893},"children":[{"label":"石河子","value":"659001","location":{"lat":44.30653,"lng":86.07893}},{"label":"阿拉尔","value":"659002","location":{"lat":40.54798,"lng":81.28067}},{"label":"图木舒克","value":"659003","location":{"lat":39.86495,"lng":79.06902}},{"label":"五家渠","value":"659004","location":{"lat":44.16799,"lng":87.54017}},{"label":"北屯","value":"659005","location":{"lat":47.36327,"lng":87.80014}},{"label":"铁门关","value":"659006","location":{"lat":41.86868,"lng":85.67583}},{"label":"双河","value":"659007","location":{"lat":44.84418,"lng":82.35501}},{"label":"可克达拉","value":"659008","location":{"lat":43.94799,"lng":81.04476}},{"label":"昆玉","value":"659009","location":{"lat":37.21089,"lng":79.29159}}]}]},{"label":"台湾省","value":"710000","location":{"lat":25.030724,"lng":121.520076},"children":[{"label":"台北","value":"710100","location":{"lat":25.030724,"lng":121.520076},"children":[{"label":"中正区","value":"710101","location":{"lat":25.030724,"lng":121.520076}},{"label":"大同区","value":"710102","location":{"lat":25.062729,"lng":121.513929}},{"label":"中山区","value":"710103","location":{"lat":25.074708,"lng":121.541766}},{"label":"松山区","value":"710104","location":{"lat":25.058947,"lng":121.556668}},{"label":"大安区","value":"710105","location":{"lat":25.02342,"lng":121.546488}},{"label":"万华区","value":"710106","location":{"lat":25.029934,"lng":121.499065}},{"label":"信义区","value":"710107","location":{"lat":25.029722,"lng":121.57615}},{"label":"士林区","value":"710108","location":{"lat":25.127593,"lng":121.544463}},{"label":"北投区","value":"710109","location":{"lat":25.149108,"lng":121.527823}},{"label":"内湖区","value":"710110","location":{"lat":25.086036,"lng":121.586513}},{"label":"南港区","value":"710111","location":{"lat":25.032505,"lng":121.618159}},{"label":"文山区","value":"710112","location":{"lat":24.989886,"lng":121.572895}}]},{"label":"高雄","value":"710200","location":{"lat":22.630576,"lng":120.306839},"children":[{"label":"新兴区","value":"710201","location":{"lat":22.630576,"lng":120.306839}},{"label":"前金区","value":"710202","location":{"lat":22.626419,"lng":120.29352}},{"label":"苓雅区","value":"710203","location":{"lat":22.624018,"lng":120.323055}},{"label":"盐埕区","value":"710204","location":{"lat":22.625608,"lng":120.284019}},{"label":"鼓山区","value":"710205","location":{"lat":22.651802,"lng":120.275308}},{"label":"旗津区","value":"710206","location":{"lat":22.590551,"lng":120.28319}},{"label":"前镇区","value":"710207","location":{"lat":22.590477,"lng":120.30908}},{"label":"三民区","value":"710208","location":{"lat":22.659461,"lng":120.320886}},{"label":"左营区","value":"710209","location":{"lat":22.679064,"lng":120.292762}},{"label":"楠梓区","value":"710210","location":{"lat":22.725733,"lng":120.310229}},{"label":"小港区","value":"710211","location":{"lat":22.557236,"lng":120.372584}},{"label":"仁武区","value":"710242","location":{"lat":22.703543,"lng":120.362577}},{"label":"大社区","value":"710243","location":{"lat":22.740867,"lng":120.372757}},{"label":"冈山区","value":"710244","location":{"lat":22.806182,"lng":120.303629}},{"label":"路竹区","value":"710245","location":{"lat":22.860436,"lng":120.267619}},{"label":"阿莲区","value":"710246","location":{"lat":22.86883,"lng":120.322131}},{"label":"田寮区","value":"710247","location":{"lat":22.866882,"lng":120.393786}},{"label":"燕巢区","value":"710248","location":{"lat":22.789829,"lng":120.370649}},{"label":"桥头区","value":"710249","location":{"lat":22.752137,"lng":120.302457}},{"label":"梓官区","value":"710250","location":{"lat":22.750905,"lng":120.258816}},{"label":"弥陀区","value":"710251","location":{"lat":22.774889,"lng":120.241537}},{"label":"永安区","value":"710252","location":{"lat":22.818831,"lng":120.23625}},{"label":"湖内区","value":"710253","location":{"lat":22.890794,"lng":120.227965}},{"label":"凤山区","value":"710254","location":{"lat":22.612329,"lng":120.354678}},{"label":"大寮区","value":"710255","location":{"lat":22.587938,"lng":120.395256}},{"label":"林园区","value":"710256","location":{"lat":22.512878,"lng":120.389128}},{"label":"鸟松区","value":"710257","location":{"lat":22.665303,"lng":120.373331}},{"label":"大树区","value":"710258","location":{"lat":22.710723,"lng":120.413317}},{"label":"旗山区","value":"710259","location":{"lat":22.89424,"lng":120.480903}},{"label":"美浓区","value":"710260","location":{"lat":22.928206,"lng":120.567456}},{"label":"六龟区","value":"710261","location":{"lat":23.045112,"lng":120.681851}},{"label":"内门区","value":"710262","location":{"lat":22.943102,"lng":120.471968}},{"label":"杉林区","value":"710263","location":{"lat":22.981053,"lng":120.559946}},{"label":"甲仙区","value":"710264","location":{"lat":23.112013,"lng":120.62032}},{"label":"桃源区","value":"710265","location":{"lat":23.16742,"lng":120.795438}},{"label":"那玛夏区","value":"710266","location":{"lat":23.273861,"lng":120.719575}},{"label":"茂林区","value":"710267","location":{"lat":22.911252,"lng":120.762767}},{"label":"茄萣区","value":"710268","location":{"lat":22.887749,"lng":120.196894}}]},{"label":"台南","value":"710300","location":{"lat":22.998601,"lng":120.187817},"children":[{"label":"中西区","value":"710301","location":{"lat":22.998601,"lng":120.187817}},{"label":"东区","value":"710302","location":{"lat":22.981432,"lng":120.233654}},{"label":"南区","value":"710303","location":{"lat":22.946994,"lng":120.188194}},{"label":"北区","value":"710304","location":{"lat":23.009417,"lng":120.209679}},{"label":"安平区","value":"710305","location":{"lat":22.987857,"lng":120.16196}},{"label":"安南区","value":"710306","location":{"lat":23.049676,"lng":120.171462}},{"label":"永康区","value":"710339","location":{"lat":23.026495,"lng":120.253007}},{"label":"归仁区","value":"710340","location":{"lat":22.948413,"lng":120.295251}},{"label":"新化区","value":"710341","location":{"lat":23.036425,"lng":120.343611}},{"label":"左镇区","value":"710342","location":{"lat":23.033172,"lng":120.408262}},{"label":"玉井区","value":"710343","location":{"lat":23.122051,"lng":120.45423}},{"label":"楠西区","value":"710344","location":{"lat":23.172157,"lng":120.501465}},{"label":"南化区","value":"710345","location":{"lat":23.109827,"lng":120.532575}},{"label":"仁德区","value":"710346","location":{"lat":22.942045,"lng":120.248309}},{"label":"关庙区","value":"710347","location":{"lat":22.949032,"lng":120.339688}},{"label":"龙崎区","value":"710348","location":{"lat":22.956225,"lng":120.382468}},{"label":"官田区","value":"710349","location":{"lat":23.193342,"lng":120.35862}},{"label":"麻豆区","value":"710350","location":{"lat":23.186543,"lng":120.239562}},{"label":"佳里区","value":"710351","location":{"lat":23.1678,"lng":120.173454}},{"label":"西港区","value":"710352","location":{"lat":23.12515,"lng":120.201599}},{"label":"七股区","value":"710353","location":{"lat":23.145117,"lng":120.124612}},{"label":"将军区","value":"710354","location":{"lat":23.204576,"lng":120.127949}},{"label":"学甲区","value":"710355","location":{"lat":23.257636,"lng":120.184662}},{"label":"北门区","value":"710356","location":{"lat":23.279846,"lng":120.132727}},{"label":"新营区","value":"710357","location":{"lat":23.314666,"lng":120.292661}},{"label":"后壁区","value":"710358","location":{"lat":23.362476,"lng":120.345417}},{"label":"白河区","value":"710359","location":{"lat":23.349607,"lng":120.467307}},{"label":"东山区","value":"710360","location":{"lat":23.278461,"lng":120.446302}},{"label":"六甲区","value":"710361","location":{"lat":23.228525,"lng":120.376266}},{"label":"下营区","value":"710362","location":{"lat":23.233069,"lng":120.276062}},{"label":"柳营区","value":"710363","location":{"lat":23.258226,"lng":120.370182}},{"label":"盐水区","value":"710364","location":{"lat":23.304858,"lng":120.25491}},{"label":"善化区","value":"710365","location":{"lat":23.126557,"lng":120.292967}},{"label":"大内区","value":"710366","location":{"lat":23.136649,"lng":120.412236}},{"label":"山上区","value":"710367","location":{"lat":23.094024,"lng":120.374636}},{"label":"新市区","value":"710368","location":{"lat":23.082989,"lng":120.295171}},{"label":"安定区","value":"710369","location":{"lat":23.095684,"lng":120.234855}}]},{"label":"台中","value":"710400","location":{"lat":24.143171,"lng":120.679882},"children":[{"label":"中区","value":"710401","location":{"lat":24.143171,"lng":120.679882}},{"label":"东区","value":"710402","location":{"lat":24.138753,"lng":120.69765}},{"label":"南区","value":"710403","location":{"lat":24.116054,"lng":120.665446}},{"label":"西区","value":"710404","location":{"lat":24.149559,"lng":120.667031}},{"label":"北区","value":"710405","location":{"lat":24.156085,"lng":120.681767}},{"label":"北屯区","value":"710406","location":{"lat":24.188236,"lng":120.725415}},{"label":"西屯区","value":"710407","location":{"lat":24.190929,"lng":120.636254}},{"label":"南屯区","value":"710408","location":{"lat":24.140259,"lng":120.616002}},{"label":"太平区","value":"710431","location":{"lat":24.106428,"lng":120.777203}},{"label":"大里区","value":"710432","location":{"lat":24.09987,"lng":120.693657}},{"label":"雾峰区","value":"710433","location":{"lat":24.047083,"lng":120.723791}},{"label":"乌日区","value":"710434","location":{"lat":24.080973,"lng":120.641699}},{"label":"丰原区","value":"710435","location":{"lat":24.243819,"lng":120.734314}},{"label":"后里区","value":"710436","location":{"lat":24.31981,"lng":120.726206}},{"label":"石冈区","value":"710437","location":{"lat":24.258623,"lng":120.789413}},{"label":"东势区","value":"710438","location":{"lat":24.259322,"lng":120.836671}},{"label":"和平区","value":"710439","location":{"lat":24.249379,"lng":121.095656}},{"label":"新社区","value":"710440","location":{"lat":24.184372,"lng":120.827267}},{"label":"潭子区","value":"710441","location":{"lat":24.211784,"lng":120.709288}},{"label":"大雅区","value":"710442","location":{"lat":24.225153,"lng":120.650078}},{"label":"神冈区","value":"710443","location":{"lat":24.254251,"lng":120.679992}},{"label":"大肚区","value":"710444","location":{"lat":24.147926,"lng":120.561819}},{"label":"沙鹿区","value":"710445","location":{"lat":24.229818,"lng":120.584346}},{"label":"龙井区","value":"710446","location":{"lat":24.200672,"lng":120.530022}},{"label":"梧栖区","value":"710447","location":{"lat":24.246571,"lng":120.524331}},{"label":"清水区","value":"710448","location":{"lat":24.300978,"lng":120.574911}},{"label":"大甲区","value":"710449","location":{"lat":24.374519,"lng":120.628102}},{"label":"外埔区","value":"710450","location":{"lat":24.334586,"lng":120.684158}},{"label":"大安区","value":"710451","location":{"lat":24.358855,"lng":120.591287}}]},{"label":"南投","value":"710600","location":{"lat":23.919619,"lng":120.670008},"children":[{"label":"南投市","value":"710614","location":{"lat":23.919619,"lng":120.670008}},{"label":"中寮乡","value":"710615","location":{"lat":23.928176,"lng":120.742189}},{"label":"草屯镇","value":"710616","location":{"lat":23.983402,"lng":120.744932}},{"label":"国姓乡","value":"710617","location":{"lat":24.063789,"lng":120.848242}},{"label":"埔里镇","value":"710618","location":{"lat":23.96992,"lng":120.962669}},{"label":"仁爱乡","value":"710619","location":{"lat":24.104215,"lng":121.145366}},{"label":"名间乡","value":"710620","location":{"lat":23.847933,"lng":120.648523}},{"label":"集集镇","value":"710621","location":{"lat":23.837607,"lng":120.74978}},{"label":"水里乡","value":"710622","location":{"lat":23.799657,"lng":120.879628}},{"label":"鱼池乡","value":"710623","location":{"lat":23.895656,"lng":120.935361}},{"label":"信义乡","value":"710624","location":{"lat":23.602797,"lng":121.036224}},{"label":"竹山镇","value":"710625","location":{"lat":23.716798,"lng":120.717687}},{"label":"鹿谷乡","value":"710626","location":{"lat":23.727532,"lng":120.749945}}]},{"label":"基隆","value":"710700","location":{"lat":25.122105,"lng":121.741526},"children":[{"label":"仁爱区","value":"710701","location":{"lat":25.122105,"lng":121.741526}},{"label":"信义区","value":"710702","location":{"lat":25.122481,"lng":121.772292}},{"label":"中正区","value":"710703","location":{"lat":25.140903,"lng":121.783825}},{"label":"中山区","value":"710704","location":{"lat":25.148608,"lng":121.72943}},{"label":"安乐区","value":"710705","location":{"lat":25.14401,"lng":121.710078}},{"label":"暖暖区","value":"710706","location":{"lat":25.081103,"lng":121.745793}},{"label":"七堵区","value":"710707","location":{"lat":25.114398,"lng":121.681917}}]},{"label":"新竹","value":"710800","location":{"lat":24.784924,"lng":120.990745},"children":[{"label":"东区","value":"710801","location":{"lat":24.784924,"lng":120.990745}},{"label":"北区","value":"710802","location":{"lat":24.81327,"lng":120.952767}},{"label":"香山区","value":"710803","location":{"lat":24.764465,"lng":120.92949}}]},{"label":"嘉义","value":"710900","location":{"lat":23.485079,"lng":120.472462},"children":[{"label":"东区","value":"710901","location":{"lat":23.485079,"lng":120.472462}},{"label":"西区","value":"710902","location":{"lat":23.47703,"lng":120.420075}}]},{"label":"新北","value":"711100","location":{"lat":25.1853,"lng":121.663675},"children":[{"label":"万里区","value":"711130","location":{"lat":25.1853,"lng":121.663675}},{"label":"金山区","value":"711131","location":{"lat":25.223717,"lng":121.614289}},{"label":"板桥区","value":"711132","location":{"lat":24.999607,"lng":121.455052}},{"label":"汐止区","value":"711133","location":{"lat":25.068505,"lng":121.656665}},{"label":"深坑区","value":"711134","location":{"lat":25.00095,"lng":121.625318}},{"label":"石碇区","value":"711135","location":{"lat":24.962729,"lng":121.653655}},{"label":"瑞芳区","value":"711136","location":{"lat":25.10211,"lng":121.834401}},{"label":"平溪区","value":"711137","location":{"lat":25.016051,"lng":121.755539}},{"label":"双溪区","value":"711138","location":{"lat":24.996236,"lng":121.833182}},{"label":"贡寮区","value":"711139","location":{"lat":25.034199,"lng":121.92195}},{"label":"新店区","value":"711140","location":{"lat":24.937332,"lng":121.53035}},{"label":"坪林区","value":"711141","location":{"lat":24.927015,"lng":121.732708}},{"label":"乌来区","value":"711142","location":{"lat":24.783855,"lng":121.561115}},{"label":"永和区","value":"711143","location":{"lat":25.004642,"lng":121.513366}},{"label":"中和区","value":"711144","location":{"lat":24.987857,"lng":121.49308}},{"label":"土城区","value":"711145","location":{"lat":24.970764,"lng":121.454294}},{"label":"三峡区","value":"711146","location":{"lat":24.879017,"lng":121.407935}},{"label":"树林区","value":"711147","location":{"lat":24.988016,"lng":121.403688}},{"label":"莺歌区","value":"711148","location":{"lat":24.961511,"lng":121.341283}},{"label":"三重区","value":"711149","location":{"lat":25.064589,"lng":121.480337}},{"label":"新庄区","value":"711150","location":{"lat":25.033839,"lng":121.426902}},{"label":"泰山区","value":"711151","location":{"lat":25.059365,"lng":121.40782}},{"label":"林口区","value":"711152","location":{"lat":25.089143,"lng":121.382679}},{"label":"芦洲区","value":"711153","location":{"lat":25.085529,"lng":121.470634}},{"label":"五股区","value":"711154","location":{"lat":25.092216,"lng":121.425299}},{"label":"八里区","value":"711155","location":{"lat":25.112227,"lng":121.399739}},{"label":"淡水区","value":"711156","location":{"lat":25.198046,"lng":121.473666}},{"label":"三芝区","value":"711157","location":{"lat":25.237511,"lng":121.513036}},{"label":"石门区","value":"711158","location":{"lat":25.265218,"lng":121.555197}}]},{"label":"宜兰","value":"711200","location":{"lat":24.759707,"lng":121.754442},"children":[{"label":"宜兰市","value":"711214","location":{"lat":24.759707,"lng":121.754442}},{"label":"头城镇","value":"711215","location":{"lat":24.911283,"lng":121.85085}},{"label":"礁溪乡","value":"711216","location":{"lat":24.808073,"lng":121.735693}},{"label":"壮围乡","value":"711217","location":{"lat":24.762833,"lng":121.799495}},{"label":"员山乡","value":"711218","location":{"lat":24.741324,"lng":121.662736}},{"label":"罗东镇","value":"711219","location":{"lat":24.678357,"lng":121.771539}},{"label":"三星乡","value":"711220","location":{"lat":24.663964,"lng":121.670054}},{"label":"大同乡","value":"711221","location":{"lat":24.563188,"lng":121.535637}},{"label":"五结乡","value":"711222","location":{"lat":24.68218,"lng":121.794432}},{"label":"冬山乡","value":"711223","location":{"lat":24.644049,"lng":121.753372}},{"label":"苏澳镇","value":"711224","location":{"lat":24.550648,"lng":121.835877}},{"label":"南澳乡","value":"711225","location":{"lat":24.461727,"lng":121.668148}}]},{"label":"新竹","value":"711300","location":{"lat":24.839233,"lng":121.002012},"children":[{"label":"竹北市","value":"711314","location":{"lat":24.839233,"lng":121.002012}},{"label":"湖口乡","value":"711315","location":{"lat":24.88866,"lng":121.06023}},{"label":"新丰乡","value":"711316","location":{"lat":24.904706,"lng":120.99771}},{"label":"新埔镇","value":"711317","location":{"lat":24.847222,"lng":121.105699}},{"label":"关西镇","value":"711318","location":{"lat":24.787338,"lng":121.178544}},{"label":"芎林乡","value":"711319","location":{"lat":24.76821,"lng":121.110301}},{"label":"宝山乡","value":"711320","location":{"lat":24.730908,"lng":120.998303}},{"label":"竹东镇","value":"711321","location":{"lat":24.736347,"lng":121.086714}},{"label":"五峰乡","value":"711322","location":{"lat":24.589114,"lng":121.145552}},{"label":"横山乡","value":"711323","location":{"lat":24.721278,"lng":121.157317}},{"label":"尖石乡","value":"711324","location":{"lat":24.581626,"lng":121.289331}},{"label":"北埔乡","value":"711325","location":{"lat":24.689326,"lng":121.062095}},{"label":"峨眉乡","value":"711326","location":{"lat":24.684883,"lng":121.001203}}]},{"label":"桃园","value":"711400","location":{"lat":24.982757,"lng":121.213608},"children":[{"label":"中坜区","value":"711414","location":{"lat":24.982757,"lng":121.213608}},{"label":"平镇区","value":"711415","location":{"lat":24.910699,"lng":121.217841}},{"label":"龙潭区","value":"711416","location":{"lat":24.864207,"lng":121.212691}},{"label":"杨梅区","value":"711417","location":{"lat":24.909366,"lng":121.130892}},{"label":"新屋区","value":"711418","location":{"lat":24.966086,"lng":121.061545}},{"label":"观音区","value":"711419","location":{"lat":25.019145,"lng":121.104048}},{"label":"桃园区","value":"711420","location":{"lat":24.997058,"lng":121.297711}},{"label":"龟山区","value":"711421","location":{"lat":25.027942,"lng":121.361175}},{"label":"八德区","value":"711422","location":{"lat":24.95089,"lng":121.286616}},{"label":"大溪区","value":"711423","location":{"lat":24.871416,"lng":121.297957}},{"label":"复兴区","value":"711424","location":{"lat":24.735521,"lng":121.373347}},{"label":"大园区","value":"711425","location":{"lat":25.050502,"lng":121.21119}},{"label":"芦竹区","value":"711426","location":{"lat":25.048653,"lng":121.28868}}]},{"label":"苗栗","value":"711500","location":{"lat":24.696762,"lng":120.884337},"children":[{"label":"竹南镇","value":"711519","location":{"lat":24.696762,"lng":120.884337}},{"label":"头份市","value":"711520","location":{"lat":24.678692,"lng":120.925835}},{"label":"三湾乡","value":"711521","location":{"lat":24.632785,"lng":120.950962}},{"label":"南庄乡","value":"711522","location":{"lat":24.575053,"lng":120.995915}},{"label":"狮潭乡","value":"711523","location":{"lat":24.526451,"lng":120.924787}},{"label":"后龙镇","value":"711524","location":{"lat":24.603021,"lng":120.780127}},{"label":"通霄镇","value":"711525","location":{"lat":24.480949,"lng":120.723303}},{"label":"苑里镇","value":"711526","location":{"lat":24.412997,"lng":120.692407}},{"label":"苗栗市","value":"711527","location":{"lat":24.557396,"lng":120.801966}},{"label":"造桥乡","value":"711528","location":{"lat":24.61758,"lng":120.883509}},{"label":"头屋乡","value":"711529","location":{"lat":24.575174,"lng":120.882319}},{"label":"公馆乡","value":"711530","location":{"lat":24.503553,"lng":120.856771}},{"label":"大湖乡","value":"711531","location":{"lat":24.383789,"lng":120.846625}},{"label":"泰安乡","value":"711532","location":{"lat":24.393079,"lng":121.04939}},{"label":"铜锣乡","value":"711533","location":{"lat":24.456059,"lng":120.79846}},{"label":"三义乡","value":"711534","location":{"lat":24.375763,"lng":120.770133}},{"label":"西湖乡","value":"711535","location":{"lat":24.537724,"lng":120.760893}},{"label":"卓兰镇","value":"711536","location":{"lat":24.327224,"lng":120.835515}}]},{"label":"彰化","value":"711700","location":{"lat":24.068523,"lng":120.557479},"children":[{"label":"彰化市","value":"711727","location":{"lat":24.068523,"lng":120.557479}},{"label":"芬园乡","value":"711728","location":{"lat":23.998008,"lng":120.62741}},{"label":"花坛乡","value":"711729","location":{"lat":24.033045,"lng":120.562361}},{"label":"秀水乡","value":"711730","location":{"lat":24.028262,"lng":120.504495}},{"label":"鹿港镇","value":"711731","location":{"lat":24.084734,"lng":120.437596}},{"label":"福兴乡","value":"711732","location":{"lat":24.028755,"lng":120.442786}},{"label":"线西乡","value":"711733","location":{"lat":24.12308,"lng":120.45956}},{"label":"和美镇","value":"711734","location":{"lat":24.109369,"lng":120.50469}},{"label":"伸港乡","value":"711735","location":{"lat":24.15639,"lng":120.48277}},{"label":"员林市","value":"711736","location":{"lat":23.956915,"lng":120.61026}},{"label":"社头乡","value":"711737","location":{"lat":23.908552,"lng":120.620806}},{"label":"永靖乡","value":"711738","location":{"lat":23.924758,"lng":120.531078}},{"label":"埔心乡","value":"711739","location":{"lat":23.954411,"lng":120.528981}},{"label":"溪湖镇","value":"711740","location":{"lat":23.95219,"lng":120.487555}},{"label":"大村乡","value":"711741","location":{"lat":23.993085,"lng":120.563456}},{"label":"埔盐乡","value":"711742","location":{"lat":23.993031,"lng":120.465463}},{"label":"田中镇","value":"711743","location":{"lat":23.85855,"lng":120.609181}},{"label":"北斗镇","value":"711744","location":{"lat":23.868165,"lng":120.531918}},{"label":"田尾乡","value":"711745","location":{"lat":23.899768,"lng":120.524093}},{"label":"埤头乡","value":"711746","location":{"lat":23.87357,"lng":120.468527}},{"label":"溪州乡","value":"711747","location":{"lat":23.835111,"lng":120.51942}},{"label":"竹塘乡","value":"711748","location":{"lat":23.857407,"lng":120.411516}},{"label":"二林镇","value":"711749","location":{"lat":23.906247,"lng":120.39439}},{"label":"大城乡","value":"711750","location":{"lat":23.866757,"lng":120.318059}},{"label":"芳苑乡","value":"711751","location":{"lat":23.943069,"lng":120.355687}},{"label":"二水乡","value":"711752","location":{"lat":23.813199,"lng":120.628238}}]},{"label":"嘉义","value":"711900","location":{"lat":23.434473,"lng":120.624255},"children":[{"label":"番路乡","value":"711919","location":{"lat":23.434473,"lng":120.624255}},{"label":"梅山乡","value":"711920","location":{"lat":23.557491,"lng":120.612016}},{"label":"竹崎乡","value":"711921","location":{"lat":23.505186,"lng":120.584341}},{"label":"阿里山乡","value":"711922","location":{"lat":23.436549,"lng":120.774203}},{"label":"中埔乡","value":"711923","location":{"lat":23.39845,"lng":120.519441}},{"label":"大埔乡","value":"711924","location":{"lat":23.287444,"lng":120.595475}},{"label":"水上乡","value":"711925","location":{"lat":23.421406,"lng":120.439266}},{"label":"鹿草乡","value":"711926","location":{"lat":23.41572,"lng":120.300877}},{"label":"太保市","value":"711927","location":{"lat":23.473933,"lng":120.35193}},{"label":"朴子市","value":"711928","location":{"lat":23.438053,"lng":120.25252}},{"label":"东石乡","value":"711929","location":{"lat":23.460083,"lng":120.199035}},{"label":"六脚乡","value":"711930","location":{"lat":23.508978,"lng":120.267776}},{"label":"新港乡","value":"711931","location":{"lat":23.540501,"lng":120.354005}},{"label":"民雄乡","value":"711932","location":{"lat":23.540418,"lng":120.460537}},{"label":"大林镇","value":"711933","location":{"lat":23.593549,"lng":120.481664}},{"label":"溪口乡","value":"711934","location":{"lat":23.5948,"lng":120.403861}},{"label":"义竹乡","value":"711935","location":{"lat":23.349636,"lng":120.228609}},{"label":"布袋镇","value":"711936","location":{"lat":23.396275,"lng":120.200917}}]},{"label":"云林","value":"712100","location":{"lat":23.664943,"lng":120.480738},"children":[{"label":"斗南镇","value":"712121","location":{"lat":23.664943,"lng":120.480738}},{"label":"大埤乡","value":"712122","location":{"lat":23.64588,"lng":120.431074}},{"label":"虎尾镇","value":"712123","location":{"lat":23.714535,"lng":120.422854}},{"label":"土库镇","value":"712124","location":{"lat":23.699741,"lng":120.365932}},{"label":"褒忠乡","value":"712125","location":{"lat":23.716337,"lng":120.309003}},{"label":"东势乡","value":"712126","location":{"lat":23.698402,"lng":120.258172}},{"label":"台西乡","value":"712127","location":{"lat":23.702556,"lng":120.21318}},{"label":"仑背乡","value":"712128","location":{"lat":23.772894,"lng":120.335015}},{"label":"麦寮乡","value":"712129","location":{"lat":23.775929,"lng":120.255931}},{"label":"斗六市","value":"712130","location":{"lat":23.697529,"lng":120.586501}},{"label":"林内乡","value":"712131","location":{"lat":23.743124,"lng":120.61696}},{"label":"古坑乡","value":"712132","location":{"lat":23.628121,"lng":120.614675}},{"label":"莿桐乡","value":"712133","location":{"lat":23.77119,"lng":120.54166}},{"label":"西螺镇","value":"712134","location":{"lat":23.784749,"lng":120.457854}},{"label":"二仑乡","value":"712135","location":{"lat":23.790316,"lng":120.393944}},{"label":"北港镇","value":"712136","location":{"lat":23.584894,"lng":120.288855}},{"label":"水林乡","value":"712137","location":{"lat":23.568028,"lng":120.23913}},{"label":"口湖乡","value":"712138","location":{"lat":23.57919,"lng":120.178227}},{"label":"四湖乡","value":"712139","location":{"lat":23.646525,"lng":120.210561}},{"label":"元长乡","value":"712140","location":{"lat":23.645376,"lng":120.325652}}]},{"label":"屏东","value":"712400","location":{"lat":22.666716,"lng":120.492005},"children":[{"label":"屏东市","value":"712434","location":{"lat":22.666716,"lng":120.492005}},{"label":"三地门乡","value":"712435","location":{"lat":22.789423,"lng":120.678111}},{"label":"雾台乡","value":"712436","location":{"lat":22.756209,"lng":120.793046}},{"label":"玛家乡","value":"712437","location":{"lat":22.665118,"lng":120.672497}},{"label":"九如乡","value":"712438","location":{"lat":22.729198,"lng":120.489693}},{"label":"里港乡","value":"712439","location":{"lat":22.800353,"lng":120.509419}},{"label":"高树乡","value":"712440","location":{"lat":22.798633,"lng":120.614301}},{"label":"盐埔乡","value":"712441","location":{"lat":22.74091,"lng":120.560463}},{"label":"长治乡","value":"712442","location":{"lat":22.68574,"lng":120.542657}},{"label":"麟洛乡","value":"712443","location":{"lat":22.65031,"lng":120.52547}},{"label":"竹田乡","value":"712444","location":{"lat":22.584939,"lng":120.521566}},{"label":"内埔乡","value":"712445","location":{"lat":22.641802,"lng":120.596116}},{"label":"万丹乡","value":"712446","location":{"lat":22.578361,"lng":120.483664}},{"label":"潮州镇","value":"712447","location":{"lat":22.54354,"lng":120.544359}},{"label":"泰武乡","value":"712448","location":{"lat":22.592643,"lng":120.658259}},{"label":"来义乡","value":"712449","location":{"lat":22.493802,"lng":120.654836}},{"label":"万峦乡","value":"712450","location":{"lat":22.58091,"lng":120.612305}},{"label":"崁顶乡","value":"712451","location":{"lat":22.514032,"lng":120.505574}},{"label":"新埤乡","value":"712452","location":{"lat":22.475461,"lng":120.599996}},{"label":"南州乡","value":"712453","location":{"lat":22.481546,"lng":120.517214}},{"label":"林边乡","value":"712454","location":{"lat":22.444963,"lng":120.511888}},{"label":"东港镇","value":"712455","location":{"lat":22.467418,"lng":120.488541}},{"label":"琉球乡","value":"712456","location":{"lat":22.339902,"lng":120.371291}},{"label":"佳冬乡","value":"712457","location":{"lat":22.427043,"lng":120.548614}},{"label":"新园乡","value":"712458","location":{"lat":22.534032,"lng":120.464741}},{"label":"枋寮乡","value":"712459","location":{"lat":22.394506,"lng":120.606465}},{"label":"枋山乡","value":"712460","location":{"lat":22.255443,"lng":120.657004}},{"label":"春日乡","value":"712461","location":{"lat":22.396608,"lng":120.675329}},{"label":"狮子乡","value":"712462","location":{"lat":22.246141,"lng":120.735955}},{"label":"车城乡","value":"712463","location":{"lat":22.079205,"lng":120.727885}},{"label":"牡丹乡","value":"712464","location":{"lat":22.15295,"lng":120.817067}},{"label":"恒春镇","value":"712465","location":{"lat":21.989803,"lng":120.7392}},{"label":"满州乡","value":"712466","location":{"lat":22.050462,"lng":120.835152}}]},{"label":"台东","value":"712500","location":{"lat":22.764364,"lng":121.113207},"children":[{"label":"台东市","value":"712517","location":{"lat":22.764364,"lng":121.113207}},{"label":"绿岛乡","value":"712518","location":{"lat":22.662919,"lng":121.493407}},{"label":"兰屿乡","value":"712519","location":{"lat":22.041169,"lng":121.550107}},{"label":"延平乡","value":"712520","location":{"lat":22.908597,"lng":121.021911}},{"label":"卑南乡","value":"712521","location":{"lat":22.758622,"lng":121.011738}},{"label":"鹿野乡","value":"712522","location":{"lat":22.949356,"lng":121.152351}},{"label":"关山镇","value":"712523","location":{"lat":23.037253,"lng":121.175444}},{"label":"海端乡","value":"712524","location":{"lat":23.104115,"lng":121.031316}},{"label":"池上乡","value":"712525","location":{"lat":23.088673,"lng":121.216977}},{"label":"东河乡","value":"712526","location":{"lat":22.973742,"lng":121.249396}},{"label":"成功镇","value":"712527","location":{"lat":23.117289,"lng":121.345975}},{"label":"长滨乡","value":"712528","location":{"lat":23.327925,"lng":121.419981}},{"label":"金峰乡","value":"712529","location":{"lat":22.602316,"lng":120.905713}},{"label":"大武乡","value":"712530","location":{"lat":22.381832,"lng":120.893472}},{"label":"达仁乡","value":"712531","location":{"lat":22.373402,"lng":120.845791}},{"label":"太麻里乡","value":"712532","location":{"lat":22.587472,"lng":120.972099}}]},{"label":"花莲","value":"712600","location":{"lat":24.000674,"lng":121.59729},"children":[{"label":"花莲市","value":"712615","location":{"lat":24.000674,"lng":121.59729}},{"label":"新城乡","value":"712616","location":{"lat":24.057068,"lng":121.612414}},{"label":"秀林乡","value":"712618","location":{"lat":24.151768,"lng":121.498359}},{"label":"吉安乡","value":"712619","location":{"lat":23.960472,"lng":121.565621}},{"label":"寿丰乡","value":"712620","location":{"lat":23.836802,"lng":121.530285}},{"label":"凤林镇","value":"712621","location":{"lat":23.742396,"lng":121.466684}},{"label":"光复乡","value":"712622","location":{"lat":23.652549,"lng":121.448891}},{"label":"丰滨乡","value":"712623","location":{"lat":23.577574,"lng":121.493017}},{"label":"瑞穗乡","value":"712624","location":{"lat":23.519192,"lng":121.410735}},{"label":"万荣乡","value":"712625","location":{"lat":23.704744,"lng":121.326024}},{"label":"玉里镇","value":"712626","location":{"lat":23.36682,"lng":121.358807}},{"label":"卓溪乡","value":"712627","location":{"lat":23.387536,"lng":121.187871}},{"label":"富里乡","value":"712628","location":{"lat":23.197242,"lng":121.299737}}]},{"label":"澎湖","value":"712700","location":{"lat":23.552351,"lng":119.58457},"children":[{"label":"马公市","value":"712707","location":{"lat":23.552351,"lng":119.58457}},{"label":"西屿乡","value":"712708","location":{"lat":23.599165,"lng":119.507369}},{"label":"望安乡","value":"712709","location":{"lat":23.370874,"lng":119.501729}},{"label":"七美乡","value":"712710","location":{"lat":23.202822,"lng":119.429995}},{"label":"白沙乡","value":"712711","location":{"lat":23.653489,"lng":119.586317}},{"label":"湖西乡","value":"712712","location":{"lat":23.581998,"lng":119.635245}}]}]},{"label":"香港特别行政区","value":"810000","location":{"lat":22.27534,"lng":114.16546},"children":[{"label":"香港特别行政区","value":"810001","location":{"lat":22.27534,"lng":114.16546},"children":[{"label":"中西区","value":"810101","location":{"lat":22.27629,"lng":114.16368}},{"label":"东区","value":"810102","location":{"lat":22.28137,"lng":114.22914}},{"label":"九龙","value":"810103","location":{"lat":22.30818,"lng":114.18895}},{"label":"观塘区","value":"810104","location":{"lat":22.31057,"lng":114.2306}},{"label":"南区","value":"810105","location":{"lat":22.24543,"lng":114.15806}},{"label":"深水埗区","value":"810106","location":{"lat":22.32921,"lng":114.16856}},{"label":"湾仔区","value":"810107","location":{"lat":22.27469,"lng":114.17778}},{"label":"黄大仙区","value":"810108","location":{"lat":22.34003,"lng":114.19584}},{"label":"油尖旺区","value":"810109","location":{"lat":22.31898,"lng":114.17738}},{"label":"离岛区","value":"810110","location":{"lat":22.2817,"lng":113.94691}},{"label":"葵青区","value":"810111","location":{"lat":22.36055,"lng":114.13654}},{"label":"北区","value":"810112","location":{"lat":22.49181,"lng":114.14312}},{"label":"西贡区","value":"810113","location":{"lat":22.37943,"lng":114.27699}},{"label":"沙田区","value":"810114","location":{"lat":22.3827,"lng":114.19191}},{"label":"屯门区","value":"810115","location":{"lat":22.38767,"lng":113.98029}},{"label":"大埔区","value":"810116","location":{"lat":22.448,"lng":114.16946}},{"label":"荃湾区","value":"810117","location":{"lat":22.37145,"lng":114.12001}},{"label":"元朗区","value":"810118","location":{"lat":22.44243,"lng":114.03181}}]}]},{"label":"澳门特别行政区","value":"820000","location":{"lat":22.19875,"lng":113.54913},"children":[{"label":"澳门特别行政区","value":"820001","location":{"lat":22.19875,"lng":113.54913},"children":[{"label":"澳门半岛","value":"820101","location":{"lat":22.19875,"lng":113.54913}},{"label":"氹仔","value":"820102","location":{"lat":22.156,"lng":113.55962}},{"label":"路氹城","value":"820103","location":{"lat":22.14351,"lng":113.56789}},{"label":"路环","value":"820104","location":{"lat":22.12017,"lng":113.56823}}]}]}]')},cfc8:function(l,t,a){},cfd2:function(l,t,a){"use strict";a("7c4c")},d13d:function(l,t,a){},d1e9:function(l,t,a){},d46f:function(l,t,a){"use strict";a("983e")},d66a:function(l,t,a){},d803:function(l,t,a){"use strict";a("3d94")},d8db:function(l,t,a){},d9d2:function(l,t,a){},db63:function(l,t,a){},db99:function(l,t){l.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAdRJREFUWAntls1xwkAMhXEmDdBCKIEWQgmkhOTuC5SQXHyHEkgLlAAlhBYowXnfRvJk/bMTL5nhYs2I/dFbSfskb1LUdT27pzzcMzixpwQmBiYG/oWBqqqW0qecT/rmBCzwScGzEnhMZS3na9nnZVnuEzgwF2GOYHRmrmEjXbKWnKUfsl/DqvXTywBOpO/CHqQ4S8mrjJ8AdAYWvqTsERBlfrLENI2lw4CAz4IQGLn8DP2/hiWoM7Qz5MJvLAxMUCIusjV7M/QyICsOF9JkArJzu6OCOY7k9x5c85nmlAA7pelIhwEdoJZez84B3zBKqf+b7+ls4XMfhYMh1JN0Uxg7CUTW9ILgVwV1+hu0JUcPcWtY4UIdnPZu+mvYNB+OBoQEeql3fBYD1lg0V0O/O2QUK3R/sFkJaEIa9EUayVATRqCeBfSfFYgGC0Ig6c4C+jbJUHtK4O9CY2OSm8AQ/eyTXFtowr8/RO3Tv9e6IQGoa9RUdlMepI1hwquoOc3I7SO81kFyeiDc3ursfnyk7jxiBwX2Pcat8FkJRE0jp1DJZ7XCa1ssqZXhuDW00yu99HO+GPNvuRxD/1oOo8RwlCujEsgNkjqX+xWkfI6yTQlMDEwMfAN6l5MFcuEs6QAAAABJRU5ErkJggg=="},dd8a:function(l,t,a){},dd8d:function(l,t,a){},de0b:function(l,t,a){"use strict";a("7651")},de37:function(l,t,a){},df07:function(l,t,a){},dfd3:function(l,t,a){"use strict";a("1b47")},e09a:function(l,t,a){},e1f6:function(l,t,a){"use strict";a("626b")},e2f4:function(l,t,a){"use strict";a("98c3")},e457:function(l,t,a){"use strict";a("2c68")},e552:function(l,t,a){},e744:function(l,t,a){},e7d9:function(l,t,a){},e7ec:function(l,t,a){"use strict";a("82a0")},eb9f:function(l,t,a){"use strict";a("4d90")},ed08:function(l,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return u})),a.d(t,"e",(function(){return g})),a.d(t,"d",(function(){return e["a"]}));a("8e6e"),a("456d"),a("96cf"),a("3b8d"),a("a481"),a("bd86"),a("a8db"),a("ac6a"),a("6b54"),a("4328"),a("c1df");var e=a("371c"),n=a("2b0e");new n["default"];var o=a("db22"),i="1234567890abcdef",c=function(l,t){return Object.prototype.toString.call(l)===t};function s(l){return c(l,"[object Number]")}function r(){return o(i,10)}function u(l){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(l,t){return t(l)};l.keys().forEach((function(a){return t(a,l)}))}function g(l,t){for(var a=0;a<t.length;a++)if(l===t[a])return!0;return!1}},ed74:function(l,t){l.exports="data:image/jpeg;base64,/9j/4QlQaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzEzOCA3OS4xNTk4MjQsIDIwMTYvMDkvMTQtMDE6MDk6MDEgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiLz4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8P3hwYWNrZXQgZW5kPSJ3Ij8+/+0ALFBob3Rvc2hvcCAzLjAAOEJJTQQlAAAAAAAQ1B2M2Y8AsgTpgAmY7PhCfv/bAIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgICAwMDAwMDAwMDAwEBAQEBAQECAQECAgIBAgIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD/90ABAAC/+4ADkFkb2JlAGTAAAAAAf/AABEIAB4ADwMAEQABEQECEQH/xABXAAEBAQEAAAAAAAAAAAAAAAAKAAQFAQEAAAAAAAAAAAAAAAAAAAAAEAACAwACAwEAAAAAAAAAAAACBAEDBRESAAYTFREBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAAABEQIRAD8AUx4F4H//0Ff+t+uTtRoaDjP53r+FWuxu6nz+xrVNWzSoqotEwTOhoXDNdAciHaJkyEYmYDla9+azos246NmdmzNYKKXMm3eFVVNdX1YYPjuy0YTbZ1gaxM5gIEIGID//0VYYe6/689DyBVF2qsWcTaqhjP00L+IZztJQ+K20WQjggniYmIIZExEoDLp3osvtMZiB5iN1s2L59jhvyoBRElQLdlNFt1QHz0kxk4DiCIiiTIP/0lMeBeB//9k="},ee0c:function(l,t,a){"use strict";a("161d")},ef96:function(l,t,a){},f109:function(l,t,a){},f236:function(l,t,a){"use strict";a.r(t),a.d(t,"getNearbyShop",(function(){return n}));var e=a("c8f0");function n(l){return e["default"].get("/h5app/wxapp/distributor/list",l)}},f44c:function(l,t,a){"use strict";a("278d")},f54e:function(l,t,a){},f6d9:function(l,t,a){"use strict";a("07f0")},f6e7:function(l,t,a){"use strict";a("0930")},f815:function(l,t,a){"use strict";a("1ac4")},f96c:function(l,t,a){"use strict";a("4818")},f9f8:function(l,t,a){"use strict";a("71d7")},fa36:function(l,t,a){},ff85:function(l,t,a){"use strict";a("183f")},ff86:function(l,t,a){"use strict";a("8e75")},ffb5:function(l,t,a){"use strict";a("16cd")}})}));
|
||
//# sourceMappingURL=app.269a4bc4.js.map
|