canyin-project/ybcy/views/mobile/static/js/yb_wm-shop-out-goods-dl.7cec301f.js
2024-11-01 16:07:54 +08:00

1 line
55 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["yb_wm-shop-out-goods-dl"],{"040a":function(t,e,a){"use strict";a.r(e);var i=a("1c12"),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},"0634":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".sqtel[data-v-7c3acec6]{padding:%?70?% %?40?%}.ptimg[data-v-7c3acec6]{width:%?136?%;height:%?136?%}.telbtn[data-v-7c3acec6]{line-height:2.8;margin-top:%?70?%}",""]),t.exports=e},"0d54":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return[3==t.type?a("v-uni-button",{class:["sqbtn",t.cname],style:[{width:t.w+"rpx",height:t.h+"rpx",lineHeight:t.h+"rpx"},t.sname],attrs:{"hover-class":"be"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.share.apply(void 0,arguments)}}},[t._v(t._s(t.t))]):t._e(),4==t.type?a("v-uni-view",[a("mg-modal",{attrs:{ismr:!0,width:"600rpx","z-index":3e3},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[a("v-uni-view",{staticClass:"bf bs30 sqtel t-c"},[a("v-uni-view",{staticClass:"ptimg bsf ma"},[a("mg-img",{attrs:{src:t.system.icon}})],1),a("v-uni-view",{staticClass:"f36 mt30 mb20 l-h1"},[t._v(t._s(t.system.name))]),a("v-uni-view",[t._v("绑定手机号后,将会获得更多权益哦!")])],1)],1)],1):t._e()]},n=[]},1194:function(t,e,a){"use strict";a.r(e);var i=a("8713"),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},"15bc":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".mjts[data-v-7ebebaef]{padding:%?15?% %?30?%;font-size:%?24?%;text-align:center;background:#fff4ee;opacity:.9;-webkit-border-radius:%?35?% %?35?% 0 0;border-radius:%?35?% %?35?% 0 0}.closec[data-v-7ebebaef]{width:100%;height:%?130?%;bottom:%?115?%;background:rgba(0,0,0,.65);z-index:2000}.cartopmj[data-v-7ebebaef]{position:absolute;width:100%;left:0;bottom:100%}.carc1[data-v-7ebebaef]{width:100%;bottom:%?115?%;z-index:2000}.carc1 .car[data-v-7ebebaef]{height:%?110?%;background:#f0f0f0}.carc1 .car .carb-img[data-v-7ebebaef]{padding:0 %?30?%}.carc1 .car .carb-img .dot[data-v-7ebebaef]{min-width:%?40?%;height:%?40?%;color:#fff;top:%?-15?%;right:%?20?%}.carc1 .car .carb-i[data-v-7ebebaef]{width:%?110?%;height:%?110?%;margin-bottom:%?26?%}.carc1 .car .carf[data-v-7ebebaef]{width:%?220?%;height:100%}.carc2[data-v-7ebebaef]{width:100%;padding:0 4%;height:%?130?%;bottom:%?115?%;background:hsla(0,0%,100%,0);z-index:2000}.carc2 .cartopmj2[data-v-7ebebaef]{position:absolute;width:92%;height:%?100?%;-webkit-border-radius:%?10?%;border-radius:%?10?%;left:4%;top:%?-60?%}.carc2 .carleft[data-v-7ebebaef]{margin-right:4%}.carc2 .carleft .fabv[data-v-7ebebaef]{width:%?105?%;height:%?105?%}.carc2 .carleft .fabi[data-v-7ebebaef]{background:#000;-webkit-border-radius:50%;border-radius:50%;-webkit-transition:-webkit-transform .15s cubic-bezier(.4,0,1,1);transition:-webkit-transform .15s cubic-bezier(.4,0,1,1);transition:transform .15s cubic-bezier(.4,0,1,1);transition:transform .15s cubic-bezier(.4,0,1,1),-webkit-transform .15s cubic-bezier(.4,0,1,1)}.carc2 .carleft .fabis[data-v-7ebebaef]{-webkit-transform:scale(1) rotate(135deg);transform:scale(1) rotate(135deg)}.carc2 .carleft .fabc[data-v-7ebebaef]{-webkit-border-radius:%?105?%;border-radius:%?105?%;padding-top:%?30?%;padding-bottom:%?105?%;-webkit-transition:all .3s;transition:all .3s;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;opacity:0;visibility:hidden}.carc2 .carleft .fabcs[data-v-7ebebaef]{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);visibility:visible}.carc2 .car[data-v-7ebebaef]{height:%?105?%;-webkit-border-radius:%?60?%;border-radius:%?60?%;-webkit-box-shadow:0 %?5?% %?5?% %?1?% #dcdcdc;box-shadow:0 %?5?% %?5?% %?1?% #dcdcdc}.carc2 .car .carh[data-v-7ebebaef]{padding:0 %?20?% 0 %?40?%;height:%?70?%}.carc2 .car .carb[data-v-7ebebaef]{-webkit-border-radius:%?105?% 0 0 %?105?%;border-radius:%?105?% 0 0 %?105?%}.carc2 .car .carb-img[data-v-7ebebaef]{width:%?105?%;background:#000;-webkit-border-radius:%?105?%;border-radius:%?105?%}.carc2 .car .carb-img .dot[data-v-7ebebaef]{width:%?40?%;height:%?40?%;-webkit-border-radius:50%;border-radius:50%;border:1px solid #fff;color:#fff;right:0;top:%?-10?%}.carc2 .car .carf[data-v-7ebebaef]{-webkit-border-radius:0 %?60?% %?60?% 0;border-radius:0 %?60?% %?60?% 0;width:%?190?%;height:100%}.carlistc[data-v-7ebebaef]{padding-bottom:%?235?%}.carlistc .carbody[data-v-7ebebaef]{max-height:%?600?%}.carimg[data-v-7ebebaef]{width:%?80?%;height:%?110?%;margin-bottom:%?45?%}",""]),t.exports=e},1955:function(t,e,a){"use strict";var i=a("a6ff"),s=a.n(i);s.a},"1b0e":function(t,e,a){"use strict";a.r(e);var i=a("7b2b"),s=a("040a");for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("1955");var o,r=a("f0c5"),c=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"7ebebaef",null,!1,i["a"],o);e["default"]=c.exports},"1c12":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("4de4"),a("7db0"),a("c740"),a("4160"),a("caad"),a("d81d"),a("13d5"),a("26e9"),a("a9e3"),a("b680"),a("2532"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var s=i(a("1da1")),n=i(a("5530")),o=a("2f62"),r=i(a("c7a2")),c=i(a("6b80")),u=i(a("8bb1")),l=i(a("9823")),d=a("4789"),f={name:"goods-car",components:{addGoods:r.default,mgPopup:c.default,sqBtn:l.default},props:{type:{type:String,default:"1"},cName:{type:String,default:""},sname:"",carBtm:{type:[String,Number],default:""},carlistPab:{type:[String,Number],default:""},zIndex:{type:Number,default:999},ingopay:{type:String,default:"1"},buytype:{type:Number,default:2},sjxx:{type:Object,default:function(){return{}}},goodsList:{type:Array,default:function(){return[]}},startmoney:{type:[String,Number],default:""},show:Boolean,outin:{type:String,default:"1"},tableinfo:""},data:function(){return{showCar:!1,ydshow:!0,showSqtel:!1}},watch:{showCar:function(t){this.$emit("update:show",t)},show:function(t){t&&(this.showCar=t)},mjInfo:{handler:function(t){t.discount.length>0&&this.$emit("hasmj",!0)},immediate:!0}},mixins:[d.utilMixins],computed:(0,n.default)((0,n.default)({},(0,o.mapState)({vscarList:function(t){return t.scarList}})),{},{scarList:function(){return 1==this.outin?this.vscarList.out:3==this.outin?this.vscarList.fast:2==this.outin?this.vscarList.ins:void 0},carList:function(){return this.scarList.data||[]},yysj:function(){var t="",e=this.sjxx.moreSet;return 1==e.timeType?t="24小时营业":2==e.timeType&&e.timeArr&&(t="".concat(e.timeArr[0].startTime,"-").concat(e.timeArr[0].ciri?"次日":"").concat(e.timeArr[0].endTime),e.timeArr[1]&&(t+=" "+"".concat(e.timeArr[1].startTime,"-").concat(e.timeArr[1].ciri?"次日":"").concat(e.timeArr[1].endTime)),e.timeArr[2]&&(t+=" "+"".concat(e.timeArr[2].startTime,"-").concat(e.timeArr[2].ciri?"次日":"").concat(e.timeArr[2].endTime))),t},cshow:function(){return 0==this.carList.length&&(this.showCar=!1),2==this.type||3==this.type?this.addgb:(1==this.sjxx.shopData.storeOpen||2==this.sjxx.shopData.storeOpen&&1==this.sjxx.moreSet.status)&&this.carList.length>0},addgb:function(){return 1==this.sjxx.shopData.storeOpen||2==this.sjxx.shopData.storeOpen&&1==this.sjxx.moreSet.status},xxshow:function(){return 1!=this.sjxx.shopData.storeOpen&&this.ydshow},havezq:function(){return this.sjxx.moreSet.distributionSupport&&this.sjxx.moreSet.distributionSupport.find((function(t){return 2==t}))},getTotal:function(){var t=0;return this.carList.forEach((function(e){t+=+e.num})),{total:+this.scarList.oldPrice||0,price:+this.scarList.price,spzj:+(this.scarList.oldPrice-this.scarList.boxMoney).toFixed(2),bzf:+this.scarList.boxMoney||0,num:t,hyzk:this.blxs(this.scarList.vipDiscount)}},carPrice:function(){var t=this.mjInfo.mjMoney;return{reduceMoney:t,nowPrice:this.getTotal.price}},mjInfo:function(){var t=this.getTotal.spzj,e=[],a="",i=this.scarList.reduce,s=-1,n="";return this.sjxx.discount.reduce.type?(e=[].concat(this.sjxx.discount.reduce.moneyArr),a=this.sjxx.discount.reduce.type,e.length&&(1==a?n=Math.floor(t/e[0].fullMoney)<=0?"每满".concat(this.sl+e[0].fullMoney,"减").concat(e[0].money):"已减".concat(this.sl+i):(s=e.findIndex((function(e){return t>=e.fullMoney})),-1==s?n="满".concat(this.sl).concat(e[e.length-1].fullMoney,"减").concat(this.sl).concat(e[e.length-1].money,",还差").concat(this.sl).concat((e[e.length-1].fullMoney-t).toFixed(2)):0==s?n="已减".concat(this.sl+i):s>0&&(n="已减".concat(this.sl+i,",再满").concat(this.sl+e[s-1].fullMoney,"减").concat(this.sl+e[s-1].money))))):i=0,1==this.buytype&&+this.startMoney>this.getTotal.total&&(n="还差".concat(this.sl).concat((+this.startMoney-this.getTotal.total).toFixed(2),"起送")),{mjMoney:i,text:n,discount:[].concat(e).reverse()}},startMoney:function(){return this.startmoney||this.sjxx.shopData.distribution.startMoney},qsText:function(){var t=this.getTotal.total,e=+this.startMoney,a="",i=!1;if(this.type<=2)if(t<=0||!this.carList.length)a=1==this.buytype?this.sl+e+"起送":"去下单";else if(t<e&&1==this.buytype){var s=+(e-t).toFixed(2);a="差".concat(this.sl)+s+"起送"}else a="去结算",i=!0;else 3==this.type&&(i=!0,a=t<=0||!this.carList.length?"查看购物车":"选好了");return{text:a,reach:i}}}),methods:(0,n.default)((0,n.default)((0,n.default)({},(0,o.mapMutations)(["setCarList"])),(0,o.mapActions)(["clearMycar"])),{},{openCar:function(){this.showCar=!0},dec:function(t,e){this.$emit("dec",{addwz:t.addwz,g:e})},add:function(t,e){this.$emit("add",{addwz:t.addwz,g:e})},clearCar:function(){var t=this;return(0,s.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.util.modal("确认清空购物车吗?");case 3:return e.next=5,t.clearMycar({storeId:t.sjxx.shopData.id,item:t.outin,key:1==t.outin?"out":2==t.outin?"ins":"fast"});case 5:t.$emit("celar"),t.showCar=!1,e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})))()},goPay:function(t){var e=this;return(0,s.default)(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e.qsText.reach){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,e.checkLogin();case 4:if(a.sent){a.next=6;break}return a.abrupt("return");case 6:if(1!=e.ingopay){a.next=21;break}if(1!=e.buytype||getApp().globalData.xzdzInfo){a.next=10;break}return e.go({t:1,url:"/yb_wm/my/address/index?from=3&storeId=".concat(e.sjxx.shopData.id)}),a.abrupt("return");case 10:if(!e.havebxp||3==e.type){a.next=14;break}if(i=function(){for(var t=e.goodsList.filter((function(t){return 1==t.isRequire})),a=0,i=e.carList.map((function(t){return t.goodsId})),s=0;s<t.length;s++)t[s].goods.find((function(t){return i.includes(t.id)}))&&(a+=1);if(a<t.length)return{v:e.util.message("请选择必选品",3,1500)}}(),"object"!==typeof i){a.next=14;break}return a.abrupt("return",i.v);case 14:e.util.showLoading(),2!=e.outin&&uni.setStorageSync("carInfo",{carList:e.carList,getTotal:e.getTotal,mjInfo:e.mjInfo,carPrice:e.carPrice,sjxx:{discount:e.sjxx.discount,moreSet:e.sjxx.moreSet,outSet:e.sjxx.moreSet.distributionSupport,shopData:e.sjxx.shopData},buyType:e.buytype}),1==e.outin?e.go({t:t||1,url:"/yb_wm/shop/out/pay-order"}):3==e.outin?e.go({url:"/yb_wm/shop/ffmode/pay-order"}):2==e.outin&&(uni.setStorageSync("carInfo",{sjxx:{discount:e.sjxx.discount,moreSet:e.sjxx.moreSet,outSet:e.sjxx.moreSet.distributionSupport,shopData:e.sjxx.shopData}}),e.go({url:"/yb_wm/shop/in/car?tableInfo="+encodeURIComponent(JSON.stringify(e.tableinfo))})),e.showCar=!1,uni.hideLoading(),a.next=22;break;case 21:e.$emit("gopay");case 22:case"end":return a.stop()}}),a)})))()},itemTotal:function(t){return+(t.money*t.num).toFixed(2)},colorToRGB:function(t){return u.default.colorToRGB(t)}}),created:function(){this.havebxp=this.sjxx.data.findIndex((function(t){return 1==t.isRequire}))>-1}};e.default=f},2241:function(t,e,a){"use strict";a.r(e);var i=a("5bdd"),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},2999:function(t,e,a){var i=a("ad66");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("4f06").default;s("70455db4",i,!0,{sourceMap:!1,shadowMode:!1})},"2a24":function(t,e,a){var i=a("0634");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("4f06").default;s("b66ac482",i,!0,{sourceMap:!1,shadowMode:!1})},3415:function(t,e,a){"use strict";a.r(e);var i=a("d94b"),s=a("d59d");for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("8ce3");var o,r=a("f0c5"),c=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"adda52ac",null,!1,i["a"],o);e["default"]=c.exports},3862:function(t,e,a){"use strict";var i=a("2999"),s=a.n(i);s.a},"4be5":function(t,e,a){"use strict";a.r(e);var i=a("fd2f"),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},"4d0b":function(t,e,a){"use strict";var i=a("ec72"),s=a.n(i);s.a},"539a":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;a("2f62");var s=i(a("ddfd")),n={name:"sq-btn",components:{mgModal:s.default},props:{cname:"",sname:"",w:"",h:"",t:"",type:{type:String,default:"1"},storeid:{type:String,default:""},value:{type:Boolean,default:!1}},data:function(){return{loading:!1}},computed:{ptname:function(){var t="";switch(this.api.platform){case"mini":t="微信";break;case"ali":t="支付宝";break;case"baidu":t="百度";break;case"toutiao":t="字节跳动";break}return t},show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},watch:{},methods:{share:function(){uni.showModal({title:"提示",content:"点击右上角分享",showCancel:!1,confirmText:"我知道了"})},onGetAuthorize:function(t){var e=this;my.getOpenUserInfo({fail:function(t){},success:function(t){var a=JSON.parse(t.response).response;e.refreshUser({storeId:e.storeid,portrait:a.avatar,userName:a.nickName,userId:e.uId}).then((function(t){e.$emit("refresh")}))}})},getAlPhoneNumber:function(){var t=this;my.getPhoneNumber({success:function(e){var a=JSON.parse(e.response);t.util.request({url:t.api.jm,method:"POST",data:{data:a.response}}).then((function(e){console.log("jm res",e),e.data&&(t.show=!1,4==t.type?t.util.message("绑定成功",1,1e3):t.$emit("refresh",e.data),t.refreshUser({nomask:1,get:1,now:1}))})),console.log("getAlPhoneNumber success",a)},fail:function(t){console.log("getAlPhoneNumber fail",t)}})},getUserInfo:function(){var t=this;uni.getUserInfo({success:function(e){t.refreshUser({storeId:t.storeid,portrait:portrait,userName:userName,userId:userId}).then((function(e){t.$emit("refresh")})),console.log("getUserInfo success",e)},fail:function(t){console.log("getUserInfo fail",t),uni.showModal({title:"温馨提示",content:"获取头像等信息失败",showCancel:!1})}})},mpGetUserInfo:function(t){var e=this;if(console.log("mpGetUserInfo",t),"getUserInfo:ok"==t.detail.errMsg){var a=t.detail.userInfo.avatarUrl,i=t.detail.userInfo.nickName,s=this.uId;this.refreshUser({storeId:this.storeid,portrait:a,userName:i,userId:s}).then((function(t){e.$emit("refresh")})),console.log(a,i,s)}else uni.showModal({title:"温馨提示",content:"获取头像等信息失败",showCancel:!1})},mpGetphonenumber:function(t){var e=this;if(this.loading=!0,console.log("mpGetphonenumber",t),"getPhoneNumber:ok"!=t.detail.errMsg)return this.loading=!1,void uni.showModal({title:"温馨提示",content:"授权手机号失败",showCancel:!1});var a=getApp().globalData.session_key,i=t.detail.encryptedData,s=t.detail.iv,n=this.uId;this.util.request({url:this.api.jm,method:"POST",data:{userId:n,sessionKey:a,data:i,iv:s}}).then((function(t){e.loading=!1,t.data&&(e.show=!1,4==e.type?e.util.message("绑定成功",1,1e3):e.$emit("refresh",t.data),e.refreshUser({nomask:1,get:1,now:1})),console.log(t)})).catch((function(){e.loading=!1})),console.log(a,i,s)}}};e.default=n},"5bdd":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("4160"),a("d81d"),a("b680"),a("d3b7"),a("ac1f"),a("3ca3"),a("1276"),a("159b"),a("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i(a("5530"));a("96cf");var n=i(a("1da1")),o=a("2f62"),r=i(a("3415")),c=i(a("1b0e")),u=i(a("b20c")),l=i(a("0205")),d=i(a("0b28")),f=i(a("8bb1")),v=i(a("d2b9")),h=i(a("2d33")),p=i(a("5db8")),m=i(a("629c")),g=a("4789"),b=a("6326"),w={name:"bzf",components:{MgSwiper:r.default,goodsCar:c.default,spec:u.default,goods:l.default,mgRtext:d.default,uniNavBar:v.default,load:h.default,mgShare:p.default,uniQrcode:m.default},data:function(){return{opcity:0,iconOpcity:.5,swiper:{class:"",padding:0,swiper:[],duration:"",mode:"",height:"750",radius:"0",auto:!0,interval:5},isshopGoods:!1,co:null,showGg:!1,outin:"1",goodsInfo:{},showjz:!1,shareshow:!1,shareCo:{}}},onLoad:function(t){var e=this;return(0,n.default)(regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e.util.setNT("商品详情"),t.scene?(i=decodeURIComponent(t.scene).split(","),e.id=i[0],e.querystoreId=i[1]):(e.id=t.gid,e.querystoreId=t.storeId||e.storeInfo.id),e.getSystem(),a.next=5,e.getLoginInfo({inviteId:t.userId});case 5:e.getData(),"shopGoods"==t.page&&(e.isshopGoods=!0,e.lastPage=e.util.getPage().$vm),console.log("%c options ","color: white; background-color: #2274A5",e.isshopGoods,t,e.storeInfo);case 8:case"end":return a.stop()}}),a)})))()},mixins:[g.utilMixins],computed:(0,s.default)((0,s.default)((0,s.default)({},(0,o.mapState)(["sjxx"])),(0,o.mapState)({scarList:function(t){return t.scarList.out.data||[]},storeInfo:function(t){return t.config.storeInfo}})),{},{canUseShopGoods:function(){return this.isshopGoods},getTotal:function(){var t=0;return this.scarList.forEach((function(e){t+=+e.num})),{num:t}}}),methods:(0,s.default)((0,s.default)({},(0,o.mapActions)(["getSjxx","supdCar","getMycar"])),{},{ljyq:function(){this.shareshow=!0},ewmlink:function(){return(0,b.getEwmLink)("yb_wm/index/index?userId=".concat(this.uId))},decn:function(t){1!=this.co.num&&(this.co.num-=1)},addn:function(t){this.co.stock&&this.co.num==this.co.stock||(this.co.num+=1)},add:function(t){this.showjz=!0,this.updList({type:1,e:t})},jrgwc:function(){if(!this.uId)return this.util.message("暂未登录",3);this.showjz=!0,1==this.co.isSpecs||1==this.co.isMaterial||1==this.co.isAttr?(this.showGg=!0,this.goodsInfo=this.co,this.showjz=!1):this.updList({type:1,e:{addwz:1,g:this.co}})},updList:function(t){var e=this;return(0,n.default)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.supdCar("1"==t.e.addwz?t.e.g.ggnum?{storeId:e.co.storeId,type:t.type,goodsId:t.e.g.id,groupId:t.e.g.groupId||"",material:t.e.g.material||[],attribute:t.e.g.attribute||"",num:t.e.g.ggnum}:{storeId:e.co.storeId,type:t.type,goodsId:t.e.g.id,num:t.e.g.num}:{storeId:e.co.storeId,type:t.type,goodsId:t.e.g.goodsId,id:t.e.g.id});case 3:a.sent,e.showjz=!1,a.next=11;break;case 7:a.prev=7,a.t0=a["catch"](0),e.showjz=!1,console.log(a.t0);case 11:case"end":return a.stop()}}),a,null,[[0,7]])})))()},gopay:function(){this.canUseShopGoods?this.go({t:4}):this.go({t:3,url:"/yb_o2o/shop/goods?storeId=".concat(this.co.storeId,"&isgl=1")})},getData:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i,s,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.util.request({url:t.api.spxq,data:{goodsId:t.id,storeId:t.querystoreId}});case 2:if(a=e.sent,a.data.id){e.next=7;break}return t.util.message("此商家暂无此商品",3),f.default.swnb(1e3),e.abrupt("return");case 7:return a.data.num=1,t.co=a.data,t.swiper.swiper=a.data.media&&a.data.media.length?a.data.media.map((function(t){return{url:t}})):[{icon:a.data.icon}],t.canUseShopGoods||t.getMycar({storeId:a.data.storeId}),i=(0,b.getSLink)("yb_wm/index/index?userId=".concat(t.uId)),e.next=14,t.$refs.fxzxewm.make();case 14:return s=e.sent,(0,b.wxShare)({title:t.co.name,desc:t.co.notice,link:i,imgUrl:t.co.icon}),e.prev=16,e.t0=Promise,e.t1=uni.getImageInfo({src:t.co.icon}),e.t2=uni.getImageInfo({src:s}),e.next=22,uni.getImageInfo({src:t.co.storeIcon});case 22:return e.t3=e.sent,e.t4=[e.t1,e.t2,e.t3],e.next=26,e.t0.all.call(e.t0,e.t4);case 26:n=e.sent,t.shareCo={isget:!0,bgimg:n[0][1].path,code:n[1][1].path,logo:n[2][1].path,co:t.co},e.next=33;break;case 30:e.prev=30,e.t5=e["catch"](16),console.log("图片error",e.t5);case 33:case"end":return e.stop()}}),e,null,[[16,30]])})))()},itemBoxMoney:function(t,e){return(t*e).toFixed(1)},gwc:function(){this.go({t:6,url:"/yb_wm/index/goods"}),setTimeout((function(){uni.$emit("qjjtsj",{showgwc:1})}),200)}}),created:function(){return(0,n.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},onShareAppMessage:function(){this.shareshow=!1;var t="yb_wm/shop/out/goods-dl?gid=".concat(this.id,"&storeId=").concat(this.co.storeId,"&userId=").concat(this.uId);return this.util.mpShare({t:this.co.name,i:this.getImgS(this.co.icon),p:t})},onShareTimeline:function(t){return{title:this.co.name,imageUrl:this.getImgS(this.co.icon)}}};e.default=w},"5db8":function(t,e,a){"use strict";a.r(e);var i=a("ae89"),s=a("4be5");for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("7508");var o,r=a("f0c5"),c=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"096b33e2",null,!1,i["a"],o);e["default"]=c.exports},6375:function(t,e,a){var i=a("b588");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("4f06").default;s("2287843d",i,!0,{sourceMap:!1,shadowMode:!1})},"739f":function(t,e,a){"use strict";a.r(e);var i=a("539a"),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},7508:function(t,e,a){"use strict";var i=a("7f48"),s=a.n(i);s.a},"771f":function(t,e,a){"use strict";a.r(e);var i=a("e102"),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},"7b2b":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return 1==t.type||2==t.type?a("v-uni-view",[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.cshow,expression:"cshow"}],staticClass:"posi-f carc1 c9 f22",style:[{bottom:t.carBtm+"rpx"},t.sname]},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.showCar&&t.mjInfo.discount.length,expression:"!showCar&&mjInfo.discount.length"}],staticClass:"mjts cartopmj cf5f"},[t.carList.length||!t.mjInfo.discount.length?a("v-uni-text",[t._v(t._s(t.mjInfo.text))]):t._l(t.mjInfo.discount,(function(e,i){return a("v-uni-text",{key:i},[t._v("满"+t._s(e.fullMoney)+"减"+t._s(e.money)),i<t.mjInfo.discount.length-1?a("v-uni-text",{staticClass:"m01"},[t._v(",")]):t._e()],1)}))],2),a("v-uni-view",{staticClass:"car posi-r f-row"},[a("v-uni-view",{staticClass:"f-g-1 carb f-row",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openCar.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"carb-img posi-r f-c animated",class:{bounceIn:t.carList.length}},[a("v-uni-view",{staticClass:"carb-i bsf bf f-c"},[a("v-uni-text",{staticClass:"iconfont iconshangpin c0 f42"})],1),t.carList.length?a("v-uni-view",{staticClass:"posi-a dot bsf f-c",style:{background:t.tColor}},[t._v(t._s(t.getTotal.num))]):t._e()],1),a("v-uni-view",{staticClass:"f-c-xc"},[a("v-uni-view",[t.carList.length?a("v-uni-text",{staticClass:"f34 c3"},[t._v(t._s(t.sl+t.carPrice.nowPrice))]):a("v-uni-text",{staticClass:"f28"},[t._v("未选购商品")]),t.carPrice.reduceMoney>0?a("v-uni-text",{staticClass:"ml10 t-d-l"},[t._v(t._s(t.sl+t.getTotal.total))]):t._e()],1),a("v-uni-view",{},[1==t.buytype?a("v-uni-text",[t._v("另需配送费"+t._s(t.sl+Number(Number(t.sjxx.shopData.distribution.money).toFixed(2))))]):t._e(),1==t.buytype&&t.havezq?a("v-uni-text",{staticClass:"m01"},[t._v("|")]):t._e(),t.havezq&&1==t.type?a("v-uni-text",[t._v("支持自取")]):t._e()],1)],1)],1),a("v-uni-view",{staticClass:"f-g-0 carf f-c",style:{background:t.qsText.reach?t.tColor:"#999",border:t.qsText.reach?"1rpx solid "+t.tColor:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay()}}},[a("v-uni-view",{staticClass:"f32 cf"},[t._v(t._s(t.qsText.text))])],1)],1)],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.xxshow,expression:"xxshow"}],staticClass:"posi-f closec",style:{bottom:t.carBtm+"rpx"}},[a("v-uni-view",{staticClass:"h100 f34 cf f-c-c"},[a("v-uni-view",{staticClass:"t-c"},[t._v(t._s(3==t.sjxx.shopData.storeOpen?"门店已打烊":1==t.sjxx.moreSet.status?"门店接受预定中":"门店休息中"))]),2==t.sjxx.shopData.storeOpen?a("v-uni-view",{staticClass:"f24",staticStyle:{color:"#ccc"}},[t._v("营业时间:"+t._s(t.yysj))]):t._e()],1),2==t.sjxx.shopData.storeOpen&&1==t.sjxx.moreSet.status?a("v-uni-view",{staticClass:"p-a r0 t0 f-c p-10-15",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.ydshow=!1}}},[a("v-uni-text",{staticClass:" iconfont iconyx cf f36"})],1):t._e()],1),a("mg-popup",{model:{value:t.showCar,callback:function(e){t.showCar=e},expression:"showCar"}},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.mjInfo.discount.length,expression:"mjInfo.discount.length"}],staticClass:"mjts cf5f"},[t.carList.length||!t.mjInfo.discount.length?a("v-uni-text",[t._v(t._s(t.mjInfo.text))]):t._l(t.mjInfo.discount,(function(e,i){return a("v-uni-text",{key:i},[t._v("满"+t._s(e.fullMoney)+"减"+t._s(e.money)),i<t.mjInfo.discount.length-1?a("v-uni-text",{staticClass:"m01"},[t._v(",")]):t._e()],1)}))],2),a("v-uni-view",{staticClass:"carlistc p03 bf",style:{paddingBottom:t.carlistPab+"rpx"}},[a("mg-cell",{attrs:{isl:"1",cname:"p30"}},[a("v-uni-view",{staticClass:"f-y-c",attrs:{slot:"bd"},slot:"bd"},[a("v-uni-text",{staticClass:"f24"},[t._v("已选商品")])],1),a("v-uni-view",{staticClass:"f-y-c f24 c9",attrs:{slot:"ft"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clearCar.apply(void 0,arguments)}},slot:"ft"},[t._v("清空购物车")])],1),a("v-uni-scroll-view",{staticClass:"p0 carbody",attrs:{"scroll-y":!0}},t._l(t.carList,(function(e,i){return a("mg-cell",{key:i,attrs:{w:"136",h:"136",img:e.icon,brs:"5rpx",cname:"p30 la124",last:i==t.carList.length-1}},[a("template",{slot:"bd"},[a("v-uni-view",{staticClass:"t-o-e f30"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"f24 c9 f-raw"},[e.groupName?a("v-uni-text",{},[t._v(t._s(e.groupName))]):t._e(),e.attribute?a("v-uni-text",[t._v("("+t._s(e.attribute)+")")]):t._e(),e.materialName?a("v-uni-text",{staticClass:"ml10"},[t._v("+"+t._s(e.materialName))]):t._e()],1),e.discountNum>0?a("v-uni-view",{staticClass:"f-row mt10",style:{color:t.tColor}},[a("v-uni-view",{staticClass:"f20 bs5 b-d p-3-10",style:{borderColor:t.tColor}},[t._v(t._s(1==e.discountType?"特价":2==e.discountType?"折扣":3==e.discountType?"立减":4==e.discountType?"第二件打折":"买一送一"))])],1):t._e(),a("v-uni-view",{staticClass:"f-x-bt mt10"},[a("v-uni-view",{staticClass:"f-g-0 f30"},[t._v(t._s(t.sl+e.totalMoney)),e.discountNum>0?a("v-uni-text",{staticClass:"t-d-l ml10 c9 f26"},[t._v(t._s(t.sl+t.blxs(e.num*e.money)))]):t._e()],1),a("add-goods",{attrs:{addgb:t.addgb,isprice:0,showspec:!1,addwz:"2",co:e,cname:"f-g-0 mt10"},on:{add:function(a){arguments[0]=a=t.$handleEvent(a),t.add(a,e)},dec:function(a){arguments[0]=a=t.$handleEvent(a),t.dec(a,e)}}})],1)],1)],2)})),1),a("v-uni-view",{staticClass:"f-y-c p30 hlt f30"},[a("v-uni-view",{staticStyle:{width:"156rpx"}},[t._v("包装费")]),a("v-uni-view",[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.getTotal.bzf>=0,expression:"getTotal.bzf>=0"}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.go({t:1,url:"/yb_wm/shop/out/bzf"})}}},[a("v-uni-text",{},[t._v(t._s(t.sl+t.getTotal.bzf))]),a("v-uni-text",{staticClass:"iconfont iconwen f24 m01"})],1),a("v-uni-view",{staticClass:"f20 c9"},[t._v("包装费不参与满减")])],1)],1)],1)],1),a("sq-btn",{attrs:{type:"4"},on:{refresh:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay()}},model:{value:t.showSqtel,callback:function(e){t.showSqtel=e},expression:"showSqtel"}})],1):3==t.type?a("v-uni-view",[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.cshow,expression:"cshow"}],staticClass:"posi-f carc2 cf f22",style:[{bottom:t.carBtm+"rpx"},t.sname]},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.showCar&&t.mjInfo.discount.length,expression:"!showCar&&mjInfo.discount.length"}],staticClass:"mjts cartopmj2 cf5f"},[t.carList.length||!t.mjInfo.discount.length?a("v-uni-text",[t._v(t._s(t.mjInfo.text))]):t._l(t.mjInfo.discount,(function(e,i){return a("v-uni-text",{key:i},[t._v("满"+t._s(e.fullMoney)+"减"+t._s(e.money)),i<t.mjInfo.discount.length-1?a("v-uni-text",{staticClass:"m01"},[t._v(",")]):t._e()],1)}))],2),a("v-uni-view",{staticClass:"car posi-r f-row"},[a("v-uni-view",{staticClass:"f-g-1 carb f-row",staticStyle:{background:"#393939"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openCar.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"carb-img posi-r f-c animated",class:{bounceIn:t.carList.length}},[a("v-uni-text",{staticClass:"iconfont icongwc2 cf f46"}),t.carList.length?a("v-uni-view",{staticClass:"posi-a dot f-c",style:{background:t.tColor}},[t._v(t._s(t.getTotal.num))]):t._e()],1),a("v-uni-view",{staticClass:"f-c-xc ml30"},[a("v-uni-view",[t.carList.length?a("v-uni-text",{staticClass:"wei f34 cf"},[t._v(t._s(t.sl+t.carPrice.nowPrice))]):a("v-uni-text",{staticClass:"f28"},[t._v("未选购商品")]),t.carPrice.reduceMoney>0?a("v-uni-text",{staticClass:"ml10 t-d-l"},[t._v(t._s(t.sl+t.getTotal.total))]):t._e()],1)],1)],1),a("v-uni-view",{staticClass:"f-g-0 carf f-c",style:{background:t.qsText.reach?t.tColor:"#323232",border:t.qsText.reach?"1rpx solid "+t.tColor:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"f28"},[t._v(t._s(t.qsText.text))])],1)],1)],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.xxshow,expression:"xxshow"}],staticClass:"posi-f closec",style:{bottom:t.carBtm+"rpx"}},[a("v-uni-view",{staticClass:"h100 f34 cf f-c-c"},[a("v-uni-view",{staticClass:"t-c"},[t._v(t._s(3==t.sjxx.shopData.storeOpen?"门店已打烊":1==t.sjxx.moreSet.status?"门店接受预定中":"门店休息中"))]),2==t.sjxx.shopData.storeOpen?a("v-uni-view",{staticClass:"f24",staticStyle:{color:"#ccc"}},[t._v("营业时间:"+t._s(t.yysj))]):t._e()],1)],1),a("mg-popup",{model:{value:t.showCar,callback:function(e){t.showCar=e},expression:"showCar"}},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.mjInfo.discount.length,expression:"mjInfo.discount.length"}],staticClass:"mjts cf5f"},[t.carList.length||!t.mjInfo.discount.length?a("v-uni-text",[t._v(t._s(t.mjInfo.text))]):t._l(t.mjInfo.discount,(function(e,i){return a("v-uni-text",{key:i},[t._v("满"+t._s(e.fullMoney)+"减"+t._s(e.money)),i<t.mjInfo.discount.length-1?a("v-uni-text",{staticClass:"m01"},[t._v(",")]):t._e()],1)}))],2),a("v-uni-view",{staticClass:"carlistc p03 bf",style:{paddingBottom:t.carlistPab+"rpx"}},[a("mg-cell",{attrs:{isl:"1",cname:"p30"}},[a("v-uni-view",{staticClass:"f-y-c",attrs:{slot:"bd"},slot:"bd"},[a("v-uni-text",{staticClass:"f24"},[t._v("已选商品")])],1)],1),a("v-uni-scroll-view",{staticClass:"p0 carbody",attrs:{"scroll-y":!0}},t._l(t.carList,(function(e,i){return a("mg-cell",{key:i,attrs:{w:"136",h:"136",img:e.icon,brs:"5rpx",cname:"p30 la124",last:i==t.carList.length-1}},[a("template",{slot:"bd"},[a("v-uni-view",{staticClass:"t-o-e f30"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"f24 c9 f-raw"},[e.groupName?a("v-uni-text",{},[t._v(t._s(e.groupName))]):t._e(),e.attribute?a("v-uni-text",[t._v("("+t._s(e.attribute)+")")]):t._e(),e.materialName?a("v-uni-text",{staticClass:"ml10"},[t._v("+"+t._s(e.materialName))]):t._e()],1),a("v-uni-view",{staticClass:"f-x-bt mt10"},[a("v-uni-view",{staticClass:"f-g-0 f30"},[t._v(t._s(t.sl+t.itemTotal(e)))]),a("add-goods",{attrs:{addgb:t.addgb,isprice:0,showspec:!1,addwz:"2",co:e,cname:"f-g-0 mt10"},on:{add:function(a){arguments[0]=a=t.$handleEvent(a),t.add(a,e)},dec:function(a){arguments[0]=a=t.$handleEvent(a),t.dec(a,e)}}})],1)],1)],2)})),1)],1)],1),a("sq-btn",{attrs:{type:"4"},on:{refresh:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay.apply(void 0,arguments)}},model:{value:t.showSqtel,callback:function(e){t.showSqtel=e},expression:"showSqtel"}})],1):t._e()},n=[]},"7f48":function(t,e,a){var i=a("eb9a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("4f06").default;s("705a9d85",i,!0,{sourceMap:!1,shadowMode:!1})},8352:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("mg-popup",{attrs:{"z-index":3e3},model:{value:t.showGg,callback:function(e){t.showGg=e},expression:"showGg"}},[t.loading?a("v-uni-view",{staticClass:"bs15 bf ggjz"},[a("v-uni-view",{staticClass:"dhtmd"},[a("v-uni-view",{staticClass:"bf6 jzi1"}),a("v-uni-view",{staticClass:"bf6 jzi2 p3"}),a("v-uni-view",{staticClass:"bf6 jzi2 p3"})],1)],1):a("v-uni-view",{staticClass:"ggc bs15 bf posi-r"},[a("v-uni-view",{staticClass:"ggx posi-a r0",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showGg=!1}}},[a("v-uni-text",{staticClass:"iconfont iconyx f56"})],1),a("v-uni-view",{staticClass:"ggtop f-row"},[a("v-uni-view",{staticClass:"ggh mr30 f-g-0 bs20"},[a("mg-img",{attrs:{src:t.goodsInfo.icon}})],1),a("v-uni-view",[a("v-uni-view",{staticClass:"f36 wei"},[t._v(t._s(t.goodsInfo.name))]),a("v-uni-view",{staticClass:"mt15 f24 c7"},[t._v("产品描述")]),a("v-uni-view",{staticClass:"mt15 f24 c9 t-o-e3 w100"},[t._v(t._s(t.goodsInfo.body))])],1)],1),a("v-uni-scroll-view",{staticClass:"ggb p23",attrs:{"scroll-y":!0}},[a("v-uni-view",{staticClass:"m20"},[1==t.goodsInfo.isSpecs&&t.goodsInfo.specsData.length?[a("v-uni-view",{staticClass:"p15 c6"},[t._v("规格")]),a("v-uni-view",{staticClass:"f-raw"},t._l(t.goodsInfo.specsData,(function(e,i){return a("v-uni-view",{key:i,staticClass:"specv t-o-e f26",style:{background:e.a?t.tColor:"",color:e.a?"#fff":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickSpec(i)}}},[t._v(t._s(e.specsName))])})),1)]:t._e(),1==t.goodsInfo.isAttr&&t.goodsInfo.attrData.length?t._l(t.goodsInfo.attrData,(function(e,i){return a("v-uni-view",{key:i},[a("v-uni-view",{staticClass:"p15 c6 f28"},[t._v(t._s(e.attrName))]),a("v-uni-view",{staticClass:"f-raw"},t._l(e.attrStr,(function(e,s){return e.name?a("v-uni-view",{key:s,staticClass:"specv t-o-e f26",style:{background:e.a?t.tColor:"",color:e.a?"#fff":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickAttribute(i,s)}}},[t._v(t._s(e.name))]):t._e()})),1)],1)})):t._e(),1==t.goodsInfo.isMaterial&&t.goodsInfo.meterialData.length?[a("v-uni-view",{staticClass:"p15 c6"},[t._v(t._s(t.systemGood.custom.feedName||"加料"))]),a("v-uni-view",{staticClass:"f-raw"},t._l(t.goodsInfo.meterialData,(function(e,i){return a("v-uni-view",{key:i,staticClass:"specv t-o-e f26",style:{background:e.a?t.tColor:"",color:e.a?"#fff":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickMaterial(i)}}},[t._v(t._s(e.materialName)),a("v-uni-text",{staticClass:"ml10",style:{color:e.a?"#fff":t.tColor}},[t._v(t._s(""+t.sl+e.SalesPrice))])],1)})),1)]:t._e()],2)],1),t.goodsInfo.id?a("v-uni-view",{staticClass:"posi-r ggf bf f-col f-x-ad"},[a("v-uni-view",{staticClass:"f-x-bt"},[a("v-uni-view",{staticClass:"f-g-1"},[a("v-uni-view",{staticClass:"f-raw",style:{color:t.tColor}},[Number(t.xzSpecInfo.vipPrice)<Number(t.xzSpecInfo.SalesPrice)?a("v-uni-view",{staticClass:"f-row mr10"},[a("v-uni-view",{staticClass:"vipr f-y-c",staticStyle:{"font-size":"24rpx"}},[a("v-uni-view",{staticClass:"vipimg"},[a("mg-img",{attrs:{src:t.onImgurl+"vipimg.png"}})],1)],1),a("v-uni-view",{staticClass:"vipl f-y-c",staticStyle:{"font-size":"26rpx"}},[t._v(t._s(t.sl+t.xzSpecInfo.vipPrice))])],1):t._e(),1==t.goodsInfo.isSpecs&&t.goodsInfo.specsData.length?a("v-uni-text",{staticClass:"f34 wei mr20"},[t._v(t._s(t.sl)+t._s(Number(t.xzSpecInfo.SalesPrice))),a("v-uni-text",{staticClass:"f24 nowei c9 ml10"},[t._v("(库存"+t._s((t.outin,t.xzSpecInfo.SalesStock))+")")])],1):t._e(),1==t.goodsInfo.isMaterial&&t.goodsInfo.meterialData.length?a("v-uni-text",{},[t._v(t._s(t.systemGood.custom.feedName||"加料")+"+"+t._s(t.sl+t.xzJlInfo.money))]):t._e()],1),a("v-uni-view",{staticClass:"f22 c9 t-o-e3"},[t._v(t._s(t.xzSpecInfo.id?t.xzSpecInfo.specsName+",":"")+t._s(t.xzSxInfo.arr.length?t.xzSxInfo.arr.map((function(t){return t.name})).toString()+",":"")+t._s(t.xzJlInfo.arr.length?t.xzJlInfo.arr.map((function(t){return t.materialName})).toString():""))])],1),a("v-uni-view",{staticClass:"f-g-0 f-bt ml30"},[t.goodsInfo.ggnum>0?a("v-uni-view",{staticClass:"reducecon active f-y-c"},[a("v-uni-view",{staticClass:"cartc f-c",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.decSpec.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont iconjs f54",style:{color:t.tColor}})],1),a("v-uni-text",{staticClass:"f34 ma c0"},[t._v(t._s(t.goodsInfo.ggnum))])],1):t._e(),a("v-uni-view",{staticClass:"cartc f-c",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.addSpec.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont iconzj f54",style:{color:t.tColor}})],1)],1)],1),a("v-uni-button",{staticClass:"w100 cf ggbtn mt10 f34 f-c",style:{background:t.tColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jrgwc.apply(void 0,arguments)}}},[t._v("加入购物车")])],1):t._e()],1)],1)],1)},n=[]},8713:function(t,e,a){"use strict";var i=a("4ea4");a("7db0"),a("4160"),a("d81d"),a("a9e3"),a("b680"),a("d3b7"),a("25f0"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var s=i(a("1da1")),n=i(a("5530")),o=a("2f62"),r=i(a("6b80")),c=i(a("9d64")),u=i(a("8bb1")),l={name:"popup",components:{mgPopup:r.default,bkB:c.default},props:{co:{type:Object,default:function(){return{}}},cname:{type:String,default:""},value:{type:Boolean,default:!1},width:{type:String,default:"70%"},zindex:{type:Number,default:999},outin:{type:String,default:"1"},storeid:{type:String,default:""},systemGood:{type:Object,default:function(){return{}}}},data:function(){return{loading:!0,goodsInfo:{}}},methods:{clickSpec:function(t){var e=this.goodsInfo.specsData;for(var a in e)e[a].a=a==t?1:0},clickAttribute:function(t,e){var a=this.goodsInfo.attrData;for(var i in a[t].attrStr)a[t].attrStr[i].a=i==e?1:0},clickMaterial:function(t){this.goodsInfo.meterialData;this.$set(this.goodsInfo.meterialData[t],"a",1==this.goodsInfo.meterialData[t].a?0:1)},addSpec:function(){this.xzSpecInfo.SalesStock&&this.goodsInfo.ggnum==this.xzSpecInfo.SalesStock||(this.goodsInfo.ggnum+=1)},decSpec:function(){1!=this.goodsInfo.ggnum&&(this.goodsInfo.ggnum-=1)},jrgwc:u.default.throttle((function(t){var e,a=this,i=Object.assign({},this.xzSpecInfo),s={jlmoney:this.xzJlInfo.money,material:this.xzJlInfo.arr.map((function(t){return{materialId:t.id,num:1}})),jldata:"",jlids:""},n={attribute:""};if(i.groupId=i.id||"",delete i.id,n.attribute=this.xzSxInfo.arr.map((function(t){return t.name})).toString(),s.jldata=this.xzJlInfo.arr.map((function(t){return t.materialName})).toString(),s.jlids=this.xzJlInfo.arr.map((function(t){return t.id})).toString(),e=1!=this.co.isSpecs&&1!=this.co.isMaterial&&1!=this.co.isAttr?this.carList.find((function(t){return t.goodsId==a.co.id})):this.carList.find((function(t){return t.goodsId==a.co.id&&t.groupId==i.groupId&&t.materialIds==s.jlids&&t.attribute==n.attribute})),e){if(this.co.maxNum>0&&Number(e.num)+Number(this.goodsInfo.ggnum)>this.co.maxNum)return this.util.message("此商品限购".concat(this.co.maxNum,"份"),3)}else{if(this.co.minNum>1&&this.co.minNum>this.goodsInfo.ggnum)return this.util.message("此商品".concat(this.co.minNum,"份起购"),3);if(this.co.maxNum>0&&this.goodsInfo.ggnum>this.co.maxNum)return this.util.message("此商品限购".concat(this.co.maxNum,"份"),3)}var o=Object.assign({ggnum:this.goodsInfo.ggnum},this.co,i,n,s);this.$emit("add",{g:o,addwz:1}),this.showGg=!1}),300)},computed:(0,n.default)((0,n.default)({},(0,o.mapState)({carList:function(t){return t.scarList.data||[]}})),{},{showGg:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},xzSpecInfo:function(){return 1==this.goodsInfo.isSpecs&&this.goodsInfo.specsData.length?this.goodsInfo.specsData.find((function(t){return t.a})):{}},xzSxInfo:function(){var t={arr:[]};if(1==this.goodsInfo.isAttr&&this.goodsInfo.attrData.length){var e=this.goodsInfo.attrData,a=[];for(var i in e)for(var s in e[i].attrStr)if(e[i].attrStr[s].a){a.push(e[i].attrStr[s]);break}t.arr=a}return t},xzJlInfo:function(){var t=this,e={money:0,arr:[]};if(1==this.goodsInfo.isMaterial&&this.goodsInfo.meterialData.length){var a=[];this.goodsInfo.meterialData.forEach((function(i){i.a&&(e.money+=(t.outin,+i.SalesPrice),a.push(i))})),e.money=+e.money.toFixed(2),e.arr=a}return e},xzspxx:function(){var t=[];this.xzSpecInfo.id&&t.push(this.xzSpecInfo.specsName),this.xzSxInfo.arr.length&&t.push()}}),watch:{value:function(t){var e=this;return(0,s.default)(regeneratorRuntime.mark((function a(){var i,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!t){a.next=11;break}return e.loading=!0,e.goodsInfo={},a.next=5,e.util.request({url:e.api.ggxq,data:{id:e.co.id,storeId:e.storeid}});case 5:i=a.sent,s=i.data,1==e.co.isSpecs&&s.specsData&&s.specsData.forEach((function(t,e){t.a=0==e?1:0})),1==e.co.isAttr&&s.attrData&&s.attrData.forEach((function(t){t.attrStr.forEach((function(t,e){t.a=0==e?1:0}))})),e.goodsInfo=Object.assign({},e.co,s,{ggnum:1}),e.loading=!1;case 11:case"end":return a.stop()}}),a)})))()}}};e.default=l},"8ce3":function(t,e,a){"use strict";var i=a("db0a"),s=a.n(i);s.a},9557:function(t,e,a){"use strict";var i=a("6375"),s=a.n(i);s.a},9823:function(t,e,a){"use strict";a.r(e);var i=a("0d54"),s=a("739f");for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("988b");var o,r=a("f0c5"),c=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"7c3acec6",null,!1,i["a"],o);e["default"]=c.exports},"988b":function(t,e,a){"use strict";var i=a("2a24"),s=a.n(i);s.a},"9a62":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"pb130 spxq"},[t.co?[a("mg-swiper",{attrs:{co:t.swiper,u:"rpx",color:t.tColor}}),a("goods",{attrs:{type:"3",addtype:"2",outin:t.outin,co:t.co},on:{dec:function(e){arguments[0]=e=t.$handleEvent(e),t.decn.apply(void 0,arguments)},add:function(e){arguments[0]=e=t.$handleEvent(e),t.addn.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"bf mt20 p3"},[a("v-uni-view",{staticClass:"f32 wei"},[t._v("商品详情")]),t.co.details?a("v-uni-view",{staticClass:"mt15"},[a("mg-rtext",{attrs:{type:"2",content:t.co.details}})],1):t._e()],1),a("v-uni-view",{staticClass:"f-y-c p-f w100 b0 gwcc bf",style:{bottom:t.isIpx?"40rpx":0}},[a("v-uni-view",{staticClass:"f-1 f-row f22 c3 l-h1"},[a("v-uni-view",{staticClass:"f-1 f-c-c",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.go({t:6,url:"/yb_wm/index/index"})}}},[a("v-uni-text",{staticClass:"iconfont iconsy f42 c3"}),a("v-uni-text",{staticClass:"mt10"},[t._v("首页")])],1),a("v-uni-view",{staticClass:"f-1 f-c-c",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.ljyq.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont iconfx f46 c3"}),a("v-uni-text",{staticClass:"mt10"},[t._v("分享")])],1),a("v-uni-view",{staticClass:"f-1 f-c-c p-r",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gwc.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icongwc1 f48 c3"}),a("v-uni-text",{staticClass:"mt10"},[t._v("购物车")]),t.scarList.length?a("v-uni-view",{staticClass:"posi-a dot bsf f-c",style:{background:t.tColor}},[t._v(t._s(t.getTotal.num))]):t._e()],1)],1),a("v-uni-button",{staticClass:"jrgwc cf f-c f32",style:{background:t.tColor},attrs:{disabled:t.showjz},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jrgwc.apply(void 0,arguments)}}},[t._v("加入购物车")])],1),t.isIpx?a("v-uni-view",{staticClass:"bgf"}):t._e(),a("spec",{attrs:{outin:t.outin,co:t.goodsInfo,storeid:t.co.storeId,systemGood:t.system},on:{add:function(e){arguments[0]=e=t.$handleEvent(e),t.add.apply(void 0,arguments)}},model:{value:t.showGg,callback:function(e){t.showGg=e},expression:"showGg"}}),a("mg-share",{attrs:{wxs:"1",hbs:!0,ptype:"1",co:t.shareCo},model:{value:t.shareshow,callback:function(e){t.shareshow=e},expression:"shareshow"}}),a("uni-qrcode",{ref:"fxzxewm",staticClass:"hidecanvas",attrs:{cid:"fxzxewm",text:t.ewmlink(),margin:10}})]:t._e(),t.co.id?t._e():a("load"),a("load",{attrs:{type:"2"},model:{value:t.showjz,callback:function(e){t.showjz=e},expression:"showjz"}})],2)},n=[]},a6ff:function(t,e,a){var i=a("15bc");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("4f06").default;s("49ca7b28",i,!0,{sourceMap:!1,shadowMode:!1})},ad66:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".i-modal-mask[data-v-26ec3b67]{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);z-index:1000;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;opacity:0;visibility:hidden}.i-modal-mask-show[data-v-26ec3b67]{opacity:1;visibility:visible}.i-modal[data-v-26ec3b67]{position:fixed;top:50%;left:50%;\n /* width: 85%; */z-index:1000;overflow:hidden;-webkit-transition:all .2s;transition:all .2s;-webkit-transform:translate3d(-50%,-50%,0) scale(.6);transform:translate3d(-50%,-50%,0) scale(.6);opacity:0;visibility:hidden}.i-modal-show[data-v-26ec3b67]{visibility:visible;-webkit-transform:translate3d(-50%,-50%,0) scale(1);transform:translate3d(-50%,-50%,0) scale(1);opacity:1}",""]),t.exports=e},ae89:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("mg-popup",{attrs:{close:"1","z-index":5e3},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[a("v-uni-view",{staticClass:"p0"},[a("v-uni-view",{staticClass:"bf p3 fxc"},[a("v-uni-view",{staticClass:"f-c"},[a("v-uni-view",{staticClass:"hx"}),a("v-uni-view",{staticClass:"m02 f32 wei"},[t._v("分享到")]),a("v-uni-view",{staticClass:"hx"})],1),a("v-uni-view",{staticClass:"sharec f-row"},[t.wxs?a("v-uni-view",{staticClass:"f-1 f-c-c posi-r"},[a("v-uni-view",{staticClass:"fximg bsf f-c"},[a("v-uni-text",{staticClass:"iconfont iconwxfx f60 c6"})],1),a("v-uni-view",{staticClass:"mt20 f24"},[t._v("分享好友")]),a("v-uni-button",{staticClass:"sharebtn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.share.apply(void 0,arguments)}}})],1):t._e()],1)],1)],1)],1)},n=[]},b20c:function(t,e,a){"use strict";a.r(e);var i=a("8352"),s=a("1194");for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("4d0b");var o,r=a("f0c5"),c=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"f36f4768",null,!1,i["a"],o);e["default"]=c.exports},b588:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".spxq .gwcc[data-v-39ee7eb0]{height:%?120?%}.spxq .jrgwc[data-v-39ee7eb0]{width:%?400?%;margin-right:%?20?%;height:%?86?%;-webkit-border-radius:%?90?%;border-radius:%?90?%}.spxq .dot[data-v-39ee7eb0]{min-width:%?40?%;height:%?40?%;color:#fff;top:%?-20?%;right:%?15?%}",""]),t.exports=e},d59d:function(t,e,a){"use strict";a.r(e);var i=a("e764"),s=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=s.a},d7e2:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.vs||t.value,expression:"vs?value:true"}]},[a("v-uni-view",{staticClass:"i-modal-mask",class:{"i-modal-mask-show":t.value},style:{zIndex:t.zIndex},on:{touchmove:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.maskTap.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"i-modal",class:{"i-modal-show":t.value},style:{width:""+t.width,zIndex:t.zIndex},on:{touchmove:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e)}}},[t.ismr?t._t("default"):a("v-uni-view",{staticClass:"f-c-c p23 bf"},[t._t("default")],2)],2)],1)},n=[]},d94b:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.list.length?a("v-uni-view",{class:t.co.class,style:{marginTop:""+(t.co.topMargin||"")+t.u,padding:t.co.class?"":""+(t.co.upDownPadding||"0")+t.u+" "+(t.co.leftRightPadding||"0")+t.u}},[a("v-uni-swiper",{staticClass:"swiper",style:{height:""+("px"==t.u?t.getSjgd(t.co.height):t.co.height)+t.u,borderRadius:""+t.co.radius+t.u},attrs:{duration:t.co.duration,"indicator-dots":t.list.length>1,circular:"true","indicator-color":"#ccc","indicator-active-color":"#fff",autoplay:t.co.auto||!0,interval:1e3*t.co.interval,duration:"500"}},[t._l(t.list,(function(e,i){return[a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"wh bf6 o-h",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goTo(i)}}},[a("mg-img",{attrs:{src:e.icon||e.url}})],1)],1)]}))],2)],1):t._e()},n=[]},db0a:function(t,e,a){var i=a("e256");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("4f06").default;s("69a9acc9",i,!0,{sourceMap:!1,shadowMode:!1})},ddfd:function(t,e,a){"use strict";a.r(e);var i=a("d7e2"),s=a("771f");for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("3862");var o,r=a("f0c5"),c=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"26ec3b67",null,!1,i["a"],o);e["default"]=c.exports},e102:function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"popup",props:{className:{type:String,default:""},vs:{type:Boolean,default:!1},value:{type:Boolean,default:!1},width:{type:String,default:"70%"},ismr:{type:Boolean,default:!1},zIndex:{type:Number,default:999},close:{type:Boolean,default:!0}},data:function(){return{}},computed:{},methods:{maskTap:function(){this.close&&this.$emit("input",!1)}}};e.default=i},e256:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".swiper[data-v-adda52ac]{width:100%;height:%?350?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0)}",""]),t.exports=e},e603:function(t,e,a){"use strict";a.r(e);var i=a("9a62"),s=a("2241");for(var n in s)"default"!==n&&function(t){a.d(e,t,(function(){return s[t]}))}(n);a("9557");var o,r=a("f0c5"),c=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"39ee7eb0",null,!1,i["a"],o);e["default"]=c.exports},e764:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var s=i(a("1da1")),n=(a("2f62"),{name:"swiper",props:{co:{type:Object,default:function(){return{class:"",topMargin:0,leftRightPadding:0,upDownPadding:0,swiper:{children:[]},duration:"",mode:"",height:"",radius:"",auto:!0,interval:5}}},storeInfo:{type:Object,default:function(){return{}}},u:{type:String,default:"px"},color:{type:String,default:""}},data:function(){return{StoreAd:[]}},computed:{list:function(){return 1!=this.co.reverseThree?this.co.swiper||[]:this.StoreAd}},watch:{storeInfo:{handler:function(t){var e=this;return(0,s.default)(regeneratorRuntime.mark((function t(){var a,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.storeInfo.id||1!=e.co.reverseThree){t.next=6;break}return t.next=3,e.util.request({url:e.api.StoreAd,data:{type:1,storeId:e.storeInfo.id}});case 3:a=t.sent,i=a.data,e.StoreAd=i;case 6:case"end":return t.stop()}}),t)})))()},immediate:!0}},methods:{goTo:function(t){var e=this.list[t];if(e.entry)this.goUrl(e.entry,e);else if(e.link)switch(e.link.type){case"webUrl":this.go({t:1,url:"/yb_o2o/other/web-view?src="+encodeURIComponent(JSON.stringify(e.link.url))});break;case"miniUrl":uni.navigateTo({url:e.link.url});break;case"mini":uni.navigateToMiniProgram({appId:e.link.url,path:e.link.xcx_name});break}}},created:function(){return(0,s.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()}});e.default=n},eb9a:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".tcbtm[data-v-096b33e2]{margin-top:%?50?%}.fxc[data-v-096b33e2]{-webkit-border-radius:%?30?% %?30?% 0 0;border-radius:%?30?% %?30?% 0 0}.hx[data-v-096b33e2]{width:%?120?%;height:%?2?%;background:#eaeaea}.sharec[data-v-096b33e2]{margin-top:%?50?%}.fximg[data-v-096b33e2]{width:%?100?%;height:%?100?%;background:#efeeef}.sharebtn[data-v-096b33e2]{position:absolute;width:100%;height:100%;z-index:99;top:0;background:none;left:0}",""]),t.exports=e},ec72:function(t,e,a){var i=a("fcc2");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("4f06").default;s("3d39714a",i,!0,{sourceMap:!1,shadowMode:!1})},fcc2:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".bs15[data-v-f36f4768]{-webkit-border-radius:%?30?% %?30?% 0 0;border-radius:%?30?% %?30?% 0 0}.f54[data-v-f36f4768]{font-size:%?52?%}.ggjz[data-v-f36f4768]{padding:%?50?% %?50?% %?200?%}.jzi1[data-v-f36f4768]{height:%?350?%}.jzi2[data-v-f36f4768]{margin-top:%?50?%}.ggc .ggx[data-v-f36f4768]{padding:%?20?% %?20?% %?40?% %?40?%;opacity:.7}.ggc .ggtop[data-v-f36f4768]{padding:%?40?% %?30?% 0}.ggc .ggh[data-v-f36f4768]{width:%?240?%;height:%?240?%}.ggc .ggb[data-v-f36f4768]{max-height:calc(86vh - %?233?% - %?280?%)}.ggc .ggb .specv[data-v-f36f4768]{min-width:%?185?%;padding:0 %?30?%;height:%?70?%;-webkit-border-radius:%?8?%;border-radius:%?8?%;text-align:center;line-height:%?70?%;background:#f5f5f7;margin:0 %?20?% %?20?% 0}.ggc .ggf[data-v-f36f4768]{-webkit-box-shadow:0 %?-2?% %?9?% %?2?% hsla(0,0%,86.7%,.6);box-shadow:0 %?-2?% %?9?% %?2?% hsla(0,0%,86.7%,.6);padding:%?20?% %?36?%;min-height:%?153?%}.ggc .ggbtn[data-v-f36f4768]{-webkit-border-radius:%?80?%;border-radius:%?80?%;height:%?90?%}@-webkit-keyframes backOpacity-data-v-f36f4768{0%{opacity:.8}50%{opacity:.6}100%{opacity:1}}@keyframes backOpacity-data-v-f36f4768{0%{opacity:.8}50%{opacity:.6}100%{opacity:1}}.dhtmd[data-v-f36f4768]{-webkit-animation:backOpacity-data-v-f36f4768 .7s ease-in-out infinite;animation:backOpacity-data-v-f36f4768 .7s ease-in-out infinite}",""]),t.exports=e},fd2f:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;a("2f62");var s=i(a("6b80")),n=i(a("3415")),o={name:"mg-share",components:{mgPopup:s.default,MgSwiper:n.default},props:{co:{type:Object,default:function(){return{}}},value:{type:Boolean,default:!1},wxs:{type:String,default:"1"},hbs:{type:Boolean,default:!1},link:{type:String,default:""},ptype:String},data:function(){return{}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},watch:{},methods:{share:function(){this.show=!1,uni.showModal({title:"提示",content:"点击右上角分享",showCancel:!1,confirmText:"我知道了"})},fzlj:function(){this.util.fz(this.link||location.href)},hbfx:function(){1==this.ptype&&(this.show=!1,uni.setStorageSync("bdhc",this.co),this.go({url:"/yb_wm/other/hb?type=".concat(this.ptype)})),2==this.ptype&&(this.show=!1,uni.setStorageSync("bdhc",this.co),this.go({url:"/yb_wm/other/hb?type=".concat(this.ptype)})),console.log(this.ptype)}}};e.default=o}}]);