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
13 KiB
1 lines
13 KiB
{"version":3,"sources":["webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/components/stationItem/stationItem.vue?261b","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/components/stationItem/stationItem.vue?47fb","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/components/stationItem/stationItem.vue?32bf","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/components/stationItem/stationItem.vue?cb96","uni-app:///components/stationItem/stationItem.vue","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/components/stationItem/stationItem.vue?6bac","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/components/stationItem/stationItem.vue?f3de"],"names":["name","props","data","type","default","created","console","methods","goDetails","stationLng","stationLat","id","tags","longitude","latitude","uni","url"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACqC;;;AAG/F;AACgN;AAChN,gBAAgB,wNAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;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,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,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA;AAAA;AAAA;AAAA;AAA4zB,CAAgB,40BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBC6Ch1B;EACAA;EACAC;IACAC;MACAC;MACAC;IACA;EACA;EACAF;IACA,QAEA;EACA;EACAG;IACAC;EACA;EACAC;IACAC;MACA;QAAAC;QAAAC;QAAAC;QAAAC;MACA;QACAC;QACAC;MACA;MACAC;QACAC;UACAP;UACAC;UAAAC;UAAAC;QAAA;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AAA4rC,CAAgB,+qCAAG,EAAC,C;;;;;;;;;;;ACAhtC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/stationItem/stationItem.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./stationItem.vue?vue&type=template&id=b1f4f458&scoped=true&\"\nvar renderjs\nimport script from \"./stationItem.vue?vue&type=script&lang=js&\"\nexport * from \"./stationItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./stationItem.vue?vue&type=style&index=0&id=b1f4f458&scoped=true&lang=css&\"\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 \"b1f4f458\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/stationItem/stationItem.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!./stationItem.vue?vue&type=template&id=b1f4f458&scoped=true&\"","var components\ntry {\n components = {\n uniIcons: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-icons/components/uni-icons/uni-icons\" */ \"@/uni_modules/uni-icons/components/uni-icons/uni-icons.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 g0 = _vm.data ? _vm.tool.getnum(_vm.data.unitPrice, 3) : null\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!./stationItem.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!./stationItem.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view v-if=\"data\" @click=\"goDetails\" class=\"stationItem\">\r\n\t\t<!-- 上半部分 -->\r\n\t\t<view class=\"stationItem_top\">\r\n\t\t\t<view class=\"stationItem_top_title\">{{data.name}}</view>\r\n\t\t\t<view class=\"flex ac\">\r\n\t\t\t\t<view class=\" stationItem_top_label_container oneflex flex\">\r\n\t\t\t\t\t<view v-for=\"(item,index) in data.tags\" :key=\"index\" :style=\"{background:item.color}\"\r\n\t\t\t\t\t\tclass=\"stationItem_top_label\"> {{item.label}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"stationItem_distance flex\">\r\n\t\t\t\t\t<uni-icons style=\"margin-right: 10rpx;\" type=\"paperplane-filled\" color=\"#121836\"\r\n\t\t\t\t\t\tsize=\"15\"></uni-icons>\r\n\t\t\t\t\t{{data.distance}}KM\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 下半部分 -->\r\n\t\t<view class=\"stationItem_bottom\">\r\n\t\t\t<view class=\"is_stop_row flex ac\">\r\n\t\t\t\t<image style=\"width: 35rpx;height:40rpx;\" src=\"../../static/stop.png\"></image>\r\n\t\t\t\t{{data.parkFee}}\r\n\t\t\t</view>\r\n\t\t\t<view class=\" flex \">\r\n\t\t\t\t<view class=\"stationItem_bottom_label_container oneflex flex\">\r\n\t\t\t\t\t<view class=\"stationItem_bottom_label flex ac\">\r\n\t\t\t\t\t\t<view class=\"stationItem_bottom_label_logo flex ac jc\">快</view>\r\n\t\t\t\t\t\t<text>{{data.fastChargingIdleRatio}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"stationItem_bottom_label flex ac\">\r\n\t\t\t\t\t\t<view style=\"border: 2rpx solid #36658DFF;color: #36658DFF;\" class=\"stationItem_bottom_label_logo flex ac jc\">慢</view>\r\n\t\t\t\t\t\t<text>{{data.slowChargingIdleRatio}}</text> \r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"stationItem_bottom_label flex ac\">\r\n\t\t\t\t\t\t<view style=\"border: 2rpx solid #F67A22FF;color: #F67A22FF;\" class=\"stationItem_bottom_label_logo flex ac jc\">其他</view>\r\n\t\t\t\t\t\t<text class=\"flex\">{{data.otherIdleRatio}} </text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"stationItem_bottom_price\">¥{{ tool.getnum(data.unitPrice,3) }}/度</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: \"stationItem\",\r\n\t\tprops: {\r\n\t\t\tdata: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t};\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tconsole.log(this.data.tags, 'data.tags')\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgoDetails() { \r\n\t\t\t\tlet {stationLng,stationLat,id,tags} = this.data;\r\n\t\t\t\tlet location = uni.getStorageSync('location') || {\r\n\t\t\t\t\tlongitude: 116.38,\r\n\t\t\t\t\tlatitude: 39.90,\r\n\t\t\t\t} ; \r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: `/ChargingStation/pages/index/index?data=${JSON.stringify({\r\n\t\t\t\t\t\tstationLng:location.longitude ,\r\n\t\t\t\t\t\tstationLat:location.latitude,id,tags})}`\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 scoped>\r\n\t@import 'index.css';\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--6-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-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--6-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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!./stationItem.vue?vue&type=style&index=0&id=b1f4f458&scoped=true&lang=css&\"; 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--6-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-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--6-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!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!./stationItem.vue?vue&type=style&index=0&id=b1f4f458&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1702257188069\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":""} |