dengrui/unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/viewLogistics/viewLogistics.js.map

1 line
9.3 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/viewLogistics/viewLogistics.vue?6f6d","uni-app:///pagesA/viewLogistics/viewLogistics.vue","uni-app:///main.js","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/viewLogistics/viewLogistics.vue?e74c","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/viewLogistics/viewLogistics.vue?2778","webpack:///D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/viewLogistics/viewLogistics.vue?be94"],"names":["createPage","Page"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAA0rB,CAAgB,yqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6B9sB;AACA,MADA,kBACA;AACA;AACA,mBADA,EACA;AACA,kBAFA,EAEA;AACA,qBAHA,EAGA;AACA,qBAJA,EAIA;AACA,mBALA,EAKA;AACA,gDANA;AAOA,qBAPA;;AASA,GAXA;AAYA,QAZA,oBAYA;AACA;AACA,GAdA;AAeA,QAfA,kBAeA,OAfA,EAeA;AACA;AACA,GAjBA;AAkBA;AACA,WADA,mBACA,OADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDADA,CACA;AACA,4CAFA,CAEA;AACA,yCAHA,CAGA;AACA;AACA,WALA,MAKA;AACA;AACA,+DADA,CACA;AACA,gDAFA,CAEA;AACA,6CAHA,CAGA;AACA;AACA;AACA;AACA;AACA,OA3BA,EA2BA,mBA3BA;AA4BA,KA9BA;AA+BA,QA/BA,kBA+BA;AACA;AACA,2CADA;AAEA;AACA;AACA,yBADA;AAEA,0BAFA;AAGA,wBAHA;;AAKA,SARA;;AAUA,KA1CA,EAlBA,E;;;;;;;;;;;;;kDC7BA;AACA;AACA,qH;AACAA,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;;;AAG5D;AACmL;AACnL,gBAAgB,uLAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"pagesA/viewLogistics/viewLogistics.js","sourcesContent":["import mod from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./viewLogistics.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./viewLogistics.vue?vue&type=script&lang=js&\"","<template>\r\n <view v-if=\"pageShow\">\r\n <!-- 使用标题栏 -->\r\n <status-nav class=\"statush\" :statusBackw=\"true\" :statusTitle=\"true\" :title-val=\"'查看物流'\" :tabcolor=\"'#ffffff'\"></status-nav>\r\n <view class=\"bacb padding-zy20 padding-sx30\" :style=\"{paddingTop:statusHNH+'px'}\">\r\n <view class=\"disba margin-s30 margin-x20\">\r\n <view class=\"fon30 bold\">包裹已{{orderStatus}}</view>\r\n <view class=\"fon26 color9\">{{orderTime}}</view>\r\n </view>\r\n <view class=\"dis\">\r\n <image class=\"flexs goodsImg radius10\" :src=\"orderImg\" mode=\"aspectFill\"></image>\r\n <view class=\"margin-z20 margin-s10\">\r\n <view class=\"clips1 fon28\">{{orderInfo.skus[0].spu_name}}</view>\r\n <view class=\"fon24 margin-sx20\">订单号:{{orderInfo.order_id}}</view>\r\n <view class=\"fon28 color9 padding20 width100\" style=\"background-color: #f8f8f8;border-radius: 2rpx;\">\r\n <view>您的包裹已成功{{orderResult}}</view>\r\n\t\t\t\t\t\t<view class=\"clips1 margin-s20\">物流公司:{{orderInfo.express_name}}</view>\r\n <view class=\"disba\">\r\n <view class=\"clips1\">运单编号:{{orderInfo.express_number}}</view>\r\n <view class=\"flexs\" @tap=\"copy\" style=\"width: 94rpx;height: 60rpx;line-height: 60rpx;text-align: center;border-radius: 30.5rpx;border: 1rpx solid #999999;color: #000000;\">复制</view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n data() {\r\n return {\r\n\t\t\t\torderInfo:{},//订单详情\r\n\t\t\t\torderImg:'',//订单图片\r\n\t\t\t\torderStatus:'',//当前状态\r\n\t\t\t\torderResult:'',//当前状态结果\r\n\t\t\t\torderTime:'',//当前状态时间\r\n\t\t\t\tstatusHNH:uni.getStorageSync('statusHNH'),\r\n\t\t\t\tpageShow:false\r\n }\r\n },\r\n\t\tonShow() {\r\n\t\t\tthis.$toolAll.tools.guoq()\r\n\t\t},\r\n onLoad(options) {\r\n this.checkWl(options.orderId)\r\n },\r\n methods: {\r\n\t\t\tcheckWl(orderId){//查看物流事件\r\n\t\t\t\tthis.$requst.post('order/logistics',{order_id:orderId}).then(res=>{\r\n\t\t\t\t\t// console.log(res);\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tthis.pageShow = true\r\n\t\t\t\t\t\tthis.orderInfo = res.data\r\n\t\t\t\t\t\tthis.orderImg = this.$http + res.data.skus[0].sku_cover\r\n\t\t\t\t\t\tif(res.data.status=='shipped') {\r\n\t\t\t\t\t\t\tthis.orderStatus = this.orderResult = '发货'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(res.data.status=='completed') {\r\n\t\t\t\t\t\t\tthis.orderStatus = '领取'\r\n\t\t\t\t\t\t\tthis.orderResult = '取出'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(res.data.express_info.status==500){\r\n\t\t\t\t\t\t\tlet zdtime = res.data.skus[0].created_at//获取物流最新时间\r\n\t\t\t\t\t\t\tlet jtime = zdtime.slice(0,10)//去除时分秒\r\n\t\t\t\t\t\t\tlet ftime = jtime.split('-')//去除-\r\n\t\t\t\t\t\t\tthis.orderTime = ftime[0].slice(2,4)+'/'+ftime[1]+'/'+ftime[2]\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif(res.data.express_info.data.length!=0){\r\n\t\t\t\t\t\t\t\tlet zdtime = res.data.express_info.data[0].time//获取物流最新时间\r\n\t\t\t\t\t\t\t\tlet jtime = zdtime.slice(0,10)//去除时分秒\r\n\t\t\t\t\t\t\t\tlet ftime = jtime.split('-')//去除-\r\n\t\t\t\t\t\t\t\tthis.orderTime = ftime[0].slice(2,4)+'/'+ftime[1]+'/'+ftime[2]\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t},error=>{})\r\n\t\t\t},\r\n copy(){\r\n uni.setClipboardData({\r\n data: this.orderInfo.express_number,\r\n success: function() {\r\n uni.showToast({\r\n title: '复制成功',\r\n duration: 2000,\r\n icon: 'none'\r\n });\r\n }\r\n });\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\n","import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pagesA/viewLogistics/viewLogistics.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./viewLogistics.vue?vue&type=template&id=81f397ee&\"\nvar renderjs\nimport script from \"./viewLogistics.vue?vue&type=script&lang=js&\"\nexport * from \"./viewLogistics.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../HbuilderX/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 = \"pagesA/viewLogistics/viewLogistics.vue\"\nexport default component.exports","export * from \"-!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./viewLogistics.vue?vue&type=template&id=81f397ee&\"","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 }"],"sourceRoot":""}