1 line
13 KiB
Plaintext
1 line
13 KiB
Plaintext
{"version":3,"sources":["webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/components/PickUpLocationItem/PickUpLocationItem.vue?1040","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/components/PickUpLocationItem/PickUpLocationItem.vue?415d","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/components/PickUpLocationItem/PickUpLocationItem.vue?5af5","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/components/PickUpLocationItem/PickUpLocationItem.vue?d41d","uni-app:///components/PickUpLocationItem/PickUpLocationItem.vue","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/components/PickUpLocationItem/PickUpLocationItem.vue?c523","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/components/PickUpLocationItem/PickUpLocationItem.vue?8eb4"],"names":["name","props","selected","type","default","isCurrent","showRadio","location","methods","changePickUpLocation"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2I;AAC3I;AACsE;AACL;AACsC;;;AAGvG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,wFAAM;AACR,EAAE,yGAAM;AACR,EAAE,kHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6GAAU;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,qOAEN;AACP,KAAK;AACL;AACA,aAAa,+NAEN;AACP,KAAK;AACL;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;AAA+1B,CAAgB,gzBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBC8Bn3B;EACAA;EACAC;IACAC;MACAC;MACAC;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MACAH;MACAC;IACA;IACAG;MACAJ;MACAC;QACA;MACA;IACA;EACA;EACAI;IACAC;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;ACzDA;AAAA;AAAA;AAAA;AAAkmD,CAAgB,u8CAAG,EAAC,C;;;;;;;;;;;ACAtnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/PickUpLocationItem/PickUpLocationItem.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./PickUpLocationItem.vue?vue&type=template&id=08b80c44&scoped=true&\"\nvar renderjs\nimport script from \"./PickUpLocationItem.vue?vue&type=script&lang=js&\"\nexport * from \"./PickUpLocationItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PickUpLocationItem.vue?vue&type=style&index=0&id=08b80c44&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 \"08b80c44\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/PickUpLocationItem/PickUpLocationItem.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--17-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!./PickUpLocationItem.vue?vue&type=template&id=08b80c44&scoped=true&\"","var components\ntry {\n components = {\n uTag: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-tag/u-tag\" */ \"uview-ui/components/u-tag/u-tag.vue\"\n )\n },\n uImage: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-image/u-image\" */ \"uview-ui/components/u-image/u-image.vue\"\n )\n },\n uIcon: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-icon/u-icon\" */ \"uview-ui/components/u-icon/u-icon.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 \"-!../../../../../../../../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--13-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!./PickUpLocationItem.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--13-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!./PickUpLocationItem.vue?vue&type=script&lang=js&\"","<template>\n <block>\n <u-tag v-if=\"isCurrent\" class=\"gg-current-location-tag u-m-l-20\" mode=\"dark\" size=\"mini\" text=\"当前提货点\"\n type=\"error\"/>\n\n <view :class=\"{ selected }\" class=\"gg-current-location u-p-20\" @click=\"changePickUpLocation(location.id)\">\n <u-image :src=\"location.storePath\" border-radius=\"10rpx\" class=\"gg-current-location-img\" height=\"150rpx\"\n width=\"150rpx\"></u-image>\n <view class=\"gg-current-location-msg u-m-l-20 u-m-r-20\">\n <view class=\"gg-current-location-msg-title u-m-b-5\">{{ location.takeName }}</view>\n <view class=\"gg-current-location-msg-distance-address u-m-t-5\">\n <text v-if=\"location.distance\" class=\"gg-current-location-msg-distance u-font-xs u-m-r-20\">\n 距离最近*距离{{ location.distance }}km\n </text>\n <text class=\"gg-current-location-msg-address u-font-xs\">{{ location.detailAddress }}</text>\n </view>\n </view>\n <block v-if=\"showRadio\">\n <view v-if=\"isCurrent\" class=\"gg-current-location-btn\">\n <u-icon color=\"#fa3534\" name=\"checkmark-circle-fill\" size=\"40\"/>\n </view>\n <view v-else class=\"gg-current-location-btn\">\n <u-icon name=\"checkmark-circle-fill\" size=\"40\"/>\n </view>\n </block>\n </view>\n </block>\n</template>\n\n<script>\nexport default {\n name: 'PickUpLocationItem',\n props: {\n selected: {\n type: Boolean,\n default: false\n },\n isCurrent: {\n type: Boolean,\n default: true\n },\n showRadio: {\n type: Boolean,\n default: true\n },\n location: {\n type: Object,\n default: () => {\n return {};\n }\n }\n },\n methods: {\n changePickUpLocation(id) {\n this.$emit('selectPickUpLocation', id);\n }\n }\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.selected {\n background-color: $u-type-info !important;\n}\n\n.gg-current-location {\n display: flex;\n background-color: $u-type-info-light;\n border-radius: 20rpx;\n\n &-tag {\n position: absolute;\n z-index: 9999;\n }\n\n &-msg {\n flex: 1;\n\n &-title {\n font-weight: bold;\n }\n\n &-distance {\n color: $u-type-error;\n }\n\n &-address {\n color: $u-type-info;\n }\n }\n\n &-btn {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n }\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!./PickUpLocationItem.vue?vue&type=style&index=0&id=08b80c44&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!./PickUpLocationItem.vue?vue&type=style&index=0&id=08b80c44&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1704555672057\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":""} |