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.
10 lines
3.0 KiB
10 lines
3.0 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponListWindow/index"],{"2c2c":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("d322"),u=e("989b"),i={props:{openType:{type:Number,default:0},coupon:{type:Object,default:function(){return{}}}},data:function(){return{imgHost:u.HTTP_REQUEST_URL,type:0}},methods:{close:function(){this.$emit("ChangCouponsClone"),this.type=0},getCouponUser:function(n,e){var u=this,i=u.coupon.list;if(i[n].is_use>=i[n].receive_limit&&0==this.openType)return!0;switch(this.openType){case 0:(0,o.setCouponReceive)(e).then((function(t){u.$emit("ChangCouponsUseState",n),u.$util.Tips({title:"领取成功"})})).catch((function(n){t.showToast({title:n,icon:"none"})}));break;case 1:u.$emit("ChangCoupons",n);break}},setType:function(t){this.type=t,this.$emit("tabCouponType",t)}}};n.default=i}).call(this,e("543d")["default"])},"2d72":function(t,n,e){"use strict";var o=e("792d"),u=e.n(o);u.a},"34ab":function(t,n,e){"use strict";e.r(n);var o=e("ef2c"),u=e("8424");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("2d72");var c=e("f0c5"),l=Object(c["a"])(u["default"],o["b"],o["c"],!1,null,"05e31073",null,!1,o["a"],void 0);n["default"]=l.exports},"792d":function(t,n,e){},8424:function(t,n,e){"use strict";e.r(n);var o=e("2c2c"),u=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=u.a},ef2c:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.coupon.count&&t.coupon.count[2]?t.$t("商品券"):null),o=t.coupon.count&&t.coupon.count[1]?t.$t("品类券"):null,u=t.coupon.count&&t.coupon.count[0]?t.$t("通用券"):null,i=t.coupon.count?null:t.$t("优惠券"),c=t.coupon.list.length,l=c?t.__map(t.coupon.list,(function(n,e){var o=t.__get_orig(n),u=t.$t("¥"),i=n.use_min_price>0?t.$t("满"):null,c=n.use_min_price>0?t.$t("元可用"):null,l=n.use_min_price>0?null:t.$t("无门槛券"),s=0===n.type?t.$t("通用券"):null,p=0!==n.type&&1===n.type?t.$t("品类券"):null,r=0!==n.type&&1!==n.type?t.$t("商品券"):null,a=t.$t(n.title),f=n.coupon_time?t.$t("领取后"):null,m=n.coupon_time?t.$t("天内可用"):null,d=t.coupon.count&&n.is_use>=n.receive_limit?n.use_title||t.$t("已领取"):null,_=!t.coupon.count||n.is_use>=n.receive_limit?null:t.coupon.statusTile||t.$t("立即领取");return{$orig:o,m4:u,m5:i,m6:c,m7:l,m8:s,m9:p,m10:r,m11:a,m12:f,m13:m,m14:d,m15:_}})):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:o,m2:u,m3:i,g0:c,l0:l}})},u=[]}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'components/couponListWindow/index-create-component',
|
|
{
|
|
'components/couponListWindow/index-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("34ab"))
|
|
})
|
|
},
|
|
[['components/couponListWindow/index-create-component']]
|
|
]);
|
|
|