hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/components/simple-address/simple-address.js.map

1 line
23 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/simple-address/simple-address.vue?36be","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/simple-address/simple-address.vue?1e53","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/simple-address/simple-address.vue?4306","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/simple-address/simple-address.vue?8232","uni-app:///components/simple-address/simple-address.vue","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/simple-address/simple-address.vue?74db","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/simple-address/simple-address.vue?45eb"],"names":[],"mappings":"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","file":"components/simple-address/simple-address.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./simple-address.vue?vue&type=template&id=646dba24&scoped=true&\"\nvar renderjs\nimport script from \"./simple-address.vue?vue&type=script&lang=js&\"\nexport * from \"./simple-address.vue?vue&type=script&lang=js&\"\nimport style0 from \"./simple-address.vue?vue&type=style&index=0&id=646dba24&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"646dba24\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/simple-address/simple-address.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./simple-address.vue?vue&type=template&id=646dba24&scoped=true&\"","var components\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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./simple-address.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./simple-address.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"simple-address\" v-if=\"showPopup\" @touchmove.stop.prevent=\"clear\">\n\t\t<!-- 遮罩层 -->\n\t\t<view\n\t\t\tclass=\"simple-address-mask\"\n\t\t\t@touchmove.stop.prevent=\"clear\"\n\t\t\tv-if=\"maskClick\"\n\t\t\t:class=\"[ani + '-mask', animation ? 'mask-ani' : '']\"\n\t\t\t:style=\"{\n\t\t\t\t'background-color': maskBgColor\n\t\t\t}\"\n\t\t\t@tap=\"hideMask(true)\"\n\t\t></view>\n\n\t\t<view class=\"simple-address-content simple-address--fixed\" :class=\"[type, ani + '-content', animation ? 'content-ani' : '']\">\n\t\t\t<view class=\"simple-address__header\">\n\t\t\t\t<view class=\"simple-address__header-btn-box\" @click=\"pickerCancel\">\n\t\t\t\t\t<text class=\"simple-address__header-text\" :style=\"{ color: cancelColor, fontSize: btnFontSize }\">取消</text>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"simple-address__header-btn-box\" @click=\"pickerConfirm\">\n\t\t\t\t\t<text class=\"simple-address__header-text\" :style=\"{ color: confirmColor || themeColor, fontSize: btnFontSize }\">确定</text>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"simple-address__box\">\n\t\t\t\t<picker-view indicator-style=\"height: 70rpx;\" class=\"simple-address-view\" :value=\"pickerValue\" @change=\"pickerChange\">\n\t\t\t\t\t<picker-view-column>\n\t\t\t\t\t\t<!-- #ifndef APP-NVUE -->\n\t\t\t\t\t\t<view class=\"picker-item\" :style=\"{ fontSize: fontSize }\" v-for=\"(item, index) in provinceDataList\" :key=\"index\">{{ item.label }}</view>\n\t\t\t\t\t\t<!-- #endif -->\n\t\t\t\t\t\t<!-- #ifdef APP-NVUE -->\n\t\t\t\t\t\t<text class=\"picker-item\" :style=\"{ fontSize: fontSize }\" v-for=\"(item, index) in provinceDataList\" :key=\"index\">{{ item.label }}</text>\n\t\t\t\t\t\t<!-- #endif -->\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column>\n\t\t\t\t\t\t<!-- #ifndef APP-NVUE -->\n\t\t\t\t\t\t<view class=\"picker-item\" :style=\"{ fontSize: fontSize }\" v-for=\"(item, index) in cityDataList\" :key=\"index\">{{ item.label }}</view>\n\t\t\t\t\t\t<!-- #endif -->\n\t\t\t\t\t\t<!-- #ifdef APP-NVUE -->\n\t\t\t\t\t\t<text class=\"picker-item\" :style=\"{ fontSize: fontSize }\" v-for=\"(item, index) in cityDataList\" :key=\"index\">{{ item.label }}</text>\n\t\t\t\t\t\t<!-- #endif -->\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t\t<picker-view-column>\n\t\t\t\t\t\t<!-- #ifndef APP-NVUE -->\n\t\t\t\t\t\t<view class=\"picker-item\" :style=\"{ fontSize: fontSize }\" v-for=\"(item, index) in areaDataList\" :key=\"index\">{{ item.label }}</view>\n\t\t\t\t\t\t<!-- #endif -->\n\t\t\t\t\t\t<!-- #ifdef APP-NVUE -->\n\t\t\t\t\t\t<text class=\"picker-item\" :style=\"{ fontSize: fontSize }\" v-for=\"(item, index) in areaDataList\" :key=\"index\">{{ item.label }}</text>\n\t\t\t\t\t\t<!-- #endif -->\n\t\t\t\t\t</picker-view-column>\n\t\t\t\t</picker-view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n/**\n * Simple-addres 地址联动组件\n * @description 三级地址联动支持appnvue、小程序、H5\n * @tutorial https://ext.dcloud.net.cn/plugin?id=1084\n * @property {String} animation 是否开启动画\n * @property {String} type = [bottom] 弹出层类型,暂时只支持底部弹出\n * @property {Boolean} maskClick = [true | false] 是否允许点击遮罩层关闭\n * @property {Boolean} show = [true | false] 显示或隐藏地址组件\n * @property {String} maskBgColor 遮罩层背景颜色\n * @property {String} cancelColor 取消按钮颜色,默认为:#1aad19\n * @property {String} confirmColor 确认按钮颜色默认为themeColor\n * @property {String} themeColor 主题颜色,后续会废弃该配置,建议使用`cancelColor`或`confirmColor`\n * @property {String} btnFontSize 取消、确认按钮字体大小,默认为`uni.scss里的 $uni-font-size-base `\n * @property {String} fontSize picker-item字体大小默认为28rpx\n * @property {Array} pickerValueDefault 默认值可以通过function queryIndex 获取\n * @property {Function} queryIndex 根据自定义信息返回对应的index\n * @property {Function} open 打开\n * @example <simple-address ref=\"simpleAddress\" :pickerValueDefault=\"cityPickerValueDefault\" @onConfirm=\"onConfirm\" themeColor='#007AFF'></simple-address>\n */\n\nimport provinceData from './city-data/province.js';\nimport cityData from './city-data/city.js';\nimport areaData from './city-data/area.js';\nexport default {\n\tname: 'simpleAddress',\n\tprops: {\n\t\tmode: {\n\t\t\t// 地址类型\n\t\t\t// default 则代表老版本根据index索引获取数据\n\t\t\t//\n\t\t\ttype: String,\n\t\t\tdefault: 'default'\n\t\t},\n\t\t// 开启动画\n\t\tanimation: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t/* 弹出层类型,可选值;\n\t\t\t\tbottom底部弹出层\n\t\t\t*/\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'bottom'\n\t\t},\n\t\t// maskClick\n\t\tmaskClick: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tshow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tmaskBgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: 'rgba(0, 0, 0, 0.4)' //背景颜色 rgba(0, 0, 0, 0.4) 为空则调用 uni.scss\n\t\t},\n\t\tthemeColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '' // 确认按钮颜色(向下兼容)\n\t\t},\n\t\tcancelColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '' // 取消按钮颜色\n\t\t},\n\t\tconfirmColor: {\n\t\t\ttype: String,\n\t\t\tdefault: '' // 确认按钮颜色\n\t\t},\n\t\tfontSize: {\n\t\t\ttype: String,\n\t\t\tdefault: '28rpx' // picker-item字体大小\n\t\t},\n\t\tbtnFontSize: {\n\t\t\ttype: String,\n\t\t\tdefault: '' // 按钮的字体大小\n\t\t},\n\t\t/* 默认值 */\n\t\tpickerValueDefault: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [0, 0, 0];\n\t\t\t}\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tani: '',\n\t\t\tshowPopup: false,\n\t\t\tpickerValue: [0, 0, 0],\n\t\t\tprovinceDataList: [],\n\t\t\tcityDataList: [],\n\t\t\tareaDataList: []\n\t\t};\n\t},\n\twatch: {\n\t\tshow(newValue) {\n\t\t\tif (newValue) {\n\t\t\t\tthis.open();\n\t\t\t} else {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t},\n\t\tpickerValueDefault() {\n\t\t\tthis.init();\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.init();\n\t},\n\tmethods: {\n\t\tinit() {\n\t\t\tthis.handPickValueDefault(); // 对 pickerValueDefault 做兼容处理\n\t\t\tthis.provinceDataList = provinceData;\n\t\t\tthis.cityDataList = cityData[this.pickerValueDefault[0]];\n\t\t\tthis.areaDataList = areaData[this.pickerValueDefault[0]][this.pickerValueDefault[1]];\n\t\t\tthis.pickerValue = this.pickerValueDefault;\n\t\t},\n\t\thandPickValueDefault() {\n\t\t\tif (this.pickerValueDefault !== [0, 0, 0]) {\n\t\t\t\tif (this.pickerValueDefault[0] > provinceData.length - 1) {\n\t\t\t\t\tthis.pickerValueDefault[0] = provinceData.length - 1;\n\t\t\t\t}\n\t\t\t\tif (this.pickerValueDefault[1] > cityData[this.pickerValueDefault[0]].length - 1) {\n\t\t\t\t\tthis.pickerValueDefault[1] = cityData[this.pickerValueDefault[0]].length - 1;\n\t\t\t\t}\n\t\t\t\tif (this.pickerValueDefault[2] > areaData[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length - 1) {\n\t\t\t\t\tthis.pickerValueDefault[2] = areaData[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length - 1;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tpickerChange(e) {\n\t\t\tlet changePickerValue = e.detail.value;\n\t\t\tif (this.pickerValue[0] !== changePickerValue[0]) {\n\t\t\t\t// 第一级发生滚动\n\t\t\t\tthis.cityDataList = cityData[changePickerValue[0]];\n\t\t\t\tthis.areaDataList = areaData[changePickerValue[0]][0];\n\t\t\t\tchangePickerValue[1] = 0;\n\t\t\t\tchangePickerValue[2] = 0;\n\t\t\t} else if (this.pickerValue[1] !== changePickerValue[1]) {\n\t\t\t\t// 第二级滚动\n\t\t\t\tthis.areaDataList = areaData[changePickerValue[0]][changePickerValue[1]];\n\t\t\t\tchangePickerValue[2] = 0;\n\t\t\t}\n\t\t\tthis.pickerValue = changePickerValue;\n\t\t\tthis._$emit('onChange');\n\t\t},\n\t\t_$emit(emitName) {\n\t\t\tlet pickObj = {\n\t\t\t\tlabel: this._getLabel(),\n\t\t\t\tvalue: this.pickerValue,\n\t\t\t\tcityCode: this._getCityCode(),\n\t\t\t\tareaCode: this._getAreaCode(),\n\t\t\t\tprovinceCode: this._getProvinceCode(),\n\t\t\t\tlabelArr: this._getLabel().split('-')\n\t\t\t};\n\t\t\tthis.$emit(emitName, pickObj);\n\t\t},\n\t\t_getLabel() {\n\t\t\tlet pcikerLabel =\n\t\t\t\tthis.provinceDataList[this.pickerValue[0]].label + '-' + this.cityDataList[this.pickerValue[1]].label + '-' + this.areaDataList[this.pickerValue[2]].label;\n\t\t\treturn pcikerLabel;\n\t\t},\n\t\t_getCityCode() {\n\t\t\treturn this.cityDataList[this.pickerValue[1]].value;\n\t\t},\n\t\t_getProvinceCode() {\n\t\t\treturn this.provinceDataList[this.pickerValue[0]].value;\n\t\t},\n\t\t_getAreaCode() {\n\t\t\treturn this.areaDataList[this.pickerValue[2]].value;\n\t\t},\n\t\tqueryIndex(params = [], type = 'value') {\n\t\t\t// params = [ 11 ,1101,110101 ];\n\t\t\t// 1.获取省份的index\n\t\t\tlet provinceIndex = provinceData.findIndex(res => res[type] == params[0]);\n\t\t\tlet cityIndex = cityData[provinceIndex].findIndex(res => res[type] == params[1]);\n\t\t\tlet areaIndex = areaData[provinceIndex][cityIndex].findIndex(res => res[type] == params[2]);\n\t\t\treturn {\n\t\t\t\tindex: [provinceIndex, cityIndex, areaIndex],\n\t\t\t\tdata: {\n\t\t\t\t\tprovince: provinceData[provinceIndex],\n\t\t\t\t\tcity: cityData[provinceIndex][cityIndex],\n\t\t\t\t\tarea: areaData[provinceIndex][cityIndex][areaIndex]\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\tclear() {},\n\t\thideMask() {\n\t\t\tthis._$emit('onCancel');\n\t\t\tthis.close();\n\t\t},\n\t\tpickerCancel() {\n\t\t\tthis._$emit('onCancel');\n\t\t\tthis.close();\n\t\t},\n\t\tpickerConfirm() {\n\t\t\tthis._$emit('onConfirm');\n\t\t\tthis.close();\n\t\t},\n\t\topen() {\n\t\t\tthis.showPopup = true;\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.ani = 'simple-' + this.type;\n\t\t\t\t}, 100);\n\t\t\t});\n\t\t},\n\t\tclose(type) {\n\t\t\tif (!this.maskClick && type) return;\n\t\t\tthis.ani = '';\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.showPopup = false;\n\t\t\t\t}, 300);\n\t\t\t});\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.simple-address {\n\t/* #ifndef APP-NVUE */\n\tdisplay: flex;\n\t/* #endif */\n\tflex-direction: column;\n}\n\n.simple-address-mask {\n\tposition: fixed;\n\tbottom: 0;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\n\ttransition-property: opacity;\n\ttransition-duration: 0.3s;\n\topacity: 0;\n\t/* #ifndef APP-NVUE */\n\tz-index: 99;\n\t/* #endif */\n}\n\n.mask-ani {\n\ttransition-property: opacity;\n\ttransition-duration: 0.2s;\n}\n\n.simple-bottom-mask {\n\topacity: 1;\n}\n\n.simple-center-mask {\n\topacity: 1;\n}\n\n.simple-address--fixed {\n\tposition: fixed;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\ttransition-property: transform;\n\ttransition-duration: 0.3s;\n\ttransform: translateY(460rpx);\n\t/* #ifndef APP-NVUE */\n\tz-index: 99;\n\t/* #endif */\n}\n\n.simple-address-content {\n\tbackground-color: #ffffff;\n}\n\n.simple-content-bottom {\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\ttransform: translateY(500rpx);\n}\n\n.content-ani {\n\ttransition-property: transform, opacity;\n\ttransition-duration: 0.2s;\n}\n\n.simple-bottom-content {\n\ttransform: translateY(0);\n}\n\n.simple-center-content {\n\ttransform: scale(1);\n\topacity: 1;\n}\n\n.simple-address__header {\n\tposition: relative;\n\t/* #ifndef APP-NVUE */\n\tdisplay: flex;\n\t/* #endif */\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\tborder-bottom-color: #f2f2f2;\n\tborder-bottom-style: solid;\n\tborder-bottom-width: 1rpx;\n}\n\n.simple-address--fixed-top {\n\t/* #ifndef APP-NVUE */\n\tdisplay: flex;\n\t/* #endif */\n\tflex-direction: row;\n\tjustify-content: space-between;\n\tborder-top-color: $uni-border-color;\n\tborder-top-style: solid;\n\tborder-top-width: 1rpx;\n}\n\n.simple-address__header-btn-box {\n\t/* #ifndef APP-NVUE */\n\tdisplay: flex;\n\t/* #endif */\n\tflex-direction: row;\n\talign-items: center;\n\tjustify-content: center;\n\theight: 70rpx;\n}\n\n.simple-address__header-text {\n\ttext-align: center;\n\tfont-size: $uni-font-size-base;\n\tcolor: #1aad19;\n\tline-height: 70rpx;\n\tpadding-left: 40rpx;\n\tpadding-right: 40rpx;\n}\n\n.simple-address__box {\n\tposition: relative;\n}\n\n.simple-address-view {\n\tposition: relative;\n\tbottom: 0;\n\tleft: 0;\n\t/* #ifndef APP-NVUE */\n\twidth: 100%;\n\t/* #endif */\n\t/* #ifdef APP-NVUE */\n\twidth: 750rpx;\n\t/* #endif */\n\theight: 408rpx;\n\tbackground-color: rgba(255, 255, 255, 1);\n}\n\n.picker-item {\n\ttext-align: center;\n\tline-height: 70rpx;\n\ttext-overflow: ellipsis;\n\tfont-size: 28rpx;\n}\n</style>\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./simple-address.vue?vue&type=style&index=0&id=646dba24&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./simple-address.vue?vue&type=style&index=0&id=646dba24&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1653900082191\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""}