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
23 KiB
1 line
23 KiB
9 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-collect_coupons-index"],{1578:function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"my-coupon",style:t.viewColor},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"nav acea-row row-around"},[i("v-uni-view",{staticClass:"item",class:-1==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(-1)}}},[i("v-uni-view",[t._v("全部")])],1),i("v-uni-view",{staticClass:"item",class:10==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(10)}}},[i("v-uni-view",[t._v("通用券")])],1),i("v-uni-view",{staticClass:"item",class:11==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(11)}}},[i("v-uni-view",[t._v("品类券")])],1),i("v-uni-view",{staticClass:"item",class:12==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(12)}}},[i("v-uni-view",[t._v("跨店券")])],1),i("v-uni-view",{staticClass:"item",class:0==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(0)}}},[i("v-uni-view",[t._v("店铺券")])],1)],1)],1),i("v-uni-view",{staticClass:"listBox"},[t._l(t.list,(function(e){return[i("v-uni-view",{key:e.coupon_id+"_0",staticClass:"list acea-row row-around"},[1==e.ProductLst.length||0==e.ProductLst.length?i("v-uni-view",{staticClass:"left cross"},[t._l(e.ProductLst,(function(o,n){return 1==e.ProductLst.length?i("v-uni-view",{key:n,staticClass:"cross-left"},[i("easyLoadimage",{attrs:{"image-src":o.image}})],1):t._e()})),0==e.ProductLst.length?i("v-uni-view",{staticClass:"cross-left"},[i("v-uni-image",{attrs:{src:o("ad73")}})],1):t._e(),i("v-uni-view",{staticClass:"tips cross-right"},[i("v-uni-view",{staticClass:"title line2"},[t._v(t._s(e.title||""))]),i("v-uni-view",{staticClass:"time"},[t._v(t._s(e.create_time))])],1)],2):i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"tips line1"},[t._v(t._s(e.title||""))]),i("v-uni-view",{staticClass:"info"},t._l(e.ProductLst,(function(e,o){return i("v-uni-view",{key:o,staticClass:"info-box"},[i("easyLoadimage",{attrs:{"image-src":e.image}}),i("v-uni-view",{staticClass:"money"},[t._v("¥ "+t._s(e.price))])],1)})),1)],1),i("v-uni-view",{staticClass:"right"},[10==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("通用券")]):t._e(),11==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("品类券")]):t._e(),12==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("跨店券")]):t._e(),0==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("店铺券")]):t._e(),i("v-uni-view",{staticClass:"title"},[i("v-uni-view",[i("p",[i("v-uni-text",{staticClass:"font1"},[t._v("¥")]),i("v-uni-text",{staticClass:"font2"},[t._v(t._s(t.parsePrice(e.coupon_price)))])],1),i("p",[0==e.use_min_price?i("v-uni-text",{staticClass:"font3"},[t._v("无使用门槛")]):i("v-uni-text",{staticClass:"font3"},[t._v("满"+t._s(t.parsePrice(e.use_min_price))+"元可用")])],1)]),e.issue?t._e():i("v-uni-view",{staticClass:"btn",class:0==e.ProductLst.length?"disabled":"",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.receiveCoupon(e)}}},[t._v("立即领取")]),e.issue&&e.ProductLst.length>0?i("v-uni-navigator",{staticClass:"btn shiyong",attrs:{url:"/pages/columnGoods/goods_coupon_list/index?coupon_id="+e.coupon_id,"hover-class":"none"}},[t._v("去使用")]):t._e(),e.issue&&0==e.ProductLst.length?i("v-uni-view",{staticClass:"btn shiyong disabled"},[t._v("去使用")]):t._e()],1)],1)],1)]}))],2),i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",staticStyle:{color:"#33"},attrs:{hidden:0==t.loading}})],1),!t.list.length&&t.loaded?i("v-uni-view",{staticClass:"noCommodity"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:"/static/images/noCoupon.png"}})],1)],1):t._e()],1)},n=[
|