1 line
13 KiB
Plaintext
1 line
13 KiB
Plaintext
{"version":3,"sources":["webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myCar/myCar.vue?97b6","uni-app:///main.js","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myCar/myCar.vue?2c92","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myCar/myCar.vue?8834","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myCar/myCar.vue?6490","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myCar/myCar.vue?a146","uni-app:///pages/myCar/myCar.vue","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myCar/myCar.vue?eba9"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","computed","config","components","VNavigationBar","data","carList","carNum","name","phone","image","onLoad","onShow","methods","getList","url","method","console","gotoDetail","uni"],"mappings":";;;;;;;;;AAAA;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;;;;ACNL;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;AACmL;AACnL,gBAAgB,uLAAU;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;AAAkrB,CAAgB,iqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;AC0BtsB;AACA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eAEA;EACAC;IACAC;MACA;IACA;EACA;EACAC;IACAC;EACA;EACAC;IACA;MACAC,UACA;QACAC;QACAC;QACAC;QACAC;MACA;IAEA;EACA;EACAC;IAEA;IACA;EACA;EACAC;IACA;IACA;EACA;EACAC;IAEAC;MAAA;MACA;QACAC;QACAC;MACA;QACAC;QACA;QACAA;MACA;IACA;IAEAC;MACA;QACAC;UACAJ;QACA;MACA,OACA;QACAI;UACAJ;QACA;MACA;IAEA;EAEA;AACA;AAAA,2B;;;;;;;;;;;;;ACvFA;AAAA;AAAA;AAAA;AAAqxC,CAAgB,irCAAG,EAAC,C","file":"pages/myCar/myCar.js","sourcesContent":["// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1727181939260\n var cssReload = require(\"E:/Developer/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 ","import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/myCar/myCar.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./myCar.vue?vue&type=template&id=f7786850&scoped=true&\"\nvar renderjs\nimport script from \"./myCar.vue?vue&type=script&lang=js&\"\nexport * from \"./myCar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myCar.vue?vue&type=style&index=0&id=f7786850&scoped=true&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Developer/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 \"f7786850\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/myCar/myCar.vue\"\nexport default component.exports","export * from \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myCar.vue?vue&type=template&id=f7786850&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 \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myCar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myCar.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"container\">\r\n <VNavigationBar titleColor=\"rgba(0,0,0,0.9)\" backgroundColor=\"#fff\" title=\"我的车辆\"></VNavigationBar>\r\n <view class=\"body\">\r\n <scroll-view style=\"height: 100%\" scroll-y=\"true\">\r\n <view class=\"carList\">\r\n <view v-for=\"(item, index) in carList\" :key=\"index\" class=\"carItem\" @click=\"gotoDetail(item)\">\r\n <image class=\"carImage\" :src=\"config.baseImageUrl+item.logoImg\" mode=\"aspectFit\"></image>\r\n <view class=\"carInfo\">\r\n <view class=\"carNum\">{{ item.licenseNumber}}</view>\r\n <view class=\"name\">品牌:{{ item.brandName }}</view>\r\n <view class=\"phone\">型号:{{ item.carModelInput }}</view>\r\n </view>\r\n </view>\r\n </view>\r\n </scroll-view>\r\n </view>\r\n <view class=\"addCarBtn\" @click=\"gotoDetail()\">\r\n <uni-icons color=\"#0174F6\" type=\"plusempty\"></uni-icons>\r\n 添加车辆\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport VNavigationBar from '@/components/VNavigationBar.vue';\r\nimport request from \"../../utils/request\";\r\nimport config from \"config\";\r\n\r\nexport default {\r\n computed: {\r\n config() {\r\n return config\r\n }\r\n },\r\n components: {\r\n VNavigationBar\r\n },\r\n data() {\r\n return {\r\n carList: [\r\n {\r\n carNum: '鲁A 781NB',\r\n name: '魏书豪',\r\n phone: '15726786903',\r\n image: ''\r\n }\r\n ]\r\n };\r\n },\r\n onLoad() {\r\n\r\n // 页面初始化\r\n this.getList();\r\n },\r\n onShow() {\r\n // 页面显示时执行初始化操作\r\n this.getList();\r\n },\r\n methods: {\r\n\r\n getList(){\r\n request({\r\n url: '/userClient/base/myCar/get',\r\n method: 'GET',\r\n }).then(res => {\r\n console.log(res);\r\n this.carList = res.data;\r\n console.log('图片路径', config.baseImageUrl+this.carList[0].logoImg)\r\n })\r\n },\r\n\r\n gotoDetail(item) {\r\n if (item){\r\n uni.navigateTo({\r\n url: `/pages/myCar/carDetail?car=${encodeURIComponent(JSON.stringify(item))}`\r\n });\r\n }\r\n else {\r\n uni.navigateTo({\r\n url: '/pages/myCar/carDetail'\r\n });\r\n }\r\n\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n.container {\r\n height: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding-bottom: env(safe-area-inset-bottom);\r\n\r\n .body {\r\n flex: 1;\r\n height: 0;\r\n background-color: #f3f5f7;\r\n }\r\n\r\n .carList {\r\n display: flex;\r\n flex-direction: column;\r\n }\r\n\r\n .carItem {\r\n box-sizing: border-box;\r\n width: 686rpx;\r\n margin: 20rpx auto;\r\n display: flex;\r\n align-items: center;\r\n padding: 30rpx;\r\n background: #ffffff;\r\n border-radius: 12rpx 12rpx 12rpx 12rpx;\r\n column-gap: 20rpx;\r\n }\r\n\r\n .carImage {\r\n background-color: #eee;\r\n width: 240rpx;\r\n height: 150rpx;\r\n border-radius: 8rpx 8rpx 8rpx 8rpx;\r\n }\r\n\r\n .carNum {\r\n font-weight: bold;\r\n font-size: 36rpx;\r\n color: #333333;\r\n margin-bottom: 20rpx;\r\n }\r\n\r\n .name,\r\n .phone {\r\n font-weight: 500;\r\n font-size: 28rpx;\r\n color: #858ba0;\r\n }\r\n\r\n .addCarBtn {\r\n padding: 34rpx 0;\r\n background: #ffffff;\r\n border-radius: 0rpx 0rpx 0rpx 0rpx;\r\n\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n column-gap: 12rpx;\r\n\r\n font-weight: 500;\r\n font-size: 32rpx;\r\n color: #0174f6;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myCar.vue?vue&type=style&index=0&id=f7786850&scoped=true&lang=less&\"; export default mod; export * from \"-!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Developer/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./myCar.vue?vue&type=style&index=0&id=f7786850&scoped=true&lang=less&\""],"sourceRoot":""} |