1 line
26 KiB
Plaintext
1 line
26 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/lananWork/detection-user/pages/detection/godoor.vue?ef14","webpack:///D:/lananWork/detection-user/pages/detection/godoor.vue?cdff","webpack:///D:/lananWork/detection-user/pages/detection/godoor.vue?3abe","webpack:///D:/lananWork/detection-user/pages/detection/godoor.vue?5fe0","uni-app:///pages/detection/godoor.vue","webpack:///D:/lananWork/detection-user/pages/detection/godoor.vue?d8c3","webpack:///D:/lananWork/detection-user/pages/detection/godoor.vue?1f25"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","value1","times","tapindex","show","sx","pickPrice","distance","type","goodsname","goodsId","itmelist","partnerId","appointmentday","partnerName","address","province","city","tel","area","latitude","longitude","position","four","renshu","morningCount","afterCount","onLoad","console","methods","jlFunction","confirms","cancels","gettiemlist","url","method","res","pickCarInfo","params","rest","getmap","uni","success","that","addressList","fail","getindex","gettap","gettijiao","userPhone","adressDetail","appointmentDay","appointmentTime","delta","getback"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC4K;AAC5K,gBAAgB,sLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;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,aAAa,mWAEN;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;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAAgpB,CAAgB,6pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;ACoGpqB;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;MACA;IAEA;EACA;EACAC;IACA;IACA;IACA;IACAC;IACA;IACA;EAGA;;EACAC;IACAC;MAEA;MACA;QACA;MACA;QACA;MACA;IACA;IACAC;MACA;MACAH;MACA;IACA;IACAI;MACAJ;MACA;IACA;IACAK;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OAEA;kBACAC;kBACAC;gBACA;cAAA;gBAHAC;gBAIAR;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAS;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACArC;kBACAU;kBACAF;kBACAY;kBACAC;gBACA;gBAAA;gBAAA,OACA;kBACAa;kBACAC;kBACAG;gBACA;cAAA;gBAJAC;gBAMAX;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAY;MACAZ;MACA;MACAa;QACAC;UACAd;UACAA;UACAA;UACAA;UACAA;UACAe;UACAA;UACAA;UACAA;UACA;UACA;UACA;UACA;UACA;UACA,qFACAC;YACAD;YACAA;YACAA;YACAA,mFACAxB;UACA;YACAwB;YACAA;YACAA;YACAA,mFACAxB;UACA;UAAA;UACAS;QAEA;QACAiB;UACAjB;QACA;MACA;IAGA;IACAkB;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACA9C;kBACAU;kBACAF;gBACA;gBAAA;gBAAA,OACA;kBACA0B;kBACAC;kBACAG;gBACA;cAAA;gBAJAF;gBAKA;gBACA;gBACA;gBACA;gBACA;gBACAR;gBACAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAmB;MAEA;MACA;MACA;MACAnB;IAEA;IACAoB;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEAhD;kBACAiD;kBACA5B;kBACAD;kBACA8B;kBACAC;kBACAC;kBACA1C;kBACAF;gBAEA;gBAAA;gBAAA,OACA;kBACA0B;kBACAC;kBACAnC;gBACA;cAAA;gBAJAoC;gBAKAR;gBACA;kBACAA;kBACAa;kBACAb;kBACAa;oBACAY;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAGA;IACAC;MAEAb;QACAY;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC3SA;AAAA;AAAA;AAAA;AAAuvC,CAAgB,wsCAAG,EAAC,C;;;;;;;;;;;ACA3wC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/detection/godoor.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/detection/godoor.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./godoor.vue?vue&type=template&id=4326efd9&scoped=true&\"\nvar renderjs\nimport script from \"./godoor.vue?vue&type=script&lang=js&\"\nexport * from \"./godoor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./godoor.vue?vue&type=style&index=0&id=4326efd9&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../software/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 \"4326efd9\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/detection/godoor.vue\"\nexport default component.exports","export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./godoor.vue?vue&type=template&id=4326efd9&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 uDatetimePicker: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-datetime-picker/u-datetime-picker\" */ \"@/uni_modules/uview-ui/components/u-datetime-picker/u-datetime-picker.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 l0 = _vm.__map(_vm.itmelist, function (items, index) {\n var $orig = _vm.__get_orig(items)\n var g0 = items.dateStr.substring(5, 10).replace(\"-\", \"月\")\n return {\n $orig: $orig,\n g0: g0,\n }\n })\n var g1 = (_vm.distance / 1000).toFixed(2)\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n _vm.show = true\n }\n }\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n g1: g1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./godoor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./godoor.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"c-top\">\r\n\t\t\t<view class=\"\" @click=\"getback()\">\r\n\t\t\t\t<uni-icons type=\"left\" size=\"18\"></uni-icons>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"c-title\">上门取车</view>\r\n\t\t\t<view class=\"\"></view>\r\n\t\t</view>\r\n\t\t<view class=\"ail\">\r\n\t\t\t<view class=\"ail-box\">\r\n\t\t\t\t<view class=\"h-title\">上门时间</view>\r\n\t\t\t\t<scroll-view scroll-x=\"true\" class=\"box-bottom\">\r\n\t\t\t\t\t<view class=\"santu\" :class=\"{'lanbox' : tapindex == index}\" v-for=\"(items,index) in itmelist\"\r\n\t\t\t\t\t\t:key=\"index\" @click=\"gettap(index,items)\">\r\n\t\t\t\t\t\t<view class=\"\" style=\"font-size: 18px;\">{{items.dateStr.substring(5,10).replace('-','月')}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"\">{{items.weekStr}}</view>\r\n\t\t\t\t\t\t<!-- \t<view class=\"\">预约人数:{{items.morningCount + items.afterCount}}</view> -->\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\r\n\t\t\t\t<view class=\"on-input\" @click=\"show = true\">\r\n\t\t\t\t\t<view class=\"baoti\">选择时间:</view>\r\n\t\t\t\t\t<text>{{times}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- <view class=\"dis\">\r\n\t\t\t\t\t<view class=\"wushi\" :class=\"{'lanbox' : sx == 0}\" @click=\"sx = 0\">\r\n\t\t\t\t\t\t\t<view class=\"\">上午</view>\r\n\t\t\t\t\t\t\t<view class=\"\">当前预约:{{renshu.morningCount}}人</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"wushi\" :class=\"{'lanbox' : sx == 1}\" @click=\"sx = 1\">\r\n\t\t\t\t\t\t\t<view class=\"\">下午</view>\r\n\t\t\t\t\t\t\t<view class=\"\">当前预约:{{renshu.afterCount}}人</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t\r\n\t\t\t\t</view> -->\r\n\t\t\t</view>\r\n\t\t\t<view class=\"ail-box\">\r\n\t\t\t\t<view class=\"on-input\">\r\n\t\t\t\t\t<view class=\"baoti\">商品名称:</view>\r\n\t\t\t\t\t<text>{{goodsname}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"on-input\">\r\n\t\t\t\t\t<view class=\"baoti\">预约时间:</view>\r\n\t\t\t\t\t<text>{{appointmentday}}</text>\r\n\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"on-input\">\r\n\t\t\t\t\t<view class=\"baoti\">手机号:</view>\r\n\r\n\t\t\t\t\t<input type=\"text\" v-model=\"tel\">\r\n\r\n\t\t\t\t</view>\r\n\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"top\">\r\n\t\t\t<view class=\"top-box\" @click=\"getmap()\">\r\n\t\t\t\t<view class=\"tb-left\">\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t<view class=\"text1\" v-show=\"four == ''\">请选择地址</view>\r\n\t\t\t\t\t\t<view class=\"text1\" v-show=\"four != ''\">{{province}}{{city}}{{area}}</view>\r\n\t\t\t\t\t\t<view class=\"hong1\" v-show=\"four == ''\">*必填,请填写详细地址</view>\r\n\t\t\t\t\t\t<view class=\"hong2\" v-show=\"four != ''\">\r\n\t\t\t\t\t\t\t<input type=\"text\" :placeholder=\"four\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tb-right\">\r\n\t\t\t\t\t<uni-icons type=\"location-filled\" color=\" #0D2E8D\" size=\"26\"></uni-icons>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- <view class=\"top\">\r\n\t\t\t<view class=\"on-input\">\r\n\t\t\t\t<view class=\"baoti\">距离:</view>\r\n\t\t\t\t<text>{{jlFunction(distance)}}</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"on-input\">\r\n\t\t\t\t<view class=\"baoti\">金额:</view>\r\n\t\t\t\t<text>{{pickPrice || 0}}元</text>\t\t\r\n\t\t\t</view>\r\n\t\t</view> -->\r\n\t\t<view class=\"sbboss\">\r\n\t\t\t<view class=\"zz\">{{(distance/1000).toFixed(2)}} <text style=\"font-size: 16px;\">Km</text></view>\r\n\t\t\t<view class=\"yy\">{{pickPrice/100 || 0}} <text style=\"font-size: 16px;\">元</text> </view>\r\n\t\t</view>\r\n\r\n\t\t<view class=\"bottom-d\">\r\n\t\t\t<view class=\"annniu\" @click=\"gettijiao()\">\r\n\t\t\t\t<text>提交</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<u-datetime-picker :show=\"show\" v-model=\"value1\" mode=\"time\" @confirm=\"confirms\"\r\n\t\t\t@cancel=\"cancels\"></u-datetime-picker>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport config from '@/config'\r\n\timport request from '../../utils/request';\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tvalue1: '',\r\n\t\t\t\ttimes: '请选择当天上门时间',\r\n\t\t\t\ttapindex: 0,\r\n\t\t\t\tshow: false,\r\n\t\t\t\tsx: 0,\r\n\t\t\t\tpickPrice: 0,\r\n\t\t\t\tdistance: 0,\r\n\t\t\t\ttype: '',\r\n\t\t\t\tgoodsname: '',\r\n\t\t\t\tgoodsId: '',\r\n\t\t\t\titmelist: [],\r\n\t\t\t\tpartnerId: '',\r\n\t\t\t\tappointmentday: '请选择上方时间',\r\n\t\t\t\tpartnerName: '汽车',\r\n\t\t\t\taddress: '',\r\n\t\t\t\tprovince: '',\r\n\t\t\t\tcity: '',\r\n\t\t\t\ttel: '',\r\n\t\t\t\tarea: '',\r\n\t\t\t\tlatitude: '36.65214755816529',\r\n\t\t\t\tlongitude: '116.97271519898783',\r\n\t\t\t\tposition: '',\r\n\t\t\t\tfour: '',\r\n\t\t\t\trenshu: {\r\n\t\t\t\t\tmorningCount: 0,\r\n\t\t\t\t\tafterCount: 0\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(option) {\r\n\t\t\tthis.goodsname = option.goodsName\r\n\t\t\tthis.goodsId = option.goodsId\r\n\t\t\tthis.type = option.type\r\n\t\t\tconsole.log(this.goodsId, this.goodsname);\r\n\t\t\tthis.gettiemlist()\r\n\t\t\t// this.pickCarInfo( )\r\n\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tjlFunction(num) {\r\n\r\n\t\t\t\tlet snum = num / 1000\r\n\t\t\t\tif (snum >= 1) {\r\n\t\t\t\t\treturn snum.toFixed(2) + 'Km'\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn snum.toFixed(2) + 'm'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tconfirms(e) {\r\n\t\t\t\tthis.times = e.value\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t\tthis.show = false\r\n\t\t\t},\r\n\t\t\tcancels(e) {\r\n\t\t\t\tconsole.log(e);\r\n\t\t\t\tthis.show = false\r\n\t\t\t},\r\n\t\t\tasync gettiemlist() {\r\n\r\n\t\t\t\tlet res = await request({\r\n\t\t\t\t\turl: '/appInspection/goods/pickCarInfo',\r\n\t\t\t\t\tmethod: 'get'\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log('获取时间', res);\r\n\t\t\t\tthis.itmelist = res.data.dataList\r\n\t\t\t\tthis.tel = res.data.userPhone\r\n\r\n\t\t\t},\r\n\t\t\tasync pickCarInfo() {\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tgoodsId: this.goodsId,\r\n\t\t\t\t\ttype: this.type,\r\n\t\t\t\t\tlatitude: this.latitude,\r\n\t\t\t\t\tlongitude: this.longitude\r\n\t\t\t\t}\r\n\t\t\t\tlet rest = await request({\r\n\t\t\t\t\turl: '/appInspection/goods/computeDistanceAndPrice',\r\n\t\t\t\t\tmethod: 'get',\r\n\t\t\t\t\tparams: data\r\n\t\t\t\t})\r\n\r\n\t\t\t\tconsole.log(rest);\r\n\t\t\t\tthis.pickPrice = rest.data.pickPrice\r\n\t\t\t\tthis.distance = rest.data.distance\r\n\r\n\t\t\t},\r\n\t\t\tgetmap() {\r\n\t\t\t\tconsole.log(\"点击位置\");\r\n\t\t\t\tlet that = this\r\n\t\t\t\tuni.chooseLocation({\r\n\t\t\t\t\tsuccess: function(res) {\r\n\t\t\t\t\t\tconsole.log('位置名称:' + res.name);\r\n\t\t\t\t\t\tconsole.log('详细地址:' + res.address);\r\n\t\t\t\t\t\tconsole.log('纬度:' + res.latitude);\r\n\t\t\t\t\t\tconsole.log('经度:' + res.longitude);\r\n\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\t\tthat.latitude = res.latitude\r\n\t\t\t\t\t\tthat.longitude = res.longitude\r\n\t\t\t\t\t\tthat.position = res.address\r\n\t\t\t\t\t\tthat.pickCarInfo()\r\n\t\t\t\t\t\t// that.adds = res.address;\r\n\t\t\t\t\t\t// let point = new plus.maps.Point(res.longitude,res.latitude);\r\n\t\t\t\t\t\tvar address = res.address;\r\n\t\t\t\t\t\tvar reg = /.+?(省|市|自治区|自治州|县|区)/g;\r\n\t\t\t\t\t\tlet addressList = address.match(reg).toString().split(\",\");\r\n\t\t\t\t\t\tif (addressList[0] == '重庆市' || addressList[0] == '北京市' || addressList[0] == '天津市' ||\r\n\t\t\t\t\t\t\taddressList[0] == '上海市') {\r\n\t\t\t\t\t\t\tthat.province = addressList[0];\r\n\t\t\t\t\t\t\tthat.city = '市辖区';\r\n\t\t\t\t\t\t\tthat.area = addressList[1];\r\n\t\t\t\t\t\t\tthat.four = address.replace(that.province, '').replace(that.city, '').replace(that\r\n\t\t\t\t\t\t\t\t.area, '');\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthat.province = addressList[0];\r\n\t\t\t\t\t\t\tthat.city = addressList[1];\r\n\t\t\t\t\t\t\tthat.area = addressList[2];\r\n\t\t\t\t\t\t\tthat.four = address.replace(that.province, '').replace(that.city, '').replace(that\r\n\t\t\t\t\t\t\t\t.area, '');\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\tconsole.log('zdz', that.four);\r\n\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail: function(errr) {\r\n\t\t\t\t\t\tconsole.log(errr);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\r\n\t\t\t},\r\n\t\t\tasync getindex() {\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tgoodsId: this.goodsId,\r\n\t\t\t\t\ttype: this.type\r\n\t\t\t\t}\r\n\t\t\t\tlet res = await request({\r\n\t\t\t\t\turl: '/appInspection/goods/appointmentDateList',\r\n\t\t\t\t\tmethod: 'get',\r\n\t\t\t\t\tparams: data\r\n\t\t\t\t})\r\n\t\t\t\tthis.partnerName = res.data.partnerName\r\n\t\t\t\tthis.address = res.data.address\r\n\t\t\t\tthis.partnerId = res.data.partnerId\r\n\t\t\t\tthis.itmelist = res.data.dataList\r\n\t\t\t\tthis.appointmentday = res.data.dataList[0].dateStr\r\n\t\t\t\tconsole.log(this.appointmentday.substring(5, 10).replace('-', '月'));\r\n\t\t\t\tconsole.log(res.data);\r\n\t\t\t},\r\n\t\t\tgettap(index, items) {\r\n\r\n\t\t\t\tthis.tapindex = index\r\n\t\t\t\tthis.renshu = items\r\n\t\t\t\tthis.appointmentday = items.dateStr\r\n\t\t\t\tconsole.log(this.renshu);\r\n\r\n\t\t\t},\r\n\t\t\tasync gettijiao() {\r\n\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tuserPhone: this.tel,\r\n\t\t\t\t\tlongitude: this.longitude,\r\n\t\t\t\t\tlatitude: this.latitude,\r\n\t\t\t\t\tadressDetail: this.position,\r\n\t\t\t\t\tappointmentDay: this.appointmentday,\r\n\t\t\t\t\tappointmentTime: this.times,\r\n\t\t\t\t\tgoodsId: this.goodsId,\r\n\t\t\t\t\ttype: this.type,\r\n\r\n\t\t\t\t}\r\n\t\t\t\tlet res = await request({\r\n\t\t\t\t\turl: '/appInspection/goods/pickCarInspection',\r\n\t\t\t\t\tmethod: 'post',\r\n\t\t\t\t\tdata: data\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log(res);\r\n\t\t\t\tif (res.code == 200) {\r\n\t\t\t\t\tconsole.log(\"283\");\r\n\t\t\t\t\tuni.$emit(\"pickCar\", res.data)\r\n\t\t\t\t\tconsole.log(\"284\");\r\n\t\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\t\tdelta: 1\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t},\r\n\t\t\tgetback() {\r\n\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\tdelta: 1\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 lang=\"scss\">\r\n\t.content {\r\n\t\twidth: 100%;\r\n\t\theight: calc(100vh);\r\n\t\tbackground-color: #F6F6F6;\r\n\t\tbox-sizing: border-box;\r\n\t\t// padding-top: 45px;\r\n\t}\r\n\r\n\t.ail {\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px 15px;\r\n\t\tbackground-color: #F6F6F6;\r\n\t}\r\n\r\n\t.ail-box {\r\n\t\twidth: 100%;\r\n\t\tborder-radius: 8px;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 15px;\r\n\t\tbackground: #FFFFFF;\r\n\t\tmargin-bottom: 10px;\r\n\t}\r\n\r\n\t.c-top {\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 15px;\r\n\t\tpadding-top: 16%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tbackground-color: white;\r\n\t}\r\n\r\n\t.on-input {\r\n\t\twidth: 100%;\r\n\t\tborder-bottom: 1px solid #EEEEEE;\r\n\t\tbox-sizing: border-box;\r\n\r\n\t\tpadding: 10px 0px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.baoti {\r\n\t\twidth: 25%;\r\n\t\tfont-size: 15px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #666666;\r\n\t\tline-height: 15px;\r\n\t\tmargin-right: 10px;\r\n\t}\r\n\r\n\t.box-bottom {\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\twhite-space: nowrap;\r\n\t}\r\n\r\n\t.santu {\r\n\t\twidth: 32%;\r\n\t\tdisplay: inline-block;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px;\r\n\t\tbackground: #F8FAFB;\r\n\t\tborder-radius: 8px;\r\n\t\tfont-size: 15px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #999999;\r\n\t\tmargin-top: 15px;\r\n\t\tmargin-right: 10px;\r\n\t}\r\n\r\n\t.lanbox {\r\n\t\tbackground: #E3EAFF !important;\r\n\t\tcolor: #0D2E8D !important;\r\n\t}\r\n\r\n\t.dis {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t}\r\n\r\n\t.wushi {\r\n\t\twidth: 49%;\r\n\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px;\r\n\t\tbackground: #F8FAFB;\r\n\t\tborder-radius: 8px;\r\n\t\tfont-size: 15px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #999999;\r\n\t}\r\n\r\n\t.h-title {\r\n\t\tfont-size: 16px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #333333;\r\n\t\tmargin: 10px auto;\r\n\t}\r\n\r\n\t.bottom-d {\r\n\t\twidth: 100%;\r\n\t\theight: 80px;\r\n\t\tbackground-color: white;\r\n\t\tposition: fixed;\r\n\t\tbottom: 0px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\r\n\t}\r\n\r\n\t.annniu {\r\n\t\theight: 40px;\r\n\t\tbackground: #0D2E8D;\r\n\t\twidth: 90%;\r\n\t\tborder-radius: 50px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tcolor: white;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.top {\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 0px 15px;\r\n\t\twidth: 90%;\r\n\t\tborder-radius: 10px;\r\n\t\tmargin: 10px auto;\r\n\t\tbackground-color: white;\r\n\t}\r\n\r\n\t.top-box {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 20px 0px;\r\n\t}\r\n\r\n\t.tb-left {\r\n\t\theight: 100%;\r\n\t\twidth: 80%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.uicon {\r\n\t\twidth: 18px;\r\n\t\theight: 18px;\r\n\t\tborder-radius: 4px;\r\n\t\tcolor: white;\r\n\t\tbackground: orangered;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tfont-size: 12px;\r\n\t\tfont-weight: bold;\r\n\t\tmargin-right: 6px;\r\n\t}\r\n\r\n\t.tb-right {\r\n\t\twidth: 20px;\r\n\t\theight: 26px;\r\n\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\r\n\t}\r\n\r\n\t.text1 {\r\n\t\tfont-size: 16px;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #363636;\r\n\t}\r\n\r\n\t.hong1 {\r\n\t\tmargin-top: 5px;\r\n\t\tfont-size: 12px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #FF5453;\r\n\t}\r\n\r\n\t.hong2 {\r\n\t\tmargin-top: 5px;\r\n\t\tfont-size: 12px;\r\n\t\tfont-weight: 400;\r\n\r\n\t}\r\n\r\n\t.tinput {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tbackground: white;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 16px;\r\n\t\tmargin-top: 14px;\r\n\t}\r\n\r\n\t.sbboss {\r\n\t\twidth: 90%;\r\n\t\tmargin: 10px auto;\r\n\t\tborder-radius: 8px;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tmargin-top: 30px;\r\n\t\t// background-color: white;\r\n\t}\r\n\r\n\t.zz {\r\n\t\twidth: 50%;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 60px;\r\n\t\tfont-weight: bold;\r\n\t}\r\n\r\n\t.yy {\r\n\t\twidth: 50%;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 60px;\r\n\t\tfont-weight: bold;\r\n\t}\r\n</style>","import mod from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./godoor.vue?vue&type=style&index=0&id=4326efd9&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./godoor.vue?vue&type=style&index=0&id=4326efd9&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1726625736986\n var cssReload = require(\"D:/software/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":""} |