星油车管小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
15 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/collect/index.vue?480f","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/collect/index.vue?e70c","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/collect/index.vue?be51","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/collect/index.vue?b028","uni-app:///ChargingStation/pages/collect/index.vue","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/collect/index.vue?7efc","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/collect/index.vue?d861"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","stationItem","data","pageData","currentPage","stationName","stationLng","stationLat","sortType","viewData","onLoad","created","onShow","methods","difSource","label","color","difTags","res","item","result","source","getList","station","scrolltolower","uni","title","icon"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,cAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC9H;AACyD;AACL;AACsC;;;AAG1F;AACgN;AAChN,gBAAgB,wNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,4FAAM;AACR,EAAE,qGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,gGAAU;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;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAszB,CAAgB,s0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;ACS10B;AACA;AAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eAEA;EACAC;IACAC;EACA;EACAC;IACA;MACA;MACAC;QACAC;QACAC;QACAC;QACAC;QACAC;MACA;MACAC;IACA;EACA;EACAC;EACAC,6BACA;EACAC;IACA;IACA;EACA;EACAC;IACAC;MACA;QACA;UACA;YACAC;YACAC;UACA;QACA;UACA;YACAD;YACAC;UACA;QACA;UACA;YACAD;YACAC;UACA;QACA;UACA;YACAD;YACAC;UACA;QACA;UACA;YACAD;YACAC;UACA;QACA;UACA;YACAD;YACAC;UACA;MAAA;IAEA;IACAC;MAAA;MACAC;QACAC;UACA;UACA;YACA;cACAC;gBACAL;gBACAC;cACA;cACA;YACA;cACA;cACAI,2BACAC,OACA;cACA;UAAA;UAEA;QACA;QACA;UACAN;UACAC;QACA;MACA;IACA;IACAM;MAAA;MACAC;QACA;UACA;UACA;YACA;YACA;UACA;YACA;UACA;QACA;MACA;IACA;IACAC;MACAC;QACAC;QACAC;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACrHA;AAAA;AAAA;AAAA;AAAqiD,CAAgB,y/CAAG,EAAC,C;;;;;;;;;;;ACAzjD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"ChargingStation/pages/collect/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './ChargingStation/pages/collect/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=8a821e50&scoped=true&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=8a821e50&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\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 \"8a821e50\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"ChargingStation/pages/collect/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=8a821e50&scoped=true&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var g0 = _vm.viewData.list && _vm.viewData.list.length\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"periodPrice_body\">\r\n\t\t<scroll-view v-if=\"viewData.list&&viewData.list.length\" style=\"height: 100%;\" scroll-y=\"true\" @scrolltolower='scrolltolower'>\r\n\t\t\t<station-item :data=\"item\" :key=\"index\" v-for=\"(item,index) in viewData.list\"></station-item>\r\n\t\t</scroll-view>\r\n\t\t<image class=\"qx\" v-else src=\"@/static/qs.png\" mode=\"\"></image>\r\n\t</view>\r\n</template>\r\n<script> \r\n\timport station from '@/api/station.js'\r\n\timport {page} from \"./AntiCorruptionLayer.js\"\r\n\timport stationItem from \"@/components/stationItem/stationItem.vue\" \r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tstationItem\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t // uni.getStorageSync('location').longitude\r\n\t\t\t\tpageData: {\r\n\t\t\t\t\tcurrentPage: 1,\r\n\t\t\t\t\tstationName: '',\r\n\t\t\t\t\tstationLng: uni.getStorageSync('location').longitude||116.38,\r\n\t\t\t\t\tstationLat: uni.getStorageSync('location').latitude||39.90,\r\n\t\t\t\t\tsortType: ''\r\n\t\t\t\t},\r\n\t\t\t\tviewData:null,\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {},\r\n\t\tcreated() {\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.pageData.currentPage = 1\r\n\t\t\tthis.getList();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tdifSource(e) {\r\n\t\t\t\tswitch (e) {\r\n\t\t\t\t\tcase 'XXCD':\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tlabel: '星星充电',\r\n\t\t\t\t\t\t\t\tcolor: '#E48011CC'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tcase 'QT':\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tlabel: '其他',\r\n\t\t\t\t\t\t\t\tcolor: '#121836CC'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tcase 'KD':\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tlabel: '快电',\r\n\t\t\t\t\t\t\t\tcolor: '#FF5F0FCC'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tcase 'TLD':\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tlabel: '特来电',\r\n\t\t\t\t\t\t\t\tcolor: '#7AA0F4CC'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tcase 'YKC':\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tlabel: '云快充',\r\n\t\t\t\t\t\t\t\tcolor: '#00A7EBCC'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\tcase 'ZGGD':\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\tlabel: '中国国电',\r\n\t\t\t\t\t\t\t\tcolor: '#27AB3BCC'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdifTags(res) {\r\n\t\t\t\tres.data.forEach((item, index) => {\r\n\t\t\t\t\titem['tags'] = ['maxCurrent', 'createSource'].map((tag, tagIndex) => {\r\n\t\t\t\t\t\tlet result = {}\r\n\t\t\t\t\t\tswitch (tag) {\r\n\t\t\t\t\t\t\tcase 'maxCurrent':\r\n\t\t\t\t\t\t\t\tresult = {\r\n\t\t\t\t\t\t\t\t\tlabel: `最大${item[tag]}A`,\r\n\t\t\t\t\t\t\t\t\tcolor: '#6EA29BCC'\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\tcase 'createSource':\r\n\t\t\t\t\t\t\t\tlet source = this.difSource(item[tag]);\r\n\t\t\t\t\t\t\t\tresult = {\r\n\t\t\t\t\t\t\t\t\t...source\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn result\r\n\t\t\t\t\t});\r\n\t\t\t\t\tif (index == 0) item['tags'].unshift({\r\n\t\t\t\t\t\tlabel: '距离最近',\r\n\t\t\t\t\t\tcolor: '#36658DFF'\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgetList() {\r\n\t\t\t\tstation.getCollectStations(this.pageData).then(res => {\r\n\t\t\t\t\tif (res.code == 20000) {\r\n\t\t\t\t\t\tthis.difTags(res);\r\n\t\t\t\t\t\tif (this.pageData.currentPage !== 1) {\r\n\t\t\t\t\t\t\tlet data = new this.tool.Anticorrosive(res, page);\r\n\t\t\t\t\t\t\tthis.viewData.list = this.viewData.list.concat(data.list)\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthis.viewData = new this.tool.Anticorrosive(res, page);\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},\r\n\t\t\tscrolltolower() {\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '到底了',\r\n\t\t\t\t\ticon: 'none'\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@import 'index.scss';\r\n</style>","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&id=8a821e50&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&id=8a821e50&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1702257189389\n var cssReload = require(\"D:/hbuliderx/HBuilderX.3.3.11.20220209.full/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":""}