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.
high-mini/unpackage/dist/build/mp-weixin/pages/goods/coupon-details/coupon-details.js

1 line
2.1 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/coupon-details/coupon-details"],{"31a2":function(n,t,e){"use strict";e.r(t);var o=e("856c"),c=e.n(o);for(var u in o)"default"!==u&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=c.a},"704b":function(n,t,e){"use strict";var o;e.d(t,"b",(function(){return c})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return o}));var c=function(){var n=this,t=n.$createElement;n._self._c},u=[]},"76b9":function(n,t,e){"use strict";e.r(t);var o=e("704b"),c=e("31a2");for(var u in c)"default"!==u&&function(n){e.d(t,n,(function(){return c[n]}))}(u);e("e879");var a,i=e("f0c5"),r=Object(i["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);t["default"]=r.exports},"856c":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e("524d"),c={data:function(){return{couDesId:"",couponDesInfo:[]}},onLoad:function(n){this.couDesId=n.id,this.getUserCouponDetail()},filters:{formatDate:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",e=new Date(n),o=e.getFullYear(),c=e.getMonth()+1,u=e.getDate(),a=e.getHours(),i=e.getMinutes(),r=e.getSeconds();return c=c>10?c:"0"+c,u=u>10?u:"0"+u,a=a>10?a:"0"+a,i=i>10?i:"0"+i,r=r>10?r:"0"+r,"".concat(o).concat(t).concat(c).concat(t).concat(u," ").concat(a,":").concat(i,":").concat(r)}},methods:{getUserCouponDetail:function(){var t=this;n.showLoading({title:"加载中..."}),n.showLoading({});var e={couponId:this.couDesId};(0,o.getUserCouponDetail)(e).then((function(e){"000000"==e.return_code?(t.couponDesInfo=e.return_data,n.hideLoading()):n.hideLoading()}))},scan:function(){n.scanCode({success:function(n){console.log("条码类型:"+n.scanType),console.log("条码内容:"+n.result)}})}}};t.default=c}).call(this,e("543d")["default"])},bc39:function(n,t,e){"use strict";(function(n){e("185d");o(e("66fd"));var t=o(e("76b9"));function o(n){return n&&n.__esModule?n:{default:n}}n(t.default)}).call(this,e("543d")["createPage"])},cc65:function(n,t,e){},e879:function(n,t,e){"use strict";var o=e("cc65"),c=e.n(o);c.a}},[["bc39","common/runtime","common/vendor"]]]);