(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-97762e36"],{"5f10":function(t,i,s){t.exports=s.p+"h5/img/noCoupon.e524084b.png"},d000:function(t,i,s){"use strict";var e=function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",[s("div",{staticClass:"bg-color-red",staticStyle:{height:"0.7rem",position:"fixed","z-index":"999",top:"0",width:"100%"}},[s("div",{staticStyle:{width:"100%",display:"flex","line-height":"0.7rem","font-size":"0.35rem"}},[s("div",{staticClass:"iconfont icon-xiangzuo",staticStyle:{color:"#FFFFFF","font-size":"0.35rem","padding-left":"10px"},on:{click:t.returns}}),s("div",{staticStyle:{color:"#FFFFFF","font-weight":"400",flex:"auto","text-align":"center","padding-right":"30px"}},[t._v("\n        "+t._s(t.titles)+"\n      ")])])]),s("div",{staticStyle:{height:"0.7rem"}})])},n=[],a={name:"NavBar",props:{title:String},data:function(){return{titles:""}},mounted:function(){void 0==this.title?this.titles=this.$route.meta.title:this.titles=this.title},methods:{returns:function(){this.$router.back()}}},o=a,c=s("2877"),l=Object(c["a"])(o,e,n,!1,null,null,null);i["a"]=l.exports},edc1:function(t,i,s){"use strict";s.r(i);var e=function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{ref:"container"},[s("NavBar",{attrs:{title:"我的优惠券"}}),t.couponsList.length>0?s("div",{staticClass:"coupon-list"},t._l(t.couponsList,(function(i,e){return s("div",{key:e,staticClass:"item acea-row row-center-wrapper"},[s("div",{staticClass:"money",class:0===i._type?"moneyGray":""},[s("div",[t._v("\n          ￥"),s("span",{staticClass:"num"},[t._v(t._s(i.coupon_price))])]),s("div",{staticClass:"pic-num"},[t._v("满"+t._s(i.use_min_price)+"元可用")])]),s("div",{staticClass:"text"},[s("div",{staticClass:"condition line1"},[0===i.applicable_type?s("span",{staticClass:"line-title",class:0===i._type?"bg-color-huic":"bg-color-check"},[t._v("通用劵")]):1===i.applicable_type?s("span",{staticClass:"line-title",class:0===i._type?"bg-color-huic":"bg-color-check"},[t._v("品类券")]):s("span",{staticClass:"line-title",class:0===i._type?"bg-color-huic":"bg-color-check"},[t._v("商品券")]),s("span",[t._v(t._s(i.coupon_title))])]),s("div",{staticClass:"data acea-row row-between-wrapper"},[0===i._end_time?s("div",[t._v("不限时")]):s("div",[t._v(t._s(i._add_time)+"-"+t._s(i._end_time))]),0===i._type?s("div",{staticClass:"bnt gray"},[t._v(t._s(i._msg))]):s("div",{staticClass:"bnt bg-color-red"},[t._v(t._s(i._msg))])])])])})),0):t._e(),0===t.couponsList.length&&!0===t.loading?s("div",{staticClass:"noCommodity"},[t._m(0)]):t._e()],1)},n=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"noPictrue"},[e("img",{staticClass:"image",attrs:{src:s("5f10")}})])}],a=(s("7f7f"),s("c24f")),o=s("d000"),c="UserCoupon",l={name:"UserCoupon",components:{NavBar:o["a"]},props:{},data:function(){return{couponsList:[],loading:!1}},watch:{$route:function(t){var i=this;t.name===c&&i.getUseCoupons()}},mounted:function(){this.getUseCoupons()},methods:{getUseCoupons:function(){var t=this,i=0;Object(a["s"])(i).then((function(i){t.couponsList=i.data,t.loading=!0}))}}},r=l,u=s("2877"),p=Object(u["a"])(r,e,n,!1,null,null,null);i["default"]=p.exports}}]);
//# sourceMappingURL=chunk-97762e36.44a30485.js.map