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/user/mineCoupons/mineCoupons.js

1 line
1.9 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/mineCoupons/mineCoupons"],{"0070":function(t,n,e){"use strict";var u=e("81df"),o=e.n(u);o.a},"01f0":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=e("524d"),o=getApp(),i={data:function(){return{businType:["未使用","已使用"],tabbarIndex:0,imageUrl:o.globalData.imgUrl,productList:null}},onPageScroll:function(t){},onLoad:function(){this.getUserCouponList(1)},methods:{showType:function(t){this.tabbarIndex=t,0==this.tabbarIndex?this.getUserCouponList(1):this.getUserCouponList(2)},jumpMineCou:function(n){t.navigateTo({url:"../../goods/coupon-details/coupon-details?id="+n})},getUserCouponList:function(n){var e=this;t.showLoading({title:"加载中"});var o={status:n,pageNum:1,pageSize:10};(0,u.getUserCouponList)(o).then((function(n){"000000"==n.return_code?(e.productList=n.return_data.list,t.hideLoading()):(e.productList=null,t.hideLoading())}))}}};n.default=i}).call(this,e("543d")["default"])},"491e":function(t,n,e){"use strict";(function(t){e("185d");u(e("66fd"));var n=u(e("6a9d"));function u(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"6a9d":function(t,n,e){"use strict";e.r(n);var u=e("bf6a"),o=e("c5fb");for(var i in o)"default"!==i&&function(t){e.d(n,t,(function(){return o[t]}))}(i);e("0070");var a,r=e("f0c5"),s=Object(r["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],a);n["default"]=s.exports},"81df":function(t,n,e){},bf6a:function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return u}));var o=function(){var t=this,n=t.$createElement;t._self._c},i=[]},c5fb:function(t,n,e){"use strict";e.r(n);var u=e("01f0"),o=e.n(u);for(var i in u)"default"!==i&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=o.a}},[["491e","common/runtime","common/vendor"]]]);