1 line
2.2 KiB
JavaScript
1 line
2.2 KiB
JavaScript
![]() |
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/detection/coupon"],{"202a":function(e,n,t){},3992:function(e,n,t){"use strict";t.r(n);var u=t("e818"),o=t.n(u);for(var c in u)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(c);n["default"]=o.a},"4e5c":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return u}));var u={uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,"a086"))}},o=function(){var e=this.$createElement;this._self._c},c=[]},"738e":function(e,n,t){"use strict";(function(e,n){var u=t("4ea4");t("fbc1");u(t("66fd"));var o=u(t("d19e"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},d19e:function(e,n,t){"use strict";t.r(n);var u=t("4e5c"),o=t("3992");for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t("d2e8");var a=t("f0c5"),i=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,"8c3b5db4",null,!1,u["a"],void 0);n["default"]=i.exports},d2e8:function(e,n,t){"use strict";var u=t("202a"),o=t.n(u);o.a},e818:function(e,n,t){"use strict";(function(e){var u=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=u(t("2eee")),c=u(t("c973")),a=u(t("46fb")),i=(u(t("4cb2")),{data:function(){return{id:"",type:"",arrlist:[]}},onLoad:function(e){this.id=e.id,this.type=e.type,this.imgs=this.$baseUrl,this.getcanUseCoupon()},mounted:function(){},methods:{getcouponId:function(n,t,u,o){var c={couponId:n,discount:t/100,title:u,couponType:o};e.$emit("userCouponDiscount",c),e.navigateBack({delta:1})},getcanUseCoupon:function(){var e=this;return(0,c.default)(o.default.mark((function n(){var t;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,a.default)({url:"/appInspection/goods/canUseCoupon?objectId="+e.id+"&type="+e.type,method:"get"});case 2:t=n.sent,e.arrlist=t.data;case 4:case"end":return n.stop()}}),n)})))()},getback:function(){e.navigateBack()}}});n.default=i}).call(this,t("543d")["default"])}},[["738e","common/runtime","common/vendor"]]]);
|