You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
13 KiB
1 lines
13 KiB
{"version":3,"sources":["webpack:///F:/ZONGYRJ/miniAPP/cancmini/components/trackNode.vue?b0c2","webpack:///F:/ZONGYRJ/miniAPP/cancmini/components/trackNode.vue?85b6","webpack:///F:/ZONGYRJ/miniAPP/cancmini/components/trackNode.vue?c38f","webpack:///F:/ZONGYRJ/miniAPP/cancmini/components/trackNode.vue?611e","uni-app:///components/trackNode.vue","webpack:///F:/ZONGYRJ/miniAPP/cancmini/components/trackNode.vue?c6fd"],"names":["renderjs","component","options","__file","components","render","_vm","this","_h","$createElement","_self","_c","recyclableRender","staticRenderFns","_withStripped","props","isNewest","type","default","isFirst","isMainNode","nodeData","status","statusName","createTime","acceptStation","methods","docall","uni","phoneNumber","computed","nodeIconUrl","acceptStationFixed"],"mappings":"qHAAA,oIACIA,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,WACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,2BACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAEjBC,GAAmB,EACnBC,EAAkB,GACtBR,EAAOS,eAAgB,G,iCCRvB,yHAAmvB,eAAG,G,sHCwBtvB,CACAC,OACAC,UACAC,aACAC,YAEAC,SACAF,aACAC,YAEAE,YACAH,aACAC,YAEAG,UACAJ,YACAC,mBACA,OACAI,UACAC,cACAC,iCACAC,2BAKAC,SACAC,mBACAC,iBACAC,kBAIAC,UACAC,uBACA,2CACA,0FACA,+BACA,4EACA,yCACA,sFACA,oCACA,gFACA,kCACA,2FADA,GAIAC,8BACA,mCACA,8DADA,MAIA,c,6DC5EA,yHAA05C,eAAG,G","file":"components/trackNode.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./trackNode.vue?vue&type=template&id=07035cc2&scoped=true&\"\nvar renderjs\nimport script from \"./trackNode.vue?vue&type=script&lang=js&\"\nexport * from \"./trackNode.vue?vue&type=script&lang=js&\"\nimport style0 from \"./trackNode.vue?vue&type=style&index=0&id=07035cc2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HBuilderX.2.7.9.20200527/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 \"07035cc2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/trackNode.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./trackNode.vue?vue&type=template&id=07035cc2&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 \"-!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./trackNode.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./trackNode.vue?vue&type=script&lang=js&\"","<template>\r\n <div class=\"total-wrap\" :style=\"{marginTop: isMainNode?'22rpx':'6rpx'}\">\r\n <div class=\"node-container\">\r\n <div class=\"node-container-left\">\r\n <div class=\"tag-container\">\r\n <img v-if=\"isMainNode\" :src=\"nodeIconUrl\"/>\r\n <div v-else class=\"node-tag-container\">\r\n <div class=\"node-tag\"></div>\r\n </div>\r\n </div>\r\n <div class=\"line-container\" :style=\"{height: isMainNode?'142rpx':'88rpx', paddingTop: isMainNode?'22rpx':'8rpx'}\">\r\n <div v-if=\"!isFirst\" class=\"line\" :style=\"{height: isMainNode?'120rpx':'80rpx'}\"></div>\r\n </div>\r\n </div>\r\n <div class=\"node-container-right\" :style=\"{paddingTop: isMainNode?'0':'8rpx'}\">\r\n <div v-if=\"isMainNode\" class=\"node-title\" :style=\"{color: isNewest?'#222':'#999'}\">{{nodeData.statusName}}</div>\r\n <div class=\"node-desc\" :style=\"{color: isNewest?'#4b4b4b':'#999', marginTop: isMainNode?'10rpx':'0'}\">{{acceptStationFixed}}</div>\r\n <div v-if=\"nodeData.phone\" class=\"node-phone\" @click=\"docall(nodeData.phone)\">{{nodeData.phone}}</div>\r\n <div class=\"node-time\">{{nodeData.createTime}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n props: {\r\n isNewest: {\r\n type: Boolean,\r\n default: false\r\n },\r\n isFirst: {\r\n type: Boolean,\r\n default: false\r\n },\r\n isMainNode: {\r\n type: Boolean,\r\n default: false\r\n },\r\n nodeData: {\r\n type: Object,\r\n default () {\r\n return {\r\n status: '',\r\n statusName: '',\r\n createTime: '2019-01-01 00:00:00',\r\n acceptStation: 'xxxxxx'\r\n }\r\n }\r\n }\r\n },\r\n methods:{\r\n\tdocall(phone){\r\n\t\tuni.makePhoneCall({\r\n\t\t\tphoneNumber:phone\r\n\t\t})\r\n\t} \r\n },\r\n computed: {\r\n nodeIconUrl () {\r\n if (this.nodeData.status === 'WATTING_PAY') { // 待付款\r\n return this.isNewest ? '/static/images/ic-order-commit.png' : '/static/images/ic-order-commit-G.png'\r\n } else if (this.nodeData.status === 'PAYED') { // 待发货\r\n return this.isNewest ? '/static/images/ic-paied.png' : '/static/images/ic-paied-G.png'\r\n } else if (this.nodeData.status === 'WATTING_DELIVER') { // 已揽件\r\n return this.isNewest ? '/static/images/ic-pacakaging.png' : '/static/images/ic-pacakaging-G.png'\r\n } else if (this.nodeData.status === 'DELIVERING') { // 运输中\r\n return this.isNewest ? '/static/images/ic-sending.png' : '/static/images/ic-sending-G.png'\r\n } else if (this.nodeData.status === 'COMPLETE') { // 已完成\r\n return this.isNewest ? '/static/images/ic-delivering.png' : '/static/images/ic-delivering-G.png'\r\n }\r\n },\r\n acceptStationFixed () {\r\n if (!this.nodeData.acceptStation) return ''\r\n return this.nodeData.acceptStation.replace(/(\\d{3})\\d{4}(\\d{4})/, '')\r\n }\r\n }\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.total-wrap {\r\n margin-top: 22rpx;\r\n width: 100%;\r\n .node-container {\r\n width: 100%;\r\n height: auto;\r\n display: flex;\r\n &-left {\r\n width: 44rpx;\r\n height: auto;\r\n .tag-container {\r\n width: 44rpx;\r\n height: 44rpx;\r\n img {\r\n width: 44rpx;\r\n height: 44rpx;\r\n }\r\n .node-tag-container {\r\n width: 44rpx;\r\n height: 44rpx;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n .node-tag {\r\n width: 14rpx;\r\n height: 14rpx;\r\n background-color: #dcdcdc;\r\n border-radius: 50%;\r\n }\r\n }\r\n }\r\n .line-container {\r\n box-sizing: border-box;\r\n width: 44rpx;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n .line {\r\n width: 2rpx;\r\n background-color: #dcdcdc;\r\n }\r\n }\r\n }\r\n &-right {\r\n flex: 1;\r\n box-sizing: border-box;\r\n padding: 0 10rpx 0 24rpx;\r\n .node-title {\r\n width: 100%;\r\n height: 40rpx;\r\n line-height: 44rpx;\r\n color: #222;\r\n font-size: 28rpx;\r\n font-family: 'PingFangSC-Medium';\r\n }\r\n .node-desc {\r\n margin-top: 16rpx;\r\n width: 100%;\r\n min-height: 30rpx;\r\n line-height: 30rpx;\r\n color: #222;\r\n font-size: 24rpx;\r\n font-family: 'PingFangSC-Regular';\r\n word-wrap: break-word;\r\n word-break: normal;\r\n }\r\n .node-phone {\r\n margin-top: 8rpx;\r\n width: 100%;\r\n height: 26rpx;\r\n line-height: 26rpx;\r\n color: #FE4E2C;\r\n font-size: 26rpx;\r\n font-family: 'Avenir-Medium';\r\n }\r\n .node-time {\r\n margin-top: 12rpx;\r\n width: 100%;\r\n height: 34rpx;\r\n line-height: 34rpx;\r\n color: #999;\r\n font-size: 24rpx;\r\n font-family: 'Avenir-Book';\r\n }\r\n }\r\n }\r\n}\r\n</style>","import mod from \"-!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./trackNode.vue?vue&type=style&index=0&id=07035cc2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX.2.7.9.20200527/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./trackNode.vue?vue&type=style&index=0&id=07035cc2&lang=scss&scoped=true&\""],"sourceRoot":""}
|