tm-quickCity.js.map 38 KB

1
  1. {"version":3,"sources":["webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-quickCity/tm-quickCity.vue?275d","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-quickCity/tm-quickCity.vue?7471","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-quickCity/tm-quickCity.vue?e838","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-quickCity/tm-quickCity.vue?133b","uni-app:///tm-vuetify/components/tm-quickCity/tm-quickCity.vue","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-quickCity/tm-quickCity.vue?b11b","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-quickCity/tm-quickCity.vue?fddf"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACmM;AACnM,gBAAgB,0MAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,yNAEN;AACP,KAAK;AACL;AACA,aAAa,mNAEN;AACP,KAAK;AACL;AACA,aAAa,uPAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC3CA;AAAA;AAAA;AAAA;AAAywB,CAAgB,uwBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A,CACA,kCADA,CACA;AACA,oDAFA,CAEA;AAEA,sCACA,UACA,CACA,oBACA,SACA,CATA,CAUA;AACA,2BACA,CAtDA,CAEA,IAFA,GAEA,EAFA,CAGA,cAHA,GAGA,EAHA,CAIA,kDACA,0DAEA,0BACA,YAEA,CACA,YACA,cADA,EAEA,gBAFA,EAGA,YAHA,EAIA,YAJA,IAOA,CAdA,EAeA,8CACA,uCACA,4BACA,eADA,EAEA,iBAFA,EAGA,qDAHA,EAIA,YAJA,IAMA,CAPA,EAQA,CATA,EAUA,qCACA,gDACA,uDACA,6CACA,eADA,EAEA,qDAFA,EAGA,iBAHA,IAKA,CANA,EAOA,CARA,EASA,CAVA,EA6CA,IA1EA,GA0EA,UA1EA,CAqHA,KArHA,GAqHA,WArHA,CAsHA,IAtHA,GAsHA,sBAtHA,CAuHA,mBAvHA;;AAyHA,oBAzHA;;AA2HA,KAzVA;;AA2VA,YA3VA,oBA2VA,OA3VA,EA2VA;AACA;AACA;AACA;AACA;AACA;AACA,4BADA;AAEA,4BAFA;AAGA,sCAHA;;;AAMA;AACA;AACA,KAxWA,EA3GA,E;;;;;;;;;;;;;AC7HA;AAAA;AAAA;AAAA;AAA48C,CAAgB,k4CAAG,EAAC,C;;;;;;;;;;;ACAh+C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"tm-vuetify/components/tm-quickCity/tm-quickCity.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./tm-quickCity.vue?vue&type=template&id=454578e6&scoped=true&\"\nvar renderjs\nimport script from \"./tm-quickCity.vue?vue&type=script&lang=js&\"\nexport * from \"./tm-quickCity.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tm-quickCity.vue?vue&type=style&index=0&id=454578e6&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"454578e6\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"tm-vuetify/components/tm-quickCity/tm-quickCity.vue\"\nexport default component.exports","export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-quickCity.vue?vue&type=template&id=454578e6&scoped=true&\"","var components\ntry {\n components = {\n tmIcons: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-icons/tm-icons\" */ \"@/tm-vuetify/components/tm-icons/tm-icons.vue\"\n )\n },\n tmTags: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-tags/tm-tags\" */ \"@/tm-vuetify/components/tm-tags/tm-tags.vue\"\n )\n },\n tmQuickIndex: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-quickIndex/tm-quickIndex\" */ \"@/tm-vuetify/components/tm-quickIndex/tm-quickIndex.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-quickCity.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-quickCity.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"tm-quickCity fulled\">\r\n\t\t\r\n\t\t<view @click=\"qiehuan\"><slot ></slot></view>\r\n\t\t<view @click.stop=\"qiehuan\" v-if=\"showbgOpen\" class=\"tm-quickCity-fullbg fulled fixed b-0 l-0\" :style=\"{height:sysHeight+'px'}\">\r\n\t\t\t\r\n\t\t\t<view :style=\"{height:(height+250+content_jian_height)+'rpx'}\" @click.stop=\"\" :class=\"[black_tmeme?'grey-darken-5 bk':'white']\" class=\" tm-quickCity-wk absolute fulled round-t-10\" >\r\n\t\t\t\t<view class=\"tm-quickCity-title px-32 pt-32 shadow-4 relative\">\r\n\t\t\t\t\t<view class=\"text-size-g text-weight-b mb-32 relative\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t请选择城市位置\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view @click.stop=\"qiehuan\" class=\"tm-calendar-close rounded flex-center\" :class=\"black_tmeme?'grey-darken-3':'grey-lighten-3'\">\r\n\t\t\t\t\t\t\t<tm-icons dense name=\"icon-times\" size=\"24\" :color=\"black_tmeme?'white':'grey'\"></tm-icons>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"flex-start pb-24\">\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<view :class=\"[pageIndex==0?`outlined ${color_tmeme} text-weight-b`:'outlined grey',black_tmeme?'bk':'']\" @click=\"indexChange(0)\" class=\" px-12 py-6 round-10 flex-center text-size-s mr-24 flex-shrink\">\r\n\t\t\t\t\t\t\t<text>{{childrenIndx[0]!==null?childrenIndx[0].title:'请选择省'}}</text>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view v-if=\"childrenIndx[0]!==null\" class=\"flex-center pr-24\">\r\n\t\t\t\t\t\t\t<tm-icons :color=\"black_tmeme?'white':'grey'\" :size=\"24\" dense name=\"icon-angle-right\"></tm-icons>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"max-width: 120rpx;\" :class=\"[pageIndex==1?`outlined ${color_tmeme} text-weight-b`:'outlined grey',black_tmeme?'bk':'']\" @click=\"indexChange(1)\" v-if=\"childrenIndx[0]!==null\" class=\"px-12 py-6 round-10 flex-center text-size-s mr-24 pb-10 \">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<text class=\"text-overflow\">{{childrenIndx[1]!==null?childrenIndx[1].title:'请选择市'}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view v-if=\"childrenIndx[1]!==null\" class=\"flex-center pr-24\">\r\n\t\t\t\t\t\t\t<tm-icons :color=\"black_tmeme?'white':'grey'\" :size=\"24\" dense name=\"icon-angle-right\"></tm-icons>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"max-width: 220rpx;\" :class=\"[pageIndex==2?`outlined ${color_tmeme} text-weight-b`:'outlined grey',black_tmeme?'bk':'']\" @click=\"indexChange(2)\" v-if=\"childrenIndx[1]!==null\" class=\"px-12 py-6 round-10 flex-center text-size-s mr-24 pb-10 \"> \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<text class=\"text-overflow\">{{childrenIndx[2]!==null?childrenIndx[2].title:'请选择县/区'}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"hotCity_chuli.length>0\" class=\"tm-quickCity-jg py-24\">\r\n\t\t\t\t\t<view :class=\"[black_tmeme?'grey-darken-5':'grey-lighten-4 text']\" class=\"text-size-s text-weight-b py-12 px-32\">热门城市</view>\r\n\t\t\t\t\t<view class=\"px-20 pt-12\">\r\n\t\t\t\t\t\t<tm-tags model=\"text\" rounded :black=\"black_tmeme\" @click=\"selectedDefaultHot(index)\" v-for=\"(item,index) in hotCity_chuli\" :key=\"index\" color=\"white\" :fllowTheme=\"fllowTheme\">\r\n\t\t\t\t\t\t{{item[1]?item[1]:item[0]}}\r\n\t\t\t\t\t\t</tm-tags>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-show=\"pageIndex==0\">\r\n\t\t\t\t\t<tm-quickIndex :black=\"black_tmeme\" :fllowTheme=\"false\" :color=\"color_tmeme\" key=\"ref_k_1\" v-model=\"active\" :height=\"content_height\" :list=\"list\">\r\n\t\t\t\t\t\t<template v-slot:cell=\"{data}\">\r\n\t\t\t\t\t\t\t<view @click=\"cityClick_pr(data,0)\" :class=\"[data.black?'bk':'',data.children!==data.total-1?'border-grey-lighten-4-b-1':'']\" class=\"py-24 mx-32 flex-between\">\r\n\t\t\t\t\t\t\t\t<view class=\"text-size-n flex-start\" >\r\n\t\t\t\t\t\t\t\t\t<view v-if=\"data.item['checked']\" class=\"mr-24\">\r\n\t\t\t\t\t\t\t\t\t\t<tm-icons :color=\"data.color\" dense name=\"icon-check\"></tm-icons>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<text :class=\"[data.item['checked']?'text-'+data.color+' text-weight-b':'']\" class=\"text-size-n\">\r\n\t\t\t\t\t\t\t\t\t\t{{data.title}}\r\n\t\t\t\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</tm-quickIndex>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"pageIndex==1\">\r\n\t\t\t\t\t<tm-quickIndex :black=\"black_tmeme\" :fllowTheme=\"false\" :color=\"color_tmeme\" key=\"ref_k_2\" v-model=\"active_2\" v-if=\"childrenIndx[0]\" :height=\"content_height\" :list=\"childrenIndx[0].children\">\r\n\t\t\t\t\t\t<template #cell=\"{data}\">\r\n\t\t\t\t\t\t\t<view @click=\"cityClick_pr(data,1)\" :class=\"[data.black?'bk':'',data.children!==data.total-1?'border-grey-lighten-4-b-1':'']\" class=\"py-24 mx-32 border-grey-lighten-4-b-1 flex-between\">\r\n\t\t\t\t\t\t\t\t<view class=\"text-size-n flex-start\" >\r\n\t\t\t\t\t\t\t\t\t<view v-if=\"data.item['checked']\" class=\"mr-24\">\r\n\t\t\t\t\t\t\t\t\t\t<tm-icons :color=\"data.color\" dense name=\"icon-check\"></tm-icons>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<text :class=\"[data.item['checked']?'text-'+data.color+' text-weight-b':'']\" class=\"text-size-n\">\r\n\t\t\t\t\t\t\t\t\t\t{{data.title}}\r\n\t\t\t\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</tm-quickIndex>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view v-if=\"pageIndex==2\">\r\n\t\t\t\t\t<tm-quickIndex :black=\"black_tmeme\" :fllowTheme=\"false\" :color=\"color_tmeme\" key=\"ref_k_3\" v-model=\"active_3\" v-if=\"childrenIndx[1]\" :height=\"content_height\" :list=\"childrenIndx[1].children\">\r\n\t\t\t\t\t\t<template #cell=\"{data}\">\r\n\t\t\t\t\t\t\t<view @click=\"cityClick_pr(data,2)\" :class=\"[data.black?'bk':'',data.children!==data.total-1?'border-grey-lighten-4-b-1':'']\" class=\"py-24 mx-32 border-grey-lighten-4-b-1 flex-between\">\r\n\t\t\t\t\t\t\t\t<view class=\"text-size-n flex-start\" >\r\n\t\t\t\t\t\t\t\t\t<view v-if=\"data.item['checked']\" class=\"mr-24\">\r\n\t\t\t\t\t\t\t\t\t\t<tm-icons :color=\"data.color\" dense name=\"icon-check\"></tm-icons>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<text :class=\"[data.item['checked']?'text-'+data.color+' text-weight-b':'']\" class=\"text-size-n\">\r\n\t\t\t\t\t\t\t\t\t\t{{data.title}}\r\n\t\t\t\t\t\t\t\t\t</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</tm-quickIndex>\r\n\t\t\t\t</view>\r\n\t\t\t\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * 城区索引选择\r\n\t * @property {Boolean} value = [true|false] 显示和隐藏组件,请使用v-model或者value.sync你也可以不提供些参数,使用默认插槽也可打开,请见示例。\r\n\t * @property {Array} default-value = [] 默认选择的地址:[],字符串数组,如[\"江西省\",\"南昌市\"]。使用.sync双向绑定。\r\n\t * @property {Array} hot-city = [] 默认选择的地址:[],格式同default-value\r\n\t * @property {String} color = [] 默认:primary,主题色\r\n\t * @property {Number} height = [] 默认:1000,组件高度,单位rpx\r\n\t * @property {Boolean} black = [true|false] 默认:false,是否深色模式\r\n\t * @property {Function} change 选中地址时触发,返回当前选中的地区数组。\r\n\t */\r\n\timport provinceData from '@/tm-vuetify/tool/util/province.js';\r\n\timport cityData from '@/tm-vuetify/tool/util/city.js';\r\n\timport areaData from '@/tm-vuetify/tool/util/area.js';\r\n\timport queryCnChart from \"@/tm-vuetify/tool/function/findCnChart.js\";\r\n\r\n\t\r\n\timport tmQuickIndex from \"@/tm-vuetify/components/tm-quickIndex/tm-quickIndex.vue\"\r\n\timport tmListitem from \"@/tm-vuetify/components/tm-listitem/tm-listitem.vue\"\r\n\timport tmGrouplist from \"@/tm-vuetify/components/tm-grouplist/tm-grouplist.vue\"\r\n\timport tmIcons from \"@/tm-vuetify/components/tm-icons/tm-icons.vue\"\r\n\timport tmTags from \"@/tm-vuetify/components/tm-tags/tm-tags.vue\"\r\n\texport default {\r\n\t\tcomponents:{tmQuickIndex,tmListitem,tmGrouplist,tmIcons,tmTags\r\n\t\t},\r\n\t\tname:\"tm-quickCity\",\r\n\t\tmodel:{\r\n\t\t\tevent:'input',\r\n\t\t\tprop:'value'\r\n\t\t},\r\n\t\tprops:{\r\n\t\t\tdefaultValue:{\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:()=>{\r\n\t\t\t\t\treturn [];\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\thotCity:{\r\n\t\t\t\ttype:Array,\r\n\t\t\t\tdefault:()=>[[\"江西省\",\"南昌市\"],[\"北京市\"],[\"广东省\",\"广州市\"],[\"浙江省\",\"杭州市\"],[\"重庆市\"],[\"湖南省\",\"长沙市\"],[\"湖北省\",\"武汉市\"],[\"四川省\",\"成都市\"]]\r\n\t\t\t},\r\n\t\t\tcolor:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:\"primary\"\r\n\t\t\t},\r\n\t\t\theight:{\r\n\t\t\t\ttype:String|Number,\r\n\t\t\t\tdefault:900\r\n\t\t\t},\r\n\t\t\tvalue:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t},\r\n\t\t\tblack:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:null\r\n\t\t\t},\r\n\t\t\t// 跟随主题色的改变而改变。\r\n\t\t\tfllowTheme:{\r\n\t\t\t\ttype:Boolean|String,\r\n\t\t\t\tdefault:true\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tremen:[[\"江西省\",\"南昌市\"],[\"北京市\"],[\"广东省\",\"广州市\"],[\"浙江省\",\"杭州市\"],[\"重庆市\"],[\"湖南省\",\"长沙市\"],[\"湖北省\",\"武汉市\"],[\"四川省\",\"成都市\"]],\r\n\t\t\t\tlist:[],\r\n\t\t\t\tactive:0,\r\n\t\t\t\tactive_2:0,\r\n\t\t\t\tactive_3:0,\r\n\t\t\t\tchildrenIndx:[null,null,null],\r\n\t\t\t\tindexobj:{\r\n\t\t\t\t\tpr:null,\r\n\t\t\t\t\tar:null,\r\n\t\t\t\t\tco:null\r\n\t\t\t\t},\r\n\t\t\t\tpageIndex:0,\r\n\t\t\t\tsysHeight:0,\r\n\t\t\t\tshowbgOpen:false,\r\n\t\t\t\t\r\n\t\t\t\tcontent_height:0,\r\n\t\t\t\tcontent_jian_height:0,\r\n\t\t\t\thotCity_chuli:[]\r\n\t\t\t};\r\n\t\t},\r\n\t\twatch:{\r\n\t\t\tvalue:function(val){\r\n\t\t\t\tthis.show = val;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tdestroyed() {\r\n\t\t\tthis.list=[];\r\n\t\t\tthis.childrenIndx=[];\r\n\t\t},\r\n\t\tcomputed:{\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tblack_tmeme: function() {\r\n\t\t\t\tif (this.black !== null) return this.black;\r\n\t\t\t\treturn this.$tm.vx.state().tmVuetify.black;\r\n\t\t\t},\r\n\t\t\tcolor_tmeme:function(){\r\n\t\t\t\tif(this.$tm.vx.state().tmVuetify.color!==null&&this.$tm.vx.state().tmVuetify.color && this.fllowTheme){\r\n\t\t\t\t\treturn this.$tm.vx.state().tmVuetify.color;\r\n\t\t\t\t}\r\n\t\t\t\treturn this.color;\r\n\t\t\t},\r\n\t\t\tshow:{\r\n\t\t\t\tget:function(){\r\n\t\t\t\t\treturn this.showbgOpen;\r\n\t\t\t\t},\r\n\t\t\t\tset:function(val){\r\n\t\t\t\t\tthis.showbgOpen = val;\r\n\t\t\t\t\tthis.$emit('input',val);\r\n\t\t\t\t\tthis.$emit('update:value',val);\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tasync mounted() {\r\n\t\t\tthis.sysHeight = uni.getSystemInfoSync().windowHeight;\r\n\t\t\tthis.show = this.value;\r\n\t\t\tthis.content_height = this.height;\r\n\t\t\tthis.hotCity_chuli_fun();\r\n\t\t\tawait this.chiliFormatCity_area()\r\n\t\t\tawait this.setDefaultValue();\r\n\t\t\tawait this.content_heightToh();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\thotCity_chuli_fun(){\r\n\t\t\t\tlet hot = uni.$tm.deepClone(this.hotCity);\r\n\t\t\t\tlet hostar = [];\r\n\t\t\t\thot.forEach(item=>{\r\n\t\t\t\t\tif(item.length==1) hostar.push([item[0],null,null])\r\n\t\t\t\t\tif(item.length==2) hostar.push([item[0],item[1],null])\r\n\t\t\t\t\tif(item.length==3) hostar.push([item[0],item[1],item[2]])\r\n\t\t\t\t})\r\n\t\t\t\tthis.hotCity_chuli = [...hostar];\r\n\t\t\t},\r\n\t\t\tasync qiehuan(){\r\n\t\t\t\tthis.show = !this.showbgOpen\r\n\t\t\t\tawait this.content_heightToh();\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tasync content_heightToh(){\r\n\t\t\t\t// if(!this.showbgOpen) return;\r\n\t\t\t\tif(this.hotCity_chuli.length==0){\r\n\t\t\t\t\treturn this.height;\r\n\t\t\t\t}\r\n\t\t\t\tthis.$nextTick(async function(){\r\n\t\t\t\t\tlet h = await this.$Querey(\".tm-quickCity-jg\",this).catch(e=>{});\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(!h[0]) return;\r\n\t\t\t\t\th = h[0].height;\r\n\t\t\t\t\t\r\n\t\t\t\t\tlet blv = uni.upx2px(4) / 4;\r\n\t\t\t\t\tthis.content_jian_height = (h+h*blv)\r\n\t\t\t\t\tthis.content_height = parseInt(this.height - this.content_jian_height);\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync selectedDefaultHot(index){\r\n\t\t\t\tvar a=[[\"江西省\",\"南昌市\"],[\"北京市\"],[\"广东省\",\"广州市\"],[\"浙江省\",\"杭州市\"],[\"重庆市\"],[\"湖南省\",\"长沙市\"],[\"湖北省\",\"武汉市\"],[\"四川省\",\"成都市\"]];\r\n\t\t\t\tthis.$emit('update:defaultValue',a[index]);\r\n\t\t\t\tlet chl = this.childrenIndx[0];\r\n\t\t\t\tif(chl){\r\n\t\t\t\t\tthis.$set(this.list[chl.index].children[chl.childrenIndex],'checked',false)\r\n\t\t\t\t}\r\n\t\t\t\tthis.childrenIndx=[null,null,null];\r\n\t\t\t\tthis.$nextTick(async function(){\r\n\t\t\t\t\tawait this.setDefaultValue()\r\n\t\t\t\t\tthis.cityClick_pr(this.list[this.childrenIndx[0]],this.childrenIndx[0])\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync setDefaultValue(){\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tfunction chuili(ix){\r\n\t\t\t\t\tlet pitem = null;\r\n\t\t\t\t\tlet chilIndex=-1;\r\n\t\t\t\t\tlet pdindex = -1;\r\n\t\t\t\t\tif(ix==0&&t.defaultValue[ix]){\r\n\t\t\t\t\t\t pdindex = t.list.findIndex((item)=>{\r\n\t\t\t\t\t\t\tlet citem = item.children\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tlet index = citem.findIndex(ditem=>{\r\n\t\t\t\t\t\t\t\tif(ditem.title == t.defaultValue[ix]){\r\n\t\t\t\t\t\t\t\t\tpitem = ditem;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\treturn ditem.title == t.defaultValue[ix]\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tif(index>-1){\r\n\t\t\t\t\t\t\t\tchilIndex = index;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn index>-1;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}else if(t.defaultValue[ix]){\r\n\t\t\t\t\t\tlet dsst = t.childrenIndx[ix-1].children\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t pdindex = dsst.findIndex((item)=>{\r\n\t\t\t\t\t\t\tlet citem = item.children\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tlet index = citem.findIndex(ditem=>{\r\n\t\t\t\t\t\t\t\tif(ditem.title == t.defaultValue[ix]){\r\n\t\t\t\t\t\t\t\t\tpitem = ditem;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\treturn ditem.title == t.defaultValue[ix]\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\tif(index>-1){\r\n\t\t\t\t\t\t\t\tchilIndex = index;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn index>-1;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn {prevent:pdindex,chileIndex:chilIndex,item:pitem};\r\n\t\t\t\t}\r\n\t\t\t\tlet d = chuili(0)\r\n\t\t\t\tif(d.prevent>-1){\r\n\t\t\t\t\tlet chl = this.childrenIndx[0];\r\n\t\t\t\t\tif(chl){\r\n\t\t\t\t\t\tthis.$set(this.list[chl.index].children[chl.childrenIndex],'checked',false)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tt.childrenIndx.splice(0,1,{\r\n\t\t\t\t\t\tindex:d.prevent,\r\n\t\t\t\t\t\tchildrenIndex:d.chileIndex,\r\n\t\t\t\t\t\ttitle:d.item.title,\r\n\t\t\t\t\t\tchildren:t.chuliKey(d.item.children)\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\r\n\t\t\t\t\tt.active = d.prevent;\r\n\t\t\t\t\tthis.$set(this.list[d.prevent].children[d.chileIndex],'checked',true)\r\n\t\t\t\t}\r\n\t\t\t\tif(t.defaultValue[1]){\r\n\t\t\t\t\tlet d = chuili(1)\r\n\t\t\t\t\tlet chl = this.childrenIndx[1];\r\n\t\t\t\t\tif(chl){\r\n\t\t\t\t\t\tthis.$set(this.childrenIndx[0].children[chl.index].children[chl.childrenIndex],'checked',false)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tt.childrenIndx.splice(1,1,{\r\n\t\t\t\t\t\tindex:d.prevent,\r\n\t\t\t\t\t\tchildrenIndex:d.chileIndex,\r\n\t\t\t\t\t\ttitle:d.item.title,\r\n\t\t\t\t\t\tchildren:t.chuliKey(d.item.children)\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.$set(this.childrenIndx[0].children[d.prevent].children[d.chileIndex],'checked',true)\r\n\t\t\t\t}else{\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tawait uni.$tm.sleep(50)\r\n\t\t\t\tif(t.defaultValue[2]){\r\n\t\t\t\t\tlet d = chuili(2)\r\n\t\t\t\t\t\r\n\t\t\t\t\tlet chl = this.childrenIndx[2];\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(chl){\r\n\t\t\t\t\t\tthis.$set(this.childrenIndx[1].children[chl.index].children[chl.childrenIndex],'checked',false)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tt.childrenIndx.splice(2,1,{\r\n\t\t\t\t\t\tindex:d.prevent,\r\n\t\t\t\t\t\tchildrenIndex:d.chileIndex,\r\n\t\t\t\t\t\ttitle:d.item.title,\r\n\t\t\t\t\t\tchildren:[]\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\r\n\t\t\t\t\tthis.$set(this.childrenIndx[1].children[d.prevent].children[d.chileIndex],'checked',true)\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tindexChange(index){\r\n\t\t\t\tlet t= this;\r\n\t\t\t\tthis.pageIndex = index;\r\n\t\t\t\tthis.childrenIndx.forEach((item,idx)=>{\r\n\t\t\t\t\tif(idx===index && item!==null){\r\n\t\t\t\t\t\tif(t.defaultValue[idx]==item.title){\r\n\t\t\t\t\t\t\tif(idx==0){\r\n\t\t\t\t\t\t\t\tt.active = item.index;\r\n\t\t\t\t\t\t\t}else if(idx==1){\r\n\t\t\t\t\t\t\t\tt.active_2 = item.index;\r\n\t\t\t\t\t\t\t}else if(idx==2){\r\n\t\t\t\t\t\t\t\tt.active_3 = item.index;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tcityClick_pr(data_item,tindex){\r\n\t\t\t\tif(tindex===0){\r\n\t\t\t\t\tlet chl = this.childrenIndx[0];\r\n\t\t\t\t\tif(chl){\r\n\t\t\t\t\t\tthis.$set(this.list[chl.index].children[chl.childrenIndex],'checked',false)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.childrenIndx=[{\r\n\t\t\t\t\t\tindex:data_item.prevent,\r\n\t\t\t\t\t\tchildrenIndex:data_item.children,\r\n\t\t\t\t\t\ttitle:data_item.title,\r\n\t\t\t\t\t\tchildren:this.chuliKey(data_item.item.children)\r\n\t\t\t\t\t},null,null]\r\n\t\t\t\t\tthis.$set(this.indexobj,'pr',data_item.prevent)\r\n\t\t\t\t\tthis.$set(this.indexobj,'ar',null)\r\n\t\t\t\t\tthis.$set(this.indexobj,'co',null)\r\n\t\t\t\t\tthis.pageIndex=1;\r\n\t\t\t\t\t\r\n\t\t\t\t\tthis.$set(this.list[data_item.prevent].children[data_item.children],'checked',true)\r\n\t\t\t\t}else if(tindex===1){\r\n\t\t\t\t\tlet chl = this.childrenIndx[1]\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(chl){\r\n\t\t\t\t\t\tthis.$set(this.childrenIndx[0].children[chl.index].children[chl.childrenIndex],'checked',false)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.childrenIndx.splice(1,1,{\r\n\t\t\t\t\t\tindex:data_item.prevent,\r\n\t\t\t\t\t\tchildrenIndex:data_item.children,\r\n\t\t\t\t\t\ttitle:data_item.title,\r\n\t\t\t\t\t\tchildren:this.chuliKey(data_item.item.children)\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.childrenIndx.splice(2,1,null)\r\n\t\t\t\t\tthis.$set(this.indexobj,'pr',data_item.prevent)\r\n\t\t\t\t\tthis.$set(this.indexobj,'ar',data_item.prevent)\r\n\t\t\t\t\tthis.$set(this.indexobj,'co',null)\r\n\t\t\t\t\tthis.pageIndex=2;\r\n\t\t\t\t\tthis.$set(this.childrenIndx[0].children[data_item.prevent].children[data_item.children],'checked',true)\r\n\t\t\t\t}else if(tindex===2){\r\n\t\t\t\t\tlet chl = this.childrenIndx[2]\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(chl){\r\n\t\t\t\t\t\tthis.$set(this.childrenIndx[1].children[chl.index].children[chl.childrenIndex],'checked',false)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.childrenIndx.splice(2,1,{\r\n\t\t\t\t\t\tindex:data_item.prevent,\r\n\t\t\t\t\t\tchildrenIndex:data_item.children,\r\n\t\t\t\t\t\ttitle:data_item.title,\r\n\t\t\t\t\t\tchildren:[]\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.$set(this.indexobj,'pr',data_item.prevent)\r\n\t\t\t\t\tthis.$set(this.indexobj,'ar',data_item.prevent)\r\n\t\t\t\t\tthis.$set(this.indexobj,'co',data_item.prevent)\r\n\t\t\t\t\tthis.$set(this.childrenIndx[1].children[data_item.prevent].children[data_item.children],'checked',true)\r\n\t\t\t\t}\r\n\t\t\t\tlet cdite = this.defaultValue;\r\n\t\t\t\tthis.childrenIndx.forEach((item,index)=>{\r\n\t\t\t\t\tif(item){\r\n\t\t\t\t\t\tcdite.splice(index,1,item.title)\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tcdite.splice(index,1,null)\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\tthis.$emit(\"update:defaultValue\",cdite)\r\n\t\t\t\tthis.$emit(\"change\",cdite)\r\n\t\t\t},\r\n\t\t\t//处理地区数据以便符合规范。\r\n\t\t\tasync chiliFormatCity_area() {\r\n\t\t\t\t\r\n\t\t\t\tlet list = [];\r\n\t\t\t\tlet list_index_Str = []\r\n\t\t\t\tprovinceData.forEach((item,index)=>{\r\n\t\t\t\t\tlet quick = queryCnChart(item.label[0])[\"0\"];\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(item.label=='重庆市'){\r\n\t\t\t\t\t\tquick = 'C'\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlist.push({\r\n\t\t\t\t\t\tid:item.value,\r\n\t\t\t\t\t\ttext:item.label,\r\n\t\t\t\t\t\tquick:quick,\r\n\t\t\t\t\t\tchildren:[]\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t\tcityData.forEach((item,index)=>{\r\n\t\t\t\t\titem.forEach((citem,cindex)=>{\r\n\t\t\t\t\t\tlist[index].children.push({\r\n\t\t\t\t\t\t\tid:citem.value,\r\n\t\t\t\t\t\t\ttext:citem.label,\r\n\t\t\t\t\t\t\tquick:queryCnChart(citem.label[0])[\"0\"],\r\n\t\t\t\t\t\t\tchildren:[]\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\tlist.forEach((item,index)=>{\r\n\t\t\t\t\titem.children.forEach((citem,cindex)=>{\r\n\t\t\t\t\t\tareaData[index][cindex].forEach(jitem=>{\r\n\t\t\t\t\t\t\tlist[index].children[cindex].children.push({\r\n\t\t\t\t\t\t\t\tid:jitem.value,\r\n\t\t\t\t\t\t\t\tquick:queryCnChart(jitem.label[0])[\"0\"],\r\n\t\t\t\t\t\t\t\ttext:jitem.label\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tfunction sortFun(a,b){\r\n\t\t\t\t\t var nameA = a.quick.toUpperCase(); // ignore upper and lowercase\r\n\t\t\t\t\t var nameB = b.quick.toUpperCase(); // ignore upper and lowercase\r\n\t\t\t\t\t \r\n\t\t\t\t\t if (nameA < nameB) {\r\n\t\t\t\t\t\t\treturn -1;\r\n\t\t\t\t\t }\r\n\t\t\t\t\t if (nameA > nameB) {\r\n\t\t\t\t\t\t\treturn 1;\r\n\t\t\t\t\t }\r\n\t\t\t\t\t // names must be equal\r\n\t\t\t\t\t return 0;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tfunction sort(itemArray){\r\n\t\t\t\t\tif(typeof itemArray === 'object' && Array.isArray(itemArray)){\r\n\t\t\t\t\t\titemArray.sort(sortFun)\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\treturn itemArray;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor(let i=0;i<itemArray.length;i++){\r\n\t\t\t\t\t\tlet cl = itemArray[i]['children'];\r\n\t\t\t\t\t\tif(typeof cl === 'object' && Array.isArray(cl)){\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\titemArray[i]['children'] = sort(cl);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn itemArray;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tlet plst = sort(list);\r\n\t\t\t\t\r\n\t\t\t\tfunction fenzu(ar){\r\n\t\t\t\t\tlet jg = {};\r\n\t\t\t\t\tfor(let i=0;i<ar.length;i++){\r\n\t\t\t\t\t\tlet cl = ar[i]['children'];\r\n\t\t\t\t\t\tif(typeof cl === 'object' && Array.isArray(cl)){\r\n\t\t\t\t\t\t\tif(typeof jg[ar[i].quick] !=='undefined'){\r\n\t\t\t\t\t\t\t\tjg[ar[i].quick].push({\r\n\t\t\t\t\t\t\t\t\ttitle:ar[i].text,\r\n\t\t\t\t\t\t\t\t\tindex:ar[i].quick,\r\n\t\t\t\t\t\t\t\t\tchildren:fenzu(cl)\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tjg[ar[i].quick] = [];\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tjg[ar[i].quick].push({\r\n\t\t\t\t\t\t\t\t\ttitle:ar[i].text,\r\n\t\t\t\t\t\t\t\t\tindex:ar[i].quick,\r\n\t\t\t\t\t\t\t\t\tchildren:fenzu(cl)\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\tif(typeof jg[ar[i].quick] !=='undefined'){\r\n\t\t\t\t\t\t\t\tjg[ar[i].quick].push({\r\n\t\t\t\t\t\t\t\t\ttitle:ar[i].text,\r\n\t\t\t\t\t\t\t\t\tindex:ar[i].quick,\r\n\t\t\t\t\t\t\t\t\tchildren:ar[i]\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tjg[ar[i].quick] = [];\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tjg[ar[i].quick].push({\r\n\t\t\t\t\t\t\t\t\ttitle:ar[i].text,\r\n\t\t\t\t\t\t\t\t\tindex:ar[i].quick,\r\n\t\t\t\t\t\t\t\t\tchildren:ar[i]\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn jg;\r\n\t\t\t\t}\r\n\t\t\t\tlet ruslt = fenzu(plst);\r\n\t\t\t\tlet tddd = this.chuliKey(ruslt);\r\n\t\t\t\tthis.list = tddd;\r\n\t\t\t\t\r\n\t\t\t\treturn tddd;\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tchuliKey(arritem){\r\n\t\t\t\tlet ruslt = arritem;\r\n\t\t\t\tlet zuihojg = [];\r\n\t\t\t\tlet keyarray = Object.keys(arritem);\r\n\t\t\t\tfor(let i=0;i<keyarray.length;i++){\r\n\t\t\t\t\tzuihojg.push({\r\n\t\t\t\t\t\ttitle:keyarray[i],\r\n\t\t\t\t\t\tindex:keyarray[i],\r\n\t\t\t\t\t\tchildren:ruslt[keyarray[i]]\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\treturn zuihojg;\r\n\t\t\t}\r\n\t\t}, \r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.tm-quickCity{\r\n\t.tm-quickCity-fullbg{\r\n\t\tbackground-color: rgba(0,0,0,0.3);\r\n\t\r\n\t\tz-index: 501;\r\n\t\t.tm-quickCity-wk{\r\n\t\t\tbottom: 0;\r\n\t\t\tleft: 0;\r\n\t\t\t.tm-quickCity-title{\r\n\t\t\t\tz-index: 10;\r\n\t\t\t\t.tm-calendar-close {\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\ttop: 0rpx;\r\n\t\t\t\t\tright: 0rpx;\r\n\t\t\t\t\theight: 50rpx;\r\n\t\t\t\t\tline-height: 50rpx;\r\n\t\t\t\t\twidth: 50rpx;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-quickCity.vue?vue&type=style&index=0&id=454578e6&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-quickCity.vue?vue&type=style&index=0&id=454578e6&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1678780470076\n var cssReload = require(\"D:/yzm/exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}