pages-assets-couponarticle-couponarticle.a87408fb.js 24 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-assets-couponarticle-couponarticle"],{"15cd":function(a,e,t){var i=t("24fb"),n=t("1de5"),o=t("7d32"),c=t("c6e9"),d=t("7aed");e=i(!1);var r=n(o),s=n(c),l=n(d);e.push([a.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.app[data-v-5bcaae1a]{padding-top:%?894?%;background-size:100% auto;background-repeat:no-repeat;padding-bottom:%?94?%}.ybutton[data-v-5bcaae1a]{background:url('+r+') no-repeat 50%;background-size:%?368?% %?66?%;font-size:%?28?%;font-family:PingFangSC-Medium,PingFang SC;display:block;line-height:%?66?%;width:%?368?%;text-align:center;position:relative}.ybutton uni-button[data-v-5bcaae1a]{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0}.couponslist .ybutton[data-v-5bcaae1a]{margin-top:%?20?%}.card[data-v-5bcaae1a]{width:%?686?%;background-color:#fff;border-radius:%?20?%;box-sizing:border-box;padding:%?48?% %?28?%;margin:0 auto %?48?%;display:flex;flex-direction:column;align-items:center}.card[data-v-5bcaae1a]:last-child{margin-bottom:0}.card .ul[data-v-5bcaae1a]{width:100%;box-sizing:border-box;padding:0 %?46?%;font-size:%?28?%;margin-top:%?20?%}.card .btns[data-v-5bcaae1a]{display:flex;justify-content:space-between;width:100%;margin-top:%?20?%}.card .btns .ybutton[data-v-5bcaae1a]{padding:0;background-size:%?290?% %?64?%;width:%?290?%;text-align:center}.card .h2[data-v-5bcaae1a]{display:flex;justify-content:center;align-items:center;margin-bottom:%?28?%;font-size:%?32?%;font-family:PingFangSC-Medium,PingFang SC}.card .h2[data-v-5bcaae1a]:before, .card .h2[data-v-5bcaae1a]:after{content:"";background:url('+s+") no-repeat;width:%?68?%;height:%?16?%;background-size:contain;-webkit-transform:rotate(180deg);transform:rotate(180deg);margin:0 %?32?%}.card .h2[data-v-5bcaae1a]:after{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.card .coupon-card[data-v-5bcaae1a]{width:%?630?%;height:%?180?%;margin:%?20?% 0;background:url("+l+') no-repeat %?-8?% %?-5?%;background-size:%?644?% %?194?%;box-sizing:border-box}.card .coupon-card .info[data-v-5bcaae1a]{display:flex;height:100%;color:#fff}.card .coupon-card .info .par-value[data-v-5bcaae1a]{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:%?226?%;border-right:%?2?% dotted #eee}.card .coupon-card .info .par-value > uni-text[data-v-5bcaae1a]{font-size:%?56?%;display:flex;align-items:baseline}.card .coupon-card .info .par-value > uni-text[data-v-5bcaae1a]:before{content:"¥";font-size:%?40?%}.card .coupon-card .info .validity[data-v-5bcaae1a]{flex:1;display:flex;flex-direction:column;justify-content:center;padding-left:%?38?%}.card .coupon-card .info .validity uni-text[data-v-5bcaae1a]{display:inline-block}.card .coupon-card .info .validity uni-text[data-v-5bcaae1a]:first-child{font-size:%?28?%;margin-bottom:%?12?%}.card .coupon-card .info .validity uni-text[data-v-5bcaae1a]:last-child{font-size:%?26?%}',""]),a.exports=e},"2909b":function(a,e,t){"use strict";t("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("d81d");var i={data:function(){return{menuinfo:{},shared:!1,coupons:[],actid:"",act:{},taked:!1,hasHistory:!1}},methods:{goHome:function(){uni.switchTab({url:"/pages/app/index/index"})},takeCoupon:function(){var a=this;this.reqByuser({url:"app/shop/?l=buy.takeCoupon",data:{shop_id:this.shop.id,shop_coupon_id:this.coupons.map((function(a){return a.shop_coupon_id})).join(",")},success:function(e){1==e.data.status?(uni.showToast({icon:"success",title:"领取成功"}),a.reqByuser({url:"app/shop/?l=main.getSubscribeTemplate&key=act",data:{},success:function(a){1==a.data.status?wx.requestSubscribeMessage({tmplIds:a.data.data.template.map((function(a){return a.template_id})),success:function(a){}}):uni.showToast({icon:"error",title:e.data.msg})}}),a.taked=!0):a.showModalNoCancel({showCancel:!1,content:e.data.msg})}})},loadCoupons:function(){var a=this;this.reqByuser({url:"app/shop/?l=buy.getCoupon",data:{shop_id:this.shop.id,act_id:this.actid},success:function(e){1==e.data.status&&(a.coupons=e.data.data.coupon,a.act=e.data.data.act)}})},logShare:function(){var a=this;this.reqByuser({url:"app/shop/?l=buy.share",data:{path:"/pages/app/couponarticle/couponarticle",act:1,shop_id:this.shop.id},success:function(e){1==e.data.status&&(a.shared=1)}})}},onLoad:function(a){var e=this,t=uni.getMenuButtonBoundingClientRect();if(this.menuinfo=t,this.actid=a.id,this.shop){if(this.isClosed)return!1;this.loadCoupons()}else this.getLocationShop((function(a){if(a.shop){if(e.setShop(a.shop),e.isClosed)return!1;e.loadCoupons()}else uni.showToast({icon:"error",title:"获取店铺失败",success:function(){setTimeout((function(){uni.reLaunch({url:"/pages/app/index/index"})}),2e3)}})}));getCurrentPages().length>1&&(this.hasHistory=!0)},onShareTimeline:function(){this.logShare()},onShareAppMessage:function(){this.logShare()}};e.default=i},"41fb":function(a,e,t){"use strict";var i=t("f8c8"),n=t.n(i);n.a},"7aed":function(a,e,t){a.exports=t.p+"static/img/coupon-cardbg.fcaede47.png"},"7d32":function(a,e,t){a.exports=t.p+"static/img/ybtn-bg.e2b1b773.png"},"8ff5":function(a,e,t){var i=t("c618");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var n=t("4f06").default;n("7605af5a",i,!0,{sourceMap:!1,shadowMode:!1})},"93a7":function(a,e,t){"use strict";t.r(e);var i=t("2909b"),n=t.n(i);for(var o in i)["default"].indexOf(o)<0&&function(a){t.d(e,a,(function(){return i[a]}))}(o);e["default"]=n.a},c618:function(a,e,t){var i=t("24fb"),n=t("1de5"),o=t("f6a0"),c=t("42c3"),d=t("b8d7"),r=t("7cbe"),s=t("43dd"),l=t("2cc4"),b=t("89d8"),p=t("82da"),u=t("e820"),g=t("2334"),f=t("fe07"),h=t("3fd3"),v=t("6de6"),m=t("fb7f"),w=t("cf23"),y=t("fe0a"),k=t("ade1"),x=t("bc22"),z=t("1476"),A=t("ed31"),M=t("59b2"),C=t("0d2b"),j=t("1ded");e=i(!1);var S=n(o),R=n(c),G=n(d),Y=n(r),I=n(s),Z=n(l),T=n(b),F=n(p),D=n(u),E=n(g),B=n(f),Q=n(h),V=n(v),J=n(m),U=n(w),P=n(y),H=n(k),N=n(x),_=n(z),W=n(A),O=n(M),L=n(C),X=n(j);e.push([a.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-head[data-v-5bcaae1a]{display:none}uni-page-body[data-v-5bcaae1a]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-5bcaae1a]::-webkit-scrollbar{display:none}.button[data-v-5bcaae1a]{background-color:#00ae75;border-radius:%?32?%;font-size:%?32?%;line-height:%?64?%;color:#fff;padding:0 %?30?%;text-align:center;position:relative}.button.border[data-v-5bcaae1a]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-5bcaae1a]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-5bcaae1a]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-5bcaae1a]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-5bcaae1a]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-5bcaae1a]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-5bcaae1a]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-5bcaae1a]{display:flex;align-items:center}.addr[data-v-5bcaae1a]:before{content:"";background:url('+S+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-5bcaae1a]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-5bcaae1a]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-5bcaae1a]{background:url('+R+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-5bcaae1a]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-5bcaae1a]{background:url("+G+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-5bcaae1a]{background:url("+Y+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-5bcaae1a]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+I+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-5bcaae1a]{background:url("+Z+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-5bcaae1a]{background:url("+T+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-5bcaae1a]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-5bcaae1a]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-5bcaae1a]{background:url("+E+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-5bcaae1a]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-5bcaae1a]{background:url("+Q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-5bcaae1a]{background:url("+V+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-5bcaae1a]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-5bcaae1a]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-5bcaae1a]{background:url("+P+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-5bcaae1a]{background:url("+H+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-5bcaae1a]{background:url("+N+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-5bcaae1a]{background:url("+_+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-5bcaae1a]{background:url("+S+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-5bcaae1a]{background:url("+I+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-5bcaae1a]{margin-top:%?12?%;display:flex}.tag[data-v-5bcaae1a]{border:%?1?% solid #00ab78;line-height:%?28?%;font-size:%?20?%;padding:0 %?8?%;border-radius:%?4?%;margin-right:%?8?%;color:#00ab78}.tag.orange[data-v-5bcaae1a]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-5bcaae1a]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-5bcaae1a]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-5bcaae1a]{border-color:#999;color:#333}.btn-page-back[data-v-5bcaae1a], .btn-page-home[data-v-5bcaae1a]{position:fixed;background:url("+W+") no-repeat 50% rgba(0,0,0,.3);background-size:%?44?%;width:%?44?%;height:%?44?%;z-index:999;left:0}.btn-page-home[data-v-5bcaae1a]{background-image:url("+O+')}.btns-buygroup[data-v-5bcaae1a]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-5bcaae1a]{margin:0 %?15?%}.topinfo[data-v-5bcaae1a]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-5bcaae1a]{flex:1}.topinfo .address[data-v-5bcaae1a]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-5bcaae1a]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-5bcaae1a]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-5bcaae1a]{margin:0 %?16?%;color:#333;font-size:%?28?%;line-height:%?40?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topinfo .address .adr-shop .icon-address[data-v-5bcaae1a]{flex-shrink:0}.topinfo .address .range[data-v-5bcaae1a]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-5bcaae1a]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-5bcaae1a]{font-size:%?24?%;color:#fff;padding:0 %?18?%;border-radius:%?30?%;line-height:%?38?%;display:inline-block}.topinfo .address .switch uni-text.active[data-v-5bcaae1a]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-5bcaae1a]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-5bcaae1a]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-5bcaae1a]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-5bcaae1a]:after{content:"";background:url('+L+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-5bcaae1a]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-5bcaae1a]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-5bcaae1a]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-5bcaae1a]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-5bcaae1a]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-5bcaae1a]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-5bcaae1a]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-5bcaae1a]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-5bcaae1a]{margin-bottom:%?8?%}.nav-item[data-v-5bcaae1a]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-5bcaae1a]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-5bcaae1a]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-5bcaae1a]{display:flex;align-items:baseline;color:#333;flex:1;margin-left:%?12?%;justify-content:flex-end;text-align:right}.nav-item > uni-view[data-v-5bcaae1a]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+I+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-5bcaae1a]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-5bcaae1a]{color:#999}.nav-item[data-v-5bcaae1a]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-5bcaae1a]:after{display:none}.nav-item.help[data-v-5bcaae1a]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-5bcaae1a]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-5bcaae1a]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-5bcaae1a]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-5bcaae1a]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-5bcaae1a]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-5bcaae1a]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-5bcaae1a]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-5bcaae1a], .goods-item.inorder uni-image[data-v-5bcaae1a]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-5bcaae1a]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-5bcaae1a]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-5bcaae1a]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-5bcaae1a]{position:relative}.swiper-cont .swiper[data-v-5bcaae1a]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-5bcaae1a], .swiper-cont .swiper uni-image[data-v-5bcaae1a]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-5bcaae1a]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);top:0;left:0;right:0;bottom:0}.swiper-cont .swiper .videoposter .btn-play[data-v-5bcaae1a]{background:url('+X+") no-repeat;background-size:contain;width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.swiper-cont .swiper .videoposter uni-video[data-v-5bcaae1a]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-5bcaae1a], .swiper-cont .swiper .videoposter.playing[data-v-5bcaae1a]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-5bcaae1a]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-5bcaae1a]{display:block}.swiper-cont .dots[data-v-5bcaae1a]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-5bcaae1a]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-5bcaae1a]{background-color:#fff;width:%?36?%}.form[data-v-5bcaae1a]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-5bcaae1a]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-5bcaae1a]:last-child{border-bottom:0}.form .form-item .label[data-v-5bcaae1a]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-5bcaae1a]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-5bcaae1a]{flex:1}.form .form-item .content .disabled[data-v-5bcaae1a]{color:#999}.form .form-item .link[data-v-5bcaae1a]{color:#00ab78}.form .form-item .checkboxgroup[data-v-5bcaae1a]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-5bcaae1a]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-5bcaae1a]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-5bcaae1a], .form.mini .content[data-v-5bcaae1a]{font-size:%?24?%}.form.mini .form-item[data-v-5bcaae1a]{padding-bottom:%?8?%}",""]),a.exports=e},c6e9:function(a,e){a.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAQCAYAAACvDNlTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAzIDc5LjE2NDUyNywgMjAyMC8xMC8xNS0xNzo0ODozMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjEgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NEM3N0Q4N0MyQ0M3MTFFQzhBQURDM0Y4RjEzMDIwMUEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NEM3N0Q4N0QyQ0M3MTFFQzhBQURDM0Y4RjEzMDIwMUEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5OTVGMTNGRjJDQzQxMUVDOEFBREMzRjhGMTMwMjAxQSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5OTVGMTQwMDJDQzQxMUVDOEFBREMzRjhGMTMwMjAxQSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pp9j1VkAAAHESURBVHja7FdBS0JBEP5mrbQyKSqiUx6yY1AgRIcIOnbo1j/oV/UPuvUDunSIQCjomB3sFFFRmJVWvmlnTVHU59u3T6Fw4MF7u9/sOp+zO98QM6PF7p+Yc1fg6wLwUqyNTadAK2lQdhVYmCX8Y6NmQvj4hPn8EuxxZ7Ai0MYaaG+H/j0h3uER881tMKflJaiD/chJ0VnJnC+AfzOTJDMzaclOGighkhne2YWVo9pcjy5TPsrsnebAdw+df+TiPNRWFhhPOO/HlU9G6R309V37Hh0BkhOg+JhZW5k7Qx8T64XFR/tGwYcfGWYvPScYZzJe3xiPz0C5Aq5WzSPvMmbmhBBzgXr2cYmP+EZyTHzIaCZFsE6ZUSx1B+g5wShTTcIH405IvtAXbJvpYxIEoxqlNYy5+NaDtFiDHfar3xm9MApDay0WIrpCm4tv/V+xWIMc9jPVJABGiQINHYyDb2ONTLov2DbTpTUIRokcFwVqHYioVpHyroRo0SU6oydOY1wEmugMSiW7A/ScYJT0JiLHrTcQn4j6GhFdfqQ0hJmrTU0S5maARBwUi5lH3mWMZO4vSHe1uz3QvmnY3PkRMmz/gR8BBgAeb+4F7CmbEQAAAABJRU5ErkJggg=="},cc04:function(a,e,t){"use strict";var i=t("8ff5"),n=t.n(i);n.a},d1e0:function(a,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return n})),t.d(e,"a",(function(){}));var i=function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("v-uni-view",{staticClass:"app",style:"background-image: url("+a.act.back+");background-color: "+a.act.bgcolor+";"},[a.hasHistory?t("v-uni-view",{staticClass:"btn-page-back",style:"top:"+a.menuinfo.top+"px;height:"+a.menuinfo.height+"px;width:"+a.menuinfo.height+"px;",on:{click:function(e){arguments[0]=e=a.$handleEvent(e),a.goBack.apply(void 0,arguments)}}}):t("v-uni-view",{staticClass:"btn-page-home",style:"top:"+a.menuinfo.top+"px;height:"+a.menuinfo.height+"px;width:"+a.menuinfo.height+"px;",on:{click:function(e){arguments[0]=e=a.$handleEvent(e),a.goHome.apply(void 0,arguments)}}}),t("v-uni-view",{staticClass:"couponslist card"},[t("v-uni-view",{staticClass:"h2"},[a._v("领红包")]),t("v-uni-view",{staticClass:"list"},a._l(a.coupons,(function(e,i){return t("v-uni-view",{key:i,staticClass:"coupon-card"},[t("v-uni-view",{staticClass:"info"},[t("v-uni-view",{staticClass:"par-value"},[t("v-uni-text",[a._v(a._s(e.cash))]),a._v(a._s(e.name))],1),t("v-uni-view",{staticClass:"validity"},[t("v-uni-text",[a._v("全场通用券")]),t("v-uni-text",[a._v(a._s(a.shop.name))])],1)],1)],1)})),1),a.shared?t("v-uni-text",{staticClass:"ybutton",on:{click:function(e){arguments[0]=e=a.$handleEvent(e),a.takeCoupon.apply(void 0,arguments)}}},[a._v(a._s(a.taked?"已领取":"点击一键领取"))]):a._e(),a.shared?a._e():t("v-uni-view",{staticClass:"ybutton"},[a._v("分享后领取优惠券"),t("v-uni-button",{attrs:{"open-type":"share"}})],1)],1),t("v-uni-view",{staticClass:"card"},[t("v-uni-view",{staticClass:"h2"},[a._v("活动规则")]),t("v-uni-view",{staticClass:"ul"},[t("wxparser",{attrs:{"rich-text":a.act.content}})],1)],1)],1)},n=[]},f5eb:function(a,e,t){"use strict";t.r(e);var i=t("d1e0"),n=t("93a7");for(var o in n)["default"].indexOf(o)<0&&function(a){t.d(e,a,(function(){return n[a]}))}(o);t("cc04"),t("41fb");var c=t("f0c5"),d=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"5bcaae1a",null,!1,i["a"],void 0);e["default"]=d.exports},f8c8:function(a,e,t){var i=t("15cd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var n=t("4f06").default;n("4149b01b",i,!0,{sourceMap:!1,shadowMode:!1})}}]);