1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-assets-couponarticle-couponarticle"],{"0ae6":function(a,t,i){var e=i("8a9d");"string"===typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);var n=i("4f06").default;n("a9dac670",e,!0,{sourceMap:!1,shadowMode:!1})},"24e5":function(a,t,i){var e=i("c853");"string"===typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);var n=i("4f06").default;n("bb11cf2e",e,!0,{sourceMap:!1,shadowMode:!1})},"3d5f":function(a,t,i){"use strict";var e=i("0ae6"),n=i.n(e);n.a},4297:function(a,t,i){"use strict";var e=i("24e5"),n=i.n(e);n.a},"47e0":function(a,t,i){"use strict";i("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={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(t){1==t.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:t.data.msg})}}),a.taked=!0):a.showModalNoCancel({showCancel:!1,content:t.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(t){1==t.data.status&&(a.coupons=t.data.data.coupon,a.act=t.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(t){1==t.data.status&&(a.shared=1)}})}},onLoad:function(a){var t=this,i=uni.getMenuButtonBoundingClientRect();if(this.menuinfo=i,this.actid=a.id,this.shop){if(this.isClosed)return!1;this.loadCoupons()}else this.getLocationShop((function(a){if(a.shop){if(t.setShop(a.shop),t.isClosed)return!1;t.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()}};t.default=e},"5c6b":function(a,t,i){a.exports=i.p+"static/img/ybtn-bg.e2b1b773.png"},6410:function(a,t,i){a.exports=i.p+"static/img/coupon-cardbg.fcaede47.png"},"64ff":function(a,t,i){"use strict";i.r(t);var e=i("fb1c"),n=i("c90f");for(var o in n)"default"!==o&&function(a){i.d(t,a,(function(){return n[a]}))}(o);i("4297"),i("3d5f");var c,r=i("f0c5"),d=Object(r["a"])(n["default"],e["b"],e["c"],!1,null,"b19a6b7c",null,!1,e["a"],c);t["default"]=d.exports},"8a9d":function(a,t,i){var e=i("24fb"),n=i("1de5"),o=i("5c6b"),c=i("daaf"),r=i("6410");t=e(!1);var d=n(o),s=n(c),b=n(r);t.push([a.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.app[data-v-b19a6b7c]{padding-top:%?894?%;background-size:100% auto;background-repeat:no-repeat;padding-bottom:%?94?%}.ybutton[data-v-b19a6b7c]{background:url('+d+') 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-b19a6b7c]{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0}.couponslist .ybutton[data-v-b19a6b7c]{margin-top:%?20?%}.card[data-v-b19a6b7c]{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-b19a6b7c]:last-child{margin-bottom:0}.card .ul[data-v-b19a6b7c]{width:100%;box-sizing:border-box;padding:0 %?46?%;font-size:%?28?%;margin-top:%?20?%}.card .btns[data-v-b19a6b7c]{display:flex;justify-content:space-between;width:100%;margin-top:%?20?%}.card .btns .ybutton[data-v-b19a6b7c]{padding:0;background-size:%?290?% %?64?%;width:%?290?%;text-align:center}.card .h2[data-v-b19a6b7c]{display:flex;justify-content:center;align-items:center;margin-bottom:%?28?%;font-size:%?32?%;font-family:PingFangSC-Medium,PingFang SC}.card .h2[data-v-b19a6b7c]:before, .card .h2[data-v-b19a6b7c]: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-b19a6b7c]:after{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.card .coupon-card[data-v-b19a6b7c]{width:%?630?%;height:%?180?%;margin:%?20?% 0;background:url("+b+') no-repeat %?-8?% %?-5?%;background-size:%?644?% %?194?%;box-sizing:border-box}.card .coupon-card .info[data-v-b19a6b7c]{display:flex;height:100%;color:#fff}.card .coupon-card .info .par-value[data-v-b19a6b7c]{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-b19a6b7c]{font-size:%?56?%;display:flex;align-items:baseline}.card .coupon-card .info .par-value > uni-text[data-v-b19a6b7c]:before{content:"¥";font-size:%?40?%}.card .coupon-card .info .validity[data-v-b19a6b7c]{flex:1;display:flex;flex-direction:column;justify-content:center;padding-left:%?38?%}.card .coupon-card .info .validity uni-text[data-v-b19a6b7c]{display:inline-block}.card .coupon-card .info .validity uni-text[data-v-b19a6b7c]:first-child{font-size:%?28?%;margin-bottom:%?12?%}.card .coupon-card .info .validity uni-text[data-v-b19a6b7c]:last-child{font-size:%?26?%}',""]),a.exports=t},c853:function(a,t,i){var e=i("24fb"),n=i("1de5"),o=i("e516"),c=i("2457"),r=i("d5ae"),d=i("71c5"),s=i("be44"),b=i("d3a1"),l=i("6464"),p=i("c334"),u=i("af09"),g=i("68b2"),h=i("c1b7"),f=i("d609"),v=i("b275"),m=i("24a3"),w=i("2350"),y=i("d186"),k=i("f546"),x=i("f3d6"),z=i("9b34"),A=i("356a"),M=i("74ea"),C=i("5134"),j=i("5a97");t=e(!1);var S=n(o),R=n(c),G=n(r),Y=n(d),I=n(s),Z=n(b),T=n(l),F=n(p),D=n(u),E=n(g),B=n(h),Q=n(f),V=n(v),J=n(m),U=n(w),P=n(y),H=n(k),N=n(x),W=n(z),_=n(A),L=n(M),O=n(C),X=n(j);t.push([a.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-head[data-v-b19a6b7c]{display:none}uni-page-body[data-v-b19a6b7c]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-b19a6b7c]::-webkit-scrollbar{display:none}.button[data-v-b19a6b7c]{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-b19a6b7c]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-b19a6b7c]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-b19a6b7c]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-b19a6b7c]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-b19a6b7c]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-b19a6b7c]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-b19a6b7c]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-b19a6b7c]{display:flex;align-items:center}.addr[data-v-b19a6b7c]: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-b19a6b7c]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-b19a6b7c]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-b19a6b7c]{background:url('+R+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-b19a6b7c]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-b19a6b7c]{background:url("+G+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-b19a6b7c]{background:url("+Y+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-b19a6b7c]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+I+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-b19a6b7c]{background:url("+Z+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-b19a6b7c]{background:url("+T+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-b19a6b7c]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-b19a6b7c]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-b19a6b7c]{background:url("+E+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-b19a6b7c]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-b19a6b7c]{background:url("+Q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-b19a6b7c]{background:url("+V+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-b19a6b7c]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-b19a6b7c]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-b19a6b7c]{background:url("+P+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-b19a6b7c]{background:url("+H+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-b19a6b7c]{background:url("+N+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-b19a6b7c]{background:url("+W+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-b19a6b7c]{background:url("+S+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-b19a6b7c]{background:url("+I+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-b19a6b7c]{margin-top:%?12?%;display:flex}.tag[data-v-b19a6b7c]{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-b19a6b7c]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-b19a6b7c]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-b19a6b7c]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-b19a6b7c]{border-color:#999;color:#333}.btn-page-back[data-v-b19a6b7c], .btn-page-home[data-v-b19a6b7c]{position:fixed;background:url("+_+") 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-b19a6b7c]{background-image:url("+L+')}.btns-buygroup[data-v-b19a6b7c]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-b19a6b7c]{margin:0 %?15?%}.topinfo[data-v-b19a6b7c]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-b19a6b7c]{flex:1}.topinfo .address[data-v-b19a6b7c]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-b19a6b7c]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-b19a6b7c]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-b19a6b7c]{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-b19a6b7c]{flex-shrink:0}.topinfo .address .range[data-v-b19a6b7c]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-b19a6b7c]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-b19a6b7c]{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-b19a6b7c]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-b19a6b7c]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-b19a6b7c]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-b19a6b7c]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-b19a6b7c]:after{content:"";background:url('+O+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-b19a6b7c]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-b19a6b7c]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-b19a6b7c]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-b19a6b7c]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-b19a6b7c]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-b19a6b7c]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-b19a6b7c]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-b19a6b7c]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-b19a6b7c]{margin-bottom:%?8?%}.nav-item[data-v-b19a6b7c]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-b19a6b7c]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-b19a6b7c]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-b19a6b7c]{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-b19a6b7c]: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-b19a6b7c]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-b19a6b7c]{color:#999}.nav-item[data-v-b19a6b7c]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-b19a6b7c]:after{display:none}.nav-item.help[data-v-b19a6b7c]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-b19a6b7c]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-b19a6b7c]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-b19a6b7c]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-b19a6b7c]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-b19a6b7c]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-b19a6b7c]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-b19a6b7c]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-b19a6b7c], .goods-item.inorder uni-image[data-v-b19a6b7c]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-b19a6b7c]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-b19a6b7c]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-b19a6b7c]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-b19a6b7c]{position:relative}.swiper-cont .swiper[data-v-b19a6b7c]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-b19a6b7c], .swiper-cont .swiper uni-image[data-v-b19a6b7c]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-b19a6b7c]: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-b19a6b7c]{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-b19a6b7c]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-b19a6b7c], .swiper-cont .swiper .videoposter.playing[data-v-b19a6b7c]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-b19a6b7c]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-b19a6b7c]{display:block}.swiper-cont .dots[data-v-b19a6b7c]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-b19a6b7c]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-b19a6b7c]{background-color:#fff;width:%?36?%}.form[data-v-b19a6b7c]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-b19a6b7c]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-b19a6b7c]:last-child{border-bottom:0}.form .form-item .label[data-v-b19a6b7c]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-b19a6b7c]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-b19a6b7c]{flex:1}.form .form-item .content .disabled[data-v-b19a6b7c]{color:#999}.form .form-item .link[data-v-b19a6b7c]{color:#00ab78}.form .form-item .checkboxgroup[data-v-b19a6b7c]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-b19a6b7c]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-b19a6b7c]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-b19a6b7c], .form.mini .content[data-v-b19a6b7c]{font-size:%?24?%}.form.mini .form-item[data-v-b19a6b7c]{padding-bottom:%?8?%}",""]),a.exports=t},c90f:function(a,t,i){"use strict";i.r(t);var e=i("47e0"),n=i.n(e);for(var o in e)"default"!==o&&function(a){i.d(t,a,(function(){return e[a]}))}(o);t["default"]=n.a},daaf:function(a,t){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=="},fb1c:function(a,t,i){"use strict";var e;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return e}));var n=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("v-uni-view",{staticClass:"app",style:"background-image: url("+a.act.back+");background-color: "+a.act.bgcolor+";"},[a.hasHistory?i("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(t){arguments[0]=t=a.$handleEvent(t),a.goBack.apply(void 0,arguments)}}}):i("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(t){arguments[0]=t=a.$handleEvent(t),a.goHome.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"couponslist card"},[i("v-uni-view",{staticClass:"h2"},[a._v("领红包")]),i("v-uni-view",{staticClass:"list"},a._l(a.coupons,(function(t,e){return i("v-uni-view",{key:e,staticClass:"coupon-card"},[i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"par-value"},[i("v-uni-text",[a._v(a._s(t.cash))]),a._v(a._s(t.name))],1),i("v-uni-view",{staticClass:"validity"},[i("v-uni-text",[a._v("全场通用券")]),i("v-uni-text",[a._v(a._s(a.shop.name))])],1)],1)],1)})),1),a.shared?i("v-uni-text",{staticClass:"ybutton",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.takeCoupon.apply(void 0,arguments)}}},[a._v(a._s(a.taked?"已领取":"点击一键领取"))]):a._e(),a.shared?a._e():i("v-uni-view",{staticClass:"ybutton"},[a._v("分享后领取优惠券"),i("v-uni-button",{attrs:{"open-type":"share"}})],1)],1),i("v-uni-view",{staticClass:"card"},[i("v-uni-view",{staticClass:"h2"},[a._v("活动规则")]),i("v-uni-view",{staticClass:"ul"},[i("wxparser",{attrs:{"rich-text":a.act.content}})],1)],1)],1)},o=[]}}]);
|