chunk-7f08916c.008254f8.js 2.2 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f08916c"],{"5f10":function(t,s,e){t.exports=e.p+"h5/img/noCoupon.e524084b.png"},edc1:function(t,s,e){"use strict";e.r(s);var n=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{ref:"container"},[t.couponsList.length>0?e("div",{staticClass:"coupon-list"},t._l(t.couponsList,(function(s,n){return e("div",{key:n,staticClass:"item acea-row row-center-wrapper"},[e("div",{staticClass:"money",class:0===s._type?"moneyGray":""},[e("div",[t._v("\n ¥"),e("span",{staticClass:"num"},[t._v(t._s(s.coupon_price))])]),e("div",{staticClass:"pic-num"},[t._v("满"+t._s(s.use_min_price)+"元可用")])]),e("div",{staticClass:"text"},[e("div",{staticClass:"condition line1"},[0===s.applicable_type?e("span",{staticClass:"line-title",class:0===s._type?"bg-color-huic":"bg-color-check"},[t._v("通用劵")]):1===s.applicable_type?e("span",{staticClass:"line-title",class:0===s._type?"bg-color-huic":"bg-color-check"},[t._v("品类券")]):e("span",{staticClass:"line-title",class:0===s._type?"bg-color-huic":"bg-color-check"},[t._v("商品券")]),e("span",[t._v(t._s(s.coupon_title))])]),e("div",{staticClass:"data acea-row row-between-wrapper"},[0===s._end_time?e("div",[t._v("不限时")]):e("div",[t._v(t._s(s._add_time)+"-"+t._s(s._end_time))]),0===s._type?e("div",{staticClass:"bnt gray"},[t._v(t._s(s._msg))]):e("div",{staticClass:"bnt bg-color-red"},[t._v(t._s(s._msg))])])])])})),0):t._e(),0===t.couponsList.length&&!0===t.loading?e("div",{staticClass:"noCommodity"},[t._m(0)]):t._e()])},i=[function(){var t=this,s=t.$createElement,n=t._self._c||s;return n("div",{staticClass:"noPictrue"},[n("img",{staticClass:"image",attrs:{src:e("5f10")}})])}],c=(e("cc57"),e("c24f")),o="UserCoupon",a={name:"UserCoupon",components:{},props:{},data:function(){return{couponsList:[],loading:!1}},watch:{$route:function(t){var s=this;t.name===o&&s.getUseCoupons()}},mounted:function(){this.getUseCoupons()},methods:{getUseCoupons:function(){var t=this,s=0;Object(c["s"])(s).then((function(s){t.couponsList=s.data,t.loading=!0}))}}},l=a,p=e("623f"),r=Object(p["a"])(l,n,i,!1,null,null,null);s["default"]=r.exports}}]);
  2. //# sourceMappingURL=chunk-7f08916c.008254f8.js.map