lanan-repair/unpackage/dist/dev/.sourcemap/mp-weixin/components/reservationOrder/reservationOrder.js.map
2024-09-24 20:45:24 +08:00

1 line
13 KiB
Plaintext

{"version":3,"sources":["webpack:///E:/Workspace/Work/lanan/lanan-repair/components/reservationOrder/reservationOrder.vue?a3dc","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/reservationOrder/reservationOrder.vue?ebb9","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/reservationOrder/reservationOrder.vue?0926","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/reservationOrder/reservationOrder.vue?97b0","uni-app:///components/reservationOrder/reservationOrder.vue","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/reservationOrder/reservationOrder.vue?b5d9","webpack:///E:/Workspace/Work/lanan/lanan-repair/components/reservationOrder/reservationOrder.vue?0d26"],"names":["name","props","orderInfo","type","default","isDetail","hideFooter","data","methods","getOrderStatusTxt","showOrderDetail","uni","url"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA6H;AAC7H;AACoE;AACL;AACc;;;AAG7E;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,+FAAU;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;AAA6rB,CAAgB,4qBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBCsCjtB;EACAA;EACAC;IACAC;MACAC;MACAC;QACA;MACA;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MACAH;MACAC;IACA;EACA;EACAG;IACA,QAEA;EACA;EACAC;IACAC;MACA;MACA;QACA;UACA;UACA;QACA;UACA;QACA;UACA;QACA;UACA;MAAA;IAEA;IACAC;MACAC;QACAC;MACA;IACA;EACA;AACA;AAAA,4B;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAwwC,CAAgB,oqCAAG,EAAC,C;;;;;;;;;;;ACA5xC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/reservationOrder/reservationOrder.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./reservationOrder.vue?vue&type=template&id=19825144&\"\nvar renderjs\nimport script from \"./reservationOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./reservationOrder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./reservationOrder.vue?vue&type=style&index=0&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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/reservationOrder/reservationOrder.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!./reservationOrder.vue?vue&type=template&id=19825144&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var m0 = _vm.getOrderStatusTxt()\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n m0: m0,\n },\n }\n )\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!./reservationOrder.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!./reservationOrder.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"orderInfo\">\r\n\t\t<view class=\"header\">\r\n\t\t\t<text class=\"orderTitle\">{{ orderInfo.title }}</text>\r\n<!--\t\t\t<text class=\"orderStatus\" :class=\"['status_' + orderInfo.status]\">-->\r\n\t\t\t<text class=\"orderStatus\" :class=\"['status_' + '01']\">\r\n\t\t\t\t{{ getOrderStatusTxt() }}\r\n\t\t\t</text>\r\n\t\t</view>\r\n\t\t<view class=\"detail\">\r\n\t\t\t<view class=\"line\">\r\n\t\t\t\t<image class=\"line-icon\" src=\"../../static/icons/order-icon1.png\" mode=\"aspectFit\"></image>\r\n\t\t\t\t<text class=\"line-text\">{{orderInfo.address}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"line\">\r\n\t\t\t\t<image class=\"line-icon\" src=\"../../static/icons/order-icon2.png\" mode=\"aspectFit\"></image>\r\n\t\t\t\t<text class=\"line-text\">{{orderInfo.phone}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"line\">\r\n\t\t\t\t<image class=\"line-icon\" src=\"../../static/icons/order-icon3.png\" mode=\"aspectFit\"></image>\r\n\t\t\t\t<text class=\"line-text\">{{orderInfo.busiTypeStr}}</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-if=\"!hideFooter\" class=\"footer\">\r\n\t\t\t<view class=\"btn\" :class=\"{phone: isDetail}\">\r\n\t\t\t\t<image v-if=\"isDetail\" class=\"btnIcon\" src=\"../../static/icons/order-icon7.png\" mode=\"aspectFit\"></image>\r\n\t\t\t\t<text>拨打电话</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn\" :class=\"{address: isDetail}\">\r\n\t\t\t\t<image v-if=\"isDetail\" class=\"btnIcon\" src=\"../../static/icons/order-icon6.png\" mode=\"aspectFit\"></image>\r\n\t\t\t\t<text>地址导航</text>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"!isDetail\" class=\"btn primary\" @click=\"showOrderDetail\">查看订单</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: \"reservationOrder\",\r\n\t\tprops: {\r\n\t\t\torderInfo: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault: () => {\r\n\t\t\t\t\treturn {}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tisDetail: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\thideFooter: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\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\tmethods: {\r\n\t\t\tgetOrderStatusTxt() {\r\n // console.log(this.orderInfo.status)\r\n switch (this.orderInfo.status) {\r\n case '01':\r\n this.isDetail = true\r\n return '等待维修'\r\n case '02':\r\n return '维修中'\r\n case '03':\r\n return '已完成'\r\n default:\r\n return ''\r\n }\r\n\t\t\t},\r\n\t\t\tshowOrderDetail() {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: '/pages/orderDetail/orderDetail?info=' + encodeURIComponent(JSON.stringify(this.orderInfo))\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=\"less\">\r\n\t.orderInfo {\r\n\t\tbackground: #FFFFFF;\r\n\t\tborder-radius: 12rpx 12rpx 12rpx 12rpx;\r\n\t\tbox-shadow: 2rpx 4rpx 8rpx #efefef;\r\n\t\tpadding: 0 30rpx;\r\n\r\n\t\t.header {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tborder-bottom: 1rpx solid #EEEEEE;\r\n\t\t\tpadding: 30rpx 0;\r\n\r\n\t\t\t.orderTitle {\r\n\t\t\t\tflex: 1;\r\n\t\t\t\twidth: 0;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tfont-size: 32rpx;\r\n\t\t\t\tcolor: #333333;\r\n\t\t\t}\r\n\r\n\t\t\t.orderStatus {\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tfont-size: 24rpx;\r\n\r\n &.status_01 {\r\n color: #0174F6;\r\n }\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.detail {\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\tborder-bottom: 1rpx solid #EEEEEE;;\r\n\t\t\t.line {\r\n\t\t\t\tmargin: 30rpx 0;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tcolumn-gap: 10rpx;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\tcolor: #999999;\r\n\t\t\t}\r\n\r\n\t\t\t.line-icon {\r\n\t\t\t\twidth: 28rpx;\r\n\t\t\t\theight: 28rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.footer {\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tcolumn-gap: 20rpx;\r\n\t\t\t.btn {\r\n\t\t\t\tmargin-bottom: 30rpx;\r\n\t\t\t\tflex: 1;\r\n\t\t\t\twidth: 0;\r\n\t\t\t\theight: 60rpx;\r\n\t\t\t\tborder-radius: 30rpx 30rpx 30rpx 30rpx;\r\n\t\t\t\tborder: 1rpx solid #0174F6;\r\n\t\t\t\tfont-weight: 500;\r\n\t\t\t\tfont-size: 28rpx;\r\n\t\t\t\tcolor: #0174F6;\r\n\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t\tcolumn-gap: 8rpx;\r\n\r\n\t\t\t\t&.primary {\r\n\t\t\t\t\tbackground: #0174F6;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tcolor: #FFFFFF;\r\n\t\t\t\t}\r\n\t\t\t\t&.address {\r\n\t\t\t\t\tbackground: #0174F6;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tborder: none;\r\n\t\t\t\t}\r\n\t\t\t\t&.phone {\r\n\t\t\t\t\tbackground: #E8A321;\r\n\t\t\t\t\tcolor: #fff;\r\n\t\t\t\t\tborder: none;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.btnIcon {\r\n\t\t\t\t\twidth: 32rpx;\r\n\t\t\t\t\theight: 32rpx;\r\n\t\t\t\t}\r\n\t\t\t}\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!./reservationOrder.vue?vue&type=style&index=0&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!./reservationOrder.vue?vue&type=style&index=0&lang=less&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1727181414398\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":""}