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.
1 line
19 KiB
1 line
19 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_coupon-index"],{"1c6c":function(t,e,n){"use strict";var i=n("d630"),o=n.n(i);o.a},3061:function(t,e,n){var i=n("43d0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("3f15d011",i,!0,{sourceMap:!1,shadowMode:!1})},3379:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{style:t.viewColor},[n("v-uni-view",{staticClass:"navTabBox"},[n("v-uni-view",{staticClass:"longTab"},t._l(t.tabList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"tab-item",class:{on:i==t.tabIndex-1},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindTab(i)}}},[n("v-uni-text",[t._v(t._s(e.title))])],1)})),1)],1),t.couponsList.length?n("v-uni-view",{staticClass:"coupon-list"},t._l(t.couponsList,(function(e,i){return n("v-uni-view",{key:i},[e.merchant&&0==e.status?n("v-uni-view",{staticClass:"store-info acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"store_name acea-row row-between-wrapper"},[n("v-uni-image",{staticClass:"image",attrs:{src:e.merchant.mer_avatar}}),n("v-uni-text",{staticClass:"name"},[t._v(t._s(e.merchant.mer_name))])],1),0==t.hide_mer_status&&0==e.status?n("v-uni-view",{staticClass:"store",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goStore(e)}}},[t._v("进店")]):t._e()],1):t._e(),n("v-uni-view",{staticClass:"item acea-row row-center-wrapper"},[0==e.status?[5==e.coupon.send_type?n("v-uni-view",{staticClass:"money vip-coupon"},[n("v-uni-view",[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),n("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1):n("v-uni-view",{staticClass:"money",style:{"background-image":"url("+t.domain+"/static/diy/couponBg"+t.keyColor+".png)"}},[n("v-uni-view",[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),n("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1)]:n("v-uni-view",{staticClass:"money moneyGray"},[n("v-uni-view",[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),n("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"condition line1"},[e.coupon&&0===e.coupon.type?n("v-uni-view",{staticClass:"line-title",class:0===e.status?"bg-color-huic":"bg-color-check"},[t._v("店铺券")]):e.coupon&&1===e.coupon.type?n("v-uni-view",{staticClass:"line-title",class:0===e._type?"bg-color-huic":"bg-color-check"},[t._v("商品券")]):e.coupon&&11===e.coupon.type?n("v-uni-view",{staticClass:"line-title",class:0===e._type?"bg-color-huic":"bg-color-check"},[t._v("品类券")]):e.coupon&&10===e.coupon.type?n("v-uni-view",{staticClass:"line-title",class:0===e._type?"bg-color-huic":"bg-color-check"},[t._v("通用券")]):e.coupon&&12===e.coupon.type?n("v-uni-view",{staticClass:"line-title",class:0===e._type?"bg-color-huic":"bg-color-check"},[t._v("跨店券")]):n("v-uni-view",{staticClass:"line-title",class:0===e._type?"bg-color-huic":"bg-color-check"},[t._v("商品券")]),n("v-uni-view",[t._v(t._s(e.coupon_title))])],1),n("v-uni-view",{staticClass:"data acea-row row-between-wrapper"},[n("v-uni-view",[t._v(t._s(t._f("timeYMD")(e.start_time))+"-"+t._s(t._f("timeYMD")(e.end_time)))]),0==e.status?n("v-uni-view",[n("v-uni-navigator",{staticClass:"bnt1 b-color",class:5==e.coupon.send_type?"svip-btn":"",attrs:{url:"/pages/columnGoods/goods_coupon_list/index?coupon_id="+e.coupon_id,"hover-class":"none"}},[t._v("去使用")])],1):t._e(),1==e.status?n("v-uni-view",{staticClass:"bnt1 gray",staticStyle:{position:"static"}},[t._v("已使用")]):t._e(),2==e.status?n("v-uni-view",{staticClass:"bnt1 gray",staticStyle:{position:"static"}},[t._v("已过期")]):t._e()],1)],1)],2)],1)})),1):t._e(),t.couponsList.length||1!=t.loading?t._
|