bztang-admin/addons/yun_shop/static/app/js/chunk-79184fd6.d7a1e4b2.js

1 line
29 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-79184fd6"],{"253a":function(e,t,i){e.exports=i.p+"static/app/img/img_default.a608a24a.png"},"3fe0":function(e,t,i){var o=i("fd16");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var a=i("499e").default;a("43a9f449",o,!0,{sourceMap:!1,shadowMode:!1})},8997:function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"coupon_v2_detail"}},[o("c-title",{attrs:{hide:!1,text:"优惠券详情"}}),o("div",{staticClass:"centen_box"},[o("div",{staticClass:"imgBox"},[o("img",{attrs:{src:e.img_url,alt:""}})]),o("span",{staticClass:"couponName"},[e._v(e._s(e.datainfo.name))]),o("div",{staticClass:"couponBtn"},[e.isPresenter?o("div",{staticClass:"donation",on:{click:function(t){return e.presenter(e.datainfo)}}},[e._v("转赠")]):e._e(),e.write_off_coupon&&"32"==e.datainfo.plugin_id?o("div",{staticClass:"cancel",on:{click:function(t){return e.tapShow(e.info.id)}}},[e._v("核销")]):e._e(),e.share_coupon?o("div",{staticClass:"share",on:{click:e.tapShare}},[e._v("我要分享")]):e._e()]),o("div",{staticClass:"moneyBox"},[1==e.datainfo.coupon_method?[o("div",{staticClass:"in_moneyBox"},[o("div",[e._v("满"+e._s(e.datainfo.enough)+"可用")])]),o("div",{staticClass:"botm_moneyBox",style:{top:e.datainfo.deduct.length>=5?"4.5rem":"4rem"}},[o("div",{style:{fontSize:e.datainfo.deduct.length>=5?"1.251rem":"2.251rem"}},[e._v(e._s(e.$i18n.t("money"))+e._s(e.datainfo.deduct))])])]:e._e(),2==e.datainfo.coupon_method?[o("div",{staticClass:"in_moneyBox"},[o("div",[e._v("满"+e._s(e.datainfo.enough)+"折立享")])]),o("span",{staticStyle:{margin:"0 auto","font-size":"2.251rem","margin-top":"1rem",color:"#df0132"}},[e._v(e._s(e.datainfo.discount)+"折")])]:e._e()],2),o("div",{staticClass:"line"}),o("div",{staticClass:"detailText"},[o("span",[e._v("有效期:"+e._s(e.datainfo.time_start)+" — "+e._s(e.datainfo.time_end))]),o("br"),o("span",[e._v("券张数:"+e._s(e.couponNum)+"张")]),o("br"),o("span",[e._v("适用范围:"+e._s(e.datainfo.coupon_type_name))]),o("br"),o("span",[e._v("使用规则:")]),o("br"),o("span",[e._v(e._s(e.rule))]),o("br"),e.content?[o("span",[e._v("使用说明:")]),o("br"),o("span",{domProps:{innerHTML:e._s(e.content)}}),o("br")]:e._e()],2),9!=e.datainfo.use_type&&4!=e.datainfo.use_type&&5!=e.datainfo.use_type||!e.storeCoupon?o("div",{staticClass:"immediate",on:{click:function(t){return e.goBuy(e.datainfo)}}},[e._v("立即使用")]):o("div",[2==e.storeCoupon.condition_type?o("van-tabs",{attrs:{sticky:!0},on:{change:e.initList},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},[o("van-tab",{attrs:{title:"适用商品"}},[o("div",{staticClass:"goodsBox"},e._l(e.goods_list,(function(t,a){return o("div",{key:a,staticClass:"goodsIs",on:{click:function(i){return e.toGoodsStore(t.id)}}},[o("div",{staticClass:"image"},[t.thumb_image?o("img",{attrs:{src:t.thumb_image,alt:""}}):o("img",{attrs:{src:i("253a")}})]),o("div",{staticClass:"bottom"},[o("span",{staticClass:"title"},[e._v(e._s(t.title))]),o("div",{staticClass:"price"},[e._v(e._s(e.$i18n.t("money"))+e._s(t.price))])])])})),0)]),o("van-tab",{attrs:{title:"适用门店"}},[e.storeCoupon.store_list?o("div",{staticClass:"storeIs"},[1==e.storeCoupon.condition_type?o("div",{staticClass:"title"},[e._v(e._s(e.storeCoupon.store_list.total)+"个门店适用:")]):e._e(),1==e.storeCoupon.is_all_store?o("div",{staticClass:"title"},[e._v("全部门店适用:")]):e._e(),e.store_list.length<=0?o("div",{staticClass:"title"},[e._v("暂无门店适用")]):e._e(),e._l(e.store_list,(function(t,i){return o("div",{key:i,staticClass:"list",on:{click:function(i){return e.toStore(t.id)}}},[o("div",{staticClass:"image"},[o("img",{attrs:{src:t.thumb,alt:""}})]),o("div",{staticClass:"detailLis"},[o("div",{staticClass:"storeName"},[e._v(e._s(t.store_name))]),o("div",{staticClass:"address"},[e._v(e._s(t.address))])]),o("div",{staticClass:"location"},[e._v(" "+e._s(t.distance)+e._s(t.unit)+" "),o("i",{staticClass:"iconfont iconfont icon-all_daohang"})])])}))],2):e._e()])],1):e._e(),1==e.storeCoupon.condition_type||e.is_shop?o("div",{staticClass:"storeIs"},[e.is_shop?o("div",{staticClass:"title"},[e._v("适用门店:")]):e._e(),1==e.storeCoupon.condition_type?o("div",{staticClass:"title"},[e._v(e._s(e.storeCoupon.store_list.total)+"个门店适用:")]):e._e(),1==e.storeCoupon.is_all_store?o("div",{staticClass:"title"},[e._v("全部门店适用:")]):e._e(),e.store_list.length<=0?o("div",{staticClass:"title"},[e._v("暂无门店适用")]):e._e(),e._l(e.store_list,(function(t,i){return o("div",{key:i,staticClass:"list",on:{click:function(i){return e.toStore(t.id)}}},[o("div",{staticClass:"image"},[o("img",{attrs:{src:t.thumb,alt:""}})]),o("div",{staticClass:"detailLis"},[o("div",{staticClass:"storeName"},[e._v(e._s(t.store_name))]),o("div",{staticClass:"address"},[e._v(e._s(t.address))])]),o("div",{staticClass:"location"},[e._v(" "+e._s(t.distance)+e._s(t.unit)+" "),o("i",{staticClass:"iconfont iconfont icon-all_daohang"})])])}))],2):e._e(),1!=e.storeCoupon.is_all_store&&1!=e.storeCoupon.is_all_good||2!=e.storeCoupon.condition_type?e._e():o("div",{staticClass:"moreTxt",on:{click:e.tapMoreBtn}},[e._v("查看更多"),o("van-icon",{attrs:{name:"arrow"}})],1)],1)]),o("van-dialog",{attrs:{title:"请输入用户ID","show-cancel-button":""},on:{confirm:e.cancelRecharge,cancel:e.cancelP},model:{value:e.showPresenter,callback:function(t){e.showPresenter=t},expression:"showPresenter"}},[o("div",{staticClass:"yz_coupon_dialog"},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.recharge_search,expression:"recharge_search"}],attrs:{type:"number",placeholder:"请输入赠送的用户ID"},domProps:{value:e.recharge_search},on:{keyup:e.throttleFn,input:function(t){t.target.composing||(e.recharge_search=t.target.value)}}}),o("div",{directives:[{name:"show",rawName:"v-show",value:e.nickname&&e.recharge_search,expression:"nickname && recharge_search"}],staticClass:"other"},["查无此用户"!=e.nickname?[e._v("昵称:")]:e._e(),e._v(" "+e._s(e.nickname)+" ")],2),o("div",{directives:[{name:"show",rawName:"v-show",value:e.multiple_use.is_open||e.config_info.switch&&"查无此用户"!=e.nickname&&e.recharge_search,expression:"multiple_use.is_open || (config_info.switch && nickname != '查无此用户' && recharge_search)"}],staticClass:"recharge-wrapper"},[o("div",{staticClass:"recharge-num-box"},[o("div",[e._v("赠送数量")]),o("div",[e.multiple_use.is_open?o("van-stepper",{attrs:{theme:"round",min:"1",max:e.multiple_use.nums},on:{change:function(t){return e.changeRechargeNum(e.multiple_use.nums)}},model:{value:e.rechargeNum,callback:function(t){e.rechargeNum=t},expression:"rechargeNum"}}):e._e(),e.multiple_use.is_open?e._e():o("van-stepper",{attrs:{theme:"round",min:"1",max:e.couponNum},on:{change:function(t){return e.changeRechargeNum(e.couponNum)}},model:{value:e.rechargeNum,callback:function(t){e.rechargeNum=t},expression:"rechargeNum"}})],1)]),e.multiple_use.is_open?o("div",{staticClass:"nums"},[e._v("拥有数量 "+e._s(e.multiple_use.nums))]):e._e()])])]),o("van-dialog",{attrs:{title:e.config_info.protocol_name,"show-cancel-button":""},on:{confirm:e.presenterPost},model:{value:e.showRechargePay,callback:function(t){e.showRechargePay=t},expression:"showRechargePay"}},[o("div",{staticStyle:{padding:"1rem 0.875rem"},domProps:{innerHTML:e._s(e.config_info.protocol_content)}})]),o("van-popup",{staticClass:"newcomerAward_popup",style:{height:"20rem"},attrs:{round:""},model:{value:e.getSucceed,callback:function(t){e.getSucceed=t},expression:"getSucceed"}},[o("img",{staticStyle:{width:"15.6rem",height:"18rem"},attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/coupons_successbg@2x.png",alt:""}}),o("div",{staticClass:"getsucceed_text"},[o("div",{staticClass:"lines",on:{click:e.goMyCoupon}},[e._v("我的优惠券")]),o("div",{on:{click:e.goConponCenter}},[e._v("领券中心")])])]),o("van-popup",{staticClass:"newcomerAward_popup",style:{height:"26rem"},attrs:{round:""},model:{value:e.verification,callback:function(t){e.verification=t},expression:"verification"}},[o("div",{staticClass:"verification_box",on:{click:e.close_verification}},[o("span",[e._v("优惠券核销")]),o("div",{staticClass:"line"}),o("div",{staticClass:"heimg"},[o("img",{attrs:{src:e.verificationImg,alt:""}})]),o("p",[e._v("出示二维码 核销优惠券")]),o("div",{staticClass:"cancelBox"},[o("i",{staticClass:"iconfont icon-adsystem_icon_cancle"})])])]),o("van-popup",{staticClass:"newcomerAward_popup",style:{height:"6.906rem"},attrs:{round:""},model:{value:e.showSelect,callback:function(t){e.showSelect=t},expression:"showSelect"}},[o("div",{staticClass:"shareMum"},[o("div",{staticClass:"mumTop"},[e._v("分享张数:"),o("van-stepper",{attrs:{theme:"round","button-size":"22"},on:{change:e.shareMunTap},model:{value:e.shareNum,callback:function(t){e.shareNum=t},expression:"shareNum"}})],1),o("div",{staticClass:"mumBottom"},[o("div",{staticClass:"lines",on:{click:e.shareConfirm}},[e._v("分享")]),o("div",{on:{click:e.closeShare}},[e._v("取消")])])])])],1)},a=[],s=(i("e17f"),i("2241")),n=(i("e7e5"),i("d399")),r=(i("99af"),i("e9c4"),i("6968")),c=i("ac0d"),l={mixins:[c["a"]],data:function(){return{info:"",couponId:"",infoItem:"",combine_show:"",share_coupon:"",write_off_coupon:"",coupon_method:"",showPresenter:!1,presenter_data:{},recharge_search:"",timeoutId:null,nickname:null,verification:!1,showSelect:!1,shareNum:null,datas:"",img_url:"",rule:"",timeSet:null,isPresenter:!1,datainfo:"",rechargeNum:1,config_info:{},showRechargePay:!1,multiple_use:{is_open:!1,nums:0},content:"",storeCoupon:null,active:0,store_page:1,store_isLoadMore:!0,store_total_page:0,store_list:[],isLoadMore:!0,goods_page:1,total_page:0,goods_list:[],point:{lng:"",lat:""},couponNum:"",combine:!1,is_shop:!1}},methods:{tapMoreBtn:function(){0==this.active?this.$router.push(this.fun.getUrl("home",{})):1==this.active&&this.$router.push(this.fun.getUrl("o2oHome",{}))},getMoreData:function(){var e=this;if(this.storeCoupon&&(2!=this.storeCoupon.condition_type||1!=this.storeCoupon.is_all_good&&1!=this.storeCoupon.is_all_good)){var t={coupon_id:this.datainfo.id,longitude:this.point.lng?this.point.lng:"",latitude:this.point.lat?this.point.lat:"",store_page:this.store_page,goods_page:this.goods_page};if(this.isLoadMore=!1,this.store_isLoadMore=!1,1==this.active){if(this.store_page>=this.store_total_page)return;this.store_page=this.store_page+1,t.store_page=this.store_page}else{if(this.goods_page>=this.total_page)return;this.goods_page=this.goods_page+1,t.goods_page=this.goods_page}$http.post("coupon.member-coupon.get-store-and-goods",t,"加载中").then((function(t){var i=[];0==e.active?(i=t.data.goods_list.data,e.isLoadMore=!0,e.goods_list=e.goods_list.concat(i)):(i=t.data.store_list.data,e.store_isLoadMore=!0,e.store_list=e.store_list.concat(i))}),(function(e){}))}},initList:function(){this.storeCoupon.store_list.data=[],this.isLoadMore=!0,this.goods_page=1,this.total_page=0,this.storeCoupon.goods_list.data=[],this.store_isLoadMore=!0,this.store_page=1,this.store_total_page=0,this.getCouponSetting()},getCouponSetting:function(){var e=this,t={coupon_id:this.datainfo.id,store_page:this.store_page,goods_page:this.goods_page,longitude:this.point.lng?this.point.lng:"",latitude:this.point.lat?this.point.lat:""};$http.get("coupon.member-coupon.get-store-and-goods",t,"").then((function(t){1===t.result?(e.storeCoupon=t.data,e.store_list=0==t.data.is_all_store?t.data.store_list.data:t.data.store_list,e.goods_list=0==t.data.is_all_good?t.data.goods_list.data:t.data.goods_list,e.is_shop=t.data.is_shop,t.data.is_shop||(1==t.data.condition_type?(e.isLoadMore=!0,e.goods_page=1,e.total_page=t.data.store_list.last_page,e.store_list=t.data.store_list.data):(e.isLoadMore=!0,e.goods_page=1,e.total_page=t.data.goods_list.last_page,e.store_isLoadMore=!0,e.store_page=1,e.store_total_page=t.data.store_list.last_page))):Object(n["a"])(t.msg)})).catch((function(e){}))},goConponCenter:function(){this.$router.push(this.fun.getUrl("couponStore",{info:this.info}))},goMyCoupon:function(){this.$router.push(this.fun.getUrl("coupon",{}))},shareConfirm:function(){if(this.shareNum>this.multiple_use.nums)Object(n["a"])("分享张数不足,最多".concat(this.multiple_use.nums,"张"));else{this.couponNum=this.shareNum;var e={couponNum:this.couponNum,info:this.datainfo,combine:this.combine};this.$router.push(this.fun.getUrl("CouponShareShow",{id:this.couponId,info:e}))}},changeRechargeNum:function(e){this.rechargeNum>e&&Object(n["a"])("分享张数不足,当前可转赠数量为".concat(e,"张"))},closeShare:function(){this.showSelect=!1},tapShare:function(){this.showSelect=!0},close_verification:function(){this.verification=!1},checkCoupon:function(e){var t=this;$http.post("plugin.write-off-coupons.Frontend.controllers.code.get-status",{record_id:e},"正在获取").then((function(e){1==e.result?e.data.status&&(clearTimeout(t.timeSet),t.verification=!1,s["a"].alert({title:"",message:"核销成功"}).then((function(){location.reload()}))):t.$dialog.alert({message:e.msg})}),(function(e){}))},tapShow:function(){var e=this,t=this;$http.get("plugin.write-off-coupons.Frontend.controllers.code.index",{record_id:this.couponId},"正在获取").then((function(i){if(1==i.result){if(t.verification=!0,t.verificationImg=i.data,null==t.timeSet){var o=t;t.timeSet=setInterval((function(){t.checkCoupon(o.info.id)}),3e3)}}else e.$dialog.alert({message:i.msg})}),(function(e){}))},presenter:function(e){this.showPresenter=!0,this.presenter_data.item=e},cancelP:function(){this.showPresenter=!1,this.recharge_search=null,this.nickname=null},cancelRecharge:function(){var e=this;if(this.config_info.switch){if(e.fun.isTextEmpty(this.recharge_search))return void Object(n["a"])("用户ID不能为空");if("查无此用户"==this.nickname)return Object(n["a"])("查询不到该用户ID请确认无误"),e.recharge_search=null,void(e.nickname=null);this.showRechargePay=!0}else this.presenterPost()},presenterPost:function(){var e=this;if(e.fun.isTextEmpty(this.recharge_search))Object(n["a"])("用户ID不能为空");else{if("查无此用户"==this.nickname)return Object(n["a"])("查询不到该用户ID请确认无误"),e.recharge_search=null,void(e.nickname=null);var t={recipient:this.recharge_search,record_id:this.$route.params.id};this.config_info.switch?(t.quantity=e.rechargeNum,t.coupon_id=e.couponId):t.transfer_num=e.rechargeNum,this.multiple_use.is_open&&(t.transfer_num=e.rechargeNum),$http.get("coupon.coupon-transfer.index",t,"处理中...").then((function(t){if(e.showPresenter=!1,e.recharge_search=null,e.nickname=null,1==t.result){if(e.multiple_use.is_open);else if(e.config_info.switch)return void e.$router.push(e.fun.getUrl("orderpay",{status:2,order_ids:t.data.order_ids}));e.combine?(e.couponNum=e.couponNum-1,e.$router.back(-1)):e.$router.back(-1),Object(n["a"])(t.msg)}else Object(n["a"])(t.msg)}),(function(e){}))}},throttleFn:function(e){this.timeoutId&&clearTimeout(this.timeoutId);var t=this;this.timeoutId=setTimeout((function(){t.searchTransfer(e)}),300)},searchTransfer:function(e){var t=this;this.nickname=null;var i=e.target.value;i?$http.get("member.member.memberInfo",{uid:i},".").then((function(e){1===e.result?t.nickname=e.data?e.data.nickname:"查无此用户":(t.nickname=null,Object(n["a"])(e.msg))})).catch((function(e){})):(this.showSearch=!1,this.search_list=[])},getdetail:function(){var e=this;$http.get("coupon.member-coupon.get-detail",{record_id:this.couponId},"").then((function(t){1===t.result?(e.rule=t.data.rule,e.img_url=t.data.img_url,e.datainfo=t.data.coupon,e.isPresenter=t.data.transfer,e.share_coupon=t.data.share_coupon,e.write_off_coupon=t.data.write_off_coupon,t.data.multiple_use&&(e.multiple_use=t.data.multiple_use,e.couponNum=e.multiple_use.nums),t.data.coupon_fee_plugin?(e.config_info=t.data.coupon_fee_plugin,e.config_info.switch=parseInt(e.config_info.switch)):e.config_info.switch=0,t.data.coupon&&(e.content=t.data.coupon.content,9!=t.data.coupon.use_type&&4!=t.data.coupon.use_type&&5!=t.data.coupon.use_type||e.getCouponSetting())):Object(n["a"])(t.msg)})).catch((function(e){}))},initShare:function(){var e=this,t={url:"android"===this.fun.isIosOrAndroid()?window.location.href:window.initUrl};$http.post("member.member.wxJsSdkConfig",t).then((function(t){1===t.result&&(e.wxJsSdkConfig=t.data,e.wxJsSdkConfig&&e.wxJsSdkConfig.config&&e.share(e.wxJsSdkConfig))}),(function(e){}))},share:function(e){var t=this;wx.config(e.config),wx.ready((function(){var i="".concat(e.info.nickname,"向您分享优惠券"),o=t.fun.getSiteRoot()+"/addons/yun_shop/?menu#/coupon/coupon_index?i="+t.fun.getKeyByI();o=t.fun.isMid(o,e.info.uid);var a=e.share.icon,s=e.share.desc;wx.showOptionMenu(),wx.onMenuShareTimeline({title:i,link:o,imgUrl:a,success:function(){Object(n["a"])("分享成功")},cancel:function(){Object(n["a"])("取消分享")}}),wx.onMenuShareAppMessage({title:i,desc:s,link:o,imgUrl:a,type:"link",dataUrl:"",success:function(){Object(n["a"])("分享成功")},cancel:function(){Object(n["a"])("取消分享")}})}))},goBuy:function(e){0==e.use_type?this.goHome():1==e.use_type?32==e.plugin_id?this.$router.push(this.fun.getUrl("StoreSearch",{store_id:e.storeids,fromHome:3},{cid:e.category_ids})):this.$router.push(this.fun.getUrl("catelist",{id:JSON.stringify(e.category_ids),fromHome:1})):2==e.use_type||8==e.use_type?32==e.plugin_id?this.$router.push(this.fun.getUrl("StoreSearch",{store_id:e.storeids,fromHome:2},{gid:e.goods_ids})):this.$router.push(this.fun.getUrl("search",{coupon:e.id,fromHome:1})):4===e.use_type&&Array.isArray(e.storeids)?this.$router.push(this.fun.getUrl("o2oHome")):5===e.use_type&&"number"===typeof e.storeids?this.$router.push(this.fun.getUrl("o2oStore_v2",{store_id:e.storeids,fromHome:1})):7===e.use_type&&Array.isArray(e.hotel_ids)?this.$router.push(this.fun.getUrl("HotelIndex")):6===e.use_type&&"number"===typeof e.hotel_ids?this.$router.push(this.fun.getUrl("HotelHome",{id:e.hotel_ids,fromHome:1})):this.goHome()},goHome:function(){this.$router.push(this.fun.getUrl("home"))},init:function(){this.showSelect=!1,this.showPresenter=!1,this.verification=!1,this.shareNum=1},toGoodsStore:function(e){this.$router.push(this.fun.getUrl("goods",{id:e}))},toStore:function(e){this.$router.push(this.fun.getUrl("o2oStore_v2",{store_id:e,fromHome:1}))}},deactivated:function(){clearTimeout(this.timeSet)},activated:function(){var e=this;this.combine_show=this.$route.params.combine_show,0==this.combine_show&&(this.couponNum=1),this.$route.params.combine&&(this.combine=this.$route.params.combine),window.scrollTo(0,0),this.couponId=this.$route.params.id,this.init(),this.getdetail(),this.fun.wxShare("",{},{title:"向您分享优惠券",link:this.fun.getSiteRoot()+"/addons/yun_shop/?menu#/coupon/coupon_index?i="+this.fun.getKeyByI()}),this.fun.getLocation().then((function(t){e.point=t.point})).catch((function(e){}))},mounted:function(){var e=this;this.fun.getLocation().then((function(t){e.point=t.point})).catch((function(e){}))},components:{cTitle:r["a"]}},d=l,u=d,m=(i("af2d"),i("2877")),h=Object(m["a"])(u,o,a,!1,null,"128c2ab1",null);t["default"]=h.exports},ac0d:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var o=document.documentElement,a=document.body,s={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var e=0;return o&&o.scrollTop?e=o.scrollTop:a&&(e=a.scrollTop),e},getClientHeight:function(){var e=0;return e=a.clientHeight&&o.clientHeight?Math.min(a.clientHeight,o.clientHeight):Math.max(a.clientHeight,o.clientHeight),e},getScrollHeight:function(){return Math.max(a.scrollHeight,o.scrollHeight)},handleScroll:function(){this.otherScroll();var e=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=e>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},af2d:function(e,t,i){"use strict";i("3fe0")},fd16:function(e,t,i){var o=i("24fb");t=o(!1),t.push([e.i,".getsucceed_text[data-v-128c2ab1]{position:absolute;bottom:3rem;left:0;width:100%;color:#000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.getsucceed_text .lines[data-v-128c2ab1]{border-right:1px solid #000}.getsucceed_text div[data-v-128c2ab1]{font-size:12px;padding-left:.5rem;padding-right:.5rem}.shareMum[data-v-128c2ab1]{width:16.25rem;height:6.906rem;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.shareMum .mumTop[data-v-128c2ab1]{-ms-flex-align:center;-ms-flex-pack:center;height:4.219rem}.shareMum .mumBottom[data-v-128c2ab1],.shareMum .mumTop[data-v-128c2ab1]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.shareMum .mumBottom[data-v-128c2ab1]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;background-color:#fc6d6d;-ms-flex-align:center;-ms-flex-pack:center}.shareMum .mumBottom .lines[data-v-128c2ab1]{border-right:1px solid #fff}.shareMum .mumBottom div[data-v-128c2ab1]{color:#fff;font-size:.976rem;padding-left:1.9rem;padding-right:1.9rem;-webkit-box-sizing:border-box;box-sizing:border-box}#coupon_v2_detail[data-v-128c2ab1]{min-height:100vh;background-color:#fc7d7d;overflow:hidden}.centen_box[data-v-128c2ab1]{margin:5.844rem .781rem 1.438rem .813rem;background-color:#fff;border-radius:.434rem;min-height:33.625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.moreTxt[data-v-128c2ab1]{width:100%;color:#fff;padding-top:2rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.goodsBox[data-v-128c2ab1],.moreTxt[data-v-128c2ab1]{background-color:#fc7e81;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.goodsBox[data-v-128c2ab1]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.goodsBox .goodsIs[data-v-128c2ab1]:nth-child(2n){margin-left:.63rem}.goodsBox .goodsIs[data-v-128c2ab1]{background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:10.47rem;overflow:hidden;margin-top:.63rem;border-radius:.31rem}.goodsBox .goodsIs .image[data-v-128c2ab1]{width:100%;height:10.47rem;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.goodsBox .goodsIs .image img[data-v-128c2ab1]{width:100%;height:100%;border-radius:.31rem .31rem 0 0}.goodsBox .goodsIs .bottom[data-v-128c2ab1]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:.56rem .25rem .59rem .53rem}.goodsBox .goodsIs .bottom .title[data-v-128c2ab1]{font-weight:700;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.goodsBox .goodsIs .bottom .price[data-v-128c2ab1]{margin-top:.6rem;color:#f42f2f;text-align:left}.storeIs[data-v-128c2ab1]{border-radius:.434rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;background-color:#fff;margin:0 1.313rem 0 1.281rem}.storeIs .title[data-v-128c2ab1]{font-weight:700;text-align:left}.storeIs .list[data-v-128c2ab1]{padding:1rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%}.storeIs .list .image[data-v-128c2ab1]{width:3rem;height:3rem;border-radius:50%;background-color:red;margin-right:.7rem}.storeIs .list .image img[data-v-128c2ab1]{width:100%;height:100%;border-radius:100%}.storeIs .list .detailLis[data-v-128c2ab1]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:3.3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;text-align:left;margin-right:1rem}.storeIs .list .detailLis .storeName[data-v-128c2ab1]{font-size:16px;font-weight:700}.storeIs .list .detailLis .address[data-v-128c2ab1]{color:#999;font-size:12px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.storeIs .list .location[data-v-128c2ab1]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:12px}.storeIs .list .location .iconfont[data-v-128c2ab1]{font-size:26px;color:#ff2c29}.imgBox[data-v-128c2ab1]{width:5.406rem;height:5.406rem;border-radius:50%;background-color:#0ff;margin:0 auto;margin-top:-2.21rem}.imgBox img[data-v-128c2ab1]{width:100%;height:100%;border-radius:50%}.couponName[data-v-128c2ab1]{font-size:1.193rem;margin-top:.688rem}.couponBtn[data-v-128c2ab1]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-top:1.18rem}.couponBtn .share[data-v-128c2ab1]{padding:0 .5rem;color:#fff;line-height:1.563rem;background:#f82d2b;border-radius:.651rem}.couponBtn .cancel[data-v-128c2ab1],.couponBtn .share[data-v-128c2ab1]{height:1.563rem;font-size:.968rem;margin-left:1.094rem}.couponBtn .cancel[data-v-128c2ab1]{width:3.313rem;border-radius:.651rem;border:.065rem solid #2878e4;color:#2878e4}.couponBtn .donation[data-v-128c2ab1]{width:4.8rem;height:1.563rem;line-height:1.563rem;border-radius:.651rem;color:#fff;font-size:.968rem;background:#29ba9c}.moneyBox[data-v-128c2ab1]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0 2.25rem 0 1.75rem;height:9.313rem;background-image:url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/coupons_receivebg@2x.png);background-size:cover;background-repeat:no-repeat;margin-top:.625rem;position:relative;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.moneyBox .in_moneyBox[data-v-128c2ab1]{position:absolute;top:1.4rem;width:12.563rem;left:2.938rem;margin:0 auto}.moneyBox .in_moneyBox div[data-v-128c2ab1]{height:100%;margin:0 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}.moneyBox .botm_moneyBox[data-v-128c2ab1]{position:absolute;top:4rem;width:12.563rem;left:2.938rem;margin:0 auto}.moneyBox .botm_moneyBox div[data-v-128c2ab1]{height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#df0132;margin:0 auto;font-size:2.251rem}.line[data-v-128c2ab1]{width:19.25rem;border:.065rem dashed #fc7c7c;margin:0 auto;margin-top:1.094rem;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none}.detailText[data-v-128c2ab1]{text-align:left;margin:0 1.313rem 0 1.281rem;padding:1.344rem 0}.detailText span[data-v-128c2ab1]{line-height:1.9rem}.immediate[data-v-128c2ab1]{width:9.094rem;height:4.25rem;background-color:#f82d2b;border-radius:.65rem;font-size:1.193rem;color:#fff;text-align:center;line-height:4.25rem;margin:0 auto;margin-bottom:1.281rem}.yz_coupon_dialog p[data-v-128c2ab1]{color:#999}.yz_coupon_dialog input[data-v-128c2ab1]{width:90%;margin:.875rem 0;height:2rem;line-height:2rem;padding:0 .25rem;border-radius:4px;font-size:.875rem;border:1px solid #999}.yz_coupon_dialog .other[data-v-128c2ab1]{width:90%;margin:0 auto .875rem;text-align:left}.yz_coupon_dialog .recharge-wrapper[data-v-128c2ab1]{padding:0 .875rem .875rem;font-size:.875rem}.yz_coupon_dialog .recharge-wrapper .recharge-num-box[data-v-128c2ab1]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.yz_coupon_dialog .recharge-wrapper .nums[data-v-128c2ab1]{text-align:left;color:#f15151}.newcomerAward_popup[data-v-128c2ab1]{background-color:transparent!important}.verification_box[data-v-128c2ab1]{width:15.6rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background:#fff;border-radius:.65rem;position:relative}.verification_box .heimg[data-v-128c2ab1]{width:10.94rem;height:10.97rem}.verification_box .heimg img[data-v-128c2ab1]{display:block;width:100%;height:100%}.verification_box span[data-v-128c2ab1]{margin:1.53rem 0 1.13rem 0}.verification_box .line[data-v-128c2ab1]{width:12.41rem;height:.03rem;background-color:#757575;border:.04rem solid #605e5e;opacity:.65}.verification_box p[data-v-128c2ab1]{margin:.88rem 0 1.34rem 0;font-size:.81rem;color:#6d6b6b}",""]),e.exports=t}}]);