sl-express/project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/.sourcemap/mp-weixin/pages/express-delivery/index.js.map
shuhongfan cf5ac25c14 init
2023-09-04 16:40:17 +08:00

1 line
45 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["uni-app:///main.js","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/index.vue?738f","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/index.vue?2049","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/index.vue?d5c2","uni-app:///pages/express-delivery/index.vue","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/getTimePicker.vue?9128","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/getTimePicker.vue?7e8f","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/getTimePicker.vue?043c","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/getTimePicker.vue?d3cd","uni-app:///pages/express-delivery/components/getTimePicker.vue","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/payType.vue?93f6","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/payType.vue?ef4e","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/payType.vue?5cb0","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/pages/express-delivery/components/payType.vue?d750","uni-app:///pages/express-delivery/components/payType.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,uG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACoE;AACL;AACuB;AACN;AACb;;;AAGnE;AAC+L;AAC/L,gBAAgB,sMAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACzBf;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAA4uB,CAAgB,uvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkKhwB;;;;;;;AAOA;;;;AAIA;;;AAGA;;;;AAIA;AACA;AACA,+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,kC,CAAA;AACA,6BACA,kDAEA,wGACA,CAHA,EAKA,iC,CAAA;AACA,8B,CAAA;AACA,kCACA,8CACA,mC,CAAA;AACA,+CACA,iC,CAAA;AACA,6B,CAAA;AACA,+B,CAAA;AACA,uCACA,WADA,EACA;AACA,YAFA,EAEA;AACA,iBAHA,EAGA;AACA,sBAJA,CAIA;AAJA,GAMA,8BACA,iCACA,SADA,EAEA,SAFA,EAGA,aAHA,EAIA,aAJA,IAMA,sCACA,QADA,EAEA,SAFA,EAGA,WAHA,EAIA,aAJA,I,CAKA;AACA,qCACA,QADA,EAEA,SAFA,EAGA,WAHA,EAIA,aAJA,I,CAKA;AACA;AACA,gEACA,iBACA,oCADA,IAGA,CAJA,CAKA,iCACA,oCACA,yCACA,4CACA,sDACA,sGACA,oBADA,GACA,GADA,GACA,iCADA,GACA,GADA,GACA,uBADA,GACA,KADA,CALA,CAOA;AACA;AACA,CATA,EAUA,wCACA,qCADA,CAEA;AACA,gCACA;AACA,6CACA,kCACA,wDACA,CACA,CANA,MAMA,6BACA;AACA,4CACA,mCACA,0DACA,CACA,CAfA,CAgBA;AACA,mBACA,8CACA,CACA,0BACA,4BACA,4BACA,uCACA,gFAxBA,CAyBA;AACA,4BACA,mCACA,0DACA,CACA,kCACA,wDACA,CACA,cAPA,CAOA;AACA,GACA,CAnCA,E,CAoCA;AACA,qDACA,qCACA,qCACA,gBACA,4DACA,wBACA,yBACA,6BACA,aACA,CAJA,MAIA,CACA,aACA,CACA,CATA,MASA,CACA,aACA,CACA,CAfA,C,CAiBA;AACA,kEAEA,4DACA,gDADA,gBAYA,QAZA,CAGA,IAHA,aAGA,IAHA,CAIA,WAJA,aAIA,WAJA,CAKA,OALA,aAKA,OALA,CAMA,IANA,aAMA,IANA,CAOA,MAPA,aAOA,MAPA,CAQA,QARA,aAQA,QARA,CASA,MATA,aASA,MATA,CAUA,SAVA,aAUA,SAVA,CAWA,WAXA,aAWA,WAXA,CAaA,sBACA,uBACA,+BACA,6BACA,2EACA,CALA,MAKA,CACA,wBACA,sBACA,8BACA,4BACA,0EACA,CACA,iCACA,CA1BA,EA2BA,CA7BA,C,CA+BA;AACA,0CACA,MADA,G,CAGA;AACA,mC,CACA;AACA,2CACA,0BACA,CAFA,C,CAIA;AACA,8CACA,kDACA,8BACA,CAHA,C,CAIA;AACA,kDACA,2BACA,CAFA,CAIA,4CACA,gCACA,gCACA,mCACA,mCACA,iBACA,yBADA,IAGA,CARA,C,CAUA;AACA,sDACA,iBACA,6BADA,IAGA,CAJA,C,CAMA;AACA,sDACA,iBACA,wCADA,IAGA,CAJA,C,CAMA;AACA,sDACA;AACA;AACA,CAHA;;AAKA;AACA;AACA;AACA;AACA,CAHA;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA,cADA;AAEA,8BAFA;AAGA,8BAHA;AAIA,8BAJA;AAKA,gCALA;AAMA,6BANA;AAOA,6BAPA;AAQA,+CARA;AASA,6CATA;AAUA,iBAVA,CAUA;AAVA,KAWA,IAXA,CAWA;AACA;AACA;AACA;AACA,sBADA;AAEA,oBAFA;AAGA,sBAHA;;AAKA,KANA,MAMA;AACA;AACA,mEADA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAlCA;;AAoCA,CAxCA;;AA0CA;AACA;AACA;AACA;AACA;AACA,cADA,CADA;;AAIA,GALA,MAKA;AACA;AACA,iEADA;;AAGA;;AAEA,CAZA;;AAcA;AACA;AACA;AACA;AACA;AACA,aADA,CADA;;AAIA,GALA,MAKA;AACA;AACA,gEADA;;AAGA;AACA,CAXA;AAYA;AACA;AACA;AACA;AACA;AACA;AACA,UADA,KACA,CADA,GACA,kBADA,IACA,QADA,CADA;AAGA;AACA;AACA,CARA;AASA;AACA;AACA;AACA;AACA,CAHA;AAIA;AACA;;AAEA;AACA,cADA;AAEA,8BAFA;AAGA,8BAHA;AAIA,8BAJA;AAKA,gCALA;AAMA,gDANA;AAOA,6BAPA;AAQA,+CARA;AASA,6CATA;AAUA,iBAVA,CAUA;AAVA,KAWA,IAXA,CAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GArBA;AAsBA,CAxBA,C;;;;;;;;;;;;;ACxdA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsI;AACtI;AAC4E;AACL;AAC4B;;;AAGnG;AAC+L;AAC/L,gBAAgB,sMAAU;AAC1B,EAAE,8FAAM;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,aAAa,gQAEN;AACP;AACA;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;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAovB,CAAgB,+vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+BxwB,6C;;;;;;;AAOA;AACA;AACA,iC,CAAA;AACA,oC,CAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBADA;AAEA,YAFA,GADA;;;AAMA;AACA;AACA,+EADA;;AAGA,CAJA;AAKA;AACA;AACA,sBADA;AAEA,UAFA;;AAIA;AACA,sBADA;AAEA,WAFA,EAJA;;AAQA;AACA,sBADA;AAEA,WAFA,EARA;;AAYA;AACA,sBADA;AAEA,WAFA,EAZA;;AAgBA;AACA,sBADA;AAEA,WAFA,EAhBA;;AAoBA;AACA,sBADA;AAEA,WAFA,EApBA;;AAwBA;AACA,sBADA;AAEA,WAFA,EAxBA;;AA4BA;AACA,sBADA;AAEA,WAFA,EA5BA;;AAgCA;AACA,sBADA;AAEA,WAFA,EAhCA;;AAoCA;AACA,sBADA;AAEA,WAFA,EApCA;;AAwCA;AACA,sBADA;AAEA,WAFA,EAxCA;;AA4CA;AACA,sBADA;AAEA,WAFA,EA5CA,CADA;;;;AAmDA;AACA;AACA;AACA,CAHA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,kCADA;AAEA,4CAFA;AAGA,oCAHA;AAIA,8CAJA;;AAMA,CAVA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CANA;AAOA;AACA;AACA;;AAEA;AACA;AACA;AACA,CANA;AAOA;AACA;AACA;AACA,CAFA;AAGA;AACA;AACA,wBADA,I;;;;;;;;;;;;AClJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AACsE;AACL;AAC4B;;;AAG7F;AAC+L;AAC/L,gBAAgB,sMAAU;AAC1B,EAAE,wFAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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,gQAEN;AACP;AACA;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;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAA8uB,CAAgB,yvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0BlwB,6C;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,mDACA,4BACA,+BACA,+BACA,EACA,WADA,EAEA,sCAFA,EAGA,QAHA,EADA,EAMA,EACA,WADA,EAEA,kCAFA,EAGA,QAHA,EANA,G,CAYA;AACA,8DACA,2BACA,CAFA,C,CAGA;AACA,wCACA;AAEA,CAHA;AAIA;AACA;AACA;AACA;AACA,CAHA;AAIA;AACA;AACA,wBADA,I","file":"pages/express-delivery/index.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/express-delivery/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=974f6ea6&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&setup=true&lang=js&\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=js&\"\nimport style0 from \"./components/getTimePicker.scss?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./components/payType.scss?vue&type=style&index=1&lang=scss&\"\nimport style2 from \"./index.scss?vue&type=style&index=2&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\Users\\\\itcast\\\\Downloads\\\\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 = \"pages/express-delivery/index.vue\"\nexport default component.exports","export * from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=974f6ea6&\"","import mod from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&setup=true&lang=js&\"; export default mod; export * from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&setup=true&lang=js&\"","<template>\r\n\t<!-- 头部导航栏 -->\r\n\t<nav-bar title='寄快递' :handleToLink=\"handleToLink\"></nav-bar>\r\n\t<view class=\"express-delivery\">\r\n\t\t<!-- 寄件人,收件人信息填写(地址簿) -->\r\n\t\t<view class=\"address-box\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t<view class=\"send\">寄</view>\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view class=\"get\">收</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<view class=\"send-people\">\r\n\t\t\t\t\t<view class=\"send-title\" @click=\"toSendAddressInfo\">\r\n\t\t\t\t\t\t<view class=\"send-sub-title\">\r\n\t\t\t\t\t\t\t{{senderInfo.name?senderInfo.name:'寄件人信息'}}\r\n\t\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\t\tv-if=\"senderInfo.phone\">{{senderInfo.phone.replace(/(\\d{3})\\d{4}(\\d{4})/, \"$1****$2\")}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"send-desc\">\r\n\t\t\t\t\t\t\t{{senderInfo.address?senderInfo.areaLabel+senderInfo.address:'支持智能填写,文本导入'}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t<view class=\"address-enter\" @click=\"handleToAddress('send')\">地址簿</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"line\"></view>\r\n\t\t\t\t<view class=\"get-people\">\r\n\t\t\t\t\t<view class=\"send-title\" @click=\"toGetAddressInfo\">\r\n\t\t\t\t\t\t<view class=\"send-sub-title\">\r\n\t\t\t\t\t\t\t{{geterInfo.name?geterInfo.name:'收件人信息'}}\r\n\t\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\t\tv-if=\"geterInfo.phone\">{{geterInfo.phone.replace(/(\\d{3})\\d{4}(\\d{4})/, \"$1****$2\")}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"send-desc\">\r\n\t\t\t\t\t\t\t{{geterInfo.address?geterInfo.areaLabel+geterInfo.address:'支持智能填写,文本导入'}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t<view class=\"address-enter\" @click=\"handleToAddress('get')\">地址簿</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\r\n\t\t<!-- 寄件其他信息填写 -->\r\n\t\t<view class=\"send-form\">\r\n\t\t\t<view class=\"tab-box\" :class=\"activeIndex===1?'active':''\">\r\n\t\t\t\t<view class=\"tab-item\" :class=\"activeIndex===index?'active':'isNotActive'\"\r\n\t\t\t\t\tv-for='(item,index) in tabList' @click=\"changeTab(index)\" :key='index'>\r\n\t\t\t\t\t{{item}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"form-box\">\r\n\t\t\t\t<view class=\"toDoor\" v-if='activeIndex === 0'>\r\n\t\t\t\t\t<!-- 期望上门时间 -->\r\n\t\t\t\t\t<view class=\"form-getTime\" @click='handleGetTime'>\r\n\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t<view class=\"label\">期望上门时间</view>\r\n\t\t\t\t\t\t\t<view class=\"required\"></view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t\t\t<view class=\"value\" :class=\"toDoorTimeLabel?'active':''\">\r\n\t\t\t\t\t\t\t\t{{toDoorTimeLabel?toDoorTimeLabel:'请选择'}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<icon class=\"nextIcon\"></icon>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 物品信息 -->\r\n\t\t\t\t\t<view class=\"goods-info\" @click='handleToGoodsInfo'>\r\n\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t<view class=\"label\">物品信息</view>\r\n\t\t\t\t\t\t\t<view class=\"required\"></view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t\t\t<view class=\"value\" :class=\"goods.goodsName?'active':''\">\r\n\t\t\t\t\t\t\t\t{{goods.goodsName?(goods.goodsName + ', '+ (goods.weight+'公斤') + (goods.volume?', '+(dealWithVolume(goods.volume/1000000)+'m³'):'')):'请选择'}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<icon class=\"nextIcon\"></icon>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<!-- 付款方式 -->\r\n\t\t\t\t\t<view class=\"pay-type\" @click='handleToPayType'>\r\n\t\t\t\t\t\t<view class=\"left\">\r\n\t\t\t\t\t\t\t<view class=\"label\">付款方式</view>\r\n\t\t\t\t\t\t\t<!-- <view class=\"required\"></view> -->\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"right\">\r\n\t\t\t\t\t\t\t<view class=\"value\" :class=\"payMethod?'active':''\">\r\n\t\t\t\t\t\t\t\t{{payMethod ===1?'寄付':payMethod ===2?'到付':'请选择'}}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<icon class=\"nextIcon\"></icon>\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<!-- 网点自寄 -->\r\n\t\t\t\t<view class=\"branch-send\" v-else>\r\n\t\t\t\t\t网点自寄\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 期待上门时间弹窗 -->\r\n\t\t<GetTimePicker ref='timePicker' @getTime=\"getTime\"></GetTimePicker>\r\n\r\n\t\t<!-- 付款方式弹窗 -->\r\n\t\t<PayTypeDialog ref='payType' @getPayType=\"getPayType\"></PayTypeDialog>\r\n\r\n\t\t<!-- 底部 -->\r\n\t\t<view class=\"footer\" :class=\"{active:isSeachPriceDetail}\">\r\n\t\t\t<view class=\"left\">\r\n\t\t\t\t<view class=\"left-top\" @click=\"searchPriceDetail\">\r\n\t\t\t\t\t<view class=\"all-account\">\r\n\t\t\t\t\t\t预估总价\r\n\t\t\t\t\t\t<view class=\"price\">¥{{feightPrice.expense}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"price-detail\">\r\n\t\t\t\t\t\t明细\r\n\t\t\t\t\t\t<view class=\"arrow\"></view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"left-bottom\">\r\n\t\t\t\t\t<view class=\"active\"></view>\r\n\t\t\t\t\t<view class=\"content\">阅读并同意《电子运单契约条款》</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"right\">\r\n\t\t\t\t<view class=\"btn\" :class=\"isCanSubmit?'active':''\" @click=\"order\">下单</view>\r\n\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 运费明细弹窗 -->\r\n\t\t<uni-popup ref=\"priceDetail\" type=\"bottom\" class=\"priceDetail\">\r\n\t\t\t<view class=\"header\">\r\n\t\t\t\t<view class=\"header-title\">运费预估</view>\r\n\t\t\t\t<view class=\"close\" @click=\"handleCancel\"></view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"title\">\r\n\t\t\t\t实际费用请以快递员揽收为准\r\n\t\t\t\t<view class=\"title-red\" @click=\"openAccountRulesDialog\">了解计费规则</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"base-price\">\r\n\t\t\t\t<view class=\"left\">基础运费</view>\r\n\t\t\t\t<view class=\"right\">¥{{feightPrice.expense}}</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"price-rule\">首重1.0kg{{feightPrice.firstWeight}}元,续重{{feightPrice.continuousWeight}}元/kg</view>\r\n\t\t\t<view class=\"billing-weight\">\r\n\t\t\t\t<view class=\"left\">计费重量</view>\r\n\t\t\t\t<view class=\"right\">(含包装){{feightPrice.weight}}kg</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"line\"></view>\r\n\t\t\t<view class=\"add-service\">\r\n\t\t\t\t<view class=\"left\">增值服务</view>\r\n\t\t\t\t<view class=\"right\">¥0</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"setTimeout-send\">\r\n\t\t\t\t<view class=\"left\">礼物定时派送</view>\r\n\t\t\t\t<view class=\"right\">¥0</view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref,\r\n\t\treactive,\r\n\t\tonMounted,\r\n\t\tcomputed,\r\n\t\twatch\r\n\t} from 'vue';\r\n\timport {\r\n\t\tonLoad,\r\n\t\tonShow\r\n\t} from '@dcloudio/uni-app';\r\n\timport {\r\n\t\tgetAddressInfoDetail,\r\n\t} from '@/pages/api/address.js'\r\n\timport {\r\n\t\tdoOrder,\r\n\t\tgetEstimatePrice\r\n\t} from '@/pages/api/order.js'\r\n\timport GetTimePicker from './components/getTimePicker.vue';\r\n\timport PayTypeDialog from './components/payType.vue';\r\n\timport {\r\n\t\tuseStore\r\n\t} from 'vuex';\r\n\tconst store = useStore(); //vuex获取、储存数据\r\n\tconst users = store.state.user\r\n\tconst isCanSubmit = computed(() => {\r\n\r\n\t\treturn (geterInfo.name && senderInfo.name && goods.goodsName && payMethod.value && toDoorTimeLabel.value)\r\n\t})\r\n\r\n\tconst timePicker = ref() //期望上门时间组件的引用\r\n\tconst payType = ref() //付款方式弹窗组件的引用\r\n\tconst priceDetail = ref()\r\n\tconst isSeachPriceDetail = ref(false)\r\n\tconst toDoorTime = ref('') //预计上门时间\r\n\tconst toDoorTimeLabel = ref('今天 一小时内')\r\n\tconst payMethod = ref(1) //付款方式\r\n\tconst type = ref('') //判断是从寄件地址返回的还是收件地址\r\n\tconst sendId = ref('') //地址簿id\r\n\tconst feightPrice = reactive({\r\n\t\texpense: '', //运费\r\n\t\tweight: '', //计算重量\r\n\t\tfirstWeight: '', //首重价格\r\n\t\tcontinuousWeight: '' //续重价格\r\n\t})\r\n\tconst getId = ref('')\r\n\tconst goods = reactive({\r\n\t\tweight: 1,\r\n\t\tvolume: 1,\r\n\t\tgoodsName: '',\r\n\t\tgoodsType: ''\r\n\t})\r\n\tconst senderInfo = reactive({\r\n\t\tname: '',\r\n\t\tphone: '',\r\n\t\taddress: '',\r\n\t\tareaLabel: '',\r\n\t}) //寄件人信息\r\n\tconst geterInfo = reactive({\r\n\t\tname: '',\r\n\t\tphone: '',\r\n\t\taddress: '',\r\n\t\tareaLabel: '',\r\n\t}) //收件人信息\r\n\t//打开计费规则弹窗\r\n\tconst openAccountRulesDialog = () => {\r\n\t\tuni.navigateTo({\r\n\t\t\turl: '/subPages/account-rules/index'\r\n\t\t});\r\n\t}\r\n\tonMounted(() => {\r\n\t\tfeightPrice.expense = users.expense\r\n\t\tfeightPrice.weight = users.computeWeight\r\n\t\tfeightPrice.firstWeight = users.firstWeight\r\n\t\tfeightPrice.continuousWeight = users.continuousWeight\r\n\t\ttoDoorTime.value = String(new Date().getFullYear()) + '-' + String(new Date().getMonth() + 1) + '-' +\r\n\t\t\tnew Date().getDate() + ' ' + String(new Date().getHours() + 1) + ':' + new Date().getMinutes() + ':00'\r\n\t\t// console.log(String(new Date().getFullYear()) + '-' + String(new Date().getMonth() + 1) + '-' + \r\n\t\t// \tnew Date().getDate() + ' ' + String(new Date().getHours()+1) + ':' + new Date().getMinutes() +':00','重新加载组件了')\r\n\t})\r\n\tonLoad((options) => {\r\n\t\tconsole.log(options, users, 'users')\r\n\t\t//用于解决页面跳转回来数据缺失问题\r\n\t\tif (options.type === 'send') {\r\n\t\t\t// sendId.value = options.id\r\n\t\t\tuni.setStorageSync('sendId', options.id)\r\n\t\t\tif (uni.getStorageSync('getId')) {\r\n\t\t\t\tsearchAddressDetail(uni.getStorageSync('getId'), 'get')\r\n\t\t\t}\r\n\t\t} else if (options.type === 'get') {\r\n\t\t\t// getId.value = options.id\r\n\t\t\tuni.setStorageSync('getId', options.id)\r\n\t\t\tif (uni.getStorageSync('sendId')) {\r\n\t\t\t\tsearchAddressDetail(uni.getStorageSync('sendId'), 'send')\r\n\t\t\t}\r\n\t\t}\r\n\t\t// 第一次进入寄件,回退时\r\n\t\tif (options.id) {\r\n\t\t\tsearchAddressDetail(options.id, options.type)\r\n\t\t}\r\n\t\ttype.value = options.type\r\n\t\tgoods.volume = users.volume\r\n\t\tgoods.weight = users.weight\r\n\t\tgoods.goodsName = users.goodsInfo.name\r\n\t\tgoods.goodsType = users.goodsInfo.goodsType ? users.goodsInfo.goodsType.id : ''\r\n\t\t//如果从物品信息页面返回到当前页面需要重新获取之前的地址信息\r\n\t\tif (options.isFromGoods) {\r\n\t\t\tif (uni.getStorageSync('sendId')) {\r\n\t\t\t\tsearchAddressDetail(uni.getStorageSync('sendId'), 'send')\r\n\t\t\t}\r\n\t\t\tif (uni.getStorageSync('getId')) {\r\n\t\t\t\tsearchAddressDetail(uni.getStorageSync('getId'), 'get')\r\n\t\t\t}\r\n\t\t\tcalcFreight() //\r\n\t\t} \r\n\t})\r\n\t//处理体积如果是超过小数点后四位则保留四位小数,其他情况直接展示\r\n\tconst dealWithVolume = (value) => {\r\n\t\tlet dot = String(value).indexOf(\".\");\r\n\t\tconsole.log(value, dot, 'valeeeeee')\r\n\t\tif (dot != -1) {\r\n\t\t\tlet dotCnt = String(value).substring(dot + 1, value.length);\r\n\t\t\tif (dotCnt.length > 4) {\r\n\t\t\t\tvalue = value.toFixed(4);\r\n\t\t\t\tconsole.log(value, 'v11111')\r\n\t\t\t\treturn value\r\n\t\t\t} else {\r\n\t\t\t\treturn value\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\treturn value\r\n\t\t}\r\n\t}\r\n\r\n\t//查询地址簿详情\r\n\tconst searchAddressDetail = (id, type) => {\r\n\r\n\t\tgetAddressInfoDetail(id).then((res) => {\r\n\t\t\tconsole.log(sendId.value, getId.value, '=====')\r\n\t\t\tconst {\r\n\t\t\t\tname,\r\n\t\t\t\tphoneNumber,\r\n\t\t\t\taddress,\r\n\t\t\t\tcity,\r\n\t\t\t\tcounty,\r\n\t\t\t\tprovince,\r\n\t\t\t\tisShow,\r\n\t\t\t\tisDefault,\r\n\t\t\t\taddressType\r\n\t\t\t} = res.data\r\n\t\t\tif (type === 'send') {\r\n\t\t\t\tsenderInfo.name = name\r\n\t\t\t\tsenderInfo.phone = phoneNumber\r\n\t\t\t\tsenderInfo.address = address\r\n\t\t\t\tsenderInfo.areaLabel = province.name + ' ' + city.name + ' ' + county.name\r\n\t\t\t} else {\r\n\t\t\t\tconsole.log('````````')\r\n\t\t\t\tgeterInfo.name = name\r\n\t\t\t\tgeterInfo.phone = phoneNumber\r\n\t\t\t\tgeterInfo.address = address\r\n\t\t\t\tgeterInfo.areaLabel = province.name + ' ' + city.name + ' ' + county.name\r\n\t\t\t}\r\n\t\t\tconsole.log(senderInfo, '地址簿详情')\r\n\t\t})\r\n\t}\r\n\r\n\t//tab常量\r\n\tconst tabList = reactive(['上门取件',\r\n\t\t'网点自寄'\r\n\t])\r\n\t//当前\r\n\tlet activeIndex = ref(0)\r\n\t// 切换tab\r\n\tconst changeTab = (index) => {\r\n\t\tactiveIndex.value = index\r\n\t}\r\n\r\n\t//打开选择期望上门时间弹窗\r\n\tconst handleGetTime = () => {\r\n\t\tconsole.dir(timePicker.value, 'timePicker.value')\r\n\t\ttimePicker.value.handleOpen()\r\n\t}\r\n\t//打开付款方式弹窗\r\n\tconst handleToPayType = () => {\r\n\t\tpayType.value.handleOpen()\r\n\t}\r\n\r\n\tconst handleToLink = () => {\r\n\t\tuni.removeStorageSync('volume');\r\n\t\tuni.removeStorageSync('weight');\r\n\t\tuni.removeStorageSync('goodsName');\r\n\t\tuni.removeStorageSync('goodsType');\r\n\t\tuni.redirectTo({\r\n\t\t\turl: '/pages/index/index'\r\n\t\t});\r\n\t}\r\n\r\n\t//跳转到物品信息页面\r\n\tconst handleToGoodsInfo = () => {\r\n\t\tuni.navigateTo({\r\n\t\t\turl: '/pages/goodsInfo/index'\r\n\t\t});\r\n\t}\r\n\r\n\t//跳转地址簿\r\n\tconst handleToAddress = (type) => {\r\n\t\tuni.navigateTo({\r\n\t\t\turl: '/pages/address/index?type=' + type\r\n\t\t});\r\n\t}\r\n\r\n\t//查看运费明细\r\n\tconst searchPriceDetail = () => {\r\n\t\tpriceDetail.value.open('bottom')\r\n\t\tisSeachPriceDetail.value = true\r\n\t}\r\n\r\n\t//关闭运费明细弹窗\r\n\tconst handleCancel = () => {\r\n\t\tpriceDetail.value.close()\r\n\t\tisSeachPriceDetail.value = false\r\n\t}\r\n\r\n\t//下单\r\n\tconst order = () => {\r\n\t\tif(!isCanSubmit.value){\r\n\t\t\treturn \r\n\t\t}\r\n\t\tdoOrder({\r\n\t\t\tgoodNum: 1,\r\n\t\t\tgoodsName: goods.goodsName,\r\n\t\t\tgoodsType: goods.goodsType,\r\n\t\t\tpayMethod: payMethod.value,\r\n\t\t\tpickUpTime: toDoorTime.value,\r\n\t\t\ttotalVolume: goods.volume,\r\n\t\t\ttotalWeight: goods.weight,\r\n\t\t\treceiptAddress: uni.getStorageSync('getId'),\r\n\t\t\tsendAddress: uni.getStorageSync('sendId'),\r\n\t\t\tpickupType: 0 //0上门取件1网点自寄\r\n\t\t}).then((res) => {\r\n\t\t\tconsole.log(res, 'resssssss')\r\n\t\t\tif (res.code !== 200) {\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\tduration: 1000\r\n\t\t\t\t})\r\n\t\t\t} else {\r\n\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\turl: '/subPages/order-success/index?orderId=' + res.data.id\r\n\t\t\t\t});\r\n\t\t\t\tuni.removeStorageSync('getId');\r\n\t\t\t\tuni.removeStorageSync('sendId');\r\n\t\t\t\tstore.commit('user/setGoodsInfo',{})\r\n\t\t\t\tstore.commit('user/setVolume','')\r\n\t\t\t\tstore.commit('user/setExpense',0)\r\n\t\t\t\tstore.commit('user/setComputeWeight',0)\r\n\t\t\t\tstore.commit('user/setFirstWeight',0)\r\n\t\t\t\tstore.commit('user/setContinuousWeight',0)\r\n\t\t\t}\r\n\r\n\t\t\tconsole.log(res, 'res')\r\n\t\t})\r\n\r\n\t}\r\n\r\n\t//跳转到寄件人地址信息填写页面\r\n\tconst toSendAddressInfo = () => {\r\n\t\tif (uni.getStorageSync('sendId')) {\r\n\t\t\tuni.redirectTo({\r\n\t\t\t\turl: '/subPages/address-info/index?type=send&editOrAdd=edit' + '&id=' + uni.getStorageSync(\r\n\t\t\t\t\t'sendId')\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tuni.redirectTo({\r\n\t\t\t\turl: '/subPages/address-info/index?type=send&editOrAdd=add'\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t//跳转到收件人地址信息填写页面\r\n\tconst toGetAddressInfo = () => {\r\n\t\tif (uni.getStorageSync('getId')) {\r\n\t\t\tuni.redirectTo({\r\n\t\t\t\turl: '/subPages/address-info/index?type=get&editOrAdd=edit' + '&id=' + uni.getStorageSync(\r\n\t\t\t\t\t'getId')\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tuni.redirectTo({\r\n\t\t\t\turl: '/subPages/address-info/index?type=get&editOrAdd=add'\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\t//获取期望上门时间数据\r\n\tconst getTime = (value) => {\r\n\t\tconsole.log(value, 'value')\r\n\t\ttoDoorTimeLabel.value = value.selectedDayLabel + ' ' + value.selectedTimeLabel\r\n\t\ttoDoorTime.value = String(new Date().getFullYear()) + '-' + String(new Date().getMonth() + 1) + '-' + (\r\n\t\t\tnew Date().getDate() + value.selectedDay + ' ' + String((value.selectedTime === 1 ? new Date()\r\n\t\t\t\t.getHours() + 1 : value.selectedTime) + ':00:00'))\r\n\t\t// console.log(value, String(new Date().getFullYear()) + '-' + String(new Date().getMonth() + 1) + '-' + (\r\n\t\t// \tnew Date().getDate() + value.selectedDay + ' ' + String(value.selectedTime + ':00:00')), 'value')\r\n\t}\r\n\t//获取付款方式数据\r\n\tconst getPayType = (value) => {\r\n\t\tconsole.log(value, 'value')\r\n\t\tpayMethod.value = value\r\n\t}\r\n\t//计算运费\r\n\tconst calcFreight = () => {\r\n\r\n\t\tgetEstimatePrice({\r\n\t\t\tgoodNum: 1,\r\n\t\t\tgoodsName: goods.goodsName,\r\n\t\t\tgoodsType: goods.goodsType,\r\n\t\t\tpayMethod: payMethod.value,\r\n\t\t\tpickUpTime: toDoorTime.value,\r\n\t\t\ttotalVolume: goods.volume ? goods.volume : 0,\r\n\t\t\ttotalWeight: goods.weight,\r\n\t\t\treceiptAddress: uni.getStorageSync('getId'),\r\n\t\t\tsendAddress: uni.getStorageSync('sendId'),\r\n\t\t\tpickupType: 0 //0上门取件1网点自寄\r\n\t\t}).then((res) => {\r\n\t\t\tstore.commit('user/setExpense', res.data.expense)\r\n\t\t\tstore.commit('user/setComputeWeight', res.data.computeWeight)\r\n\t\t\tstore.commit('user/setFirstWeight', res.data.firstWeight)\r\n\t\t\tstore.commit('user/setContinuousWeight', res.data.continuousWeight)\r\n\t\t\tfeightPrice.expense = res.data.expense\r\n\t\t\tfeightPrice.weight = res.data.computeWeight\r\n\t\t\tfeightPrice.firstWeight = res.data.firstWeight\r\n\t\t\tfeightPrice.continuousWeight = res.data.continuousWeight\r\n\t\t\tconsole.log(res, '计算运维')\r\n\t\t})\r\n\t}\r\n</script>\r\n<style src='./components/getTimePicker.scss' lang=\"scss\"></style>\r\n<style src='./components/payType.scss' lang=\"scss\"></style>\r\n<style src=\"./index.scss\" lang=\"scss\"></style>\n","import { render, staticRenderFns, recyclableRender, components } from \"./getTimePicker.vue?vue&type=template&id=d7737426&scoped=true&\"\nvar renderjs\nimport script from \"./getTimePicker.vue?vue&type=script&setup=true&lang=js&\"\nexport * from \"./getTimePicker.vue?vue&type=script&setup=true&lang=js&\"\nimport style0 from \"./getTimePicker.scss?vue&type=style&index=0&id=d7737426&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\Users\\\\itcast\\\\Downloads\\\\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 \"d7737426\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/express-delivery/components/getTimePicker.vue\"\nexport default component.exports","export * from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./getTimePicker.vue?vue&type=template&id=d7737426&scoped=true&\"","var components\ntry {\n components = {\n uniPopup: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-popup/components/uni-popup/uni-popup\" */ \"@/uni_modules/uni-popup/components/uni-popup/uni-popup.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./getTimePicker.vue?vue&type=script&setup=true&lang=js&\"; export default mod; export * from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./getTimePicker.vue?vue&type=script&setup=true&lang=js&\"","<template>\r\n\t<view class=\"getTimePicker\">\r\n\t\t<uni-popup ref=\"popup\" type=\"bottom\">\r\n\t\t\t<view class=\"header\">\r\n\t\t\t\t<view class=\"header-title\">期望上门时间</view>\r\n\t\t\t\t<view class=\"close\" @click=\"handleCancel\"></view>\r\n\t\t\t</view>\r\n\t\t\t<!-- 时间选择区域 -->\r\n\t\t\t<view class=\"time-select\">\r\n\t\t\t\t<view class=\"select-day\">\r\n\t\t\t\t\t<view :class=\"selectedDay === index ?'active':''\" class=\"select-day-item\"\r\n\t\t\t\t\t\t@click=\"handleSelectDay(index,item)\" v-for=\"(item,index) in selectDay\" :key='index'>\r\n\t\t\t\t\t\t{{item}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"select-time\">\r\n\t\t\t\t\t<scroll-view scroll-y :scroll-top=\"scrollTop\" @scroll=\"scroll\">\r\n\t\t\t\t\t\t<view :class=\"selectedTime === item.value ?'active':''\" class=\"time-item\"\r\n\t\t\t\t\t\t\tv-for=\"(item,index) in (selectedDay===0?todayList.todos:dateList)\" :key=\"index\"\r\n\t\t\t\t\t\t\t@click='handleSelectTime(item.value,item.label)'>\r\n\t\t\t\t\t\t\t<view class=\"time-value\">{{item.label}}</view>\r\n\t\t\t\t\t\t\t<view class=\"time-select\" v-if='selectedTime === item.value'></view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</scroll-view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref,\r\n\t\treactive,\r\n\t\tonMounted,\r\n\t\tnextTick,\r\n\t\tdefineEmits\r\n\t} from 'vue';\r\n\tconst emits = defineEmits([\"@getTime\"]);\r\n\tconst popup = ref()\r\n\tlet scrollTop = ref(0) //顶部位置\r\n\tlet oldScrollTop = ref(0) //记录滑动的位置\r\n\tlet selectedDay = ref(0)\r\n\tlet selectedDayLabel = ref('今天')\r\n\tlet selectedTime = ref(0)\r\n\tlet selectedTimeLabel = ref()\r\n\tconst selectDay = reactive(['今天', '明天', '后天'])\r\n\tlet todayList = reactive({\r\n\t\ttodos: [{\r\n\t\t\tlabel: '一小时内',\r\n\t\t\tvalue: 1\r\n\t\t}]\r\n\t})\r\n\tonMounted(() => {\r\n\t\ttodayList.todos = [...todayList.todos.concat(\r\n\t\t\tdateList.filter(item => item.value > new Date().getHours())\r\n\t\t)]\r\n\t})\r\n\tconst dateList = reactive(\r\n\t\t[{\r\n\t\t\t\tlabel: '08:00-09:00',\r\n\t\t\t\tvalue: 9\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '09:00-10:00',\r\n\t\t\t\tvalue: 10\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '10:00-11:00',\r\n\t\t\t\tvalue: 11\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '11:00-12:00',\r\n\t\t\t\tvalue: 12\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '12:00-13:00',\r\n\t\t\t\tvalue: 13\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '13:00-14:00',\r\n\t\t\t\tvalue: 14\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '14:00-15:00',\r\n\t\t\t\tvalue: 15\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '15:00-16:00',\r\n\t\t\t\tvalue: 16\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '16:00-17:00',\r\n\t\t\t\tvalue: 17\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '17:00-18:00',\r\n\t\t\t\tvalue: 18\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '18:00-19:00',\r\n\t\t\t\tvalue: 19\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tlabel: '19:00-20:00',\r\n\t\t\t\tvalue: 20\r\n\t\t\t},\r\n\t\t]\r\n\t)\r\n\tconst scroll = (e) => {\r\n\t\tconsole.log(e, 'eeee')\r\n\t\tscrollTop.value = e.detail.scrollTop\r\n\t}\r\n\t//选择具体时间段\r\n\tconst handleSelectTime = (index, item) => {\r\n\t\tselectedTime.value = index\r\n\t\tselectedTimeLabel.value = item\r\n\t\tpopup.value.close('bottom');\r\n\t\temits('getTime', {\r\n\t\t\tselectedDay: selectedDay.value,\r\n\t\t\tselectedDayLabel: selectedDayLabel.value,\r\n\t\t\tselectedTime: selectedTime.value,\r\n\t\t\tselectedTimeLabel: selectedTimeLabel.value\r\n\t\t})\r\n\t}\r\n\t//选择哪天\r\n\tconst handleSelectDay = (index, item) => {\r\n\t\t// console.log(index, 1111)\r\n\t\tselectedDay.value = index\r\n\t\tscrollTop.value = 0\r\n\t\tselectedTime.value = 0\r\n\t\tselectedDayLabel.value = item\r\n\t}\r\n\t// 打开弹层\r\n\tconst handleOpen = () => {\r\n\t\tpopup.value.open('bottom');\r\n\r\n\t\t// console.log([...todayList.todos.concat(\r\n\t\t// \tdateList.filter(item => item.value > new Date().getHours())\r\n\t\t// )],'ssss')\r\n\t};\r\n\t// 关闭弹层\r\n\tconst handleCancel = () => {\r\n\t\tpopup.value.close('bottom');\r\n\t}\r\n\t// 暴漏给父组件\r\n\tdefineExpose({\r\n\t\thandleOpen\r\n\t});\r\n</script>\r\n\r\n<style lang=\"scss\" scoped src='./getTimePicker.scss'></style>\n","import { render, staticRenderFns, recyclableRender, components } from \"./payType.vue?vue&type=template&id=3e8a4ebe&scoped=true&\"\nvar renderjs\nimport script from \"./payType.vue?vue&type=script&setup=true&lang=js&\"\nexport * from \"./payType.vue?vue&type=script&setup=true&lang=js&\"\nimport style0 from \"./payType.scss?vue&type=style&index=0&id=3e8a4ebe&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\Users\\\\itcast\\\\Downloads\\\\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 \"3e8a4ebe\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/express-delivery/components/payType.vue\"\nexport default component.exports","export * from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payType.vue?vue&type=template&id=3e8a4ebe&scoped=true&\"","var components\ntry {\n components = {\n uniPopup: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-popup/components/uni-popup/uni-popup\" */ \"@/uni_modules/uni-popup/components/uni-popup/uni-popup.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payType.vue?vue&type=script&setup=true&lang=js&\"; export default mod; export * from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./payType.vue?vue&type=script&setup=true&lang=js&\"","<template>\r\n\t<view class=\"payType\">\r\n\t\t<uni-popup ref=\"popup\" type=\"bottom\">\r\n\t\t\t<view class=\"headers\">\r\n\t\t\t\t<view class=\"header-title\">付款方式</view>\r\n\t\t\t\t<view class=\"close\" @click=\"handleCancel\"></view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"contents\">\r\n\t\t\t\t<view class=\"content-item\" v-for=\"(item,index) in list\" :key=\"index\" @click=\"handleChangePayType(item)\">\r\n\t\t\t\t\t<view class=\"left-content\">\r\n\t\t\t\t\t\t<view class=\"title\">{{item.title}}</view>\r\n\t\t\t\t\t\t<view class=\"subTitle\">{{item.subTitle}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"right-content\">\r\n\t\t\t\t\t\t<view class=\"checkbox\" :class=\"{active:item.value===payType}\"></view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"footers\" @click=\"handleCancel\">\r\n\t\t\t\t<view class=\"btn\">确定</view>\r\n\t\t\t</view>\r\n\t\t</uni-popup>\r\n\t</view>\n</template>\n\n<script setup>\r\n\timport {\r\n\t\tref,\r\n\t\treactive,\r\n\t\tdefineEmits\r\n\t} from 'vue';\r\n\tconst emits = defineEmits([\"@getPayType\"]);\r\n\tconst popup = ref()\r\n\tconst payType = ref(1)\r\n\tconst list = reactive([\r\n\t\t{\r\n\t\t\ttitle:'寄付',\r\n\t\t\tsubTitle:'快递员取件时,寄方可在线支付、扫快递员收款码进行支付',\r\n\t\t\tvalue:1\r\n\t\t},\r\n\t\t{\r\n\t\t\ttitle:'到付',\r\n\t\t\tsubTitle:'快递签收后,收方可通过扫快递员收款码进行支付',\r\n\t\t\tvalue:2\r\n\t\t}\r\n\t])\r\n\t//选择付款方式\r\n\tconst handleChangePayType =(item)=>{\r\n\t\tpayType.value = item.value\r\n\t}\r\n\t// 打开弹层\r\n\tconst handleOpen = () => {\r\n\t\tpopup.value.open('bottom');\r\n\r\n\t};\r\n\t// 关闭弹层\r\n\tconst handleCancel = () => {\r\n\t\tpopup.value.close('bottom');\r\n\t\temits('getPayType',payType.value)\r\n\t}\r\n\t// 暴漏给父组件\r\n\tdefineExpose({\r\n\t\thandleOpen\r\n\t});\n</script>\n\n<style lang=\"scss\" src='./payType.scss' scoped></style>\r\n\r\n\r\n\r\n"],"sourceRoot":""}