1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myReservation/myReservation.vue?bf8a","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myReservation/myReservation.vue?d6fc","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myReservation/myReservation.vue?415a","uni-app:///pages/myReservation/myReservation.vue","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myReservation/myReservation.vue?8e27","webpack:///E:/Workspace/Work/lanan/lanan-repair/pages/myReservation/myReservation.vue?ec91"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","tabBarVue","VNavigationBar","reservationOrderVue","data","orderList","onShow","methods","getBookingPage","url","method","params","pageNo","pageSize","res","ids","response","list","item","title","address","phone","busiTypeStr","status"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,sBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AACiE;AACL;AACsC;;;AAGlG;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wGAAU;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;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA0rB,CAAgB,yqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACmB9sB;AAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA,eAEA;EACAC;IACAC;IACAC;IACAC;EACA;EACAC;IACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACAC;IACA;EACA;EACAC;IACA;EACA;EACAC;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;kBACAC;kBACAC;kBACAC;oBACAC;oBACAC;kBACA;gBACA;cAAA;gBAPAC;gBAQAV;gBACAW;kBAAA;gBAAA;gBAAA;gBAAA,OACA;kBACAN;kBACAC;gBACA;cAAA;gBAHAM;gBAIAC;gBACA;kBACA,uCACAC;oBACAC;oBACAC;oBACAC;oBACAC;oBACAC;kBAAA;gBAEA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAA6xC,CAAgB,yrCAAG,EAAC,C;;;;;;;;;;;ACAjzC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/myReservation/myReservation.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/myReservation/myReservation.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./myReservation.vue?vue&type=template&id=fef30a70&scoped=true&\"\nvar renderjs\nimport script from \"./myReservation.vue?vue&type=script&lang=js&\"\nexport * from \"./myReservation.vue?vue&type=script&lang=js&\"\nimport style0 from \"./myReservation.vue?vue&type=style&index=0&id=fef30a70&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 \"fef30a70\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/myReservation/myReservation.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!./myReservation.vue?vue&type=template&id=fef30a70&scoped=true&\"","var components\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!./myReservation.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!./myReservation.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"container\">\r\n\t\t<VNavigationBar titleColor=\"rgba(0,0,0,0.9)\" backgroundColor=\"transparent\" title=\"我的预约\">\r\n\t\t</VNavigationBar>\r\n\t\t<view class=\"body\">\r\n\t\t\t<scroll-view style=\"height: 100%;\" scroll-y=\"true\">\r\n\t\t\t\t<view class=\"orderList\">\r\n\t\t\t\t\t<reservationOrderVue v-for=\"(item, index) in orderList\" :key=\"index\" :orderInfo=\"item\">\r\n\t\t\t\t\t</reservationOrderVue>\r\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport VNavigationBar from '@/components/VNavigationBar.vue'\r\n\timport tabBarVue from '@/components/tabBar/tabBar.vue'\r\n\timport reservationOrderVue from '../../components/reservationOrder/reservationOrder.vue'\r\n import request from \"@/utils/request\";\r\n\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\ttabBarVue,\r\n\t\t\tVNavigationBar,\r\n\t\t\treservationOrderVue\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t// orderList: [{\r\n\t\t\t\t// \t\ttitle: '顺捷汽车维修搭电救援补胎中心',\r\n\t\t\t\t// \t\tstatus: '1',\r\n\t\t\t\t// \t\taddress: '济南市历下区福瑞达历下护理院东南门旁',\r\n\t\t\t\t// \t\tphone: '15726506879',\r\n\t\t\t\t// \t\tbusiTypeStr: '汽车维修'\r\n\t\t\t\t// \t},\r\n\t\t\t\t// \t{\r\n\t\t\t\t// \t\ttitle: '顺捷汽车维修搭电救援补胎中心',\r\n\t\t\t\t// \t\tstatus: '1',\r\n\t\t\t\t// \t\taddress: '济南市历下区福瑞达历下护理院东南门旁',\r\n\t\t\t\t// \t\tphone: '15726506879',\r\n\t\t\t\t// \t\tbusiTypeStr: '汽车维修'\r\n\t\t\t\t// \t}\r\n\t\t\t\t// ]\r\n orderList:[]\r\n\t\t\t}\r\n\t\t},\r\n onShow() {\r\n this.getBookingPage()\r\n },\r\n\t\tmethods: {\r\n async getBookingPage(){\r\n const res = await request({\r\n url: \"/userClient/repair/booking/page\",\r\n method: \"get\",\r\n params:{\r\n pageNo: 1,\r\n pageSize: 10\r\n }\r\n })\r\n const data = res.data.records\r\n const ids = data.map(item => item.id)\r\n const response = await request({\r\n url: \"/userClient/repair/booking/map?ids=\" + ids,\r\n method: \"get\",\r\n })\r\n const list = response.data\r\n this.orderList = list.map(item => {\r\n return {\r\n ...item,\r\n title: item.company.corpName,\r\n address: item.company.address,\r\n phone: item.company.mobilePhone,\r\n busiTypeStr: item.servicePackage.name,\r\n status: item.bookingStatus\r\n }\r\n })\r\n }\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.container {\r\n\t\theight: 100%;\r\n\t\tbackground: #F3F5F7;\r\n\t\tbackground: linear-gradient(180deg, #C1DEFF 0%, rgba(#F3F5F7, 0) 100%);\r\n\t\tbackground-size: 100% 600rpx;\r\n\t\tbackground-repeat: no-repeat;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tcolor: #333333;\r\n\r\n\t\t.body {\r\n\t\t\tflex: 1;\r\n\t\t\theight: 0;\r\n\t\t\tpadding: 16rpx 0 30rpx;\r\n\t\t\toverflow: auto;\r\n\t\t}\r\n\r\n\t\t.orderList {\r\n\t\t\twidth: 686rpx;\r\n\t\t\tmargin: 0 auto;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\trow-gap: 20rpx;\r\n\t\t}\r\n\t}\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!./myReservation.vue?vue&type=style&index=0&id=fef30a70&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!./myReservation.vue?vue&type=style&index=0&id=fef30a70&scoped=true&lang=less&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1727162914091\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 "],"sourceRoot":""} |