(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-collect_coupons-index"],{"02aa":function(t,e,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return i.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return i.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return i.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return i.default.post("user/binding",t)},e.getAjcaptcha=function(t){return i.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return i.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return i.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return i.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleDetails=function(t){return i.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return i.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return i.default.get("article/lst/"+t,e,{noAuth:!0})},e.getAssistData=function(t){return i.default.get("diy/assist",t,{noAuth:!0})},e.getCateData=function(t){return i.default.get("diy/category",t,{noAuth:!0})},e.getCity=function(){return i.default.get("system/city/lst",{},{noAuth:!0})},e.getCityList=function(t){return i.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return i.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCombinationData=function(t){return i.default.get("diy/group",t,{noAuth:!0})},e.getCouponData=function(t){return i.default.get("diy/coupon",t,{noAuth:!0})},e.getCoupons=function(t){return i.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return i.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return i.default.get("common/home",{},{noAuth:!0})},e.getLiveData=function(t){return i.default.get("diy/broadcast",t,{noAuth:!0})},e.getLiveList=function(t,e){return i.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return i.default.get("wechat/get_logo",{},{noAuth:!0})},e.getOpenAdv=function(){return i.default.get("open_screen",{},{noAuth:!0})},e.getPageDiy=function(t){return i.default.get("micro",t,{noAuth:!0})},e.getPresellData=function(t){return i.default.get("diy/presell",t,{noAuth:!0})},e.getProductData=function(t){return i.default.get("diy/spu",t,{noAuth:!0})},e.getSeckillData=function(t){return i.default.get("diy/seckill",t,{noAuth:!0})},e.getShopCoupons=function(t){return i.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return i.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return i.default.get("coupon/list",t)},e.graphicLstData=function(t){return i.default.get("diy/community",t,{noAuth:!0})},e.hotRankingList=function(t){return i.default.get("diy/hot_top",t,{noAuth:!0})},e.loginMobile=function(t){return i.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return i.default.get("logout")},e.modifyPassword=function(t){return i.default.post("user/change/password",t)},e.modifyPhone=function(t){return i.default.post("user/change/phone",t)},e.phoneLogin=function(t){return i.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return i.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return i.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return i.default.get("pink",{},{noAuth:!0})},e.registerVerify=function(t,e,o,n){return i.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:o,code:n},{noAuth:!0})},e.setCouponReceive=function(t){return i.default.post("coupon/receive/"+t)},e.setFormId=function(t){return i.default.post("wechat/set_form_id",{formId:t})},e.storeList=function(t){return i.default.get("diy/store",t,{noAuth:!0})},e.switchH5Login=function(t){return i.default.post("user/switch",t)},e.verifyCode=function(){return i.default.get("verify_code",{},{noAuth:!0})},e.wechatAppAuth=function(t){return i.default.post("auth/app",t,{noAuth:!0})};var i=n(o("fea3"))},"122d":function(t,e,o){"use strict";o.r(e);var n=o("25d2"),i=o("7bab");for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(a);o("847d");var s=o("828b"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"322db09d",null,!1,n["a"],void 0);e["default"]=u.exports},"25d2":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"my-coupon",style:t.viewColor},[o("v-uni-view",{staticClass:"top"}),o("v-uni-view",{staticClass:"header",style:{marginTop:t.topHeight}},[o("v-uni-view",{staticClass:"nav acea-row row-around",style:{top:t.topHeight}},[o("v-uni-view",{staticClass:"item",class:-1==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(-1)}}},[o("v-uni-view",[t._v("全部")])],1),o("v-uni-view",{staticClass:"item",class:10==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(10)}}},[o("v-uni-view",[t._v("通用券")])],1),o("v-uni-view",{staticClass:"item",class:11==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(11)}}},[o("v-uni-view",[t._v("品类券")])],1),o("v-uni-view",{staticClass:"item",class:12==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(12)}}},[o("v-uni-view",[t._v("跨店券")])],1),o("v-uni-view",{staticClass:"item",class:0==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(0)}}},[o("v-uni-view",[t._v("店铺券")])],1)],1)],1),o("v-uni-view",{staticClass:"listBox"},[t._l(t.list,(function(e){return[o("v-uni-view",{key:e.coupon_id+"_0",staticClass:"list acea-row row-around bg-f boder-24"},[1==e.ProductLst.length||0==e.ProductLst.length?o("v-uni-view",{staticClass:"left cross"},[t._l(e.ProductLst,(function(n,i){return 1==e.ProductLst.length?o("v-uni-view",{key:i,staticClass:"cross-left"},[o("easyLoadimage",{attrs:{"image-src":n.image}})],1):t._e()})),0==e.ProductLst.length?o("v-uni-view",{staticClass:"cross-left"},[o("v-uni-image",{attrs:{src:t.domain+"/static/images/no_product.png"}})],1):t._e(),o("v-uni-view",{staticClass:"tips cross-right"},[o("v-uni-view",{staticClass:"title line2"},[t._v(t._s(e.title||""))]),o("v-uni-view",{staticClass:"time"},[t._v(t._s(e.create_time))])],1)],2):o("v-uni-view",{staticClass:"left"},[o("v-uni-view",{staticClass:"tips line1"},[t._v(t._s(e.title||""))]),o("v-uni-view",{staticClass:"info"},t._l(e.ProductLst,(function(e,n){return o("v-uni-view",{key:n,staticClass:"info-box"},[o("easyLoadimage",{staticClass:"image",attrs:{"image-src":e.image}}),o("v-uni-view",{staticClass:"money"},[t._v("¥ "+t._s(e.price))])],1)})),1)],1),o("v-uni-view",{staticClass:"right"},[10==e.type?o("v-uni-view",{staticClass:"couponlogo",style:{"background-image":"url("+t.domain+"/static/images/couponlogo.png)"}},[t._v("通用券")]):t._e(),11==e.type?o("v-uni-view",{staticClass:"couponlogo",style:{"background-image":"url("+t.domain+"/static/images/couponlogo.png)"}},[t._v("品类券")]):t._e(),12==e.type?o("v-uni-view",{staticClass:"couponlogo",style:{"background-image":"url("+t.domain+"/static/images/couponlogo.png)"}},[t._v("跨店券")]):t._e(),0==e.type?o("v-uni-view",{staticClass:"couponlogo",style:{"background-image":"url("+t.domain+"/static/images/couponlogo.png)"}},[t._v("店铺券")]):t._e(),o("v-uni-view",{staticClass:"title",class:{disabled:e.ProductLst.length<=0}},[o("v-uni-view",[o("p",[o("priceFormat",{attrs:{price:e.coupon_price,weight:!0,coupon:!0,intSize:"52",floatSize:"36",labelSize:"36"}})],1),o("p",[0==e.use_min_price?o("v-uni-text",{staticClass:"font3"},[t._v("领券立减"+t._s(e.coupon_price)+"元")]):o("v-uni-text",{staticClass:"font3"},[t._v("满"+t._s(t.parsePrice(e.use_min_price))+"元可用")])],1)]),e.issue?t._e():o("v-uni-view",{staticClass:"btn acea-row row-middle row-center",class:0==e.ProductLst.length?"disabled":"",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.receiveCoupon(e)}}},[t._v(t._s(0==e.ProductLst.length?"暂无法使用":"立即领取"))]),e.issue&&e.ProductLst.length>0?o("v-uni-navigator",{staticClass:"btn shiyong acea-row row-middle row-center",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?o("v-uni-view",{staticClass:"btn shiyong disabled"},[t._v("暂无法使用")]):t._e()],1)],1)],1)]}))],2),o("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[o("v-uni-text",{staticClass:"loading iconfont icon-jiazai",staticStyle:{color:"#33"},attrs:{hidden:0==t.loading}})],1),!t.list.length&&t.loaded?o("v-uni-view",{staticClass:"noCommodity"},[o("v-uni-view",{staticClass:"pictrue"},[o("v-uni-image",{attrs:{src:t.domain+"/static/images/noCoupon.png"}}),o("v-uni-view",[t._v("暂无商品,去看点什么吧")])],1)],1):t._e()],1)},i=[]},"370d":function(t,e,o){var n=o("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.sys-head .bg[data-v-322db09d]{background-color:var(--view-theme)}.my-coupon .top[data-v-322db09d]{position:fixed;top:0;left:0;width:100%;z-index:10}.my-coupon .header[data-v-322db09d]{height:%?200?%;background-color:var(--view-theme);border-bottom-left-radius:10%;border-bottom-right-radius:10%}.my-coupon .header .nav[data-v-322db09d]{border-radius:0 0 %?6?% %?6?%;padding:%?30?% 0;width:100%;background:var(--view-theme);position:fixed;left:0;z-index:10}.my-coupon .header .nav .item[data-v-322db09d]{text-align:center;font-size:%?26?%;color:#fff;padding:%?29?% 0;opacity:.7;line-height:%?2?%}.my-coupon .header .nav .item .num[data-v-322db09d]{margin-top:%?18?%}.my-coupon .header .nav .item.on[data-v-322db09d]{opacity:1;font-weight:700;border-bottom:%?5?% solid #fff}.my-coupon .listBox[data-v-322db09d]{margin:%?-73?% auto 0 auto;padding:0 %?30?%}.my-coupon .listBox .list[data-v-322db09d]{width:100%;height:%?260?%;overflow:hidden;margin-bottom:%?20?%;text-align:center}.my-coupon .listBox .list .cross[data-v-322db09d]{display:flex}.my-coupon .listBox .list .cross .cross-left[data-v-322db09d]{margin-top:%?6?%}.my-coupon .listBox .list .cross .cross-left .easy-loadimage[data-v-322db09d],\n.my-coupon .listBox .list .cross .cross-left uni-image[data-v-322db09d]{width:%?200?%;height:%?200?%;border-radius:%?12?%}.my-coupon .listBox .list .cross .cross-right[data-v-322db09d]{margin-left:%?20?%;margin-top:%?6?%}.my-coupon .listBox .list .cross .cross-right .title[data-v-322db09d]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.my-coupon .listBox .list .cross .cross-right .time[data-v-322db09d]{margin-top:%?40?%;font-size:%?22?%;font-weight:400;color:#666}.my-coupon .listBox .list .left[data-v-322db09d]{width:75%;height:%?210?%;margin-top:%?20?%;border-right:%?2?% dashed #eee;text-align:left;padding-left:%?30?%}.my-coupon .listBox .list .left .tips[data-v-322db09d]{font-size:%?26?%;font-weight:600;color:#282828;display:block}.my-coupon .listBox .list .left .info[data-v-322db09d]{margin-top:%?18?%;display:flex;justify-content:flex-start}.my-coupon .listBox .list .left .info .info-box[data-v-322db09d]{margin-right:%?25?%}.my-coupon .listBox .list .left .info .info-box .easy-loadimage[data-v-322db09d],\n.my-coupon .listBox .list .left .info .info-box[data-v-322db09d] uni-image{display:inline-block;width:%?130?%;height:%?130?%;border-radius:%?16?%}.my-coupon .listBox .list .left .info .info-box .money[data-v-322db09d]{text-align:center;font-size:%?22?%;font-weight:400;color:#666;margin-top:%?4?%}.my-coupon .listBox .list .right[data-v-322db09d]{width:25%;height:100%;position:relative}.my-coupon .listBox .list .right[data-v-322db09d]::before, .my-coupon .listBox .list .right[data-v-322db09d]::after{content:"";display:inline-block;width:%?24?%;height:%?24?%;background:#f5f5f5;border-radius:100%;position:absolute;bottom:%?-12?%}.my-coupon .listBox .list .right[data-v-322db09d]::before{left:%?-12?%}.my-coupon .listBox .list .right[data-v-322db09d]::after{top:%?-12?%;left:%?-12?%}.my-coupon .listBox .list .right .couponlogo[data-v-322db09d]{width:%?112?%;height:%?32?%;margin:0 auto;font-size:%?20?%;font-weight:400;line-height:%?38?%;color:#9b5434;background-size:%?112?% %?32?%}.my-coupon .listBox .list .right .title[data-v-322db09d]{width:%?146?%;height:%?169?%;margin:%?30?% auto 0;color:var(--view-priceColor);font-weight:600}.my-coupon .listBox .list .right .title .font1[data-v-322db09d]{font-size:%?26?%}.my-coupon .listBox .list .right .title .font2[data-v-322db09d]{font-size:%?26?%}.my-coupon .listBox .list .right .title .font2.int[data-v-322db09d]{font-size:%?52?%}.my-coupon .listBox .list .right .title .font3[data-v-322db09d]{font-size:%?20?%;font-weight:400;color:var(--view-theme)}.my-coupon .listBox .list .right .title p[data-v-322db09d]{margin-top:%?10?%}.my-coupon .listBox .list .right .title .btn[data-v-322db09d]{width:%?136?%;background:linear-gradient(270deg,var(--view-bntColor21),var(--view-bntColor22));border-radius:%?26?%;font-size:%?22?%;font-weight:400;color:#fff;height:%?52?%;margin:%?20?% auto 0}.my-coupon .listBox .list .right .title .btn.disabled[data-v-322db09d]{pointer-events:none;background:#ccc;color:#fff;border-color:#ccc;cursor:not-allowed}.my-coupon .listBox .list .right .title.disabled[data-v-322db09d]{color:#bbb}.my-coupon .listBox .list .right .title.disabled .font3[data-v-322db09d]{color:#bbb}.my-coupon .listBox .list .right .title .shiyong[data-v-322db09d]{border:%?2?% solid var(--view-theme);background:none;color:var(--view-theme);border-radius:%?26?%}.my-coupon .listBox .list .right .title .shiyong.disabled[data-v-322db09d]{pointer-events:none;color:#ccc;border-color:#ccc;cursor:not-allowed;background:none}.my-coupon .listBox .list:nth-child(1) .right[data-v-322db09d]::after{background-color:var(--view-theme)}.noCommodity[data-v-322db09d]{width:100%;margin-top:%?4?%;background-color:#f5f5f5}.noCommodity .pictrue[data-v-322db09d]{margin:0 auto}',""]),t.exports=e},"7bab":function(t,e,o){"use strict";o.r(e);var n=o("b9e2"),i=o.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"847d":function(t,e,o){"use strict";var n=o("a245"),i=o.n(n);i.a},a245:function(t,e,o){var n=o("370d");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=o("967d").default;i("6bd6da4b",n,!0,{sourceMap:!1,shadowMode:!1})},b9e2:function(t,e,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("e838"),o("c223");var i=o("d727"),a=o("02aa"),s=o("8f59"),u=n(o("23ab")),r=o("aa10"),c=uni.getSystemInfoSync().statusBarHeight+"px",l={computed:(0,s.mapGetters)(["viewColor"]),components:{easyLoadimage:u.default},data:function(){return{sysHeight:c,topHeight:0,domain:r.HTTP_REQUEST_URL,type:"",list:[],loading:!1,loaded:!1,page:1,limit:15}},onLoad:function(){this.statusClick(-1)},methods:{goBack:function(){uni.navigateBack()},parsePrice:function(t){return t>=100?parseFloat(t):t},receiveCoupon:function(t){(0,a.setCouponReceive)(t.coupon_id).then((function(e){t.issue=1,uni.showToast({title:e.message,icon:"none"})})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},getList:function(){var t=this;this.loading||this.loaded||(this.loading=!0,(0,i.getCouponLst)({product:1,type:-1==this.type?"":this.type,page:this.page,limit:this.limit}).then((function(e){t.list=t.list.concat(e.data.list),t.loading=!1,t.loaded=e.data.list.length!=t.limit,t.page++})))},statusClick:function(t){t!=this.type&&(this.loaded=!1,this.loading=!1,this.page=1,this.list=[],this.type=t,this.getList())}},onPageScroll:function(t){uni.$emit("scroll")},onReachBottom:function(){this.getList()}};e.default=l},d727:function(t,e,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return i.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(t){return i.default.get("store/product/assist/count",t,{noAuth:!0})},e.cancelReservationApi=function(t){return i.default.post("order/self/cancel/".concat(t))},e.getActivitycategory=function(t){return i.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t,e){return i.default.get("store/product/assist/detail/"+t,e)},e.getAssistList=function(t){return i.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return i.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return i.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return i.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t,e){return i.default.get("store/product/group/detail/"+t,e,{noAuth:!0})},e.getCombinationList=function(t){return i.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return i.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return i.default.post("combination/poster",t)},e.getCombinationUser=function(t){return i.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return i.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return i.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return i.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return i.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getReservationDate=function(t,e){return i.default.get("store/product/reservation/getMonth/".concat(t),e)},e.getReservationMerData=function(t){return i.default.get("store/merchant/detail/".concat(t))},e.getReservationTimes=function(t,e){return i.default.get("store/product/reservation/getDay/".concat(t),e)},e.getSeckillDetail=function(t){return i.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return i.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return i.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return i.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return i.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return i.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return i.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return i.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return i.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return i.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return i.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return i.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return i.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return i.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return i.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var i=n(o("fea3"))}}]);