1 line
22 KiB
JavaScript
1 line
22 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods_cashier-index"],{"00b5":function(t,e,a){var i=a("24fb");e=i(!1),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/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.number-box[data-v-e3248744]{display:flex;flex-wrap:wrap;justify-content:center}.swiper[data-v-e3248744]{position:relative}.swiper[data-v-e3248744]:after{content:"";position:absolute;left:0;top:0;width:100%;height:100%}',""]),t.exports=e},"0bfb":function(t,e,a){"use strict";a.r(e);var i=a("53d6"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"0d4e":function(t,e,a){var i=a("2b02");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("7856122e",i,!0,{sourceMap:!1,shadowMode:!1})},"2b02":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".time[data-v-18474c41]{display:flex;justify-content:center}.red[data-v-18474c41]{color:var(--view-theme);margin:0 %?4?%}",""]),t.exports=e},"2e8a":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("d401"),a("d3b7"),a("25f0"),a("cb29"),a("fb6a"),a("14d9");var i={props:{num:[String,Number],color:{type:String,default:"#000000"},width:{type:String,default:"30"},height:{type:String,default:"30"},fontSize:{type:String,default:"30"},fontWeight:{type:[String,Number],default:500}},data:function(){return{indexArr:[]}},created:function(){var t=this.num,e=new Array(t.toString().length);e.fill(0),this.indexArr=e},watch:{num:function(t,e){var a=Array.prototype.slice.apply(this.indexArr),i=t.toString().length,n=e.toString().length;if(i>n){for(var r=0;r<i-n;r++)a.push(0);this.indexArr=a}if(i<n){for(var o=0;o<n-i;o++)a.pop();this.indexArr=a}this.numChange(t)}},mounted:function(){var t=this;this._time=setTimeout((function(){t.numChange(t.num),clearTimeout(t._time)}),50)},methods:{numChange:function(t){var e=this;this.$nextTick((function(){for(var a=e.indexArr,i=Array.prototype.slice.apply(a),n=t.toString(),r=0;r<n.length;r++)"."===n[r]?i[r]=10:i[r]=Number(n[r]);e.indexArr=i}))}}};e.default=i},3051:function(t,e,a){var i=a("00b5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0c1efda6",i,!0,{sourceMap:!1,shadowMode:!1})},"3b07":function(t,e,a){"use strict";a.r(e);var i=a("eb8f"),n=a("0bfb");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("6e83");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"712408b9",null,!1,i["a"],void 0);e["default"]=s.exports},"489e":function(t,e,a){"use strict";a.r(e);var i=a("9444"),n=a("fec1");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("8f8a");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"18474c41",null,!1,i["a"],void 0);e["default"]=s.exports},"53d6":function(t,e,a){"use strict";(function(t){a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d3b7"),a("159b"),a("14d9"),a("99af");var n=i(a("489e")),r=i(a("b8c2")),o=a("7d1b"),s={components:{countDown:n.default,numberScroll:r.default},data:function(){return{cancelPayModalShow:!1,checked:!1,cartArr:[{name:"微信支付",icon:"icon-weixin2",value:"weixin",title:"使用微信快捷支付",payStatus:1},{name:"支付宝支付",icon:"icon-zhifubao",value:"alipay",title:"使用支付宝支付",payStatus:1}],orderId:0,fromType:"",active:0,payPrice:10,payPriceShow:10,payPostage:0,offlinePostage:!1,invalidTime:1684836534,initIn:!1,jumpData:{orderId:"",msg:""},formContent:""}},watch:{cartArr:{handler:function(t,e){var a=[];t.forEach((function(t,e){t.payStatus&&(t.index=e,a.push(t))})),this.active=a[0].index,this.paytype=a[0].value,this.number=a[0].number||0},immediate:!0,deep:!0}},onLoad:function(t){t.order_id&&(this.orderId=t.order_id),t.from_type&&(this.fromType=t.from_type)},onShow:function(){var e=wx.getEnterOptionsSync();if(t("log",e," at pages/goods_cashier/index.vue:132"),"1038"==e.scene&&"wxef277996acc166c3"==e.referrerInfo.appId&&this.initIn){var a=e.referrerInfo.extraData;this.initIn=!1,a?"success"==a.code?this.$util.Tips({title:"支付成功",icon:"success"},{tab:5,url:"/pages/goods/order_pay_status/index?order_id=".concat(this.orderId,"&msg=").concat(this.jumpData.msg,"&type=3&totalPrice=").concat(this.payPriceShow)}):"cancel"==a.code?this.$util.Tips({title:"取消支付"},{tab:5,url:"/pages/goods/order_pay_status/index?order_id=".concat(this.orderId,"&msg=取消支付&type=3&totalPrice=").concat(this.payPriceShow,"&status=2")}):uni.reLaunch({url:"/pages/goods/order_pay_status/index?order_id=".concat(this.orderId,"&msg=支付失败&totalPrice=").concat(this.payPriceShow)}):this.$util.Tips({title:"取消支付"},{tab:5,url:"/pages/goods/order_pay_status/index?order_id=".concat(this.orderId,"&msg=取消支付&type=3&totalPrice=").concat(this.payPriceShow,"&status=2")})}},methods:{onGiveUpPay:function(){this.cancelPayModalShow=!1},getCashierOrder:function(){var e=this;uni.showLoading({title:"创建订单中"}),(0,o.getCashierOrder)(this.orderId,this.fromType).then((function(a){t("log",a," at pages/goods_cashier/index.vue:181"),e.payPrice=e.payPriceShow=a.data.pay_price,e.payPostage=a.data.pay_postage,e.offlinePostage=a.data.offline_postage,e.invalidTime=a.data.invalid_time,e.cartArr[0].payStatus=a.data.wechat_pay_status||0,e.cartArr[1].payStatus=a.data.ali_pay_status||0,e.cartArr[2].number=a.data.now_money,e.cartArr[2].payStatus=a.data.yue_pay_status,a.data.offline_pay_status?e.cartArr[3].payStatus=1:e.cartArr[3].payStatus=0,e.cartArr[4].payStatus=a.data.friend_pay_status||0,uni.hideLoading()})).catch((function(t){return uni.hideLoading(),e.$util.Tips({title:t})}))},payType:function(t,e,a){this.active=a,this.paytype=e,this.number=t,this.offlinePostage&&(this.payPriceShow="offline"==e?this.$util.$h.Sub(this.payPrice,this.payPostage):this.payPrice)},formpost:function(t,e){var a=document.createElement("form");for(var i in a.action=t,a.method="post",a.target="_self",a.style.display="none",e){var n=document.createElement("input");n.name=i,n.value=e[i],a.appendChild(n)}document.body.appendChild(a),this.$nextTick((function(t){a.submit()}))},waitPay:function(){this.cancelPayModalShow=!0},goPay:function(t,e){var a=this,i=this;if(!i.orderId)return i.$util.Tips({title:"请选择要支付的订单"});uni.showLoading({title:"支付中"}),(0,o.orderPay)({uni:i.orderId,paytype:e,type:i.friendPay?1:0,quitUrl:location.port?location.protocol+"//"+location.hostname+":"+location.port+"/pages/goods/order_details/index?order_id="+this.orderId:location.protocol+"//"+location.hostname+"/pages/goods/order_details/index?order_id="+this.orderId}).then((function(t){var n=t.data.status,r=(t.data.result.orderId,t.data.result.jsConfig),o="/pages/goods/order_pay_status/index?order_id="+a.orderId+"&msg="+t.msg+"&type=3&totalPrice="+a.payPriceShow,s="/pages/users/payment_on_behalf/index?order_id="+a.orderId+"&spread="+a.$store.state.app.uid;switch(n){case"ORDER_EXIST":case"EXTEND_ORDER":return uni.hideLoading(),i.$util.Tips({title:t.msg},{tab:5,url:o});case"ALLINPAY_PAY":uni.hideLoading(),a.formpost(t.data.result.pay_url,r);break;case"PAY_ERROR":return uni.hideLoading(),i.$util.Tips({title:t.msg},{tab:5,url:o});case"SUCCESS":return uni.hideLoading(),"friend"!==e?i.$util.Tips({title:t.msg,icon:"success"},{tab:4,url:o}):i.$util.Tips({title:t.msg,icon:"success"},{tab:4,url:s});case"WECHAT_PAY":i.toPay=!0,a.$wechat.pay(t.data.result.jsConfig).then((function(t){return i.$util.Tips({title:"支付成功",icon:"success"},{tab:5,url:o})})).catch((function(t){if(a.$wechat.isWeixin()||uni.redirectTo({url:o+"&msg=支付失败&status=2"}),"chooseWXPay:cancel"==t.errMsg)return i.$util.Tips({title:"取消支付"},{tab:5,url:o+"&status=2"})}));break;case"PAY_DEFICIENCY":return uni.hideLoading(),i.$util.Tips({title:t.msg},{tab:5,url:o+"&status=1"});case"WECHAT_H5_PAY":uni.hideLoading(),i.$util.Tips({title:"等待支付中"},{tab:4,url:o+"&status=0"}),setTimeout((function(){location.href=t.data.result.jsConfig.h5_url}),1500);break;case"ALIPAY_PAY":uni.hideLoading(),i.$util.Tips({title:"等待支付中"},{tab:4,url:o+"&status=0"}),i.formContent=t.data.result.jsConfig,setTimeout((function(){document.getElementById("alipaysubmit").submit()}),1500);break}})).catch((function(t){return uni.hideLoading(),i.$util.Tips({title:t},(function(){i.$emit("onChangeFun",{action:"pay_fail"})}))}))}}};e.default=s}).call(this,a("0de9")["log"])},"60e9":function(t,e,a){var i=a("cf02");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("5976b8bc",i,!0,{sourceMap:!1,shadowMode:!1})},"6e83":function(t,e,a){"use strict";var i=a("60e9"),n=a.n(i);n.a},"8f8a":function(t,e,a){"use strict";var i=a("0d4e"),n=a.n(i);n.a},9444:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"time",style:t.justifyLeft},[t.tipText?a("v-uni-text",{staticClass:"red"},[t._v(t._s(t.tipText))]):t._e(),!0===t.isDay?a("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.day))]):t._e(),t.dayText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.dayText))]):t._e(),t.isShowHour?[a("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.hour))]),t.hourText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.hourText))]):t._e()]:t._e(),a("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.minute))]),t.minuteText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.minuteText))]):t._e(),a("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.second))]),t.secondText?a("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.secondText))]):t._e()],2)},n=[]},b8c2:function(t,e,a){"use strict";a.r(e);var i=a("c561"),n=a("dee9");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("b9dc");var o=a("f0c5"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"e3248744",null,!1,i["a"],void 0);e["default"]=s.exports},b9dc:function(t,e,a){"use strict";var i=a("3051"),n=a.n(i);n.a},c561:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"number-box"},[t._l(t.indexArr,(function(e,i){return[a("v-uni-swiper",{key:i+"_0",staticClass:"swiper",style:{color:t.color,width:10==e?"14rpx":1==e?"22rpx":t.width+"rpx",height:t.height+"rpx",lineHeight:t.fontSize+"rpx",fontSize:t.fontSize+"rpx",fontWeight:t.fontWeight},attrs:{vertical:"true",current:e,circular:"true"}},[a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("0")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("1")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("2")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("3")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("4")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("5")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("6")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("7")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("8")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v("9")])],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item"},[t._v(".")])],1)],1)]}))],2)},n=[]},cf02:function(t,e,a){var i=a("24fb");e=i(!1),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/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page .count-down .time[data-v-712408b9]{margin-left:%?10?%}.page .modal-btn-wrap[data-v-712408b9]{display:flex;justify-content:space-between}.page .modal-btn-wrap .give-up-btn[data-v-712408b9],\r\n.page .modal-btn-wrap .continue-btn[data-v-712408b9]{flex:1;height:%?71?%;line-height:%?71?%;background:#f3f3f3;border:1px solid #bfbfbf;border-radius:%?35?%;text-align:center}.page .modal-btn-wrap .continue-btn[data-v-712408b9]{margin-left:%?47?%;border:none;color:#fff;background:linear-gradient(0deg,#e83769,#fe7e9d)}.page .modal-wrap[data-v-712408b9]{width:100%;text-align:center}.page .modal-wrap .count-down[data-v-712408b9]{display:flex;justify-content:center;font-size:%?32?%;color:#f4356b;margin-bottom:%?42?%;margin-top:%?57?%}.page .modal-wrap .model-content[data-v-712408b9]{font-size:%?30?%;color:#000}.page .pay-price[data-v-712408b9]{display:flex;justify-content:center;flex-direction:column;align-items:center;padding:%?88?% 0 %?56?% 0}.page .pay-price .title[data-v-712408b9]{font-size:%?28?%;color:#000;margin-bottom:%?34?%}.page .pay-price .price[data-v-712408b9]{color:#f12a65;margin-bottom:%?29?%;display:flex;align-items:flex-end}.page .pay-price .price .unit[data-v-712408b9]{font-size:%?30?%;font-weight:500;line-height:%?41?%}.page .pay-price .price .num[data-v-712408b9]{font-size:%?50?%;font-weight:600}.page .pay-price .count-down[data-v-712408b9]{display:flex;align-items:center;font-size:%?28?%;color:#7a7a7a}.page .pay-price .count-down .time[data-v-712408b9]{margin-top:0!important}.page .pay-price .count-down[data-v-712408b9] .red{margin:0!important}.page .payment[data-v-712408b9]{width:%?690?%;border-radius:%?14?% %?14?%;background-color:#fff;z-index:999;margin:0 %?30?%}.page .payment .title[data-v-712408b9]{color:#000;font-size:%?32?%;font-weight:400;padding:%?30?% 0 %?25?% %?30?%}.page .payment .payMoney[data-v-712408b9]{font-size:%?28?%;color:#333;text-align:center;margin-top:%?50?%}.page .payment .payMoney .font-color[data-v-712408b9]{margin-left:%?10?%}.page .payment .payMoney .font-color .money[data-v-712408b9]{font-size:%?40?%}.page .payment.on[data-v-712408b9]{-webkit-transform:translateZ(0);transform:translateZ(0)}.page .icon-xuanzhong11[data-v-712408b9]{color:#e93323!important}.page .payment .item[data-v-712408b9]{height:%?80?%;margin-left:%?30?%;padding-right:%?30?%}.page .payment .item[data-v-712408b9]:last-child{border-bottom:none}.page .payment .item .left[data-v-712408b9]{flex:1}.page .payment .item .left .text[data-v-712408b9]{flex:1}.page .payment .item .left .text .name[data-v-712408b9]{font-size:%?30?%;color:#333}.page .payment .item .left .text .info[data-v-712408b9]{font-size:%?22?%;color:#999}.page .payment .item .left .text .info .money[data-v-712408b9]{color:#f90}.page .payment .item .left .iconfont[data-v-712408b9]{font-size:%?50?%;color:#09bb07;margin-right:%?28?%}.page .payment .item .left .iconfont.icon-zhifubao[data-v-712408b9]{color:#00aaea}.page .payment .item .left .iconfont.icon-yuezhifu[data-v-712408b9]{color:#f90}.page .payment .item .left .iconfont.icon-yuezhifu1[data-v-712408b9]{color:#eb6623}.page .payment .item .left .iconfont.icon-tonglianzhifu1[data-v-712408b9]{color:#305fd8}.page .payment .item .iconfont[data-v-712408b9]{font-size:%?40?%;color:#ccc}.page .icon-haoyoudaizhifu[data-v-712408b9]{color:#f34c3e!important}.page .btn[data-v-712408b9]{position:fixed;left:%?50?%;right:%?50?%;display:flex;flex-direction:column;align-items:center;bottom:%?30?%;bottom:calc(%?30?% + constant(safe-area-inset-bottom));bottom:calc(%?30?% + env(safe-area-inset-bottom))}.page .btn .pay-button[data-v-712408b9]{width:100%;height:%?87?%;background:linear-gradient(0deg,#e63163,#ff819f);border-radius:44px}.page .wait-pay[data-v-712408b9]{color:#aaa;font-size:%?24?%;padding-top:%?20?%}.page .button[data-v-712408b9]{width:%?690?%;height:%?90?%;border-radius:%?45?%;color:#fff;background-color:#e93323}',""]),t.exports=e},dee9:function(t,e,a){"use strict";a.r(e);var i=a("2e8a"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},eb8f:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uModal:a("c1ec").default,uButton:a("1546").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.payPriceShow?a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"pay-price"},[a("v-uni-view",{staticClass:"title"},[t._v("实付金额")]),a("v-uni-view",{staticClass:"price"},[a("v-uni-text",{staticClass:"unit"},[t._v("¥")]),a("numberScroll",{attrs:{num:t.payPriceShow,color:"#F12A65",width:"30",height:"50",fontSize:"50"}})],1),a("v-uni-view",{staticClass:"count-down"},[t._v("支付剩余时间"),a("countDown",{attrs:{"is-day":!1,"is-show-hour":!1,"tip-text":"","day-text":"","hour-text":"","minute-text":" : ","second-text":" ",datatime:t.invalidTime}})],1)],1),a("v-uni-view",{staticClass:"payment"},[a("v-uni-view",{staticClass:"title"},[t._v("请选择支付方式")]),t._l(t.cartArr,(function(e,i){return a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.payStatus,expression:"item.payStatus"}],key:i,staticClass:"item acea-row row-between-wrapper",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.payType(e.number||0,e.value,i)}}},[a("v-uni-view",{staticClass:"left acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"iconfont",class:e.icon}),a("v-uni-view",{staticClass:"text"},[a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))]),"yue"==e.value?a("v-uni-view",{staticClass:"info"},[t._v(t._s(e.title)),a("span",{staticClass:"money"},[t._v("¥"+t._s(e.number))])]):t._e()],1)],1),a("v-uni-view",{staticClass:"iconfont",class:t.active==i?"icon-xuanzhong11 font-num":"icon-weixuan"})],1)}))],2),a("v-uni-view",{staticClass:"btn"},[a("v-uni-view",{staticClass:"button acea-row row-center-wrapper pay-button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay(t.number,t.paytype)}}},[t._v("确认支付")]),a("v-uni-view",{staticClass:"wait-pay",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.waitPay.apply(void 0,arguments)}}},[t._v("暂不支付")])],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],domProps:{innerHTML:t._s(t.formContent)}}),a("u-modal",{attrs:{show:t.cancelPayModalShow,width:"519rpx"}},[a("v-uni-view",{staticClass:"modal-wrap"},[a("v-uni-view",{staticClass:"count-down"},[t._v("支付剩余时间"),a("countDown",{attrs:{"is-day":!1,"is-show-hour":!1,"tip-text":"","day-text":"","hour-text":"","minute-text":" : ","second-text":" ",datatime:t.invalidTime}})],1),a("v-uni-view",{staticClass:"model-content"},[t._v("确认要放弃付款吗?")])],1),a("v-uni-view",{attrs:{slot:"confirmButton"},slot:"confirmButton"},[a("v-uni-view",{staticClass:"modal-btn-wrap"},[a("u-button",{staticClass:"give-up-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onGiveUpPay.apply(void 0,arguments)}}},[t._v("放弃")]),a("u-button",{staticClass:"continue-btn"},[t._v("继续支付")])],1)],1)],1)],1):t._e()},r=[]},ee06:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3");var i={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0},isShowHour:{type:Boolean,default:!0},bgColor:{type:String,default:""},colors:{type:String,default:""}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,a=0,i=0,n=0,r=0;e>0?(a=!0===t.isDay?Math.floor(e/86400):0,i=Math.floor(e/3600)-24*a,n=Math.floor(e/60)-24*a*60-60*i,r=Math.floor(e)-24*a*60*60-60*i*60-60*n,i<=9&&(i="0"+i),n<=9&&(n="0"+n),r<=9&&(r="0"+r),t.day=a,t.hour=i,t.minute=n,t.second=r):(t.day="00",t.hour="00",t.minute="00",t.second="00")}e(),setInterval(e,1e3)}}};e.default=i},fec1:function(t,e,a){"use strict";a.r(e);var i=a("ee06"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a}}]); |