1 line
2.2 KiB
JavaScript
1 line
2.2 KiB
JavaScript
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/detection/coupon"],{"0544":function(n,t,e){},4218:function(n,t,e){"use strict";(function(n){var u=e("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(e("7eb4")),a=u(e("ee10")),c=u(e("1fab")),i=(u(e("f76e")),{data:function(){return{id:"",type:"",arrlist:[]}},onLoad:function(n){this.id=n.id,this.type=n.type,this.imgs=this.$baseUrl,this.getcanUseCoupon()},mounted:function(){},methods:{getcouponId:function(t,e,u,o){var a={couponId:t,discount:e/100,title:u,couponType:o};n.$emit("userCouponDiscount",a),n.navigateBack({delta:1})},getcanUseCoupon:function(){var n=this;return(0,a.default)(o.default.mark((function t(){var e;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.default)({url:"/appInspection/goods/canUseCoupon?objectId="+n.id+"&type="+n.type,method:"get"});case 2:e=t.sent,n.arrlist=e.data;case 4:case"end":return t.stop()}}),t)})))()},getback:function(){n.navigateBack()}}});t.default=i}).call(this,e("df3c")["default"])},"48ad":function(n,t,e){"use strict";e.r(t);var u=e("51a0"),o=e("84bf");for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);e("e5c8");var c=e("828b"),i=Object(c["a"])(o["default"],u["b"],u["c"],!1,null,"8c3b5db4",null,!1,u["a"],void 0);t["default"]=i.exports},"51a0":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return u}));var u={uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(e.bind(null,"ee17"))}},o=function(){var n=this.$createElement;this._self._c},a=[]},7562:function(n,t,e){"use strict";(function(n,t){var u=e("47a9");e("c55e");u(e("3240"));var o=u(e("48ad"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"84bf":function(n,t,e){"use strict";e.r(t);var u=e("4218"),o=e.n(u);for(var a in u)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=o.a},e5c8:function(n,t,e){"use strict";var u=e("0544"),o=e.n(u);o.a}},[["7562","common/runtime","common/vendor"]]]);
|