You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.2 KiB
1 lines
3.2 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/pay/success/success"],{"36e0":function(t,e,o){},"44df":function(t,e,o){"use strict";var n;o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return u})),o.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,o=(t._self._c,t.oneTime?t._f("formatDate")(t.oneTime,"-"):null),n=t.twoTime?t._f("formatDate")(t.twoTime,"-"):null,a=t.threeTime?t._f("formatDate")(t.threeTime,"-"):null;t.$mp.data=Object.assign({},{$root:{f0:o,f1:n,f2:a}})},u=[]},5510:function(t,e,o){"use strict";var n=o("36e0"),a=o.n(n);a.a},"8e95":function(t,e,o){"use strict";(function(t){o("e5b1");n(o("66fd"));var e=n(o("acbc"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,o("543d")["createPage"])},ab3e:function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o("53e0"),a=getApp(),u={data:function(){return{couDesId:"",imageUrl:a.globalData.imgUrl,couponDesInfo:[],storeList:[],oneTime:"",twoTime:"",threeTime:""}},onLoad:function(t){this.couDesId=t.id,this.getUserCouponDetail(),this.getStoreListByCoupon()},filters:{formatDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",o=new Date(t),n=o.getFullYear(),a=o.getMonth()+1,u=o.getDate(),i=o.getHours(),c=o.getMinutes(),r=o.getSeconds();return a=a>10?a:"0"+a,u=u>10?u:"0"+u,i=i>10?i:"0"+i,c=c>10?c:"0"+c,r=r>10?r:"0"+r,"".concat(n).concat(e).concat(a).concat(e).concat(u," ").concat(i,":").concat(c,":").concat(r)}},onReachBottom:function(){this.getStoreListByCoupon()},methods:{getUserCouponDetail:function(){var e=this;t.showLoading({title:"加载中..."});var o={couponId:this.couDesId};(0,n.getUserCouponDetail)(o).then((function(o){"000000"==o.return_code?(e.couponDesInfo=o.return_data,e.oneTime=o.return_data.couponCodeInfo.receiveTime,e.twoTime=o.return_data.couponCodeInfo.salesEndTime,e.threeTime=o.return_data.couponCodeInfo.consumeTime,t.hideLoading()):t.hideLoading()}))},seeloaction:function(e){t.openLocation({latitude:Number(e.latitude),longitude:Number(e.longitude),name:e.storeName,address:e.address})},getStoreListByCoupon:function(){var e=this;t.showLoading({title:"加载中..."});var o={couponId:this.couDesId,longitude:a.globalData.longitude,latitude:a.globalData.latitude};(0,n.getStoreListByCoupon)(o).then((function(o){"000000"==o.return_code&&""!=o.return_data.list?(t.hideLoading(),e.storeList=o.return_data):(e.storeList=[],t.hideLoading())}))},toUser:function(){t.switchTab({url:"/pages/tabBar/user/user"})},scan:function(){t.scanCode({success:function(t){console.log("条码类型:"+t.scanType),console.log("条码内容:"+t.result)}})}}};e.default=u}).call(this,o("543d")["default"])},acbc:function(t,e,o){"use strict";o.r(e);var n=o("44df"),a=o("f31c");for(var u in a)"default"!==u&&function(t){o.d(e,t,(function(){return a[t]}))}(u);o("5510");var i,c=o("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],i);e["default"]=r.exports},f31c:function(t,e,o){"use strict";o.r(e);var n=o("ab3e"),a=o.n(n);for(var u in n)"default"!==u&&function(t){o.d(e,t,(function(){return n[t]}))}(u);e["default"]=a.a}},[["8e95","common/runtime","common/vendor"]]]); |