PageSourceSearch

https://www.ctfmall.com/js/345.09b1dc8f.js

js ctfmall.com collected 2026-10-09 22:40:43 UTC 7,765 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkdemo5_vue2"]=self["webpackChunkdemo5_vue2"]||[]).push([[345],{3851:function(e,t,r){r.d(t,{F9:function(){return m},MV:function(){return g},OD:function(){return h},PL:function(){return v},Q8:function(){return l},V8:function(){return a},W1:function(){return i},Zp:function(){return p},c5:function(){return c},d8:function(){return u},gy:function(){return o},j4:function(){return f},nu:function(){return d},zX:function(){return n},zq:function(){return y}});var s=r(8314);const i=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/order/getOrderList",e),n=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/order/details",e),o=(e={})=>(0,s.kN)("post","/ctfmall-order-server/api/order/deleteOrder",e),a=(e={})=>(0,s.kN)("post","/ctfmall-order-server/api/order/cancelOrder",e),d=(e={})=>(0,s.kN)("post","/ctfmall-order-server/api/order/receivingOrder",e),c=(e={})=>(0,s.kN)("post","/ctfmall-order-server/api/corders/getExpressDetail",e),u=(e={})=>(0,s.Em)("post","/api/payment/isCanPay",e),l=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/order/afterSales/queryOrderList",e),m=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/order/afterSales/queryAfterSalesList",e),p=(e={})=>(0,s.Em)("post","/api/order/deleteRefundRecord?action=getorderslist",e),h=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/refundOrder/deleteRefundOrder",e),f=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/ics/page",e),v=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/ics/detail",e),y=(e={})=>(0,s.kN)("post","/ctfmall-order-server/api/order/modifyOrderAddress",e),g=(e={})=>(0,s.kN)("get","/ctfmall-order-server/api/order/getOrderCount",e)},7505:function(e,t,r){r.d(t,{Lh:function(){return c},PC:function(){return n},X2:function(){return i},fS:function(){return o},fk:function(){return a},kS:function(){return d},ny:function(){return u}});var s=r(8314);const i=(e={})=>(0,s.kN)("post","/ctfmall-goods-server/product/shoppingCart/getGoodsDetails",e),n=(e={})=>(0,s.kN)("post","/ctfmall-order-server/api/payment/getPaymentList",e),o=(e={})=>(0,s.Em)("post","/api/order/createOrder",e),a=(e={})=>(0,s.kN)("post","/ctfmall-order-server/order/createOrder",e),d=(e={})=>(0,s.kN)("post","/ctfmall-order-server/api/order/payment/requestPay",e),c=(e={})=>(0,s.Em)("post","/api/order/checkPaymentStatus",e),u=(e={})=>(0,s.kN)("post","/ctfmall-marketing-server/api/v1/orderPage/goodsShareAmountPlus",e)},9345:function(e,t,r){r.r(t),r.d(t,{default:function(){return f}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pay-order"},[t("div",{staticClass:"pay-info"},[t("div",{staticClass:"txt"},[e._v("您的周大福珠宝订单已成功提交")]),t("div",{staticClass:"num"},[e._v("订单编号:"+e._s(e.order.orderNo))]),t("div",{staticClass:"need"},[e._v("需支付")]),t("div",{staticClass:"price"},[t("span",{staticClass:"yen"},[e._v("¥")]),e._v(e._s(e.$utils.priceFormat(e.order.actualOrderAccount)[2]))]),e.userInfo.staff?[e.payQRcode?t("div",{staticClass:"qrcode"},[t("img",{staticClass:"qrcode-img",attrs:{src:e.payQRcode,alt:""}}),e.isOvertime?t("div",{staticClass:"btn-again cursor-pointer"},[t("div",{on:{click:function(t){return t.stopPropagation(),e.getRequestPayFn.apply(null,arguments)}}},[e._v("点击重新获取二维码")])]):e._e()]):e._e(),t("div",{staticClass:"countdown"},[t("span",[e._v(e._s(e.endTime.minutes||"00")+"分")]),t("span",[e._v(e._s(e.endTime.seconds||"00")+"秒")]),e._v(" 后失效,请扫描上方二维码进行支付")])]:[t("div",{staticClass:"qrcode"},[t("div",{ref:"goWap2Code",staticClass:"img",attrs:{id:"goWap2Code"}})]),t("div",{staticClass:"countdown"},[t("span",[e._v(e._s(e.endTime.minutes||"00")+"分")]),t("span",[e._v(e._s(e.endTime.seconds||"00")+"秒")]),e._v(" 自动关闭,请使用微信扫描上方二维码"),t("br"),e._v("前往周大福珠宝移动端进行支付")])],t("div",{staticClass:"opera"},[t("div",{staticClass:"common-btn common-btn-fill-red-3",on:{click:e.verificationPayFn}},[e._v("支付完成")]),t("div",{staticClass:"common-btn common-btn-outlined-red-1",on:{click:function(t){return e.toView("/home")}}},[e._v("关闭")])])],2)])},i=[],n=r(7505),o=r(5353),a=r(3851),d=r(7967),c=r(9118),u=r.n(c),l={name:"",components:{},data(){return{order:null,payQRcode:"",endTime:{minutes:"30",seconds:"00"},payType:0,timerFn:null,timer:null,isGoM:!1,isOvertime:!1}},computed:{...(0,o.L8)(["userInfo"])},created(){let e=JSON.parse(this.$utils.uncompile(this.$localStorage.getItem("addOrder")));e&&(this.order=e,console.log(this.order,"======order===="),this.userInfo.staff?this.getRequestPayFn():(this.getOrderInfo(),this.payOrder()),0==Number(this.order.actualOrderAccount)&&this.verificationPayFn())},beforeDestroy(){clearInterval(this.timerFn),clearInterval(this.timer)},methods:{payOrder(){this.innerVisible=!0,this.$nextTick(()=>{this.crateQrcode()})},crateQrcode(){this.qr=new(u())("goWap2Code",{width:160,height:160,text:d.yK+"/pages/order/detail?orderNo="+this.order.orderNo,render:"canvas"})},getOrderInfo(){let e={orderNo:this.order.orderNo,uid:this.userInfo.uid};(0,a.zX)(e).then(e=>{let t=e.data.expireTime;this.endTime.minutes=this.$utils.getCountDown(t,"时分秒").minutes,this.endTime.seconds=this.$utils.getCountDown(t,"时分秒").seconds,this.setEndTimeFn(t)})},getRequestPayFn(){let e={};e.orderNo=this.order.orderNo,e.uid=this.userInfo.uid,e.openId="PCWEB",(0,n.kS)(e).then(e=>{if(200==e.code)switch(this.isOvertime=!1,e.data.paymentMethod){case 20002:this.AlipayPay(e.data.data);break;
1case 20005:case 20015:this.AlipayPay(e.data.payJson.formStr,"punchout_form");break;case 30006:var t="";t=(new Date).getTime()+new Date(e.data.data.expireTime).getTime()-new Date(e.data.data.orderTime).getTime()-1e3,this.endTime.minutes=this.$utils.getCountDown(t,"时分秒").minutes,this.endTime.seconds=this.$utils.getCountDown(t,"时分秒").seconds,this.setEndTimeFn(t+1e3),this.payQRcode=e.data.data.codeImageUrl;break;case 30054:case 30154:t="";t=(new Date).getTime()+new Date(e.data.payJson.expireTime).getTime()-new Date(e.data.payJson.orderTime).getTime()-1e3,this.endTime.minutes=this.$utils.getCountDown(t,"时分秒").minutes,this.endTime.seconds=this.$utils.getCountDown(t,"时分秒").seconds,this.setEndTimeFn(t+1e3),this.payQRcode=e.data.payJson.codeImageUrl;break;case 4e4:this.UnionPay(e.data.data);break;default:break}else this.toView("/payFail",{orderNo:this.order.orderNo}),this.isOvertime=!0}).catch(()=>{this.toView("/payFail",{orderNo:this.order.orderNo}),this.isOvertime=!0})},verificationPayFn(){let e={};e.orderNo=this.order.orderNo,e.uid=this.userInfo.uid,(0,n.Lh)(e).then(e=>{if("1"==e.retcode)switch(e.data){case 1:this.$toast("支付未完成, 请先完成支付");break;case 2:this.$toast("支付状态正在确认中");break;case 3:this.toView("/paySuccess",{orderNo:this.order.orderNo});break;case 4:break;case 5:break;case 6:break;case 7:break;default:break}})},AlipayPay(e,t="alipaysubmit"){const r=document.createElement("div");r.innerHTML=e,r.style.display="none",document.body.appendChild(r),document.forms[t].submit(),document.body.removeChild(r)},UnionPay(e){const t=document.createElement("div");t.innerHTML=e,t.style.display="none",document.body.appendChild(t),document.forms.pay_form.submit(),document.body.removeChild(t)},setEndTimeFn(e){this.timerFn&&clearInterval(this.timerFn),this.timerFn=setInterval(()=>{let t=this.$utils.getCountDown(e);t>0?(this.endTime.minutes=this.$utils.getCountDown(e,"时分秒").minutes,this.endTime.seconds=this.$utils.getCountDown(e,"时分秒").seconds):(clearInterval(this.timer),clearInterval(this.timerFn),this.isOvertime=!0,this.userInfo.staff||this.toView("/payFail",{orderNo:this.order.orderNo}))},1e3)}}},m=l,p=r(1656),h=(0,p.A)(m,s,i,!1,null,"43f3fa70",null),f=h.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.