15 lines
224 KiB
JavaScript
15 lines
224 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods_details-goods_details","bundle-pages-bargain_process-bargain_process~bundle-pages-invite_fans-invite_fans"],{"0057":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCouponList=r,e.getCoupon=o,e.getOrderCoupon=s,e.getMyCoupon=c,e.getActivityGoodsLists=u,e.getSeckillTime=l,e.getSeckillGoods=d,e.getGroupList=f,e.getUserGroup=h,e.getTeamInfo=p,e.teamKaiTuan=v,e.teamCheck=g,e.teamBuy=m,e.getBargainList=b,e.getBargainDetail=w,e.getBargainNumber=x,e.launchBargain=y,e.getBargainActivityList=A,e.getBargainActivityDetail=S,e.getBargainPost=k,e.helpBargain=C,e.closeBargainOrder=_,e.getSignLists=I,e.getSignRule=z,e.userSignIn=T,e.getIntegralGoods=B,e.getIntegralGoodsDetail=P,e.integralSettlement=R,e.integralSubmitOrder=j,e.getIntegralOrder=O,e.delIntegralOrder=L,e.getIntegralOrderDetail=M,e.cancelIntegralOrder=D,e.confirmIntegralOrder=F,e.getIntegralOrderTraces=N;var a=n(i("b175"));i("357b");function r(t){return a.default.get("coupon/getCouponList",{params:t})}function o(t){return a.default.post("coupon/getCoupon",{coupon_id:t})}function s(t){return a.default.post("coupon/getBuyCouponList",t)}function c(t){return a.default.get("coupon/myCouponList",{params:t})}function u(t){return a.default.get("activity_area/activityGoodsList",{params:t})}function l(){return a.default.get("seckill_goods/getSeckillTime")}function d(t){return a.default.get("seckill_goods/getSeckillGoods",{params:t})}function f(t){return a.default.get("team/activity",{params:t})}function h(t){return a.default.get("team/record",{params:t})}function p(t){return a.default.get("team/teamInfo",{params:t})}function v(t){return a.default.post("team/kaituan",t)}function g(t){return a.default.post("team/check",t)}function m(t){return a.default.post("team/buy",t)}function b(t){return a.default.get("bargain/lists",{params:t})}function w(t){return a.default.get("bargain/detail",{params:t})}function x(){return a.default.get("bargain/barginNumber")}function y(t){return a.default.post("bargain/sponsor",t)}function A(t){return a.default.get("bargain/orderList",{params:t})}function S(t){return a.default.get("bargain/bargainDetail",{params:t})}function k(t){return a.default.get("share/shareBargain",{params:t})}function C(t){return a.default.post("bargain/knife",t)}function _(t){return a.default.get("bargain/closeBargain",{params:t})}function I(){return a.default.get("sign/lists")}function z(){return a.default.get("sign/rule")}function T(){return a.default.get("sign/sign")}function B(t){return a.default.get("integral_goods/lists",{params:t})}function P(t){return a.default.get("integral_goods/detail",{params:t})}function R(t){return a.default.get("integral_order/settlement",{params:t})}function j(t){return a.default.post("integral_order/submitOrder",t)}function O(t){return a.default.get("integral_order/lists",{params:t})}function L(t){return a.default.post("integral_order/del",{id:t})}function M(t){return a.default.get("integral_order/detail",{params:{id:t}})}function D(t){return a.default.post("integral_order/cancel",{id:t})}function F(t){return a.default.post("integral_order/confirm",{id:t})}function N(t){return a.default.get("integral_order/orderTraces",{params:{id:t}})}},"0200":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */uni-page-body[data-v-d515d834]{\n /* 定义一些主题色及基础样式 */font-family:PingFang SC,Arial,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:%?28?%;color:#333;padding-bottom:env(safe-area-inset-bottom);background-color:#f6f6f6}.bold[data-v-d515d834]{font-weight:700}\n/* 定义字体颜色 */.primary[data-v-d515d834]{color:#ff2c3c}.bg-primary[data-v-d515d834]{background-color:#ff2c3c}.bg-white[data-v-d515d834]{background-color:#fff}.bg-body[data-v-d515d834]{background-color:#f6f6f6}.bg-gray[data-v-d515d834]{background-color:#e5e5e5}.black[data-v-d515d834]{color:#101010}.white[data-v-d515d834]{color:#fff}.normal[data-v-d515d834]{color:#333}.lighter[data-v-d515d834]{color:#666}.muted[data-v-d515d834]{color:#999}\n/* 定义字体大小 */.xxl[data-v-d515d834]{font-size:%?36?%}.xl[data-v-d515d834]{font-size:%?34?%}.lg[data-v-d515d834]{font-size:%?32?%}.md[data-v-d515d834]{font-size:%?30?%}.nr[data-v-d515d834]{font-size:%?28?%}.sm[data-v-d515d834]{font-size:%?26?%}.xs[data-v-d515d834]{font-size:%?24?%}.xxs[data-v-d515d834]{font-size:%?22?%}\n/* 定义常用外边距 */.ml5[data-v-d515d834]{margin-left:%?5?%}.ml10[data-v-d515d834]{margin-left:%?10?%}.ml20[data-v-d515d834]{margin-left:%?20?%}.ml30[data-v-d515d834]{margin-left:%?30?%}.mr5[data-v-d515d834]{margin-right:%?5?%}.mr10[data-v-d515d834]{margin-right:%?10?%}.mr20[data-v-d515d834]{margin-right:%?20?%}.mr30[data-v-d515d834]{margin-right:%?30?%}.mt5[data-v-d515d834]{margin-top:%?5?%}.mt10[data-v-d515d834]{margin-top:%?10?%}.mt20[data-v-d515d834]{margin-top:%?20?%}.mt30[data-v-d515d834]{margin-top:%?30?%}.mb5[data-v-d515d834]{margin-bottom:%?5?%}.mb10[data-v-d515d834]{margin-bottom:%?10?%}.mb20[data-v-d515d834]{margin-bottom:%?20?%}.mb30[data-v-d515d834]{margin-bottom:%?30?%}\n/* 定义常用的弹性布局 */.flex1[data-v-d515d834]{flex:1}.flexnone[data-v-d515d834]{flex:none}.wrap[data-v-d515d834]{flex-wrap:wrap}.row[data-v-d515d834]{display:flex;align-items:center}.row-center[data-v-d515d834]{display:flex;align-items:center;justify-content:center}.row-end[data-v-d515d834]{display:flex;align-items:center;justify-content:flex-end}.row-between[data-v-d515d834]{display:flex;align-items:center;justify-content:space-between}.row-around[data-v-d515d834]{display:flex;align-items:center;justify-content:space-around}.column[data-v-d515d834]{display:flex;flex-direction:column;justify-content:center}.column-center[data-v-d515d834]{display:flex;flex-direction:column;align-items:center;justify-content:center}.column-around[data-v-d515d834]{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.column-end[data-v-d515d834]{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.column-between[data-v-d515d834]{display:flex;flex-direction:column;align-items:center;justify-content:space-between}\n/* 超出隐藏 */.line1[data-v-d515d834]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line2[data-v-d515d834]{word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}\n/* 中划线 */.line-through[data-v-d515d834]{text-decoration:line-through}\n/* br60 */.br60[data-v-d515d834]{border-radius:%?60?%}\n/* 初始化按钮 */uni-page-body uni-button[data-v-d515d834]{padding:0;margin:0;background-color:initial;font-weight:400;font-size:%?28?%;overflow:unset;margin-left:0;margin-right:0}uni-page-body uni-button[data-v-d515d834]::after{border:none}uni-button[type=primary][data-v-d515d834]{background-color:#ff2c3c}.button-hover[type=primary][data-v-d515d834]{background-color:#ff2c3c}\n/* 按钮大小 */uni-button[size="xs"][data-v-d515d834]{line-height:%?58?%;height:%?58?%;font-size:%?26?%;padding:0 %?30?%}uni-button[size="sm"][data-v-d515d834]{line-height:%?62?%;height:%?62?%;font-size:%?28?%;padding:0 %?30?%}uni-button[size="md"][data-v-d515d834]{line-height:%?70?%;height:%?70?%;font-size:%?30?%;padding:0 %?30?%}uni-button[size="lg"][data-v-d515d834]{line-height:%?80?%;height:%?80?%;font-size:%?32?%;padding:0 %?30?%}.icon-xs[data-v-d515d834]{min-height:%?28?%;min-width:%?28?%;height:%?28?%;width:%?28?%;vertical-align:middle}.icon-sm[data-v-d515d834]{min-height:%?30?%;min-width:%?30?%;height:%?30?%;width:%?30?%;vertical-align:middle}.icon[data-v-d515d834]{min-height:%?34?%;min-width:%?34?%;height:%?34?%;width:%?34?%;vertical-align:middle}.icon-md[data-v-d515d834]{min-height:%?44?%;min-width:%?44?%;height:%?44?%;width:%?44?%;vertical-align:middle}.icon-lg[data-v-d515d834]{min-height:%?52?%;min-width:%?52?%;height:%?52?%;width:%?52?%;vertical-align:middle}.icon-xl[data-v-d515d834]{min-height:%?64?%;min-width:%?64?%;height:%?64?%;width:%?64?%;vertical-align:middle}.icon-xxl[data-v-d515d834]{min-height:%?120?%;min-width:%?120?%;height:%?120?%;width:%?120?%;vertical-align:middle}.img-null[data-v-d515d834]{width:%?300?%;height:%?300?%}\n/* 隐藏滚动条 */[data-v-d515d834]::-webkit-scrollbar{width:0;height:0;color:transparent}.bubble-tips-container[data-v-d515d834]{position:fixed;z-index:98}.bubble-tips-container .bubble-content[data-v-d515d834]{padding:%?4?% %?20?% %?4?% %?10?%;background-color:rgba(0,0,0,.7);color:#fff;border-radius:%?120?%}.bubble-tips-container .bubble-content .bubble-img[data-v-d515d834]{width:%?50?%;height:%?50?%;border-radius:50%;margin-right:%?10?%}body.?%PAGE?%[data-v-d515d834]{background-color:#f6f6f6}',""]),t.exports=e},"045e":function(t,e,i){"use strict";var n=i("4ea4");i("d81d"),i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a,r=n(i("ade3")),o=i("0057"),s=(a={data:function(){return{showTips:[]}},props:{list:{type:Array,default:function(){return[]}},btnType:{type:Number}},watch:{list:{handler:function(t){var e=t.map((function(t){return 0}));this.showTips=e},immediate:!0,deep:!0}},computed:{}},(0,r.default)(a,"computed",{getBtn:function(){var t="";switch(this.btnType){case 0:t="去使用";break;case 1:t="已使用";break;case 2:t="已过期";break;case 3:t="领取";break}return t}}),(0,r.default)(a,"methods",{onHandle:function(t){this.id=t;var e=this.btnType;switch(e){case 0:uni.switchTab({url:"/pages/index/index"});break;case 1:break;case 2:break;case 3:this.getCouponFun();break}},onShowTips:function(t){var e=this.showTips;this.showTips[t]=e[t]?0:1,this.showTips=Object.assign([],this.showTips)},getCouponFun:function(){var t=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");(0,o.getCoupon)(this.id).then((function(e){1==e.code&&(t.$toast({title:e.msg}),setTimeout((function(){t.$emit("refresh")}),1500))}))}}),a);e.default=s},"0530":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view")},r=[]},"057d":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uPopup:i("a821").default,uImage:i("7171").default,priceFormat:i("8312").default,uNumberBox:i("6f87").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("u-popup",{attrs:{mode:"bottom","border-radius":"14",closeable:!0,"safe-area-inset-bottom":!0},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.onClose.apply(void 0,arguments)}},model:{value:t.showPop,callback:function(e){t.showPop=e},expression:"showPop"}},[i("v-uni-view",{staticClass:"bg-white spec-contain"},[i("v-uni-view",{staticClass:"header flex"},[i("u-image",{staticClass:"m-r-20",attrs:{width:"160rpx",height:"160rpx","border-radius":"10rpx",src:t.checkedGoods.image},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.previewImage(t.checkedGoods.image)}}}),i("v-uni-view",{staticClass:"goods-info"},[i("v-uni-view",{staticClass:"primary flex"},[i("price-format",{attrs:{"first-size":46,"second-size":32,"subscript-size":32,price:t.group?t.checkedGoods.team_price:t.checkedGoods.price,weight:500}}),t.group||t.isSeckill||!t.checkedGoods.member_price?t._e():i("v-uni-view",{staticClass:"vip-price flex"},[i("v-uni-view",{staticClass:"price-name xxs"},[t._v("会员价")]),i("v-uni-view",{staticStyle:{padding:"0 11rpx"}},[i("price-format",{attrs:{price:t.checkedGoods.member_price,"first-size":22,"second-size":22,"subscript-size":22,weight:500,color:"#7B3200"}})],1)],1)],1),t.showStock?i("v-uni-view",{staticClass:"sm"},[t._v("库存:"+t._s(t.checkedGoods.stock)+"件")]):t._e(),i("v-uni-view",{staticClass:"sm m-t-10"},[i("v-uni-text",[t._v(t._s(t.specValueText))])],1)],1)],1),i("v-uni-view",{staticClass:"spec-main",staticStyle:{height:"550rpx"}},[i("v-uni-scroll-view",{staticStyle:{"max-height":"500rpx"},attrs:{"scroll-y":"true"}},[i("v-uni-view",{staticClass:"spec-list"},t._l(t.specList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"spec"},[i("v-uni-view",{staticClass:"name m-b-20"},[t._v(t._s(e.name)),i("v-uni-text",{staticClass:"primary xs m-l-20"},[t._v(t._s(""==t.checkedGoods.spec_value_ids_arr[n]?"请选择"+e.name:""))])],1),i("v-uni-view",{staticClass:"flex flex-wrap"},t._l(e.spec_value,(function(e,a){return i("v-uni-view",{key:a,class:"spec-item sm "+(t.checkedGoods.spec_value_ids_arr[n]==e.id?"checked":"")+(t.isDisable(e.id)?"disabled":""),on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.choseSpecItem(n,a)}}},[t._v(t._s(e.value))])})),1)],1)})),1)],1),i("v-uni-view",{staticClass:"good-num flex row-between m-l-20 m-r-20"},[i("v-uni-view",{staticClass:"label"},[t._v("数量")]),t.show?i("u-number-box",{attrs:{min:1,max:t.checkedGoods.stock},model:{value:t.goodsNum,callback:function(e){t.goodsNum=e},expression:"goodsNum"}}):t._e()],1)],1),t.shop.is_pay?i("v-uni-view",{staticClass:"btns flex row-between bg-white",class:-1!=t.specValueText.indexOf("请选择")||0==t.checkedGoods.stock?"disabled":""},[t.showAdd&&0==t.type?i("v-uni-button",{staticClass:"add-cart br60 white btn",attrs:{size:"lg"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick("addcart")}}},[t._v(t._s(t.yellowBtnText))]):t._e(),t.showBuy?i("v-uni-button",{staticClass:"bg-primary br60 white btn",attrs:{size:"lg"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick("buynow")}}},[t._v(t._s(t.redBtnText))]):t._e(),t.showConfirm?i("v-uni-button",{staticClass:"bg-primary br60 white btn",attrs:{size:"lg"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick("confirm")}}},[t._v("确定")]):t._e()],1):t._e()],1)],1)},r=[]},"0760":function(t,e,i){"use strict";i.r(e);var n=i("55d5"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"092f":function(t,e,i){"use strict";var n=i("f8986"),a=i.n(n);a.a},"09a0":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("f4ee"),a={name:"lime-painter-text",mixins:[(0,n.children)("painter")],props:{css:[String,Object],text:[String,Number],replace:Object},data:function(){return{type:"text",el:{css:{},text:null}}}};e.default=a},"09c1":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.goods-shop .title[data-v-32e5853c]{padding:%?20?%;border-bottom:1px solid #e5e5e5}.goods-shop .title .shop-name[data-v-32e5853c]{width:%?300?%}.goods-shop .title .btn[data-v-32e5853c]{border:1px solid #ff2c3c;padding:%?6?% %?28?%}.goods-shop .progress[data-v-32e5853c]{padding-bottom:%?20?%}.goods-shop .goods[data-v-32e5853c]{display:inline-block;padding:%?20?%}',""]),t.exports=e},"0a92":function(t,e,i){"use strict";i("d81d"),i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;getApp();var n={data:function(){return{currentSwiper:0,urls:[],showPlay:!0,showControls:!1}},props:{imgUrls:{type:Array,default:function(){return[]}},circular:{type:Boolean,default:!0},interval:{type:Number,default:3e3},duration:{type:Number,default:500},video:{type:String},autoplay:{type:Boolean,default:!0},borderRadius:{type:[Number,String],default:0}},watch:{imgUrls:{handler:function(t){this.urls=t.map((function(t){return{url:t.uri||t.image}}))},immediate:!0}},methods:{swiperChange:function(t){this.currentSwiper=t.detail.current},previewImage:function(t){uni.previewImage({current:t,urls:this.imgUrls.map((function(t){return t.uri}))})}},computed:{poster:function(){return this.urls[0]?this.urls[0].url:""},swiperLength:function(){var t=this.urls.length;return this.video?++t:t}}};e.default=n},1323:function(t,e,i){"use strict";var n=i("4ea4");i("4de4"),i("caad"),i("d81d"),i("4e82"),i("d3b7"),i("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=n(i("5530")),o=i("3b3e"),s=i("e9dc"),c=i("0057"),u=i("26cb"),l=i("4638"),d=(n(i("e0c6")),i("357b")),f=(getApp(),{data:function(){return{active:0,isTouchStart:!1,topArr:[],isFirstLoading:!0,isNull:!1,isGroup:0,showSpec:!1,showCoupon:!1,showShareBtn:!1,showCommission:!0,popupType:"",swiperList:[],goodsDetail:{},goodsType:0,checkedGoods:{},comment:{},countTime:0,team:{},teamFound:[],navStyle:{backBg:.4,backgroundBg:0,backColor:"rgba(256,256,256,1)"},id:"",shop:{},distribution:{}}},onLoad:function(){var t=this.$Route.query;if(t&&t.scene){var e=(0,d.strToParams)(decodeURIComponent(t.scene));t.id=e.id}this.id=t.id,this.getGoodsDetailFun(),this.getCartNum()},onShow:function(){},onPageScroll:function(t){var e=uni.upx2px(500),i=t.scrollTop,n=i/e;if(this.navStyle.backgroundBg=n,this.navStyle.backBg=.4*(.5-n),this.navStyle.backColor=n<.5?"rgba(256,256,256,"+2*(.5-n)+")":"rgba(0,0,0,"+2*(n-.5)+")",this.isTouchStart){var a=this.topArr.map((function(t,e){return{index:e,top:t}})).filter((function(t){return t.top<=i}));if(a.length){var r=a.sort((function(t,e){return e.top-t.top}))[0].index;if(this.active==r)return;this.active=r}}},methods:(0,r.default)((0,r.default)({},(0,u.mapActions)(["getCartNum","wxShare"])),{},{changeActive:function(t){this.isTouchStart=!1,uni.pageScrollTo({scrollTop:this.topArr[t],duration:200})},getRectInfo:function(){var t=this;this.topArr.length||((0,d.getRect)("#goods").then((function(e){t.topArr[0]=e.top-t.navHeight})),(0,d.getRect)("#evaluation").then((function(e){t.topArr[1]=e.top-t.navHeight})),(0,d.getRect)("#details").then((function(e){t.topArr[2]=e.top-t.navHeight})))},getGoodsDetailFun:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a,r,s,c,u,l,f,h,p,v,g,m;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.getGoodsDetail)({goods_id:t.id});case 2:i=e.sent,n=i.data,a=i.code,1==a?(r=n.goods_image,n.content,s=n.comment,n.like,c=n.activity,u=n.shop,l=n.distribution,f=c.info,h=c.type,c.team,p=c.found,v=c.end_time,console.log(c),g=v?v-Date.now()/1e3:f?f.activity_end_time-Date.now()/1e3:0,p&&(p=(0,d.arraySlice)(p,[],2)),t.distribution=l||{},t.shop=u,t.goodsDetail=n,t.swiperList=r,t.comment=s||{},t.countTime=g,t.goodsType=h,t.team=f||{},t.teamFound=p||[],t.$nextTick((function(){uni.pageScrollTo({scrollTop:0,duration:0}),t.isFirstLoading=!1,t.getRectInfo()})),m={shareTitle:t.team.share_title||n.name,shareImage:n.image,shareDesc:t.team.share_intro||n.remark},t.wxShare(m)):(t.isNull=!0,t.isFirstLoading=!1);case 6:case"end":return e.stop()}}),e)})))()},collectGoodsFun:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=2;break}return e.abrupt("return",t.$Router.push("/pages/login/login"));case 2:return t.goodsDetail.is_collect,e.next=5,(0,s.collectGoods)({goods_id:t.id});case 5:i=e.sent,n=i.msg,a=i.code,1==a&&(t.$toast({title:n}),t.getGoodsDetailFun());case 9:case"end":return e.stop()}}),e)})))()},showCouponFun:function(){if(!this.isLogin)return(0,l.toLogin)();this.showCoupon=!0},onChangeGoods:function(t){this.checkedGoods=t.detail},showSpecFun:function(t,e){2==this.goodsType&&[2,3].includes(t)?(this.isGroup=1,this.foundId=e):(this.isGroup=0,this.foundId=""),this.popupType=t,this.showSpec=!0},onBuy:function(t){if(!this.isLogin)return this.$Router.push("/pages/login/login");var e=t.detail,i=e.id,n=e.goodsNum,a={goods:[{item_id:i,num:n,goods_id:this.id,shop_id:this.shop.id}],type:"buy"};this.showSpec=!1,2==this.goodsType&&(a.teamId=this.team.id),this.foundId&&(a.foundId=this.foundId),this.$Router.push({path:"/pages/confirm_order/confirm_order",query:{data:a}})},onConfirm:function(t){var e=this;this.team.team_id;(0,c.teamCheck)({team_id:this.foundId,goods_id:t.detail.goods_id,item_id:t.detail.id,count:t.detail.goodsNum}).then((function(i){1==i.code&&e.onBuy(t)}))},onAddCart:function(t){var e=this;return(0,a.default)(regeneratorRuntime.mark((function i(){var n,a,r,s,c,u,l;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(e.isLogin){i.next=2;break}return i.abrupt("return",e.$Router.push("/pages/login/login"));case 2:if(2!=e.goodsType){i.next=6;break}return n={goods:[{item_id:t.detail.id,num:t.detail.goodsNum,goods_id:e.id,shop_id:e.shop.id}],type:"buy"},e.$Router.push({path:"/pages/confirm_order/confirm_order",query:{data:n}}),i.abrupt("return");case 6:return a=t.detail,r=a.id,s=a.goodsNum,i.next=9,(0,o.addCart)({item_id:r,goods_num:s});case 9:c=i.sent,u=c.code,c.data,l=c.msg,1==u&&(e.getCartNum(),e.$toast({title:l,icon:"success"}),e.showSpec=!1);case 14:case"end":return i.stop()}}),i)})))()},handleConsult:function(){uni.makePhoneCall({phoneNumber:this.shop.mobile.toString()})}}),onShareAppMessage:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.goodsDetail,n=t.inviteCode,a=t.team,e.abrupt("return",{title:a.share_title||i.name,imageUrl:i.image,path:"/pages/goods_details/goods_details?id="+t.id+"&invite_code="+n});case 2:case"end":return e.stop()}}),e)})))()},computed:(0,r.default)((0,r.default)({},(0,u.mapGetters)(["cartNum","inviteCode","sysInfo","appConfig","userInfo"])),{},{btnText:function(){var t=this.goodsType;switch(t){case 1:return{red:"立即抢购",yellow:""};case 2:return{red:"立即开团",yellow:"单独购买"};default:return{red:"立即购买",yellow:"加入购物车"}}},getTeamCountTime:function(){return function(t){return t-Date.now()/1e3}},navHeight:function(){return this.sysInfo.navHeight},enableCommission:function(){var t=this.goodsType,e=this.distribution,i=e.earnings,n=e.is_show;return 0==t&&i>0&&1==n}})});e.default=f},"15ef":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("f4ee"),a={name:"lime-painter-view",mixins:[(0,n.children)("painter"),(0,n.parent)("painter")],props:{css:[String,Object]},data:function(){return{type:"view",el:{css:{},views:[]}}}};e.default=a},1625:function(t,e,i){"use strict";i.r(e);var n=i("7ed1"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},1938:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=uni.getSystemInfoSync(),a={},r={name:"u-navbar",props:{height:{type:[String,Number],default:""},backIconColor:{type:String,default:"#606266"},backBg:{type:String,default:"transparent"},backIconName:{type:String,default:"nav-back"},backIconSize:{type:[String,Number],default:"42"},backText:{type:String,default:""},backTextStyle:{type:Object,default:function(){return{color:"#606266"}}},title:{type:String,default:""},titleWidth:{type:[String,Number],default:"250"},titleColor:{type:String,default:"#606266"},titleBold:{type:Boolean,default:!1},titleSize:{type:[String,Number],default:32},isBack:{type:[Boolean,String],default:!0},background:{type:Object,default:function(){return{background:"#ffffff"}}},isFixed:{type:Boolean,default:!0},immersive:{type:Boolean,default:!1},borderBottom:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:""},customBack:{type:Function,default:null}},data:function(){return{menuButtonInfo:a,statusBarHeight:n.statusBarHeight,isHome:!1}},computed:{navbarInnerStyle:function(){var t={};return t.height=this.navbarHeight+"px",t},navbarStyle:function(){var t={};return t.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.navbar,Object.assign(t,this.background),t},titleStyle:function(){var t={};return t.left=(n.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.right=(n.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.width=uni.upx2px(this.titleWidth)+"px",t},navbarHeight:function(){return this.height?this.height:44}},created:function(){var t=getCurrentPages().length;1==t&&(this.isHome=!0)},methods:{goBack:function(){"function"===typeof this.customBack?this.customBack.bind(this.$u.$parent.call(this))():this.isHome?uni.switchTab({url:"/pages/index/index"}):uni.navigateBack()}}};e.default=r},"1a1d":function(t,e,i){"use strict";i.r(e);var n=i("a502"),a=i("8140");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("7f7e8");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"41e79f42",null,!1,n["a"],o);e["default"]=c.exports},"1b4d":function(t,e,i){"use strict";var n=i("b2b0"),a=i.n(n);a.a},"1b73":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-countdown"},[t.showDays&&(t.hideZeroDay||!t.hideZeroDay&&"00"!=t.d)?i("v-uni-view",{style:{fontSize:t.fontSize+"rpx"}},[t._v(t._s(t.d))]):t._e(),t.showDays&&(t.hideZeroDay||!t.hideZeroDay&&"00"!=t.d)?i("v-uni-view",{style:{fontSize:t.separatorSize+"rpx","margin-right":"6rpx"}},[t._v("天")]):t._e(),t.showHours?i("v-uni-view",{staticClass:"u-countdown-item",style:[t.itemStyle]},[i("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:t.fontSize+"rpx",color:t.color}},[t._v(t._s(t.h))])],1):t._e(),t.showHours?i("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:t.separatorSize+"rpx",color:t.separatorColor,paddingBottom:"colon"==t.separator?"4rpx":0}},[t._v(t._s("colon"==t.separator?":":"时"))]):t._e(),t.showMinutes?i("v-uni-view",{staticClass:"u-countdown-item",style:[t.itemStyle]},[i("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:t.fontSize+"rpx",color:t.color}},[t._v(t._s(t.i))])],1):t._e(),t.showMinutes?i("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:t.separatorSize+"rpx",color:t.separatorColor,paddingBottom:"colon"==t.separator?"4rpx":0}},[t._v(t._s("colon"==t.separator?":":"分"))]):t._e(),t.showSeconds?i("v-uni-view",{staticClass:"u-countdown-item",style:[t.itemStyle]},[i("v-uni-view",{staticClass:"u-countdown-time",style:{fontSize:t.fontSize+"rpx",color:t.color}},[t._v(t._s(t.s))])],1):t._e(),t.showSeconds&&"zh"==t.separator?i("v-uni-view",{staticClass:"u-countdown-colon",style:{fontSize:t.separatorSize+"rpx",color:t.separatorColor,paddingBottom:"colon"==t.separator?"4rpx":0}},[t._v("秒")]):t._e()],1)},r=[]},"1cb6":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-waterfall"},[i("v-uni-view",{staticClass:"u-column",attrs:{id:"u-left-column"}},[t._t("left",null,{leftList:t.leftList})],2),i("v-uni-view",{staticClass:"u-column",attrs:{id:"u-right-column"}},[t._t("right",null,{rightList:t.rightList})],2)],1)},r=[]},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"1f3c":function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("a9e3"),i("d3b7"),i("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=i("e3e3"),o=i("f4ee"),s=i("7bf5"),c={name:"lime-painter",mixins:[(0,o.parent)("painter")],props:{board:Object,pathType:{type:String},fileType:{type:String,default:"png"},quality:{type:Number,default:1},css:[String,Object],width:[Number,String],height:[Number,String],pixelRatio:Number,customStyle:String,isCanvasToTempFilePath:Boolean,sleep:{type:Number,default:1e3/30},beforeDelay:{type:Number,default:100},afterDelay:{type:Number,default:100}},data:function(){return{use2dCanvas:!1,canvasHeight:150,canvasWidth:null,isDrawIng:!1,isPC:!1,inited:!1,name:"view",progress:0}},computed:{canvasId:function(){return"l-painter".concat(this._uid)},size:function(){if(this.boardWidth&&this.boardHeight)return"width:".concat(this.boardWidth,"px; height: ").concat(this.boardHeight,"px;")},dpr:function(){return this.pixelRatio||uni.getSystemInfoSync().pixelRatio},boardWidth:function(){var t,e=this.width,i=void 0===e?0:e,n=this.canvasWidth,a=void 0===n?0:n,o=(null===(t=this.board)||void 0===t?void 0:t.css)||this.board||{},s=o.width,c=void 0===s?0:s;return Math.max((0,r.toPx)(i||c),(0,r.toPx)(a))},boardHeight:function(){var t,e=this.height,i=void 0===e?0:e,n=this.canvasHeight,a=void 0===n?0:n,o=(null===(t=this.board)||void 0===t?void 0:t.css)||this.board||{},s=o.height,c=void 0===s?0:s;return Math.max((0,r.toPx)(i||c),(0,r.toPx)(a))}},watch:{canvasWidth:function(t){var e;this.el.css&&!(null===(e=this.el.css)||void 0===e?void 0:e.width)&&(this.el.css.width=t)},size:function(t){}},mounted:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.board?t.$watch("board",t.watchRender,{deep:!0,immediate:!0}):t.el.views.length&&t.$watch("el",t.watchRender,{deep:!0,immediate:!0})}),30)}))},methods:{watchRender:function(t){var e=this;return(0,a.default)(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(e.progress=0,"{}"!==JSON.stringify(t)&&t){i.next=3;break}return i.abrupt("return");case 3:clearTimeout(e.rendertimer),e.rendertimer=setTimeout((function(){e.render(t)}),e.beforeDelay);case 5:case"end":return i.stop()}}),i)})))()},setFilePath:function(t,e){var i=this;return(0,a.default)(regeneratorRuntime.mark((function n(){var a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t,o=i.pathType,"base64"!=o||(0,r.isBase64)(t)){n.next=8;break}return n.next=5,(0,r.pathToBase64)(t);case 5:a=n.sent,n.next=12;break;case 8:if("url"!=o||!(0,r.isBase64)(t)){n.next=12;break}return n.next=11,(0,r.base64ToPath)(t);case 11:a=n.sent;case 12:return e&&i.$emit("success",a),n.abrupt("return",a);case 14:case"end":return n.stop()}}),n)})))()},getParentWeith:function(){var t=this;uni.createSelectorQuery().in(this).select(".lime-painter").boundingClientRect().exec((function(e){t.canvasWidth=Math.ceil(e[0].width),t.canvasHeight=e[0].height}))},update:function(t,e){var i=this;return(0,a.default)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i.painter=null,i.isDrawIng=!1,n.next=4,new Promise((function(t){return i.$nextTick(t)}));case 4:return n.next=6,(0,r.sleep)(200);case 6:return n.abrupt("return",i.render(t,e));case 7:case"end":return n.stop()}}),n)})))()},render:function(){var t=arguments,e=this;return(0,a.default)(regeneratorRuntime.mark((function i(){var n,o,c,u,l,d,f,h,p,v,g,m,b;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(c=t.length>0&&void 0!==t[0]?t[0]:{},u=t.length>1&&void 0!==t[1]&&t[1],!e.isDrawIng){i.next=4;break}return i.abrupt("return",e.update(c,u));case 4:return e.isDrawIng=!0,"{}"!=JSON.stringify(c),i.next=8,e.getContext();case 8:if(l=i.sent,d=e.use2dCanvas,f=e.boardWidth,h=e.boardHeight,p=e.canvas,v=e.afterDelay,!d||p){i.next=12;break}return i.abrupt("return",Promise.reject(new Error("render: fail canvas has not been created")));case 12:return e.boundary={top:0,left:0,width:f,height:h},e.painter||(e.painter=new s.Painter({context:l,canvas:p,width:f,height:h,pixelRatio:e.dpr},e)),e.painter.listen("progressChange",(function(t){e.$emit("progress",t)})),i.next=17,e.painter.source(c);case 17:return g=i.sent,m=g.width,b=g.height,e.canvasHeight=(0,r.toPx)(null===(n=e.el.css)||void 0===n?void 0:n.height)||b,e.canvasWidth=(0,r.toPx)(null===(o=e.el.css)||void 0===o?void 0:o.width)||m,e.boundary.height=e.canvasHeight,e.boundary.width=e.canvasWidth,i.next=26,(0,r.sleep)(e.sleep);case 26:return i.next=28,e.painter.render();case 28:return i.next=30,new Promise((function(t){return e.$nextTick(t)}));case 30:if(d||u){i.next=33;break}return i.next=33,e.canvasDraw();case 33:if(!v||!d){i.next=36;break}return i.next=36,(0,r.sleep)(v);case 36:return e.$emit("done"),e.isCanvasToTempFilePath&&!u&&e.isDrawIng&&e.canvasToTempFilePath().then(function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(i){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$emit("success",i.tempFilePath);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$emit("fail",new Error(JSON.stringify(t)))})),e.isDrawIng=!1,i.abrupt("return",Promise.resolve({ctx:l,draw:e.painter,node:e.node}));case 40:case"end":return i.stop()}}),i)})))()},custom:function(t){var e=this;return(0,a.default)(regeneratorRuntime.mark((function i(){var n,a,r;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,e.render({},!0);case 2:return n=i.sent,a=n.ctx,r=n.draw,a.save(),i.next=8,t(a,r);case 8:return a.restore(),i.abrupt("return",Promise.resolve(!0));case 10:case"end":return i.stop()}}),i)})))()},single:function(){var t=arguments,e=this;return(0,a.default)(regeneratorRuntime.mark((function i(){var n,a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n=t.length>0&&void 0!==t[0]?t[0]:{},i.next=3,e.render(n,!0);case 3:return a=i.sent,i.abrupt("return",Promise.resolve(a));case 5:case"end":return i.stop()}}),i)})))()},canvasDraw:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise((function(i,n){return t.ctx.draw(e,(function(){return setTimeout((function(){return i()}),t.afterDelay)}))}))},getContext:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.ctx||!t.inited){e.next=2;break}return e.abrupt("return",Promise.resolve(t.ctx));case 2:return t.getParentWeith(),i=t.type,t.use2dCanvas,n=t.dpr,t.boardWidth,t.boardHeight,a=function(){return new Promise((function(e){uni.createSelectorQuery().in(t).select("#".concat(t.canvasId)).boundingClientRect().exec((function(i){if(i){var a=uni.createCanvasContext(t.canvasId,t);t.inited||(t.inited=!0,t.use2dCanvas=!1,t.canvas=i),t.isPC&&a.scale(1/n,1/n),t.ctx=a,e(t.ctx)}}))}))},e.abrupt("return",a());case 8:return e.abrupt("return",new Promise((function(e){uni.createSelectorQuery().in(t).select("#".concat(t.canvasId)).node().exec((function(n){var a=n[0].node;a||(t.use2dCanvas=!1,e(t.getContext()));var r=a.getContext(i);t.inited||(t.inited=!0,t.use2dCanvas=!0,t.canvas=a),t.ctx=r,e(t.ctx)}))})));case 9:case"end":return e.stop()}}),e)})))()},canvasToTempFilePath:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=this.use2dCanvas,n=this.canvasId,r=this.dpr,o=this.fileType,s=this.quality;return new Promise((function(c,u){var l=t.boundary||t,d=l.top,f=void 0===d?0:d,h=l.left,p=void 0===h?0:h,v=l.width,g=l.height,m=v*r,b=g*r,w=function(){var e=(0,a.default)(regeneratorRuntime.mark((function e(i){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.setFilePath(i.tempFilePath);case 2:n=e.sent,c(Object.assign(i,{tempFilePath:n}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=Object.assign({x:p,y:f,width:v,height:g,destWidth:m,destHeight:b,canvasId:n,fileType:o,quality:s,success:w,fail:u},e);i&&(delete x.canvasId,x.canvas=t.canvas),uni.canvasToTempFilePath(x,t)}))}}};e.default=c},2629:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uWaterfall:i("28fc").default,goodsList:i("fae9").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.hasData?i("mescroll-body",{ref:"mescrollRef",attrs:{up:t.upOption,down:t.downOption},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"goods-column"},[i("v-uni-scroll-view",{attrs:{"scroll-x":"true"}},[i("v-uni-view",{staticClass:"column-wrap"},t._l(t.columnList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item flex-col m-r-50 muted",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeActive(n)}}},[i("v-uni-view",{staticClass:"xxl normal title",class:{bold:t.active==n}},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"m-t-8 xs text-center",class:{normal:t.active==n}},[t._v(t._s(e.remark))]),t.active==n?i("v-uni-view",{staticClass:"line br60"}):t._e()],1)})),1)],1)],1),i("v-uni-view",{staticClass:"goods"},[i("u-waterfall",{ref:"uWaterfall",attrs:{"add-time":20},scopedSlots:t._u([{key:"left",fn:function(t){var e=t.leftList;return[i("v-uni-view",{staticStyle:{padding:"0 9rpx 0 30rpx"}},[i("goods-list",{attrs:{width:"336rpx",type:"waterfall",list:e}})],1)]}},{key:"right",fn:function(t){var e=t.rightList;return[i("v-uni-view",{staticStyle:{padding:"0 30rpx 0 9rpx"}},[i("goods-list",{attrs:{width:"336rpx",type:"waterfall",list:e}})],1)]}}],null,!1,2662770354),model:{value:t.goodsList,callback:function(e){t.goodsList=e},expression:"goodsList"}})],1)],1):t._e()},r=[]},2828:function(t,e,i){"use strict";var n=i("4c9d"),a=i.n(n);a.a},2868:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("a9e3"),i("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=n(i("5530")),o=i("6ab0"),s=i("2075"),c=i("26cb"),u=n(i("9b88")),l={components:{poster:u.default},props:{value:{type:Boolean},shareId:{type:[String,Number],default:""},config:{type:Object,default:function(){return{}}},pagePath:{type:String,default:""},type:{type:String,default:"goods"}},data:function(){return{poster:"",enablePoster:!1,showPoster:!1,showTips:!1,mnpQrcode:""}},computed:(0,r.default)((0,r.default)({},(0,c.mapGetters)(["inviteCode","userInfo"])),{},{getLink:function(){return"".concat(s.baseURL).concat(s.basePath,"/").concat(this.pagePath,"?id=").concat(this.shareId,"&invite_code=").concat(this.inviteCode)},showshare:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}}),watch:{showPoster:function(t){t||(this.enablePoster=!1)}},methods:{getPoster:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.isLogin){e.next=2;break}return e.abrupt("return",t.$Router.push("/pages/login/login"));case 2:uni.showLoading({title:"正在生成中"}),t.enablePoster=!0;case 4:case"end":return e.stop()}}),e)})))()},getMnpQrcode:function(){var t=this;return new Promise((function(e,i){(0,o.apiMnpQrCode)({id:t.shareId,url:t.pagePath,type:t.type}).then((function(t){e(t)})).catch((function(){i()}))}))},getTtQrCode:function(){var t=this;return new Promise((function(e,i){var n=uni.getSystemInfoSync();(0,o.apiTtQrCode)({appname:TtAppNameEnum[n.appName],id:t.shareId,page:t.pagePath}).then((function(t){e(t)})).catch((function(){uni.hideLoading()}))}))},handleSuccess:function(t){this.poster=t,uni.hideLoading(),this.showPoster=!0,this.showshare=!1},handleFail:function(){var t=this;uni.hideLoading({success:function(){t.$toast({title:"生成失败"})}})},shareWx:function(){this.showTips=!0,this.showshare=!1},savePoster:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:uni.saveImageToPhotosAlbum({filePath:t.poster,success:function(e){t.showPoster=!1,t.$toast({title:"保存成功",icon:"success"})},fail:function(e){t.$toast({title:"保存失败"}),console.log(e)}});case 1:case"end":return e.stop()}}),e)})))()}}};e.default=l},"28fc":function(t,e,i){"use strict";i.r(e);var n=i("1cb6"),a=i("d229");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("3dc6");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"7664bcb0",null,!1,n["a"],o);e["default"]=c.exports},"2c49":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uNavbar:i("7e3f").default,tabs:i("a243").default,tab:i("201c").default,bubbleTips:i("9988").default,productSwiper:i("501d").default,priceFormat:i("8312").default,uCountDown:i("411c").default,uImage:i("7171").default,getCoupon:i("1a1d").default,uIcon:i("4569").default,goodsShop:i("95fe").default,uParse:i("eb70").default,uBadge:i("4101").default,goodsColumn:i("5aa3").default,specPopup:i("43cc").default,sharePopup:i("610f").default,floatTab:i("b342").default,loadingView:i("8478").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goods-details"},[i("u-navbar",{attrs:{id:"navbar","border-bottom":!1,background:{background:"rgba(256,256,256, "+t.navStyle.backgroundBg+")"},"back-bg":"rgba(0,0,0,"+t.navStyle.backBg+")","back-icon-color":t.navStyle.backColor,immersive:!0}},[t.navStyle.backgroundBg>.1?i("tabs",{style:{width:"100%",opacity:t.navStyle.backgroundBg},attrs:{"sticky-bg-color":"transparent","show-bar":!0,"bar-width":60,"is-scroll":!1,current:t.active,"bg-color":"transparent"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeActive.apply(void 0,arguments)}}},[i("tab",{attrs:{name:"商品"}}),i("tab",{attrs:{name:"评价"}}),i("tab",{attrs:{name:"详情"}})],1):t._e()],1),t.isNull?i("v-uni-view",[i("v-uni-view",{staticClass:"details-null flex-col col-center"},[i("v-uni-image",{staticClass:"img-null",attrs:{src:"/static/images/goods_null.png"}}),i("v-uni-view",{staticClass:"xs muted"},[t._v("该商品已下架或不存在,去逛逛别的吧~")])],1),i("goods-column")],1):i("v-uni-view",{staticClass:"contain",attrs:{id:"goods"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.isTouchStart=!0}}},[i("bubble-tips",{attrs:{top:"200rpx"}}),i("product-swiper",{attrs:{imgUrls:t.swiperList,video:t.goodsDetail.video}}),1==t.goodsType?i("v-uni-view",{staticClass:"seckill flex row-between"},[i("v-uni-view",{staticClass:"price flex"},[i("v-uni-view",{staticClass:"flex white info"},[i("v-uni-view",{staticClass:"flex col-baseline m-l-20"},[i("v-uni-view",{staticClass:"m-r-10"},[t._v("秒杀价")]),i("price-format",{attrs:{"subscript-size":32,"first-size":46,"second-size":32,price:t.checkedGoods.price||t.goodsDetail.price,weight:500}}),i("v-uni-view",{staticClass:"m-l-10"},[i("price-format",{attrs:{"subscript-size":30,"line-through":!0,"first-size":30,"second-size":30,price:t.checkedGoods.market_price||t.goodsDetail.market_price}})],1)],1)],1)],1),i("v-uni-view",{staticClass:"down flex-col col-center"},[i("v-uni-view",{staticClass:"xxs primary m-b-10"},[t._v("距活动结束仅剩")]),i("u-count-down",{attrs:{timestamp:t.countTime,color:"#fff","bg-color":t.colorConfig.primary,"separator-color":t.colorConfig.primary,"font-size":"24",height:"36","separator-size":"26"},on:{end:function(e){arguments[0]=e=t.$handleEvent(e),t.getGoodsDetailFun.apply(void 0,arguments)}}})],1)],1):t._e(),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:2==t.goodsType,expression:"goodsType == 2"}],staticClass:"group"},[i("v-uni-view",{staticClass:"row info",staticStyle:{height:"100%"}},[i("v-uni-view",{staticClass:"row-between ml20 white",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"row",staticStyle:{"align-items":"baseline"}},[i("v-uni-view",{staticClass:"mr10"},[t._v("拼团价")]),i("price-format",{attrs:{"subscript-size":32,"first-size":46,"second-size":32,price:t.checkedGoods.team_price||t.team.team_min_price?t.team.team_min_price:"",weight:500}})],1),i("v-uni-view",{staticClass:"mr20 row group-num"},[i("v-uni-view",{staticClass:"group-icon"},[i("v-uni-image",{staticClass:"icon-sm",attrs:{src:"/static/images/icon_group.png"}})],1),i("v-uni-view",{staticClass:"xxs ml10 mr10"},[t._v(t._s(t.team.people_num)+"人团")])],1)],1),i("v-uni-view",{staticClass:"down column-center"},[i("v-uni-view",{staticClass:"xxs primary mb10"},[t._v("距活动结束仅剩")]),i("u-count-down",{attrs:{timestamp:t.countTime,color:"#fff","bg-color":"#FF2C3C","separator-color":"#FF2C3C","font-size":"24",height:"36","separator-size":"26"},on:{end:function(e){arguments[0]=e=t.$handleEvent(e),t.getGoodsDetailFun.apply(void 0,arguments)}}})],1)],1)],1),i("v-uni-view",{staticClass:"goods-info bg-white"},[1!=t.goodsType?i("v-uni-view",{staticClass:"info-header flex"},[i("v-uni-view",{staticClass:"price flex flex-1"},[i("v-uni-view",{staticClass:"primary m-r-10"},[i("price-format",{attrs:{"first-size":46,"second-size":32,"subscript-size":32,price:t.goodsDetail.min_price,weight:500}})],1),i("v-uni-view",{staticClass:"line-through muted md"},[i("price-format",{attrs:{price:t.goodsDetail.market_price}})],1),0==t.goodsType&&t.goodsDetail.member_price?i("v-uni-view",{staticClass:"vip-price flex"},[i("v-uni-view",{staticClass:"price-name xxs"},[t._v("会员价")]),i("v-uni-view",{staticStyle:{padding:"0 11rpx"}},[i("price-format",{attrs:{price:t.checkedGoods.member_price,"first-size":22,"second-size":22,"subscript-size":22,weight:500,color:"#7B3200"}})],1)],1):t._e()],1),i("v-uni-image",{staticClass:"icon-share",attrs:{src:"/static/images/icon_share.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showShareBtn=!0}}})],1):t._e(),i("v-uni-view",{staticClass:"flex"},[i("v-uni-view",{staticClass:"name lg bold"},[t._v(t._s(t.goodsDetail.name))]),1==t.goodsType?i("v-uni-image",{staticClass:"icon-share",attrs:{src:"/static/images/icon_share.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showShareBtn=!0}}}):t._e()],1),i("v-uni-view",{staticClass:"flex row-between xs lighter",staticStyle:{padding:"0 24rpx 20rpx"}},[t.goodsDetail.is_show_stock?i("v-uni-text",[t._v("库存: "+t._s(t.checkedGoods.stock||t.goodsDetail.stock))]):t._e(),i("v-uni-text",[t._v("销量: "+t._s(t.goodsDetail.sales_sum))]),i("v-uni-text",[t._v("浏览量: "+t._s(t.goodsDetail.clicks))])],1)],1),2==t.goodsType?i("v-uni-view",{staticClass:"group-play bg-white mt20"},[i("v-uni-view",{staticClass:"title"},[t._v("拼团玩法")]),i("v-uni-view",{staticClass:"steps row"},[i("v-uni-view",{staticClass:"row step"},[i("v-uni-view",{staticClass:"number xxs"},[t._v("1")]),i("v-uni-view",{staticClass:"sm"},[t._v("开团/参团")])],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"row step"},[i("v-uni-view",{staticClass:"number xxs"},[t._v("2")]),i("v-uni-view",{staticClass:"sm"},[t._v("团满即成新团")])],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"row step"},[i("v-uni-view",{staticClass:"number xxs"},[t._v("3")]),i("v-uni-view",{staticClass:"sm"},[t._v("满员发货")])],1)],1)],1):t._e(),t.teamFound.length?i("v-uni-view",{staticClass:"group-play bg-white mt20"},[i("v-uni-view",{staticClass:"title"},[t._v("正在拼团中")]),t.teamFound.length?i("v-uni-swiper",{staticClass:"mt20 bg-white",staticStyle:{height:"240rpx"},attrs:{autoplay:"true",vertical:"true",circular:"true",interval:5e3}},t._l(t.teamFound,(function(e,n){return i("v-uni-swiper-item",{key:n},[i("v-uni-view",{staticClass:"group-list"},t._l(e,(function(e,n){return i("v-uni-view",{key:n,staticClass:"group-item bg-white row-between"},[i("v-uni-view",{staticClass:"row",staticStyle:{"max-width":"280rpx"}},[i("u-image",{attrs:{src:e.avatar,width:"80rpx",height:"80rpx","border-radius":"50%"}}),i("v-uni-view",{staticClass:"ml20 line1 normal"},[t._v(t._s(e.nickname))])],1),i("v-uni-view",{staticClass:"row ml20",staticStyle:{flex:"none"}},[i("v-uni-view",{staticClass:"column-center"},[i("v-uni-text",{staticClass:"sm normal"},[t._v("还差"),i("v-uni-text",{staticClass:"primary"},[t._v(t._s(e.people-e.join))]),t._v("人成团")],1),i("v-uni-view",{staticClass:"muted xs"},[t._v("剩余"),i("u-count-down",{attrs:{timestamp:t.getTeamCountTime(e.invalid_time),"separator-color":"#999",color:"#999","separator-size":24,"font-size":24,"bg-color":"transparent"},on:{end:function(e){arguments[0]=e=t.$handleEvent(e),t.getGoodsDetailFun.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"group-btn br60 white row-center",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.showSpecFun(3,e.id)}}},[t._v("去参团")])],1)],1)})),1)],1)})),1):t._e()],1):t._e(),i("v-uni-view",[i("get-coupon",{attrs:{"wrap-style":{"margin-top":"20rpx"},"goods-id":t.goodsDetail.id}})],1),t.goodsType?t._e():i("v-uni-view",{staticClass:"spec flex bg-white m-t-20",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showSpecFun(0)}}},[i("v-uni-view",{staticClass:"text muted"},[t._v("已选")]),i("v-uni-view",{staticClass:"line-1 m-r-20 flex-1"},[t._v(t._s(t.checkedGoods.spec_value_str||"默认"))]),i("u-icon",{attrs:{name:"arrow-right"}})],1),i("v-uni-view",{staticClass:"evaluation bg-white m-t-20",attrs:{id:"evaluation"}},[i("router-link",{attrs:{to:{path:"/bundle/pages/all_comments/all_comments",query:{id:t.goodsDetail.id}}}},[i("v-uni-view",{staticClass:"title flex row-between"},[i("v-uni-view",[i("v-uni-text",{staticClass:"balck md m-r-10"},[t._v("用户评价")]),i("v-uni-text",{staticClass:"primary sm"},[t._v("好评率"+t._s(t.comment.percent||"0%"))])],1),i("v-uni-view",{staticClass:"flex"},[i("v-uni-text",{staticClass:"lighter"},[t._v("查看全部")]),i("u-icon",{attrs:{name:"arrow-right"}})],1)],1)],1),t.comment.one&&t.comment.one.nickname?i("v-uni-view",{staticClass:"con"},[i("v-uni-view",{staticClass:"user-info flex"},[i("v-uni-image",{staticClass:"avatar m-r-20",attrs:{src:t.comment.one.avatar}}),i("v-uni-view",{staticClass:"user-name md m-r-10"},[t._v(t._s(t.comment.one.nickname))])],1),i("v-uni-view",{staticClass:"muted xs m-t-10"},[i("v-uni-text",{staticClass:"m-r-20"},[t._v(t._s(t.comment.one.create_time))])],1),t.comment.one.comment?i("v-uni-view",{staticClass:"dec m-t-20"},[t._v(t._s(t.comment.one.comment))]):t._e()],1):i("v-uni-view",{staticClass:"con flex row-center muted"},[t._v("暂无评价")])],1),1==t.appConfig.shop_hide_goods?i("v-uni-view",{staticClass:"goods-shop m-t-20 bg-white"},[i("goods-shop",{attrs:{shop:t.shop}})],1):t._e(),i("v-uni-view",{staticClass:"details m-t-20 bg-white",attrs:{id:"details"}},[i("v-uni-view",{staticClass:"title lg"},[t._v("商品详情")]),i("v-uni-view",{staticClass:"content"},[i("u-parse",{attrs:{html:t.goodsDetail.content,"lazy-load":!0,"show-with-animation":!0}})],1)],1),i("v-uni-view",{staticClass:"footer flex bg-white fixed"},[i("router-link",{attrs:{to:{path:"/bundle/pages/chat/chat",query:{shop_id:t.shop.id,goods_id:t.id}}}},[i("v-uni-view",{staticClass:"btn flex-col col-center row-center"},[i("v-uni-image",{staticClass:"icon-md",attrs:{src:"/static/images/icon_contact.png"}}),i("v-uni-text",{staticClass:"xxs lighter"},[t._v("客服")])],1)],1),i("v-uni-button",{staticClass:"btn flex-col col-center row-center",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.collectGoodsFun.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"icon-md",attrs:{src:1==t.goodsDetail.is_collect?"/static/images/icon_collection_s.png":"/static/images/icon_collection.png"}}),i("v-uni-text",{staticClass:"xxs lighter"},[t._v("收藏")])],1),i("router-link",{attrs:{"nav-type":"pushTab",to:"/pages/shop_cart/shop_cart"}},[i("v-uni-view",{staticClass:"flex-col btn cart col-center row-center"},[i("v-uni-image",{staticClass:"icon-md",attrs:{src:"/static/images/icon_cart.png"}}),i("v-uni-text",{staticClass:"xxs lighter"},[t._v("购物车")]),t.cartNum?i("u-badge",{attrs:{bgColor:t.colorConfig.primary,offset:[8,10],count:t.cartNum}}):t._e()],1)],1),t.shop.is_pay?[t.btnText.yellow&&0==t.goodsDetail.type?i("v-uni-view",{staticClass:"add-cart br60 white m-r-10 md m-l-20",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showSpecFun(1)}}},[t._v(t._s(t.btnText.yellow))]):t._e(),i("v-uni-view",{staticClass:"right-buy br60 white m-r-20 m-l-10 md",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showSpecFun(2)}}},[t._v(t._s(t.btnText.red))])]:i("v-uni-view",{staticClass:"consult-btn br60 white m-r-20 md m-l-20",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleConsult.apply(void 0,arguments)}}},[t._v("咨询商家")])],2)],1),i("spec-popup",{attrs:{show:t.showSpec,"is-seckill":1==t.goodsType,goods:t.goodsDetail,"show-add":1==t.popupType||0==t.popupType,"show-buy":2==t.popupType||0==t.popupType,"show-stock":1==t.goodsDetail.is_show_stock,"show-confirm":3==t.popupType,type:t.goodsDetail.type,group:!!t.isGroup,"red-btn-text":t.btnText.red,"yellow-btn-text":t.btnText.yellow},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.showSpec=!1},buynow:function(e){arguments[0]=e=t.$handleEvent(e),t.onBuy.apply(void 0,arguments)},addcart:function(e){arguments[0]=e=t.$handleEvent(e),t.onAddCart.apply(void 0,arguments)},change:function(e){arguments[0]=e=t.$handleEvent(e),t.onChangeGoods.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}}),i("share-popup",{attrs:{"share-id":t.id,pagePath:"pages/goods_details/goods_details",type:"1",config:{avatar:t.userInfo.avatar,nickname:t.userInfo.nickname,image:t.goodsDetail.poster||t.goodsDetail.image,price:t.goodsDetail.min_price,marketPrice:t.goodsDetail.market_price,name:t.team.share_title||t.goodsDetail.name}},model:{value:t.showShareBtn,callback:function(e){t.showShareBtn=e},expression:"showShareBtn"}}),i("share-popup",{attrs:{show:t.showShareBtn,"goods-id":t.id,"img-url":t.goodsDetail.image,summary:t.goodsDetail.remark,"share-title":t.goodsDetail.name},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.showShareBtn=!1}}}),i("float-tab"),i("v-uni-view",{staticClass:"share-money",class:{show:t.showCommission&&t.enableCommission}},[i("v-uni-view",{staticClass:"row-end"},[i("v-uni-view",{staticClass:"share-close row-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showCommission=!1}}},[i("u-icon",{attrs:{name:"close",size:"16",color:"#fff"}})],1)],1),i("v-uni-view",{staticClass:"share-con mt10",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showShareBtn=!0}}},[i("v-uni-view",{staticClass:"primary",staticStyle:{"font-size":"45rpx"}},[t._v(t._s(t.distribution.earnings)),i("v-uni-text",{staticClass:"xs"},[t._v("元")])],1),i("v-uni-view",{staticClass:"lighter xxs"},[t._v("好友下单最高可赚")])],1)],1),t.isFirstLoading?i("loading-view"):t._e()],1)},r=[]},"2da8":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},props:{type:{type:String,default:"fixed"},backgroundColor:{type:String,default:"#fff"}},methods:{}};e.default=n},"2dff":function(t,e,i){"use strict";var n=i("8752"),a=i.n(n);a.a},"318b":function(t,e,i){var n=i("4c2e");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("2486d389",n,!0,{sourceMap:!1,shadowMode:!1})},"32b1":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.spec-contain[data-v-b3cd6f36]{border-radius:%?10?% %?10?% 0 0;overflow:hidden;position:relative}.spec-contain .close[data-v-b3cd6f36]{position:absolute;right:%?10?%;top:%?10?%}.spec-contain .header[data-v-b3cd6f36]{padding:%?30?%;padding-right:%?70?%;align-items:flex-start;border:1px solid #e5e5e5}.spec-contain .spec-main[data-v-b3cd6f36]{padding:0 %?24?%}.spec-contain .spec-main .spec-list[data-v-b3cd6f36]{padding:%?30?% %?20?%}.spec-contain .spec-main .spec-list .spec-item[data-v-b3cd6f36]{line-height:%?54?%;padding:0 %?30?%;background-color:#f4f4f4;border-radius:%?60?%;margin:0 %?20?% %?20?% 0;border:1px solid #f4f4f4}.spec-contain .spec-main .spec-list .spec-item.checked[data-v-b3cd6f36]{background-color:#ffe9eb;color:#ff2c3c;border-color:currentColor}.spec-contain .spec-main .spec-list .spec-item.disabled[data-v-b3cd6f36]{opacity:.5;text-decoration:line-through}.spec-contain .disabled[data-v-b3cd6f36]{opacity:.4}.spec-contain .btns[data-v-b3cd6f36]{height:%?120?%;padding:0 %?30?%;margin-top:%?80?%}.spec-contain .btns .add-cart[data-v-b3cd6f36]{background-color:#ff9e1e}.spec-contain .btns .btn[data-v-b3cd6f36]{margin:0 %?10?%;flex:1}.spec-contain .vip-price[data-v-b3cd6f36]{margin:0 %?24?%;background-color:#ffe9ba;line-height:%?36?%;border-radius:%?6?%;overflow:hidden}.spec-contain .vip-price .price-name[data-v-b3cd6f36]{background-color:#101010;padding:%?3?% %?12?%;color:#ffd4b7;position:relative;overflow:hidden}.spec-contain .vip-price .price-name[data-v-b3cd6f36]::after{content:"";display:block;width:%?20?%;height:%?20?%;position:absolute;right:%?-15?%;background-color:#ffe9ba;border-radius:50%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);box-sizing:border-box}',""]),t.exports=e},3323:function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),i("acd8"),i("ac1f"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("b44a")),r=n(i("6fed")),o=n(i("b747")),s=n(i("ea88")),c=n(i("f64e")),u={name:"share-poster",components:{lPainter:a.default,lPainterImage:r.default,lPainterText:o.default,lPainterView:s.default,lPainterQrcode:c.default},props:{config:{type:Object,default:function(){return{}}},shareId:{type:[Number,String],default:""},qrcode:{type:[String],default:""},pagePath:{type:String,default:""},link:{type:String,default:""},type:{type:String,default:"goods"}},data:function(){return{}},computed:{price:function(){var t=this.config.price;return console.log(t),void 0==t?{}:(t=String(parseFloat(t)).split("."),{prev:t[0],next:t[1]?".".concat(t[1]):""})},marketPrice:function(){return"¥".concat(parseFloat(this.config.marketPrice))}},methods:{handleSuccess:function(t){this.$emit("success",t)},handleFail:function(t){this.$emit("fail")}}};e.default=u},3603:function(t,e,i){"use strict";i.r(e);var n=i("959d"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"371d":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("l-painter",{attrs:{css:"width: 640rpx; padding-bottom: 35rpx; background-color: #ffffff; box-shadow: 0 20rpx 58rpx rgba(0,0,0,.15);border-radius: 10rpx;",isCanvasToTempFilePath:!0,"custom-style":"position: fixed; left: 200%"},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSuccess.apply(void 0,arguments)},fail:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFail.apply(void 0,arguments)}}},[i("l-painter-view",{attrs:{css:"padding-left: 40rpx;"}},[i("l-painter-image",{attrs:{src:t.config.avatar,css:"margin-top: 15rpx; width: 72rpx; height: 72rpx; border-radius: 50%;"}}),i("l-painter-view",{attrs:{css:"margin-top: 30rpx; padding-left: 20rpx; display: inline-block"}},[i("l-painter-text",{attrs:{text:"来自"+t.config.nickname+"的分享",css:"display: block; padding-bottom: 10rpx; color: #333333; font-size: 28rpx;line-clamp:1;width: 100%;"}})],1),i("l-painter-image",{attrs:{src:t.config.image,css:"object-fit: cover; object-position: center; width: 560rpx; height: 560rpx;margin-top: 15rpx;"}}),i("l-painter-view",{attrs:{css:"margin-top: 30rpx;"}},[i("l-painter-view",{attrs:{css:"display: "+("1"==t.type?"inline-block":"none")+"; width: 400rpx;"}},[i("l-painter-view",{attrs:{css:"vertical-align: bottom; color: #FF2C3C; font-size: 30rpx; line-height: 1em;"}},[i("l-painter-text",{attrs:{text:"¥",css:"vertical-align: bottom;font-size: 28rpx;"}}),i("l-painter-text",{attrs:{text:t.price.prev,css:"vertical-align: bottom; font-size: 38rpx;"}}),i("l-painter-text",{attrs:{text:t.price.next,css:"vertical-align: bottom; font-size: 30rpx;"}}),i("l-painter-text",{attrs:{text:t.marketPrice,css:"vertical-align: bottom; padding-left: 10rpx;font-size: 28rpx; font-weight: normal; text-decoration: line-through; color: #999999"}})],1),i("l-painter-view",{attrs:{css:"margin-top:30rpx;"}},[i("l-painter-text",{attrs:{css:"line-clamp: 2; color: #333333; line-height: 1.5em;font-size: 30rpx; width: 378rpx; padding-right:22rpx; box-sizing: border-box",text:t.config.name}})],1)],1),i("l-painter-view",{attrs:{css:"display: "+("2"==t.type?"inline-block":"none")+"; width: 400rpx;"}},[i("l-painter-view",[i("l-painter-text",{attrs:{css:"line-clamp: 2; color: #FF2C3C; line-height: 1.5em;font-size: 32rpx; width: 375rpx; padding-right:22rpx; box-sizing: border-box",text:"我正在参与砍价 还差一步"}})],1),i("l-painter-view",{attrs:{css:"margin-top:8rpx;"}},[i("l-painter-text",{attrs:{css:"line-clamp: 2; color: #F95F2F; line-height: 1.5em;font-size: 24rpx; width: 378rpx; padding-right:22rpx; box-sizing: border-box",text:"帮忙砍一刀"}})],1),i("l-painter-view",{attrs:{css:"margin-top:8rpx;"}},[i("l-painter-text",{attrs:{css:"line-clamp: 2; color: #333333; line-height: 1.5em;font-size: 28rpx; width: 378rpx; padding-right:22rpx; box-sizing: border-box",text:t.config.name}})],1)],1),i("l-painter-view",{attrs:{css:"display: inline-block;"}},[i("l-painter-qrcode",{attrs:{css:"width: 168rpx; height: 168rpx;",text:t.link}}),i("l-painter-text",{attrs:{text:"长按识别二维码",css:"display: block; padding-top: 10rpx; color: #999999;font-size: 24rpx;"}})],1)],1)],1)],1)],1)},r=[]},"39a4":function(t,e,i){var n=i("24fb"),a=i("1de5"),r=i("ca2d"),o=i("869e"),s=i("8221");e=n(!1);var c=a(r),u=a(o),l=a(s);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */uni-page-body[data-v-be403f36]{\n /* 定义一些主题色及基础样式 */font-family:PingFang SC,Arial,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:%?28?%;color:#333;padding-bottom:env(safe-area-inset-bottom);background-color:#f6f6f6}.bold[data-v-be403f36]{font-weight:700}\n/* 定义字体颜色 */.primary[data-v-be403f36]{color:#ff2c3c}.bg-primary[data-v-be403f36]{background-color:#ff2c3c}.bg-white[data-v-be403f36]{background-color:#fff}.bg-body[data-v-be403f36]{background-color:#f6f6f6}.bg-gray[data-v-be403f36]{background-color:#e5e5e5}.black[data-v-be403f36]{color:#101010}.white[data-v-be403f36]{color:#fff}.normal[data-v-be403f36]{color:#333}.lighter[data-v-be403f36]{color:#666}.muted[data-v-be403f36]{color:#999}\n/* 定义字体大小 */.xxl[data-v-be403f36]{font-size:%?36?%}.xl[data-v-be403f36]{font-size:%?34?%}.lg[data-v-be403f36]{font-size:%?32?%}.md[data-v-be403f36]{font-size:%?30?%}.nr[data-v-be403f36]{font-size:%?28?%}.sm[data-v-be403f36]{font-size:%?26?%}.xs[data-v-be403f36]{font-size:%?24?%}.xxs[data-v-be403f36]{font-size:%?22?%}\n/* 定义常用外边距 */.ml5[data-v-be403f36]{margin-left:%?5?%}.ml10[data-v-be403f36]{margin-left:%?10?%}.ml20[data-v-be403f36]{margin-left:%?20?%}.ml30[data-v-be403f36]{margin-left:%?30?%}.mr5[data-v-be403f36]{margin-right:%?5?%}.mr10[data-v-be403f36]{margin-right:%?10?%}.mr20[data-v-be403f36]{margin-right:%?20?%}.mr30[data-v-be403f36]{margin-right:%?30?%}.mt5[data-v-be403f36]{margin-top:%?5?%}.mt10[data-v-be403f36]{margin-top:%?10?%}.mt20[data-v-be403f36]{margin-top:%?20?%}.mt30[data-v-be403f36]{margin-top:%?30?%}.mb5[data-v-be403f36]{margin-bottom:%?5?%}.mb10[data-v-be403f36]{margin-bottom:%?10?%}.mb20[data-v-be403f36]{margin-bottom:%?20?%}.mb30[data-v-be403f36]{margin-bottom:%?30?%}\n/* 定义常用的弹性布局 */.flex1[data-v-be403f36]{flex:1}.flexnone[data-v-be403f36]{flex:none}.wrap[data-v-be403f36]{flex-wrap:wrap}.row[data-v-be403f36]{display:flex;align-items:center}.row-center[data-v-be403f36]{display:flex;align-items:center;justify-content:center}.row-end[data-v-be403f36]{display:flex;align-items:center;justify-content:flex-end}.row-between[data-v-be403f36]{display:flex;align-items:center;justify-content:space-between}.row-around[data-v-be403f36]{display:flex;align-items:center;justify-content:space-around}.column[data-v-be403f36]{display:flex;flex-direction:column;justify-content:center}.column-center[data-v-be403f36]{display:flex;flex-direction:column;align-items:center;justify-content:center}.column-around[data-v-be403f36]{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.column-end[data-v-be403f36]{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.column-between[data-v-be403f36]{display:flex;flex-direction:column;align-items:center;justify-content:space-between}\n/* 超出隐藏 */.line1[data-v-be403f36]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line2[data-v-be403f36]{word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}\n/* 中划线 */.line-through[data-v-be403f36]{text-decoration:line-through}\n/* br60 */.br60[data-v-be403f36]{border-radius:%?60?%}\n/* 初始化按钮 */uni-page-body uni-button[data-v-be403f36]{padding:0;margin:0;background-color:initial;font-weight:400;font-size:%?28?%;overflow:unset;margin-left:0;margin-right:0}uni-page-body uni-button[data-v-be403f36]::after{border:none}uni-button[type=primary][data-v-be403f36]{background-color:#ff2c3c}.button-hover[type=primary][data-v-be403f36]{background-color:#ff2c3c}\n/* 按钮大小 */uni-button[size="xs"][data-v-be403f36]{line-height:%?58?%;height:%?58?%;font-size:%?26?%;padding:0 %?30?%}uni-button[size="sm"][data-v-be403f36]{line-height:%?62?%;height:%?62?%;font-size:%?28?%;padding:0 %?30?%}uni-button[size="md"][data-v-be403f36]{line-height:%?70?%;height:%?70?%;font-size:%?30?%;padding:0 %?30?%}uni-button[size="lg"][data-v-be403f36]{line-height:%?80?%;height:%?80?%;font-size:%?32?%;padding:0 %?30?%}.icon-xs[data-v-be403f36]{min-height:%?28?%;min-width:%?28?%;height:%?28?%;width:%?28?%;vertical-align:middle}.icon-sm[data-v-be403f36]{min-height:%?30?%;min-width:%?30?%;height:%?30?%;width:%?30?%;vertical-align:middle}.icon[data-v-be403f36]{min-height:%?34?%;min-width:%?34?%;height:%?34?%;width:%?34?%;vertical-align:middle}.icon-md[data-v-be403f36]{min-height:%?44?%;min-width:%?44?%;height:%?44?%;width:%?44?%;vertical-align:middle}.icon-lg[data-v-be403f36]{min-height:%?52?%;min-width:%?52?%;height:%?52?%;width:%?52?%;vertical-align:middle}.icon-xl[data-v-be403f36]{min-height:%?64?%;min-width:%?64?%;height:%?64?%;width:%?64?%;vertical-align:middle}.icon-xxl[data-v-be403f36]{min-height:%?120?%;min-width:%?120?%;height:%?120?%;width:%?120?%;vertical-align:middle}.img-null[data-v-be403f36]{width:%?300?%;height:%?300?%}\n/* 隐藏滚动条 */[data-v-be403f36]::-webkit-scrollbar{width:0;height:0;color:transparent}.goods-details[data-v-be403f36]{padding-bottom:calc(%?120?% + env(safe-area-inset-bottom))}.goods-details .seckill[data-v-be403f36]{height:%?100?%;background:#ffd4d8}.goods-details .seckill .price[data-v-be403f36]{width:%?504?%;height:100%;background:url('+c+") no-repeat;background-size:100%}.goods-details .seckill .down[data-v-be403f36]{flex:1}.goods-details .group[data-v-be403f36]{height:%?100?%;width:100%;background-image:url("+u+');background-size:100%}.goods-details .group .group-num[data-v-be403f36]{border:1px solid #fff;border-radius:%?4?%}.goods-details .group .group-num .group-icon[data-v-be403f36]{background:#fff;padding:%?3?% %?7?%}.goods-details .group .down[data-v-be403f36]{height:100%;background-color:#fff5e1;padding:0 %?20?%}.goods-details .goods-info[data-v-be403f36]{position:relative}.goods-details .goods-info .info-header[data-v-be403f36]{padding:%?20?% 0 %?0?% %?24?%}.goods-details .goods-info .info-header .price[data-v-be403f36]{align-items:baseline}.goods-details .goods-info .name[data-v-be403f36]{padding:%?20?% %?24?%;flex:1}.goods-details .goods-info .icon-share[data-v-be403f36]{width:%?134?%;height:%?60?%}.goods-details .goods-info .vip-price[data-v-be403f36]{margin:0 %?24?%;background-color:#ffe9ba;line-height:%?36?%;border-radius:%?6?%;overflow:hidden}.goods-details .goods-info .vip-price .price-name[data-v-be403f36]{background-color:#101010;padding:%?3?% %?12?%;color:#ffd4b7;position:relative;overflow:hidden}.goods-details .goods-info .vip-price .price-name[data-v-be403f36]::after{content:"";display:block;width:%?20?%;height:%?20?%;position:absolute;right:%?-15?%;background-color:#ffe9ba;border-radius:50%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);box-sizing:border-box}.goods-details .details-null[data-v-be403f36]{padding-top:%?140?%;margin-bottom:%?100?%}.goods-details .spec[data-v-be403f36]{padding:%?24?% %?24?%}.goods-details .spec .text[data-v-be403f36]{width:%?100?%}.goods-details .evaluation .title[data-v-be403f36]{height:%?100?%;border-bottom:1px solid #e5e5e5;padding:0 %?24?%}.goods-details .evaluation .con[data-v-be403f36]{padding:%?30?% %?24?%}.goods-details .evaluation .user-info .avatar[data-v-be403f36]{width:%?60?%;height:%?60?%;border-radius:50%}.goods-details .details .title[data-v-be403f36]{line-height:%?88?%;text-align:center}.goods-details .details > .content[data-v-be403f36]{padding:0 %?20?% %?20?%}.goods-details .details > .content[data-v-be403f36] uni-image{vertical-align:middle}.goods-details .details > .content[data-v-be403f36] img{vertical-align:middle}.goods-details .footer[data-v-be403f36]{height:%?100?%;position:fixed;bottom:0;left:0;right:0;box-sizing:initial;padding-bottom:env(safe-area-inset-bottom)}.goods-details .footer .btn[data-v-be403f36]{width:%?100?%;height:%?100?%;position:relative;line-height:1.3}.goods-details .footer .cart-num[data-v-be403f36]{position:absolute;left:%?60?%;top:%?6?%}.goods-details .footer .add-cart[data-v-be403f36],\n.goods-details .footer .right-buy[data-v-be403f36],\n.goods-details .footer .consult-btn[data-v-be403f36]{flex:1;text-align:center;padding:%?16?% 0}.goods-details .footer .add-cart[data-v-be403f36]{background-color:#ffa630}.goods-details .footer .right-buy[data-v-be403f36]{background-color:#ff2c3c}.goods-details .footer .consult-btn[data-v-be403f36]{background:linear-gradient(90deg,#ff8e00 0,#ff2c3c)}.goods-details .group-play .title[data-v-be403f36]{padding:%?20?% %?28?%;border-bottom:1px solid #e5e5e5}.goods-details .group-play .steps[data-v-be403f36]{padding:%?20?% %?28?%}.goods-details .group-play .steps .step[data-v-be403f36]{flex:none}.goods-details .group-play .steps .line[data-v-be403f36]{flex:1;border:1px dashed #999;margin:0 %?20?%}.goods-details .group-play .steps .number[data-v-be403f36]{border:%?1?% solid #707070;width:%?28?%;height:%?28?%;border-radius:50%;line-height:%?28?%;text-align:center;margin-right:%?6?%}.goods-details .group-list .group-item[data-v-be403f36]{padding:%?20?% %?24?%}.goods-details .group-list .group-item[data-v-be403f36]:not(:last-of-type){border-bottom:1px solid #e5e5e5}.goods-details .group-list .group-item .group-btn[data-v-be403f36]{background:linear-gradient(90deg,#f95f2f,#ff2c3c);height:%?58?%;padding-left:%?28?%;padding-right:%?28?%;margin-left:%?30?%;box-shadow:0 %?6?% %?12?% rgba(249,47,138,.4)}.goods-details .share-money[data-v-be403f36]{position:fixed;left:%?20?%;bottom:calc(%?130?% + env(safe-area-inset-bottom));-webkit-transform:scale(0);transform:scale(0);transition:all .3s}.goods-details .share-money.show[data-v-be403f36]{-webkit-transform:scale(1);transform:scale(1)}.goods-details .share-money .share-close[data-v-be403f36]{width:%?34?%;height:%?34?%;background:#a7a7a7;border-radius:50%}.goods-details .share-money .share-con[data-v-be403f36]{background:url('+l+");width:%?241?%;height:%?208?%;background-size:100%;padding-top:%?20?%;text-align:center}body.?%PAGE?%[data-v-be403f36]{background-color:#f6f6f6}",""]),t.exports=e},"39f0":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uPopup:i("a821").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("u-popup",{staticClass:"share-popup",attrs:{mode:"bottom","border-radius":"14",closeable:!0,"safe-area-inset-bottom":!0,"mask-close-able":!1},model:{value:t.showshare,callback:function(e){t.showshare=e},expression:"showshare"}},[i("v-uni-view",{staticClass:"flex row-center md bold m-t-30 m-b-30"},[t._v("分享至")]),i("v-uni-view",{staticClass:"flex row-around share-tab"},[i("v-uni-view",{staticClass:"flex-col col--center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPoster.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"share-icon",attrs:{mode:"widthFix",src:"/static/images/icon_generate_poster.png"}}),i("v-uni-view",{staticClass:"m-t-10"},[t._v("生成海报")])],1),i("v-uni-view",{attrs:{oclass:"flex-col col--center"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shareWx.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"share-icon",attrs:{src:"/static/images/icon_wechat.png"}}),i("v-uni-view",{staticClass:"m-t-10"},[t._v("微信好友")])],1)],1),i("v-uni-view",{staticClass:"flex row-center bg-body cancel xl",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showshare=!1}}},[t._v("取消")])],1),i("u-popup",{staticClass:"share-poster",attrs:{mode:"center",closeable:!0,"safe-area-inset-bottom":!0},model:{value:t.showPoster,callback:function(e){t.showPoster=e},expression:"showPoster"}},[i("img",{staticStyle:{width:"640rpx"},attrs:{src:t.poster}}),i("v-uni-button",{staticClass:"flex row-center save-btn",attrs:{size:"lg"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.savePoster.apply(void 0,arguments)}}},[t._v("长按保存图片到相册")])],1),i("u-popup",{staticClass:"share-tips",attrs:{"custom-style":{background:"none"},mode:"top"},model:{value:t.showTips,callback:function(e){t.showTips=e},expression:"showTips"}},[i("v-uni-view",{staticStyle:{overflow:"hidden"}},[i("v-uni-image",{staticClass:"share-arrow",attrs:{src:"/static/images/share_arrow.png"}}),i("v-uni-view",{staticClass:"white",staticStyle:{"text-align":"center","margin-top":"280rpx"}},[i("v-uni-view",{staticClass:"bold lg"},[t._v("立即分享给好友吧")]),i("v-uni-view",{staticClass:"sm m-t-10"},[t._v("点击屏幕右上角将本页面分享给好友")])],1)],1)],1),t.enablePoster?i("poster",{attrs:{type:t.type,"share-id":t.shareId,"page-path":t.pagePath,config:t.config,qrcode:t.mnpQrcode,link:t.getLink},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSuccess.apply(void 0,arguments)},fail:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFail.apply(void 0,arguments)}}}):t._e()],1)},r=[]},"3c05":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t._t("default")],2)},r=[]},"3dc6":function(t,e,i){"use strict";var n=i("7c7d"),a=i.n(n);a.a},"403d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("f4ee"),a={name:"lime-painter-image",mixins:[(0,n.children)("painter")],props:{css:[String,Object],src:String},data:function(){return{type:"image",el:{css:{},src:null}}}};e.default=a},"409c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr4AAADIBAMAAAD8Tf+zAAAAHlBMVEUAAADv7+/k5OTn5+fl5eXm5ubk5OTk5OTl5eX///8aoTc0AAAACHRSTlMAEDBAn6Dv8NSwICYAAAIkSURBVHja7dlREQIxDEXRAoMXpCABCUhAAhZwi4bM5G073bMSzsc2uRnfA77feb/Bly9fvnz58uVb9X3xjfpeP3yTvuPBN+p75xv1vfGN+l748vV/4Ot9M59tuF+8+SZ9n/ZjfYcvX758+fIt+urr4flXX7e/6Q989TP9ly9f/wfvm/mMb9d+oa9HffV1fYcvX758+fLlu5av+0V4v3C/sB/rO3z1yTm++jpf/we+3jfz2Y77hftF1Nf9Qt/hy5cvX758q776enj+1dftb/oDX/1M/+XL1//B+2Y+49u1X+jrUV99Xd/hy5cvX758+a7l634R3i/cL+zH+g5ffXKOr77O1/+Br/fNfLbjfuF+EfV1v9B3+PLly5cv36qvvh6ef/V1+5v+wFc/03/58vV/8L6Zz/h27Rf6etRXX9d3+PLly5cv36qvvh6ef/V1+5v+wFc/03/58vV/8L6Zz/h27Rf6etRXX9d3+PLly5cvX75r+bpfhPcL9wv7sb7DV5+c46uv8/V/4Ot9M5/tuF+4X0R93S/0Hb58+fLly7fqq6+H51993f6mP/DVz/Rfvnz9H7xv5jO+XfuFvh711df1Hb58+fLly5fvWr7uF+H9wv3Cfqzv8NUn5/jq63z9H/h638xnO+4X7hdRX/cLfYcvX758+fKt+urr4flXX7e/6Q989TP9ly9f/wfvm/mMb9d+oa9HffV1fYcvX758+fLly/dE3x8kOVDtActPQAAAAABJRU5ErkJggg=="},"411c":function(t,e,i){"use strict";i.r(e);var n=i("1b73"),a=i("3603");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("53c8");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"ecc0ca30",null,!1,n["a"],o);e["default"]=c.exports},"411d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("f4ee"),a={name:"lime-painter-qrcode",mixins:[(0,n.children)("painter")],props:{css:[String,Object],text:String},data:function(){return{type:"qrcode",el:{css:{},text:null}}}};e.default=a},"43cc":function(t,e,i){"use strict";i.r(e);var n=i("057d"),a=i("f4bc");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("2dff");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"b3cd6f36",null,!1,n["a"],o);e["default"]=c.exports},"47e7":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{currentSwiper:0,offset:0,barLeft:0}},components:{},props:{progressBarColor:{type:String,default:"#01B55B"},progressWidth:{type:Number,default:90},progressHeight:{type:Number,default:6},progressColor:{type:String,default:"#E5E5E5"},left:{type:Number,default:0},barWidth:{type:Number,default:30}},watch:{left:function(t){this.barLeft=t/100*this.offset}},beforeMount:function(){this.offset=this.progressWidth-this.barWidth},destroyed:function(){},methods:{}};e.default=n},"481f":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".swiper-wrap[data-v-7b684644]{width:100%;height:%?750?%;position:relative}.swiper-wrap .swiper[data-v-7b684644]{width:100%;height:100%;position:relative}.swiper-wrap .swiper .slide-image[data-v-7b684644]{width:100%;height:100%}.swiper-wrap .dots[data-v-7b684644]{position:absolute;right:%?24?%;bottom:%?24?%;display:flex;height:%?34?%;padding:0 %?15?%}.swiper-wrap .video-wrap[data-v-7b684644]{width:100%;height:100%;position:relative;overflow:hidden}.swiper-wrap .my-video[data-v-7b684644]{width:100%;height:100%}.swiper-wrap .icon-play[data-v-7b684644]{width:%?90?%;height:%?90?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:999}",""]),t.exports=e},"487a":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".lime-painter[data-v-5996030f], .lime-painter__canvas[data-v-5996030f]{\nwidth:100%;\n}",""]),t.exports=e},"4bdb":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.get-coupon .coupons[data-v-41e79f42]{padding:%?24?% %?24?%}.get-coupon .coupons .text[data-v-41e79f42]{width:%?100?%;flex:none}.get-coupon .coupons .con[data-v-41e79f42]{width:%?400?%}.get-coupon .coupons .coupons-item[data-v-41e79f42]{overflow:hidden}.get-coupon .coupons .coupons-item > uni-view[data-v-41e79f42]{position:relative;height:%?40?%;line-height:%?40?%;padding:0 %?18?%;border-radius:%?6?%;box-sizing:border-box;background-color:#ff2c3c;color:#fff;white-space:nowrap;overflow:hidden}.get-coupon .coupons .coupons-item > uni-view[data-v-41e79f42]::after, .get-coupon .coupons .coupons-item > uni-view[data-v-41e79f42]::before{content:"";display:block;width:%?20?%;height:%?20?%;position:absolute;left:%?-14?%;background-color:#fff;border-radius:50%;border:1px solid currentColor;box-sizing:border-box}.get-coupon .coupons .coupons-item > uni-view[data-v-41e79f42]::after{right:%?-14?%;left:auto}',""]),t.exports=e},"4c2e":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.goods-column .column-wrap[data-v-7aa69189]{display:inline-block;white-space:nowrap;padding:%?30?%}.goods-column .column-wrap .item[data-v-7aa69189]{display:inline-block;position:relative;overflow:hidden}.goods-column .column-wrap .item .title[data-v-7aa69189]{position:relative;z-index:1}.goods-column .column-wrap .item .line[data-v-7aa69189]{position:absolute;top:%?32?%;left:0;width:%?144?%;height:%?12?%;background:linear-gradient(90deg,#ff2c3c,rgba(255,44,60,0))}',""]),t.exports=e},"4c9d":function(t,e,i){var n=i("0200");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("b82d5cc6",n,!0,{sourceMap:!1,shadowMode:!1})},"4cee":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uImage:i("7171").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bubble-tips-container",style:{top:t.top,left:t.left}},t._l(t.currentList,(function(e){return i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.showBubble,expression:"showBubble"}],key:e.id,staticClass:"bubble-content row"},[i("u-image",{staticClass:"bubble-img",attrs:{width:"50rpx",height:"50rpx",src:e.user.avatar,"border-radius":"50%"}}),i("v-uni-view",{staticClass:"xs"},[t._v(t._s(e.template))])],1)})),1)},r=[]},"4d02":function(t,e,i){"use strict";i.r(e);var n=i("bae6"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"4d7d":function(t,e,i){"use strict";var n=i("55c6"),a=i.n(n);a.a},"4e52":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.canvasId&&t.size?i("v-uni-view",{staticClass:"lime-painter",style:t.size+t.customStyle},[t.use2dCanvas?i("v-uni-canvas",{staticClass:"lime-painter__canvas",style:t.size,attrs:{id:t.canvasId,type:"2d"}}):i("v-uni-canvas",{staticClass:"lime-painter__canvas",style:t.size,attrs:{"canvas-id":t.canvasId,id:t.canvasId,width:t.boardWidth*t.dpr,height:t.boardHeight*t.dpr}}),t._t("default")],2):t._e()},r=[]},"4e62":function(t,e,i){var n=i("481f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("3275b0f4",n,!0,{sourceMap:!1,shadowMode:!1})},"501d":function(t,e,i){"use strict";i.r(e);var n=i("6e68"),a=i("df4a");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("dbc5");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"7b684644",null,!1,n["a"],o);e["default"]=c.exports},5048:function(t,e,i){"use strict";i.r(e);var n=i("403d"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},5176:function(t,e,i){"use strict";i.r(e);var n=i("5c92"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"53c8":function(t,e,i){"use strict";var n=i("6dc5"),a=i.n(n);a.a},"55a0":function(t,e,i){"use strict";i.r(e);var n=i("a878"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"55c6":function(t,e,i){var n=i("a00d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("16791d4e",n,!0,{sourceMap:!1,shadowMode:!1})},"55d5":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle:function(){var t={};return t.width=this.size+"rpx",t.height=this.size+"rpx","circle"==this.mode&&(t.borderColor="#e4e4e4 #e4e4e4 #e4e4e4 ".concat(this.color?this.color:"#c7c7c7")),t}}};e.default=n},5756:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-waterfall[data-v-7664bcb0]{display:flex;flex-direction:row;flex-direction:row;align-items:flex-start}.u-column[data-v-7664bcb0]{display:flex;flex-direction:row;flex:1;flex-direction:column;height:auto}.u-image[data-v-7664bcb0]{width:100%}',""]),t.exports=e},5858:function(t,e,i){var n=i("39a4");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("688af0ec",n,!0,{sourceMap:!1,shadowMode:!1})},5990:function(t,e,i){var n=i("09c1");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("2693f32d",n,!0,{sourceMap:!1,shadowMode:!1})},"5aa3":function(t,e,i){"use strict";i.r(e);var n=i("2629"),a=i("782d");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("6161");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"7aa69189",null,!1,n["a"],o);e["default"]=c.exports},"5bb5":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-countdown[data-v-ecc0ca30]{display:inline-flex;align-items:center}.u-countdown-item[data-v-ecc0ca30]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:%?2?%;border-radius:%?6?%;white-space:nowrap;-webkit-transform:translateZ(0);transform:translateZ(0)}.u-countdown-time[data-v-ecc0ca30]{margin:0;padding:0}.u-countdown-colon[data-v-ecc0ca30]{display:flex;flex-direction:row;justify-content:center;padding:0 %?5?%;align-items:center;padding-bottom:%?4?%}.u-countdown-scale[data-v-ecc0ca30]{-webkit-transform:scale(.9);transform:scale(.9);-webkit-transform-origin:center center;transform-origin:center center}',""]),t.exports=e},"5c92":function(t,e,i){"use strict";i("a9e3"),i("e25e"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={computed:{posterUrl:function(){return this.poster?this.poster:this.url+"?x-oss-process=video/snapshot,t_"+parseInt(1e3*this.currentTime)+",f_jpg,w_800,m_fast"}},created:function(){this.videoId=Date.now()+Math.ceil(1e7*Math.random())+""},mounted:function(){this.VideoContext=uni.createVideoContext(this.videoId,this)},methods:{fullscreenchange:function(t){this.state=t.detail.fullScreen},timeupdate:function(t){this.duration=t.detail.duration,this.currentTime=t.detail.currentTime}},watch:{state:function(t,e){var i=this;t?(this.VideoContext.play(),setTimeout((function(){i.VideoContext.requestFullScreen({direction:i.direction})}),10)):this.VideoContext.pause()}},data:function(){return{VideoContext:{},state:!1,currentTime:0,duration:0,videoId:""}},props:{poster:{type:[String,Boolean],default:function(){return""}},url:{type:String,default:function(){return""}},direction:{type:Number,default:function(){return 0}},width:{type:String,default:function(){return"750rpx"}},height:{type:String,default:function(){return"450rpx"}}}};e.default=n},6062:function(t,e,i){"use strict";var n=i("6d61"),a=i("6566");t.exports=n("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),a)},"610f":function(t,e,i){"use strict";i.r(e);var n=i("39f0"),a=i("f732");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("092f");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"c1f7caee",null,!1,n["a"],o);e["default"]=c.exports},6161:function(t,e,i){"use strict";var n=i("318b"),a=i.n(n);a.a},"61c0":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-loading",class:"circle"==t.mode?"u-loading-circle":"u-loading-flower",style:[t.cricleStyle]}):t._e()},r=[]},"636b":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uIcon:i("4569").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[i("v-uni-view",{staticClass:"u-navbar",class:{"u-navbar-fixed":t.isFixed,"u-border-bottom":t.borderBottom},style:[t.navbarStyle]},[i("v-uni-view",{staticClass:"u-status-bar",style:{height:t.statusBarHeight+"px"}}),i("v-uni-view",{staticClass:"u-navbar-inner",style:[t.navbarInnerStyle]},[t.isBack?i("v-uni-view",{staticClass:"u-back-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"u-icon-wrap",style:{backgroundColor:t.backBg,borderRadius:"50%",padding:"8rpx"}},[i("u-icon",{attrs:{name:t.isHome?"home":t.backIconName,color:t.backIconColor,size:t.backIconSize}})],1),t.backText?i("v-uni-view",{staticClass:"u-icon-wrap u-back-text u-line-1",style:[t.backTextStyle]},[t._v(t._s(t.backText))]):t._e()],1):t._e(),t.title?i("v-uni-view",{staticClass:"u-navbar-content-title",style:[t.titleStyle]},[i("v-uni-view",{staticClass:"u-title u-line-1",style:{color:t.titleColor,fontSize:t.titleSize+"rpx",fontWeight:t.titleBold?"bold":"normal"}},[t._v(t._s(t.title))])],1):t._e(),i("v-uni-view",{staticClass:"u-slot-content"},[t._t("default")],2),i("v-uni-view",{staticClass:"u-slot-right"},[t._t("right")],2)],1)],1),t.isFixed&&!t.immersive?i("v-uni-view",{staticClass:"u-navbar-placeholder",style:{width:"100%",height:Number(t.navbarHeight)+t.statusBarHeight+"px"}}):t._e()],1)},r=[]},6566:function(t,e,i){"use strict";var n=i("9bf2").f,a=i("7c73"),r=i("e2cc"),o=i("0366"),s=i("19aa"),c=i("2266"),u=i("7dd0"),l=i("2626"),d=i("83ab"),f=i("f183").fastKey,h=i("69f3"),p=h.set,v=h.getterFor;t.exports={getConstructor:function(t,e,i,u){var l=t((function(t,n){s(t,l,e),p(t,{type:e,index:a(null),first:void 0,last:void 0,size:0}),d||(t.size=0),void 0!=n&&c(n,t[u],t,i)})),h=v(e),g=function(t,e,i){var n,a,r=h(t),o=m(t,e);return o?o.value=i:(r.last=o={index:a=f(e,!0),key:e,value:i,previous:n=r.last,next:void 0,removed:!1},r.first||(r.first=o),n&&(n.next=o),d?r.size++:t.size++,"F"!==a&&(r.index[a]=o)),t},m=function(t,e){var i,n=h(t),a=f(e);if("F"!==a)return n.index[a];for(i=n.first;i;i=i.next)if(i.key==e)return i};return r(l.prototype,{clear:function(){var t=this,e=h(t),i=e.index,n=e.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete i[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:t.size=0},delete:function(t){var e=this,i=h(e),n=m(e,t);if(n){var a=n.next,r=n.previous;delete i.index[n.index],n.removed=!0,r&&(r.next=a),a&&(a.previous=r),i.first==n&&(i.first=a),i.last==n&&(i.last=r),d?i.size--:e.size--}return!!n},forEach:function(t){var e,i=h(this),n=o(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:i.first){n(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!m(this,t)}}),r(l.prototype,i?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),d&&n(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(t,e,i){var n=e+" Iterator",a=v(e),r=v(n);u(t,e,(function(t,e){p(this,{type:n,target:t,state:a(t),kind:e,last:void 0})}),(function(){var t=r(this),e=t.kind,i=t.last;while(i&&i.removed)i=i.previous;return t.target&&(t.last=i=i?i.next:t.state.first)?"keys"==e?{value:i.key,done:!1}:"values"==e?{value:i.value,done:!1}:{value:[i.key,i.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),i?"entries":"values",!i,!0),l(e)}}},"65a7":function(t,e,i){var n=i("24fb"),a=i("1de5"),r=i("eeeb"),o=i("409c");e=n(!1);var s=a(r),c=a(o);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.coupon-list[data-v-52b336c6]{padding:0 %?24?%;overflow:hidden}.coupon-list .coupon-item[data-v-52b336c6]{position:relative;height:%?200?%;background-image:url('+s+");background-size:100% 100%}.coupon-list .coupon-item.gray[data-v-52b336c6]{background-image:url("+c+")}.coupon-list .coupon-item.gray .btn.plain[data-v-52b336c6]{color:#ccc}.coupon-list .coupon-item .price[data-v-52b336c6]{width:%?200?%}.coupon-list .coupon-item .btn[data-v-52b336c6]{line-height:%?52?%;height:%?52?%;position:absolute;right:%?20?%;bottom:%?20?%;width:%?120?%;text-align:center;padding:0}.coupon-list .coupon-item .btn.plain[data-v-52b336c6]{background-color:#fff;color:#ff2c3c;border:1px solid currentColor}.coupon-list .coupon-item .receive[data-v-52b336c6]{position:absolute;right:%?30?%;top:%?0?%;width:%?99?%;height:%?77?%}.coupon-list .icon[data-v-52b336c6]{transition:all .4s}.coupon-list .rotate[data-v-52b336c6]{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}",""]),t.exports=e},"683d":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-numberbox[data-v-1d01409a]{display:inline-flex;align-items:center}.u-number-input[data-v-1d01409a]{position:relative;text-align:center;padding:0;margin:0 %?6?%;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-icon-plus[data-v-1d01409a],\n.u-icon-minus[data-v-1d01409a]{width:%?60?%;display:flex;flex-direction:row;justify-content:center;align-items:center}.u-icon-plus[data-v-1d01409a]{border-radius:0 %?8?% %?8?% 0}.u-icon-minus[data-v-1d01409a]{border-radius:%?8?% 0 0 %?8?%}.u-icon-disabled[data-v-1d01409a]{color:#c8c9cc!important;background:#f7f8fa!important}.u-input-disabled[data-v-1d01409a]{color:#c8c9cc!important;background-color:#f2f3f5!important}',""]),t.exports=e},"6c57":function(t,e,i){var n=i("23e7"),a=i("da84");n({global:!0},{globalThis:a})},"6c66":function(t,e,i){"use strict";var n=i("5858"),a=i.n(n);a.a},"6d61":function(t,e,i){"use strict";var n=i("23e7"),a=i("da84"),r=i("94ca"),o=i("6eeb"),s=i("f183"),c=i("2266"),u=i("19aa"),l=i("861d"),d=i("d039"),f=i("1c7e"),h=i("d44e"),p=i("7156");t.exports=function(t,e,i){var v=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),m=v?"set":"add",b=a[t],w=b&&b.prototype,x=b,y={},A=function(t){var e=w[t];o(w,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:function(t,i){return e.call(this,0===t?0:t,i),this})};if(r(t,"function"!=typeof b||!(g||w.forEach&&!d((function(){(new b).entries().next()})))))x=i.getConstructor(e,t,v,m),s.REQUIRED=!0;else if(r(t,!0)){var S=new x,k=S[m](g?{}:-0,1)!=S,C=d((function(){S.has(1)})),_=f((function(t){new b(t)})),I=!g&&d((function(){var t=new b,e=5;while(e--)t[m](e,e);return!t.has(-0)}));_||(x=e((function(e,i){u(e,x,t);var n=p(new b,e,x);return void 0!=i&&c(i,n[m],n,v),n})),x.prototype=w,w.constructor=x),(C||I)&&(A("delete"),A("has"),v&&A("get")),(I||k)&&A(m),g&&w.clear&&delete w.clear}return y[t]=x,n({global:!0,forced:x!=b},y),h(x,t),g||i.setStrong(x,t,v),x}},"6dc5":function(t,e,i){var n=i("5bb5");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("5e8887fb",n,!0,{sourceMap:!1,shadowMode:!1})},"6e44":function(t,e,i){"use strict";i.r(e);var n=i("7f9d"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"6e68":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={jVideo:i("7ac1").default,uImage:i("7171").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"swiper-wrap"},[i("v-uni-swiper",{ref:"swiper",staticClass:"swiper",attrs:{autoplay:t.autoplay,circular:t.circular,interval:t.interval,duration:t.duration},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChange.apply(void 0,arguments)}}},[t.video?i("v-uni-swiper-item",[i("v-uni-view",{staticClass:"video-wrap"},[i("j-video",{attrs:{url:t.video,height:"750rpx",width:"750rpx",poster:t.poster}})],1)],1):t._e(),t._l(t.urls,(function(e,n){return[i("v-uni-swiper-item",{key:n+"_0",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.previewImage(n)}}},[i("u-image",{attrs:{width:"100%",height:"750rpx",src:e.url,borderRadius:t.borderRadius}})],1)]}))],2),i("v-uni-view",{staticClass:"dots black sm bg-white br60"},[t._v(t._s(t.currentSwiper+1)+"/"+t._s(t.swiperLength))])],1)},r=[]},"6f28":function(t,e,i){"use strict";i.r(e);var n=i("b6f7"),a=i("f389");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("1b4d");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"285eab10",null,!1,n["a"],o);e["default"]=c.exports},"6f87":function(t,e,i){"use strict";i.r(e);var n=i("eadb"),a=i("fab5");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("c989");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"1d01409a",null,!1,n["a"],o);e["default"]=c.exports},"6fed":function(t,e,i){"use strict";i.r(e);var n=i("d05d"),a=i("5048");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"436063a2",null,!1,n["a"],o);e["default"]=c.exports},"76dc":function(t,e,i){"use strict";i.r(e);var n=i("1938"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},7758:function(t,e,i){"use strict";i.r(e);var n=i("9baa"),a=i("b2c5");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("d8a5");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"52b336c6",null,!1,n["a"],o);e["default"]=c.exports},"778d":function(t,e,i){"use strict";i.r(e);var n=i("61c0"),a=i("0760");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("4d7d");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"60256ec8",null,!1,n["a"],o);e["default"]=c.exports},"782d":function(t,e,i){"use strict";i.r(e);var n=i("fb78"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"79d8":function(t,e,i){"use strict";i.r(e);var n=i("3323"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"7ac1":function(t,e,i){"use strict";i.r(e);var n=i("d197"),a=i("5176");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("c450");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"41322535",null,!1,n["a"],o);e["default"]=c.exports},"7bf5":function(t,e,i){i("a4d3"),i("e01a"),i("d28b"),i("cb29"),i("4de4"),i("4160"),i("caad"),i("c975"),i("baa5"),i("d81d"),i("13d5"),i("fb6a"),i("6c57"),i("b64b"),i("d3b7"),i("07ac"),i("acd8"),i("ac1f"),i("2532"),i("3ca3"),i("466d"),i("5319"),i("1276"),i("2ca0"),i("498a"),i("159b"),i("ddb0"),function(t,i){i(e)}(0,(function(t){"use strict";
|
||
/*! *****************************************************************************
|
||
Copyright (c) Microsoft Corporation.
|
||
|
||
Permission to use, copy, modify, and/or distribute this software for any
|
||
purpose with or without fee is hereby granted.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
PERFORMANCE OF THIS SOFTWARE.
|
||
***************************************************************************** */var e,i=function(){return(i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)};function n(t,e,i,n){return new(i||(i=Promise))((function(a,r){function o(t){try{c(n.next(t))}catch(t){r(t)}}function s(t){try{c(n.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}c((n=n.apply(t,e||[])).next())}))}function a(t,e){var i,n,a,r,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=2&r[0]?n.return:r[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,r[1])).done)return a;switch(n=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!((a=a.length>0&&a[a.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){o.label=r[1];break}if(6===r[0]&&o.label<a[1]){o.label=a[1],a=r;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(r);break}a[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(t,o)}catch(t){r=[6,t],n=0}finally{i=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}var r={upx2px:function(t){return window.innerWidth/750*t},getSystemInfoSync:function(){return{screenWidth:window.innerWidth}},getImageInfo:function(t){var e=t.src,i=t.success,n=t.fail,a=new Image;a.onload=function(){i({width:this.naturalWidth,height:this.naturalHeight,path:this.src,src:e})},a.onerror=n,a.src=e}},o="object"==typeof swan?"mp-baidu":"object"==typeof tt?"mp-toutao":"object"==typeof plus?"plus":"object"==typeof window?"undefined"==typeof uni||"undefined"!=typeof uni&&!(null===uni||void 0===uni?void 0:uni.addInterceptor)?"web":"h5":"mp-weixin",s="mp-weixin"==o?wx:"mp-toutao"==o?tt:"undefined"!=typeof uni?uni.upx2px?uni:Object.assign(uni,r):"undefined"!=typeof window?r:uni;if(!s.upx2px){var c=(null!==(e=s.getSystemInfoSync().screenWidth)&&void 0!==e?e:375)/750;s.upx2px=function(t){return c*t}}function u(t){return/^-?\d+(\.\d+)?$/.test(t)}function l(t,e,i){if("number"==typeof t)return t;if(u(t))return 1*t;if("string"==typeof t){var n=/^-?([0-9]+)?([.]{1}[0-9]+){0,1}(em|rpx|px|%)$/g.exec(t);if(!t||!n)return 0;var a=n[3];t=parseFloat(t);var r=0;return"rpx"===a?r=s.upx2px(t):"px"===a?r=1*t:"%"===a&&e?r=t*l(e)/100:"em"===a&&e&&(r=t*l(e||14)),i?1*r.toFixed(2):Math.round(r)}return 0}function d(t){var e=this;return new Promise((function(i,r){return n(e,void 0,void 0,(function(){var e,n;return a(this,(function(a){switch(a.label){case 0:if(e=t,"plus"!=o&&!/^mp/.test(o)||!/data:image\/(\w+);base64,(.*)/.test(t))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(c=t,new Promise((function(t,e){var i=/data:image\/(\w+);base64,(.*)/.exec(c)||[],n=i[1];if(i[2],/^mp/.test(o)){var a=s.getFileSystemManager();n||(console.error("ERROR_BASE64SRC_PARSE"),e(new Error("ERROR_BASE64SRC_PARSE")));var r=(new Date).getTime(),u=s.env.USER_DATA_PATH+"/"+r+"."+n;a.writeFile({filePath:u,data:c.replace(/^data:\S+\/\S+;base64,/,""),encoding:"base64",success:function(){t(u)},fail:function(t){console.error("获取base64图片失败",JSON.stringify(t)),e(t)}})}else if("plus"!=o)e(new Error("not support"));else{var l=c.split(",")[0].match(/data\:\S+\/(\S+);/);l?l=l[1]:e(new Error("base64 error"));var d=Date.now()+"."+l,f="_doc",h="uniapp_temp",p="_doc/uniapp_temp/"+d;if(!function(t,e){for(var i=t.split("."),n=e.split("."),a=!1,r=0;r<n.length;r++){var o=i[r]-n[r];if(0!==o){a=o>0;break}}return a}("Android"===plus.os.name?"1.9.9.80627":"1.9.9.80472",plus.runtime.innerVersion))return void plus.io.resolveLocalFileSystemURL(f,(function(i){i.getDirectory(h,{create:!0,exclusive:!1},(function(i){i.getFile(d,{create:!0,exclusive:!1},(function(i){i.createWriter((function(i){var n;i.onwrite=function(){t(p)},i.onerror=e,i.seek(0),i.writeAsBinary((n=c.split(","))[n.length-1])}),e)}),e)}),e)}),e);var v=new plus.nativeObj.Bitmap(d);v.loadBase64Data(c,(function(){v.save(p,{},(function(){v.clear(),t(p)}),(function(t){v.clear(),e(t)}))}),(function(t){v.clear(),e(t)}))}})))];case 2:return e=a.sent(),[3,4];case 3:return n=a.sent(),console.log(n),[3,4];case 4:return s.getImageInfo({src:e,success:function(t){return i(t)},fail:function(t){return r(t)}}),[2]}var c}))}))}))}var f=function(t){return!(!t||!t.startsWith("linear")&&!t.startsWith("radial"))},h=function(t,e,i,n,a,r){t.startsWith("linear")?function(t,e,i,n,a,r){for(var o=function(t,e,i,n,a){void 0===n&&(n=0),void 0===a&&(a=0);var r=t.match(/([-]?\d{1,3})deg/),o=r&&r[1]?parseFloat(r[1]):0;if(o>=360&&(o-=360),o<0&&(o+=360),0===(o=Math.round(o)))return{x0:Math.round(e/2)+n,y0:i+a,x1:Math.round(e/2)+n,y1:a};if(180===o)return{x0:Math.round(e/2)+n,y0:a,x1:Math.round(e/2)+n,y1:i+a};if(90===o)return{x0:n,y0:Math.round(i/2)+a,x1:e+n,y1:Math.round(i/2)+a};if(270===o)return{x0:e+n,y0:Math.round(i/2)+a,x1:n,y1:Math.round(i/2)+a};var s=Math.round(180*Math.asin(e/Math.sqrt(Math.pow(e,2)+Math.pow(i,2)))/Math.PI);if(o===s)return{x0:n,y0:i+a,x1:e+n,y1:a};if(o===180-s)return{x0:n,y0:a,x1:e+n,y1:i+a};if(o===180+s)return{x0:e+n,y0:a,x1:n,y1:i+a};if(o===360-s)return{x0:e+n,y0:i+a,x1:n,y1:a};var c,u=0,l=0,d=0,f=0;if(o<s||o>180-s&&o<180||o>180&&o<180+s||o>360-s){var h=o*Math.PI/180,p=o<s||o>360-s?i/2:-i/2,v=Math.tan(h)*p,g=o<s||o>180-s&&o<180?e/2-v:-e/2-v;u=-(d=v+(c=Math.pow(Math.sin(h),2)*g)),l=-(f=p+c/Math.tan(h))}(o>s&&o<90||o>90&&o<90+s||o>180+s&&o<270||o>270&&o<360-s)&&(h=(90-o)*Math.PI/180,v=o>s&&o<90||o>90&&o<90+s?e/2:-e/2,p=Math.tan(h)*v,g=o>s&&o<90||o>270&&o<360-s?i/2-p:-i/2-p,u=-(d=v+(c=Math.pow(Math.sin(h),2)*g)/Math.tan(h)),l=-(f=p+c));return u=Math.round(u+e/2)+n,l=Math.round(i/2-l)+a,d=Math.round(d+e/2)+n,f=Math.round(i/2-f)+a,{x0:u,y0:l,x1:d,y1:f}}(a,t,e,i,n),s=o.x0,c=o.y0,u=o.x1,l=o.y1,d=r.createLinearGradient(s,c,u,l),f=a.match(/linear-gradient\((.+)\)/)[1],h=p(f.substring(f.indexOf(",")+1)),v=0;v<h.colors.length;v++)d.addColorStop(h.percents[v],h.colors[v]);r.setFillStyle(d)}(e,i,n,a,t,r):t.startsWith("radial")&&function(t,e,i,n,a,r){for(var o=p(a.match(/radial-gradient\((.+)\)/)[1]),s=Math.round(t/2)+i,c=Math.round(e/2)+n,u=r.createRadialGradient(s,c,0,s,c,Math.max(t,e)/2),l=0;l<o.colors.length;l++)u.addColorStop(o.percents[l],o.colors[l]);r.setFillStyle(u)}(e,i,n,a,t,r)};function p(t){for(var e=[],i=[],n=0,a=t.substring(0,t.length-1).split("%,");n<a.length;n++){var r=a[n];e.push(r.substring(0,r.lastIndexOf(" ")).trim()),i.push(r.substring(r.lastIndexOf(" "),r.length)/100)}return{colors:e,percents:i}}function v(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function g(){return(g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}var m=0,b={left:null,top:null,width:null,height:null},w=function(){function t(t,e,i,n){var a=this;v(this,"id",m++),v(this,"style",{left:null,top:null,width:null,height:null}),v(this,"computedStyle",{}),v(this,"children",{}),v(this,"layoutBox",g({},b)),v(this,"contentSize",g({},b,{maxLineHeight:0})),v(this,"clientSize",g({},b)),v(this,"borderSize",g({},b)),v(this,"offsetSize",g({},b)),this.ctx=n,this.root=i,e&&(this.parent=e),this.name=t.name||t.type,this.attributes=this.getAttributes(t);var r=this.getComputedStyle(t,null==e?void 0:e.computedStyle);this.isAbsolute="absolute"==r.position,this.isFixed="fixed"==r.position,Object.keys(r).forEach((function(t){Object.defineProperty(a.style,t,{configurable:!0,enumerable:!0,get:function(){return r[t]},set:function(e){r[t]=e}})}));var o={contentSize:g({},this.contentSize),clientSize:g({},this.clientSize),borderSize:g({},this.borderSize),offsetSize:g({},this.offsetSize)};Object.keys(o).forEach((function(t){Object.keys(a[t]).forEach((function(e){Object.defineProperty(a[t],e,{configurable:!0,enumerable:!0,get:function(){return o[t][e]},set:function(i){o[t][e]=i}})}))})),this.computedStyle=this.style}var e=t.prototype;return e.add=function(t){t.parent=this,this.children[t.id]=t},e.remove=function(t){var e=this;t?this.children[t.id]&&(t.remove(),delete this.children[t.id]):Object.keys(this.children).forEach((function(t){e.children[t].remove(),delete e.children[t]}))},e.getChildren=function(){var t=this;return Object.keys(this.children).map((function(e){return t.children[e]}))},e.getComputedStyle=function(t,e){var i=["color","fontSize","lineHeight","verticalAlign","fontWeight","textAlign"],n=t.css,a=void 0===n?{}:n,r=t.type,o=void 0===r?"view":r,s={};if(e)for(var c=0;c<i.length;c++){var d=i[c];(a[d]||e[d])&&(a[d]=a[d]||e[d])}for(var f=function(){var t=p[h],e=a[t];if(/^(box)?shadow$/i.test(t)){var i=e.split(" ").map((function(t){return/^\d/.test(t)?l(t):t}));return s.boxShadow=i,"continue"}if(/^border/i.test(t)&&!/radius$/i.test(t)){var n,r=t.match(/^border([BTRLa-z]+)?/)[0],c=t.match(/[W|S|C][a-z]+/),d=e.replace(/([\(,])\s+|\s+([\),])/g,"$1$2").split(" ").map((function(t){return/^\d/.test(t)?l(t,"",!0):t}));return s[r]=((n={})[r+"Width"]=(u(d[0])?d[0]:0)||1,n[r+"Style"]=d[1]||"solid",n[r+"Color"]=d[2]||"black",n),1==d.length&&c&&(s[r][r+c[0]]=d[0]),"continue"}if(/^background(color)?$/i.test(t))return s.backgroundColor=e,"continue";if(/^objectPosition$/i.test(t))return s[t]=e.split(" "),"continue";if(/padding|margin|radius/i.test(t)){var f=/radius$/i.test(t),v=f?"borderRadius":t.match(/[a-z]+/)[0],g=[0,0,0,0].map((function(t,e){return f?["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"][e]:[v+"Top",v+"Right",v+"Bottom",v+"Left"][e]}));if("padding"===t||"margin"===t||/^(border)?radius$/i.test(t)){var m,b=(null==e?void 0:e.split(" ").map((function(e){return/^\d+(rpx|px)?$/.test(e)?l(e):"margin"!=t&&/auto/.test(e)?0:e}),[]))||[0],w=f?"borderRadius":t,x=b[0],y=b[1],A=b[2],S=b[3];s[w]=((m={})[g[0]]="auto"==x?0:x,m[g[1]]=u(y)?y:x,m[g[2]]="auto"==(u(A)?A:x)?0:u(A)?A:x,m[g[3]]=u(S)?S:y||x,m)}else{var k;"object"==typeof s[v]||(s[v]=((k={})[g[0]]=s[v]||0,k[g[1]]=s[v]||0,k[g[2]]=s[v]||0,k[g[3]]=s[v]||0,k)),s[v][t]="margin"==v&&"auto"==e||/%$/.test(e)?e:l(e)}return"continue"}if(/^transform$/i.test(t))return s[t]={},e.replace(/([a-zA-Z]+)\(([0-9,-\.%rpxdeg\s]+)\)/g,(function(e,i,n){var r=n.split(",").map((function(t){return t.replace(/(^\s*)|(\s*$)/g,"")})),o=function(t,e){return t.includes("deg")?1*t:e&&!/%$/.test(e)?l(t,e):t};i.includes("matrix")?s[t][i]=r.map((function(t){return 1*t})):i.includes("rotate")?s[t][i]=1*n.match(/^-?\d+(\.\d+)?/)[0]:/[X, Y]/.test(i)?s[t][i]=/[X]/.test(i)?o(r[0],a.width):o(r[0],a.height):(s[t][i+"X"]=o(r[0],a.width),s[t][i+"Y"]=o(r[1]||r[0],a.height))})),"continue";/^left|top$/i.test(t)&&!["absolute","fixed"].includes(a.position)?s[t]=0:s[t]=/^[\d\.]+(px|rpx)?$/.test(e)?l(e):/em$/.test(e)&&"text"==o?l(e,a.fontSize):e},h=0,p=Object.keys(a);h<p.length;h++)f();return s},e.setPosition=function(t,e){var i={left:"width",top:"height",right:"width",bottom:"height"};Object.keys(i).forEach((function(n){["right","bottom"].includes(n)&&void 0!==t.style[n]?t.style["right"==n?"left":"top"]=e[i[n]]-t.offsetSize[i[n]]-l(t.style[n],e[i[n]]):t.style[n]=l(t.style[n],e[i[n]])}))},e.getAttributes=function(t){var e=t.attributes||{};return(null!=t&&t.url||null!=t&&t.src)&&(e.src=e.src||t.url||(null==t?void 0:t.src)),t.replace&&(e.replace=t.replace),null!=t&&t.text&&(e.text=t.text),e},e.getOffsetSize=function(t,e,i){void 0===i&&(i="offsetSize");var n=e||{},a=n.margin,r=(a=void 0===a?{}:a).marginLeft,o=void 0===r?0:r,s=a.marginTop,c=void 0===s?0:s,u=a.marginRight,l=void 0===u?0:u,d=a.marginBottom,f=void 0===d?0:d,h=n.padding,p=(h=void 0===h?{}:h).paddingLeft,v=void 0===p?0:p,g=h.paddingTop,m=void 0===g?0:g,b=h.paddingRight,w=void 0===b?0:b,x=h.paddingBottom,y=void 0===x?0:x,A=n.border,S=(A=void 0===A?{}:A).borderWidth,k=void 0===S?0:S,C=n.borderTop,_=(C=void 0===C?{}:C).borderTopWidth,I=void 0===_?k:_,z=n.borderBottom,T=(z=void 0===z?{}:z).borderBottomWidth,B=void 0===T?k:T,P=n.borderRight,R=(P=void 0===P?{}:P).borderRightWidth,j=void 0===R?k:R,O=n.borderLeft,L=(O=void 0===O?{}:O).borderLeftWidth,M=void 0===L?k:L;return"contentSize"==i&&(this[i].left=t.left+o+v+M,this[i].top=t.top+c+m+I,this[i].width=t.width,this[i].height=t.height),"clientSize"==i&&(this[i].left=t.left+o+M,this[i].top=t.top+c+I,this[i].width=t.width+v+w,this[i].height=t.height+m+y),"borderSize"==i&&(this[i].left=t.left+o+M/2,this[i].top=t.top+c+I/2,this[i].width=t.width+v+w+M/2+j/2,this[i].height=t.height+m+y+B/2+I/2),"offsetSize"==i&&(this[i].left=t.left,this[i].top=t.top,this[i].width=t.width+v+w+M+j+o+l,this[i].height=t.height+m+y+B+I+f+c),this[i]},e.layoutBoxUpdate=function(t,e,i,n){if(void 0===i&&(i=""),"border-box"==(null==e?void 0:e.boxSizing)){var a=e||{},r=a.border,o=(r=void 0===r?{}:r).borderWidth,s=void 0===o?0:o,c=a.borderTop,u=(c=void 0===c?{}:c).borderTopWidth,l=void 0===u?s:u,d=a.borderBottom,f=(d=void 0===d?{}:d).borderBottomWidth,h=void 0===f?s:f,p=a.borderRight,v=(p=void 0===p?{}:p).borderRightWidth,g=void 0===v?s:v,m=a.borderLeft,b=(m=void 0===m?{}:m).borderLeftWidth,w=void 0===b?s:b,x=a.padding,y=(x=void 0===x?{}:x).paddingTop,A=void 0===y?0:y,S=x.paddingRight,k=void 0===S?0:S,C=x.paddingBottom,_=void 0===C?0:C,I=x.paddingLeft,z=void 0===I?0:I;"width"==i&&(t.width-=z+k+g+w),"height"!=i||n||(t.height-=A+_+l+h)}this.layoutBox.contentSize=this.getOffsetSize(t,e,"contentSize"),this.layoutBox.clientSize=this.getOffsetSize(t,e,"clientSize"),this.layoutBox.borderSize=this.getOffsetSize(t,e,"borderSize"),this.layoutBox.offsetSize=this.getOffsetSize(t,e,"offsetSize"),this.layoutBox=Object.assign({},this.layoutBox,this.layoutBox.borderSize)},e.getBoxPosition=function(t){var e=this.computedStyle,i=this.getChildren(),n=e.verticalAlign,a=e.left,r=void 0===a?0:a,o=e.top,s=void 0===o?0:o,c=g({},this.contentSize,{left:r,top:s}),u=this.contentSize.top-this.offsetSize.top,l=this.contentSize.left-this.offsetSize.left,d=0;if("bottom"==n&&this.contentSize.maxLineHeight?d=this.contentSize.maxLineHeight-this.contentSize.height:"middle"==n&&this.contentSize.maxLineHeight&&(d=(this.contentSize.maxLineHeight-this.contentSize.height)/2),c.top+=d,i.length){r+=l,s+=u;for(var f=null,h=null,p=!1,v=0;v<i.length;v++){var m=i[v];if(m.isAbsolute||m.isFixed)m.isAbsolute?(m.setPosition(m,c),m.style.left+=r,m.style.top+=s,m.getBoxPosition()):(m.setPosition(m,this.root),m.getBoxPosition());else if(0==v)m.style.left+=r,m.style.top+=s,m.getBoxPosition(),f=m,h=m;else{var b,w,x,y;(null==(b=h)?void 0:b.offsetSize.height)<(null==(w=f)?void 0:w.offsetSize.height)&&(h=f);var A,S,k,C,_=(null==(x=f)?void 0:x.offsetSize.left)+(null==(y=f)?void 0:y.offsetSize.width)+m.offsetSize.width>c.left+c.width+l;if(this.getBoxState(f,m)||_)m.style.left+=r,(null==(A=f)?void 0:A.offsetSize.height)>=(null==(S=h)?void 0:S.offsetSize.height)?m.style.top+=f.offsetSize.top+f.offsetSize.height||0:m.style.top+=(null==(k=h)?void 0:k.offsetSize.top)+(null==(C=h)?void 0:C.offsetSize.height)||0,m.getBoxPosition(),f=m,h=m,p=!0;else m.style.left+=f.offsetSize.left+f.offsetSize.width,m.style.top+=p?f.offsetSize.top:s,m.getBoxPosition(),f=m}}this.layoutBoxUpdate(c,e)}else this.layoutBoxUpdate(c,e);return this.layoutBox},e.setMaxLineHeight=function(t,e,i){for(var n=t;n>=0&&!e[n].contentSize.maxLineHeight;)e[n].contentSize.maxLineHeight=i,n--},e.getBoxState=function(t,e){return"view"==e.name&&"inline-block"!==e.style.display||"view"==(null==t?void 0:t.name)&&"inline-block"!==(null==t?void 0:t.style.display)||"block"==e.style.display||"block"==(null==t?void 0:t.style.display)},e.getBoxHieght=function(){var t,e=this,i=this.name,n=this.computedStyle,a=this.attributes,r=this.parent,o=this.getChildren(),s=n.top,c=n.bottom,u=n.height,d=void 0===u?0:u,f=n.fontSize,h=void 0===f?14:f,p=n.position,v=n.lineHeight,m=void 0===v?"1.4em":v;n.lineClamp;var b=g({},this.contentSize);if("image"==i&&null==d){var w=a.width,x=a.height;a.mode,b.height=Math.round(b.width*x/w)||0,this.layoutBoxUpdate(b,n,"height")}else if(d)if(o.length){var y=null,A=0;o.forEach((function(t,i){var n,a,r=i==o.length-1;t.getBoxHieght();var s=(null==(n=y)?void 0:n.offsetSize.left)+(null==(a=y)?void 0:a.offsetSize.width)+t.offsetSize.width>b.left+b.width,c=e.getBoxState(y,t);if(s||c){if(s){for(var u=i-1;u>=0&&!o[u].contentSize.maxLineHeight;)A<o[u].contentSize.height&&(A=o[u].contentSize.height),u--;e.setMaxLineHeight(i-1,o,A),A=0}}else if(r){for(var l=i;l>=0&&!o[l].contentSize.maxLineHeight;)A<o[l].contentSize.height&&(A=o[l].contentSize.height),l--;e.setMaxLineHeight(i,o,A),A=0}y=t}))}else this.layoutBoxUpdate(b,n,"height");else{var S=0;if(null!==s&&(this.isAbsolute||this.isFixed&&r.contentSize.height)){var k="absolute"==p?r.contentSize.height:this.root.height;S=k-(/%$/.test(s)?l(s,k):s)-(/%$/.test(c)?l(c,k):c)}if("text"==i)m=l(m,h),b.height=S||this.attributes.lines*m,this.layoutBoxUpdate(b,n,"height",!0);else if(o.length){var C=0,_=null,I=0;b.height=o.reduce((function(t,i,n){var a=n==o.length-1;if(i.isAbsolute||i.isFixed)return a?t+C:t;i.getBoxHieght();var r=e.getBoxState(_,i),s=I+i.offsetSize.width>b.width;if(s||r){var c,u,l=0;return s||_&&("view"!==(null==(c=_)?void 0:c.name)||"inline-block"==(null==(u=_)?void 0:u.style.display))?(a&&(e.setMaxLineHeight(n-1,o,C),C+=i.offsetSize.height),l=t+C,C=i.offsetSize.height,I=i.offsetSize.width,_=i,l):(I=0,C=0,t+i.offsetSize.height)}return I+=i.offsetSize.width,C=Math.max(C,i.offsetSize.height)||0,a?(e.setMaxLineHeight(n,o,C),t+C):(_=i,t)}),0),S&&(b.height=S),this.layoutBoxUpdate(b,n)}else S&&(b.height=S),this.layoutBoxUpdate(b,n,"height")}if(n.borderRadius&&null!=(t=this.borderSize)&&t.width)for(var z in n.borderRadius)Object.hasOwnProperty.call(n.borderRadius,z)&&(n.borderRadius[z]=l(n.borderRadius[z],this.borderSize.width));return this.layoutBox},e.contrastSize=function(t,e,i){var n=t;return i&&(n=Math.min(n,i)),e&&(n=Math.max(n,e)),n},e.measureText=function(t,e){var i=this.ctx.measureText(t);return{width:i.width,fontHeight:(i.actualBoundingBoxAscent||.7*e)+1}},e.getBoxWidth=function(){var t,e=this,i=this.name,n=this.computedStyle,a=this.attributes,r=this.parent,o=void 0===r?{}:r,s=this.ctx,c=this.getChildren(),u=n.left,d=void 0===u?0:u;n.top;var f=n.right,h=n.width,p=void 0===h?0:h,v=n.minWidth,g=n.maxWidth,m=n.height,b=void 0===m?0:m,w=n.fontSize,x=void 0===w?14:w,y=n.fontWeight,A=n.fontFamily,S=n.textStyle,k=n.position,C=n.display,_=n.lineClamp,I=n.padding,z=void 0===I?{}:I,T=n.margin,B=void 0===T?{}:T,P=n.border,R=(P=void 0===P?{}:P).borderWidth,j=void 0===R?0:R,O=n.borderRight,L=(O=void 0===O?{}:O).borderRightWidth,M=void 0===L?j:L,D=n.borderLeft,F=(D=void 0===D?{}:D).borderLeftWidth,N=void 0===F?j:F;if(/%$/.test(p)&&o.contentSize.width&&(p=l(p,o.contentSize.width,!0)),/%$/.test(b)&&o.contentSize.height&&(b=l(b,o.contentSize.height)),/%$/.test(v)&&o.contentSize.width&&(v=l(v,o.contentSize.width,!0)),/%$/.test(g)&&o.contentSize.width&&(g=l(g,o.contentSize.width,!0)),n.padding&&null!=(t=o.contentSize)&&t.width)for(var E in n.padding)Object.hasOwnProperty.call(n.padding,E)&&(n.padding[E]=l(n.padding[E],o.contentSize.width));var H=z.paddingRight,W=void 0===H?0:H,G=z.paddingLeft,U=void 0===G?0:G;if(n.margin&&[n.margin.marginLeft,n.margin.marginRight].includes("auto"))if(p){var V=o.contentSize.width-p-W-U-N-M||0;n.margin.marginLeft==n.margin.marginRight?n.margin.marginLeft=n.margin.marginRight=V/2:"auto"==n.margin.marginLeft?n.margin.marginLeft=V:n.margin.marginRight=V}else n.margin.marginLeft=n.margin.marginRight=0;var Q=B.marginRight,X=void 0===Q?0:Q,q=B.marginLeft,Z={width:p,height:b,left:0,top:0},J=U+W+N+M+(void 0===q?0:q)+X;if("text"==i&&!this.attributes.widths){var $=a.text||"";s.save(),s.setFonts({fontFamily:A,fontSize:x,fontWeight:y,textStyle:S}),$.split("\n").map((function(t){var i=t.split("").map((function(t){return e.measureText(t,x).width}));e.attributes.fontHeight=e.measureText(t,x).fontHeight,e.attributes.widths||(e.attributes.widths=[]),e.attributes.widths.push({widths:i,total:i.reduce((function(t,e){return t+e}),0)})})),s.restore()}if("image"==i&&null==p){var K=a.width,Y=a.height;Z.width=this.contrastSize(Math.round(K*b/Y)||0,v,g),this.layoutBoxUpdate(Z,n,"width")}else if(p)c.length?(this.layoutBoxUpdate(Z,n,"width"),c.forEach((function(t){t.getBoxWidth()}))):this.layoutBoxUpdate(Z,n,"width");else{var tt=0;if((this.isAbsolute||this.isFixed)&&o.contentSize.width){var et="absolute"==k?o.contentSize.width:this.root.width;tt=et-(/%$/.test(d)?l(d,et):d)-(/%$/.test(f)?l(f,et):f)}if("text"==i){var it=this.attributes.widths,nt=Math.max.apply(Math,it.map((function(t){return t.total})));o&&o.contentSize.width>0&&(nt>o.contentSize.width||"block"==C)&&!this.isAbsolute&&!this.isFixed&&(nt=o.contentSize.width-J),Z.width=tt||this.contrastSize(nt,v,g),this.layoutBoxUpdate(Z,n,"width")}else if("view"!=i||!o||"inline-block"===C||this.isAbsolute||this.isFixed)if(c.length){for(var at=0,rt=null,ot=0;c.length>ot;){var st=c[ot],ct=ot==c.length-1,ut=this.getBoxState(rt,st);if(!st.isFixed&&!st.isAbsolute)if(!rt||ut){var lt=st.getBoxWidth();at=Math.max(at,lt.width)||0,rt=st}else if(rt.offsetSize.left+rt.offsetSize.width+st.offsetSize.width<o.contentSize.width&&ot!==c.length-1)at+=st.getBoxWidth().width,rt=st;else{var dt=st.getBoxWidth();ct?at+=dt.width:at=o.contentSize.width,rt=null}ot++}Z.width=tt||this.contrastSize(Math.ceil(at),v,g),c.forEach((function(t){"block"!=t.style.display||"text"!=t.name||t.isFixed||t.isAbsolute||t.style.width||(t.style.width=Z.width,t.getBoxWidth())})),this.layoutBoxUpdate(Z,n,"width")}else Z.width=tt,this.layoutBoxUpdate(Z,n,"width");else Z.width=this.contrastSize(o.contentSize.width-J,v,g),this.layoutBoxUpdate(Z,n),c.length&&c.forEach((function(t){t.getBoxWidth()}))}if("text"==i&&!this.attributes.lines){var ft=this.attributes.widths.length;this.attributes.widths.forEach((function(t){return t.widths.reduce((function(t,e,i){return t+e>Z.width?(ft++,e):t+e}),0)})),ft=_&&ft>_?_:ft,this.attributes.lines=ft}return this.layoutBox},e.layout=function(){return this.getBoxWidth(),this.getBoxHieght(),this.getBoxPosition(),this.offsetSize},t}(),x=function(){var t,e,i,n,a,r,o=[0,11,15,19,23,27,31,16,18,20,22,24,26,28,20,22,24,24,26,28,28,22,24,24,26,26,28,28,24,24,26,26,26,28,28,24,26,26,26,28,28],s=[3220,1468,2713,1235,3062,1890,2119,1549,2344,2936,1117,2583,1330,2470,1667,2249,2028,3780,481,4011,142,3098,831,3445,592,2517,1776,2234,1951,2827,1070,2660,1345,3177],c=[30660,29427,32170,30877,26159,25368,27713,26998,21522,20773,24188,23371,17913,16590,20375,19104,13663,12392,16177,14854,9396,8579,11994,11245,5769,5054,7399,6608,1890,597,3340,2107],u=[1,0,19,7,1,0,16,10,1,0,13,13,1,0,9,17,1,0,34,10,1,0,28,16,1,0,22,22,1,0,16,28,1,0,55,15,1,0,44,26,2,0,17,18,2,0,13,22,1,0,80,20,2,0,32,18,2,0,24,26,4,0,9,16,1,0,108,26,2,0,43,24,2,2,15,18,2,2,11,22,2,0,68,18,4,0,27,16,4,0,19,24,4,0,15,28,2,0,78,20,4,0,31,18,2,4,14,18,4,1,13,26,2,0,97,24,2,2,38,22,4,2,18,22,4,2,14,26,2,0,116,30,3,2,36,22,4,4,16,20,4,4,12,24,2,2,68,18,4,1,43,26,6,2,19,24,6,2,15,28,4,0,81,20,1,4,50,30,4,4,22,28,3,8,12,24,2,2,92,24,6,2,36,22,4,6,20,26,7,4,14,28,4,0,107,26,8,1,37,22,8,4,20,24,12,4,11,22,3,1,115,30,4,5,40,24,11,5,16,20,11,5,12,24,5,1,87,22,5,5,41,24,5,7,24,30,11,7,12,24,5,1,98,24,7,3,45,28,15,2,19,24,3,13,15,30,1,5,107,28,10,1,46,28,1,15,22,28,2,17,14,28,5,1,120,30,9,4,43,26,17,1,22,28,2,19,14,28,3,4,113,28,3,11,44,26,17,4,21,26,9,16,13,26,3,5,107,28,3,13,41,26,15,5,24,30,15,10,15,28,4,4,116,28,17,0,42,26,17,6,22,28,19,6,16,30,2,7,111,28,17,0,46,28,7,16,24,30,34,0,13,24,4,5,121,30,4,14,47,28,11,14,24,30,16,14,15,30,6,4,117,30,6,14,45,28,11,16,24,30,30,2,16,30,8,4,106,26,8,13,47,28,7,22,24,30,22,13,15,30,10,2,114,28,19,4,46,28,28,6,22,28,33,4,16,30,8,4,122,30,22,3,45,28,8,26,23,30,12,28,15,30,3,10,117,30,3,23,45,28,4,31,24,30,11,31,15,30,7,7,116,30,21,7,45,28,1,37,23,30,19,26,15,30,5,10,115,30,19,10,47,28,15,25,24,30,23,25,15,30,13,3,115,30,2,29,46,28,42,1,24,30,23,28,15,30,17,0,115,30,10,23,46,28,10,35,24,30,19,35,15,30,17,1,115,30,14,21,46,28,29,19,24,30,11,46,15,30,13,6,115,30,14,23,46,28,44,7,24,30,59,1,16,30,12,7,121,30,12,26,47,28,39,14,24,30,22,41,15,30,6,14,121,30,6,34,47,28,46,10,24,30,2,64,15,30,17,4,122,30,29,14,46,28,49,10,24,30,24,46,15,30,4,18,122,30,13,32,46,28,48,14,24,30,42,32,15,30,20,4,117,30,40,7,47,28,43,22,24,30,10,67,15,30,19,6,118,30,18,31,47,28,34,34,24,30,20,61,15,30],l=[255,0,1,25,2,50,26,198,3,223,51,238,27,104,199,75,4,100,224,14,52,141,239,129,28,193,105,248,200,8,76,113,5,138,101,47,225,36,15,33,53,147,142,218,240,18,130,69,29,181,194,125,106,39,249,185,201,154,9,120,77,228,114,166,6,191,139,98,102,221,48,253,226,152,37,179,16,145,34,136,54,208,148,206,143,150,219,189,241,210,19,92,131,56,70,64,30,66,182,163,195,72,126,110,107,58,40,84,250,133,186,61,202,94,155,159,10,21,121,43,78,212,229,172,115,243,167,87,7,112,192,247,140,128,99,13,103,74,222,237,49,197,254,24,227,165,153,119,38,184,180,124,17,68,146,217,35,32,137,46,55,63,209,91,149,188,207,205,144,135,151,178,220,252,190,97,242,86,211,171,20,42,93,158,132,60,57,83,71,109,65,162,31,45,67,216,183,123,164,118,196,23,73,236,127,12,111,246,108,161,59,82,41,157,85,170,251,96,134,177,187,204,62,90,203,89,95,176,156,169,160,81,11,245,22,235,122,117,44,215,79,174,213,233,230,231,173,232,116,214,244,234,168,80,88,175],d=[1,2,4,8,16,32,64,128,29,58,116,232,205,135,19,38,76,152,45,90,180,117,234,201,143,3,6,12,24,48,96,192,157,39,78,156,37,74,148,53,106,212,181,119,238,193,159,35,70,140,5,10,20,40,80,160,93,186,105,210,185,111,222,161,95,190,97,194,153,47,94,188,101,202,137,15,30,60,120,240,253,231,211,187,107,214,177,127,254,225,223,163,91,182,113,226,217,175,67,134,17,34,68,136,13,26,52,104,208,189,103,206,129,31,62,124,248,237,199,147,59,118,236,197,151,51,102,204,133,23,46,92,184,109,218,169,79,158,33,66,132,21,42,84,168,77,154,41,82,164,85,170,73,146,57,114,228,213,183,115,230,209,191,99,198,145,63,126,252,229,215,179,123,246,241,255,227,219,171,75,150,49,98,196,149,55,110,220,165,87,174,65,130,25,50,100,200,141,7,14,28,56,112,224,221,167,83,166,81,162,89,178,121,242,249,239,195,155,43,86,172,69,138,9,18,36,72,144,61,122,244,245,247,243,251,235,203,139,11,22,44,88,176,125,250,233,207,131,27,54,108,216,173,71,142,0],f=[],h=[],p=[],v=[],g=[],m=2;function b(t,e){var i;t>e&&(i=t,t=e,e=i),i=e,i*=e,i+=e,i>>=1,v[i+=t]=1}function w(t,i){var n;for(p[t+e*i]=1,n=-2;n<2;n++)p[t+n+e*(i-2)]=1,p[t-2+e*(i+n+1)]=1,p[t+2+e*(i+n)]=1,p[t+n+1+e*(i+2)]=1;for(n=0;n<2;n++)b(t-1,i+n),b(t+1,i-n),b(t-n,i-1),b(t+n,i+1)}function x(t){for(;t>=255;)t=((t-=255)>>8)+(255&t);return t}var y=[];function A(t,e,i,n){var a,r,o;for(a=0;a<n;a++)f[i+a]=0;for(a=0;a<e;a++){if(255!=(o=l[f[t+a]^f[i]]))for(r=1;r<n;r++)f[i+r-1]=f[i+r]^d[x(o+y[n-r])];else for(r=i;r<i+n;r++)f[r]=f[r+1];f[i+n-1]=255==o?0:d[x(o+y[0])]}}function S(t,e){var i;return t>e&&(i=t,t=e,e=i),i=e,i+=e*e,i>>=1,v[i+=t]}function k(t){var i,n,a,r;switch(t){case 0:for(n=0;n<e;n++)for(i=0;i<e;i++)i+n&1||S(i,n)||(p[i+n*e]^=1);break;case 1:for(n=0;n<e;n++)for(i=0;i<e;i++)1&n||S(i,n)||(p[i+n*e]^=1);break;case 2:for(n=0;n<e;n++)for(a=0,i=0;i<e;i++,a++)3==a&&(a=0),a||S(i,n)||(p[i+n*e]^=1);break;case 3:for(r=0,n=0;n<e;n++,r++)for(3==r&&(r=0),a=r,i=0;i<e;i++,a++)3==a&&(a=0),a||S(i,n)||(p[i+n*e]^=1);break;case 4:for(n=0;n<e;n++)for(a=0,r=n>>1&1,i=0;i<e;i++,a++)3==a&&(a=0,r=!r),r||S(i,n)||(p[i+n*e]^=1);break;case 5:for(r=0,n=0;n<e;n++,r++)for(3==r&&(r=0),a=0,i=0;i<e;i++,a++)3==a&&(a=0),(i&n&1)+!(!a|!r)||S(i,n)||(p[i+n*e]^=1);break;case 6:for(r=0,n=0;n<e;n++,r++)for(3==r&&(r=0),a=0,i=0;i<e;i++,a++)3==a&&(a=0),(i&n&1)+(a&&a==r)&1||S(i,n)||(p[i+n*e]^=1);break;case 7:for(r=0,n=0;n<e;n++,r++)for(3==r&&(r=0),a=0,i=0;i<e;i++,a++)3==a&&(a=0),(a&&a==r)+(i+n&1)&1||S(i,n)||(p[i+n*e]^=1)}}function C(t){var e,i=0;for(e=0;e<=t;e++)g[e]>=5&&(i+=3+g[e]-5);for(e=3;e<t-1;e+=2)g[e-2]==g[e+2]&&g[e+2]==g[e-1]&&g[e-1]==g[e+1]&&3*g[e-1]==g[e]&&(0==g[e-3]||e+3>t||3*g[e-3]>=4*g[e]||3*g[e+3]>=4*g[e])&&(i+=40);return i}function _(){var t,i,n,a,r,o=0,s=0;for(i=0;i<e-1;i++)for(t=0;t<e-1;t++)(p[t+e*i]&&p[t+1+e*i]&&p[t+e*(i+1)]&&p[t+1+e*(i+1)]||!(p[t+e*i]||p[t+1+e*i]||p[t+e*(i+1)]||p[t+1+e*(i+1)]))&&(o+=3);for(i=0;i<e;i++){for(g[0]=0,n=a=t=0;t<e;t++)(r=p[t+e*i])==a?g[n]++:g[++n]=1,s+=(a=r)?1:-1;o+=C(n)}s<0&&(s=-s);var c=s,u=0;for(c+=c<<2,c<<=1;c>e*e;)c-=e*e,u++;for(o+=10*u,t=0;t<e;t++){for(g[0]=0,n=a=i=0;i<e;i++)(r=p[t+e*i])==a?g[n]++:g[++n]=1,a=r;o+=C(n)}return o}var I=null;return{api:{get ecclevel(){return m},set ecclevel(t){m=t},get size(){return _size},set size(t){_size=t},get canvas(){return I},set canvas(t){I=t},getFrame:function(g){return function(g){var C,I,z,T,B,P,R,j;T=g.length,t=0;do{if(t++,z=4*(m-1)+16*(t-1),i=u[z++],n=u[z++],a=u[z++],r=u[z],T<=(z=a*(i+n)+n-3+(t<=9)))break}while(t<40);for(e=17+4*t,B=a+(a+r)*(i+n)+n,T=0;T<B;T++)h[T]=0;for(f=g.slice(0),T=0;T<e*e;T++)p[T]=0;for(T=0;T<(e*(e+1)+1)/2;T++)v[T]=0;for(T=0;T<3;T++){for(z=0,I=0,1==T&&(z=e-7),2==T&&(I=e-7),p[I+3+e*(z+3)]=1,C=0;C<6;C++)p[I+C+e*z]=1,p[I+e*(z+C+1)]=1,p[I+6+e*(z+C)]=1,p[I+C+1+e*(z+6)]=1;for(C=1;C<5;C++)b(I+C,z+1),b(I+1,z+C+1),b(I+5,z+C),b(I+C+1,z+5);for(C=2;C<4;C++)p[I+C+e*(z+2)]=1,p[I+2+e*(z+C+1)]=1,p[I+4+e*(z+C)]=1,p[I+C+1+e*(z+4)]=1}if(t>1)for(T=o[t],I=e-7;;){for(C=e-7;C>T-3&&(w(C,I),!(C<T));)C-=T;if(I<=T+9)break;w(6,I-=T),w(I,6)}for(p[8+e*(e-8)]=1,I=0;I<7;I++)b(7,I),b(e-8,I),b(7,I+e-7);for(C=0;C<8;C++)b(C,7),b(C+e-8,7),b(C,e-8);for(C=0;C<9;C++)b(C,8);for(C=0;C<8;C++)b(C+e-8,8),b(8,C);for(I=0;I<7;I++)b(8,I+e-7);for(C=0;C<e-14;C++)1&C?(b(8+C,6),b(6,8+C)):(p[8+C+6*e]=1,p[6+e*(8+C)]=1);if(t>6)for(T=s[t-7],z=17,C=0;C<6;C++)for(I=0;I<3;I++,z--)1&(z>11?t>>z-12:T>>z)?(p[5-C+e*(2-I+e-11)]=1,p[2-I+e-11+e*(5-C)]=1):(b(5-C,2-I+e-11),b(2-I+e-11,5-C));for(I=0;I<e;I++)for(C=0;C<=I;C++)p[C+e*I]&&b(C,I);for(B=f.length,P=0;P<B;P++)h[P]=f.charCodeAt(P);if(f=h.slice(0),B>=(C=a*(i+n)+n)-2&&(B=C-2,t>9&&B--),P=B,t>9){for(f[P+2]=0,f[P+3]=0;P--;)T=f[P],f[P+3]|=255&T<<4,f[P+2]=T>>4;f[2]|=255&B<<4,f[1]=B>>4,f[0]=64|B>>12}else{for(f[P+1]=0,f[P+2]=0;P--;)T=f[P],f[P+2]|=255&T<<4,f[P+1]=T>>4;f[1]|=255&B<<4,f[0]=64|B>>4}for(P=B+3-(t<10);P<C;)f[P++]=236,f[P++]=17;for(y[0]=1,P=0;P<r;P++){for(y[P+1]=1,R=P;R>0;R--)y[R]=y[R]?y[R-1]^d[x(l[y[R]]+P)]:y[R-1];y[0]=d[x(l[y[0]]+P)]}for(P=0;P<=r;P++)y[P]=l[y[P]];for(z=C,I=0,P=0;P<i;P++)A(I,a,z,r),I+=a,z+=r;for(P=0;P<n;P++)A(I,a+1,z,r),I+=a+1,z+=r;for(I=0,P=0;P<a;P++){for(R=0;R<i;R++)h[I++]=f[P+R*a];for(R=0;R<n;R++)h[I++]=f[i*a+P+R*(a+1)]}for(R=0;R<n;R++)h[I++]=f[i*a+P+R*(a+1)];for(P=0;P<r;P++)for(R=0;R<i+n;R++)h[I++]=f[C+P+R*r];for(f=h,C=I=e-1,z=B=1,j=(a+r)*(i+n)+n,P=0;P<j;P++)for(T=f[P],R=0;R<8;R++,T<<=1){128&T&&(p[C+e*I]=1);do{B?C--:(C++,z?0!=I?I--:(z=!z,6==(C-=2)&&(C--,I=9)):I!=e-1?I++:(z=!z,6==(C-=2)&&(C--,I-=8))),B=!B}while(S(C,I))}for(f=p.slice(0),T=0,I=3e4,z=0;z<8&&(k(z),(C=_())<I&&(I=C,T=z),7!=T);z++)p=f.slice(0);for(T!=z&&k(T),I=c[T+(m-1<<3)],z=0;z<8;z++,I>>=1)1&I&&(p[e-1-z+8*e]=1,z<6?p[8+e*z]=1:p[8+e*(z+1)]=1);for(z=0;z<7;z++,I>>=1)1&I&&(p[8+e*(e-7+z)]=1,z?p[6-z+8*e]=1:p[7+8*e]=1);return p}(g)},utf16to8:function(t){var e,i,n,a;for(e="",n=t.length,i=0;i<n;i++)(a=t.charCodeAt(i))>=1&&a<=127?e+=t.charAt(i):a>2047?(e+=String.fromCharCode(224|a>>12&15),e+=String.fromCharCode(128|a>>6&63),e+=String.fromCharCode(128|a>>0&63)):(e+=String.fromCharCode(192|a>>6&31),e+=String.fromCharCode(128|a>>0&63));return e},draw:function(t,i,n,a,r){i.drawView(n,a);var o=i.ctx,s=n.contentSize,c=s.width,u=s.height;a.borderRadius,a.backgroundColor;var l=a.color,d=void 0===l?"#000000":l;a.border;var f=n.contentSize.left-n.borderSize.left,h=n.contentSize.top-n.borderSize.top;if(m=r||m,o){o.save(),i.setOpacity(a);var p=i.setTransform(n,a),v=p.x,g=p.y;v+=f,g+=h;var b=Math.min(c,u);t=this.utf16to8(t);var w=this.getFrame(t),x=b/e;o.setFillStyle(d);for(var y=0;y<e;y++)for(var A=0;A<e;A++)w[A*e+y]&&o.fillRect(v+x*y,g+x*A,x,x);o.restore(),i.setBorder(n,a)}else console.warn("No canvas provided to draw QR code in!")}}}}(),y=function(){function t(t,e){var n,a,r=this,s=t.id,c=t.context,u=t.canvas,l=t.pixelRatio,d=t.width,f=t.height;this.count=0,this.isDraw=!0,this.id=s,this.canvas=u,this.pixelRatio=1*l.toFixed(2),this.width=d,this.height=f,this.platform=o,this.isRate=!1,this.component=e,this.ctx=(a=this,(n=c).setFonts=function(t){var e=t.fontFamily,i=void 0===e?"sans-serif":e,r=t.fontSize,o=void 0===r?14:r,s=t.fontWeight,c=void 0===s?"normal":s,u=t.textStyle,l=void 0===u?"normal":u;"mp-toutao"==a.platform&&(c="bold"==c?"bold":"",l="italic"==l?"italic":""),n.font=l+" "+c+" "+o+"px "+i},n.draw?n:Object.assign(n,{setStrokeStyle:function(t){n.strokeStyle=t},setLineWidth:function(t){n.lineWidth=t},setLineCap:function(t){n.lineCap=t},setFillStyle:function(t){n.fillStyle=t},setFontSize:function(t){n.font=String(t)+"px sans-serif"},setGlobalAlpha:function(t){n.globalAlpha=t},setLineJoin:function(t){n.lineJoin=t},setTextAlign:function(t){n.textAlign=t},setMiterLimit:function(t){n.miterLimit=t},setShadow:function(t,e,i,a){n.shadowOffsetX=t,n.shadowOffsetY=e,n.shadowBlur=i,n.shadowColor=a},setTextBaseline:function(t){n.textBaseline=t},createCircularGradient:function(){},draw:function(){}})),this.sleep=1e3/30,this.progress=0,this.root={width:d,height:f,fontSizeRate:1};var h=i({},this.size);Object.defineProperty(this,"size",{configurable:!0,set:function(t){Object.keys(t).forEach((function(e){h[e]=t[e],r.root[e]=t[e]}))},get:function(){return h}}),this.init()}return t.prototype.init=function(){this.canvas.height&&(this.canvas.height=this.root.height*this.pixelRatio,this.canvas.width=this.root.width*this.pixelRatio,this.ctx.scale(this.pixelRatio,this.pixelRatio))},t.prototype.clear=function(){this.ctx.clearRect(0,0,this.root.width,this.root.height)},t.prototype.roundRect=function(t,e,i,n,a,r,o){if(void 0===r&&(r=!1),void 0===o&&(o=!1),!(a<0)){var s=this.ctx;if(s.beginPath(),a){var c=a||{},u=c.borderTopLeftRadius,l=void 0===u?a||0:u,d=c.borderTopRightRadius,f=void 0===d?a||0:d,h=c.borderBottomRightRadius,p=void 0===h?a||0:h,v=c.borderBottomLeftRadius,g=void 0===v?a||0:v;s.arc(t+i-p,e+n-p,p,0,.5*Math.PI),s.lineTo(t+g,e+n),s.arc(t+g,e+n-g,g,.5*Math.PI,Math.PI),s.lineTo(t,e+l),s.arc(t+l,e+l,l,Math.PI,1.5*Math.PI),s.lineTo(t+i-f,e),s.arc(t+i-f,e+f,f,1.5*Math.PI,2*Math.PI),s.lineTo(t+i,e+n-p)}else s.rect(t,e,i,n);s.closePath(),o&&s.stroke(),r&&s.fill()}},t.prototype.setTransform=function(t,e){var i=e.transform,n=e.transformOrigin,a=void 0===n?"center center":n,r=e.position,o=this.ctx,s=i||{},c=s.scaleX,d=void 0===c?1:c,f=s.scaleY,h=void 0===f?1:f,p=s.translateX,v=void 0===p?0:p,g=s.translateY,m=void 0===g?0:g,b=s.rotate,w=void 0===b?0:b,x=s.skewX,y=void 0===x?0:x,A=s.skewY,S=void 0===A?0:A,k=t.left,C=t.top,_=t.width,I=t.height;if(!["absolute","fixed"].includes(r))return{x:k,y:C,w:_,h:I};v=l(v,_)||0,m=l(m,I)||0;var z={top:l("0%",1),center:l("50%",1,!0),bottom:l("100%",1)},T={left:l("0%",1),center:l("50%",1,!0),right:l("100%",1)};a=a.split(" ").filter((function(t,e){return e<2})).reduce((function(t,e){if(/\d+/.test(e)){var i=l(e,1,!0)/(/px|rpx$/.test(e)?u(t.x)?I:_:1);return u(t.x)?Object.assign(t,{y:i}):Object.assign(t,{x:i})}return u(T[e])&&!u(t.x)?Object.assign(t,{x:T[e]}):Object.assign(t,{y:z[e]||.5})}),{}),o.scale(d,h);var B={x:_*(d>0?1:-1)*a.x+(k+v)/d,y:I*(h>0?1:-1)*a.y+(C+m)/h};return o.translate(B.x,B.y),w&&o.rotate(w*Math.PI/180),(y||S)&&o.transform(1,Math.tan(S*Math.PI/180),Math.tan(y*Math.PI/180),1,0,0),{x:-_*a.x,y:-I*a.y,w:_,h:I}},t.prototype.setBackground=function(t,e,i,n,a){var r=this.ctx;t&&"transparent"!=t?f(t)?h(t,e,i,n,a,r):r.setFillStyle(t):["mp-toutiao","mp-baidu"].includes(this.platform)?r.setFillStyle("transparent"):r.setFillStyle("rgba(0,0,0,0)")},t.prototype.setShadow=function(t){var e=t.boxShadow,i=void 0===e?[]:e,n=this.ctx;if(i.length){var a=i[0],r=i[1],o=i[2],s=i[3];n.setShadow(a,r,o,s)}},t.prototype.setBorder=function(t,e){var i=this,n=this.ctx,a=t.width,r=t.height,o=e.border,s=e.borderBottom,c=e.borderTop,u=e.borderRight,l=e.borderLeft,d=e.borderRadius,f=o||{},h=f.borderWidth,p=void 0===h?0:h,v=f.borderStyle,g=f.borderColor,m=s||{},b=m.borderBottomWidth,w=void 0===b?p:b,x=m.borderBottomStyle,y=void 0===x?v:x,A=m.borderBottomColor,S=void 0===A?g:A,k=c||{},C=k.borderTopWidth,_=void 0===C?p:C,I=k.borderTopStyle,z=void 0===I?v:I,T=k.borderTopColor,B=void 0===T?g:T,P=u||{},R=P.borderRightWidth,j=void 0===R?p:R,O=P.borderRightStyle,L=void 0===O?v:O,M=P.borderRightColor,D=void 0===M?g:M,F=l||{},N=F.borderLeftWidth,E=void 0===N?p:N,H=F.borderLeftStyle,W=void 0===H?v:H,G=F.borderLeftColor,U=void 0===G?g:G,V=d||{},Q=V.borderTopLeftRadius,X=void 0===Q?d||0:Q,q=V.borderTopRightRadius,Z=void 0===q?d||0:q,J=V.borderBottomRightRadius,$=void 0===J?d||0:J,K=V.borderBottomLeftRadius,Y=void 0===K?d||0:K;if(s||l||c||u||o){var tt=function(t,e,a){"dashed"==e?/mp/.test(i.platform)?n.setLineDash([Math.ceil(4*t/3),Math.ceil(4*t/3)]):n.setLineDash([Math.ceil(6*t),Math.ceil(6*t)]):"dotted"==e&&n.setLineDash([t,t]),n.setStrokeStyle(a)},et=function(t,e,i,a,r,o,s,c,u,l,d,f,h,p){n.save(),n.setLineWidth(f),tt(f,h,p),n.beginPath(),n.arc(t,e,s,Math.PI*u,Math.PI*l),n.lineTo(i,a),n.arc(r,o,c,Math.PI*l,Math.PI*d),n.stroke(),n.restore()};n.save(),this.setOpacity(e);var it=this.setTransform(t,e),nt=it.x,at=it.y;o&&(n.setLineWidth(p),tt(p,v,g),this.roundRect(nt,at,a,r,d,!1,!!g),n.restore()),s&&et(nt+a-$,at+r-$,nt+Y,at+r,nt+Y,at+r-Y,$,Y,.25,.5,.75,w,y,S),l&&et(nt+Y,at+r-Y,nt,at+X,nt+X,at+X,Y,X,.75,1,1.25,E,W,U),c&&et(nt+X,at+X,nt+a-Z,at,nt+a-Z,at+Z,X,Z,1.25,1.5,1.75,_,z,B),u&&et(nt+a-Z,at+Z,nt+a,at+r-$,nt+a-$,at+r-$,Z,$,1.75,2,.25,j,L,D)}},t.prototype.setOpacity=function(t){var e=t.opacity,i=void 0===e?1:e;this.ctx.setGlobalAlpha(i)},t.prototype.drawPattern=function(t,e,i){return n(this,void 0,void 0,(function(){var r=this;return a(this,(function(o){return[2,new Promise((function(o,s){var c=r,u=c.ctx,l=c.canvas,d=e.width,f=e.height,h=i||{},p=h.borderRadius,v=void 0===p?0:p,g=h.backgroundColor,m=void 0===g?"transparent":g,b=h.backgroundImage,w=h.backgroundRepeat,x=void 0===w?"repeat":w;u.save(),r.setOpacity(i);var y=r.setTransform(e,i),A=y.x,S=y.y;r.setShadow(i),r.setBackground(m,d,f,A,S),r.roundRect(A,S,d,f,v,!0,!1);var k=function(t){var n=u.createPattern(t.src,x);u.setFillStyle(n),r.roundRect(A,S,d,f,v,!0,!1),r.setBorder(e,i),u.restore(),o()};if(b)if(l.createImage||"web"==r.platform){var C=null;(C=l.createImage?l.createImage():new Image).onload=function(){t.src=C,k(t)},C.onerror=function(){return n(r,void 0,void 0,(function(){return a(this,(function(e){return console.log("createImage fail: "+JSON.stringify(t)),o(),[2]}))}))},C.src=t.path}else k(t)}))]}))}))},t.prototype.drawView=function(t,e,i,n,a){void 0===i&&(i=!0),void 0===n&&(n=!0),void 0===a&&(a=!0);var r=this.ctx,o=t.width,s=t.height,c=e||{},u=c.borderRadius,l=void 0===u?0:u,d=c.backgroundColor,f=void 0===d?"transparent":d;r.save(),this.setOpacity(e);var h=this.setTransform(t,e),p=h.x,v=h.y;a&&this.setShadow(e),i&&this.setBackground(f,o,s,p,v),this.roundRect(p,v,o,s,l,i,!1),r.restore(),n&&this.setBorder(t,e)},t.prototype.drawImage=function(t,e,i,r){return void 0===e&&(e={}),void 0===i&&(i={}),void 0===r&&(r=!0),n(this,void 0,void 0,(function(){var o=this;return a(this,(function(s){switch(s.label){case 0:return[4,new Promise((function(s,c){return n(o,void 0,void 0,(function(){var o,c,u,f,h,p,v,g,m,b,w,x,y,A,S,k,C,_,I,z,T,B,P,R,j,O,L,M=this;return a(this,(function(D){switch(D.label){case 0:return i.boxShadow&&this.drawView(e,Object.assign(i,{backgroundColor:i.backgroundColor||i.boxShadow&&(i.backgroundColor||"#ffffff")}),!0,!1,!0),c=(o=this).ctx,u=o.sleep,f=o.canvas,h=i.borderRadius,p=void 0===h?0:h,v=i.backgroundColor,g=void 0===v?"transparent":v,m=i.objectFit,b=void 0===m?"fill":m,w=i.objectPosition,x=e.width,y=e.height,A=e.left,S=e.top,c.save(),k=e.contentSize.left-e.borderSize.left,C=e.contentSize.top-e.borderSize.top,r||(this.setOpacity(i),_=this.setTransform(e,i),I=_.x,z=_.y,this.setBackground(g,x,y,A,S),A=I,S=z,this.roundRect(A,S,x,y,p,!!p,!1)),A+=k,S+=C,c.clip(),T=function(t){if("fill"!==b){var i=function(t,e,i){var n=t.objectFit,a=t.objectPosition,r=e.width/e.height,o=i.width/i.height,s=1;"contain"==n&&r>=o||"cover"==n&&r<o?s=e.height/i.height:("contain"==n&&r<o||"cover"==n&&r>=o)&&(s=e.width/i.width);var c=i.width*s,u=i.height*s,d=/^\d+px|rpx$/.test(null==a?void 0:a[0])?l(null==a?void 0:a[0],e.width):(e.width-c)*(/%$/.test(null==a?void 0:a[0])?l(null==a?void 0:a[0],1,!0):{left:0,center:.5,right:1}[(null==a?void 0:a[0])||"center"]),f=/^\d+px|rpx$/.test(null==a?void 0:a[1])?l(null==a?void 0:a[1],e.height):(e.height-u)*(/%$/.test(null==a?void 0:a[1])?l(null==a?void 0:a[1],1,!0):{top:0,center:.5,bottom:1}[(null==a?void 0:a[1])||"center"]),h=function(t,e){return[(t-d)/s,(e-f)/s]},p=h(0,0),v=p[0],g=p[1],m=h(e.width,e.height),b=m[0],w=m[1];return{sx:Math.max(v,0),sy:Math.max(g,0),sw:Math.min(b-v,i.width),sh:Math.min(w-g,i.height),dx:Math.max(d,0),dy:Math.max(f,0),dw:Math.min(c,e.width),dh:Math.min(u,e.height)}}({objectFit:b,objectPosition:w},e.contentSize,t),n=i.sx,a=i.sy,r=i.sh,o=i.sw,s=i.dx,u=i.dy,d=i.dh,f=i.dw;"mp-baidu"==M.platform?c.drawImage(t.src,s+A,u+S,f,d,n,a,o,r):c.drawImage(t.src,n,a,o,r,s+A,u+S,f,d)}else c.drawImage(t.src,A,S,x,y)},B=function(){c.restore(),M.drawView(e,i,!1,!0,!1),setTimeout(s,u)},P=function(t){if(f.createImage||"web"==M.platform){var e=null;(e=f.createImage?f.createImage():new Image).onload=function(){t.src=e,T(t),B()},e.onerror=function(){return n(M,void 0,void 0,(function(){return a(this,(function(e){return console.log("createImage fail: "+JSON.stringify(t)),s(!0),[2]}))}))},e.src=t.path}else T(t),B()},"string"!=typeof t?[3,2]:[4,d(t)];case 1:return R=D.sent(),j=R.path,O=R.width,L=R.height,P({path:j,src:j,width:O,height:L}),[3,3];case 2:P(t),D.label=3;case 3:return[2]}}))}))}))];case 1:return s.sent(),[2]}}))}))},t.prototype.drawText=function(t,e,i,n){this.drawView(e,i);var a=this.ctx,r=e.borderSize,o=e.contentSize,s=o.width,c=o.height,u=o.left-r.left,d=o.top-r.top,f=i.color,h=void 0===f?"#000000":f,p=i.lineHeight,v=void 0===p?"1.4em":p,g=i.fontSize,m=void 0===g?14:g,b=i.fontWeight,w=i.fontFamily,x=i.textStyle,y=i.textAlign,A=void 0===y?"left":y,S=i.verticalAlign,k=void 0===S?"middle":S;i.backgroundColor;var C=i.lineClamp,_=i.textDecoration;if(v=l(v,m),t){a.save(),this.setOpacity(i);var I=this.setTransform(e,i),z=I.x,T=I.y;switch(z+=u,T+=d,a.setFonts({fontFamily:w,fontSize:m,fontWeight:b,textStyle:x}),a.setTextBaseline("middle"),a.setTextAlign(A),a.setFillStyle(h),T+=m/2,A){case"left":break;case"center":z+=.5*s;break;case"right":z+=s}var B=n.lines*v,P=Math.ceil((c-B)/2);switch(P<0&&(P=0),k){case"top":break;case"middle":T+=P;break;case"bottom":T+=2*P}var R=(v-n.fontHeight)/2,j=function(t,e,i){var r=t;switch(A){case"left":t=t,r+=i;break;case"center":r=(t-=i/2)+i;break;case"right":r=t,t-=i}_&&(a.setLineWidth(m/13),a.beginPath(),e-=R,/\bunderline\b/.test(_)&&(a.moveTo(t,e-.5*n.fontHeight),a.lineTo(r,e-.5*n.fontHeight)),/\boverline\b/.test(_)&&(a.moveTo(t,e-1.5*n.fontHeight),a.lineTo(r,e-1.5*n.fontHeight)),/\bline-through\b/.test(_)&&(a.moveTo(t,e-n.fontHeight),a.lineTo(r,e-n.fontHeight)),a.closePath(),a.setStrokeStyle(h),a.stroke())};if(1==n.widths.lenght&&n.widths[0].total<=o.width)return a.fillText(t,z,T+R),j(z,T+=v,n.widths[0].total),a.restore(),void this.setBorder(e,i);for(var O=t.split(""),L=T,M=z,D="",F=0,N=0;N<=O.length;N++){var E=O[N]||"",H="\n"===E,W=""==E,G=D+(E=H?"":E),U=a.measureText(G).width;if(F>=C)break;if(M=z,(U=U)>o.width||H||W){if(F++,D=W&&U<=o.width?G:D,F===C&&U>s){for(;a.measureText(D+"...").width>o.width&&!(D.length<=1);)D=D.substring(0,D.length-1);D+="..."}if(a.fillText(D,M,T+R),j(M,T+=v,U),D=E,T+v>L+c)break}else D=G}a.restore()}},t.prototype.source=function(t){var e;return n(this,void 0,void 0,(function(){var i,n;return a(this,(function(a){switch(a.label){case 0:if("{}"==JSON.stringify(t))return[2];if(!t.type)for(i in t.type="view",t.css=t.css||{},t)["views","children","type","css"].includes(i)||(t.css[i]=t[i],delete t[i]);return(null===(e=null==t?void 0:t.css)||void 0===e?void 0:e.width)||(t.css?t.css.width=this.root.width:t.css={width:this.root.width}),[4,this.create(t)];case 1:return n=a.sent(),this.size=n.layout(),this.node=n,[2,this.size]}}))}))},t.prototype.create=function(t,e){var i,r,o,s;return n(this,void 0,void 0,(function(){var n,c,u,l,f,h,p,v,g,m,b,x;return a(this,(function(a){switch(a.label){case 0:if("image"==t.type&&!t.src&&!t.url||"qrcode"==t.type&&!t.text)return[2];if("none"==(null===(i=null==t?void 0:t.css)||void 0===i?void 0:i.display))return console.error("element display none"),[2];a.label=1;case 1:return a.trys.push([1,4,,5]),"image"==t.type||"view"==t.type&&(null===(r=t.css)||void 0===r?void 0:r.backgroundImage)?(n=null,c=/url\((.+)\)/,t.css.backgroundImage&&(null===(o=c.exec(t.css.backgroundImage))||void 0===o?void 0:o[1])&&(n=null===(s=c.exec(t.css.backgroundImage))||void 0===s?void 0:s[1]),[4,d(t.src||n)]):[3,3];case 2:u=a.sent(),l=u.width,f=u.height,h=u.path,["mp-weixin","mp-baidu","mp-qq","mp-toutiao"].includes(this.platform)&&(h=/^\.|^\/(?=[^\/])/.test(t.src||n)?"/"+h:h),t.attributes=Object.assign(t.attributes||{},{width:l,height:f,path:h,src:h,naturalSrc:t.src||n}),a.label=3;case 3:return[3,5];case 4:return p=a.sent(),console.log(p),[2];case 5:if(this.count+=1,v=new w(t,e,this.root,this.ctx),!(g=t.views||t.children))return[3,9];m=0,a.label=6;case 6:return m<g.length?(b=g[m],[4,this.create(b,v)]):[3,9];case 7:(x=a.sent())&&v.add(x),a.label=8;case 8:return m++,[3,6];case 9:return[2,v]}}))}))},t.prototype.drawNode=function(t){return n(this,void 0,void 0,(function(){var e,i,n,r,o,s,c,u,l,d,f,h;return a(this,(function(a){switch(a.label){case 0:return e=t.layoutBox,i=t.computedStyle,n=t.attributes,r=t.name,o=t.children,s=t.attributes,c=s.src,u=s.text,"view"!==r?[3,4]:c?[4,this.drawPattern(n,e,i)]:[3,2];case 1:return a.sent(),[3,3];case 2:this.drawView(e,i),a.label=3;case 3:return[3,7];case 4:return"image"===r&&c?[4,this.drawImage(n,e,i,!1)]:[3,6];case 5:return a.sent(),[3,7];case 6:"text"===r?this.drawText(u,e,i,n):"qrcode"===r&&(null==x?void 0:x.api)&&x.api.draw(u,this,e,i),a.label=7;case 7:if(this.progress+=1,!o)return[2];l=Object.values?Object.values(o):Object.keys(o).map((function(t){return o[t]})),d=0,f=l,a.label=8;case 8:return d<f.length?(h=f[d],[4,this.drawNode(h)]):[3,11];case 9:a.sent(),a.label=10;case 10:return d++,[3,8];case 11:return[2]}}))}))},t.prototype.render=function(){return n(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return this.init(),[4,(e=30,void 0===e&&(e=0),new Promise((function(t){return setTimeout(t,e)})))];case 1:return t.sent(),[4,this.drawNode(this.node)];case 2:return t.sent(),[2]}var e}))}))},t.prototype.listen=function(t,e){var i=this;if("progressChange"==t){var n=0;Object.defineProperty(this,"progress",{configurable:!0,set:function(t){n=t,e(t/i.count)},get:function(){return n||0}})}},t.prototype.save=function(t){try{var e=t||{},i=e.fileType,n=void 0===i?"png":i,a=e.quality,r=void 0===a?1:a;return this.canvas.toDataURL("image/"+n,r)}catch(t){return console.log("image cross domain"),t}},t}();"web"==o&&(window.Painter=y),t.Painter=y,Object.defineProperty(t,"__esModule",{value:!0})}))},"7c7d":function(t,e,i){var n=i("5756");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("b86d25a2",n,!0,{sourceMap:!1,shadowMode:!1})},"7e3f":function(t,e,i){"use strict";i.r(e);var n=i("636b"),a=i("76dc");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("e9f4");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"1d8d3e19",null,!1,n["a"],o);e["default"]=c.exports},"7ed1":function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),r=i("26cb"),o=i("357b"),s={data:function(){return{progressPer:0,list:[]}},props:{shop:{type:Object,default:function(){return{}}}},computed:(0,a.default)({},(0,r.mapGetters)(["appConfig"])),watch:{shop:{handler:function(t){var e=this;this.list=t.goods_list||[],this.$nextTick((function(){(0,o.getRect)(".goods-shop",!1,e).then((function(t){e.rectWidth=t.width}))}))},immediate:!0,deep:!0}},methods:{scrollBarChange:function(t){var e=this.progressPer,i=t.detail,n=i.scrollLeft,a=i.scrollWidth;e=n/(a-this.rectWidth)*100,e=Number(e.toFixed(0)),this.progressPer=e}}};e.default=s},"7f7e8":function(t,e,i){"use strict";var n=i("cf45"),a=i.n(n);a.a},"7f9d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("357b"),a={name:"float-tab",data:function(){return{showMore:!1,top:0}},mounted:function(){var t=this;(0,n.getRect)(".tab-img",!1,this).then((function(e){t.height=e.height,console.log(t.height)}))},methods:{onChange:function(){this.showMore=!this.showMore}},watch:{showMore:function(t){this.top=t?-this.height:0}}};e.default=a},"7ff8":function(t,e,i){i("ac1f"),i("1276");var n={errorImg:null,filter:null,highlight:null,onText:null,entities:{quot:'"',apos:"'",semi:";",nbsp:" ",ensp:" ",emsp:" ",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…"},blankChar:a(" , ,\t,\r,\n,\f"),boolAttrs:a("allowfullscreen,autoplay,autostart,controls,ignore,loop,muted"),blockTags:a("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"),ignoreTags:a("area,base,canvas,frame,iframe,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr"),richOnlyTags:a("a,colgroup,fieldset,legend"),selfClosingTags:a("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustTags:a("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),userAgentStyles:{address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}};function a(t){for(var e=Object.create(null),i=t.split(","),n=i.length;n--;)e[i[n]]=!0;return e}t.exports=n},8140:function(t,e,i){"use strict";i.r(e);var n=i("c7f6"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"81df":function(t,e,i){"use strict";i("c975"),i("a9e3"),i("d3b7"),i("ac1f"),i("25f0"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-number-box",props:{value:{type:Number,default:1},bgColor:{type:String,default:"#F2F3F5"},min:{type:Number,default:0},max:{type:Number,default:99999},step:{type:Number,default:1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:26},color:{type:String,default:"#323233"},inputWidth:{type:[Number,String],default:80},inputHeight:{type:[Number,String],default:50},index:{type:[Number,String],default:""},disabledInput:{type:Boolean,default:!1},cursorSpacing:{type:[Number,String],default:100},longPress:{type:Boolean,default:!0},pressTime:{type:[Number,String],default:250},positiveInteger:{type:Boolean,default:!0}},watch:{value:function(t,e){if(console.log(t,e),!this.changeFromInner){if(this.inputVal==t)return;this.inputVal=t,this.$nextTick((function(){this.changeFromInner=!1}))}},inputVal:function(t,e){var i=this;if(""!=t){var n=0,a=this.$u.test.number(t);n=a&&t>=this.min&&t<=this.max?t:e,this.positiveInteger&&(t<0||-1!==String(t).indexOf("."))&&(n=e,this.$nextTick((function(){i.inputVal=e}))),this.isFistVal||this.handleChange(n,"change")}}},data:function(){return{inputVal:1,timer:null,changeFromInner:!1,innerChangeTimer:null,isFistVal:!0}},created:function(){this.inputVal=Number(this.value),this.isFistVal=!1},computed:{getCursorSpacing:function(){return Number(uni.upx2px(this.cursorSpacing))}},methods:{btnTouchStart:function(t){var e=this;this[t](),this.longPress&&(clearInterval(this.timer),this.timer=null,this.timer=setInterval((function(){e[t]()}),this.pressTime))},clearTimer:function(){var t=this;this.$nextTick((function(){clearInterval(t.timer),t.timer=null}))},minus:function(){this.computeVal("minus")},plus:function(){this.computeVal("plus")},calcPlus:function(t,e){var i,n,a;try{n=t.toString().split(".")[1].length}catch(o){n=0}try{a=e.toString().split(".")[1].length}catch(o){a=0}i=Math.pow(10,Math.max(n,a));var r=n>=a?n:a;return((t*i+e*i)/i).toFixed(r)},calcMinus:function(t,e){var i,n,a;try{n=t.toString().split(".")[1].length}catch(o){n=0}try{a=e.toString().split(".")[1].length}catch(o){a=0}i=Math.pow(10,Math.max(n,a));var r=n>=a?n:a;return((t*i-e*i)/i).toFixed(r)},computeVal:function(t){if(uni.hideKeyboard(),!this.disabled){var e=0;"minus"===t?e=this.calcMinus(this.inputVal,this.step):"plus"===t&&(e=this.calcPlus(this.inputVal,this.step)),e<this.min||e>this.max||(this.inputVal=e,this.handleChange(e,t))}},onBlur:function(t){var e=this,i=0,n=t.detail.value;/(^\d+$)/.test(n)&&0!=n[0]||(i=this.min),i=+n,i>this.max?i=this.max:i<this.min&&(i=this.min),this.$nextTick((function(){e.inputVal=i})),this.handleChange(i,"blur")},onFocus:function(){this.$emit("focus")},handleChange:function(t,e){var i=this;this.disabled||(this.innerChangeTimer&&(clearTimeout(this.innerChangeTimer),this.innerChangeTimer=null),this.changeFromInner=!0,this.innerChangeTimer=setTimeout((function(){i.changeFromInner=!1}),150),this.$emit("input",Number(t)),this.$emit(e,{value:Number(t),index:this.index}))}}};e.default=n},8221:function(t,e){t.exports="data:image/png;base64,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"},8478:function(t,e,i){"use strict";i.r(e);var n=i("888a"),a=i("d2f9");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("d9f2");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"4e10ea18",null,!1,n["a"],o);e["default"]=c.exports},"869e":function(t,e,i){t.exports=i.p+"static/img/pintuan_bg.0f075945.png"},8752:function(t,e,i){var n=i("32b1");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("5c201fee",n,!0,{sourceMap:!1,shadowMode:!1})},"888a":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uLoading:i("778d").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{class:"loading "+("flex"==t.type?"flex":""),style:{backgroundColor:t.backgroundColor}},[i("u-loading",{attrs:{mode:"flower",size:60}})],1)},r=[]},8976:function(t,e,i){"use strict";var n=i("e5d8"),a=i.n(n);a.a},"93e2":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.nodes.length?t._e():t._t("default"),i("v-uni-view",{style:t.showAm+(t.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"_top"}},[i("div",{attrs:{id:"rtf"+t.uid}})])],2)},r=[]},"959d":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-count-down",props:{timestamp:{type:[Number,String],default:0},autoplay:{type:Boolean,default:!0},separator:{type:String,default:"colon"},separatorSize:{type:[Number,String],default:30},separatorColor:{type:String,default:"#303133"},color:{type:String,default:"#303133"},fontSize:{type:[Number,String],default:30},bgColor:{type:String,default:"#fff"},height:{type:[Number,String],default:"auto"},showBorder:{type:Boolean,default:!1},borderColor:{type:String,default:"#303133"},showSeconds:{type:Boolean,default:!0},showMinutes:{type:Boolean,default:!0},showHours:{type:Boolean,default:!0},showDays:{type:Boolean,default:!0},hideZeroDay:{type:Boolean,default:!1}},watch:{timestamp:function(t,e){this.clearTimer(),this.start()}},data:function(){return{d:"00",h:"00",i:"00",s:"00",timer:null,seconds:0}},computed:{itemStyle:function(){var t={};return this.height&&(t.height=this.height+"rpx",t.width=this.height+"rpx"),this.showBorder&&(t.borderStyle="solid",t.borderColor=this.borderColor,t.borderWidth="1px"),this.bgColor&&(t.backgroundColor=this.bgColor),t},letterStyle:function(){var t={};return this.fontSize&&(t.fontSize=this.fontSize+"rpx"),this.color&&(t.color=this.color),t}},mounted:function(){this.autoplay&&this.timestamp&&this.start()},methods:{start:function(){var t=this;this.clearTimer(),this.timestamp<=0||(this.seconds=Number(this.timestamp),this.formatTime(this.seconds),this.timer=setInterval((function(){if(t.seconds--,t.$emit("change",t.seconds),t.seconds<0)return t.end();t.formatTime(t.seconds)}),1e3))},formatTime:function(t){t<=0&&this.end();var e=0,i=0,n=0,a=0;e=Math.floor(t/86400),i=Math.floor(t/3600)-24*e;var r=null;r=this.showDays?i:Math.floor(t/3600),n=Math.floor(t/60)-60*i-24*e*60,a=Math.floor(t)-24*e*60*60-60*i*60-60*n,r=r<10?"0"+r:r,n=n<10?"0"+n:n,a=a<10?"0"+a:a,e=e<10?"0"+e:e,this.d=e,this.h=r,this.i=n,this.s=a},end:function(){this.clearTimer(),this.$emit("end",{})},reset:function(){this.clearTimer(),this.seconds=Number(this.timestamp),this.s=this.timestamp,console.log(this.s)},clearTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}},beforeDestroy:function(){clearInterval(this.timer),this.timer=null}};e.default=n},"95fe":function(t,e,i){"use strict";i.r(e);var n=i("b811"),a=i("1625");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("cb0a");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"32e5853c",null,!1,n["a"],o);e["default"]=c.exports},"996d":function(t,e,i){"use strict";i.r(e);var n=i("15ef"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},9988:function(t,e,i){"use strict";i.r(e);var n=i("4cee"),a=i("55a0");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("2828");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"d515d834",null,!1,n["a"],o);e["default"]=c.exports},"9a64":function(t,e,i){var n=i("f4c3");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("17f30d04",n,!0,{sourceMap:!1,shadowMode:!1})},"9b88":function(t,e,i){"use strict";i.r(e);var n=i("371d"),a=i("79d8");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"2f6f69fa",null,!1,n["a"],o);e["default"]=c.exports},"9baa":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={priceFormat:i("8312").default,uIcon:i("4569").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"coupon-list"},t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"m-t-20"},[i("v-uni-view",{class:"coupon-item flex "+(1==t.btnType||2==t.btnType?"gray":"")},[i("v-uni-view",{staticClass:"price white flex-col col-center"},[i("v-uni-view",{staticClass:"xl"},[i("price-format",{attrs:{"first-size":60,"second-size":50,"subscript-size":34,price:e.money,weight:500}})],1),i("v-uni-view",{staticClass:"sm text-center"},[t._v(t._s(e.condition_type_desc))])],1),i("v-uni-view",{staticClass:"info m-l-20"},[i("v-uni-view",{staticClass:"lg m-b-20"},[t._v(t._s(e.coupon_name))]),i("v-uni-view",{staticClass:"xs lighter m-b-20"},[t._v(t._s(e.user_time_desc))]),i("v-uni-view",{staticClass:"xs lighter"},[t._v(t._s(e.use_scene_desc))])],1),i("v-uni-button",{class:"btn br60 white xs "+(3!=t.btnType?"plain":""),attrs:{type:"primary"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onHandle(e.id)}}},[t._v(t._s(t.getBtn))]),e.is_get?i("v-uni-image",{staticClass:"receive",attrs:{src:"/static/images/coupon_receive.png"}}):t._e()],1),e.use_goods_desc?i("v-uni-view",{staticClass:"bg-white",staticStyle:{padding:"14rpx 20rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onShowTips(n)}}},[i("v-uni-view",{staticClass:"flex row-between"},[i("v-uni-view",{staticClass:"xs"},[t._v("使用说明")]),i("u-icon",{class:t.showTips[n]?"rotate":"",attrs:{name:"arrow-down"}})],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.showTips[n],expression:"showTips[index]"}],staticClass:"m-t-10 xs"},[t._v(t._s(e.use_goods_desc))])],1):t._e()],1)})),1)},r=[]},"9df2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){console.log(t),this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){var t=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){t.mescroll.endSuccess()}),500)},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},a=n;e.default=a},"9e5b":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,"@-webkit-keyframes _show-data-v-132e0f5b{0%{opacity:0}100%{opacity:1}}@keyframes _show-data-v-132e0f5b{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},a00d:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-loading-circle[data-v-60256ec8]{display:inline-flex;vertical-align:middle;width:%?28?%;height:%?28?%;background:0 0;border-radius:50%;border:2px solid;border-color:#e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;-webkit-animation:u-circle-data-v-60256ec8 1s linear infinite;animation:u-circle-data-v-60256ec8 1s linear infinite}.u-loading-flower[data-v-60256ec8]{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:u-flower-data-v-60256ec8 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}@-webkit-keyframes u-flower-data-v-60256ec8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-flower-data-v-60256ec8{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes u-circle-data-v-60256ec8{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},a502:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uIcon:i("4569").default,uPopup:i("a821").default,couponList:i("7758").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"get-coupon",style:[t.wrapStyle]},[t.list.length?i("v-uni-view",{staticClass:"coupons flex bg-white",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showCoupon=!0}}},[i("v-uni-view",{staticClass:"text muted"},[t._v("领券")]),i("v-uni-view",{staticClass:"flex-1 flex"},[i("v-uni-view",{staticClass:"con flex flex-1"},t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"coupons-item m-r-20"},[n<2?i("v-uni-view",{staticClass:"flex xs"},[i("v-uni-view",{staticClass:"line-1"},[t._v(t._s(e.condition_type_desc))])],1):t._e()],1)})),1),i("u-icon",{attrs:{name:"arrow-right"}})],1)],1):t._e(),i("u-popup",{attrs:{closeable:!0,mode:"bottom","border-radius":"14"},model:{value:t.showCoupon,callback:function(e){t.showCoupon=e},expression:"showCoupon"}},[i("v-uni-view",[i("v-uni-view",{staticClass:"p-30"},[i("v-uni-view",{staticClass:"title md bold"},[t._v("领券")])],1),i("v-uni-view",{staticClass:"content bg-body"},[i("v-uni-scroll-view",{staticStyle:{height:"700rpx"},attrs:{"scroll-y":"true"}},[i("coupon-list",{attrs:{list:t.list,"btn-type":3},on:{refresh:function(e){arguments[0]=e=t.$handleEvent(e),t.getGoodsCouponFun.apply(void 0,arguments)}}})],1)],1)],1)],1)],1)},r=[]},a878:function(t,e,i){"use strict";var n=i("4ea4");i("fb6a"),i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("6ab0"),r=n(i("e0c6")),o={name:"BubbleTips",props:{discharge:{type:Boolean,default:!1},top:{type:String,default:"40rpx"},left:{type:String,default:"20rpx"},updateTime:{type:Number,default:3e5}},data:function(){return{index:r.default.get("currentIndex")||0,list:[],currentList:[],timer:null,showBubble:!1}},watch:{index:function(t,e){var i=this;if(!(this.index-this.list.length>=0))return this.timer&&(clearInterval(this.timer),this.timer=null),void this.fadeUpBubble();this.showBubble=!1;var n=setTimeout((function(){r.default.set("currentIndex",0),i.timer&&(clearInterval(i.timer),i.timer=null),i.fadeUpBubble(),clearTimeout(n)}),2e3)},discharge:function(){if(this.discharge)return r.default.set("currentIndex",this.index),clearInterval(this.timer),this.timer=null,!1;var t=r.default.get("currentInex")||this.list.length;t-this.list.length<0&&(this.timer&&(setInterval(this.timer),this.timer=null),this.fadeUpBubble())}},methods:{$getBubbleLists:function(){var t=this;(0,a.getBubbleLists)().then((function(e){if(e){t.list=e.data.lists;var i=1e3*e.data.time;r.default.set("bubbleList",JSON.stringify(t.list),300),r.default.set("requestTime",i),t.timer&&(clearInterval(t.timer),t.timer=null),t.fadeUpBubble()}}))},fadeUpBubble:function(){var t=this,e=r.default.get("requestTime"),i=new Date;if(this.showBubble=!0,this.index=r.default.get("currentIndex")||0,this.list=r.default.get("bubbleList")?JSON.parse(r.default.get("bubbleList")):[],i.getTime()-e>=this.updateTime)return this.$getBubbleLists(),void r.default.set("currentIndex",0,300);this.timer=setInterval((function(){t.currentList=t.list.slice(t.index,t.index+1),r.default.set("currentIndex",++t.index)}),4e3)}},created:function(){var t=r.default.get("currentIndex")||0,e=r.default.get("requestTime"),i=new Date,n=r.default.get("bubbleList")?JSON.parse(r.default.get("bubbleList")):[];n.length<=0?(this.$getBubbleLists(),r.default.set("currentIndex",0)):t-n.length>=0?(r.default.set("currentIndex",0),this.timer&&(clearInterval(this.timer),this.timer=null),this.fadeUpBubble()):i.getTime()-e>=this.updateTime?(this.$getBubbleLists(),r.default.set("currentIndex",0)):(this.timer&&(clearInterval(this.timer),this.timer=null),this.fadeUpBubble())},onLoad:function(){},destroyed:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}};e.default=o},ab79:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("4de4"),i("4160"),i("c975"),i("baa5"),i("d81d"),i("fb6a"),i("a9e3"),i("d3b7"),i("ac1f"),i("6062"),i("3ca3"),i("1276"),i("159b"),i("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2909")),r={data:function(){return{shop:{},checkedGoods:{stock:0},outOfStock:[],specList:[],disable:[],goodsNum:1,showPop:!1}},props:{show:{type:Boolean},goods:{type:Object},showAdd:{type:Boolean,default:!0},showBuy:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!1},redBtnText:{type:String,default:"立即购买"},yellowBtnText:{type:String,default:"加入购物车"},showStock:{type:Boolean,default:!0},group:{type:Boolean,default:!1},isSeckill:{type:Boolean,default:!1},type:{type:Boolean,default:!1}},computed:{specValueText:function(){var t,e,i=this,n=null===(t=this.checkedGoods.spec_value_ids)||void 0===t?void 0:t.split(","),a="";return n&&n.forEach((function(t,e){""==t&&(a+=i.specList[e].name+",")})),0!=(null===(e=this.checkedGoods)||void 0===e?void 0:e.stock)&&""==a?"已选择 ".concat(this.checkedGoods.spec_value_str," ").concat(this.goodsNum," 件"):"请选择 ".concat(a.slice(0,a.length-1))}},watch:{goods:function(t){this.specList=t.goods_spec||[];var e=t.goods_item||[];this.shop=t.shop||{},this.outOfStock=e.filter((function(t){return 0==t.stock}));var i=e.filter((function(t){return 0!=t.stock}));0!=i.length?(i[0].spec_value_ids_arr=i[0].spec_value_ids.split(","),this.checkedGoods=i[0]):(e[0].spec_value_ids_arr=[],this.disable=e.map((function(t){return t.spec_value_ids.split(",")})),this.checkedGoods=e[0])},specList:function(t){var e,i=this;if(0!=(null===(e=this.checkedGoods)||void 0===e?void 0:e.stock)){var n=this.goods.goods_item.filter((function(t){return i.checkedGoods.spec_value_ids===t.spec_value_ids})),a=this.checkedGoods.spec_value_ids_arr,r=this.outOfStock,o=this.getArrResult(a,r);if(this.disable=this.getOutOfStockArr(o,a),0!=n.length){var s=JSON.parse(JSON.stringify(n[0]));s.spec_value_ids_arr=s.spec_value_ids.split(","),this.checkedGoods=s,this.$emit("change",{detail:this.checkedGoods})}}},show:function(t){this.showPop=t}},created:function(){console.log("spec")},methods:{isDisable:function(t){var e=this.disable.filter((function(e){return e==t}));return 0!=e.length},onClose:function(){this.$emit("close")},onClick:function(t){var e=this.checkedGoods,i=this.goodsNum;return-1!=this.specValueText.indexOf("请选择")?this.$toast({title:this.specValueText}):0==e.stock?this.$toast({title:"当前选择库存不足"}):(e.goodsNum=i,void this.$emit(t,{detail:e}))},choseSpecItem:function(t,e){var i=this.specList[t].spec_value[e].id,n=this.disable.filter((function(t){return t==i}));if(0==n.length){var r=this.checkedGoods.spec_value_ids_arr;i==r[t]?r[t]="":r[t]=i,this.checkedGoods.spec_value_ids_arr=r,this.checkedGoods.spec_value_ids=r.join(","),this.specList=(0,a.default)(this.specList)}},getOutOfStockArr:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t.forEach((function(t){t.num>=e.length-1&&i.push.apply(i,(0,a.default)(t.different))})),i},getArrIdentical:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return t.forEach((function(t){e.forEach((function(e){t==e&&(n+=1,i.push(t))}))})),{num:n,different:this.getArrDifference((0,a.default)(new Set(i)).map(Number),e.map(Number)),identical:(0,a.default)(new Set(i))}},getArrResult:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.forEach((function(e){var a=i.getArrIdentical(t,e.spec_value_ids.split(","));void 0!=a&&0!=a.length&&n.push(a)})),n},getArrDifference:function(t,e){return t.concat(e).filter((function(t,e,i){return i.indexOf(t)==i.lastIndexOf(t)}))},previewImage:function(t){uni.previewImage({current:t,urls:[t]})}}};e.default=r},aee0:function(t,e,i){var n=i("65a7");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("710d7483",n,!0,{sourceMap:!1,shadowMode:!1})},b248:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.share-popup .share-tab[data-v-c1f7caee]{margin:%?40?% 0 %?140?%}.share-popup .share-tab .share-icon[data-v-c1f7caee]{width:%?100?%;height:%?100?%}.share-popup .cancel[data-v-c1f7caee]{height:%?98?%}.share-poster .share-img[data-v-c1f7caee]{width:%?640?%;border-radius:%?12?%}.share-poster .save-btn[data-v-c1f7caee]{background-color:#ff2c3c;color:#fff;margin-top:%?20?%}.share-tips .share-arrow[data-v-c1f7caee]{width:%?140?%;height:%?250?%;float:right;margin:%?15?% %?31?% 0 0}',""]),t.exports=e},b2b0:function(t,e,i){var n=i("fd06");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("69e27449",n,!0,{sourceMap:!1,shadowMode:!1})},b2c5:function(t,e,i){"use strict";i.r(e);var n=i("045e"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b342:function(t,e,i){"use strict";i.r(e);var n=i("fb65"),a=i("6e44");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("f399");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"5e43407c",null,!1,n["a"],o);e["default"]=c.exports},b44a:function(t,e,i){"use strict";i.r(e);var n=i("4e52"),a=i("ff31");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("8976");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"5996030f",null,!1,n["a"],o);e["default"]=c.exports},b524:function(t,e,i){var n=i("da0e");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("2f5fedd3",n,!0,{sourceMap:!1,shadowMode:!1})},b6f7:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"cu-progress",style:"height: "+t.progressHeight+"; width: "+t.progressWidth+";background-color: "+t.progressColor},[i("v-uni-view",{staticClass:"cu-progress-bar",style:"background-color: "+t.progressBarColor+";left: "+t.barLeft+"rpx; width:"+t.barWidth+"rpx"})],1)},r=[]},b747:function(t,e,i){"use strict";i.r(e);var n=i("c7bb"),a=i("df9f");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"52384022",null,!1,n["a"],o);e["default"]=c.exports},b811:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uImage:i("7171").default,goodsList:i("fae9").default,cuProgress:i("6f28").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goods-shop"},[i("v-uni-view",{staticClass:"title flex"},[i("u-image",{attrs:{width:"100rpx",height:"100rpx","border-radius":"50%",src:t.shop.logo}}),i("v-uni-view",{staticClass:"flex-1 shop-name m-l-20 m-r-20"},[i("v-uni-view",{staticClass:"bold lg line-1"},[t._v(t._s(t.shop.name))]),i("v-uni-view",{staticClass:"xs m-t-10"},[t._v("在售商品 "+t._s(t.shop.goods_on_sale)+"件")])],1),i("router-link",{staticClass:"flex-none",attrs:{to:{path:"/pages/store_index/store_index",query:{id:t.shop.id}}}},[i("v-uni-view",{staticClass:"primary btn br60 sm"},[t._v("进入店铺")])],1)],1),t.list.length?i("v-uni-view",[i("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap"},attrs:{"scroll-x":"true","scroll-with-animation":"true"},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollBarChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"goods"},[i("goods-list",{attrs:{type:"row",list:t.list}})],1)],1),t.list.length>3?i("v-uni-view",{staticClass:"flex row-center progress"},[i("cu-progress",{attrs:{"progress-bar-color":t.colorConfig.primary,left:t.progressPer}})],1):t._e()],1):t._e()],1)},r=[]},baa5:function(t,e,i){var n=i("23e7"),a=i("e58c");n({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},bae6:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("caad"),i("c975"),i("acd8"),i("e25e"),i("ac1f"),i("2532"),i("466d"),i("5319"),i("841c"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a,r=n(i("b85c")),o=uni.getSystemInfoSync(),s=o.windowWidth,c=(o.platform,i("7ff8")),u={name:"parser",data:function(){return{uid:this._uid,showAm:"",nodes:[]}},props:{html:String,autopause:{type:Boolean,default:!0},autoscroll:Boolean,autosetTitle:{type:Boolean,default:!0},domain:String,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},created:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,i=this.length;e<i;e++)this.setItem(e,t(this[e],e,this))},this.imgList.setItem=function(t,e){if(void 0!=t&&e){if(0==e.indexOf("http")&&this.includes(e)){for(var i,n=e.split("://")[0],a=n.length;i=e[a];a++){if("/"==i&&"/"!=e[a-1]&&"/"!=e[a+1])break;n+=Math.random()>.5?i.toUpperCase():i}return n+=e.substr(a),this[t]=n}if(this[t]=e,e.includes("data:image")){var r=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!r)return}}}},mounted:function(){var t=this;this.document=document.getElementById("rtf"+this._uid),a&&(this.search=function(e){return a(t,e)}),this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{setContent:function(t,e){var i=this;if(t){var n=document.createElement("div");e?this.rtf?this.rtf.appendChild(n):this.rtf=n:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=n),n.innerHTML=this._handleHtml(t,e);for(var a,o=this.rtf.getElementsByTagName("style"),u=0;a=o[u++];)a.innerHTML=a.innerHTML.replace(/body/g,"#rtf"+this._uid),a.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,n=0;e=t[n++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),i._observer.unobserve(e.target))}),{rootMargin:"500px 0px 500px 0px"}));var l=this,d=this.rtf.getElementsByTagName("title");d.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:d[0].innerText});var f=function(t){var e=t.getAttribute("src");i.domain&&e&&("/"==e[0]?"/"==e[1]?t.src=(i.domain.includes("://")?i.domain.split("://")[0]:"")+":"+e:t.src=i.domain+e:e.includes("://")||0==e.indexOf("data:")||(t.src=i.domain+"/"+e))};this.imgList.length=0;for(var h,p=this.rtf.getElementsByTagName("img"),v=0,g=0;h=p[v];v++)parseInt(h.style.width||h.getAttribute("width"))>s&&(h.style.height="auto"),f(h),h.hasAttribute("ignore")||"A"==h.parentElement.nodeName||(h.i=g++,l.imgList.push(h.getAttribute("original-src")||h.src||h.getAttribute("data-src")),h.onclick=function(t){t.stopPropagation();var e=!0;this.ignore=function(){return e=!1},l.$emit("imgtap",this),e&&uni.previewImage({current:this.i,urls:l.imgList})}),h.onerror=function(){c.errorImg&&(l.imgList[this.i]=this.src=c.errorImg),l.$emit("error",{source:"img",target:this})},l.lazyLoad&&this._observer&&h.src&&0!=h.i&&(h.setAttribute("data-src",h.src),h.removeAttribute("src"),this._observer.observe(h));var m,b=this.rtf.getElementsByTagName("a"),w=(0,r.default)(b);try{for(w.s();!(m=w.n()).done;){var x=m.value;x.onclick=function(t){t.stopPropagation();var e=!0,i=this.getAttribute("href");if(l.$emit("linkpress",{href:i,ignore:function(){return e=!1}}),e&&i)if("#"==i[0])l.useAnchor&&l.navigateTo({id:i.substr(1)});else{if(0==i.indexOf("http")||0==i.indexOf("//"))return!0;uni.navigateTo({url:i})}return!1}}}catch(O){w.e(O)}finally{w.f()}var y=this.rtf.getElementsByTagName("video");l.videoContexts=y;for(var A,S=0;A=y[S++];)f(A),A.style.maxWidth="100%",A.onerror=function(){l.$emit("error",{source:"video",target:this})},A.onplay=function(){if(l.autopause)for(var t,e=0;t=l.videoContexts[e++];)t!=this&&t.pause()};var k,C,_=this.rtf.getElementsByTagName("audio"),I=(0,r.default)(_);try{for(I.s();!(k=I.n()).done;){var z=k.value;f(z),z.onerror=function(){l.$emit("error",{source:"audio",target:this})}}}catch(O){I.e(O)}finally{I.f()}if(this.autoscroll){var T,B=this.rtf.getElementsByTagName("table"),P=(0,r.default)(B);try{for(P.s();!(T=P.n()).done;){var R=T.value,j=document.createElement("div");j.style.overflow="scroll",R.parentNode.replaceChild(j,R),j.appendChild(R)}}catch(O){P.e(O)}finally{P.f()}}e||this.document.appendChild(this.rtf),this.$nextTick((function(){i.nodes=[1],i.$emit("load")})),setTimeout((function(){return i.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){i.rect=i.rtf.getBoundingClientRect(),i.rect.height==C&&(i.$emit("ready",i.rect),clearInterval(i._timer)),C=i.rect.height}),350),this.showWithAnimation&&!e&&(this.showAm="animation:_show .5s")}else this.rtf&&!e&&this.rtf.parentNode.removeChild(this.rtf)},getText:function(){arguments.length>0&&void 0!==arguments[0]||this.nodes;var t="";return t=this.rtf.innerText,t},in:function(t){t.page&&t.selector&&t.scrollTop&&(this._in=t)},navigateTo:function(t){var e=this;if(!this.useAnchor)return t.fail&&t.fail("Anchor is disabled");var i=" ",n=uni.createSelectorQuery().in(this._in?this._in.page:this).select((this._in?this._in.selector:"#_top")+(t.id?"".concat(i,"#").concat(t.id,",").concat(this._in?this._in.selector:"#_top").concat(i,".").concat(t.id):"")).boundingClientRect();this._in?n.select(this._in.selector).scrollOffset().select(this._in.selector).boundingClientRect():n.selectViewport().scrollOffset(),n.exec((function(i){if(!i[0])return t.fail&&t.fail("Label not found");var n=i[1].scrollTop+i[0].top-(i[2]?i[2].top:0)+(t.offset||0);e._in?e._in.page[e._in.scrollTop]=n:uni.pageScrollTo({scrollTop:n,duration:300}),t.success&&t.success()}))},getVideoContext:function(t){if(!t)return this.videoContexts;for(var e=this.videoContexts.length;e--;)if(this.videoContexts[e].id==t)return this.videoContexts[e]},_handleHtml:function(t,e){if(!e){var i="<style scoped>@keyframes _show{0%{opacity:0}100%{opacity:1}}img{max-width:100%}";for(var n in c.userAgentStyles)i+="".concat(n,"{").concat(c.userAgentStyles[n],"}");for(n in this.tagStyle)i+="".concat(n,"{").concat(this.tagStyle[n],"}");i+="</style>",t=i+t}return t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*s/750+"px"}))),t}}};e.default=u},bb2f:function(t,e,i){var n=i("d039");t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bda1:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("c740"),i("fb6a"),i("a434"),i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r={name:"u-waterfall",props:{value:{type:Array,required:!0,default:function(){return[]}},addTime:{type:[Number,String],default:200},idKey:{type:String,default:"id"}},data:function(){return{leftList:[],rightList:[],tempList:[],children:[]}},watch:{copyFlowList:function(t,e){var i=Array.isArray(e)&&e.length>0?e.length:0;this.tempList=this.tempList.concat(this.cloneData(t.slice(i))),this.splitData()}},mounted:function(){this.tempList=this.cloneData(this.copyFlowList),this.splitData()},computed:{copyFlowList:function(){return this.cloneData(this.value)}},methods:{splitData:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.tempList.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.$uGetRect("#u-left-column");case 4:return i=e.sent,e.next=7,t.$uGetRect("#u-right-column");case 7:if(n=e.sent,a=t.tempList[0],a){e.next=11;break}return e.abrupt("return");case 11:i.height<n.height?t.leftList.push(a):i.height>n.height?t.rightList.push(a):t.leftList.length<=t.rightList.length?t.leftList.push(a):t.rightList.push(a),t.tempList.splice(0,1),t.tempList.length&&setTimeout((function(){t.splitData()}),t.addTime);case 14:case"end":return e.stop()}}),e)})))()},cloneData:function(t){return JSON.parse(JSON.stringify(t))},clear:function(){this.leftList=[],this.rightList=[],this.$emit("input",[]),this.tempList=[]},remove:function(t){var e=this,i=-1;i=this.leftList.findIndex((function(i){return i[e.idKey]==t})),-1!=i?this.leftList.splice(i,1):(i=this.rightList.findIndex((function(i){return i[e.idKey]==t})),-1!=i&&this.rightList.splice(i,1)),i=this.value.findIndex((function(i){return i[e.idKey]==t})),-1!=i&&this.$emit("input",this.value.splice(i,1))},modify:function(t,e,i){var n=this,a=-1;if(a=this.leftList.findIndex((function(e){return e[n.idKey]==t})),-1!=a?this.leftList[a][e]=i:(a=this.rightList.findIndex((function(e){return e[n.idKey]==t})),-1!=a&&(this.rightList[a][e]=i)),a=this.value.findIndex((function(e){return e[n.idKey]==t})),-1!=a){var r=this.cloneData(this.value);r[a][e]=i,this.$emit("input",r)}}}};e.default=r},bf98:function(t,e,i){var n=i("9e5b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("5d90a2a2",n,!0,{sourceMap:!1,shadowMode:!1})},bfaf:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.float-tab[data-v-5e43407c]{position:fixed;right:%?16?%;bottom:%?200?%;width:%?96?%;height:%?96?%;z-index:777}.float-tab .tab-img[data-v-5e43407c]{width:100%;height:100%;position:absolute;transition:all .5s}.float-tab .tab-img .tab-icon[data-v-5e43407c]{width:100%;height:100%}',""]),t.exports=e},c0df:function(t,e,i){"use strict";i.r(e);var n=i("2c49"),a=i("ea95");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("6c66");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"be403f36",null,!1,n["a"],o);e["default"]=c.exports},c176:function(t,e,i){"use strict";i.r(e);var n=i("411d"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c450:function(t,e,i){"use strict";var n=i("b524"),a=i.n(n);a.a},c7bb:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-text",{staticStyle:{opacity:"0"}},[t._t("default")],2)},r=[]},c7f6:function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=i("0057"),o={name:"get-coupon",props:{goodsId:{type:[Number,String]},shopId:{type:[Number,String]},type:{type:String},wrapStyle:Object},data:function(){return{showCoupon:!1,list:[]}},watch:{goodsId:function(t){this.getGoodsCouponFun()},shopId:function(){this.getGoodsCouponFun()}},methods:{getGoodsCouponFun:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t.goodsId),e.next=3,(0,r.getCouponList)({goods_id:t.goodsId,shop_id:t.shopId});case 3:i=e.sent,n=i.data,a=i.code,console.log(n),1==a&&(t.list=n.lists);case 8:case"end":return e.stop()}}),e)})))()}}};e.default=o},c989:function(t,e,i){"use strict";var n=i("d5e1"),a=i.n(n);a.a},ca2d:function(t,e){t.exports="data:image/png;base64,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"},cb0a:function(t,e,i){"use strict";var n=i("5990"),a=i.n(n);a.a},cb29:function(t,e,i){var n=i("23e7"),a=i("81d5"),r=i("44d2");n({target:"Array",proto:!0},{fill:a}),r("fill")},cf45:function(t,e,i){var n=i("4bdb");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("f44930ca",n,!0,{sourceMap:!1,shadowMode:!1})},d05d:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view")},r=[]},d197:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"root",style:{width:t.width,height:t.height}},[i("v-uni-image",{staticClass:"posterImg",style:{width:t.width,height:t.height},attrs:{src:t.posterUrl}}),i("v-uni-view",{staticClass:"box",style:{width:t.width,height:t.height},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.state=!t.state}}},[i("v-uni-image",{staticClass:"playIcon",attrs:{src:"/static/images/icon_play.png",mode:"widthFix"}})],1),i("v-uni-video",{staticClass:"video",style:{height:t.height,width:t.state?"750rpx":"1rpx"},attrs:{id:t.videoId,src:t.url},on:{pause:function(e){arguments[0]=e=t.$handleEvent(e),t.state=0},timeupdate:function(e){arguments[0]=e=t.$handleEvent(e),t.timeupdate.apply(void 0,arguments)},fullscreenchange:function(e){arguments[0]=e=t.$handleEvent(e),t.fullscreenchange.apply(void 0,arguments)}}})],1)},r=[]},d229:function(t,e,i){"use strict";i.r(e);var n=i("bda1"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},d2f9:function(t,e,i){"use strict";i.r(e);var n=i("2da8"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},d5e1:function(t,e,i){var n=i("683d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("075c3566",n,!0,{sourceMap:!1,shadowMode:!1})},d6e2:function(t,e,i){"use strict";var n=i("bf98"),a=i.n(n);a.a},d8a5:function(t,e,i){"use strict";var n=i("aee0"),a=i.n(n);a.a},d9f2:function(t,e,i){"use strict";var n=i("e712"),a=i.n(n);a.a},da0e:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.root[data-v-41322535]{position:relative;width:%?750?%;height:300px;overflow:hidden}.posterImg[data-v-41322535], .video[data-v-41322535], .box[data-v-41322535]{display:flex;width:%?750?%;height:300px;position:absolute}.video[data-v-41322535]{margin-left:-2000px}.box[data-v-41322535]{justify-content:center;align-items:center}.playIcon[data-v-41322535]{width:%?100?%;height:%?100?%}',""]),t.exports=e},dbc5:function(t,e,i){"use strict";var n=i("4e62"),a=i.n(n);a.a},df4a:function(t,e,i){"use strict";i.r(e);var n=i("0a92"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},df9f:function(t,e,i){"use strict";i.r(e);var n=i("09a0"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},e3e3:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("caad"),i("c975"),i("c19f"),i("ace4"),i("d3b7"),i("acd8"),i("e25e"),i("ac1f"),i("3ca3"),i("5319"),i("1276"),i("5cc6"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("2954"),i("649e"),i("219c"),i("b39a"),i("72f7"),i("ddb0"),i("2b3d"),Object.defineProperty(e,"__esModule",{value:!0}),e.sleep=c,e.isNumber=d,e.toPx=f,e.compareVersion=h,e.base64ToPath=p,e.pathToBase64=v,e.getImageInfo=g,e.isBase64=void 0,i("96cf");var a=n(i("1da1")),r=n(i("3835")),o=/^(http|\/\/)/,s=function(t){return/^data:image\/(\w+);base64/.test(t)};function c(t){return new Promise((function(e){return setTimeout(e,t)}))}e.isBase64=s;var u=["devtools"].includes(uni.getSystemInfoSync().platform),l={};function d(t){return/^-?\d+(\.\d+)?$/.test(t)}function f(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("number"===typeof t)return t;if(d(t))return 1*t;if("string"===typeof t){var n=/^-?([0-9]+)?([.]{1}[0-9]+){0,1}(em|rpx|px|%)$/g,a=n.exec(t);if(!t||!a)return 0;var r=a[3];t=parseFloat(t);var o=0;return"rpx"===r?o=uni.upx2px(t):"px"===r?o=1*t:"%"===r?o=t*f(e)/100:"em"===r&&(o=t*f(e||14)),i?1*o.toFixed(2):Math.round(o)}return 0}function h(t,e){t=t.split("."),e=e.split(".");var i=Math.max(t.length,e.length);while(t.length<i)t.push("0");while(e.length<i)e.push("0");for(var n=0;n<i;n++){var a=parseInt(t[n],10),r=parseInt(e[n],10);if(a>r)return 1;if(a<r)return-1}return 0}function p(t){var e=/data:image\/(\w+);base64,(.*)/.exec(t)||[],i=(0,r.default)(e,3);i[1],i[2];return new Promise((function(e,i){for(var n=t.split(",")[0].split(":")[1].split(";")[0],a=atob(t.split(",")[1]),r=new ArrayBuffer(a.length),o=new Uint8Array(r),s=0;s<a.length;s++)o[s]=a.charCodeAt(s);e(URL.createObjectURL(new Blob([o],{type:n})))}))}function v(t){return/^data:/.test(t)?t:new Promise((function(e,i){var n=function(){var n=new Image;n.setAttribute("crossOrigin","Anonymous"),n.onload=function(){var t=document.createElement("canvas");t.width=this.naturalWidth,t.height=this.naturalHeight,t.getContext("2d").drawImage(n,0,0);var i=t.toDataURL("image/png");e(i),t.height=t.width=0},n.src=t,n.onerror=function(e){console.error("urlToBase64 error: ".concat(t),JSON.stringify(e)),i(new Error("urlToBase64 error"))}},a=function(t){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.readAsDataURL(t),n.onerror=function(t){console.error("blobToBase64 error:",JSON.stringify(t)),i(new Error("blobToBase64 error"))}},r="function"===typeof FileReader;if(o.test(t)&&r){window.URL=window.URL||window.webkitURL;var s=new XMLHttpRequest;s.open("get",t,!0),s.timeout=2e3,s.responseType="blob",s.onload=function(){200==this.status?a(this.response):n()},s.onreadystatechange=function(){0===this.status&&console.error("图片跨域了,得后端处理咯")},s.send()}else/^blob/.test(t)&&r?a(t):n()}))}function g(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise(function(){var i=(0,a.default)(regeneratorRuntime.mark((function i(n,a){var r;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(/^\.|^\/(?=[^\/])/,!o.test(t)||!e){i.next=5;break}return i.next=4,v(t);case 4:t=i.sent;case 5:if(!s(t)){i.next=15;break}if(!u&&l[t]){i.next=14;break}return r=t,i.next=10,p(t);case 10:t=i.sent,l[r]=t,i.next=15;break;case 14:t=l[t];case 15:l[t]&&l[t].errMsg?n(l[t]):uni.getImageInfo({src:t,success:function(e){e.path=e.path.replace(/^\./,window.location.origin),e.naturalSrc=t,u?n(e):(l[t]=e,n(l[t]))},fail:function(e){n({path:t}),console.error("getImageInfo:fail ".concat(t," failed ").concat(JSON.stringify(e)))}});case 16:case"end":return i.stop()}}),i)})));return function(t,e){return i.apply(this,arguments)}}())}},e5d8:function(t,e,i){var n=i("487a");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("29e3c44e",n,!0,{sourceMap:!1,shadowMode:!1})},e712:function(t,e,i){var n=i("f4a2");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("c635eb4a",n,!0,{sourceMap:!1,shadowMode:!1})},e9f4:function(t,e,i){"use strict";var n=i("9a64"),a=i.n(n);a.a},ea88:function(t,e,i){"use strict";i.r(e);var n=i("3c05"),a=i("996d");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"f78b7128",null,!1,n["a"],o);e["default"]=c.exports},ea95:function(t,e,i){"use strict";i.r(e);var n=i("1323"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},eadb:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uIcon:i("4569").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-numberbox"},[i("v-uni-view",{staticClass:"u-icon-minus",class:{"u-icon-disabled":t.disabled||t.inputVal<=t.min},style:{background:t.bgColor,height:t.inputHeight+"rpx",color:t.color},on:{touchstart:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.btnTouchStart("minus")},touchend:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.clearTimer.apply(void 0,arguments)}}},[i("u-icon",{attrs:{name:"minus",size:t.size}})],1),i("v-uni-input",{staticClass:"u-number-input",class:{"u-input-disabled":t.disabled},style:{color:t.color,fontSize:t.size+"rpx",background:t.bgColor,height:t.inputHeight+"rpx",width:t.inputWidth+"rpx"},attrs:{disabled:t.disabledInput||t.disabled,"cursor-spacing":t.getCursorSpacing,type:"number"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.onBlur.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)}},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}}),i("v-uni-view",{staticClass:"u-icon-plus",class:{"u-icon-disabled":t.disabled||t.inputVal>=t.max},style:{background:t.bgColor,height:t.inputHeight+"rpx",color:t.color},on:{touchstart:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.btnTouchStart("plus")},touchend:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.clearTimer.apply(void 0,arguments)}}},[i("u-icon",{attrs:{name:"plus",size:t.size}})],1)],1)},r=[]},eb70:function(t,e,i){"use strict";i.r(e);var n=i("93e2"),a=i("4d02");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("d6e2");var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"132e0f5b",null,!1,n["a"],o);e["default"]=c.exports},eeeb:function(t,e,i){t.exports=i.p+"static/img/coupon_bg.f1e66fff.png"},f183:function(t,e,i){var n=i("d012"),a=i("861d"),r=i("5135"),o=i("9bf2").f,s=i("90e3"),c=i("bb2f"),u=s("meta"),l=0,d=Object.isExtensible||function(){return!0},f=function(t){o(t,u,{value:{objectID:"O"+ ++l,weakData:{}}})},h=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!r(t,u)){if(!d(t))return"F";if(!e)return"E";f(t)}return t[u].objectID},p=function(t,e){if(!r(t,u)){if(!d(t))return!0;if(!e)return!1;f(t)}return t[u].weakData},v=function(t){return c&&g.REQUIRED&&d(t)&&!r(t,u)&&f(t),t},g=t.exports={REQUIRED:!1,fastKey:h,getWeakData:p,onFreeze:v};n[u]=!0},f389:function(t,e,i){"use strict";i.r(e);var n=i("47e7"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},f399:function(t,e,i){"use strict";var n=i("fa8b"),a=i.n(n);a.a},f4a2:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.loading[data-v-4e10ea18]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;display:flex;justify-content:center;align-items:center}.loading.flex[data-v-4e10ea18]{position:static;flex:1;width:100%}.loading .loading-img[data-v-4e10ea18]{width:%?100?%;height:%?100?%}',""]),t.exports=e},f4bc:function(t,e,i){"use strict";i.r(e);var n=i("ab79"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},f4c3:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-navbar[data-v-1d8d3e19]{width:100%}.u-navbar-fixed[data-v-1d8d3e19]{position:fixed;left:0;right:0;top:0;z-index:991}.u-status-bar[data-v-1d8d3e19]{width:100%}.u-navbar-inner[data-v-1d8d3e19]{width:100%;display:flex;flex-direction:row;justify-content:space-between;position:relative;align-items:center}.u-back-wrap[data-v-1d8d3e19]{display:flex;flex-direction:row;align-items:center;flex:1;flex-grow:0;padding:%?14?% %?14?% %?14?% %?24?%}.u-back-text[data-v-1d8d3e19]{padding-left:%?4?%;font-size:%?30?%}.u-navbar-content-title[data-v-1d8d3e19]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1;position:absolute;left:0;right:0;height:%?60?%;text-align:center;flex-shrink:0}.u-navbar-centent-slot[data-v-1d8d3e19]{flex:1}.u-title[data-v-1d8d3e19]{line-height:%?60?%;font-size:%?32?%;flex:1}.u-navbar-right[data-v-1d8d3e19]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.u-slot-content[data-v-1d8d3e19]{flex:1;display:flex;flex-direction:row;align-items:center;position:relative}',""]),t.exports=e},f4ee:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("4de4"),i("caad"),i("c975"),i("d81d"),i("ac1f"),i("5319"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.parent=s,e.children=c;var a=n(i("2909")),r=n(i("ade3")),o=(i("e3e3"),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.split(";").filter((function(t){return t&&!/^[\n\s]+$/.test(t)})).map((function(t){var e,i,n=t.split(":");return(0,r.default)({},n[0].replace(/-([a-z])/g,(function(){return arguments[1].toUpperCase()})).replace(/\s+/g,""),(null===n||void 0===n||null===(e=n[1])||void 0===e||null===(i=e.replace(/^\s+/,""))||void 0===i?void 0:i.replace(/\s+$/,""))||"")}))});function s(t){return{provide:function(){return(0,r.default)({},t,this)},data:function(){return{el:{css:{},views:[]}}},watch:{css:{handler:function(t){var e,i;this.canvasId&&(this.el.css="object"==typeof t?t:t&&Object.assign.apply(Object,(0,a.default)(o(t)))||{},this.canvasWidth=(null===(e=this.el.css)||void 0===e?void 0:e.width)||this.canvasWidth,this.canvasHeight=(null===(i=this.el.css)||void 0===i?void 0:i.height)||this.canvasHeight)},immediate:!0}}}}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.indexKey;return{inject:(0,r.default)({},t,{default:null}),watch:{el:{handler:function(t,e){JSON.stringify(t)!=JSON.stringify(e)&&this.bindRelation()},deep:!0,immediate:!0},src:{handler:function(t,e){t!=e&&this.bindRelation()},immediate:!0},text:{handler:function(t,e){t!=e&&this.bindRelation()},immediate:!0},css:{handler:function(t,e){t!=e&&(this.el.css="object"==typeof t?t:t&&Object.assign.apply(Object,(0,a.default)(o(t)))||{})},immediate:!0},replace:{handler:function(t,e){JSON.stringify(t)!=JSON.stringify(e)&&this.bindRelation()},deep:!0,immediate:!0}},created:function(){var e=this;Object.defineProperty(this,"parent",{get:function(){return e[t]}}),Object.defineProperty(this,"index",{get:function(){var t,i;return e.bindRelation(),null===(t=e.parent)||void 0===t||null===(i=t.el.views)||void 0===i?void 0:i.indexOf(e.el)}}),this.el.type=this.type},beforeDestroy:function(){var t=this;this.parent&&(this.parent.el.views=this.parent.el.views.filter((function(e){return e._uid!==t._uid})))},methods:{bindRelation:function(){var t,e,i,n,r=this;(this.el._uid||(this.el._uid=this._uid),["text","qrcode"].includes(this.type))&&(this.el.text=(null===(t=this.$slots)||void 0===t||null===(e=t.default)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.text)||(null===(n=this.text)||void 0===n?void 0:n.replace(/\\n/g,"\n")));if("text"==this.type&&this.replace&&(this.el.replace=this.replace),"image"==this.type&&(this.el.src=this.src),this.parent){var o=this.parent.el.views||[];-1!==o.indexOf(this.el)?this.parent.el.views=o.map((function(t){return t._uid==r._uid?r.el:t})):this.parent.el.views=[].concat((0,a.default)(o),[this.el])}}},mounted:function(){this.bindRelation()}}}},f64e:function(t,e,i){"use strict";i.r(e);var n=i("0530"),a=i("c176");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"0823bc9c",null,!1,n["a"],o);e["default"]=c.exports},f732:function(t,e,i){"use strict";i.r(e);var n=i("2868"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},f8986:function(t,e,i){var n=i("b248");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("338f2435",n,!0,{sourceMap:!1,shadowMode:!1})},fa8b:function(t,e,i){var n=i("bfaf");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("95858b16",n,!0,{sourceMap:!1,shadowMode:!1})},fab5:function(t,e,i){"use strict";i.r(e);var n=i("81df"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},fb65:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"float-tab ~column"},[i("v-uni-navigator",{staticClass:"tab-img",style:{top:3*t.top+"px"},attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/index/index"}},[i("v-uni-image",{staticClass:"tab-icon",attrs:{src:"/static/images/icon_float_home.png"}})],1),i("v-uni-navigator",{staticClass:"tab-img",style:{top:2*t.top+"px"},attrs:{"hover-class":"none","open-type":"navigate",url:"/bundle/pages/chat/chat"}},[i("v-uni-image",{staticClass:"tab-icon",attrs:{src:"/static/images/icon_float_help.png"}})],1),i("v-uni-navigator",{staticClass:"tab-img",style:{top:t.top+"px"},attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/shop_cart/shop_cart"}},[i("v-uni-image",{staticClass:"tab-icon",attrs:{src:"/static/images/icon_float_cart.png"}})],1),i("v-uni-image",{staticClass:"tab-img",staticStyle:{"z-index":"99"},style:{transform:"rotateZ("+(t.showMore?135:0)+"deg)"},attrs:{src:"/static/images/icon_float_more.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onChange.apply(void 0,arguments)}}})],1)},r=[]},fb78:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=n(i("9df2")),o=i("3b3e"),s={mixins:[r.default],props:{autoGetData:{type:Boolean,default:!0}},data:function(){return{goodsList:[],active:0,columnList:[],upOption:{auto:!1,empty:{icon:"/static/images/goods_null.png",tip:"暂无商品"}},downOption:{use:!1,isLock:!0},hasData:!0}},mounted:function(){this.autoGetData&&this.getData()},methods:{getData:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getGoodsColumnFun();case 2:t.$refs.uWaterfall&&t.$refs.uWaterfall.clear(),t.mescroll.resetUpScroll();case 4:case"end":return e.stop()}}),e)})))()},changeActive:function(t){this.active=t,this.$refs.uWaterfall.clear(),this.mescroll.resetUpScroll()},upCallback:function(t){var e=this,i=this.columnList,n=this.active,a=t.num,r=t.size;if(i.length){var s=i[n].id;(0,o.getGoodsListColumn)({page_size:r,page_no:a,column_id:s}).then((function(i){var n=i.data,a=n.lists,r=a.length,o=!!n.more;1==t.num&&(e.goodsList=[]),e.goodsList=e.goodsList.concat(a),e.mescroll.endSuccess(r,o)}))}},getGoodsColumnFun:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.getGoodsColumn)();case 2:i=e.sent,n=i.data,a=i.code,1==a&&(t.columnList=n,t.hasData=!!n.length);case 6:case"end":return e.stop()}}),e)})))()}}};e.default=s},fd06:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".cu-progress[data-v-285eab10]{background-color:#e5e5e5;height:%?6?%;width:%?90?%;position:relative}.cu-progress .cu-progress-bar[data-v-285eab10]{height:100%;width:%?30?%;position:absolute;left:0}",""]),t.exports=e},ff31:function(t,e,i){"use strict";i.r(e);var n=i("1f3c"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a}}]); |