星油车管小程序
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
14 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/vehicle/index.vue?3685","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/vehicle/index.vue?81c6","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/vehicle/index.vue?ddb7","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/vehicle/index.vue?8598","uni-app:///ChargingStation/pages/vehicle/index.vue","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/vehicle/index.vue?661a","webpack:///C:/Users/lenovo/Documents/HBuilderProjects/Nebula-Flash-Charge_MP-WEIXIN/ChargingStation/pages/vehicle/index.vue?bb95"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","cars","onShow","created","methods","delect","uni","title","content","success","station","setTimeout","icon","that","console","init","goAdd","url","getcars"],"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,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;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAszB,CAAgB,s0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACsB10B;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC,6BACA;EACAC;IACAC;MACA;MACAC;QACAC;QACAC;QACAC;UACA;YACAC;cACAC;gBACAL;kBACAC;kBACAK;kBACAH;oBACAI;kBACA;gBACA;cACA;YACA;UACA;YACAC;UACA;QACA;MACA;IAEA;IACAC;MACA;IACA;IACAC;MACAV;QACAW;MACA;IACA;IACAC;MAAA;MACAR;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC1EA;AAAA;AAAA;AAAA;AAAqiD,CAAgB,y/CAAG,EAAC,C;;;;;;;;;;;ACAzjD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"ChargingStation/pages/vehicle/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/vehicle/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=ed19f74c&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=ed19f74c&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 \"ed19f74c\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"ChargingStation/pages/vehicle/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=ed19f74c&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}\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>\n\t<view class=\"vehicle_body\">\n\t\t<view v-for=\"(item,index) in cars\" :key=\"index\" class=\"vehicle_item\">\r\n\t\t\t<view class=\"vehicle_item_top flex jw ac\">\r\n\t\t\t\t<view class=\"vehicle_item_plateNumber\">{{item.plateNumber}}</view>\r\n\t\t\t\t<view @click=\"delect(item)\">\r\n\t\t\t\t\t<uni-icons type=\"trash\" size=\"15\"></uni-icons>\r\n\t\t\t\t\t<text>删除</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"vehicle_item_bottom\">\r\n\t\t\t\t已绑定车辆\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view @click=\"goAdd\" class=\"vehicle_add flex ac \">\r\n\t\t\t<uni-icons type=\"plus-filled\" size=\"30\"></uni-icons>\r\n\t\t\t<text>添加车辆</text>\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\r\n\timport station from '@/api/station.js'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tcars:[]\n\t\t\t}\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.init()\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t},\n\t\tmethods: {\r\n\t\t\tdelect(item){\r\n\t\t\t\tlet that = this\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\tcontent: '是否确定删除车牌号?',\r\n\t\t\t\t\tsuccess: function (res) {\r\n\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\tstation.deleteVehicleById(item.id).then(res=>{\r\n\t\t\t\t\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\t\ttitle:'删除成功',\r\n\t\t\t\t\t\t\t\t\t\ticon:'none',\r\n\t\t\t\t\t\t\t\t\t\tsuccess() {\r\n\t\t\t\t\t\t\t\t\t\t\tthat.getcars()\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t},1000)\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t} else if (res.cancel) {\r\n\t\t\t\t\t\t\tconsole.log('用户点击取消');\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\t},\r\n\t\t\tinit(){\r\n\t\t\t\tthis.getcars()\r\n\t\t\t},\r\n\t\t\tgoAdd(){\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl:'/ChargingStation/pages/vehicle/binding/index'\r\n\t\t\t\t})\r\n\t\t\t},\n\t\t\tgetcars(){\r\n\t\t\t\tstation.getVehicleAll().then(res=>{\r\n\t\t\t\t\tthis.cars = res.data\r\n\t\t\t\t})\r\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n @import 'index.scss';\n</style>\n","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=ed19f74c&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=ed19f74c&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1702257189238\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":""}