1 |
- {"version":3,"sources":["webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-pickersCity/tm-pickersCity.vue?9623","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-pickersCity/tm-pickersCity.vue?3b6d","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-pickersCity/tm-pickersCity.vue?eb21","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-pickersCity/tm-pickersCity.vue?c032","uni-app:///tm-vuetify/components/tm-pickersCity/tm-pickersCity.vue","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-pickersCity/tm-pickersCity.vue?97c7","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-pickersCity/tm-pickersCity.vue?e585"],"names":[],"mappings":"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","file":"tm-vuetify/components/tm-pickersCity/tm-pickersCity.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./tm-pickersCity.vue?vue&type=template&id=537f5a66&scoped=true&\"\nvar renderjs\nimport script from \"./tm-pickersCity.vue?vue&type=script&lang=js&\"\nexport * from \"./tm-pickersCity.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tm-pickersCity.vue?vue&type=style&index=0&id=537f5a66&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 \"537f5a66\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"tm-vuetify/components/tm-pickersCity/tm-pickersCity.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-pickersCity.vue?vue&type=template&id=537f5a66&scoped=true&\"","var components\ntry {\n components = {\n tmPoup: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-poup/tm-poup\" */ \"@/tm-vuetify/components/tm-poup/tm-poup.vue\"\n )\n },\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 tmPickersView: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-pickersView/tm-pickersView\" */ \"@/tm-vuetify/components/tm-pickersView/tm-pickersView.vue\"\n )\n },\n tmButton: function() {\n return import(\n /* webpackChunkName: \"tm-vuetify/components/tm-button/tm-button\" */ \"@/tm-vuetify/components/tm-button/tm-button.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 if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.aniisTrue = false\n }\n\n _vm.e1 = function($event) {\n _vm.aniisTrue = true\n }\n }\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-pickersCity.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-pickersCity.vue?vue&type=script&lang=js&\"","<template>\r\n\r\n\t<view class=\"tm-pickersCity d-inline-block fulled\">\r\n\t\t<view @click.stop.prevent=\"openPoup\"><slot></slot></view>\r\n\t\t<tm-poup @change=\"toogle\" ref=\"pop\" v-model=\"showpop\" :height=\"750\" :bg-color=\"black_tmeme?'grey-darken-5':bgColor\">\r\n\t\t\t<view class=\"tm-pickersCity-title pa-32 pb-16\">\r\n\t\t\t\t<view class=\"text-size-g text-align-center\" style=\"min-height: 48rpx;\">{{title}}</view>\r\n\t\t\t\t<view class=\"tm-pickersCity-close rounded flex-center \" :class=\"black_tmeme?'grey-darken-3':'grey-lighten-3'\">\r\n\t\t\t\t\t<tm-icons @click=\"close\" name=\"icon-times\" size=\"24\" :color=\"black_tmeme?'white':'grey'\"></tm-icons>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<tm-pickersView v-if=\"showpop\" @aniStart=\"aniisTrue=false\" @aniEnd=\"aniisTrue=true\" :default-value=\"dataValue\" :bg-color=\"bgColor\" :black=\"black_tmeme\" :disabled=\"disabled\" ref=\"tmPicKersTest\" :list=\"list\" ></tm-pickersView>\r\n\t\t\t\r\n\t\t\t<view class=\"pa-32\">\r\n\t\t\t\t<tm-button @click=\"confirm\" block itemeClass=\"round-24\" :black=\"black_tmeme\" :theme=\"btnColor\" fontSize=\"32\">{{btnText}}</tm-button>\r\n\t\t\t</view>\r\n\t\t</tm-poup>\r\n\t</view>\r\n</template>\r\n\r\n<script>\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\t/**\r\n\t * 地区选择器(弹层试)\r\n\t * @description 地区选择器(弹层试)\r\n\t * @property {String} title = [] 弹层层标题\r\n\t * @property {String} btn-text = [] 底部按钮确认的文字\r\n\t * @property {String} btn-color = [primary|green|orange|red|blue|bg-gradient-blue-lighten] 默认:bg-gradient-blue-lighten底部按钮确认的背景颜色仅支持主题色名称\r\n\t * @property {String} bg-color = [white|blue] 默认:white,白色背景;请填写背景的主题色名称。 \r\n\t * @property {Function} confirm = [] 返回当前选中的数据\r\n\t * @property {String} level = [province|city|area] ,默认area,显示的级别province:仅显示省,city仅显示省市,area:显示省市区。\r\n\t * @property {Array} default-value = [] 同tm-pckerView格式,可以是数组内:序列,对象,字符串赋值。\r\n\t * @property {String|Boolean} black = [true|false] 是否开启暗黑模式。 \r\n\t * @property {String|Boolean} disabled = [true|false] 是否禁用\r\n\t * @example <tm-pickersCityView ref=\"city\" :defaultValue='[\"上海市\", \"市辖区\", \"徐汇区\"]'></tm-pickersCityView>\r\n\t * \r\n\t * \r\n\t */\r\n\timport tmButton from \"@/tm-vuetify/components/tm-button/tm-button.vue\"\r\n\timport tmPoup from \"@/tm-vuetify/components/tm-poup/tm-poup.vue\"\r\n\timport tmIcons from \"@/tm-vuetify/components/tm-icons/tm-icons.vue\"\r\n\timport tmPickersView from \"@/tm-vuetify/components/tm-pickersView/tm-pickersView.vue\"\r\n\texport default {\r\n\t\tcomponents:{tmButton,tmPoup,tmIcons,tmPickersView},\r\n\t\tname:\"tm-pickersCity\",\r\n\t\tmodel:{\r\n\t\t\tprop:'value',\r\n\t\t\tevent:'input'\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:()=>{return []}\r\n\t\t\t},\r\n\t\t\t// 显示的级别。province,city,area。\r\n\t\t\tlevel:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'area'\r\n\t\t\t},\r\n\t\t\tblack:{\r\n\t\t\t\ttype:String|Boolean,\r\n\t\t\t\tdefault:null\r\n\t\t\t},\r\n\t\t\t// 是否禁用\r\n\t\t\tdisabled:{\r\n\t\t\t\ttype:String|Boolean,\r\n\t\t\t\tdefault:false\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t// 等同v-model,或者value.sync\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: String | Number,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\r\n\t\t\t// 背景颜色,主题色名称。\r\n\t\t\tbgColor:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'white'\r\n\t\t\t},\r\n\t\t\tshow:{\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:true\r\n\t\t\t},\r\n\t\t\t// 顶部标题。\r\n\t\t\ttitle:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'请选择地址' \r\n\t\t\t},\r\n\t\t\t// 底部按钮文件\r\n\t\t\tbtnText:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'确认' \r\n\t\t\t},\r\n\t\t\t// 底部按钮背景主题色名称\r\n\t\t\tbtnColor:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:'primary' \r\n\t\t\t},\r\n\t\t\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tshowpop:false,\r\n\t\t\t\tdataValue:[],\r\n\t\t\t\tlist:[],\r\n\t\t\t\taniisTrue:true,\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\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},\r\n\t\tmounted() {\r\n\t\t\tthis.showpop = this.value;\r\n\t\t\tthis.$nextTick(function(){\r\n\t\t\t\tthis.chili_level();\r\n\t\t\t\tuni.hideKeyboard();\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.showpop = val;\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 获取选中的资料。\r\n\t\t\tgetSelectedValue(){\r\n\t\t\t\tlet d = this.$refs.tmPicKersTest.getSelectedValue();\r\n\t\t\t\tlet p = [];\r\n\t\t\t\tif(this.level=='province'){\r\n\t\t\t\t\tp = [d[0].data.text]\r\n\t\t\t\t}else if(this.level=='city'){\r\n\t\t\t\t\tp = [d[0].data.text,d[1].data.text]\r\n\t\t\t\t}else{\r\n\t\t\t\t\tp = [d[0].data.text,d[1].data.text,d[2].data.text]\r\n\t\t\t\t}\r\n\t\t\t\t//返回对象数组\r\n\t\t\t\tif(typeof this.defaultValue[0] === 'object'){\r\n\t\t\t\t\tthis.$emit(\"update:defaultValue\",[d[0].data,d[1].data,d[2].data])\r\n\t\t\t\t//返回索引数组\r\n\t\t\t\t}else if(typeof this.defaultValue[0] === 'number'){\r\n\t\t\t\t\tthis.$emit(\"update:defaultValue\",[d[0].index,d[1].index,d[2].index])\r\n\t\t\t\t//返回字符串数组\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.$emit(\"update:defaultValue\",p)\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\treturn p;\r\n\t\t\t},\r\n\t\t\tchili_level(){\r\n\t\t\t\tif(this.level=='province'){\r\n\t\t\t\t\tthis.chiliFormatCity_pro();\r\n\t\t\t\t}else if(this.level=='city'){\r\n\t\t\t\t\tthis.chiliFormatCity_city();\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.chiliFormatCity_area();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tchiliFormatCity_area() {\r\n\t\t\t\tlet list = [];\r\n\t\t\t\tprovinceData.forEach((item,index)=>{\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\tchildren:[]\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\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\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\tthis.list = list;\r\n\t\t\t},\r\n\t\t\tchiliFormatCity_pro() {\r\n\t\t\t\tlet list = [];\r\n\t\t\t\tprovinceData.forEach((item,index)=>{\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})\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t\tthis.list = list;\r\n\t\t\t},\r\n\t\t\tchiliFormatCity_city() {\r\n\t\t\t\tlet list = [];\r\n\t\t\t\tprovinceData.forEach((item,index)=>{\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\tchildren:[]\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})\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t\tthis.list = list;\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tconfirm() {\r\n\t\t\t\tif(!this.aniisTrue){\r\n\t\t\t\t\tconsole.log('no');\r\n\t\t\t\t\treturn ;\r\n\t\t\t\t}\r\n\t\t\t\tthis.$emit('confirm',this.getSelectedValue())\r\n\t\t\t\tthis.$refs.pop.close();\r\n\t\t\t},\r\n\t\t\tclose(){\r\n\t\t\t\tthis.$refs.pop.close();\r\n\t\t\t},\r\n\t\t\topenPoup(){\r\n\t\t\t\tif(this.disabled==true) return;\r\n\t\t\t\tthis.showpop=!this.showpop\r\n\t\t\t},\r\n\t\t\ttoogle(e){\r\n\t\t\t\t\r\n\t\t\t\tif(e){\r\n\t\t\t\t\tthis.$nextTick( function(){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(this.dataValue != this.defaultValue){\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tthis.dataValue = this.defaultValue;\r\n\t\t\t\t\t\t\tthis.$refs.tmPicKersTest.setDefaultValue(this.dataValue)\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(!this.dataValue || this.dataValue?.length==0){\r\n\t\t\t\t\t\t\t\tthis.$refs.tmPicKersTest.setDefaultValue([0,0,0])\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tthis.$refs.tmPicKersTest.setDefaultValue(this.dataValue)\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\t\r\n\t\t\t\t\t\tthis.$emit('input',e);\r\n\t\t\t\t\t\tthis.$emit('update:value',e);\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},\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.tm-pickersCity-title {\r\n\t\tposition: relative;\r\n\t\t.tm-pickersCity-close {\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 32upx;\r\n\t\t\tright: 32upx;\r\n\t\t\twidth: 50upx;\r\n\t\t\theight: 50upx;\r\n\t\t\t\r\n\t\t}\r\n\t}\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-pickersCity.vue?vue&type=style&index=0&id=537f5a66&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-pickersCity.vue?vue&type=style&index=0&id=537f5a66&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1678780470203\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":""}
|