xlcs/xlcs-user/unpackage/dist/dev/.sourcemap/mp-weixin/pagesLocation/myPickUpLocation/myPickUpLocation.js.map
2024-01-07 01:10:08 +08:00

1 line
16 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/pagesLocation/myPickUpLocation/myPickUpLocation.vue?e16f","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/pagesLocation/myPickUpLocation/myPickUpLocation.vue?d845","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/pagesLocation/myPickUpLocation/myPickUpLocation.vue?5fd6","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/pagesLocation/myPickUpLocation/myPickUpLocation.vue?774d","uni-app:///pagesLocation/myPickUpLocation/myPickUpLocation.vue","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/pagesLocation/myPickUpLocation/myPickUpLocation.vue?75a2","webpack:////Users/yovinchen/Desktop/project/xlcs/xlcs-user/pagesLocation/myPickUpLocation/myPickUpLocation.vue?9c4b"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","filter","page","limit","latitude","longitude","searchResult","content","last","computed","methods","getSearchLeader","Object","o","result","loadMore","selectPickUpLocation","leaderId","choosePickUpLocation"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,yBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACsC;;;AAGrG;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,uGAAM;AACR,EAAE,gHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2GAAU;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,sTAEN;AACP,KAAK;AACL;AACA,aAAa,oPAEN;AACP,KAAK;AACL;AACA,aAAa,qOAEN;AACP,KAAK;AACL;AACA,aAAa,2OAEN;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACzEA;AAAA;AAAA;AAAA;AAA61B,CAAgB,8yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;ACuBj3B;AAIA;AAAA;AAAA,eAEA;EACAC;IACA;MACAC;QACAC;QAAA;QACAC;QAAA;QACAC;QAAA;QACAC;MACA;;MACAC;QACAC;QAAA;QACAC;MACA;IACA;EACA;;EACAC,0CACA,mEACA,kEACA;EACAC,yCACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACA;kBACAC,8DACAN;kBACAM;gBACA;;gBAEA;gBACA;gBAEAC;kBACAV;kBACAD;kBACAG;kBACAD;gBACA;gBAAA;gBAAA,OAEA;cAAA;gBAAAU;gBACA,qDACAA;kBACAP;gBAAA,EACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACAQ;MACA;QACA;QACA;MACA;IACA;IACA;IACAC;MACA;QACAC;MACA;IACA;IACA;IACAC;MACA;IACA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;AC3FA;AAAA;AAAA;AAAA;AAAgmD,CAAgB,q8CAAG,EAAC,C;;;;;;;;;;;ACApnD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesLocation/myPickUpLocation/myPickUpLocation.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesLocation/myPickUpLocation/myPickUpLocation.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./myPickUpLocation.vue?vue&type=template&id=009b593b&scoped=true&\"\nvar renderjs\nimport script from \"./myPickUpLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./myPickUpLocation.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myPickUpLocation.vue?vue&type=style&index=0&id=009b593b&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 \"009b593b\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesLocation/myPickUpLocation/myPickUpLocation.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!./myPickUpLocation.vue?vue&type=template&id=009b593b&scoped=true&\"","var components\ntry {\n components = {\n PickUpLocationHeader: function () {\n return import(\n /* webpackChunkName: \"components/PickUpLocationHeader/PickUpLocationHeader\" */ \"@/components/PickUpLocationHeader/PickUpLocationHeader.vue\"\n )\n },\n PickUpLocationItem: function () {\n return import(\n /* webpackChunkName: \"components/PickUpLocationItem/PickUpLocationItem\" */ \"@/components/PickUpLocationItem/PickUpLocationItem.vue\"\n )\n },\n uEmpty: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-empty/u-empty\" */ \"uview-ui/components/u-empty/u-empty.vue\"\n )\n },\n uButton: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-button/u-button\" */ \"uview-ui/components/u-button/u-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 var m0 = _vm.leaderAddressVo\n ? _vm.checkIsCurrent(_vm.leaderAddressVo.leaderId)\n : null\n var g0 = _vm.searchResult.content.length\n var l0 =\n g0 > 0\n ? _vm.__map(_vm.searchResult.content, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var m1 = _vm.checkIsCurrent(item.id)\n return {\n $orig: $orig,\n m1: m1,\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n g0: g0,\n l0: l0,\n },\n }\n )\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!./myPickUpLocation.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!./myPickUpLocation.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"gg u-p-20\">\r\n\t\t<PickUpLocationHeader @getSearchLeader=\"getSearchLeader\" />\r\n\t\t<view v-if=\"leaderAddressVo\" class=\"gg-current-location-container u-m-t-20\">\r\n\t\t\t<PickUpLocationItem :isCurrent=\"checkIsCurrent(leaderAddressVo.leaderId)\" :location=\"leaderAddressVo\">\r\n\t\t\t</PickUpLocationItem>\r\n\t\t</view>\r\n\r\n\t\t<scroll-view class=\"gg-location-sv-container\" scroll-y @scrolltolower=\"loadMore\">\r\n\t\t\t<block v-if=\"searchResult.content.length > 0\">\r\n\t\t\t\t<view v-for=\"(item, index) in searchResult.content\" :key=\"item.id\" class=\"u-m-b-20\">\r\n\t\t\t\t\t<PickUpLocationItem :isCurrent=\"checkIsCurrent(item.id)\" :location=\"item\"\r\n\t\t\t\t\t\t@selectPickUpLocation=\"selectPickUpLocation\"></PickUpLocationItem>\r\n\t\t\t\t</view>\r\n\t\t\t</block>\r\n\t\t\t<u-empty v-else mode=\"list\"></u-empty>\r\n\t\t</scroll-view>\r\n\r\n\t\t<u-button type=\"warning\" @click=\"choosePickUpLocation\">搜索并选择其它提货点</u-button>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapGetters,\r\n\t\tmapActions\r\n\t} from 'vuex';\r\n\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tfilter: {\r\n\t\t\t\t\tpage: 1, // 当前页码\r\n\t\t\t\t\tlimit: 5, // 每页记录数\r\n\t\t\t\t\tlatitude: '', // 经度\r\n\t\t\t\t\tlongitude: '' // 纬度\r\n\t\t\t\t},\r\n\t\t\t\tsearchResult: {\r\n\t\t\t\t\tcontent: [], // 搜索的结果\r\n\t\t\t\t\tlast: false // 是否已经最后\r\n\t\t\t\t}\r\n\t\t\t};\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t...mapState('pickUpLocationModule', ['leaderAddressVo']),\r\n\t\t\t...mapGetters('pickUpLocationModule', ['checkIsCurrent'])\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions('pickUpLocationModule', ['selectLeaderAddressVoAction']),\r\n\t\t\tasync getSearchLeader(data) {\r\n\t\t\t\tif (data) {\r\n\t\t\t\t\tObject.assign(this.$data.searchResult, this.$options.data()\r\n\t\t\t\t\t\t.searchResult); // 这里重置 searchResult 下的所有数据\r\n\t\t\t\t\tObject.assign(this.$data.filter, this.$options.data().filter); // 这里重置 filter 下的所有数据\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.filter.latitude = data ? data.latitude : this.filter.latitude;\r\n\t\t\t\tthis.filter.longitude = data ? data.longitude : this.filter.longitude;\r\n\r\n\t\t\t\tconst o = {\r\n\t\t\t\t\tlimit: this.filter.limit,\r\n\t\t\t\t\tpage: this.filter.page,\r\n\t\t\t\t\tlongitude: this.filter.longitude,\r\n\t\t\t\t\tlatitude: this.filter.latitude\r\n\t\t\t\t};\r\n\r\n\t\t\t\tlet result = await this.$u.api.getSearchLeader(o);\r\n\t\t\t\tthis.searchResult = {\r\n\t\t\t\t\t...result,\r\n\t\t\t\t\tcontent: [...this.searchResult.content, ...result.content]\r\n\t\t\t\t};\r\n\t\t\t},\r\n\t\t\t// 加载更多数据\r\n\t\t\tloadMore() {\r\n\t\t\t\tif (!this.searchResult.last) {\r\n\t\t\t\t\tthis.filter.page = this.filter.page + 1;\r\n\t\t\t\t\tthis.getSearchLeader();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 选择提货点\r\n\t\t\tselectPickUpLocation(leaderId) {\r\n\t\t\t\tif (leaderId) this.selectLeaderAddressVoAction({\r\n\t\t\t\t\tleaderId\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 选择其它提货点\r\n\t\t\tchoosePickUpLocation() {\r\n\t\t\t\tthis.$u.route('/pagesLocation/choosePickUpLocation/choosePickUpLocation');\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.gg {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: space-between;\r\n\t\theight: 100%;\r\n\r\n\t\t&-current-location-container {\r\n\t\t\tflex: 1;\r\n\t\t}\r\n\r\n\t\t&-location-sv-container {\r\n\t\t\theight: calc(100vh - 450rpx);\r\n\t\t}\r\n\t}\r\n</style>","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!./myPickUpLocation.vue?vue&type=style&index=0&id=009b593b&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!./myPickUpLocation.vue?vue&type=style&index=0&id=009b593b&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1704555671942\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":""}