1 line
36 KiB
JavaScript
1 line
36 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-payment-settlement"],{"2c6e":function(t,e,o){var i=o("24fb"),a=o("1de5"),r=o("ba19"),n=o("1179");e=i(!1);var s=a(r),d=a(n);e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */[data-v-6f70baf0] uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked,[data-v-6f70baf0] uni-checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid var(--view-theme)!important;background-color:var(--view-theme)!important;color:#fff!important}.order-submission .line[data-v-6f70baf0]{position:absolute;left:0;top:0;width:100%;height:%?3?%}.order-submission .line uni-image[data-v-6f70baf0]{width:100%;height:100%;display:block}.order-submission .address[data-v-6f70baf0]{padding:%?28?% %?30?%;background-color:#fff;box-sizing:border-box}.order-submission .address .addressCon[data-v-6f70baf0]{width:%?610?%;font-size:%?26?%;color:#666}.order-submission .address .addressCon .name[data-v-6f70baf0]{font-size:%?30?%;color:#282828;font-weight:700;margin-bottom:%?10?%}.order-submission .address .addressCon .name .phone[data-v-6f70baf0]{margin-left:%?50?%}.order-submission .address .addressCon .default[data-v-6f70baf0]{margin-right:%?12?%}.t-color[data-v-6f70baf0]{color:var(--view-theme)}.order-submission .address .addressCon .setaddress[data-v-6f70baf0]{color:#333;font-size:%?28?%}.order-submission .address .iconfont[data-v-6f70baf0]{font-size:%?35?%;color:#707070}.order-submission .allAddress[data-v-6f70baf0]{width:100%}.order-submission .allAddress .nav[data-v-6f70baf0]{width:%?710?%;margin:0 auto}.order-submission .allAddress .nav .item[data-v-6f70baf0]{width:%?355?%}.order-submission .allAddress .nav .item.on[data-v-6f70baf0]{position:relative;width:%?250?%}.order-submission .allAddress .nav .item.on[data-v-6f70baf0]::before{position:absolute;bottom:0;content:"快递配送";font-size:%?28?%;display:block;height:0;width:%?336?%;border-width:0 %?20?% %?80?% 0;border-style:none solid solid;border-color:transparent transparent #fff;z-index:2;border-radius:%?7?% %?30?% 0 0;text-align:center;line-height:%?80?%}.order-submission .allAddress .nav .item:nth-of-type(2).on[data-v-6f70baf0]::before{content:"到店核销";border-width:0 0 %?80?% %?20?%;border-radius:%?30?% %?7?% 0 0}.order-submission .allAddress .nav .item.on2[data-v-6f70baf0]{position:relative}.order-submission .allAddress .nav .item.on2[data-v-6f70baf0]::before{position:absolute;bottom:0;content:"到店核销";font-size:%?28?%;display:block;height:0;width:%?400?%;border-width:0 0 %?60?% %?60?%;border-style:none solid solid;border-color:transparent transparent #f7c1bd;border-radius:%?40?% %?6?% 0 0;text-align:center;line-height:%?60?%}.order-submission .allAddress .nav .item:nth-of-type(1).on2[data-v-6f70baf0]::before{content:"快递配送";border-width:0 %?60?% %?60?% 0;border-radius:%?6?% %?40?% 0 0}.order-submission .allAddress .address[data-v-6f70baf0]{height:%?150?%;margin:0 auto}.order-submission .allAddress .line[data-v-6f70baf0]{margin:0 auto}.order-submission .wrapper .item .discount .placeholder[data-v-6f70baf0]{color:#ccc;text-align:right}.order-submission .wrapper[data-v-6f70baf0]{margin-bottom:%?12?%;background-color:#fff}.order-submission .wrapper .item[data-v-6f70baf0]{padding:%?27?% %?30?%;font-size:%?30?%;color:#282828}.order-submission .virtual_form[data-v-6f70baf0]{padding:0 %?30?%}[data-v-6f70baf0] .order-submission .virtual_form .uni-input-wrapper{text-align:right}.order-submission .virtual_form .item-require[data-v-6f70baf0]{color:red;margin-right:%?4?%}.order-submission .virtual_form .item[data-v-6f70baf0]{border-bottom:%?1?% solid #eee;padding:%?27?% 0}.upload[data-v-6f70baf0]{display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-lines:multiple;-moz-box-lines:multiple;-o-box-lines:multiple;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.order-submission .virtual_form .pictrue[data-v-6f70baf0]{width:%?156?%;height:%?156?%;margin:%?24?% %?20?% 0 0;position:relative;font-size:11px;color:#bbb;border-radius:%?3?%}.order-submission .virtual_form .pictrue[data-v-6f70baf0]:nth-child(4n){margin-right:0}.order-submission .virtual_form .pictrue[data-v-6f70baf0]:nth-last-child(1){border:.5px solid #ddd;box-sizing:border-box}.order-submission .virtual_form .pictrue uni-image[data-v-6f70baf0],\r\n.order-submission .virtual_form .pictrue uni-image[data-v-6f70baf0]{width:100%;height:100%;border-radius:1px}.order-submission .virtual_form .pictrue uni-image img[data-v-6f70baf0],\r\n.order-submission .virtual_form .pictrue uni-image img[data-v-6f70baf0]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;display:block;position:absolute;top:0;left:0;opacity:0;width:100%;height:100%}.order-submission .virtual_form .pictrue .icon-guanbi4[data-v-6f70baf0]{color:#fff;font-size:%?14?%;position:absolute;top:0;right:0;width:%?30?%;height:%?30?%;text-align:center;line-height:%?30?%;border-radius:0 %?8?% 0 %?8?%;background:rgba(0,0,0,.6)}.vipImg[data-v-6f70baf0]{width:%?65?%;height:%?28?%;margin-left:%?4?%}.vipImg uni-image[data-v-6f70baf0]{width:100%;height:100%;display:block}.order-submission .wrapper .item .discount[data-v-6f70baf0]{font-size:%?30?%;color:#999}.order-submission .wrapper .item .discount.discount_voice[data-v-6f70baf0]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:%?500?%;text-align:right}.order-submission .wrapper .item .discount .iconfont[data-v-6f70baf0]{color:#515151;font-size:%?30?%;margin-left:%?15?%}.order-submission .wrapper .item .discount .num[data-v-6f70baf0]{font-size:%?32?%;margin-right:%?20?%}.order-submission .wrapper .item .shipping[data-v-6f70baf0]{font-size:%?30?%;color:#999;position:relative;padding-right:%?58?%}.order-submission .wrapper .item .shipping .iconfont[data-v-6f70baf0]{font-size:%?35?%;color:#707070;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin-left:%?30?%}.order-submission .wrapper .item uni-input[data-v-6f70baf0]{flex:1;height:100%;margin-left:%?20?%;text-align:right}.order-submission .wrapper .item .placeholder[data-v-6f70baf0]{color:#ccc}.order-submission .wrapper .item .list[data-v-6f70baf0]{margin-top:%?35?%}.order-submission .wrapper .item .list .payItem[data-v-6f70baf0]{border:1px solid #eee;border-radius:%?6?%;height:%?86?%;width:100%;box-sizing:border-box;margin-top:%?20?%;font-size:%?28?%;color:#282828}.order-submission .wrapper .item .list .payItem.on[data-v-6f70baf0]{border-color:var(--view-theme);color:var(--view-theme)}.order-submission .wrapper .item .list .payItem .name[data-v-6f70baf0]{width:50%;text-align:center;border-right:1px solid #eee;justify-content:left;padding-left:%?80?%}.order-submission .wrapper .item .list .payItem .name .iconfont[data-v-6f70baf0]{width:%?44?%;height:%?44?%;border-radius:50%;text-align:center;line-height:%?44?%;background-color:#fe960f;color:#fff;font-size:%?30?%;margin-right:%?15?%}.order-submission .wrapper .item .list .payItem .name .iconfont.icon-weixin2[data-v-6f70baf0]{background-color:#41b035}.order-submission .wrapper .item .list .payItem .name .iconfont.icon-icon34[data-v-6f70baf0]{background-color:#4295d5}.order-submission .wrapper .item .list .payItem .tip[data-v-6f70baf0]{width:49%;text-align:center;font-size:%?26?%;color:#aaa}.order-submission .moneyList[data-v-6f70baf0]{margin-top:%?12?%;background-color:#fff;padding:%?30?%}.order-submission .moneyList .item[data-v-6f70baf0]{font-size:%?28?%;color:#282828}.order-submission .moneyList .item ~ .item[data-v-6f70baf0]{margin-top:%?20?%}.order-submission .moneyList .item .money[data-v-6f70baf0]{color:#868686}.order-submission .footer[data-v-6f70baf0]{width:100%;height:%?100?%;height:calc(100rpx+ constant(safe-area-inset-bottom));height:calc(%?100?% + env(safe-area-inset-bottom));background-color:#fff;padding:0 %?30?%;font-size:%?28?%;color:#333;box-sizing:border-box;position:fixed;bottom:0;left:0;z-index:30}.order-submission .footer .footer_count[data-v-6f70baf0]{font-size:%?28?%}.order-submission .footer .coupon_price[data-v-6f70baf0]{color:#999;font-size:%?20?%;margin-top:%?10?%}.order-submission .footer .coupon_price uni-text[data-v-6f70baf0]{color:#282828;padding:%?2?% %?10?%;background:#f5f5f5;border-radius:%?26?%;margin-left:%?20?%;line-height:%?30?%;height:%?30?%;display:inline-block}.pColor[data-v-6f70baf0]{color:var(--view-priceColor)}.order-submission .footer .settlement[data-v-6f70baf0]{font-size:%?30?%;color:#fff;width:%?240?%;height:%?70?%;background-color:var(--view-theme);border-radius:%?50?%;text-align:center;line-height:%?70?%}.order-submission .footer .settlement.disabled[data-v-6f70baf0]{background-color:#ccc}.footer .transparent[data-v-6f70baf0]{opacity:0}.event_bg[data-v-6f70baf0]{background:#ff7f00}.event_color[data-v-6f70baf0]{color:#ff7f00}.color_red[data-v-6f70baf0]{color:var(--view-theme)}.storeinfo-wrapper .store-item[data-v-6f70baf0]{margin-top:%?12?%;background-color:#fff}.storeinfo-wrapper .store-item .store-title[data-v-6f70baf0]{display:flex;align-items:center;padding:%?28?% %?30?%}.storeinfo-wrapper .store-item .store-title .icon-shangjiadingdan[data-v-6f70baf0]{font-size:%?32?%}.storeinfo-wrapper .store-item .store-title .icon-xiangyou[data-v-6f70baf0]{font-size:%?26?%;color:#999}.storeinfo-wrapper .store-item .store-title .txt[data-v-6f70baf0]{margin:0 %?8?%}.storeinfo-wrapper .store-item .product-item[data-v-6f70baf0]{display:flex;padding:%?25?% %?30?%;border-top:1px solid #f0f0f0}.storeinfo-wrapper .store-item .product-item .img-box[data-v-6f70baf0]{width:%?130?%;height:%?130?%}.storeinfo-wrapper .store-item .product-item .img-box uni-image[data-v-6f70baf0]{width:%?130?%;height:%?130?%;border-radius:%?16?%}.storeinfo-wrapper .store-item .product-item .content[data-v-6f70baf0]{position:relative;width:%?550?%;margin-left:%?30?%;font-size:%?28?%;color:#282828;overflow:hidden}.storeinfo-wrapper .store-item .product-item .content.event_content .line1[data-v-6f70baf0]{width:%?360?%}.storeinfo-wrapper .store-item .product-item .content.event_content .price[data-v-6f70baf0]{position:absolute;top:0;right:0;margin-top:0}.storeinfo-wrapper .store-item .product-item .content.event_content .price uni-text[data-v-6f70baf0]{display:block;text-align:right}.storeinfo-wrapper .store-item .product-item .content .event_name[data-v-6f70baf0]{display:inline-block;margin-right:%?9?%;color:#fff;font-size:%?20?%;padding:0 %?8?%;line-height:%?30?%;text-align:center;border-radius:%?6?%}.storeinfo-wrapper .store-item .product-item .content .event_ship[data-v-6f70baf0]{font-size:%?20?%;margin-top:%?10?%}.storeinfo-wrapper .store-item .product-item .content .label[data-v-6f70baf0]{margin-top:%?10?%;color:#868686;font-size:%?20?%}.storeinfo-wrapper .store-item .product-item .content .price[data-v-6f70baf0]{margin-top:%?20?%;color:var(--view-priceColor);position:relative}.storeinfo-wrapper .store-item .product-item .content .price uni-text[data-v-6f70baf0]{margin-left:%?10?%;color:#999}.storeinfo-wrapper .store-item .product-item .content .price .delivery_type[data-v-6f70baf0]{float:right}.storeinfo-wrapper .store-item .product-item .content .price .delivery_type uni-text[data-v-6f70baf0]{color:var(--view-priceColor);font-size:%?20?%}.storeinfo-wrapper .store-item .product-item .content .err-txt[data-v-6f70baf0]{display:flex;align-items:center;margin-top:%?18?%;color:#e93323}.storeinfo-wrapper .store-item .product-item .content .err-txt .iconfont[data-v-6f70baf0]{margin-right:%?10?%}.storeinfo-wrapper .store-item .product-item .content .step[data-v-6f70baf0]{position:absolute;right:0;top:%?100?%;display:flex;align-items:center}.storeinfo-wrapper .store-item .product-item .content .step .min[data-v-6f70baf0]{width:%?50?%;height:%?40?%;background-image:url('+s+");background-size:%?17?% %?17?%;background-position:50%;background-repeat:no-repeat}.storeinfo-wrapper .store-item .product-item .content .step .num-box[data-v-6f70baf0]{width:%?68?%;height:%?40?%;line-height:%?40?%;text-align:center;background:#f2f2f2;font-size:%?23?%}.storeinfo-wrapper .store-item .product-item .content .step .add[data-v-6f70baf0]{width:%?50?%;height:%?40?%;background-image:url("+d+');background-size:%?17?% %?17?%;background-position:50%;background-repeat:no-repeat}.storeinfo-wrapper .event_payTime[data-v-6f70baf0]{padding:0 %?30?% %?24?%}.storeinfo-wrapper .event_payTime .event_progress[data-v-6f70baf0]{margin-top:%?50?%;position:relative}.storeinfo-wrapper .event_payTime .progress_step[data-v-6f70baf0]{height:%?80?%;position:relative;padding-left:%?60?%}.storeinfo-wrapper .event_payTime .progress_step[data-v-6f70baf0]::before{content:"";display:block;width:%?2?%;height:%?40?%;background:var(--view-theme);position:absolute;left:%?35?%;top:%?18?%}.storeinfo-wrapper .event_payTime .progress_step[data-v-6f70baf0]:nth-child(2)::before{bottom:%?64?%;top:auto;background:#efefef}.storeinfo-wrapper .event_payTime .progress_step[data-v-6f70baf0]:nth-child(2)::after{background:#efefef}.storeinfo-wrapper .event_payTime .progress_step[data-v-6f70baf0]::after{content:"";display:block;width:%?14?%;height:%?14?%;background:var(--view-theme);border-radius:50%;position:absolute;top:%?10?%;left:%?29?%}.storeinfo-wrapper .event_payTime .progress_step .name[data-v-6f70baf0]{float:left;color:#282828}.storeinfo-wrapper .event_payTime .progress_step .name.color_red[data-v-6f70baf0]{color:var(--view-theme)}.storeinfo-wrapper .event_payTime .progress_step .price[data-v-6f70baf0]{float:right;color:#282828}.storeinfo-wrapper .event_payTime .progress_step .price.color_red[data-v-6f70baf0]{color:var(--view-priceColor)}.storeinfo-wrapper .event_payTime .progress_pay[data-v-6f70baf0]{padding-left:%?60?%;font-size:%?24?%;color:#868686;margin-top:%?-34?%}.integral_checked[data-v-6f70baf0]{margin-left:%?10?%;position:relative;top:%?-2?%;display:inline}uni-checkbox-group[data-v-6f70baf0],\r\n.checkgroup[data-v-6f70baf0]{width:100%}uni-checkbox-group .checkbox[data-v-6f70baf0],\r\n.checkgroup .checkbox[data-v-6f70baf0]{float:right}.icon-wenhao1[data-v-6f70baf0]{color:#868686;margin-right:%?6?%}.total[data-v-6f70baf0]{display:flex;justify-content:flex-end;padding-right:%?30?%;padding-bottom:%?30?%;font-size:%?26?%;color:#282828}.total .price[data-v-6f70baf0]{margin-left:%?10?%;color:var(--view-priceColor);font-size:%?28?%;font-weight:700}.total .price uni-text[data-v-6f70baf0]{font-size:%?20?%}.store-address[data-v-6f70baf0]{padding:%?30?% %?23?%;margin:0 %?30?%;background:#f6f6f6;border-radius:%?8?%;font-size:%?24?%;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;\r\n /*垂直居中*/-webkit-box-align:center;\r\n /*旧版本*/-moz-box-align:center;\r\n /*旧版本*/-ms-flex-align:center;\r\n /*混合版本*/-webkit-align-items:center;\r\n /*新版本*/align-items:center\r\n /*新版本*/}.store-address .name[data-v-6f70baf0]{width:%?148?%;margin-right:%?20?%}.store-address .info[data-v-6f70baf0]{flex:1}.store-address .map[data-v-6f70baf0]{text-align:center;padding-left:%?40?%;position:relative}.store-address .map[data-v-6f70baf0]::before{content:"";display:inline-block;width:%?2?%;height:%?42?%;background-color:#ddd;position:absolute;left:0;top:%?18?%}.store-address .map .iconfont[data-v-6f70baf0]{color:var(--view-theme)}.store-address .map .map_text[data-v-6f70baf0]{color:var(--view-theme)}.settlementAgreement[data-v-6f70baf0]{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:40}.settlementAgreement .setAgCount[data-v-6f70baf0]{background:#fff;width:%?656?%;height:458px;position:absolute;top:50%;left:50%;border-radius:%?12?%;-webkit-border-radius:%?12?%;padding:%?52?%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden}.settlementAgreement .setAgCount .content[data-v-6f70baf0]{height:%?900?%;overflow-y:scroll}.settlementAgreement .setAgCount .content[data-v-6f70baf0] p{font-size:13px;line-height:22px}.settlementAgreement .setAgCount .content[data-v-6f70baf0] img{max-width:100%}.settlementAgreement .setAgCount .icon[data-v-6f70baf0]{font-size:%?42?%;color:#b4b1b4;position:absolute;top:%?15?%;right:%?15?%}.settlementAgreement .setAgCount .title[data-v-6f70baf0]{color:#333;font-size:%?32?%;text-align:center;font-weight:700}.settlementAgreement .setAgCount .content[data-v-6f70baf0]{margin-top:%?32?%;color:#333;font-size:%?26?%;line-height:22px;text-align:justify;text-justify:distribute-all-lines;height:%?756?%;overflow-y:scroll}.red_packet[data-v-6f70baf0]{color:#ff5c2d!important;background-color:rgba(255,92,45,.3);border-radius:%?60?%;padding:%?5?% %?10?%;padding-left:%?20?%;font-size:%?25?%}.tips_popup[data-v-6f70baf0]{width:%?600?%;height:%?450?%;position:relative}.tips_popup .r_c_gb[data-v-6f70baf0]{width:100%;height:%?420?%;margin-top:%?30?%}.tips_popup .ref_content[data-v-6f70baf0]{position:absolute;left:0;top:0;height:100%;width:100%;box-sizing:border-box;padding:%?120?% %?30?% %?30?% %?30?%;display:flex;flex-direction:column;justify-content:space-between;color:#2e2e2e;font-size:%?28?%}.tips_popup .ref_content .r_c_title[data-v-6f70baf0]{font-weight:blod}.tips_popup .ref_content .r_c_text[data-v-6f70baf0]{font-size:%?26?%}.tips_popup .ref_content .r_c_btn[data-v-6f70baf0]{display:flex;justify-content:space-around}.tips_popup .ref_content .r_c_btn .r_c_btn1[data-v-6f70baf0]{background-color:initial;border:%?5?% solid #ff874c;color:#ff874c;font-size:%?28?%;padding:%?5?% %?28?%;border-radius:%?60?%}.tips_popup .ref_content .r_c_btn .r_c_btn2[data-v-6f70baf0]{background-color:#ff874c;border:%?5?% solid #ff874c;color:#fff;font-size:%?28?%;padding:%?5?% %?28?%;border-radius:%?60?%}.tips_popup .r_c_close[data-v-6f70baf0]{position:absolute;top:0;right:0;height:%?60?%;width:%?60?%}',""]),t.exports=e},3834:function(t,e,o){"use strict";o("7a82");var i=o("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(o("5530"));o("99af");var r=o("736a"),n=o("33b4"),s=(o("107c6"),o("95ca"),o("a126"),o("8a31"),i(o("1abc"))),d=i(o("4a5d")),c=i(o("4955")),f=i(o("102e")),u=i(o("5afc")),p=i(o("d35c")),l=i(o("9b71")),m=o("26cb"),b=i(o("104c")),v=o("5315"),g=(o("3093"),o("4073"),o("f89e"),getApp(),{components:{couponListWindow:s.default,addressWindow:d.default,orderGoods:c.default,checkDelivery:f.default,addInvoicing:p.default,discountDetails:u.default,"jyf-parser":l.default,authorize:b.default},data:function(){return{platformConsumption:[],cartArr:[{name:"微信支付",icon:"icon-weixin2",value:"weixin",title:"微信快捷支付",payStatus:1},{name:"支付宝支付",icon:"icon-icon34",value:"alipay",title:"支付宝支付",payStatus:this.$store.getters.globalData.alipay_open},{name:"余额支付",icon:"icon-icon-test",value:"balance",title:"可用余额:",payStatus:this.$store.getters.globalData.yue_pay_status},{name:"线下支付",icon:"icon-yinhangqia",value:"offline",title:"线下支付",payStatus:2},{name:"先货后款",icon:"tan-a-lujing17324",value:"creditBuy",title:"结算周期:".concat(this.settle_cycle,"天 日利率:").concat(this.interest_rate,"%"),payStatus:""}],tagStyle:{img:"width:100%;display:block;",video:"width:100%;"},radioList:[{title:this.deliveryName,check:!0},{title:"到店核销",check:!1}],payType:"weixin",openType:1,active:0,address:{address:!1},invoice:{invoice:!1,mer_id:0,add:!0},couponId:0,cartId:"",userInfo:{},post:{},coupon_price:0,useIntegral:!1,integral_price:0,integral:0,ChangePrice:0,formIds:[],status:0,is_address:!1,toPay:!1,shippingType:0,system_store:{},storePostage:0,contacts:"",contactsTel:"",mydata:{},storeList:[],store_self_mention:0,cartInfo:[],priceGroup:{},animated:!1,totalPrice:0,use_integral:!1,pagesUrl:"",orderKey:"",offlinePostage:"",isAuto:!1,isShowAuth:!1,from:"",orderStatus:"",couponIndex:0,subCoupon:{},proPrice:0,isShowBox:!1,invoice_func:!1,special_invoice:!1,isAgree:!1,showProtocol:!1,isCoupon:!1,protocol:"",order_type:0,addInvoice:{},couponData:{},orderPay:!1,take:[],open_integral:0,coupon_number:0,store_coupon_number:0,coupon_amount:0,store_coupon_amount:0,plant_coupon_amount:0,integral_count:"",pics:[],order_model:2,order_extend:[],extend:[],virtualIndex:0,platformCoupon:[],total_platform_coupon_price:0,enabledPlatformCoupon:!1,plantCoupon:!1,order_key:"",is_take:"",product_type:"",source:null,settle_cycle:"",type_id:"",consumption_id:"",consumption_money:"",payForm:{cart_id:"",address_id:"",use_coupon:"",takes:"",use_integral:"",receipt_data:[],mark:"",pay_type:"",money:"",merName:"",return_url:""}}},computed:(0,a.default)((0,a.default)({},(0,m.mapGetters)(["isLogin","viewColor"])),(0,v.configMap)(["hide_mer_status","yue_pay_status"])),watch:{yue_pay_status:function(t){this.payMode[2].payStatus=t}},onLoad:function(t){this.payForm.cart_id=t.cartId,this.payForm.money=t.money,this.payForm.merName=t.merName,this.from=this.$wechat.isWeixin()?"weixin":"h5",this.isLogin||(this.isAuto=!0,this.isShowAuth=!0),"weixin"==this.payType&&(this.payType=this.from);uni.setStorage({key:"invoice_Data",data:{},success:function(){}})},onShow:function(){this.getUserInfo()},methods:{getPhotoClickIdx:function(t){var e=t.currentTarget.dataset.index;this.imgPreview(this.pics,e)},imgPreview:function(t,e){t&&t.length>0&&uni.previewImage({current:t[e],urls:t})},getUserInfo:function(){var t=this;(0,n.getUserInfo)().then((function(e){t.userInfo=e.data}))},onLoadFun:function(){this.isShowAuth=!1,this.getaddressInfo(),this.getUserInfo()},payItem:function(t){var e=t;this.active=e,this.animated=!0,this.payType=this.cartArr[e].value,"weixin"==this.payType&&(this.payType=this.from)},couponTap:function(t,e){this.coupon=t,this.$set(this.coupon,"status",!0),this.couponIndex=e,this.plantCoupon=!1,this.$set(this,"coupon_number",this.store_coupon_number),this.$set(this,"coupon_amount",this.store_coupon_amount)},couponTap2:function(t,e){this.coupon={coupon:t,mer_id:0,status:!0},this.plantCoupon=!0,this.$set(this,"coupon_number",this.subCoupon["0"].length),this.$set(this,"coupon_amount",this.plant_coupon_amount)},couponTap3:function(t,e){var o=this;uni.navigateTo({url:"/pages/redpacket/redpacket",success:function(t){t.eventChannel.emit("changeRedPacketInfo",o.platformConsumption),uni.$once("changeRedPacket",(function(t){o.consumption_id=t}))}})},car:function(){this.animated=!1},payment:function(t){var e=this,o=this;(0,r.createOrder)(t).then((function(t){var i=t.data.status,a=t.data.result.order_id,r=t.data.result.config,n="/pages/order_pay_status/index?order_id="+a+"&msg="+t.message+"&product_type="+o.payForm.product_type+"&source="+o.payForm.source,s="/pages/order_details/stay?order_id="+a+"&credit_buy=1&product_type="+o.payForm.product_type;switch(o.orderPay=!0,uni.hideLoading(),i){case"ORDER_EXIST":case"EXTEND_ORDER":case"PAY_ERROR":case"error":return o.$util.Tips({title:t.message},{tab:5,url:s});case"success":return o.$util.Tips({title:t.message,icon:"success"},{tab:5,url:n});case"alipay":case"alipayQr":return;case"wechat":case"weixin":case"weixinApp":r.timeStamp=r.timestamp,e.$wechat.pay(r).then((function(t){return o.$util.Tips({title:t.message,icon:"success"},{tab:4,url:n})})).catch((function(t){if("chooseWXPay:cancel"==t.errMsg)return o.$util.Tips({title:"取消支付"},{tab:5,url:n+"&status=0"})}));break;case"balance":return o.$util.Tips({title:t.msg},{tab:5,url:n+"&status=1"});case"h5":var d=window.location.protocol+"//"+window.location.host,c="".concat(d,"/pages/order_pay_status/index?order_id=").concat(a,"&msg=").concat(t.message,"&product_type=").concat(o.product_type,"&source").concat(o.source),f=encodeURIComponent(c),u=r.mweb_url||r.h5_url,p="".concat(u,"&redirect_url=").concat(f);setTimeout((function(){location.href=p}),100);break;default:var l="/pages/order_pay_status/index?order_id="+a+"&msg=取消支付&product_type="+o.product_type+"&source="+o.source;return o.$util.Tips({title:"取消支付"},{tab:5,url:l+"&status=0"})}})).catch((function(t){return o.$util.Tips({title:t})}))},getTime:function(t){this.virtualIndex=t},SubOrder:function(){if(!this.payType)return this.$util.Tips({title:"请选择支付方式"});this.payForm.pay_type=this.payType,uni.showLoading({title:"订单支付中",mask:!0}),this.payment(this.payForm)},closeAndSubOrder:function(){var t=this;this.closeTipsRef(),this.$nextTick((function(){t.SubOrder()}))}}});e.default=g},"3f14":function(t,e,o){"use strict";var i=o("aec5"),a=o.n(i);a.a},4073:function(t,e,o){"use strict";o("7a82");var i=o("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addCart=function(t){return a.default.post("user/cart/create",t)},e.getProductInfo=function(t){return a.default.get("scanPay/product",t)},e.orderCheck=function(t){return a.default.post("v2/order/check",t)},e.orderPay=function(t){return a.default.post("v2/order/create",t)},e.qrcode=function(t){return a.default.get("scanPay/qrcode",t)};var a=i(o("6860"))},"60b6":function(t,e,o){"use strict";o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){return i}));var i={jyfParser:o("9b71").default},a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{style:t.viewColor},[o("v-uni-view",{staticStyle:{height:"var(--status-bar-height)"}}),o("v-uni-view",{staticClass:"order-submission"},[o("v-uni-view",{staticClass:"storeinfo-wrapper"},[o("v-uni-view",{staticClass:"store-item"},[o("v-uni-view",{staticClass:"store-title"},[o("v-uni-text",{staticClass:"iconfont icon-shangjiadingdan"}),o("v-uni-view",{staticClass:"txt",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goStore(t.item.mer_id)}}},[t._v(t._s(t.payForm.merName))]),o("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1),o("v-uni-view",{staticClass:"product-item"},[o("v-uni-view",{staticClass:"img-box"},[o("v-uni-image",{attrs:{src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/def/89ad3202402292014108303.jpg",width:"170rpx",height:"180rpx"}})],1),o("v-uni-view",{staticClass:"content event_content"},[o("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.payForm.money)+"元实物提货券")]),o("v-uni-view",{staticStyle:{"margin-top":"30rpx",color:"#FF5C2D"}},[t._v("¥"+t._s(t.payForm.money))])],1)],1)],1)],1),t.showProtocol?o("v-uni-view",{staticClass:"settlementAgreement"},[o("v-uni-view",{staticClass:"setAgCount"},[o("i",{staticClass:"icon iconfont icon-cha",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showProtocol=!1}}}),o("div",{staticClass:"title"},[t._v(t._s(t.agrementTtile))]),o("v-uni-view",{staticClass:"content"},[o("jyf-parser",{ref:"article",attrs:{html:t.protocol,"tag-style":t.tagStyle}})],1)],1)],1):t._e(),o("v-uni-view",{staticClass:"wrapper"},[o("v-uni-view",{staticClass:"item"},[o("v-uni-view",{staticStyle:{"font-weight":"bold"}},[t._v("支付方式")]),o("v-uni-view",{staticClass:"list"},t._l(t.cartArr,(function(e,i){return 1==e.payStatus?o("v-uni-view",{key:i,staticClass:"payItem acea-row row-middle",class:t.active==i?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.payItem(i)}}},[o("v-uni-view",{staticClass:"name acea-row row-center-wrapper"},[o("v-uni-view",{staticClass:"iconfont animated",class:e.icon+" "+(1==t.animated&&t.active==i?"bounceIn":"")}),t._v(t._s(e.name))],1),o("v-uni-view",{staticClass:"tip"},[t._v(t._s(e.title)),"balance"==e.value?[t._v(t._s(t.userInfo.now_money))]:t._e()],2)],1):t._e()})),1)],1)],1),o("v-uni-view",{staticClass:"moneyList"},[o("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[o("v-uni-view",[t._v("商品总价:")]),o("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t.payForm.money))])],1),o("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[o("v-uni-view",[t._v("补贴抵扣")]),t.platformConsumption.length>0?[o("v-uni-view",{staticClass:"discount money red_packet",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.couponTap3()}}},[t.consumption_id?o("v-uni-text",[t._v("-¥"+t._s(t.consumption_money||"0.00"))]):o("v-uni-text",[t._v("有补贴补贴未选")]),o("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)]:[o("v-uni-view",{staticClass:"discount"},[t._v("暂无抵扣红包")])]],2)],1),o("v-uni-view",{staticStyle:{height:"140rpx"}}),o("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[o("v-uni-view",{staticClass:"footer_count"},[o("v-uni-view",[t._v("合计:"),1==t.cartArr[4].payStatus&&4==t.active?o("v-uni-text",{staticClass:"pColor"},[t._v("¥0.00")]):o("v-uni-text",{staticClass:"pColor"},[t._v("¥"+t._s(t.payForm.money))])],1)],1),o("v-uni-view",{staticClass:"settlement",class:"noAddress"!=t.couponData.status?"":"disabled",staticStyle:{"z-index":"100"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.SubOrder.apply(void 0,arguments)}}},[t._v(t._s("noAddress"!=t.couponData.status?"提交订单":"选择地址"))])],1)],1)],1)},r=[]},8562:function(t,e,o){"use strict";o.r(e);var i=o("60b6"),a=o("89d6");for(var r in a)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return a[t]}))}(r);o("3f14");var n=o("f0c5"),s=Object(n["a"])(a["default"],i["b"],i["c"],!1,null,"6f70baf0",null,!1,i["a"],void 0);e["default"]=s.exports},"89d6":function(t,e,o){"use strict";o.r(e);var i=o("3834"),a=o.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},aec5:function(t,e,o){var i=o("2c6e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=o("4f06").default;a("22aa8e8b",i,!0,{sourceMap:!1,shadowMode:!1})},f89e:function(t,e,o){"use strict";o("7a82");var i=o("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000";return new Promise((function(o,i){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){o(t.tapIndex)},fail:function(t){i(t.errMsg)}})}))},e.Authorize=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scope.userInfo";return new Promise((function(e,o){uni.authorize({scope:t,success:function(t){e(t)},fail:function(t){o(t)}})}))},e.GetUserInfo=function(){return new Promise((function(t,e){uni.getUserInfo({success:function(e){t(e)},fail:function(t){e(t)}})}))},e.Loading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};uni.showLoading((0,r.default)({title:t,mask:!0},e))},e.Modal=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"这是一个模态弹窗!",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{showCancel:!0,cancelText:"取消",confirmText:"确定"};return new Promise((function(i,a){uni.showModal((0,r.default)((0,r.default)({},o),{},{title:t,content:e,success:function(t){t.confirm&&i(),t.cancel&&a()}}))}))},e.ScrollTo=function(t){uni.pageScrollTo({scrollTop:t,duration:300})},e.Toast=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,a=(0,r.default)({title:t,duration:i,position:"center",mask:!0,icon:e||"none"},o);uni.showToast(a)},e.chooseImage=function(t){return new Promise((function(e,o){uni.chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){e(t)},fail:function(t){o(t)}})}))},e.clearStorage=function(){try{uni.clearStorageSync()}catch(t){throw new Error("处理失败")}},e.convertObj=n,e.formatDate=s,e.getQuarterStartDate=function(){var t=new Date(f,function(){var t=0;c<3&&(t=0);2<c&&c<6&&(t=3);5<c&&c<9&&(t=6);c>8&&(t=9);return t}(),1);return s(t,"yyyy-MM-dd")},e.getStorage=function(t){var e=uni.getStorageSync(t);try{"number"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(o){}return e},e.hideLoading=function(){try{uni.hideLoading()}catch(t){throw new Error("处理失败")}},e.navigateBack=function(t){uni.navigateBack({delta:t})},e.navigateTo=function(t,e,o){var i=e,a="navigateTo";switch(i=o?i+"?"+n(o):i,t){case 1:a="navigateTo";break;case 2:a="redirectTo";break;case 3:a="reLaunch";break;case 4:a="switchTab";break;default:a="navigateTo";break}uni[a]({url:i,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,o){if("object"===("undefined"===typeof window?"undefined":(0,a.default)(window))&&"document"in window){if("function"===typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){e(t.target.result)},t.onerror=o,t.readAsDataURL(this.response)}},i.onerror=o,void i.send()}var r=document.createElement("canvas"),n=r.getContext("2d"),s=new Image;return s.onload=function(){r.width=s.width,r.height=s.height,n.drawImage(s,0,0),e(r.toDataURL()),r.height=r.width=0},s.onerror=o,void(s.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,a.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,a.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){e("data:image/png;base64,"+t.data)},fail:function(t){o(t)}}):o(new Error("not support")):plus.io.resolveLocalFileSystemURL(getLocalFilePath(t),(function(t){t.file((function(t){var i=new plus.io.FileReader;i.onload=function(t){e(t.target.result)},i.onerror=function(t){o(t)},i.readAsDataURL(t)}),(function(t){o(t)}))}),(function(t){o(t)}))}))},e.removeStorage=function(t){t&&uni.removeStorageSync(t)},e.serialize=function(t){if(null!=t&&""!=t)try{return JSON.parse(JSON.stringify(t))}catch(e){return t instanceof Array?[]:{}}return t},e.setStorage=function(t,e){if("string"==typeof e)return uni.setStorageSync(t,e),e;uni.setStorageSync(t,JSON.stringify(e))},e.showMonthFirstDay=function(){var t=(new Date).setDate(1);return s(new Date(t).getTime(),"yyyy-MM-dd")},e.showWeekFirstDay=function(){var t=new Date,e=t.getDay()||7;return t.setDate(t.getDate()-e+1),s(t,"yyyy-MM-dd")},e.throttle=function(t,e){var o,i;e=e||200;return function(){for(var a=this,r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];o=n,i||(i=setTimeout((function(){i=null,t.apply(a,o)}),e))}},e.unique=function(t){t=t||[];for(var e={},o=0;o<t.length;o++){var i=JSON.stringify(t[o]);"undefined"==typeof i&&(e[i]=1)}for(var o in t.length=0,e)t[t.length]=o;return t};var a=i(o("53ca")),r=i(o("5530"));function n(t){var e,o=[];return Object.keys(t).forEach((function(e){o.push("".concat(e,"=").concat(t[e]))})),e=o.join("&"),e}function s(t,e){return t?(e=e||"yyyy-MM-dd hh:mm:ss",new Date(t).format(e)):""}o("e9c4"),o("d9e2"),o("d401"),o("d3b7"),o("159b"),o("b64b"),o("14d9"),o("99af"),o("ac1f"),o("00b4"),o("5319"),o("4d63"),o("c607"),o("2c3e"),o("25f0"),Date.prototype.format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,String(this.getFullYear()).substr(4-RegExp.$1.length))),e)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[o]:("00"+e[o]).substr(String(e[o]).length)));return t};var d=new Date,c=d.getMonth(),f=d.getYear();f+=f<2e3?1900:0}}]); |