Current Path : /www/wwwroot/jsnz.xshop.geekdanceshop.com/public/weapp/common/
Upload File :
Current File : /www/wwwroot/jsnz.xshop.geekdanceshop.com/public/weapp/common/vendor.js

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"0164":function(e,t,o){"use strict";(function(e,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={methods:{orderPay:function(t){var o=this;0==t.adjust_money?this.pay():e.showModal({title:"提示",content:"商家已将支付金额调整为"+t.pay_money+"元,是否继续支付?",success:function(e){e.confirm&&o.pay()}})},pay:function(){var e=this;this.$api.sendRequest({url:"/api/order/pay",data:{order_ids:this.orderData.order_id},success:function(t){t.code>=0?e.$refs.choosePaymentPopup.getPayInfo(t.data):e.$util.showToast({title:t.message})}})},orderClose:function(t,o){var n=this;e.showModal({title:"提示",content:"您确定要关闭该订单吗?",success:function(e){e.confirm&&n.$api.sendRequest({url:"/api/order/close",data:{order_id:t},success:function(e){e.code>=0?"function"==typeof o&&o():n.$util.showToast({title:"当前订单可能存在拼团,维权等操作,"+e.message+"不可以关闭哦!",duration:2e3})}})}})},orderDelivery:function(t,n){var i=this;"wechatpay"==t.pay_type&&o.openBusinessView&&t.is_trade_managed?o.openBusinessView({businessType:"weappOrderConfirm",extraData:{merchant_id:t.pay_config.mch_id,merchant_trade_no:t.out_trade_no},success:function(e){e.extraData.status,i.$api.sendRequest({url:"/api/order/takedelivery",data:{order_id:t.order_id},success:function(e){i.$util.showToast({title:e.message}),"function"==typeof n&&n()}})},fail:function(e){console.log("fail",e)}}):e.showModal({title:"提示",content:"您确定已经收到货物了吗?",success:function(e){e.confirm&&i.$api.sendRequest({url:"/api/order/takedelivery",data:{order_id:t.order_id},success:function(e){i.$util.showToast({title:e.message}),"function"==typeof n&&n()}})}})},orderVirtualDelivery:function(t,n){var i=this;"wechatpay"==t.pay_type&&o.openBusinessView&&t.is_trade_managed?o.openBusinessView({businessType:"weappOrderConfirm",extraData:{merchant_id:t.pay_config.mch_id,merchant_trade_no:t.out_trade_no},success:function(e){e.extraData.status,i.$api.sendRequest({url:"/api/order/membervirtualtakedelivery",data:{order_id:t.order_id},success:function(e){i.$util.showToast({title:e.message}),"function"==typeof n&&n()}})},fail:function(e){}}):e.showModal({title:"提示",content:"您确定要进行收货吗?",success:function(e){e.confirm&&i.$api.sendRequest({url:"/api/order/membervirtualtakedelivery",data:{order_id:t.order_id},success:function(e){i.$util.showToast({title:e.message}),"function"==typeof n&&n()}})}})}}};t.default=n}).call(this,o("543d")["default"],o("bc2e")["default"])},"03f6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Weixin=void 0;t.Weixin=function(){var e=o("9633");this.weixin=e,this.init=function(t){e.config({debug:!1,appId:t.appId,timestamp:t.timestamp,nonceStr:t.nonceStr,signature:t.signature,jsApiList:["chooseWXPay","openAddress","updateAppMessageShareData","updateTimelineShareData","scanQRCode","hideMenuItems"]})},this.pay=function(t,o,n){e.ready((function(){e.chooseWXPay({timestamp:t.timestamp,nonceStr:t.nonceStr,package:t.package,signType:t.signType,paySign:t.paySign,success:function(e){"function"==typeof o&&o(e)},cancel:function(e){"function"==typeof n&&n(e)}})}))},this.openAddress=function(t){e.ready((function(){e.openAddress({success:function(e){"function"==typeof t&&t(e)},fail:function(e){console.log("获取收货地址 fail",e),alert(JSON.stringify(e))}})}))},this.setShareData=function(t,o){e.ready((function(){e.updateAppMessageShareData({title:t.title||"",desc:t.desc||"",link:t.link||"",imgUrl:t.imgUrl||"",success:function(e){"function"==typeof o&&o(e)},fail:function(e){}}),e.updateTimelineShareData({title:t.title||"",link:t.link||"",imgUrl:t.imgUrl||"",success:function(e){"function"==typeof o&&o(e)}})}))},this.scanQRCode=function(t){e.ready((function(){e.scanQRCode({needResult:1,scanType:["qrCode"],success:function(e){"function"==typeof t&&t(e)}})}))}}},"04d7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={tabBar:{home:"首页",category:"分类",cart:"购物车",member:"个人中心"},common:{name:"中文",mescrollTextInOffset:"下拉刷新",mescrollTextOutOffset:"释放更新",mescrollEmpty:"暂无相关数据",goodsRecommendTitle:"猜你喜欢",currencySymbol:"¥",submit:"提交"}}},"05b27":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"店铺打烊"}},"0676":function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},"06b7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"支付结果",paymentSuccess:"支付成功",paymentFail:"支付失败",goHome:"回到首页",memberCenter:"会员中心",payMoney:"支付金额",unit:"元"}},"07be":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"刮刮乐"}},"0aae":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},"0ece":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账单"}},"0ee4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},"10b6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"编辑收货地址",consignee:"姓名",consigneePlaceholder:"收货人姓名",mobile:"手机",mobilePlaceholder:"收货人手机号",telephone:"电话",telephonePlaceholder:"收货人固定电话(选填)",receivingCity:"地区",address:"详细地址",addressPlaceholder:"小区、街道、写字楼",save:"保存"}},"11b0":function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},"11e2":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},"124b":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},1330:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的红包列表"}},1331:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"笔记详情"}},"13e9":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"商品分类",seeMore:"查看更多"}},"14a6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},"14ef":function(e,t,o){"use strict";var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("2eee")),r=n(o("c973")),a={data:function(){return{goodsRoute:"/pages/goods/detail",couponList:[],couponBtnSwitch:!1,posterApi:"/api/goods/poster",manjian:{type:0,manjian_name:"",rule_json:null},bundlingType:!1,bundling:[{bundling_goods:{bl_name:"",sku_image:""}}],membercard:null,hackReset:!0,cardOff:!1}},computed:{showDiscount:function(){var e=!1;return 0==this.preview&&this.addonIsExist.discount&&1==this.goodsSkuDetail.promotion_type&&this.goodsSkuDetail.discountTimeMachine&&(!this.goodsSkuDetail.member_price||this.goodsSkuDetail.member_price>0&&Number(this.goodsSkuDetail.member_price)>Number(this.goodsSkuDetail.discount_price))&&(e=!0),e},memberCardDiscount:function(){var e=0,t=this.goodsSkuDetail.member_price>0&&Number(this.goodsSkuDetail.member_price)<Number(this.goodsSkuDetail.discount_price)?this.goodsSkuDetail.member_price:this.goodsSkuDetail.discount_price;return this.membercard&&this.membercard.member_price>0&&parseFloat(t)>parseFloat(this.membercard.member_price)&&(e=parseFloat(t)-parseFloat(this.membercard.member_price)),e.toFixed(2)}},onLoad:function(e){var t=this;if(this.skuId=e.sku_id||0,this.goodsId=e.goods_id||0,e.scene){var o=decodeURIComponent(e.scene);o=o.split("&"),o.length&&o.forEach((function(e){-1!=e.indexOf("goods_id")&&(t.goodsId=e.split("-")[1])}))}this.getShareImg()},onShow:function(){var e=this;return(0,r.default)(i.default.mark((function t(){return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getGoodsSkuDetail();case 2:case"end":return t.stop()}}),t)})))()},onHide:function(){this.couponBtnSwitch=!1},methods:{setSkuId:function(e){e&&(this.skuId=e,this.getBundling())},getGoodsSkuDetail:function(){var e=this;return(0,r.default)(i.default.mark((function t(){var o,n,r;return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.sendRequest({url:"/api/goodssku/detail",async:!1,data:{sku_id:e.skuId,goods_id:e.goodsId}});case 2:if(o=t.sent,n=o.data,null==n.goods_sku_detail){t.next=27;break}if("presale"!=n.goods_sku_detail.promotion_type||!n.goods_sku_detail.presale_id){t.next=8;break}return e.$util.redirectTo("/pages_promotion/presale/detail",{id:n.goods_sku_detail.presale_id,sku_id:e.skuId},"reLaunch"),t.abrupt("return");case 8:e.goodsSkuDetail=n.goods_sku_detail,e.skuId||(e.skuId=e.goodsSkuDetail.sku_id),e.goodsId||(e.goodsId=e.goodsSkuDetail.goods_id),e.shareQuery="goods_id="+e.goodsSkuDetail.goods_id,e.shareUrl=e.goodsRoute+"?"+e.shareQuery,e.chatRoomParams={sku_id:e.goodsSkuDetail.sku_id},r=e.goodsSkuDetail.goods_promotion[0],r&&r.discount_id&&(e.chatRoomParams.type="discount",e.chatRoomParams.type_id=r.discount_id),e.posterParams={goods_id:e.goodsId},e.handleGoodsSkuData(),1==e.goodsSkuDetail.promotion_type&&e.addonIsExist.discount&&(e.goodsSkuDetail.end_time-o.timestamp>0?e.goodsSkuDetail.discountTimeMachine=e.$util.countDown(e.goodsSkuDetail.end_time-o.timestamp):e.goodsSkuDetail.promotion_type=0),1==e.goodsSkuDetail.promotion_type&&e.goodsSkuDetail.discountTimeMachine?e.goodsSkuDetail.member_price>0&&Number(e.goodsSkuDetail.member_price)<=Number(e.goodsSkuDetail.discount_price)?e.goodsSkuDetail.show_price=e.goodsSkuDetail.member_price:e.goodsSkuDetail.show_price=e.goodsSkuDetail.discount_price:e.goodsSkuDetail.member_price>0?e.goodsSkuDetail.show_price=e.goodsSkuDetail.member_price:e.goodsSkuDetail.show_price=e.goodsSkuDetail.price,e.goodsSkuDetail.manjian&&e.getManjian(e.goodsSkuDetail.manjian),e.goodsSkuDetail.membercard&&(e.membercard=e.goodsSkuDetail.membercard),e.goodsSkuDetail.coupon_list&&(e.couponList=e.goodsSkuDetail.coupon_list,e.couponList.forEach((function(e){e.count==e.lead_count?e.useState=2:0!=e.max_fetch&&e.member_coupon_num&&e.member_coupon_num>=e.max_fetch?e.useState=1:e.useState=0})),e.couponList=e.couponList.sort(e.sortBy("useState"))),e.goodsSkuDetail.bundling_list&&e.handleBundlingData(e.goodsSkuDetail.bundling_list),e.$refs.loadingCover&&e.$refs.loadingCover.hide(),t.next=28;break;case 27:e.$util.redirectTo("/pages_tool/goods/not_exist",{},"redirectTo");case 28:case"end":return t.stop()}}),t)})))()},choiceSku:function(){var e=this;this.$refs.goodsSku.show("buy_now",(function(){e.$store.dispatch("getCartNumber")}))},joinCart:function(){var e=this;this.storeToken||0!=this.preview?1==this.goodsSkuDetail.is_virtual?this.$refs.goodsSku.show("buy_now",(function(){e.$store.dispatch("getCartNumber")})):this.$refs.goodsSku.show("join_cart",(function(){e.$store.dispatch("getCartNumber")})):this.$refs.login.open(this.shareUrl)},buyNow:function(){this.$refs.goodsSku.show("buy_now",(function(){}))},sortBy:function(e){return function(t,o){return t[e]-o[e]}},openCouponPopup:function(){this.$refs.couponPopup.open()},closeCouponPopup:function(){this.$refs.couponPopup.close()},receiveCoupon:function(e){var t=this,o=this;this.preview||this.couponBtnSwitch||(this.couponBtnSwitch=!0,this.storeToken?this.$api.sendRequest({url:"/coupon/api/coupon/receive",data:{coupon_type_id:e.coupon_type_id,get_type:2},success:function(n){var i=n.data,r="",a=t.couponList;if(r=1==i.is_exist&&n.code<0?"您已领取过该优惠券,快去使用吧":0==n.code?"领取成功,快去使用吧":n.message,1==i.is_exist)for(var s=0;s<a.length;s++)a[s].coupon_type_id==e.coupon_type_id&&o.$set(o.couponList[s],"useState",1);else for(var c=0;c<a.length;c++)a[c].coupon_type_id==e.coupon_type_id&&o.$set(o.couponList[c],"useState",2);t.$util.showToast({title:r}),o.$forceUpdate(),t.hackReset=!1,t.$nextTick((function(){t.hackReset=!0})),t.couponBtnSwitch=!1}}):(this.$refs.login.open(this.shareUrl),this.couponBtnSwitch=!1))},getManjian:function(e){var t=this;this.manjian=e;var o=0==e.type?"元":"件";Object.keys(e.rule_json).forEach((function(n){var i=e.rule_json[n];if(i.coupon_data)for(var r=0;r<i.coupon_data.length;r++)i.coupon_data[r].coupon_num=i.coupon_num[r];if(i.limit=0==e.type?parseFloat(i.limit).toFixed(2):parseInt(i.limit),void 0!=i.discount_money&&(void 0==t.manjian.manjian?t.manjian.manjian="满"+i.limit+o+"减"+i.discount_money+"元":t.manjian.manjian+=";满"+i.limit+o+"减"+i.discount_money+"元"),void 0!=i.point||void 0!=i.coupon){var a="";void 0!=i.point&&(a="送"+i.point+"积分"),void 0!=i.coupon&&void 0!=i.coupon_data&&i.coupon_data.forEach((function(e,t){"discount"==e.type?""==a?a="送"+i.coupon_num[t]+"张"+parseFloat(e.discount)+"折优惠券":a+="、送"+i.coupon_num[t]+"张"+parseFloat(e.discount)+"折优惠券":""==a?a="送"+i.coupon_num[t]+"张"+parseFloat(e.money)+"元优惠券":a+="、送"+i.coupon_num[t]+"张"+parseFloat(e.money)+"元优惠券"})),void 0==t.manjian.mansong?t.manjian.mansong="满"+i.limit+o+a:t.manjian.mansong+=";满"+i.limit+o+a}void 0!=i.free_shipping&&(void 0==t.manjian.free_shipping?t.manjian.free_shipping="满"+i.limit+o+"包邮":t.manjian.free_shipping+=";满"+i.limit+o+"包邮")}))},openManjianPopup:function(){this.$refs.manjianPopup.open()},closeManjianPopup:function(){this.$refs.manjianPopup.close()},getBundling:function(){var e=this;this.globalStoreConfig&&"store"==this.globalStoreConfig.store_business||this.$api.sendRequest({url:"/bundling/api/bundling/lists",data:{sku_id:this.skuId},success:function(t){e.handleBundlingData(t.data)}})},handleBundlingData:function(e){if(this.bundling=e,this.bundling.length){for(var t=0;t<this.bundling[0].bundling_goods.length;t++){if(this.bundling[0].bundling_goods[t].sku_id==this.skuId){this.bundlingType=!0;break}this.bundlingType=!1}for(t=0;t<this.bundling.length;t++)for(var o=0;o<this.bundling[t].bundling_goods.length;o++)this.bundling[t].bundling_goods[o].sku_id==this.skuId&&this.bundling[t].bundling_goods.splice(o,1)}},openBundlingPopup:function(){this.$refs.bundlingPopup.open()},closeBundlingPopup:function(){this.$refs.bundlingPopup.close()},imageError:function(){this.goodsSkuDetail.sku_image=this.$util.getDefaultImage().goods,this.$forceUpdate()},bundlingImageError:function(e,t){this.bundling[e].bundling_goods[t].sku_image=this.$util.getDefaultImage().goods,this.$forceUpdate()},fenxiao:function(){this.$refs.fenxiaoPopup.show()},toGoodsDetail:function(e){this.$util.redirectTo(this.goodsRoute,{sku_id:e})},toComoDetail:function(e){this.$util.redirectTo("/pages_promotion/bundling/detail",{bl_id:e})},getShareImg:function(){var e=this,t={goods_id:this.goodsId};this.$api.sendRequest({url:"/api/goods/shareimg",data:{qrcode_param:JSON.stringify(t)},success:function(t){0==t.code&&(e.shareImg=t.data.path+"?no="+parseInt((new Date).getTime()/1e3))}})},decimalPointFormat:function(e){if(isNaN(parseFloat(e)))return e;var t=e.toString().split("."),o=t[1].split("").reverse(),n=[];o.forEach((function(e,t){e>1&&(n=o.splice(t))}));var i=n.length?t[0]+"."+n.reverse().join(""):t[0];return i}}};t.default=a},"161c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={default:{name:"default",main_color:"#F4391c",aux_color:"#F7B500",bg_color:"#FF4646",bg_color_shallow:"#FF4646",promotion_color:"#FF4646",promotion_aux_color:"#F7B500",main_color_shallow:"#FFF4F4",price_color:"rgb(252,82,39)",btn_text_color:"#FFFFFF",goods_detail:{goods_price:"rgb(252,82,39,1)",promotion_tag:"#FF4646",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#FC5227",goods_cart_num_corner:"#FC5227",goods_btn_color:"#FF4646",goods_btn_color_shallow:"#F7B500"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#7c7878",super_member_end_bg:"#201a18",super_member_start_text_color:"#FFDBA6",super_member_end_text_color:"#FFEBCA"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}},green:{name:"green",main_color:"#19C650",aux_color:"#FA6400",bg_color:"#19C650",bg_color_shallow:"#19C650",promotion_color:"#19C650",promotion_aux_color:"#FA6400",main_color_shallow:"#F0FFF5",price_color:"rgba(252,82,39,1)",btn_text_color:"#FFFFFF",goods_detail:{goods_price:"rgba(252,82,39,1)",promotion_tag:"#19C650",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#FC5227",goods_cart_num_corner:"#FC5227",goods_btn_color:"#19C650",goods_btn_color_shallow:"#FA6400"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#7c7878",super_member_end_bg:"#201a18",super_member_start_text_color:"#FFDBA6",super_member_end_text_color:"#FFEBCA"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}},blue:{name:"blue",main_color:"#36ABFF",aux_color:"#FA6400",bg_color:"#36ABFF",bg_color_shallow:"#36ABFF",promotion_color:"#36ABFF ",promotion_aux_color:"#FA6400",main_color_shallow:"#E2F3FF",price_color:"rgba(252,82,39,1)",btn_text_color:"#FFFFFF",goods_detail:{goods_price:"rgba(252,82,39,1)",promotion_tag:"#36ABFF",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#FC5227",goods_cart_num_corner:"#FC5227",goods_btn_color:"#36ABFF",goods_btn_color_shallow:"#FA6400"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#7c7878",super_member_end_bg:"#201a18",super_member_start_text_color:"#FFDBA6",super_member_end_text_color:"#FFEBCA"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}},pink:{name:"pink",main_color:"#FF407E",aux_color:"#F7B500",bg_color:"#FF407E",bg_color_shallow:"#FF407E",promotion_color:"#FF407E",promotion_aux_color:"#F7B500",main_color_shallow:"#FFF5F8",price_color:"rgba(252,82,39,1)",btn_text_color:"#FFFFFF",goods_detail:{goods_price:"rgba(252,82,39,1)",promotion_tag:"#FF407E",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#FC5227",goods_cart_num_corner:"#FC5227",goods_btn_color:"#FF407E",goods_btn_color_shallow:"#F7B500"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#7c7878",super_member_end_bg:"#201a18",super_member_start_text_color:"#FFDBA6",super_member_end_text_color:"#FFEBCA"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}},gold:{name:"gold",main_color:"#CFAF70",aux_color:"#444444",bg_color:"#CFAF70",bg_color_shallow:"#CFAF70",promotion_color:"#CFAF70",promotion_aux_color:"#444444",main_color_shallow:"#FFFAF1",price_color:"rgba(252,82,39,1)",btn_text_color:"#FFFFFF",goods_detail:{goods_price:"rgba(252,82,39,1)",promotion_tag:"#CFAF70",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#FC5227",goods_cart_num_corner:"#FC5227",goods_btn_color:"#CFAF70",goods_btn_color_shallow:"#444444"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#7c7878",super_member_end_bg:"#201a18",super_member_start_text_color:"#FFDBA6",super_member_end_text_color:"#FFEBCA"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}},purple:{name:"purple",main_color:"#A253FF",aux_color:"#222222",bg_color:"#A253FF",bg_color_shallow:"#A253FF",promotion_color:"#A253FF",promotion_aux_color:"#222222",main_color_shallow:"#F8F3FF",price_color:"rgba(252,82,39,1)",btn_text_color:"#FFFFFF",goods_detail:{goods_price:"rgba(252,82,39,1)",promotion_tag:"#A253FF",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#FC5227",goods_cart_num_corner:"#FC5227",goods_btn_color:"#A253FF",goods_btn_color_shallow:"#222222"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#7c7878",super_member_end_bg:"#201a18",super_member_start_text_color:"#FFDBA6",super_member_end_text_color:"#FFEBCA"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}},yellow:{name:"yellow",main_color:"#FFD009",aux_color:"#1D262E",bg_color:"#FFD009",bg_color_shallow:"#FFD009",promotion_color:"#FFD009",promotion_aux_color:"#1D262E",main_color_shallow:"#FFFBEF",price_color:"rgba(252,82,39,1)",btn_text_color:"#303133",goods_detail:{goods_price:"rgba(252,82,39,1)",promotion_tag:"#FFD009",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#FC5227",goods_cart_num_corner:"#FC5227",goods_btn_color:"#FFD009",goods_btn_color_shallow:"#1D262E"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#7c7878",super_member_end_bg:"#201a18",super_member_start_text_color:"#FFDBA6",super_member_end_text_color:"#FFEBCA"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}},black:{name:"black",main_color:"#222222",aux_color:"#FFFFFF",bg_color:"#222222",bg_color_shallow:"#333333",promotion_color:"#222222",promotion_aux_color:"#FA8B00",main_color_shallow:"#efefef",price_color:"rgba(255,0,0,1)",btn_text_color:"#FFFFFF",goods_detail:{goods_price:"rgba(255,0,0,1)",promotion_tag:"#222222",goods_card_bg:"#201A18",goods_card_bg_shallow:"#7C7878",goods_card_color:"#FFD792",goods_coupon:"#222222",goods_cart_num_corner:"#FF0000",goods_btn_color:"#222222",goods_btn_color_shallow:"#FA8B00"},pintuan:{pintuan_label_bg:"#F7B500",pintuan_label_color:"#FFFFFF",pintuan_color:"#FA6400",pintuan_promotion_color:"#FA3A1D",pintuan_promotion_aux_color:"#FD9A01"},super_member:{super_member_start_bg:"#fadcb5",super_member_end_bg:"#f6bd74",super_member_start_text_color:"#ab6126",super_member_end_text_color:"#d19336"},bargain:{bargain_promotion_color:"#F0353E",bargain_promotion_aux_color:"#FD9A01"},seckill:{seckill_promotion_color:"#F83530",seckill_promotion_aux_color:"#FD9A01"},giftcard:{giftcard_promotion_color:"#FF3369",giftcard_promotion_aux_color:"#F7B500"},groupby:{groupby_promotion_color:"#E64136",groupby_promotion_aux_color:"#F7B500"}}}},"16d6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"退款详情"}},1845:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"帮助中心",emptyText:"当前暂无帮助信息"}},"1a93":function(e,t,o){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={data:function(){return{diyRoute:"/pages/member/index"}},computed:{},watch:{storeToken:function(t,o){t&&(this.initData(),e.getStorageSync("source_member")&&this.$util.onSourceMember(e.getStorageSync("source_member")))}},onLoad:function(t){var o=this;e.hideTabBar(),this.name="DIY_VIEW_MEMBER_INDEX",t.code&&this.$api.sendRequest({url:"/wechat/api/wechat/authcodetoopenid",data:{code:t.code},success:function(e){e.code>=0&&(e.data.userinfo.nickName&&o.modifyNickname(e.data.userinfo.nickName),e.data.userinfo.avatarUrl&&o.modifyHeadimg(e.data.userinfo.avatarUrl))}})},onShow:function(){this.$refs.diyGroup&&(this.$refs.diyGroup.$refs.diyMemberIndex&&this.$refs.diyGroup.$refs.diyMemberIndex[0].init(),this.$refs.diyGroup.$refs.diyMemberMyOrder&&this.$refs.diyGroup.$refs.diyMemberMyOrder[0].getOrderNum())},methods:{initData:function(){var e=this;this.storeToken&&this.$nextTick((function(){var t=function(){e.$refs.diyGroup&&e.$refs.diyGroup.$refs.diyMemberIndex&&e.$refs.diyGroup.$refs.diyMemberIndex[0].init()};e.$refs.nsNewGift.init(t),e.$refs.birthdayGift.init(t)}))},modifyNickname:function(e){var t=this;this.$api.sendRequest({url:"/api/member/modifynickname",data:{nickname:e},success:function(o){0==o.code&&(t.memberInfo.nickname=e,t.$store.commit("setMemberInfo",t.memberInfo))}})},modifyHeadimg:function(e){var t=this;this.$api.sendRequest({url:"/api/member/modifyheadimg",data:{headimg:e},success:function(o){0==o.code&&(t.memberInfo.headimg=e,t.$store.commit("setMemberInfo",t.memberInfo))}})}}};t.default=o}).call(this,o("543d")["default"])},"1d1c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"充值详情"}},"1d6b":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的足迹",emptyTpis:"您还未浏览过任何商品!"}},"1f85":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的拼单"}},"21a2":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"商品找不到"}},2236:function(e,t,o){var n=o("5a43");e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},"26cb":function(e,t,o){"use strict";(function(t){var o="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},n=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var o=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(o)return o.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach((function(o){n[o]=i(e[o],t)})),n}function r(e,t){Object.keys(e).forEach((function(o){return t(e[o],o)}))}function a(e){return null!==e&&"object"===typeof e}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var o=e.state;this.state=("function"===typeof o?o():o)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.hasChild=function(e){return e in this._children},s.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},s.prototype.forEachChild=function(e){r(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&r(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&r(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&r(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,c);var u=function(e){this.register([],e,!1)};u.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},u.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,o){return t=t.getChild(o),e+(t.namespaced?o+"/":"")}),"")},u.prototype.update=function(e){(function e(t,o,n){0;if(o.update(n),n.modules)for(var i in n.modules){if(!o.getChild(i))return void 0;e(t.concat(i),o.getChild(i),n.modules[i])}})([],this.root,e)},u.prototype.register=function(e,t,o){var n=this;void 0===o&&(o=!0);var i=new s(t,o);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&r(t.modules,(function(t,i){n.register(e.concat(i),t,o)}))},u.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1],n=t.getChild(o);n&&n.runtime&&t.removeChild(o)},u.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1];return!!t&&t.hasChild(o)};var l;var d=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!==typeof window&&window.Vue&&y(window.Vue);var o=e.plugins;void 0===o&&(o=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var r=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(r,e,t)},this.commit=function(e,t,o){return s.call(r,e,t,o)},this.strict=i;var c=this._modules.root.state;m(this,c,[],this._modules.root),g(this,c),o.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:l.config.devtools;d&&function(e){n&&(e._devtoolHook=n,n.emit("vuex:init",e),n.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){n.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){n.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function p(e,t,o){return t.indexOf(e)<0&&(o&&o.prepend?t.unshift(e):t.push(e)),function(){var o=t.indexOf(e);o>-1&&t.splice(o,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var o=e.state;m(e,o,[],e._modules.root,!0),g(e,o,t)}function g(e,t,o){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};r(i,(function(t,o){a[o]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,o,{get:function(){return e._vm[o]},enumerable:!0})}));var s=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:a}),l.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),n&&(o&&e._withCommit((function(){n._data.$$state=null})),l.nextTick((function(){return n.$destroy()})))}function m(e,t,o,n,i){var r=!o.length,a=e._modules.getNamespace(o);if(n.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=n),!r&&!i){var s=_(t,o.slice(0,-1)),c=o[o.length-1];e._withCommit((function(){l.set(s,c,n.state)}))}var u=n.context=function(e,t,o){var n=""===t,i={dispatch:n?e.dispatch:function(o,n,i){var r=v(o,n,i),a=r.payload,s=r.options,c=r.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:n?e.commit:function(o,n,i){var r=v(o,n,i),a=r.payload,s=r.options,c=r.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var o={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var r=i.slice(n);Object.defineProperty(o,r,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=o}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return _(e.state,o)}}}),i}(e,a,o);n.forEachMutation((function(t,o){var n=a+o;(function(e,t,o,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){o.call(e,n.state,t)}))})(e,n,t,u)})),n.forEachAction((function(t,o){var n=t.root?o:a+o,i=t.handler||t;(function(e,t,o,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=o.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))})(e,n,i,u)})),n.forEachGetter((function(t,o){var n=a+o;(function(e,t,o,n){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return o(n.state,n.getters,e.state,e.getters)}})(e,n,t,u)})),n.forEachChild((function(n,r){m(e,t,o.concat(r),n,i)}))}function _(e,t){return t.reduce((function(e,t){return e[t]}),e)}function v(e,t,o){return a(e)&&e.type&&(o=t,t=e,e=e.type),{type:e,payload:t,options:o}}function y(e){l&&e===l||(l=e,
/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */
function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var o=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,o.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l))}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){0},d.prototype.commit=function(e,t,o){var n=this,i=v(e,t,o),r=i.type,a=i.payload,s=(i.options,{type:r,payload:a}),c=this._mutations[r];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},d.prototype.dispatch=function(e,t){var o=this,n=v(e,t),i=n.type,r=n.payload,a={type:i,payload:r},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,o.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(e){return e(r)}))):s[0](r);return new Promise((function(e,t){c.then((function(t){try{o._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,o.state)}))}catch(u){0}e(t)}),(function(e){try{o._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,o.state,e)}))}catch(u){0}t(e)}))}))}},d.prototype.subscribe=function(e,t){return p(e,this._subscribers,t)},d.prototype.subscribeAction=function(e,t){var o="function"===typeof e?{before:e}:e;return p(o,this._actionSubscribers,t)},d.prototype.watch=function(e,t,o){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,o)},d.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},d.prototype.registerModule=function(e,t,o){void 0===o&&(o={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),m(this,this.state,e,this._modules.get(e),o.preserveState),g(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var o=_(t.state,e.slice(0,-1));l.delete(o,e[e.length-1])})),h(this)},d.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},d.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),h(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,f);var b=x((function(e,t){var o={};return D(t).forEach((function(t){var n=t.key,i=t.val;o[n]=function(){var t=this.$store.state,o=this.$store.getters;if(e){var n=P(this.$store,"mapState",e);if(!n)return;t=n.context.state,o=n.context.getters}return"function"===typeof i?i.call(this,t,o):t[i]},o[n].vuex=!0})),o})),w=x((function(e,t){var o={};return D(t).forEach((function(t){var n=t.key,i=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.commit;if(e){var r=P(this.$store,"mapMutations",e);if(!r)return;n=r.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),o})),S=x((function(e,t){var o={};return D(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,o[n]=function(){if(!e||P(this.$store,"mapGetters",e))return this.$store.getters[i]},o[n].vuex=!0})),o})),k=x((function(e,t){var o={};return D(t).forEach((function(t){var n=t.key,i=t.val;o[n]=function(){var t=[],o=arguments.length;while(o--)t[o]=arguments[o];var n=this.$store.dispatch;if(e){var r=P(this.$store,"mapActions",e);if(!r)return;n=r.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),o}));function D(e){return function(e){return Array.isArray(e)||a(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function x(e){return function(t,o){return"string"!==typeof t?(o=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,o)}}function P(e,t,o){var n=e._modulesNamespaceMap[o];return n}function C(e,t,o){var n=o?e.groupCollapsed:e.group;try{n.call(e,t)}catch(i){e.log(t)}}function O(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function $(){var e=new Date;return" @ "+j(e.getHours(),2)+":"+j(e.getMinutes(),2)+":"+j(e.getSeconds(),2)+"."+j(e.getMilliseconds(),3)}function j(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var M={Store:d,install:y,version:"3.6.2",mapState:b,mapMutations:w,mapGetters:S,mapActions:k,createNamespacedHelpers:function(e){return{mapState:b.bind(null,e),mapGetters:S.bind(null,e),mapMutations:w.bind(null,e),mapActions:k.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var o=e.filter;void 0===o&&(o=function(e,t,o){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var c=e.logMutations;void 0===c&&(c=!0);var u=e.logActions;void 0===u&&(u=!0);var l=e.logger;return void 0===l&&(l=console),function(e){var d=i(e.state);"undefined"!==typeof l&&(c&&e.subscribe((function(e,a){var s=i(a);if(o(e,d,s)){var c=$(),u=r(e),f="mutation "+e.type+c;C(l,f,t),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",n(s)),O(l)}d=s})),u&&e.subscribeAction((function(e,o){if(a(e,o)){var n=$(),i=s(e),r="action "+e.type+n;C(l,r,t),l.log("%c action","color: #03A9F4; font-weight: bold",i),O(l)}})))}}};e.exports=M}).call(this,o("c8ba"))},"278c":function(e,t,o){var n=o("c135"),i=o("9b42"),r=o("6613"),a=o("c240");e.exports=function(e,t){return n(e)||i(e,t)||r(e,t)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},"2b69":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={down:{textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",offset:80,native:!1},up:{textLoading:"加载中 ...",textNoMore:"",offset:80,isBounce:!1,toTop:{src:"http://www.mescroll.com/img/mescroll-totop.png?v=1",offset:1e3,right:20,bottom:120,width:72},empty:{use:!0,icon:"http://www.mescroll.com/img/mescroll-empty.png?v=1",tip:"~ 暂无相关数据 ~"}}};t.default=n},"2dab":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},"2eee":function(e,t,o){var n=o("7ec2")();e.exports=n},"2f92":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"客服"}},3185:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=52.35987755982988,i=3.141592653589793,r=6378245,a=.006693421622965943;function s(e,t){var o=2*e-100+3*t+.2*t*t+.1*e*t+.2*Math.sqrt(Math.abs(e));return o+=2*(20*Math.sin(6*e*i)+20*Math.sin(2*e*i))/3,o+=2*(20*Math.sin(t*i)+40*Math.sin(t/3*i))/3,o+=2*(160*Math.sin(t/12*i)+320*Math.sin(t*i/30))/3,o}function c(e,t){var o=300+e+2*t+.1*e*e+.1*e*t+.1*Math.sqrt(Math.abs(e));return o+=2*(20*Math.sin(6*e*i)+20*Math.sin(2*e*i))/3,o+=2*(20*Math.sin(e*i)+40*Math.sin(e/3*i))/3,o+=2*(150*Math.sin(e/12*i)+300*Math.sin(e/30*i))/3,o}function u(e,t){return e<72.004||e>137.8347||t<.8293||t>55.8271||!1}var l={bd09togcj02:function(e,t){var o=52.35987755982988,n=e-.0065,i=t-.006,r=Math.sqrt(n*n+i*i)-2e-5*Math.sin(i*o),a=Math.atan2(i,n)-3e-6*Math.cos(n*o),s=r*Math.cos(a),c=r*Math.sin(a);return[s,c]},gcj02tobd09:function(e,t){var o=Math.sqrt(e*e+t*t)+2e-5*Math.sin(t*n),i=Math.atan2(t,e)+3e-6*Math.cos(e*n),r=o*Math.cos(i)+.0065,a=o*Math.sin(i)+.006;return[r,a]},wgs84togcj02:function(e,t){if(u(e,t))return[e,t];var o=s(e-105,t-35),n=c(e-105,t-35),l=t/180*i,d=Math.sin(l);d=1-a*d*d;var f=Math.sqrt(d);o=180*o/(r*(1-a)/(d*f)*i),n=180*n/(r/f*Math.cos(l)*i);var p=t+o,h=e+n;return[h,p]},gcj02towgs84:function(e,t){if(u(e,t))return[e,t];var o=s(e-105,t-35),n=c(e-105,t-35),l=t/180*i,d=Math.sin(l);d=1-a*d*d;var f=Math.sqrt(d);return o=180*o/(r*(1-a)/(d*f)*i),n=180*n/(r/f*Math.cos(l)*i),mglat=t+o,mglng=e+n,[2*e-mglng,2*t-mglat]}};t.default=l},"321f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"退款",checkDetail:"查看详情",emptyTips:"暂无退款记录"}},"32d4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"兑换结果",exchangeSuccess:"兑换成功",see:"查看兑换记录",goHome:"回到首页"}},"32df":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={baseUrl:"{{$baseUrl}}",imgDomain:"{{$imgDomain}}",h5Domain:"{{$h5Domain}}",mpKey:"{{$mpKey}}",webSocket:"{{$webSocket}}",pingInterval:1500,version:"5.4.0",storagePrefix:"h5_"};t.default=n},"348a":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的预售",emptyTips:"暂无相关预售订单",update:"释放刷新",updateIng:"加载中..."}},"35e9":function(e,t,o){"use strict";(function(e,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{authInfo:{}}},methods:{getCode:function(t){var n=this;e.login({provider:"weixin",timeout:3e3,success:function(e){e.code&&n.$api.sendRequest({url:"/weapp/api/weapp/authcodetoopenid",data:{code:e.code},success:function(e){e.code>=0?(e.data.openid&&(n.authInfo.weapp_openid=e.data.openid),e.data.unionid&&(n.authInfo.wx_unionid=e.data.unionid),"function"==typeof t&&t(n.authInfo)):n.$util.showToast({title:e.message?e.message:"小程序配置错误"})}})},fail:function(e){var t=o.getLaunchOptionsSync().scene;-1==[1154,1155].indexOf(t)&&n.$util.showToast({title:e.errMsg})}})}}};t.default=n}).call(this,o("543d")["default"],o("bc2e")["default"])},"37dc":function(e,t,o){"use strict";(function(e,n){var i=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0,t.compileI18nJsonStr=function(e,t){var o=t.locale,n=t.locales,i=t.delimiters;if(!x(e,i))return e;k||(k=new d);var r=[];Object.keys(n).forEach((function(e){e!==o&&r.push({locale:e,values:n[e]})})),r.unshift({locale:o,values:n[o]});try{return JSON.stringify(C(JSON.parse(e),r,i),null,2)}catch(a){}return e},t.hasI18nJson=function e(t,o){k||(k=new d);return O(t,(function(t,n){var i=t[n];return D(i)?!!x(i,o)||void 0:e(i,o)}))},t.initVueI18n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var i=[t,e];e=i[0],t=i[1]}"string"!==typeof e&&(e=S());"string"!==typeof o&&(o="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var r=new b({locale:e,fallbackLocale:o,messages:t,watcher:n}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return r.t(e,t)};else{var o=!1;a=function(e,t){var n=getApp().$vm;return n&&(n.$locale,o||(o=!0,w(n,r))),r.t(e,t)}}return a(e,t)};return{i18n:r,f:function(e,t,o){return r.f(e,t,o)},t:function(e,t){return a(e,t)},add:function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r.add(e,t,o)},watch:function(e){return r.watchLocale(e)},getLocale:function(){return r.getLocale()},setLocale:function(e){return r.setLocale(e)}}},t.isI18nStr=x,t.isString=void 0,t.normalizeLocale=y,t.parseI18nJson=function e(t,o,n){k||(k=new d);return O(t,(function(t,i){var r=t[i];D(r)?x(r,n)&&(t[i]=P(r,o,n)):e(r,o,n)})),t},t.resolveLocale=function(e){return function(t){return t?(t=y(t)||t,function(e){var t=[],o=e.split("-");while(o.length)t.push(o.join("-")),o.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var r=i(o("278c")),a=i(o("970b")),s=i(o("5bc3")),c=i(o("7037")),u=function(e){return null!==e&&"object"===(0,c.default)(e)},l=["{","}"],d=function(){function e(){(0,a.default)(this,e),this._caches=Object.create(null)}return(0,s.default)(e,[{key:"interpolate",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!t)return[e];var n=this._caches[e];return n||(n=h(e,o),this._caches[e]=n),g(n,t)}}]),e}();t.Formatter=d;var f=/^(?:\d)+/,p=/^(?:\w)+/;function h(e,t){var o=(0,r.default)(t,2),n=o[0],i=o[1],a=[],s=0,c="";while(s<e.length){var u=e[s++];if(u===n){c&&a.push({type:"text",value:c}),c="";var l="";u=e[s++];while(void 0!==u&&u!==i)l+=u,u=e[s++];var d=u===i,h=f.test(l)?"list":d&&p.test(l)?"named":"unknown";a.push({value:l,type:h})}else c+=u}return c&&a.push({type:"text",value:c}),a}function g(e,t){var o=[],n=0,i=Array.isArray(t)?"list":u(t)?"named":"unknown";if("unknown"===i)return o;while(n<e.length){var r=e[n];switch(r.type){case"text":o.push(r.value);break;case"list":o.push(t[parseInt(r.value,10)]);break;case"named":"named"===i&&o.push(t[r.value]);break;case"unknown":0;break}n++}return o}t.LOCALE_ZH_HANS="zh-Hans";t.LOCALE_ZH_HANT="zh-Hant";t.LOCALE_EN="en";t.LOCALE_FR="fr";t.LOCALE_ES="es";var m=Object.prototype.hasOwnProperty,_=function(e,t){return m.call(e,t)},v=new d;function y(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));var n=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,o);return n||void 0}}var b=function(){function e(t){var o=t.locale,n=t.fallbackLocale,i=t.messages,r=t.watcher,s=t.formater;(0,a.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||v,this.messages=i||{},this.setLocale(o||"en"),r&&this.watchLocale(r)}return(0,s.default)(e,[{key:"setLocale",value:function(e){var t=this,o=this.locale;this.locale=y(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],o!==this.locale&&this.watchers.forEach((function(e){e(t.locale,o)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,o=this.watchers.push(e)-1;return function(){t.watchers.splice(o,1)}}},{key:"add",value:function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[e];n?o?Object.assign(n,t):Object.keys(t).forEach((function(e){_(n,e)||(n[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,o){return this.formater.interpolate(e,t,o).join("")}},{key:"t",value:function(e,t,o){var n=this.message;return"string"===typeof t?(t=y(t,this.messages),t&&(n=this.messages[t])):o=t,_(n,e)?this.formater.interpolate(n[e],o).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function w(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function S(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof n&&n.getLocale?n.getLocale():"en"}t.I18n=b;var k,D=function(e){return"string"===typeof e};function x(e,t){return e.indexOf(t[0])>-1}function P(e,t,o){return k.interpolate(e,t,o).join("")}function C(e,t,o){return O(e,(function(e,n){(function(e,t,o,n){var i=e[t];if(D(i)){if(x(i,n)&&(e[t]=P(i,o[0].values,n),o.length>1)){var r=e[t+"Locales"]={};o.forEach((function(e){r[e.locale]=P(i,e.values,n)}))}}else C(i,o,n)})(e,n,t,o)})),e}function O(e,t){if(Array.isArray(e)){for(var o=0;o<e.length;o++)if(t(e,o))return!0}else if(u(e))for(var n in e)if(t(e,n))return!0;return!1}t.isString=D}).call(this,o("543d")["default"],o("c8ba"))},3860:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"余额明细"}},"3cb6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},"417f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{wechatQrcode:"",diyRoute:"/pages/index/index"}},onLoad:function(e){this.name=e.name||"DIY_VIEW_INDEX"},onShow:function(){this.getFollowQrcode()},methods:{getFollowQrcode:function(){var e=this;this.$util.isWeiXin()&&this.$api.sendRequest({url:"/wechat/api/wechat/followqrcode",success:function(t){t.code>=0&&t.data&&(e.wechatQrcode=t.data.qrcode)}})},officialAccountsOpen:function(){this.$refs.officialAccountsPopup.open()},officialAccountsClose:function(){this.$refs.officialAccountsPopup.close()}}}},"41ef":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"店铺笔记"}},"42b6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},"448a":function(e,t,o){var n=o("2236"),i=o("11b0"),r=o("6613"),a=o("0676");e.exports=function(e){return n(e)||i(e)||r(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},"451b":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},4542:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},4547:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},"461b":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},4661:function(e,t,o){"use strict";(function(t){var n=o("4ea4"),i=n(o("970b")),r=n(o("5bc3")),a=n(o("d7d9")),s={KEY_ERR:311,KEY_ERR_MSG:"key格式错误",PARAM_ERR:310,PARAM_ERR_MSG:"请求参数信息有误",SYSTEM_ERR:600,SYSTEM_ERR_MSG:"系统错误",WX_ERR_CODE:1e3,WX_OK_CODE:200},c="https://apis.map.qq.com/ws/",u=c+"place/v1/suggestion",l={driving:"driving",transit:"transit"},d={safeAdd:function(e,t){var o=(65535&e)+(65535&t),n=(e>>16)+(t>>16)+(o>>16);return n<<16|65535&o},bitRotateLeft:function(e,t){return e<<t|e>>>32-t},md5cmn:function(e,t,o,n,i,r){return this.safeAdd(this.bitRotateLeft(this.safeAdd(this.safeAdd(t,e),this.safeAdd(n,r)),i),o)},md5ff:function(e,t,o,n,i,r,a){return this.md5cmn(t&o|~t&n,e,t,i,r,a)},md5gg:function(e,t,o,n,i,r,a){return this.md5cmn(t&n|o&~n,e,t,i,r,a)},md5hh:function(e,t,o,n,i,r,a){return this.md5cmn(t^o^n,e,t,i,r,a)},md5ii:function(e,t,o,n,i,r,a){return this.md5cmn(o^(t|~n),e,t,i,r,a)},binlMD5:function(e,t){var o,n,i,r,a;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var s=1732584193,c=-271733879,u=-1732584194,l=271733878;for(o=0;o<e.length;o+=16)n=s,i=c,r=u,a=l,s=this.md5ff(s,c,u,l,e[o],7,-680876936),l=this.md5ff(l,s,c,u,e[o+1],12,-389564586),u=this.md5ff(u,l,s,c,e[o+2],17,606105819),c=this.md5ff(c,u,l,s,e[o+3],22,-1044525330),s=this.md5ff(s,c,u,l,e[o+4],7,-176418897),l=this.md5ff(l,s,c,u,e[o+5],12,1200080426),u=this.md5ff(u,l,s,c,e[o+6],17,-1473231341),c=this.md5ff(c,u,l,s,e[o+7],22,-45705983),s=this.md5ff(s,c,u,l,e[o+8],7,1770035416),l=this.md5ff(l,s,c,u,e[o+9],12,-1958414417),u=this.md5ff(u,l,s,c,e[o+10],17,-42063),c=this.md5ff(c,u,l,s,e[o+11],22,-1990404162),s=this.md5ff(s,c,u,l,e[o+12],7,1804603682),l=this.md5ff(l,s,c,u,e[o+13],12,-40341101),u=this.md5ff(u,l,s,c,e[o+14],17,-1502002290),c=this.md5ff(c,u,l,s,e[o+15],22,1236535329),s=this.md5gg(s,c,u,l,e[o+1],5,-165796510),l=this.md5gg(l,s,c,u,e[o+6],9,-1069501632),u=this.md5gg(u,l,s,c,e[o+11],14,643717713),c=this.md5gg(c,u,l,s,e[o],20,-373897302),s=this.md5gg(s,c,u,l,e[o+5],5,-701558691),l=this.md5gg(l,s,c,u,e[o+10],9,38016083),u=this.md5gg(u,l,s,c,e[o+15],14,-660478335),c=this.md5gg(c,u,l,s,e[o+4],20,-405537848),s=this.md5gg(s,c,u,l,e[o+9],5,568446438),l=this.md5gg(l,s,c,u,e[o+14],9,-1019803690),u=this.md5gg(u,l,s,c,e[o+3],14,-187363961),c=this.md5gg(c,u,l,s,e[o+8],20,1163531501),s=this.md5gg(s,c,u,l,e[o+13],5,-1444681467),l=this.md5gg(l,s,c,u,e[o+2],9,-51403784),u=this.md5gg(u,l,s,c,e[o+7],14,1735328473),c=this.md5gg(c,u,l,s,e[o+12],20,-1926607734),s=this.md5hh(s,c,u,l,e[o+5],4,-378558),l=this.md5hh(l,s,c,u,e[o+8],11,-2022574463),u=this.md5hh(u,l,s,c,e[o+11],16,1839030562),c=this.md5hh(c,u,l,s,e[o+14],23,-35309556),s=this.md5hh(s,c,u,l,e[o+1],4,-1530992060),l=this.md5hh(l,s,c,u,e[o+4],11,1272893353),u=this.md5hh(u,l,s,c,e[o+7],16,-155497632),c=this.md5hh(c,u,l,s,e[o+10],23,-1094730640),s=this.md5hh(s,c,u,l,e[o+13],4,681279174),l=this.md5hh(l,s,c,u,e[o],11,-358537222),u=this.md5hh(u,l,s,c,e[o+3],16,-722521979),c=this.md5hh(c,u,l,s,e[o+6],23,76029189),s=this.md5hh(s,c,u,l,e[o+9],4,-640364487),l=this.md5hh(l,s,c,u,e[o+12],11,-421815835),u=this.md5hh(u,l,s,c,e[o+15],16,530742520),c=this.md5hh(c,u,l,s,e[o+2],23,-995338651),s=this.md5ii(s,c,u,l,e[o],6,-198630844),l=this.md5ii(l,s,c,u,e[o+7],10,1126891415),u=this.md5ii(u,l,s,c,e[o+14],15,-1416354905),c=this.md5ii(c,u,l,s,e[o+5],21,-57434055),s=this.md5ii(s,c,u,l,e[o+12],6,1700485571),l=this.md5ii(l,s,c,u,e[o+3],10,-1894986606),u=this.md5ii(u,l,s,c,e[o+10],15,-1051523),c=this.md5ii(c,u,l,s,e[o+1],21,-2054922799),s=this.md5ii(s,c,u,l,e[o+8],6,1873313359),l=this.md5ii(l,s,c,u,e[o+15],10,-30611744),u=this.md5ii(u,l,s,c,e[o+6],15,-1560198380),c=this.md5ii(c,u,l,s,e[o+13],21,1309151649),s=this.md5ii(s,c,u,l,e[o+4],6,-145523070),l=this.md5ii(l,s,c,u,e[o+11],10,-1120210379),u=this.md5ii(u,l,s,c,e[o+2],15,718787259),c=this.md5ii(c,u,l,s,e[o+9],21,-343485551),s=this.safeAdd(s,n),c=this.safeAdd(c,i),u=this.safeAdd(u,r),l=this.safeAdd(l,a);return[s,c,u,l]},binl2rstr:function(e){var t,o="",n=32*e.length;for(t=0;t<n;t+=8)o+=String.fromCharCode(e[t>>5]>>>t%32&255);return o},rstr2binl:function(e){var t,o=[];for(o[(e.length>>2)-1]=void 0,t=0;t<o.length;t+=1)o[t]=0;var n=8*e.length;for(t=0;t<n;t+=8)o[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return o},rstrMD5:function(e){return this.binl2rstr(this.binlMD5(this.rstr2binl(e),8*e.length))},rstrHMACMD5:function(e,t){var o,n,i=this.rstr2binl(e),r=[],a=[];for(r[15]=a[15]=void 0,i.length>16&&(i=this.binlMD5(i,8*e.length)),o=0;o<16;o+=1)r[o]=909522486^i[o],a[o]=1549556828^i[o];return n=this.binlMD5(r.concat(this.rstr2binl(t)),512+8*t.length),this.binl2rstr(this.binlMD5(a.concat(n),640))},rstr2hex:function(e){var t,o,n="";for(o=0;o<e.length;o+=1)t=e.charCodeAt(o),n+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return n},str2rstrUTF8:function(e){return unescape(encodeURIComponent(e))},rawMD5:function(e){return this.rstrMD5(this.str2rstrUTF8(e))},hexMD5:function(e){return this.rstr2hex(this.rawMD5(e))},rawHMACMD5:function(e,t){return this.rstrHMACMD5(this.str2rstrUTF8(e),str2rstrUTF8(t))},hexHMACMD5:function(e,t){return this.rstr2hex(this.rawHMACMD5(e,t))},md5:function(e,t,o){return t?o?this.rawHMACMD5(t,e):this.hexHMACMD5(t,e):o?this.rawMD5(e):this.hexMD5(e)},getSig:function(e,t,o,n){var i=null,r=[];return Object.keys(e).sort().forEach((function(t){r.push(t+"="+e[t])})),"search"==o&&(i="/ws/place/v1/search?"+r.join("&")+t),"suggest"==o&&(i="/ws/place/v1/suggestion?"+r.join("&")+t),"reverseGeocoder"==o&&(i="/ws/geocoder/v1/?"+r.join("&")+t),"geocoder"==o&&(i="/ws/geocoder/v1/?"+r.join("&")+t),"getCityList"==o&&(i="/ws/district/v1/list?"+r.join("&")+t),"getDistrictByCityId"==o&&(i="/ws/district/v1/getchildren?"+r.join("&")+t),"calculateDistance"==o&&(i="/ws/distance/v1/?"+r.join("&")+t),"direction"==o&&(i="/ws/direction/v1/"+n+"?"+r.join("&")+t),i=this.md5(i),i},location2query:function(e){if("string"==typeof e)return e;for(var t="",o=0;o<e.length;o++){var n=e[o];t&&(t+=";"),n.location&&(t=t+n.location.lat+","+n.location.lng),n.latitude&&n.longitude&&(t=t+n.latitude+","+n.longitude)}return t},rad:function(e){return e*Math.PI/180},getEndLocation:function(e){for(var t=e.split(";"),o=[],n=0;n<t.length;n++)o.push({lat:parseFloat(t[n].split(",")[0]),lng:parseFloat(t[n].split(",")[1])});return o},getDistance:function(e,t,o,n){var i=this.rad(e),r=this.rad(o),a=i-r,s=this.rad(t)-this.rad(n),c=2*Math.asin(Math.sqrt(Math.pow(Math.sin(a/2),2)+Math.cos(i)*Math.cos(r)*Math.pow(Math.sin(s/2),2)));return c*=6378136.49,c=Math.round(1e4*c)/1e4,parseFloat(c.toFixed(0))},getWXLocation:function(e,t,o){a.default.getLocation({type:"gcj02",success:e,fail:t,complete:o})},getLocationParam:function(e){if("string"==typeof e){var t=e.split(",");e=2===t.length?{latitude:e.split(",")[0],longitude:e.split(",")[1]}:{}}return e},polyfillParam:function(e){e.success=e.success||function(){},e.fail=e.fail||function(){},e.complete=e.complete||function(){}},checkParamKeyEmpty:function(e,t){if(!e[t]){var o=this.buildErrorConfig(s.PARAM_ERR,s.PARAM_ERR_MSG+t+"参数格式有误");return e.fail(o),e.complete(o),!0}return!1},checkKeyword:function(e){return!this.checkParamKeyEmpty(e,"keyword")},checkLocation:function(e){var t=this.getLocationParam(e.location);if(!t||!t.latitude||!t.longitude){var o=this.buildErrorConfig(s.PARAM_ERR,s.PARAM_ERR_MSG+" location参数格式有误");return e.fail(o),e.complete(o),!1}return!0},buildErrorConfig:function(e,t){return{status:e,message:t}},handleData:function(e,t,o){if("search"==o){for(var n=t.data,i=[],r=0;r<n.length;r++)i.push({id:n[r].id||null,title:n[r].title||null,latitude:n[r].location&&n[r].location.lat||null,longitude:n[r].location&&n[r].location.lng||null,address:n[r].address||null,category:n[r].category||null,tel:n[r].tel||null,adcode:n[r].ad_info&&n[r].ad_info.adcode||null,city:n[r].ad_info&&n[r].ad_info.city||null,district:n[r].ad_info&&n[r].ad_info.district||null,province:n[r].ad_info&&n[r].ad_info.province||null});e.success(t,{searchResult:n,searchSimplify:i})}else if("suggest"==o){var a=t.data,s=[];for(r=0;r<a.length;r++)s.push({adcode:a[r].adcode||null,address:a[r].address||null,category:a[r].category||null,city:a[r].city||null,district:a[r].district||null,id:a[r].id||null,latitude:a[r].location&&a[r].location.lat||null,longitude:a[r].location&&a[r].location.lng||null,province:a[r].province||null,title:a[r].title||null,type:a[r].type||null});e.success(t,{suggestResult:a,suggestSimplify:s})}else if("reverseGeocoder"==o){var c=t.result,u={address:c.address||null,latitude:c.location&&c.location.lat||null,longitude:c.location&&c.location.lng||null,adcode:c.ad_info&&c.ad_info.adcode||null,city:c.address_component&&c.address_component.city||null,district:c.address_component&&c.address_component.district||null,nation:c.address_component&&c.address_component.nation||null,province:c.address_component&&c.address_component.province||null,street:c.address_component&&c.address_component.street||null,street_number:c.address_component&&c.address_component.street_number||null,recommend:c.formatted_addresses&&c.formatted_addresses.recommend||null,rough:c.formatted_addresses&&c.formatted_addresses.rough||null};if(c.pois){var l=c.pois,d=[];for(r=0;r<l.length;r++)d.push({id:l[r].id||null,title:l[r].title||null,latitude:l[r].location&&l[r].location.lat||null,longitude:l[r].location&&l[r].location.lng||null,address:l[r].address||null,category:l[r].category||null,adcode:l[r].ad_info&&l[r].ad_info.adcode||null,city:l[r].ad_info&&l[r].ad_info.city||null,district:l[r].ad_info&&l[r].ad_info.district||null,province:l[r].ad_info&&l[r].ad_info.province||null});e.success(t,{reverseGeocoderResult:c,reverseGeocoderSimplify:u,pois:l,poisSimplify:d})}else e.success(t,{reverseGeocoderResult:c,reverseGeocoderSimplify:u})}else if("geocoder"==o){var f=t.result,p={title:f.title||null,latitude:f.location&&f.location.lat||null,longitude:f.location&&f.location.lng||null,adcode:f.ad_info&&f.ad_info.adcode||null,province:f.address_components&&f.address_components.province||null,city:f.address_components&&f.address_components.city||null,district:f.address_components&&f.address_components.district||null,street:f.address_components&&f.address_components.street||null,street_number:f.address_components&&f.address_components.street_number||null,level:f.level||null};e.success(t,{geocoderResult:f,geocoderSimplify:p})}else if("getCityList"==o){var h=t.result[0],g=t.result[1],m=t.result[2];e.success(t,{provinceResult:h,cityResult:g,districtResult:m})}else if("getDistrictByCityId"==o){var _=t.result[0];e.success(t,_)}else if("calculateDistance"==o){var v=t.result.elements,y=[];for(r=0;r<v.length;r++)y.push(v[r].distance);e.success(t,{calculateDistanceResult:v,distance:y})}else if("direction"==o){var b=t.result.routes;e.success(t,b)}else e.success(t)},buildWxRequestConfig:function(e,t,o){var n=this;return t.header={"content-type":"application/json"},t.method="GET",t.success=function(t){var i=t.data;0===i.status?n.handleData(e,i,o):e.fail(i)},t.fail=function(t){t.statusCode=s.WX_ERR_CODE,e.fail(n.buildErrorConfig(s.WX_ERR_CODE,t.errMsg))},t.complete=function(t){var o=+t.statusCode;switch(o){case s.WX_ERR_CODE:e.complete(n.buildErrorConfig(s.WX_ERR_CODE,t.errMsg));break;case s.WX_OK_CODE:var i=t.data;0===i.status?e.complete(i):e.complete(n.buildErrorConfig(i.status,i.message));break;default:e.complete(n.buildErrorConfig(s.SYSTEM_ERR,s.SYSTEM_ERR_MSG))}},t},locationProcess:function(e,t,o,n){var i=this;if(o=o||function(t){t.statusCode=s.WX_ERR_CODE,e.fail(i.buildErrorConfig(s.WX_ERR_CODE,t.errMsg))},n=n||function(t){t.statusCode==s.WX_ERR_CODE&&e.complete(i.buildErrorConfig(s.WX_ERR_CODE,t.errMsg))},e.location){if(i.checkLocation(e)){var r=d.getLocationParam(e.location);t(r)}}else i.getWXLocation(t,o,n)}},f=function(){function e(t){if((0,i.default)(this,e),!t.key)throw Error("key值不能为空");this.key=t.key}return(0,r.default)(e,[{key:"search",value:function(e){if(e=e||{},d.polyfillParam(e),d.checkKeyword(e)){var o={keyword:e.keyword,orderby:e.orderby||"_distance",page_size:e.page_size||10,page_index:e.page_index||1,output:"json",key:this.key};e.address_format&&(o.address_format=e.address_format),e.filter&&(o.filter=e.filter);var n=e.distance||"1000",i=e.auto_extend||1,r=null,a=null;e.region&&(r=e.region),e.rectangle&&(a=e.rectangle);d.locationProcess(e,(function(s){r&&!a?(o.boundary="region("+r+","+i+","+s.latitude+","+s.longitude+")",e.sig&&(o.sig=d.getSig(o,e.sig,"search"))):a&&!r?(o.boundary="rectangle("+a+")",e.sig&&(o.sig=d.getSig(o,e.sig,"search"))):(o.boundary="nearby("+s.latitude+","+s.longitude+","+n+","+i+")",e.sig&&(o.sig=d.getSig(o,e.sig,"search"))),t.request(d.buildWxRequestConfig(e,{url:"https://apis.map.qq.com/ws/place/v1/search",data:o},"search"))}))}}},{key:"getSuggestion",value:function(e){if(e=e||{},d.polyfillParam(e),d.checkKeyword(e)){var o={keyword:e.keyword,region:e.region||"全国",region_fix:e.region_fix||0,policy:e.policy||0,page_size:e.page_size||10,page_index:e.page_index||1,get_subpois:e.get_subpois||0,output:"json",key:this.key};if(e.address_format&&(o.address_format=e.address_format),e.filter&&(o.filter=e.filter),e.location){d.locationProcess(e,(function(n){o.location=n.latitude+","+n.longitude,e.sig&&(o.sig=d.getSig(o,e.sig,"suggest")),t.request(d.buildWxRequestConfig(e,{url:u,data:o},"suggest"))}))}else e.sig&&(o.sig=d.getSig(o,e.sig,"suggest")),t.request(d.buildWxRequestConfig(e,{url:u,data:o},"suggest"))}}},{key:"reverseGeocoder",value:function(e){e=e||{},d.polyfillParam(e);var o={coord_type:e.coord_type||5,get_poi:e.get_poi||0,output:"json",key:this.key};e.poi_options&&(o.poi_options=e.poi_options);d.locationProcess(e,(function(n){o.location=n.latitude+","+n.longitude,e.sig&&(o.sig=d.getSig(o,e.sig,"reverseGeocoder")),t.request(d.buildWxRequestConfig(e,{url:"https://apis.map.qq.com/ws/geocoder/v1/",data:o},"reverseGeocoder"))}))}},{key:"geocoder",value:function(e){if(e=e||{},d.polyfillParam(e),!d.checkParamKeyEmpty(e,"address")){var o={address:e.address,output:"json",key:this.key};e.region&&(o.region=e.region),e.sig&&(o.sig=d.getSig(o,e.sig,"geocoder")),t.request(d.buildWxRequestConfig(e,{url:"https://apis.map.qq.com/ws/geocoder/v1/",data:o},"geocoder"))}}},{key:"getCityList",value:function(e){e=e||{},d.polyfillParam(e);var o={output:"json",key:this.key};e.sig&&(o.sig=d.getSig(o,e.sig,"getCityList")),t.request(d.buildWxRequestConfig(e,{url:"https://apis.map.qq.com/ws/district/v1/list",data:o},"getCityList"))}},{key:"getDistrictByCityId",value:function(e){if(e=e||{},d.polyfillParam(e),!d.checkParamKeyEmpty(e,"id")){var o={id:e.id||"",output:"json",key:this.key};e.sig&&(o.sig=d.getSig(o,e.sig,"getDistrictByCityId")),t.request(d.buildWxRequestConfig(e,{url:"https://apis.map.qq.com/ws/district/v1/getchildren",data:o},"getDistrictByCityId"))}}},{key:"calculateDistance",value:function(e){if(e=e||{},d.polyfillParam(e),!d.checkParamKeyEmpty(e,"to")){var o={mode:e.mode||"walking",to:d.location2query(e.to),output:"json",key:this.key};if(e.from&&(e.location=e.from),"straight"==o.mode){var n=function(t){for(var n=d.getEndLocation(o.to),i={message:"query ok",result:{elements:[]},status:0},r=0;r<n.length;r++)i.result.elements.push({distance:d.getDistance(t.latitude,t.longitude,n[r].lat,n[r].lng),duration:0,from:{lat:t.latitude,lng:t.longitude},to:{lat:n[r].lat,lng:n[r].lng}});var a=i.result.elements,s=[];for(r=0;r<a.length;r++)s.push(a[r].distance);return e.success(i,{calculateResult:a,distanceResult:s})};d.locationProcess(e,n)}else{n=function(n){o.from=n.latitude+","+n.longitude,e.sig&&(o.sig=d.getSig(o,e.sig,"calculateDistance")),t.request(d.buildWxRequestConfig(e,{url:"https://apis.map.qq.com/ws/distance/v1/",data:o},"calculateDistance"))};d.locationProcess(e,n)}}}},{key:"direction",value:function(e){if(e=e||{},d.polyfillParam(e),!d.checkParamKeyEmpty(e,"to")){var o={output:"json",key:this.key};"string"==typeof e.to?o.to=e.to:o.to=e.to.latitude+","+e.to.longitude;var n;e.mode=e.mode||l.driving,n="https://apis.map.qq.com/ws/direction/v1/"+e.mode,e.from&&(e.location=e.from),e.mode==l.driving&&(e.from_poi&&(o.from_poi=e.from_poi),e.heading&&(o.heading=e.heading),e.speed&&(o.speed=e.speed),e.accuracy&&(o.accuracy=e.accuracy),e.road_type&&(o.road_type=e.road_type),e.to_poi&&(o.to_poi=e.to_poi),e.from_track&&(o.from_track=e.from_track),e.waypoints&&(o.waypoints=e.waypoints),e.policy&&(o.policy=e.policy),e.plate_number&&(o.plate_number=e.plate_number)),e.mode==l.transit&&(e.departure_time&&(o.departure_time=e.departure_time),e.policy&&(o.policy=e.policy));d.locationProcess(e,(function(i){o.from=i.latitude+","+i.longitude,e.sig&&(o.sig=d.getSig(o,e.sig,"direction",e.mode)),t.request(d.buildWxRequestConfig(e,{url:n,data:o},"direction"))}))}}}]),e}();e.exports=f}).call(this,o("bc2e")["default"])},4668:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"直播"}},"48f0":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},"491c":function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("d7d9")),r=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,a=/^<\/([-A-Za-z0-9_]+)[^>]*>/,s=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,c=h("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),u=h("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),l=h("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),d=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),f=h("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),p=h("script,style");function h(e){for(var t={},o=e.split(","),n=0;n<o.length;n++)t[o[n]]=!0;return t}var g=function(t){t=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(t),t=function(e){return e=e.replace(/<!--[\s\S]*-->/gi,""),e}(t),t=function(t){var o=e.getSystemInfoSync(),n=o.windowWidth;n-=20,n+="px";var r='<img style="width:100% !important;display:block;max-width: '.concat(n,' !important;"');return t=t.replace(/\\/g,"").replace(/<img/g,r),t=t.replace(/<img [^>]*src=['"]([^'"]+)[^>]*>/gi,(function(e,t){return r+' src="'+i.default.img(t)+'"/>'})),t}(t),t=function(e){return e=e.replace(/style\s*=\s*["][^>]*;[^"]?/gi,(function(e,t){return e=e.replace(/[:](\s?)[\s\S]*/gi,(function(e,t){return e.replace(/"/g,"'")})),e})),e}(t);var o=[],n={node:"root",children:[]};return function(e,t){var o,n,i,h=[],g=e;h.last=function(){return this[this.length-1]};while(e){if(n=!0,h.last()&&p[h.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+h.last()+"[^>]*>"),(function(e,o){return o=o.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(o),""})),v("",h.last());else if(0==e.indexOf("\x3c!--")?(o=e.indexOf("--\x3e"),o>=0&&(t.comment&&t.comment(e.substring(4,o)),e=e.substring(o+3),n=!1)):0==e.indexOf("</")?(i=e.match(a),i&&(e=e.substring(i[0].length),i[0].replace(a,v),n=!1)):0==e.indexOf("<")&&(i=e.match(r),i&&(e=e.substring(i[0].length),i[0].replace(r,_),n=!1)),n){o=e.indexOf("<");var m=o<0?e:e.substring(0,o);e=o<0?"":e.substring(o),t.chars&&t.chars(m)}if(e==g)throw"Parse Error: "+e;g=e}function _(e,o,n,i){if(o=o.toLowerCase(),u[o])while(h.last()&&l[h.last()])v("",h.last());if(d[o]&&h.last()==o&&v("",o),i=c[o]||!!i,i||h.push(o),t.start){var r=[];n.replace(s,(function(e,t){var o=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:f[t]?t:"";r.push({name:t,value:o,escaped:o.replace(/(^|[^\\])"/g,'$1\\"')})})),t.start&&t.start(o,r,i)}}function v(e,o){if(o){for(n=h.length-1;n>=0;n--)if(h[n]==o)break}else var n=0;if(n>=0){for(var i=h.length-1;i>=n;i--)t.end&&t.end(h[i]);h.length=n}}v()}(t,{start:function(e,t,i){var r={name:e};if(0!==t.length&&(r.attrs=function(e){return e.reduce((function(e,t){var o=t.value,n=t.name;return e[n]?e[n]=e[n]+" "+o:e[n]=o,e}),{})}(t)),i){var a=o[0]||n;a.children||(a.children=[]),a.children.push(r)}else o.unshift(r)},end:function(e){var t=o.shift();if(t.name!==e&&console.error("invalid state: mismatch end tag"),0===o.length)n.children.push(t);else{var i=o[0];i.children||(i.children=[]),i.children.push(t)}},chars:function(e){var t={type:"text",text:e};if(0===o.length)n.children.push(t);else{var i=o[0];i.children||(i.children=[]),i.children.push(t)}},comment:function(e){var t={node:"comment",text:e},n=o[0];n.children||(n.children=[]),n.children.push(t)}}),n.children};t.default=g}).call(this,o("543d")["default"])},4999:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"支付方式",paymentAmount:"支付金额",confirmPayment:"确认支付",seeOrder:"查看订单"}},"4a4b":function(e,t){function o(t,n){return e.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"4b16":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"推广海报"}},"4b5f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={}},"4e4f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"编辑账户",name:"姓名",namePlaceholder:"请输入真实姓名",mobilePhone:"手机号码",mobilePhonePlaceholder:"请输入手机号",accountType:"账号类型",bankInfo:"支行信息",bankInfoPlaceholder:"请输入支行信息",withdrawalAccount:"提现账号",withdrawalAccountPlaceholder:"请输入提现账号",save:"保存"}},"4ea4":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"4f02":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"邀请好友"}},"4fdb":function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("448a")),r={data:function(){return{listStyle:"",loadingType:"loading",orderType:"",priceOrder:"desc",categoryList:[],goodsList:[],order:"",sort:"desc",showScreen:!1,keyword:"",categoryId:0,minPrice:"",maxPrice:"",isFreeShipping:!1,isIphoneX:!1,coupon:0,emptyShow:!1,isList:!0,share_title:"",count:0,category_title:"",coupon_name:"",listHeight:[],listPosition:[],debounce:null,brandId:0,brandList:[],config:{fontWeight:!1,padding:0,cartEvent:"detail",text:"购买",textColor:"#FFFFFF",theme:"default",aroundRadius:25,control:!0,bgColor:"#FF6A00",style:"button",iconDiy:{iconType:"icon",icon:"",style:{fontSize:"60",iconBgColor:[],iconBgColorDeg:0,iconBgImg:"",bgRadius:0,iconColor:["#000000"],iconColorDeg:0}}}}},onLoad:function(t){var o=this;if(this.categoryId=t.category_id||0,this.keyword=t.keyword||"",this.coupon=t.coupon||0,this.goods_id_arr=t.goods_id_arr||0,this.brandId=t.brand_id||0,this.loadCategoryList(),this.getBrandList(),this.isIphoneX=this.$util.uniappIsIPhoneX(),t.source_member&&e.setStorageSync("source_member",t.source_member),t.scene){var n=decodeURIComponent(t.scene);n=n.split("&"),n.length&&n.forEach((function(t){-1!=t.indexOf("sku_id")&&(o.skuId=t.split("-")[1]),-1!=t.indexOf("m")&&e.setStorageSync("source_member",t.split("-")[1]),-1!=t.indexOf("is_test")&&e.setStorageSync("is_test",1)}))}e.onWindowResize((function(e){o.debounce&&clearTimeout(o.debounce),o.waterfallflow(0)}))},onShow:function(){this.storeToken&&e.getStorageSync("source_member")&&this.$util.onSourceMember(e.getStorageSync("source_member"))},onShareAppMessage:function(e){var t="搜索到"+this.count+"件“"+this.keyword+this.category_title+this.coupon_name+"”相关的优质商品",o=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),n=o.path;return{title:t,path:n,success:function(e){},fail:function(e){}}},onShareTimeline:function(){var e="搜索到"+this.count+"件“"+this.keyword+this.category_title+this.coupon_name+"”相关的优质商品",t=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),o=t.query;return{title:e,query:o,imageUrl:""}},methods:{couponInfo:function(e){var t=this;return new Promise((function(o){t.$api.sendRequest({url:"/coupon/api/coupon/typeinfo",data:{coupon_type_id:e},success:function(e){e.code>=0&&o(e.data.coupon_name)}})}))},share_select:function(e,t){return new Promise((function(o){e.forEach((function(e){e.category_id==t&&o(e.category_name),e.child_list&&e.child_list.length>0&&e.child_list.forEach((function(e){e.category_id==t&&o(e.category_name),e.child_list&&e.child_list.length>0&&e.child_list.forEach((function(e){e.category_id==t&&o(e.category_name)}))}))}))}))},loadCategoryList:function(){var e=this;this.$api.sendRequest({url:"/api/goodscategory/tree",success:function(t){null!=t.data&&(e.categoryList=t.data)}})},getGoodsList:function(e){var t=this;this.$api.sendRequest({url:"/api/goodssku/page",data:{page:e.num,page_size:e.size,keyword:this.keyword,category_id:this.categoryId,brand_id:this.brandId,min_price:this.minPrice,max_price:this.maxPrice,is_free_shipping:this.isFreeShipping?1:0,order:this.order,sort:this.sort,coupon:this.coupon,goods_id_arr:this.goods_id_arr},success:function(o){var n=[],i=o.message;0==o.code&&o.data?(t.count=o.data.count,0==o.data.page_count&&(t.emptyShow=!0),n=o.data.list,n=n.map((function(e){return e.id=t.genNonDuplicate(),e}))):t.$util.showToast({title:i}),t.category_title="",t.coupon_name="",o.data.config&&(t.config=o.data.config),t.categoryId&&t.share_select(t.categoryList,t.categoryId).then((function(e){t.category_title=e})),t.coupon&&t.couponInfo(t.coupon).then((function(e){t.coupon_name=e})),e.endSuccess(n.length),1==e.num&&(t.goodsList=[]),t.goodsList=t.goodsList.concat(n),t.$refs.loadingCover&&t.$refs.loadingCover.hide(),t.waterfallflow(10*(e.num-1))},fail:function(o){e.endErr(),t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},changeListStyle:function(){this.isList=!this.isList,this.waterfallflow(0)},sortTabClick:function(e){if("sale_num"==e)this.order="sale_num",this.sort="desc";else if("discount_price"==e)this.order="discount_price",this.sort="desc";else{if("screen"==e)return void(this.showScreen=!0);this.order="",this.sort=""}this.orderType===e&&"discount_price"!==e||(this.orderType=e,"discount_price"===e?(this.priceOrder="asc"===this.priceOrder?"desc":"asc",this.sort=this.priceOrder):this.priceOrder="",this.emptyShow=!1,this.goodsList=[],this.$refs.mescroll.refresh())},toDetail:function(e){this.$util.redirectTo("/pages/goods/detail",{goods_id:e.goods_id})},search:function(){this.emptyShow=!1,this.goodsList=[],this.$refs.mescroll.refresh()},selectedCategory:function(e){this.categoryId=e},screenData:function(){if(""!=this.minPrice||""!=this.maxPrice){if(!Number(this.maxPrice)&&this.maxPrice)return void this.$util.showToast({title:"请输入最高价"});if(Number(this.minPrice)<0||Number(this.maxPrice)<0)return void this.$util.showToast({title:"筛选价格不能小于0"});if(""!=this.minPrice&&Number(this.minPrice)>Number(this.maxPrice)&&this.maxPrice)return void this.$util.showToast({title:"最低价不能大于最高价"});if(""!=this.maxPrice&&Number(this.maxPrice)<Number(this.minPrice))return void this.$util.showToast({title:"最高价不能小于最低价"})}this.emptyShow=!1,this.goodsList=[],this.$refs.mescroll.refresh(),this.showScreen=!1},resetData:function(){this.categoryId=0,this.minPrice="",this.maxPrice="",this.isFreeShipping=!1},goodsImg:function(e){var t=e.split(",");return t[0]?this.$util.img(t[0],{size:"mid"}):this.$util.getDefaultImage().goods},imgError:function(e){this.goodsList[e].goods_image=this.$util.getDefaultImage().goods},showPrice:function(e){var t=e.discount_price;return e.member_price&&parseFloat(e.member_price)<parseFloat(t)&&(t=e.member_price),t},showMarketPrice:function(e){if(e.market_price_show){var t=this.showPrice(e);if(e.market_price>0)return e.market_price;if(parseFloat(e.price)>parseFloat(t))return e.price}return""},goodsTag:function(e){return e.label_name||""},waterfallflow:function(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.isList||this.$nextTick((function(){setTimeout((function(){var n=[],r=[];0!=o&&(n=t.listHeight,r=t.listPosition);var a=e.createSelectorQuery().in(t);a.selectAll(".double-column .goods-item").boundingClientRect((function(a){for(var s=o;s<a.length;s++)if(s<2){var c={};c.top=e.upx2px(20)+"px",c.left=s%2==0?a[s].width*s+"px":a[s].width*s+s%2*e.upx2px(30)+"px",r[s]=c,n[s]=a[s].height+e.upx2px(20)}else(function(){var t=Math.min.apply(Math,(0,i.default)(n)),o=n.findIndex((function(e){return e===t})),c={};c.top=t+e.upx2px(20)+"px",c.left=r[o].left,r[s]=c,n[o]+=a[s].height+e.upx2px(20)})();t.listHeight=n,t.listPosition=r})).exec()}),50)}))},getBrandList:function(){var e=this;this.$api.sendRequest({url:"/api/goodsbrand/page",data:{page:1,page_size:0},success:function(t){if(0==t.code&&t.data){var o=t.data;e.brandList=o.list}}})},addCart:function(e){},genNonDuplicate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6;return Number(Math.random().toString().substr(3,e)+Date.now()).toString(36)}}};t.default=r}).call(this,o("543d")["default"])},"50a2":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"申请退款"}},5317:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"公告列表",emptyText:"当前暂无更多信息",contentTitle:"升级公告"}},"543d":function(e,t,o){"use strict";(function(e,n){var i=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=Mt,t.createComponent=Bt,t.createPage=Ut,t.createPlugin=Vt,t.createSubpackageApp=zt,t.default=void 0;var r,a=i(o("278c")),s=i(o("9523")),c=i(o("b17c")),u=i(o("448a")),l=i(o("7037")),d=o("37dc"),f=i(o("66fd"));function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function h(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){(0,s.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",m=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function _(){var t,o=e.getStorageSync("uni_id_token")||"",n=o.split(".");if(!o||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse(function(e){return decodeURIComponent(r(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(n[1]))}catch(i){throw new Error("获取当前用户信息出错,详细错误信息为:"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}r="function"!==typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!m.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var o,n,i="",r=0;r<e.length;)t=g.indexOf(e.charAt(r++))<<18|g.indexOf(e.charAt(r++))<<12|(o=g.indexOf(e.charAt(r++)))<<6|(n=g.indexOf(e.charAt(r++))),i+=64===o?String.fromCharCode(t>>16&255):64===n?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var v=Object.prototype.toString,y=Object.prototype.hasOwnProperty;function b(e){return"function"===typeof e}function w(e){return"string"===typeof e}function S(e){return"[object Object]"===v.call(e)}function k(e,t){return y.call(e,t)}function D(){}function x(e){var t=Object.create(null);return function(o){var n=t[o];return n||(t[o]=e(o))}}var P=/-(\w)/g,C=x((function(e){return e.replace(P,(function(e,t){return t?t.toUpperCase():""}))}));function O(e){var t={};return S(e)&&Object.keys(e).sort().forEach((function(o){t[o]=e[o]})),Object.keys(t)?t:e}var $=["invoke","success","fail","complete","returnValue"],j={},M={};function A(e,t){Object.keys(t).forEach((function(o){-1!==$.indexOf(o)&&b(t[o])&&(e[o]=function(e,t){var o=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return o?function(e){for(var t=[],o=0;o<e.length;o++)-1===t.indexOf(e[o])&&t.push(e[o]);return t}(o):o}(e[o],t[o]))}))}function T(e,t){e&&t&&Object.keys(t).forEach((function(o){-1!==$.indexOf(o)&&b(t[o])&&function(e,t){var o=e.indexOf(t);-1!==o&&e.splice(o,1)}(e[o],t[o])}))}function I(e,t){return function(o){return e(o,t)||o}}function F(e){return!!e&&("object"===(0,l.default)(e)||"function"===typeof e)&&"function"===typeof e.then}function E(e,t,o){for(var n=!1,i=0;i<e.length;i++){var r=e[i];if(n)n=Promise.resolve(I(r,o));else{var a=r(t,o);if(F(a)&&(n=Promise.resolve(a)),!1===a)return{then:function(){}}}}return n||{then:function(e){return e(t)}}}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(o){if(Array.isArray(e[o])){var n=t[o];t[o]=function(i){E(e[o],i,t).then((function(e){return b(n)&&n(e)||e}))}}})),t}function R(e,t){var o=[];Array.isArray(j.returnValue)&&o.push.apply(o,(0,u.default)(j.returnValue));var n=M[e];return n&&Array.isArray(n.returnValue)&&o.push.apply(o,(0,u.default)(n.returnValue)),o.forEach((function(e){t=e(t)||t})),t}function N(e){var t=Object.create(null);Object.keys(j).forEach((function(e){"returnValue"!==e&&(t[e]=j[e].slice())}));var o=M[e];return o&&Object.keys(o).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(o[e]))})),t}function U(e,t,o){for(var n=arguments.length,i=new Array(n>3?n-3:0),r=3;r<n;r++)i[r-3]=arguments[r];var a=N(e);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=E(a.invoke,o);return s.then((function(o){return t.apply(void 0,[L(N(e),o)].concat(i))}))}return t.apply(void 0,[L(a,o)].concat(i))}return t.apply(void 0,[o].concat(i))}var B={returnValue:function(e){return F(e)?new Promise((function(t,o){e.then((function(e){e[0]?o(e[0]):t(e[1])}))})):e}},z=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/,V=/^create|Manager$/,G=["createBLEConnection"],H=["createBLEConnection","createPushMessage"],q=/^on|^off/;function W(e){return V.test(e)&&-1===G.indexOf(e)}function J(e){return z.test(e)&&-1===H.indexOf(e)}function X(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function K(e){return!(W(e)||J(e)||function(e){return q.test(e)&&"onPush"!==e}(e))}function Y(e,t){return K(e)&&b(t)?function(){for(var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return b(o.success)||b(o.fail)||b(o.complete)?R(e,U.apply(void 0,[e,t,o].concat(i))):R(e,X(new Promise((function(n,r){U.apply(void 0,[e,t,Object.assign({},o,{success:n,fail:r})].concat(i))}))))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(o){return t.resolve(e()).then((function(){return o}))}),(function(o){return t.resolve(e()).then((function(){throw o}))}))});var Q=!1,Z=0,ee=0;var te,oe={};te=re(e.getSystemInfoSync().language)||"en",function(){if(function(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}()){var e=Object.keys(__uniConfig.locales);e.length&&e.forEach((function(e){var t=oe[e],o=__uniConfig.locales[e];t?Object.assign(t,o):oe[e]=o}))}}();var ne=(0,d.initVueI18n)(te,{}),ie=ne.t;ne.mixin={beforeCreate:function(){var e=this,t=ne.i18n.watchLocale((function(){e.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){t()}))},methods:{$$t:function(e,t){return ie(e,t)}}},ne.setLocale,ne.getLocale;function re(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var o=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return o||void 0}}function ae(){if(b(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return re(e.getSystemInfoSync().language)||"en"}var se=[];"undefined"!==typeof n&&(n.getLocale=ae);var ce={promiseInterceptor:B},ue=Object.freeze({__proto__:null,upx2px:function(t,o){if(0===Z&&function(){var t=e.getSystemInfoSync(),o=t.platform,n=t.pixelRatio,i=t.windowWidth;Z=i,ee=n,Q="ios"===o}(),t=Number(t),0===t)return 0;var n=t/750*(o||Z);return n<0&&(n=-n),n=Math.floor(n+1e-4),0===n&&(n=1!==ee&&Q?.5:1),t<0?-n:n},getLocale:ae,setLocale:function(e){var t=!!b(getApp)&&getApp();if(!t)return!1;var o=t.$vm.$locale;return o!==e&&(t.$vm.$locale=e,se.forEach((function(t){return t({locale:e})})),!0)},onLocaleChange:function(e){-1===se.indexOf(e)&&se.push(e)},addInterceptor:function(e,t){"string"===typeof e&&S(t)?A(M[e]||(M[e]={}),t):S(e)&&A(j,e)},removeInterceptor:function(e,t){"string"===typeof e?S(t)?T(M[e],t):delete M[e]:S(e)&&T(j,e)},interceptors:ce});var le,de={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),o=t.length;while(o--){var n=t[o];if(n.$page&&n.$page.fullPath===e)return o}return-1}(e.url);if(-1!==t){var o=getCurrentPages().length-1-t;o>0&&(e.delta=o)}}}},fe={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var o=e.urls;if(Array.isArray(o)){var n=o.length;if(n)return t<0?t=0:t>=n&&(t=n-1),t>0?(e.current=o[t],e.urls=o.filter((function(e,n){return!(n<t)||e!==o[t]}))):e.current=o[0],{indicator:!1,loop:!1}}}}};function pe(t){le=le||e.getStorageSync("__DC_STAT_UUID"),le||(le=Date.now()+""+Math.floor(1e7*Math.random()),e.setStorage({key:"__DC_STAT_UUID",data:le})),t.deviceId=le}function he(e){if(e.safeArea){var t=e.safeArea;e.safeAreaInsets={top:t.top,left:t.left,right:e.windowWidth-t.right,bottom:e.screenHeight-t.bottom}}}function ge(e,t){for(var o=e.deviceType||"phone",n={ipad:"pad",windows:"pc",mac:"pc"},i=Object.keys(n),r=t.toLocaleLowerCase(),a=0;a<i.length;a++){var s=i[a];if(-1!==r.indexOf(s)){o=n[s];break}}return o}function me(e){var t=e;return t&&(t=e.toLocaleLowerCase()),t}function _e(e){return ae?ae():e}function ve(e){var t=e.hostName||"WeChat";return e.environment?t=e.environment:e.host&&e.host.env&&(t=e.host.env),t}var ye={returnValue:function(e){pe(e),he(e),function(e){var t,o=e.brand,n=void 0===o?"":o,i=e.model,r=void 0===i?"":i,a=e.system,s=void 0===a?"":a,c=e.language,u=void 0===c?"":c,l=e.theme,d=e.version,f=(e.platform,e.fontSizeSetting),p=e.SDKVersion,h=e.pixelRatio,g=e.deviceOrientation,m="";m=s.split(" ")[0]||"",t=s.split(" ")[1]||"";var _=d,v=ge(e,r),y=me(n),b=ve(e),w=g,S=h,k=p,D=u.replace(/_/g,"-"),x={appId:"__UNI__D4F3F7C",appName:"Niushop优选",appVersion:"1.0.0",appVersionCode:"100",appLanguage:_e(D),uniCompileVersion:"4.08",uniRuntimeVersion:"4.08",uniPlatform:"mp-weixin",deviceBrand:y,deviceModel:r,deviceType:v,devicePixelRatio:S,deviceOrientation:w,osName:m.toLocaleLowerCase(),osVersion:t,hostTheme:l,hostVersion:_,hostLanguage:D,hostName:b,hostSDKVersion:k,hostFontSizeSetting:f,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0};Object.assign(e,x,{})}(e)}},be={args:function(e){"object"===(0,l.default)(e)&&(e.alertText=e.title)}},we={returnValue:function(e){var t=e,o=t.version,n=t.language,i=t.SDKVersion,r=t.theme,a=ve(e),s=n.replace("_","-");e=O(Object.assign(e,{appId:"__UNI__D4F3F7C",appName:"Niushop优选",appVersion:"1.0.0",appVersionCode:"100",appLanguage:_e(s),hostVersion:o,hostLanguage:s,hostName:a,hostSDKVersion:i,hostTheme:r}))}},Se={returnValue:function(e){var t=e,o=t.brand,n=t.model,i=ge(e,n),r=me(o);pe(e),e=O(Object.assign(e,{deviceType:i,deviceBrand:r,deviceModel:n}))}},ke={returnValue:function(e){he(e),e=O(Object.assign(e,{windowTop:0,windowBottom:0}))}},De={redirectTo:de,previewImage:fe,getSystemInfo:ye,getSystemInfoSync:ye,showActionSheet:be,getAppBaseInfo:we,getDeviceInfo:Se,getWindowInfo:ke,getAppAuthorizeSetting:{returnValue:function(e){var t=e.locationReducedAccuracy;e.locationAccuracy="unsupported",!0===t?e.locationAccuracy="reduced":!1===t&&(e.locationAccuracy="full")}},compressImage:{args:function(e){e.compressedHeight&&!e.compressHeight&&(e.compressHeight=e.compressedHeight),e.compressedWidth&&!e.compressWidth&&(e.compressWidth=e.compressedWidth)}}},xe=["success","fail","cancel","complete"];function Pe(e,t,o){return function(n){return t(Oe(e,n,o))}}function Ce(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(S(t)){var r=!0===i?t:{};for(var a in b(o)&&(o=o(t,r)||{}),t)if(k(o,a)){var s=o[a];b(s)&&(s=s(t[a],t,r)),s?w(s)?r[s]=t[a]:S(s)&&(r[s.name?s.name:a]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==xe.indexOf(a)?b(t[a])&&(r[a]=Pe(e,t[a],n)):i||(r[a]=t[a]);return r}return b(t)&&(t=Pe(e,t,n)),t}function Oe(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return b(De.returnValue)&&(t=De.returnValue(e,t)),Ce(e,t,o,{},n)}function $e(t,o){if(k(De,t)){var n=De[t];return n?function(o,i){var r=n;b(n)&&(r=n(o)),o=Ce(t,o,r.args,r.returnValue);var a=[o];"undefined"!==typeof i&&a.push(i),b(r.name)?t=r.name(o):w(r.name)&&(t=r.name);var s=e[t].apply(e,a);return J(t)?Oe(t,s,r.returnValue,W(t)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return o}var je=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){je[e]=function(e){return function(t){var o=t.fail,n=t.complete,i={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};b(o)&&o(i),b(n)&&n(i)}}(e)}));var Me={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var Ae=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,o=e.success,n=e.fail,i=e.complete,r=!1;Me[t]?(r={errMsg:"getProvider:ok",service:t,provider:Me[t]},b(o)&&o(r)):(r={errMsg:"getProvider:fail service not found"},b(n)&&n(r)),b(i)&&i(r)}}),Te=function(){var e;return function(){return e||(e=new f.default),e}}();function Ie(e,t,o){return e[t].apply(e,o)}var Fe,Ee,Le,Re=Object.freeze({__proto__:null,$on:function(){return Ie(Te(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Ie(Te(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Ie(Te(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Ie(Te(),"$emit",Array.prototype.slice.call(arguments))}});function Ne(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Ue(e){try{return JSON.parse(e)}catch(t){}return e}var Be=[];function ze(e,t){Be.forEach((function(o){o(e,t)})),Be.length=0}var Ve=[],Ge=e.getAppBaseInfo&&e.getAppBaseInfo();Ge||(Ge=e.getSystemInfoSync());var He=Ge?Ge.host:null,qe=He&&"SAAASDK"===He.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,We=Object.freeze({__proto__:null,shareVideoMessage:qe,getPushClientId:function(e){S(e)||(e={});var t=function(e){var t={};for(var o in e){var n=e[o];b(n)&&(t[o]=Ne(n),delete e[o])}return t}(e),o=t.success,n=t.fail,i=t.complete,r=b(o),a=b(n),s=b(i);Promise.resolve().then((function(){"undefined"===typeof Le&&(Le=!1,Fe="",Ee="uniPush is not enabled"),Be.push((function(e,t){var c;e?(c={errMsg:"getPushClientId:ok",cid:e},r&&o(c)):(c={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&n(c)),s&&i(c)})),"undefined"!==typeof Fe&&ze(Fe,Ee)}))},onPushMessage:function(e){-1===Ve.indexOf(e)&&Ve.push(e)},offPushMessage:function(e){if(e){var t=Ve.indexOf(e);t>-1&&Ve.splice(t,1)}else Ve.length=0},invokePushCallback:function(e){if("enabled"===e.type)Le=!0;else if("clientId"===e.type)Fe=e.cid,Ee=e.errMsg,ze(Fe,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Ue(e.message)},o=0;o<Ve.length;o++){var n=Ve[o];if(n(t),t.stopped)break}else"click"===e.type&&Ve.forEach((function(t){t({type:"click",data:Ue(e.message)})}))}}),Je=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Xe(e){return Behavior(e)}function Ke(){return!!this.route}function Ye(e){this.triggerEvent("__l",e)}function Qe(e){var t=e.$scope,o={};Object.defineProperty(e,"$refs",{get:function(){var e={};(function e(t,o,n){var i=t.selectAllComponents(o)||[];i.forEach((function(t){var i=t.dataset.ref;n[i]=t.$vm||tt(t),"scoped"===t.dataset.vueGeneric&&t.selectAllComponents(".scoped-ref").forEach((function(t){e(t,o,n)}))}))})(t,".vue-ref",e);var n=t.selectAllComponents(".vue-ref-in-for")||[];return n.forEach((function(t){var o=t.dataset.ref;e[o]||(e[o]=[]),e[o].push(t.$vm||tt(t))})),function(e,t){var o=(0,c.default)(Set,(0,u.default)(Object.keys(e))),n=Object.keys(t);return n.forEach((function(n){var i=e[n],r=t[n];Array.isArray(i)&&Array.isArray(r)&&i.length===r.length&&r.every((function(e){return i.includes(e)}))||(e[n]=r,o.delete(n))})),o.forEach((function(t){delete e[t]})),e}(o,e)}})}function Ze(e){var t,o=e.detail||e.value,n=o.vuePid,i=o.vueOptions;n&&(t=function e(t,o){for(var n,i=t.$children,r=i.length-1;r>=0;r--){var a=i[r];if(a.$scope._$vueId===o)return a}for(var s=i.length-1;s>=0;s--)if(n=e(i[s],o),n)return n}(this.$vm,n)),t||(t=this.$vm),i.parent=t}function et(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function tt(e){return function(e){return null!==e&&"object"===(0,l.default)(e)}(e)&&Object.isExtensible(e)&&Object.defineProperty(e,"__ob__",{configurable:!0,enumerable:!1,value:(0,s.default)({},"__v_skip",!0)}),e}var ot=/_(.*)_worklet_factory_/;var nt=Page,it=Component,rt=/:/g,at=x((function(e){return C(e.replace(rt,"-"))}));function st(e){var t=e.triggerEvent,o=function(e){for(var o=arguments.length,n=new Array(o>1?o-1:0),i=1;i<o;i++)n[i-1]=arguments[i];if(this.$vm||this.dataset&&this.dataset.comType)e=at(e);else{var r=at(e);r!==e&&t.apply(this,[r].concat(n))}return t.apply(this,[e].concat(n))};try{e.triggerEvent=o}catch(n){e._triggerEvent=o}}function ct(e,t,o){var n=t[e];t[e]=function(){if(et(this),st(this),n){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.apply(this,t)}}}nt.__$wrappered||(nt.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ct("onLoad",e),nt(e)},Page.after=nt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ct("created",e),it(e)});function ut(e,t,o){t.forEach((function(t){(function e(t,o){if(!o)return!0;if(f.default.options&&Array.isArray(f.default.options[t]))return!0;if(o=o.default||o,b(o))return!!b(o.extendOptions[t])||!!(o.super&&o.super.options&&Array.isArray(o.super.options[t]));if(b(o[t])||Array.isArray(o[t]))return!0;var n=o.mixins;return Array.isArray(n)?!!n.find((function(o){return e(t,o)})):void 0})(t,o)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function lt(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];dt(t).forEach((function(t){return ft(e,t,o)}))}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(o){0===o.indexOf("on")&&b(e[o])&&t.push(o)})),t}function ft(e,t,o){-1!==o.indexOf(t)||k(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function pt(e,t){var o;return t=t.default||t,o=b(t)?t:e.extend(t),t=o.options,[o,t]}function ht(e,t){if(Array.isArray(t)&&t.length){var o=Object.create(null);t.forEach((function(e){o[e]=!0})),e.$scopedSlots=e.$slots=o}}function gt(e,t){e=(e||"").split(",");var o=e.length;1===o?t._$vueId=e[0]:2===o&&(t._$vueId=e[0],t._$vuePid=e[1])}function mt(e,t){var o=e.data||{},n=e.methods||{};if("function"===typeof o)try{o=o.call(t)}catch(i){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"Niushop优选",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",o)}else try{o=JSON.parse(JSON.stringify(o))}catch(i){}return S(o)||(o={}),Object.keys(n).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||k(o,e)||(o[e]=n[e])})),o}var _t=[String,Number,Boolean,Object,Array,null];function vt(e){return function(t,o){this.$vm&&(this.$vm[e]=t)}}function yt(e,t){var o=e.behaviors,n=e.extends,i=e.mixins,r=e.props;r||(e.props=r=[]);var a=[];return Array.isArray(o)&&o.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(r)?(r.push("name"),r.push("value")):(r.name={type:String,default:""},r.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),S(n)&&n.props&&a.push(t({properties:wt(n.props,!0)})),Array.isArray(i)&&i.forEach((function(e){S(e)&&e.props&&a.push(t({properties:wt(e.props,!0)}))})),a}function bt(e,t,o,n){return Array.isArray(t)&&1===t.length?t[0]:t}function wt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>3?arguments[3]:void 0,n={};return t||(n.vueId={type:String,value:""},o.virtualHost&&(n.virtualHostStyle={type:null,value:""},n.virtualHostClass={type:null,value:""}),n.scopedSlotsCompiler={type:String,value:""},n.vueSlots={type:null,value:[],observer:function(e,t){var o=Object.create(null);e.forEach((function(e){o[e]=!0})),this.setData({$slots:o})}}),Array.isArray(e)?e.forEach((function(e){n[e]={type:null,observer:vt(e)}})):S(e)&&Object.keys(e).forEach((function(t){var o=e[t];if(S(o)){var i=o.default;b(i)&&(i=i()),o.type=bt(0,o.type),n[t]={type:-1!==_t.indexOf(o.type)?o.type:null,value:i,observer:vt(t)}}else{var r=bt(0,o);n[t]={type:-1!==_t.indexOf(r)?r:null,observer:vt(t)}}})),n}function St(e,t,o,n){var i={};return Array.isArray(t)&&t.length&&t.forEach((function(t,r){"string"===typeof t?t?"$event"===t?i["$"+r]=o:"arguments"===t?i["$"+r]=o.detail&&o.detail.__args__||n:0===t.indexOf("$event.")?i["$"+r]=e.__get_value(t.replace("$event.",""),o):i["$"+r]=e.__get_value(t):i["$"+r]=e:i["$"+r]=function(e,t){var o=e;return t.forEach((function(t){var n=t[0],i=t[2];if(n||"undefined"!==typeof i){var r,a=t[1],s=t[3];Number.isInteger(n)?r=n:n?"string"===typeof n&&n&&(r=0===n.indexOf("#s#")?n.substr(3):e.__get_value(n,o)):r=o,Number.isInteger(r)?o=i:a?Array.isArray(r)?o=r.find((function(t){return e.__get_value(a,t)===i})):S(r)?o=Object.keys(r).find((function(t){return e.__get_value(a,r[t])===i})):console.error("v-for 暂不支持循环数据:",r):o=r[i],s&&(o=e.__get_value(s,o))}})),o}(e,t)})),i}function kt(e){for(var t={},o=1;o<e.length;o++){var n=e[o];t[n[0]]=n[1]}return t}function Dt(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,a=!1,s=S(t.detail)&&t.detail.__args__||[t.detail];if(i&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!o.length))return a?[t]:s;var c=St(e,n,t,s),u=[];return o.forEach((function(e){"$event"===e?"__set_model"!==r||i?i&&!a?u.push(s[0]):u.push(t):u.push(t.target.value):Array.isArray(e)&&"o"===e[0]?u.push(kt(e)):"string"===typeof e&&k(c,e)?u.push(c[e]):u.push(e)})),u}function xt(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=D,e.preventDefault=D,e.target=e.target||{},k(e,"detail")||(e.detail={}),k(e,"markerId")&&(e.detail="object"===(0,l.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),S(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var o=(e.currentTarget||e.target).dataset;if(!o)return console.warn("事件信息不存在");var n=o.eventOpts||o["event-opts"];if(!n)return console.warn("事件信息不存在");var i=e.type,r=[];return n.forEach((function(o){var n=o[0],a=o[1],s="^"===n.charAt(0);n=s?n.slice(1):n;var c="~"===n.charAt(0);n=c?n.slice(1):n,a&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(i,n)&&a.forEach((function(o){var n=o[0];if(n){var i=t.$vm;if(i.$options.generic&&(i=function(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}(i)||i),"$emit"===n)return void i.$emit.apply(i,Dt(t.$vm,e,o[1],o[2],s,n));var a=i[n];if(!b(a)){var u="page"===t.$vm.mpType?"Page":"Component",l=t.route||t.is;throw new Error("".concat(u,' "').concat(l,'" does not have a method "').concat(n,'"'))}if(c){if(a.once)return;a.once=!0}var d=Dt(t.$vm,e,o[1],o[2],s,n);d=Array.isArray(d)?d:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(d=d.concat([,,,,,,,,,,e])),r.push(a.apply(i,d))}}))})),"input"===i&&1===r.length&&"undefined"!==typeof r[0]?r[0]:void 0}var Pt={};var Ct=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function Ot(){f.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=f.default.prototype.__call_hook;f.default.prototype.__call_hook=function(t,o){return"onLoad"===t&&o&&o.__id__&&(this.__eventChannel__=function(e){var t=Pt[e];return delete Pt[e],t}(o.__id__),delete o.__id__),e.call(this,t,o)}}function $t(t,o){var n=o.mocks,i=o.initRefs;Ot(),function(){var e={},t={};function o(e){var t=this.$options.propsData.vueId;if(t){var o=t.split(",")[0];e(o)}}f.default.prototype.$hasSSP=function(o){var n=e[o];return n||(t[o]=this,this.$on("hook:destroyed",(function(){delete t[o]}))),n},f.default.prototype.$getSSP=function(t,o,n){var i=e[t];if(i){var r=i[o]||[];return n?r:r[0]}},f.default.prototype.$setSSP=function(t,n){var i=0;return o.call(this,(function(o){var r=e[o],a=r[t]=r[t]||[];a.push(n),i=a.length-1})),i},f.default.prototype.$initSSP=function(){o.call(this,(function(t){e[t]={}}))},f.default.prototype.$callSSP=function(){o.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},f.default.mixin({destroyed:function(){var o=this.$options.propsData,n=o&&o.vueId;n&&(delete e[n],delete t[n])}})}(),t.$options.store&&(f.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=_(),o=t.role;return o.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=_(),o=t.permission;return this.uniIDHasRole("admin")||o.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=_(),t=e.tokenExpired;return t>Date.now()}}(f.default),f.default.prototype.mpHost="mp-weixin",f.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,s.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(i(this),function(e,t){var o=e.$mp[e.mpType];t.forEach((function(t){k(o,t)&&(e[t]=o[t])}))}(this,n))}}});var r={onLaunch:function(o){this.$vm||(e.canIUse&&!e.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",o),this.$vm.__call_hook("onLaunch",o))}};r.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(e){r[e]=a[e]})),function(e,t,o){var n=e.observable({locale:o||ne.getLocale()}),i=[];t.$watchLocale=function(e){i.push(e)},Object.defineProperty(t,"$locale",{get:function(){return n.locale},set:function(e){n.locale=e,i.forEach((function(t){return t(e)}))}})}(f.default,t,re(e.getSystemInfoSync().language)||"en"),ut(r,Ct),lt(r,t.$options),r}function jt(e){return $t(e,{mocks:Je,initRefs:Qe})}function Mt(e){return App(jt(e)),e}var At=/[!'()*]/g,Tt=function(e){return"%"+e.charCodeAt(0).toString(16)},It=/%2C/g,Ft=function(e){return encodeURIComponent(e).replace(At,Tt).replace(It,",")};function Et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ft,o=e?Object.keys(e).map((function(o){var n=e[o];if(void 0===n)return"";if(null===n)return t(o);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(t(o)):i.push(t(o)+"="+t(e)))})),i.join("&")}return t(o)+"="+t(n)})).filter((function(e){return e.length>0})).join("&"):null;return o?"?".concat(o):""}function Lt(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.isPage,n=t.initRelation,i=arguments.length>2?arguments[2]:void 0,r=pt(f.default,e),s=(0,a.default)(r,2),c=s[0],u=s[1],l=h({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(l,u["mp-weixin"].options);var d={options:l,data:mt(u,f.default.prototype),behaviors:yt(u,Xe),properties:wt(u.props,!1,u.__file,l),lifetimes:{attached:function(){var e=this.properties,t={mpType:o.call(this)?"page":"component",mpInstance:this,propsData:e};gt(e.vueId,this),n.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new c(t),ht(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:Ze,__e:xt}};return u.externalClasses&&(d.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(e){d.methods[e]=function(t){return this.$vm[e](t)}})),i?[d,u,c]:o?d:[d,c]}(e,{isPage:Ke,initRelation:Ye},t)}var Rt=["onShow","onHide","onUnload"];function Nt(e){var t=Lt(e,!0),o=(0,a.default)(t,2),n=o[0],i=o[1];return ut(n.methods,Rt,i),n.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Et(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},lt(n.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(o){var n=o.match(ot);if(n){var i=n[1];e[o]=t[o],e[i]=t[i]}}))}(n.methods,i.methods),n}function Ut(e){return Component(function(e){return Nt(e)}(e))}function Bt(e){return Component(Lt(e))}function zt(t){var o=jt(t),n=getApp({allowDefault:!0});t.$scope=n;var i=n.globalData;if(i&&Object.keys(o.globalData).forEach((function(e){k(i,e)||(i[e]=o.globalData[e])})),Object.keys(o).forEach((function(e){k(n,e)||(n[e]=o[e])})),b(o.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];t.__call_hook("onShow",o)})),b(o.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];t.__call_hook("onHide",o)})),b(o.onLaunch)){var r=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",r)}return t}function Vt(t){var o=jt(t);if(b(o.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];t.__call_hook("onShow",o)})),b(o.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];t.__call_hook("onHide",o)})),b(o.onLaunch)){var n=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",n)}return t}Rt.push.apply(Rt,["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"]),["vibrate","preloadPage","unPreloadPage","loadSubPackage"].forEach((function(e){De[e]=!1})),[].forEach((function(t){var o=De[t]&&De[t].name?De[t].name:t;e.canIUse(o)||(De[t]=!1)}));var Gt={};"undefined"!==typeof Proxy?Gt=new Proxy({},{get:function(t,o){return k(t,o)?t[o]:ue[o]?ue[o]:We[o]?Y(o,We[o]):Ae[o]?Y(o,Ae[o]):je[o]?Y(o,je[o]):Re[o]?Re[o]:Y(o,$e(o,e[o]))},set:function(e,t,o){return e[t]=o,!0}}):(Object.keys(ue).forEach((function(e){Gt[e]=ue[e]})),Object.keys(je).forEach((function(e){Gt[e]=Y(e,je[e])})),Object.keys(Ae).forEach((function(e){Gt[e]=Y(e,Ae[e])})),Object.keys(Re).forEach((function(e){Gt[e]=Re[e]})),Object.keys(We).forEach((function(e){Gt[e]=Y(e,We[e])})),Object.keys(e).forEach((function(t){(k(e,t)||k(De,t))&&(Gt[t]=Y(t,$e(t,e[t])))}))),e.createApp=Mt,e.createPage=Ut,e.createComponent=Bt,e.createSubpackageApp=zt,e.createPlugin=Vt;var Ht=Gt,qt=Ht;t.default=qt}).call(this,o("bc2e")["default"],o("c8ba"))},"571d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的礼品",emptyTips:"暂无礼品"}},"5a43":function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n},e.exports.__esModule=!0,e.exports["default"]=e.exports},"5bc3":function(e,t,o){var n=o("a395");function i(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,n(i.key),i)}}e.exports=function(e,t,o){return t&&i(e.prototype,t),o&&i(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"5c3e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"找回密码",findPassword:"找回密码",accountPlaceholder:"请输入手机号",captchaPlaceholder:"请输入验证码",dynacodePlaceholder:"请输入动态码",passwordPlaceholder:"请输入新密码",rePasswordPlaceholder:"请确认新密码",next:"下一步",save:"确认修改"}},"5cb9":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"会员卡"}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6388:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},"63d8":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的积分"}},6613:function(e,t,o){var n=o("5a43");e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6662:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"文章详情"}},6676:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"礼品订单"}},"66fd":function(e,t,o){"use strict";o.r(t),function(e){
/*!
 * Vue.js v2.6.11
 * (c) 2014-2023 Evan You
 * Released under the MIT License.
 */
var o=Object.freeze({});function n(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function r(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var o=Object.create(null),n=e.split(","),i=0;i<n.length;i++)o[n[i]]=!0;return t?function(e){return o[e.toLowerCase()]}:function(e){return o[e]}}h("slot,component",!0);var g=h("key,ref,slot,slot-scope,is");function m(e,t){if(e.length){var o=e.indexOf(t);if(o>-1)return e.splice(o,1)}}var _=Object.prototype.hasOwnProperty;function v(e,t){return _.call(e,t)}function y(e){var t=Object.create(null);return function(o){var n=t[o];return n||(t[o]=e(o))}}var b=/-(\w)/g,w=y((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),S=y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,D=y((function(e){return e.replace(k,"-$1").toLowerCase()}));var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function o(o){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,o):e.call(t)}return o._length=e.length,o};function P(e,t){t=t||0;var o=e.length-t,n=new Array(o);while(o--)n[o]=e[o+t];return n}function C(e,t){for(var o in t)e[o]=t[o];return e}function O(e){for(var t={},o=0;o<e.length;o++)e[o]&&C(t,e[o]);return t}function $(e,t,o){}var j=function(e,t,o){return!1},M=function(e){return e};function A(e,t){if(e===t)return!0;var o=s(e),n=s(t);if(!o||!n)return!o&&!n&&String(e)===String(t);try{var i=Array.isArray(e),r=Array.isArray(t);if(i&&r)return e.length===t.length&&e.every((function(e,o){return A(e,t[o])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||r)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every((function(o){return A(e[o],t[o])}))}catch(u){return!1}}function T(e,t){for(var o=0;o<e.length;o++)if(A(e[o],t))return o;return-1}function I(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var F=["component","directive","filter"],E=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],L={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:$,parsePlatformTagName:M,mustUseProp:j,async:!0,_lifecycleHooks:E},R=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function N(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function U(e,t,o,n){Object.defineProperty(e,t,{value:o,enumerable:!!n,writable:!0,configurable:!0})}var B=new RegExp("[^"+R.source+".$_\\d]");var z,V="__proto__"in{},G="undefined"!==typeof window,H="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,q=H&&WXEnvironment.platform.toLowerCase(),W=G&&window.navigator.userAgent.toLowerCase(),J=W&&/msie|trident/.test(W),X=(W&&W.indexOf("msie 9.0"),W&&W.indexOf("edge/")>0),K=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===q),Y=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/),{}.watch);if(G)try{var Q={};Object.defineProperty(Q,"passive",{get:function(){}}),window.addEventListener("test-passive",null,Q)}catch(Lo){}var Z=function(){return void 0===z&&(z=!G&&!H&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),z},ee=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var oe,ne="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);oe="undefined"!==typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=$,re=0,ae=function(){this.id=re++,this.subs=[]};function se(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function ce(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){m(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,o=e.length;t<o;t++)e[t].update()},ae.SharedObject={},ae.SharedObject.target=null,ae.SharedObject.targetStack=[];var ue=function(e,t,o,n,i,r,a,s){this.tag=e,this.data=t,this.children=o,this.text=n,this.elm=i,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},le={child:{configurable:!0}};le.child.get=function(){return this.componentInstance},Object.defineProperties(ue.prototype,le);var de=function(e){void 0===e&&(e="");var t=new ue;return t.text=e,t.isComment=!0,t};function fe(e){return new ue(void 0,void 0,void 0,String(e))}var pe=Array.prototype,he=Object.create(pe);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=pe[e];U(he,e,(function(){var o=[],n=arguments.length;while(n--)o[n]=arguments[n];var i,r=t.apply(this,o),a=this.__ob__;switch(e){case"push":case"unshift":i=o;break;case"splice":i=o.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),r}))}));var ge=Object.getOwnPropertyNames(he),me=!0;function _e(e){me=e}var ve=function(e){this.value=e,this.dep=new ae,this.vmCount=0,U(e,"__ob__",this),Array.isArray(e)?(V?e.push!==e.__proto__.push?ye(e,he,ge):function(e,t){e.__proto__=t}(e,he):ye(e,he,ge),this.observeArray(e)):this.walk(e)};function ye(e,t,o){for(var n=0,i=o.length;n<i;n++){var r=o[n];U(e,r,t[r])}}function be(e,t){var o;if(s(e)&&!(e instanceof ue))return v(e,"__ob__")&&e.__ob__ instanceof ve?o=e.__ob__:!me||Z()||!Array.isArray(e)&&!u(e)||!Object.isExtensible(e)||e._isVue||e.__v_isMPComponent||(o=new ve(e)),t&&o&&o.vmCount++,o}function we(e,t,o,n,i){var r=new ae,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(o=e[t]);var u=!i&&be(o);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):o;return ae.SharedObject.target&&(r.depend(),u&&(u.dep.depend(),Array.isArray(t)&&De(t))),t},set:function(t){var n=s?s.call(e):o;t===n||t!==t&&n!==n||s&&!c||(c?c.call(e,t):o=t,u=!i&&be(t),r.notify())}})}}function Se(e,t,o){if(Array.isArray(e)&&l(t))return e.length=Math.max(e.length,t),e.splice(t,1,o),o;if(t in e&&!(t in Object.prototype))return e[t]=o,o;var n=e.__ob__;return e._isVue||n&&n.vmCount?o:n?(we(n.value,t,o),n.dep.notify(),o):(e[t]=o,o)}function ke(e,t){if(Array.isArray(e)&&l(t))e.splice(t,1);else{var o=e.__ob__;e._isVue||o&&o.vmCount||v(e,t)&&(delete e[t],o&&o.dep.notify())}}function De(e){for(var t=void 0,o=0,n=e.length;o<n;o++)t=e[o],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&De(t)}ve.prototype.walk=function(e){for(var t=Object.keys(e),o=0;o<t.length;o++)we(e,t[o])},ve.prototype.observeArray=function(e){for(var t=0,o=e.length;t<o;t++)be(e[t])};var xe=L.optionMergeStrategies;function Pe(e,t){if(!t)return e;for(var o,n,i,r=ne?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)o=r[a],"__ob__"!==o&&(n=e[o],i=t[o],v(e,o)?n!==i&&u(n)&&u(i)&&Pe(n,i):Se(e,o,i));return e}function Ce(e,t,o){return o?function(){var n="function"===typeof t?t.call(o,o):t,i="function"===typeof e?e.call(o,o):e;return n?Pe(n,i):i}:t?e?function(){return Pe("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Oe(e,t){var o=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return o?function(e){for(var t=[],o=0;o<e.length;o++)-1===t.indexOf(e[o])&&t.push(e[o]);return t}(o):o}function $e(e,t,o,n){var i=Object.create(e||null);return t?C(i,t):i}xe.data=function(e,t,o){return o?Ce(e,t,o):t&&"function"!==typeof t?e:Ce(e,t)},E.forEach((function(e){xe[e]=Oe})),F.forEach((function(e){xe[e+"s"]=$e})),xe.watch=function(e,t,o,n){if(e===Y&&(e=void 0),t===Y&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var r in C(i,e),t){var a=i[r],s=t[r];a&&!Array.isArray(a)&&(a=[a]),i[r]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},xe.props=xe.methods=xe.inject=xe.computed=function(e,t,o,n){if(!e)return t;var i=Object.create(null);return C(i,e),t&&C(i,t),i},xe.provide=Ce;var je=function(e,t){return void 0===t?e:t};function Me(e,t,o){if("function"===typeof t&&(t=t.options),function(e,t){var o=e.props;if(o){var n,i,r,a={};if(Array.isArray(o)){n=o.length;while(n--)i=o[n],"string"===typeof i&&(r=w(i),a[r]={type:null})}else if(u(o))for(var s in o)i=o[s],r=w(s),a[r]=u(i)?i:{type:i};else 0;e.props=a}}(t),function(e,t){var o=e.inject;if(o){var n=e.inject={};if(Array.isArray(o))for(var i=0;i<o.length;i++)n[o[i]]={from:o[i]};else if(u(o))for(var r in o){var a=o[r];n[r]=u(a)?C({from:r},a):{from:a}}else 0}}(t),function(e){var t=e.directives;if(t)for(var o in t){var n=t[o];"function"===typeof n&&(t[o]={bind:n,update:n})}}(t),!t._base&&(t.extends&&(e=Me(e,t.extends,o)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=Me(e,t.mixins[n],o);var r,a={};for(r in e)s(r);for(r in t)v(e,r)||s(r);function s(n){var i=xe[n]||je;a[n]=i(e[n],t[n],o,n)}return a}function Ae(e,t,o,n){if("string"===typeof o){var i=e[t];if(v(i,o))return i[o];var r=w(o);if(v(i,r))return i[r];var a=S(r);if(v(i,a))return i[a];var s=i[o]||i[r]||i[a];return s}}function Te(e,t,o,n){var i=t[e],r=!v(o,e),a=o[e],s=Ee(Boolean,i.type);if(s>-1)if(r&&!v(i,"default"))a=!1;else if(""===a||a===D(e)){var c=Ee(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,o){if(!v(t,"default"))return;var n=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[o]&&void 0!==e._props[o])return e._props[o];return"function"===typeof n&&"Function"!==Ie(t.type)?n.call(e):n}(n,i,e);var u=me;_e(!0),be(a),_e(u)}return a}function Ie(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Fe(e,t){return Ie(e)===Ie(t)}function Ee(e,t){if(!Array.isArray(t))return Fe(t,e)?0:-1;for(var o=0,n=t.length;o<n;o++)if(Fe(t[o],e))return o;return-1}function Le(e,t,o){se();try{if(t){var n=t;while(n=n.$parent){var i=n.$options.errorCaptured;if(i)for(var r=0;r<i.length;r++)try{var a=!1===i[r].call(n,e,t,o);if(a)return}catch(Lo){Ne(Lo,n,"errorCaptured hook")}}}Ne(e,t,o)}finally{ce()}}function Re(e,t,o,n,i){var r;try{r=o?e.apply(t,o):e.call(t),r&&!r._isVue&&d(r)&&!r._handled&&(r.catch((function(e){return Le(e,n,i+" (Promise/async)")})),r._handled=!0)}catch(Lo){Le(Lo,n,i)}return r}function Ne(e,t,o){if(L.errorHandler)try{return L.errorHandler.call(null,e,t,o)}catch(Lo){Lo!==e&&Ue(Lo,null,"config.errorHandler")}Ue(e,t,o)}function Ue(e,t,o){if(!G&&!H||"undefined"===typeof console)throw e;console.error(e)}var Be,ze=[],Ve=!1;function Ge(){Ve=!1;var e=ze.slice(0);ze.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&te(Promise)){var He=Promise.resolve();Be=function(){He.then(Ge),K&&setTimeout($)}}else if(J||"undefined"===typeof MutationObserver||!te(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Be="undefined"!==typeof setImmediate&&te(setImmediate)?function(){setImmediate(Ge)}:function(){setTimeout(Ge,0)};else{var qe=1,We=new MutationObserver(Ge),Je=document.createTextNode(String(qe));We.observe(Je,{characterData:!0}),Be=function(){qe=(qe+1)%2,Je.data=String(qe)}}function Xe(e,t){var o;if(ze.push((function(){if(e)try{e.call(t)}catch(Lo){Le(Lo,t,"nextTick")}else o&&o(t)})),Ve||(Ve=!0,Be()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){o=e}))}var Ke=new oe;function Ye(e){(function e(t,o){var n,i,r=Array.isArray(t);if(!r&&!s(t)||Object.isFrozen(t)||t instanceof ue)return;if(t.__ob__){var a=t.__ob__.dep.id;if(o.has(a))return;o.add(a)}if(r){n=t.length;while(n--)e(t[n],o)}else{i=Object.keys(t),n=i.length;while(n--)e(t[i[n]],o)}})(e,Ke),Ke.clear()}var Qe=y((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var o="~"===e.charAt(0);e=o?e.slice(1):e;var n="!"===e.charAt(0);return e=n?e.slice(1):e,{name:e,once:o,capture:n,passive:t}}));function Ze(e,t){function o(){var e=arguments,n=o.fns;if(!Array.isArray(n))return Re(n,null,arguments,t,"v-on handler");for(var i=n.slice(),r=0;r<i.length;r++)Re(i[r],null,e,t,"v-on handler")}return o.fns=e,o}function et(e,t,o,r){var a=t.options.mpOptions&&t.options.mpOptions.properties;if(n(a))return o;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,u=e.props;if(i(c)||i(u))for(var l in a){var d=D(l),f=tt(o,u,l,d,!0)||tt(o,c,l,d,!1);f&&o[l]&&-1!==s.indexOf(d)&&r[w(o[l])]&&(o[l]=r[w(o[l])])}return o}function tt(e,t,o,n,r){if(i(t)){if(v(t,o))return e[o]=t[o],r||delete t[o],!0;if(v(t,n))return e[o]=t[n],r||delete t[n],!0}return!1}function ot(e){return a(e)?[fe(e)]:Array.isArray(e)?function e(t,o){var s,c,u,l,d=[];for(s=0;s<t.length;s++)c=t[s],n(c)||"boolean"===typeof c||(u=d.length-1,l=d[u],Array.isArray(c)?c.length>0&&(c=e(c,(o||"")+"_"+s),nt(c[0])&&nt(l)&&(d[u]=fe(l.text+c[0].text),c.shift()),d.push.apply(d,c)):a(c)?nt(l)?d[u]=fe(l.text+c):""!==c&&d.push(fe(c)):nt(c)&&nt(l)?d[u]=fe(l.text+c.text):(r(t._isVList)&&i(c.tag)&&n(c.key)&&i(o)&&(c.key="__vlist"+o+"_"+s+"__"),d.push(c)));return d}(e):void 0}function nt(e){return i(e)&&i(e.text)&&function(e){return!1===e}(e.isComment)}function it(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function rt(e){var t=at(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach((function(o){we(e,o,t[o])})),_e(!0))}function at(e,t){if(e){for(var o=Object.create(null),n=ne?Reflect.ownKeys(e):Object.keys(e),i=0;i<n.length;i++){var r=n[i];if("__ob__"!==r){var a=e[r].from,s=t;while(s){if(s._provided&&v(s._provided,a)){o[r]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[r]){var c=e[r].default;o[r]="function"===typeof c?c.call(t):c}else 0}}return o}}function st(e,t){if(!e||!e.length)return{};for(var o={},n=0,i=e.length;n<i;n++){var r=e[n],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,r.context!==t&&r.fnContext!==t||!a||null==a.slot)r.asyncMeta&&r.asyncMeta.data&&"page"===r.asyncMeta.data.slot?(o["page"]||(o["page"]=[])).push(r):(o.default||(o.default=[])).push(r);else{var s=a.slot,c=o[s]||(o[s]=[]);"template"===r.tag?c.push.apply(c,r.children||[]):c.push(r)}}for(var u in o)o[u].every(ct)&&delete o[u];return o}function ct(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ut(e,t,n){var i,r=Object.keys(t).length>0,a=e?!!e.$stable:!r,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==o&&s===n.$key&&!r&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=lt(t,c,e[c]))}else i={};for(var u in t)u in i||(i[u]=dt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),U(i,"$stable",a),U(i,"$key",s),U(i,"$hasNormal",r),i}function lt(e,t,o){var n=function(){var e=arguments.length?o.apply(null,arguments):o({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:ot(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return o.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function dt(e,t){return function(){return e[t]}}function ft(e,t){var o,n,r,a,c;if(Array.isArray(e)||"string"===typeof e)for(o=new Array(e.length),n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,n,n);else if("number"===typeof e)for(o=new Array(e),n=0;n<e;n++)o[n]=t(n+1,n,n,n);else if(s(e))if(ne&&e[Symbol.iterator]){o=[];var u=e[Symbol.iterator](),l=u.next();while(!l.done)o.push(t(l.value,o.length,n,n++)),l=u.next()}else for(a=Object.keys(e),o=new Array(a.length),n=0,r=a.length;n<r;n++)c=a[n],o[n]=t(e[c],c,n,n);return i(o)||(o=[]),o._isVList=!0,o}function pt(e,t,o,n){var i,r=this.$scopedSlots[e];r?(o=o||{},n&&(o=C(C({},n),o)),i=r(o,this,o._i)||t):i=this.$slots[e]||t;var a=o&&o.slot;return a?this.$createElement("template",{slot:a},i):i}function ht(e){return Ae(this.$options,"filters",e)||M}function gt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function mt(e,t,o,n,i){var r=L.keyCodes[t]||o;return i&&n&&!L.keyCodes[t]?gt(i,n):r?gt(r,e):n?D(n)!==t:void 0}function _t(e,t,o,n,i){if(o)if(s(o)){var r;Array.isArray(o)&&(o=O(o));var a=function(a){if("class"===a||"style"===a||g(a))r=e;else{var s=e.attrs&&e.attrs.type;r=n||L.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=w(a),u=D(a);if(!(c in r)&&!(u in r)&&(r[a]=o[a],i)){var l=e.on||(e.on={});l["update:"+a]=function(e){o[a]=e}}};for(var c in o)a(c)}else;return e}function vt(e,t){var o=this._staticTrees||(this._staticTrees=[]),n=o[e];return n&&!t||(n=o[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),bt(n,"__static__"+e,!1)),n}function yt(e,t,o){return bt(e,"__once__"+t+(o?"_"+o:""),!0),e}function bt(e,t,o){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!==typeof e[n]&&wt(e[n],t+"_"+n,o);else wt(e,t,o)}function wt(e,t,o){e.isStatic=!0,e.key=t,e.isOnce=o}function St(e,t){if(t)if(u(t)){var o=e.on=e.on?C({},e.on):{};for(var n in t){var i=o[n],r=t[n];o[n]=i?[].concat(i,r):r}}else;return e}function kt(e,t,o,n){t=t||{$stable:!o};for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?kt(r,t,o):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return n&&(t.$key=n),t}function Dt(e,t){for(var o=0;o<t.length;o+=2){var n=t[o];"string"===typeof n&&n&&(e[t[o]]=t[o+1])}return e}function xt(e,t){return"string"===typeof e?t+e:e}function Pt(e){e._o=yt,e._n=p,e._s=f,e._l=ft,e._t=pt,e._q=A,e._i=T,e._m=vt,e._f=ht,e._k=mt,e._b=_t,e._v=fe,e._e=de,e._u=kt,e._g=St,e._d=Dt,e._p=xt}function Ct(e,t,n,i,a){var s,c=this,u=a.options;v(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var l=r(u._compiled),d=!l;this.data=e,this.props=t,this.children=n,this.parent=i,this.listeners=e.on||o,this.injections=at(u.inject,i),this.slots=function(){return c.$slots||ut(e.scopedSlots,c.$slots=st(n,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ut(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ut(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,o,n){var r=It(s,e,t,o,n,d);return r&&!Array.isArray(r)&&(r.fnScopeId=u._scopeId,r.fnContext=i),r}:this._c=function(e,t,o,n){return It(s,e,t,o,n,d)}}function Ot(e,t,o,n,i){var r=function(e){var t=new ue(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}(e);return r.fnContext=o,r.fnOptions=n,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function $t(e,t){for(var o in t)e[w(o)]=t[o]}Pt(Ct.prototype);var jt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var o=e;jt.prepatch(o,o)}else{var n=e.componentInstance=function(e,t){var o={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;i(n)&&(o.render=n.render,o.staticRenderFns=n.staticRenderFns);return new e.componentOptions.Ctor(o)}(e,Vt);n.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,i=t.componentInstance=e.componentInstance;(function(e,t,n,i,r){0;var a=i.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==o&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(r||e.$options._renderChildren||c);e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i);if(e.$options._renderChildren=r,e.$attrs=i.data.attrs||o,e.$listeners=n||o,t&&e.$options.props){_e(!1);for(var l=e._props,d=e.$options._propKeys||[],f=0;f<d.length;f++){var p=d[f],h=e.$options.props;l[p]=Te(p,h,t,e)}_e(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),n=n||o;var g=e.$options._parentListeners;e.$options._parentListeners=n,zt(e,n,g),u&&(e.$slots=st(r,i.context),e.$forceUpdate());0})(i,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,o=e.componentInstance;o._isMounted||(qt(o,"onServiceCreated"),qt(o,"onServiceAttached"),o._isMounted=!0,qt(o,"mounted")),e.data.keepAlive&&(t._isMounted?function(e){e._inactive=!1,Jt.push(e)}(o):Ht(o,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,o){if(o&&(t._directInactive=!0,Gt(t)))return;if(!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)e(t.$children[n]);qt(t,"deactivated")}}(t,!0):t.$destroy())}},Mt=Object.keys(jt);function At(e,t,a,c,u){if(!n(e)){var l=a.$options._base;if(s(e)&&(e=l.extend(e)),"function"===typeof e){var f;if(n(e.cid)&&(f=e,e=function(e,t){if(r(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var o=Et;o&&i(e.owners)&&-1===e.owners.indexOf(o)&&e.owners.push(o);if(r(e.loading)&&i(e.loadingComp))return e.loadingComp;if(o&&!i(e.owners)){var a=e.owners=[o],c=!0,u=null,l=null;o.$on("hook:destroyed",(function(){return m(a,o)}));var f=function(e){for(var t=0,o=a.length;t<o;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},p=I((function(o){e.resolved=Lt(o,t),c?a.length=0:f(!0)})),h=I((function(t){i(e.errorComp)&&(e.error=!0,f(!0))})),g=e(p,h);return s(g)&&(d(g)?n(e.resolved)&&g.then(p,h):d(g.component)&&(g.component.then(p,h),i(g.error)&&(e.errorComp=Lt(g.error,t)),i(g.loading)&&(e.loadingComp=Lt(g.loading,t),0===g.delay?e.loading=!0:u=setTimeout((function(){u=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,f(!1))}),g.delay||200)),i(g.timeout)&&(l=setTimeout((function(){l=null,n(e.resolved)&&h(null)}),g.timeout)))),c=!1,e.loading?e.loadingComp:e.resolved}}(f,l),void 0===e))return function(e,t,o,n,i){var r=de();return r.asyncFactory=e,r.asyncMeta={data:t,context:o,children:n,tag:i},r}(f,t,a,c,u);t=t||{},ho(e),i(t.model)&&function(e,t){var o=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[o]=t.model.value;var r=t.on||(t.on={}),a=r[n],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(r[n]=[s].concat(a)):r[n]=s}(e.options,t);var p=function(e,t,o,r){var a=t.options.props;if(n(a))return et(e,t,{},r);var s={},c=e.attrs,u=e.props;if(i(c)||i(u))for(var l in a){var d=D(l);tt(s,u,l,d,!0)||tt(s,c,l,d,!1)}return et(e,t,s,r)}(t,e,0,a);if(r(e.options.functional))return function(e,t,n,r,a){var s=e.options,c={},u=s.props;if(i(u))for(var l in u)c[l]=Te(l,u,t||o);else i(n.attrs)&&$t(c,n.attrs),i(n.props)&&$t(c,n.props);var d=new Ct(n,c,a,r,e),f=s.render.call(null,d._c,d);if(f instanceof ue)return Ot(f,n,d.parent,s,d);if(Array.isArray(f)){for(var p=ot(f)||[],h=new Array(p.length),g=0;g<p.length;g++)h[g]=Ot(p[g],n,d.parent,s,d);return h}}(e,p,t,a,c);var h=t.on;if(t.on=t.nativeOn,r(e.options.abstract)){var g=t.slot;t={},g&&(t.slot=g)}(function(e){for(var t=e.hook||(e.hook={}),o=0;o<Mt.length;o++){var n=Mt[o],i=t[n],r=jt[n];i===r||i&&i._merged||(t[n]=i?Tt(r,i):r)}})(t);var _=e.options.name||u,v=new ue("vue-component-"+e.cid+(_?"-"+_:""),t,void 0,void 0,void 0,a,{Ctor:e,propsData:p,listeners:h,tag:u,children:c},f);return v}}}function Tt(e,t){var o=function(o,n){e(o,n),t(o,n)};return o._merged=!0,o}function It(e,t,o,c,u,l){return(Array.isArray(o)||a(o))&&(u=c,c=o,o=void 0),r(l)&&(u=2),function(e,t,o,a,c){if(i(o)&&i(o.__ob__))return de();i(o)&&i(o.is)&&(t=o.is);if(!t)return de();0;Array.isArray(a)&&"function"===typeof a[0]&&(o=o||{},o.scopedSlots={default:a[0]},a.length=0);2===c?a=ot(a):1===c&&(a=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(a));var u,l;if("string"===typeof t){var d;l=e.$vnode&&e.$vnode.ns||L.getTagNamespace(t),u=L.isReservedTag(t)?new ue(L.parsePlatformTagName(t),o,a,void 0,void 0,e):o&&o.pre||!i(d=Ae(e.$options,"components",t))?new ue(t,o,a,void 0,void 0,e):At(d,o,e,a,t)}else u=At(t,o,e,a);return Array.isArray(u)?u:i(u)?(i(l)&&function e(t,o,a){t.ns=o,"foreignObject"===t.tag&&(o=void 0,a=!0);if(i(t.children))for(var s=0,c=t.children.length;s<c;s++){var u=t.children[s];i(u.tag)&&(n(u.ns)||r(a)&&"svg"!==u.tag)&&e(u,o,a)}}(u,l),i(o)&&function(e){s(e.style)&&Ye(e.style);s(e.class)&&Ye(e.class)}(o),u):de()}(e,t,o,c,u)}var Ft,Et=null;function Lt(e,t){return(e.__esModule||ne&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Rt(e){return e.isComment&&e.asyncFactory}function Nt(e,t){Ft.$on(e,t)}function Ut(e,t){Ft.$off(e,t)}function Bt(e,t){var o=Ft;return function n(){var i=t.apply(null,arguments);null!==i&&o.$off(e,n)}}function zt(e,t,o){Ft=e,function(e,t,o,i,a,s){var c,u,l,d;for(c in e)u=e[c],l=t[c],d=Qe(c),n(u)||(n(l)?(n(u.fns)&&(u=e[c]=Ze(u,s)),r(d.once)&&(u=e[c]=a(d.name,u,d.capture)),o(d.name,u,d.capture,d.passive,d.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)n(e[c])&&(d=Qe(c),i(d.name,t[c],d.capture))}(t,o||{},Nt,Ut,Bt,e),Ft=void 0}var Vt=null;function Gt(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Ht(e,t){if(t){if(e._directInactive=!1,Gt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var o=0;o<e.$children.length;o++)Ht(e.$children[o]);qt(e,"activated")}}function qt(e,t){se();var o=e.$options[t],n=t+" hook";if(o)for(var i=0,r=o.length;i<r;i++)Re(o[i],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),ce()}var Wt=[],Jt=[],Xt={},Kt=!1,Yt=!1,Qt=0;var Zt=Date.now;if(G&&!J){var eo=window.performance;eo&&"function"===typeof eo.now&&Zt()>document.createEvent("Event").timeStamp&&(Zt=function(){return eo.now()})}function to(){var e,t;for(Zt(),Yt=!0,Wt.sort((function(e,t){return e.id-t.id})),Qt=0;Qt<Wt.length;Qt++)e=Wt[Qt],e.before&&e.before(),t=e.id,Xt[t]=null,e.run();var o=Jt.slice(),n=Wt.slice();(function(){Qt=Wt.length=Jt.length=0,Xt={},Kt=Yt=!1})(),function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Ht(e[t],!0)}(o),function(e){var t=e.length;while(t--){var o=e[t],n=o.vm;n._watcher===o&&n._isMounted&&!n._isDestroyed&&qt(n,"updated")}}(n),ee&&L.devtools&&ee.emit("flush")}var oo=0,no=function(e,t,o,n,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=o,this.id=++oo,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new oe,this.newDepIds=new oe,this.expression="","function"===typeof t?this.getter=t:(this.getter=function(e){if(!B.test(e)){var t=e.split(".");return function(e){for(var o=0;o<t.length;o++){if(!e)return;e=e[t[o]]}return e}}}(t),this.getter||(this.getter=$)),this.value=this.lazy?void 0:this.get()};no.prototype.get=function(){var e;se(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Lo){if(!this.user)throw Lo;Le(Lo,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ye(e),ce(),this.cleanupDeps()}return e},no.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},no.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var o=this.depIds;this.depIds=this.newDepIds,this.newDepIds=o,this.newDepIds.clear(),o=this.deps,this.deps=this.newDeps,this.newDeps=o,this.newDeps.length=0},no.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Xt[t]){if(Xt[t]=!0,Yt){var o=Wt.length-1;while(o>Qt&&Wt[o].id>e.id)o--;Wt.splice(o+1,0,e)}else Wt.push(e);Kt||(Kt=!0,Xe(to))}}(this)},no.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Lo){Le(Lo,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},no.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},no.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},no.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var io={enumerable:!0,configurable:!0,get:$,set:$};function ro(e,t,o){io.get=function(){return this[t][o]},io.set=function(e){this[t][o]=e},Object.defineProperty(e,o,io)}function ao(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var o=e.$options.propsData||{},n=e._props={},i=e.$options._propKeys=[],r=!e.$parent;r||_e(!1);var a=function(r){i.push(r);var a=Te(r,t,o,e);we(n,r,a),r in e||ro(e,"_props",r)};for(var s in t)a(s);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var o in t)e[o]="function"!==typeof t[o]?$:x(t[o],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){se();try{return e.call(t,t)}catch(Lo){return Le(Lo,t,"data()"),{}}finally{ce()}}(t,e):t||{},u(t)||(t={});var o=Object.keys(t),n=e.$options.props,i=(e.$options.methods,o.length);while(i--){var r=o[i];0,n&&v(n,r)||N(r)||ro(e,"_data",r)}be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var o=e._computedWatchers=Object.create(null),n=Z();for(var i in t){var r=t[i],a="function"===typeof r?r:r.get;0,n||(o[i]=new no(e,a||$,$,so)),i in e||co(e,i,r)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var o in t){var n=t[o];if(Array.isArray(n))for(var i=0;i<n.length;i++)fo(e,o,n[i]);else fo(e,o,n)}}(e,t.watch)}var so={lazy:!0};function co(e,t,o){var n=!Z();"function"===typeof o?(io.get=n?uo(t):lo(o),io.set=$):(io.get=o.get?n&&!1!==o.cache?uo(t):lo(o.get):$,io.set=o.set||$),Object.defineProperty(e,t,io)}function uo(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ae.SharedObject.target&&t.depend(),t.value}}function lo(e){return function(){return e.call(this,this)}}function fo(e,t,o,n){return u(o)&&(n=o,o=o.handler),"string"===typeof o&&(o=e[o]),e.$watch(t,o,n)}var po=0;function ho(e){var t=e.options;if(e.super){var o=ho(e.super),n=e.superOptions;if(o!==n){e.superOptions=o;var i=function(e){var t,o=e.options,n=e.sealedOptions;for(var i in o)o[i]!==n[i]&&(t||(t={}),t[i]=o[i]);return t}(e);i&&C(e.extendOptions,i),t=e.options=Me(o,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function go(e){this._init(e)}function mo(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var o=this,n=o.cid,i=e._Ctor||(e._Ctor={});if(i[n])return i[n];var r=e.name||o.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(o.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Me(o.options,e),a["super"]=o,a.options.props&&function(e){var t=e.options.props;for(var o in t)ro(e.prototype,"_props",o)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var o in t)co(e.prototype,o,t[o])}(a),a.extend=o.extend,a.mixin=o.mixin,a.use=o.use,F.forEach((function(e){a[e]=o[e]})),r&&(a.options.components[r]=a),a.superOptions=o.options,a.extendOptions=e,a.sealedOptions=C({},a.options),i[n]=a,a}}function _o(e){return e&&(e.Ctor.options.name||e.tag)}function vo(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function yo(e,t){var o=e.cache,n=e.keys,i=e._vnode;for(var r in o){var a=o[r];if(a){var s=_o(a.componentOptions);s&&!t(s)&&bo(o,r,n,i)}}}function bo(e,t,o,n){var i=e[t];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),e[t]=null,m(o,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=po++,t._isVue=!0,e&&e._isComponent?function(e,t){var o=e.$options=Object.create(e.constructor.options),n=t._parentVnode;o.parent=t.parent,o._parentVnode=n;var i=n.componentOptions;o.propsData=i.propsData,o._parentListeners=i.listeners,o._renderChildren=i.children,o._componentTag=i.tag,t.render&&(o.render=t.render,o.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Me(ho(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,o=t.parent;if(o&&!t.abstract){while(o.$options.abstract&&o.$parent)o=o.$parent;o.$children.push(e)}e.$parent=o,e.$root=o?o.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&zt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=st(t._renderChildren,i),e.$scopedSlots=o,e._c=function(t,o,n,i){return It(e,t,o,n,i,!1)},e.$createElement=function(t,o,n,i){return It(e,t,o,n,i,!0)};var r=n&&n.data;we(e,"$attrs",r&&r.attrs||o,null,!0),we(e,"$listeners",t._parentListeners||o,null,!0)}(t),qt(t,"beforeCreate"),!t._$fallback&&rt(t),ao(t),!t._$fallback&&it(t),!t._$fallback&&qt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(go),function(e){var t={get:function(){return this._data}},o={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",o),e.prototype.$set=Se,e.prototype.$delete=ke,e.prototype.$watch=function(e,t,o){if(u(t))return fo(this,e,t,o);o=o||{},o.user=!0;var n=new no(this,e,t,o);if(o.immediate)try{t.call(this,n.value)}catch(i){Le(i,this,'callback for immediate watcher "'+n.expression+'"')}return function(){n.teardown()}}}(go),function(e){var t=/^hook:/;e.prototype.$on=function(e,o){var n=this;if(Array.isArray(e))for(var i=0,r=e.length;i<r;i++)n.$on(e[i],o);else(n._events[e]||(n._events[e]=[])).push(o),t.test(e)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(e,t){var o=this;function n(){o.$off(e,n),t.apply(o,arguments)}return n.fn=t,o.$on(e,n),o},e.prototype.$off=function(e,t){var o=this;if(!arguments.length)return o._events=Object.create(null),o;if(Array.isArray(e)){for(var n=0,i=e.length;n<i;n++)o.$off(e[n],t);return o}var r,a=o._events[e];if(!a)return o;if(!t)return o._events[e]=null,o;var s=a.length;while(s--)if(r=a[s],r===t||r.fn===t){a.splice(s,1);break}return o},e.prototype.$emit=function(e){var t=this,o=t._events[e];if(o){o=o.length>1?P(o):o;for(var n=P(arguments,1),i='event handler for "'+e+'"',r=0,a=o.length;r<a;r++)Re(o[r],t,n,t,i)}return t}}(go),function(e){e.prototype._update=function(e,t){var o=this,n=o.$el,i=o._vnode,r=function(e){var t=Vt;return Vt=e,function(){Vt=t}}(o);o._vnode=e,o.$el=i?o.__patch__(i,e):o.__patch__(o.$el,e,t,!1),r(),n&&(n.__vue__=null),o.$el&&(o.$el.__vue__=o),o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode&&(o.$parent.$el=o.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){qt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||m(t.$children,e),e._watcher&&e._watcher.teardown();var o=e._watchers.length;while(o--)e._watchers[o].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),qt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(go),function(e){Pt(e.prototype),e.prototype.$nextTick=function(e){return Xe(e,this)},e.prototype._render=function(){var e,t=this,o=t.$options,n=o.render,i=o._parentVnode;i&&(t.$scopedSlots=ut(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{Et=t,e=n.call(t._renderProxy,t.$createElement)}catch(Lo){Le(Lo,t,"render"),e=t._vnode}finally{Et=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ue||(e=de()),e.parent=i,e}}(go);var wo=[String,RegExp,Array],So={name:"keep-alive",abstract:!0,props:{include:wo,exclude:wo,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)bo(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){yo(e,(function(e){return vo(t,e)}))})),this.$watch("exclude",(function(t){yo(e,(function(e){return!vo(t,e)}))}))},render:function(){var e=this.$slots.default,t=function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var o=e[t];if(i(o)&&(i(o.componentOptions)||Rt(o)))return o}}(e),o=t&&t.componentOptions;if(o){var n=_o(o),r=this.include,a=this.exclude;if(r&&(!n||!vo(r,n))||a&&n&&vo(a,n))return t;var s=this.cache,c=this.keys,u=null==t.key?o.Ctor.cid+(o.tag?"::"+o.tag:""):t.key;s[u]?(t.componentInstance=s[u].componentInstance,m(c,u),c.push(u)):(s[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&bo(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},ko={KeepAlive:So};(function(e){var t={get:function(){return L}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:C,mergeOptions:Me,defineReactive:we},e.set=Se,e.delete=ke,e.nextTick=Xe,e.observable=function(e){return be(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,C(e.options.components,ko),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var o=P(arguments,1);return o.unshift(this),"function"===typeof e.install?e.install.apply(e,o):"function"===typeof e&&e.apply(null,o),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Me(this.options,e),this}}(e),mo(e),function(e){F.forEach((function(t){e[t]=function(e,o){return o?("component"===t&&u(o)&&(o.name=o.name||e,o=this.options._base.extend(o)),"directive"===t&&"function"===typeof o&&(o={bind:o,update:o}),this.options[t+"s"][e]=o,o):this.options[t+"s"][e]}}))}(e)})(go),Object.defineProperty(go.prototype,"$isServer",{get:Z}),Object.defineProperty(go.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(go,"FunctionalRenderContext",{value:Ct}),go.version="2.6.11";var Do="[object Array]",xo="[object Object]";function Po(e,t){var o={};return function e(t,o){if(t===o)return;var n=Oo(t),i=Oo(o);if(n==xo&&i==xo){if(Object.keys(t).length>=Object.keys(o).length)for(var r in o){var a=t[r];void 0===a?t[r]=null:e(a,o[r])}}else n==Do&&i==Do&&t.length>=o.length&&o.forEach((function(o,n){e(t[n],o)}))}(e,t),function e(t,o,n,i){if(t===o)return;var r=Oo(t),a=Oo(o);if(r==xo)if(a!=xo||Object.keys(t).length<Object.keys(o).length)Co(i,n,t);else{var s=function(r){var a=t[r],s=o[r],c=Oo(a),u=Oo(s);if(c!=Do&&c!=xo)a!==o[r]&&function(e,t){if(("[object Null]"===e||"[object Undefined]"===e)&&("[object Null]"===t||"[object Undefined]"===t))return!1;return!0}(c,u)&&Co(i,(""==n?"":n+".")+r,a);else if(c==Do)u!=Do||a.length<s.length?Co(i,(""==n?"":n+".")+r,a):a.forEach((function(t,o){e(t,s[o],(""==n?"":n+".")+r+"["+o+"]",i)}));else if(c==xo)if(u!=xo||Object.keys(a).length<Object.keys(s).length)Co(i,(""==n?"":n+".")+r,a);else for(var l in a)e(a[l],s[l],(""==n?"":n+".")+r+"."+l,i)};for(var c in t)s(c)}else r==Do?a!=Do||t.length<o.length?Co(i,n,t):t.forEach((function(t,r){e(t,o[r],n+"["+r+"]",i)})):Co(i,n,t)}(e,t,"",o),o}function Co(e,t,o){e[t]=o}function Oo(e){return Object.prototype.toString.call(e)}function $o(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"Niushop优选",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var t=e.$scope;console.log("["+ +new Date+"]["+(t.is||t.route)+"]["+e._uid+"]:flushCallbacks["+e.__next_tick_callbacks.length+"]")}var o=e.__next_tick_callbacks.slice(0);e.__next_tick_callbacks.length=0;for(var n=0;n<o.length;n++)o[n]()}}function jo(e,t){if(!e.__next_tick_pending&&!function(e){return Wt.find((function(t){return e._watcher===t}))}(e)){if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"Niushop优选",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var o=e.$scope;console.log("["+ +new Date+"]["+(o.is||o.route)+"]["+e._uid+"]:nextVueTick")}return Xe(t,e)}if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"Niushop优选",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var n=e.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+e._uid+"]:nextMPTick")}var i;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(Lo){Le(Lo,e,"nextTick")}else i&&i(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){i=e}))}function Mo(e,t){return t&&(t._isVue||t.__v_isMPComponent)?{}:t}function Ao(){}function To(e){return Array.isArray(e)?function(e){for(var t,o="",n=0,r=e.length;n<r;n++)i(t=To(e[n]))&&""!==t&&(o&&(o+=" "),o+=t);return o}(e):s(e)?function(e){var t="";for(var o in e)e[o]&&(t&&(t+=" "),t+=o);return t}(e):"string"===typeof e?e:""}var Io=y((function(e){var t={},o=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));var Fo=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Eo=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];go.prototype.__patch__=function(e,t){var o=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var n=this.$scope,i=Object.create(null);try{i=function(e){var t=Object.create(null),o=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));o.reduce((function(t,o){return t[o]=e[o],t}),t);var n=e.__composition_api_state__||e.__secret_vfa_state__,i=n&&n.rawBindings;return i&&Object.keys(i).forEach((function(o){t[o]=e[o]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,Mo))}(this)}catch(s){console.error(s)}i.__webviewId__=n.data.__webviewId__;var r=Object.create(null);Object.keys(i).forEach((function(e){r[e]=n.data[e]}));var a=!1===this.$shouldDiffData?i:Po(i,r);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"Niushop优选",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,n.setData(a,(function(){o.__next_tick_pending=!1,$o(o)}))):$o(this)}},go.prototype.$mount=function(e,t){return function(e,t,o){return e.mpType?("app"===e.mpType&&(e.$options.render=Ao),e.$options.render||(e.$options.render=Ao),!e._$fallback&&qt(e,"beforeMount"),new no(e,(function(){e._update(e._render(),o)}),$,{before:function(){e._isMounted&&!e._isDestroyed&&qt(e,"beforeUpdate")}},!0),o=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var o=e.methods;return o&&Object.keys(o).forEach((function(t){-1!==Eo.indexOf(t)&&(e[t]=o[t],delete o[t])})),t.call(this,e)};var o=e.config.optionMergeStrategies,n=o.created;Eo.forEach((function(e){o[e]=n})),e.prototype.__lifecycle_hooks__=Eo}(go),function(e){e.config.errorHandler=function(t,o,n){e.util.warn("Error in "+n+': "'+t.toString()+'"',o),console.error(t);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var o=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(o)try{o.call(this.$scope,e,{__args__:P(arguments,1)})}catch(n){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return jo(this,e)},Fo.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=it,e.prototype.__init_injections=rt,e.prototype.__call_hook=function(e,t){var o=this;se();var n,i=o.$options[e],r=e+" hook";if(i)for(var a=0,s=i.length;a<s;a++)n=Re(i[a],o,t?[t]:null,o,r);return o._hasHookEvent&&o.$emit("hook:"+e,t),ce(),n},e.prototype.__set_model=function(t,o,n,i){Array.isArray(i)&&(-1!==i.indexOf("trim")&&(n=n.trim()),-1!==i.indexOf("number")&&(n=this._n(n))),t||(t=this),e.set(t,o,n)},e.prototype.__set_sync=function(t,o,n){t||(t=this),e.set(t,o,n)},e.prototype.__get_orig=function(e){return u(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return function e(t,o){var n=o.split("."),i=n[0];return 0===i.indexOf("__$n")&&(i=parseInt(i.replace("__$n",""))),1===n.length?t[i]:e(t[i],n.slice(1).join("."))}(t||this,e)},e.prototype.__get_class=function(e,t){return function(e,t){return i(e)||i(t)?function(e,t){return e?t?e+" "+t:e:t||""}(e,To(t)):""}(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var o=function(e){return Array.isArray(e)?O(e):"string"===typeof e?Io(e):e}(e),n=t?C(t,o):o;return Object.keys(n).map((function(e){return D(e)+":"+n[e]})).join(";")},e.prototype.__map=function(e,t){var o,n,i,r,a;if(Array.isArray(e)){for(o=new Array(e.length),n=0,i=e.length;n<i;n++)o[n]=t(e[n],n);return o}if(s(e)){for(r=Object.keys(e),o=Object.create(null),n=0,i=r.length;n<i;n++)a=r[n],o[a]=t(e[a],a,n);return o}if("number"===typeof e){for(o=new Array(e),n=0,i=e;n<i;n++)o[n]=t(n,n);return o}return[]}}(go),t["default"]=go}.call(this,o("c8ba"))},"675c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"砍价专区"}},"681d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"专题活动列表"}},"68bc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},6986:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"收货地址",newAddAddress:"添加收货地址",getAddress:"一键获取地址",is_default:"默认",modify:"编辑",del:"删除"}},"69d6":function(e){e.exports=JSON.parse('{"uni-datetime-picker.selectDate":"select date","uni-datetime-picker.selectTime":"select time","uni-datetime-picker.selectDateTime":"select datetime","uni-datetime-picker.startDate":"start date","uni-datetime-picker.endDate":"end date","uni-datetime-picker.startTime":"start time","uni-datetime-picker.endTime":"end time","uni-datetime-picker.ok":"ok","uni-datetime-picker.clear":"clear","uni-datetime-picker.cancel":"cancel","uni-calender.MON":"MON","uni-calender.TUE":"TUE","uni-calender.WED":"WED","uni-calender.THU":"THU","uni-calender.FRI":"FRI","uni-calender.SAT":"SAT","uni-calender.SUN":"SUN"}')},"6b85":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},"6cb1":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},"6cc7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我要咨询"}},"6f8f":function(e,t){function o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=o=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},7037:function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"70cf":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"拼团分享"}},"717f":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},"71df":function(e,t,o){"use strict";var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("9523"));function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function a(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){(0,i.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var s={methods:{bannerConfigs:function(){return a({padding:"20rpx",gridRows:1,gridColumns:1,gridRowsGap:"40rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"center",headShow:!0,headWidth:"100%",headHeight:"300rpx",headBorderRadius:"20rpx",textShow:!1,textRows:3,textRowsGap:"20rpx",textWidth:"100%",textHeight:"30rpx",textBorderRadius:"6rpx"},this.configs)},infoConfigs:function(){return a({padding:"20rpx",gridRows:1,gridColumns:1,gridRowsGap:"50rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"flex-start",headShow:!0,headWidth:"100rpx",headHeight:"100rpx",headBorderRadius:"50%",textShow:!0,textRows:4,textRowsGap:"30rpx",textWidth:["50%","100%","100%","80%"],textHeight:["40rpx","24rpx","24rpx","24rpx"],textBorderRadius:"6rpx"},this.configs)},textConfigs:function(){return a({padding:"20rpx",gridRows:1,gridColumns:1,gridRowsGap:"50rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"flex-start",headShow:!1,headWidth:"100rpx",headHeight:"100rpx",headBorderRadius:"50%",textShow:!0,textRows:4,textRowsGap:"30rpx",textWidth:["50%","100%","100%","80%"],textHeight:"30rpx",textBorderRadius:"6rpx"},this.configs)},menuConfigs:function(){return a({padding:"20rpx",gridRows:2,gridColumns:5,gridRowsGap:"40rpx",gridColumnsGap:"40rpx",itemDirection:"column",itemGap:"16rpx",itemAlign:"center",headShow:!0,headWidth:"100rpx",headHeight:"100rpx",headBorderRadius:"50%",textShow:!0,textRows:1,textRowsGap:"0rpx",textWidth:"100%",textHeight:"24rpx",textBorderRadius:"6rpx"},this.configs)},listConfigs:function(){return a({padding:"20rpx",gridRows:2,gridColumns:1,gridRowsGap:"50rpx",gridColumnsGap:"24rpx",itemDirection:"row",itemGap:"30rpx",itemAlign:"flex-start",headShow:!0,headWidth:"200rpx",headHeight:"200rpx",headBorderRadius:"16rpx",textShow:!0,textRows:4,textRowsGap:"30rpx",textWidth:["50%","100%","100%","80%"],textHeight:["38rpx","24rpx","24rpx","24rpx"],textBorderRadius:"6rpx"},this.configs)},waterfallConfigs:function(){return a({padding:"20rpx",gridRows:2,gridColumns:2,gridRowsGap:"40rpx",gridColumnsGap:"24rpx",itemDirection:"column",itemGap:"16rpx",itemAlign:"center",headShow:!0,headWidth:"100%",headHeight:"400rpx",headBorderRadius:"12rpx",textShow:!0,textRows:3,textRowsGap:"12rpx",textWidth:["40%","85%","60%"],textHeight:["30rpx","20rpx","20rpx"],textBorderRadius:"6rpx"},this.configs)}}};t.default=s},7210:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的砍价"}},7321:function(e,t,o){"use strict";var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("69d6")),r=n(o("a176")),a=n(o("801e")),s={en:i.default,"zh-Hans":r.default,"zh-Hant":a.default};t.default=s},7347:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的优惠券"}},7452:function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("32df")),r=n(o("d7d9")),a=n(o("e746")),s={sendRequest:function(t){if(i.default.baseUrl){var o=void 0!=t.data?"POST":"GET",n=i.default.baseUrl+t.url,s={app_type:"weapp",app_type_name:"微信小程序"};s.token=a.default.state.token||"";var c=a.default.state.defaultStoreInfo;c&&(s.store_id=c.store_id);var u=a.default.state.globalStoreInfo;if(u&&(s.store_id=u.store_id),void 0!=t.data&&Object.assign(s,t.data),!1===t.async)return new Promise((function(c,u){e.request({url:n,method:o,data:s,header:t.header||{"content-type":"application/x-www-form-urlencoded;application/json"},dataType:t.dataType||"json",responseType:t.responseType||"text",success:function(e){if(-3==e.data.code&&a.default.state.siteState>0)return a.default.commit("setSiteState",-3),void r.default.redirectTo("/pages_tool/storeclose/storeclose",{},"reLaunch");e.data.refreshtoken&&a.default.commit("setToken",e.data.refreshtoken),-10009!=e.data.code&&-10010!=e.data.code||(a.default.commit("setToken",""),a.default.commit("setMemberInfo","")),c(e.data)},fail:function(t){t.errMsg&&"request:fail url not in domain list"==t.errMsg?e.showToast({title:i.default.baseUrl+"不在request 合法域名列表中",icon:"none",duration:1e4}):u(t)},complete:function(t){t.errMsg&&"request:ok"!=t.errMsg||t.statusCode&&-1==[200,500].indexOf(t.statusCode)?e.showToast({title:i.default.baseUrl+"请求失败",icon:"none",duration:1e4}):u(t.data)}})}));e.request({url:n,method:o,data:s,header:t.header||{"content-type":"application/x-www-form-urlencoded;application/json"},dataType:t.dataType||"json",responseType:t.responseType||"text",success:function(e){if(-3==e.data.code&&a.default.state.siteState>0)return a.default.commit("setSiteState",-3),void r.default.redirectTo("/pages_tool/storeclose/storeclose",{},"reLaunch");e.data.refreshtoken&&a.default.commit("setToken",e.data.refreshtoken),-10009!=e.data.code&&-10010!=e.data.code||(a.default.commit("setToken",""),a.default.commit("setMemberInfo","")),"function"==typeof t.success&&t.success(e.data)},fail:function(o){o.errMsg&&"request:fail url not in domain list"==o.errMsg?e.showToast({title:i.default.baseUrl+"不在request 合法域名列表中",icon:"none",duration:1e4}):"function"==typeof t.fail&&t.fail(o)},complete:function(o){o.errMsg&&"request:ok"!=o.errMsg||o.statusCode&&-1==[200,500].indexOf(o.statusCode)?e.showToast({title:i.default.baseUrl+"请求失败",icon:"none",duration:1e4}):"function"==typeof t.complete&&t.complete(o.data)}})}else e.showToast({title:"未配置请求域名",icon:"none",duration:1e4})},uploadBase64:function(t){e.request({url:i.default.baseUrl+"/api/upload/headimgBase64",method:"POST",header:{"content-type":"application/x-www-form-urlencoded;application/json"},data:{app_type:"weapp",app_type_name:"微信小程序",images:t.base64},dataType:"json",responseType:"text",success:function(e){"function"==typeof t.success&&t.success(e.data)},fail:function(){"function"==typeof t.fail&&t.fail(res)}})},pullImage:function(t){e.request({url:i.default.baseUrl+"/api/upload/headimgPull",method:"POST",header:{"content-type":"application/x-www-form-urlencoded;application/json"},data:{app_type:"weapp",app_type_name:"微信小程序",path:t.path},dataType:"json",responseType:"text",success:function(e){"function"==typeof t.success&&t.success(e.data)},fail:function(){"function"==typeof t.fail&&t.fail(res)}})},upload:function(t){e.uploadFile({url:i.default.baseUrl+t.url,filePath:t.filePath,name:t.name||"file",fileType:t.fileType||"image",formData:{app_type:"weapp",app_type_name:"微信小程序"},header:{"content-type":"application/x-www-form-urlencoded;application/json"},success:function(e){"function"==typeof t.success&&t.success(JSON.parse(e.data))},fail:function(e){"function"==typeof t.fail&&t.fail(e)}})}};t.default=s}).call(this,o("543d")["default"])},"770e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},"776c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单列表",emptyTips:"暂无相关订单",all:"全部",waitPay:"待付款",readyDelivery:"待发货",waitDelivery:"待收货",waitEvaluate:"待评价",waitUse:"待使用",update:"释放刷新",updateIng:"加载中..."}},7783:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},"77c0":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},"77dc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"优惠券领取"}},"79ac":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},"7ec2":function(e,t,o){var n=o("7037")["default"];function i(){"use strict";
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return o},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,o={},r=Object.prototype,a=r.hasOwnProperty,s=Object.defineProperty||function(e,t,o){e[t]=o.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function f(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,o){return e[t]=o}}function p(e,t,o,n){var i=t&&t.prototype instanceof y?t:y,r=Object.create(i.prototype),a=new A(n||[]);return s(r,"_invoke",{value:O(e,o,a)}),r}function h(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}o.wrap=p;var g="suspendedStart",m="executing",_="completed",v={};function y(){}function b(){}function w(){}var S={};f(S,u,(function(){return this}));var k=Object.getPrototypeOf,D=k&&k(k(T([])));D&&D!==r&&a.call(D,u)&&(S=D);var x=w.prototype=y.prototype=Object.create(S);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function o(i,r,s,c){var u=h(e[i],e,r);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==n(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,s,c)}),(function(e){o("throw",e,s,c)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return o("throw",e,s,c)}))}c(u.arg)}var i;s(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,i){o(e,n,t,i)}))}return i=i?i.then(r,r):r()}})}function O(e,o,n){var i=g;return function(r,a){if(i===m)throw new Error("Generator is already running");if(i===_){if("throw"===r)throw a;return{value:t,done:!0}}for(n.method=r,n.arg=a;;){var s=n.delegate;if(s){var c=$(s,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===g)throw i=_,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var u=h(e,o,n);if("normal"===u.type){if(i=n.done?_:"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=_,n.method="throw",n.arg=u.arg)}}}function $(e,o){var n=o.method,i=e.iterator[n];if(i===t)return o.delegate=null,"throw"===n&&e.iterator["return"]&&(o.method="return",o.arg=t,$(e,o),"throw"===o.method)||"return"!==n&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var r=h(i,e.iterator,o.arg);if("throw"===r.type)return o.method="throw",o.arg=r.arg,o.delegate=null,v;var a=r.arg;return a?a.done?(o[e.resultName]=a.value,o.next=e.nextLoc,"return"!==o.method&&(o.method="next",o.arg=t),o.delegate=null,v):a:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,v)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var o=e[u];if(o)return o.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function o(){for(;++i<e.length;)if(a.call(e,i))return o.value=e[i],o.done=!1,o;return o.value=t,o.done=!0,o};return r.next=r}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=w,s(x,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:b,configurable:!0}),b.displayName=f(w,d,"GeneratorFunction"),o.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},o.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,f(e,d,"GeneratorFunction")),e.prototype=Object.create(x),e},o.awrap=function(e){return{__await:e}},P(C.prototype),f(C.prototype,l,(function(){return this})),o.AsyncIterator=C,o.async=function(e,t,n,i,r){void 0===r&&(r=Promise);var a=new C(p(e,t,n,i),r);return o.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},P(x),f(x,d,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),o.keys=function(e){var t=Object(e),o=[];for(var n in t)o.push(n);return o.reverse(),function e(){for(;o.length;){var n=o.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},o.values=T,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var o in this)"t"===o.charAt(0)&&a.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var o=this;function n(n,i){return s.type="throw",s.arg=e,o.next=n,i&&(o.method="next",o.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=a.call(r,"catchLoc"),u=a.call(r,"finallyLoc");if(c&&u){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var r=i?i.completion:{};return r.type=e,r.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),M(o),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var n=o.completion;if("throw"===n.type){var i=n.arg;M(o)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,o,n){return this.delegate={iterator:T(e),resultName:o,nextLoc:n},"next"===this.method&&(this.arg=t),v}},o}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"7f60":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"搜索",history:"历史搜索",hot:"热门搜索",find:"搜索发现",hidefind:"当前搜索发现已隐藏",inputPlaceholder:"搜索商品"}},"801e":function(e){e.exports=JSON.parse('{"uni-datetime-picker.selectDate":"選擇日期","uni-datetime-picker.selectTime":"選擇時間","uni-datetime-picker.selectDateTime":"選擇日期時間","uni-datetime-picker.startDate":"開始日期","uni-datetime-picker.endDate":"結束日期","uni-datetime-picker.startTime":"開始时间","uni-datetime-picker.endTime":"結束时间","uni-datetime-picker.ok":"確定","uni-datetime-picker.clear":"清除","uni-datetime-picker.cancel":"取消","uni-calender.SUN":"日","uni-calender.MON":"一","uni-calender.TUE":"二","uni-calender.WED":"三","uni-calender.THU":"四","uni-calender.FRI":"五","uni-calender.SAT":"六"}')},8091:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"团购专区"}},8208:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"瓜分红包列表"}},"82be":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的关注"}},"82d0":function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("2eee")),r=n(o("7037")),a=n(o("c973")),s=n(o("491c")),c={data:function(){return{skuId:0,goodsId:0,goodsSkuDetail:{goods_id:0,goods_service:[]},preview:0,contactData:{title:"",path:"",img:""},shareQuery:"",shareUrl:"",source_member:0,chatRoomParams:{},isIphoneX:!1,whetherCollection:0,posterParams:{},shareImg:"",navbarData:{title:"",topNavColor:"#ffffff",topNavBg:!1,navBarSwitch:!0,textNavColor:"#333333",moreLink:{name:""},navStyle:1,bgUrl:"",textImgPosLink:"left"}}},onLoad:function(t){if(this.preview=t.preview||0,this.isIphoneX=this.$util.uniappIsIPhoneX(),t.source_member&&(e.setStorageSync("source_member",t.source_member),this.source_member=t.source_member),this.storeToken&&e.getStorageSync("source_member")&&this.$util.onSourceMember(e.getStorageSync("source_member")),t.scene){var o=decodeURIComponent(t.scene);o=o.split("&"),o.length&&o.forEach((function(t){-1!=t.indexOf("m")&&e.setStorageSync("source_member",t.split("-")[1]),-1!=t.indexOf("is_test")&&e.setStorageSync("is_test",1)}))}},onShow:function(){},methods:{handleGoodsSkuData:function(){this.navbarData.title=this.goodsSkuDetail.goods_name.length>9?this.goodsSkuDetail.goods_name.substr(0,9)+"...":this.goodsSkuDetail.goods_name,this.$langConfig.title(this.navbarData.title),this.goodsSkuDetail.config&&(this.navbarData.navBarSwitch=this.goodsSkuDetail.config.nav_bar_switch),this.whetherCollection=this.goodsSkuDetail.is_collect,this.modifyGoodsInfo(),this.$refs.goodsDetailView&&this.$refs.goodsDetailView.init({sku_id:this.skuId,goods_id:this.goodsSkuDetail.goods_id,preview:this.preview,source_member:this.source_member,posterParams:this.posterParams,posterApi:this.posterApi,shareUrl:this.shareUrl,goodsRoute:this.goodsRoute,isVirtual:this.goodsSkuDetail.is_virtual,deliveryType:this.goodsSkuDetail.express_type,whetherCollection:this.goodsSkuDetail.is_collect,evaluateConfig:this.goodsSkuDetail.evaluate_config,evaluateList:this.goodsSkuDetail.evaluate_list,evaluateCount:this.goodsSkuDetail.evaluate_count}),this.goodsSkuDetail.video_url&&(this.switchMedia="video"),Array.isArray(this.goodsSkuDetail.sku_images)||(this.goodsSkuDetail.sku_images?this.goodsSkuDetail.sku_images=this.goodsSkuDetail.sku_images.split(","):this.goodsSkuDetail.sku_images=[]),this.goodsSkuDetail.goods_spec_format&&this.goodsSkuDetail.goods_image&&(Array.isArray(this.goodsSkuDetail.goods_image)||(this.goodsSkuDetail.goods_image=this.goodsSkuDetail.goods_image.split(",")),this.goodsSkuDetail.sku_images=this.goodsSkuDetail.goods_image.concat(this.goodsSkuDetail.sku_images));var t="",o=e.getSystemInfoSync();if(this.goodsSkuDetail.goods_image_list.forEach((function(e,n){"string"==typeof e.pic_spec&&(e.pic_spec=e.pic_spec.split("*"));var i=e.pic_spec[0]/o.windowWidth;e.pic_spec[0]=e.pic_spec[0]/i,e.pic_spec[1]=e.pic_spec[1]/i,(!t||t>e.pic_spec[1])&&(t=e.pic_spec[1])})),this.goodsSkuDetail.swiperHeight=t+"px",this.goodsSkuDetail.unit=this.goodsSkuDetail.unit||"件",this.goodsSkuDetail.sku_spec_format&&(this.goodsSkuDetail.sku_spec_format=JSON.parse(this.goodsSkuDetail.sku_spec_format)),this.goodsSkuDetail.goods_attr_format){var n=JSON.parse(this.goodsSkuDetail.goods_attr_format);this.goodsSkuDetail.goods_attr_format=this.$util.unique(n,"attr_id");for(var i=0;i<this.goodsSkuDetail.goods_attr_format.length;i++)for(var r=0;r<n.length;r++)this.goodsSkuDetail.goods_attr_format[i].attr_id==n[r].attr_id&&this.goodsSkuDetail.goods_attr_format[i].attr_value_id!=n[r].attr_value_id&&(this.goodsSkuDetail.goods_attr_format[i].attr_value_name+="、"+n[r].attr_value_name)}if(this.goodsSkuDetail.goods_spec_format&&(this.goodsSkuDetail.goods_spec_format=JSON.parse(this.goodsSkuDetail.goods_spec_format)),this.goodsSkuDetail.goods_content&&(this.goodsSkuDetail.goods_content=(0,s.default)(this.goodsSkuDetail.goods_content)),this.goodsSkuDetail.goods_service)for(var a in this.goodsSkuDetail.goods_service)this.goodsSkuDetail.goods_service[a]["icon"]=this.goodsSkuDetail.goods_service[a]["icon"]?JSON.parse(this.goodsSkuDetail.goods_service[a]["icon"]):"";this.contactData={title:this.goodsSkuDetail.sku_name,path:this.shareUrl,img:this.$util.img(this.goodsSkuDetail.sku_image,{size:"big"})},this.$refs.goodsPromotion&&this.$refs.goodsPromotion.refresh(this.goodsSkuDetail.goods_promotion),"/pages/goods/detail"!=this.goodsRoute&&this.setPublicShare(),this.getBarrageData(),this.addonIsExist.form&&this.getGoodsForm()},refreshGoodsSkuDetail:function(e){var t=this;this.goodsSkuDetail=Object.assign({},this.goodsSkuDetail,e),this.$refs.goodsPromotion&&this.$refs.goodsPromotion.refresh(this.goodsSkuDetail.goods_promotion),this.$refs.goodsDetailView&&(this.goodsSkuDetail.unit=this.goodsSkuDetail.unit||"件",this.swiperCurrent>this.goodsSkuDetail.sku_images.length&&(this.swiperAutoplay=!0,this.swiperCurrent=1,setTimeout((function(){t.swiperAutoplay=!1}),40))),this.navbarData.title=this.goodsSkuDetail.goods_name.length>9?this.goodsSkuDetail.goods_name.substr(0,9)+"...":this.goodsSkuDetail.goods_name,this.$langConfig.title(this.navbarData.title),this.goodsSkuDetail.membercard&&(this.membercard=this.goodsSkuDetail.membercard)},goodsDetailViewInit:function(){this.$refs.goodsDetailView&&this.$refs.goodsDetailView.init({sku_id:this.skuId,goods_id:this.goodsSkuDetail.goods_id,preview:this.preview,source_member:this.source_member,posterParams:this.posterParams,posterApi:this.posterApi,shareUrl:this.shareUrl,goodsRoute:this.goodsRoute,isVirtual:this.goodsSkuDetail.is_virtual,deliveryType:this.goodsSkuDetail.express_type,whetherCollection:this.goodsSkuDetail.is_collect,evaluateConfig:this.goodsSkuDetail.evaluate_config,evaluateList:this.goodsSkuDetail.evaluate_list,evaluateCount:this.goodsSkuDetail.evaluate_count})},goHome:function(){this.preview||this.$util.redirectTo("/pages/index/index")},goCart:function(){this.preview||this.$util.redirectTo("/pages/goods/cart")},modifyGoodsInfo:function(){this.preview||(this.$api.sendRequest({url:"/api/goods/modifyclicks",data:{sku_id:this.skuId},success:function(e){}}),this.$api.sendRequest({url:"/api/goodsbrowse/add",data:{goods_id:this.goodsSkuDetail.goods_id,sku_id:this.skuId},success:function(e){}}))},editCollection:function(){var e=this;return(0,a.default)(i.default.mark((function t(){return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.$refs.goodsDetailView){t.next=4;break}return t.next=3,e.$refs.goodsDetailView.collection();case 3:e.whetherCollection=t.sent;case 4:case"end":return t.stop()}}),t)})))()},openSharePopup:function(){this.$refs.goodsDetailView&&this.$refs.goodsDetailView.openSharePopup()},getBarrageData:function(){var e=this;this.$api.sendRequest({url:"/api/goods/goodsbarrage",data:{goods_id:this.goodsSkuDetail.goods_id},success:function(t){if(0==t.code&&t.data){var o=[];for(var n in t.data.list)if(t.data.list[n]["title"]){var i=t.data.list[n]["title"].substr(0,1)+"*"+t.data.list[n]["title"].substr(t.data.list[n]["title"].length-1,1);o.push({img:t.data.list[n]["img"]?t.data.list[n]["img"]:e.$util.getDefaultImage().head,title:i+"已下单"})}e.goodsSkuDetail.barrageData=o}}})},setPublicShare:function(){var e=this.$config.h5Domain+this.shareUrl;this.memberInfo&&this.memberInfo.member_id&&(e+="&source_member="+this.memberInfo.member_id),this.$util.setPublicShare({title:this.goodsSkuDetail.goods_name,desc:"",link:e,imgUrl:"object"==(0,r.default)(this.goodsSkuDetail.goods_image)?this.goodsSkuDetail.goods_image[0]:this.goodsSkuDetail.goods_image.split(",")[0]})},getGoodsForm:function(){var e=this;this.$api.sendRequest({url:"/form/api/form/goodsform",data:{goods_id:this.goodsSkuDetail.goods_id},success:function(t){0==t.code&&t.data&&e.$set(e.goodsSkuDetail,"goods_form",t.data)}})}},onShareAppMessage:function(e){var t=this.shareUrl;return this.memberInfo&&this.memberInfo.member_id&&(t+="&source_member="+this.memberInfo.member_id),{title:this.goodsSkuDetail.sku_name,imageUrl:this.shareImg?this.$util.img(this.shareImg):this.$util.img(this.goodsSkuDetail.sku_image,{size:"big"}),path:t,success:function(e){},fail:function(e){}}},onShareTimeline:function(){var e=this.shareQuery;return this.memberInfo&&this.memberInfo.member_id&&(e+="&source_member="+this.memberInfo.member_id),{title:this.goodsSkuDetail.sku_name,query:e,imageUrl:this.$util.img(this.goodsSkuDetail.sku_image,{size:"big"})}}};t.default=c}).call(this,o("543d")["default"])},"856e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我要评价"}},"87db":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},"89b4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},"8ebf":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"兑换"}},"901b":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分兑换订单详情"}},"906c":function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=n(o("7037"));function r(e,t){var o=this;o.version="1.2.3",o.options=e||{},o.isScrollBody=t||!1,o.isDownScrolling=!1,o.isUpScrolling=!1;var n=o.options.down&&o.options.down.callback;o.initDownScroll(),o.initUpScroll(),setTimeout((function(){o.optDown.use&&o.optDown.auto&&n&&(o.optDown.autoShowLoading?o.triggerDownScroll():o.optDown.callback&&o.optDown.callback(o)),setTimeout((function(){o.optUp.use&&o.optUp.auto&&!o.isUpAutoLoad&&o.triggerUpScroll()}),100)}),30)}r.prototype.extendDownScroll=function(e){r.extend(e,{use:!0,auto:!0,native:!1,autoShowLoading:!1,isLock:!1,offset:80,startTop:100,fps:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",inited:null,inOffset:null,outOffset:null,onMoving:null,beforeLoading:null,showLoading:null,afterLoading:null,endDownScroll:null,callback:function(e){e.resetUpScroll()}})},r.prototype.extendUpScroll=function(e){r.extend(e,{use:!0,auto:!0,isLock:!1,isBoth:!0,isBounce:!1,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:80,textLoading:"加载中 ...",textNoMore:"-- END --",inited:null,showLoading:null,showNoMore:null,hideUpScroll:null,errDistance:60,toTop:{src:null,offset:1e3,duration:300,btnClick:null,onShow:null,zIndex:9990,left:null,right:20,bottom:120,safearea:!1,width:72,radius:"50%"},empty:{use:!0,icon:null,tip:"~ 暂无相关数据 ~",btnText:"",btnClick:null,onShow:null,fixed:!1,top:"100rpx",zIndex:99},onScroll:!1})},r.extend=function(e,t){if(!e)return t;for(var o in t)if(null==e[o]){var n=t[o];null!=n&&"object"===(0,i.default)(n)?e[o]=r.extend({},n):e[o]=n}else"object"===(0,i.default)(e[o])&&r.extend(e[o],t[o]);return e},r.prototype.initDownScroll=function(){var e=this;e.optDown=e.options.down||{},e.extendDownScroll(e.optDown),e.isScrollBody&&e.optDown.native?e.optDown.use=!1:e.optDown.native=!1,e.downHight=0,e.optDown.use&&e.optDown.inited&&setTimeout((function(){e.optDown.inited(e)}),0)},r.prototype.touchstartEvent=function(e){this.optDown.use&&(this.startPoint=this.getPoint(e),this.startTop=this.getScrollTop(),this.lastPoint=this.startPoint,this.maxTouchmoveY=this.getBodyHeight()-this.optDown.bottomOffset,this.inTouchend=!1)},r.prototype.touchmoveEvent=function(e){if(this.optDown.use&&this.startPoint){var t=this,o=(new Date).getTime();if(!(t.moveTime&&o-t.moveTime<t.moveTimeDiff)){t.moveTime=o,t.moveTimeDiff||(t.moveTimeDiff=1e3/t.optDown.fps);var n=t.getScrollTop(),i=t.getPoint(e),r=i.y-t.startPoint.y;if(r>0&&(t.isScrollBody&&n<=0||!t.isScrollBody&&(n<=0||n<=t.optDown.startTop&&n===t.startTop))&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth)){var a=t.getAngle(t.lastPoint,i);if(a<t.optDown.minAngle)return;if(t.maxTouchmoveY>0&&i.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();t.preventDefault(e);var s=i.y-t.lastPoint.y;t.downHight<t.optDown.offset?(1!==t.movetype&&(t.movetype=1,t.optDown.inOffset&&t.optDown.inOffset(t),t.isMoveDown=!0),t.downHight+=s*t.optDown.inOffsetRate):(2!==t.movetype&&(t.movetype=2,t.optDown.outOffset&&t.optDown.outOffset(t),t.isMoveDown=!0),t.downHight+=s>0?Math.round(s*t.optDown.outOffsetRate):s);var c=t.downHight/t.optDown.offset;t.optDown.onMoving&&t.optDown.onMoving(t,c,t.downHight)}t.lastPoint=i}}},r.prototype.touchendEvent=function(e){if(this.optDown.use)if(this.isMoveDown)this.downHight>=this.optDown.offset?this.triggerDownScroll():(this.downHight=0,this.optDown.endDownScroll&&this.optDown.endDownScroll(this)),this.movetype=0,this.isMoveDown=!1;else if(!this.isScrollBody&&this.getScrollTop()===this.startTop){var t=this.getPoint(e).y-this.startPoint.y<0;if(t){var o=this.getAngle(this.getPoint(e),this.startPoint);o>80&&this.triggerUpScroll(!0)}}},r.prototype.getPoint=function(e){return e?e.touches&&e.touches[0]?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches[0]?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.clientX,y:e.clientY}:{x:0,y:0}},r.prototype.getAngle=function(e,t){var o=Math.abs(e.x-t.x),n=Math.abs(e.y-t.y),i=Math.sqrt(o*o+n*n),r=0;return 0!==i&&(r=Math.asin(n/i)/Math.PI*180),r},r.prototype.triggerDownScroll=function(){this.optDown.beforeLoading&&this.optDown.beforeLoading(this)||(this.showDownScroll(),this.optDown.callback&&this.optDown.callback(this))},r.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.native?(e.startPullDownRefresh(),this.optDown.showLoading&&this.optDown.showLoading(this,0)):(this.downHight=this.optDown.offset,this.optDown.showLoading&&this.optDown.showLoading(this,this.downHight))},r.prototype.onPullDownRefresh=function(){this.isDownScrolling=!0,this.optDown.showLoading&&this.optDown.showLoading(this,0),this.optDown.callback&&this.optDown.callback(this)},r.prototype.endDownScroll=function(){if(this.optDown.native)return this.isDownScrolling=!1,this.optDown.endDownScroll&&this.optDown.endDownScroll(this),void e.stopPullDownRefresh();var t=this,o=function(){t.downHight=0,t.isDownScrolling=!1,t.optDown.endDownScroll&&t.optDown.endDownScroll(t),!t.isScrollBody&&t.setScrollHeight(0)},n=0;t.optDown.afterLoading&&(n=t.optDown.afterLoading(t)),"number"===typeof n&&n>0?setTimeout(o,n):o()},r.prototype.lockDownScroll=function(e){null==e&&(e=!0),this.optDown.isLock=e},r.prototype.lockUpScroll=function(e){null==e&&(e=!0),this.optUp.isLock=e},r.prototype.initUpScroll=function(){var e=this;e.optUp=e.options.up||{use:!1},e.extendUpScroll(e.optUp),e.optUp.isBounce||e.setBounce(!1),!1!==e.optUp.use&&(e.optUp.hasNext=!0,e.startNum=e.optUp.page.num+1,e.optUp.inited&&setTimeout((function(){e.optUp.inited(e)}),0))},r.prototype.onReachBottom=function(){this.isScrollBody&&!this.isUpScrolling&&!this.optUp.isLock&&this.optUp.hasNext&&this.triggerUpScroll()},r.prototype.onPageScroll=function(e){this.isScrollBody&&(this.setScrollTop(e.scrollTop),e.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn())},r.prototype.scroll=function(e,t){this.setScrollTop(e.scrollTop),this.setScrollHeight(e.scrollHeight),null==this.preScrollY&&(this.preScrollY=0),this.isScrollUp=e.scrollTop-this.preScrollY>0,this.preScrollY=e.scrollTop,this.isScrollUp&&this.triggerUpScroll(!0),e.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn(),this.optUp.onScroll&&t&&t()},r.prototype.triggerUpScroll=function(e){if(!this.isUpScrolling&&this.optUp.use&&this.optUp.callback){if(!0===e){var t=!1;if(!this.optUp.hasNext||this.optUp.isLock||this.isDownScrolling||this.getScrollBottom()<=this.optUp.offset&&(t=!0),!1===t)return}this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.num=this.optUp.page.num,this.size=this.optUp.page.size,this.time=this.optUp.page.time,this.optUp.callback(this)}},r.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.optUp.showLoading&&this.optUp.showLoading(this)},r.prototype.showNoMore=function(){this.optUp.hasNext=!1,this.optUp.showNoMore&&this.optUp.showNoMore(this)},r.prototype.hideUpScroll=function(){this.optUp.hideUpScroll&&this.optUp.hideUpScroll(this)},r.prototype.endUpScroll=function(e){null!=e&&(e?this.showNoMore():this.hideUpScroll()),this.isUpScrolling=!1},r.prototype.resetUpScroll=function(e){if(this.optUp&&this.optUp.use){var t=this.optUp.page;this.prePageNum=t.num,this.prePageTime=t.time,t.num=this.startNum,t.time=null,this.isDownScrolling||!1===e||(null==e?(this.removeEmpty(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.num=t.num,this.size=t.size,this.time=t.time,this.optUp.callback&&this.optUp.callback(this)}},r.prototype.setPageNum=function(e){this.optUp.page.num=e-1},r.prototype.setPageSize=function(e){this.optUp.page.size=e},r.prototype.endByPage=function(e,t,o){var n;this.optUp.use&&null!=t&&(n=this.optUp.page.num<t),this.endSuccess(e,n,o)},r.prototype.endBySize=function(e,t,o){var n;if(this.optUp.use&&null!=t){var i=(this.optUp.page.num-1)*this.optUp.page.size+e;n=i<t}this.endSuccess(e,n,o)},r.prototype.endSuccess=function(e,t,o){var n=this;if(n.isDownScrolling&&n.endDownScroll(),n.optUp.use){var i;if(null!=e){var r=n.optUp.page.num,a=n.optUp.page.size;if(1===r&&o&&(n.optUp.page.time=o),e<a||!1===t)if(n.optUp.hasNext=!1,0===e&&1===r)i=!1,n.showEmpty();else{var s=(r-1)*a+e;i=!(s<n.optUp.noMoreSize),n.removeEmpty()}else i=!1,n.optUp.hasNext=!0,n.removeEmpty()}n.endUpScroll(i)}},r.prototype.endErr=function(e){if(this.isDownScrolling){var t=this.optUp.page;t&&this.prePageNum&&(t.num=this.prePageNum,t.time=this.prePageTime),this.endDownScroll()}this.isUpScrolling&&(this.optUp.page.num--,this.endUpScroll(!1),this.isScrollBody&&0!==e&&(e||(e=this.optUp.errDistance),this.scrollTo(this.getScrollTop()-e,0)))},r.prototype.showEmpty=function(){this.optUp.empty.use&&this.optUp.empty.onShow&&this.optUp.empty.onShow(!0)},r.prototype.removeEmpty=function(){this.optUp.empty.use&&this.optUp.empty.onShow&&this.optUp.empty.onShow(!1)},r.prototype.showTopBtn=function(){this.topBtnShow||(this.topBtnShow=!0,this.optUp.toTop.onShow&&this.optUp.toTop.onShow(!0))},r.prototype.hideTopBtn=function(){this.topBtnShow&&(this.topBtnShow=!1,this.optUp.toTop.onShow&&this.optUp.toTop.onShow(!1))},r.prototype.getScrollTop=function(){return this.scrollTop||0},r.prototype.setScrollTop=function(e){this.scrollTop=e},r.prototype.scrollTo=function(e,t){this.myScrollTo&&this.myScrollTo(e,t)},r.prototype.resetScrollTo=function(e){this.myScrollTo=e},r.prototype.getScrollBottom=function(){return this.getScrollHeight()-this.getClientHeight()-this.getScrollTop()},r.prototype.getStep=function(e,t,o,n,i){var r=t-e;if(0!==n&&0!==r){n=n||300,i=i||30;var a=n/i,s=r/a,c=0,u=setInterval((function(){c<a-1?(e+=s,o&&o(e,u),c++):(o&&o(t,u),clearInterval(u))}),i)}else o&&o(t)},r.prototype.getClientHeight=function(e){var t=this.clientHeight||0;return 0===t&&!0!==e&&(t=this.getBodyHeight()),t},r.prototype.setClientHeight=function(e){this.clientHeight=e},r.prototype.getScrollHeight=function(){return this.scrollHeight||0},r.prototype.setScrollHeight=function(e){this.scrollHeight=e},r.prototype.getBodyHeight=function(){return this.bodyHeight||0},r.prototype.setBodyHeight=function(e){this.bodyHeight=e},r.prototype.preventDefault=function(e){e&&e.cancelable&&!e.defaultPrevented&&e.preventDefault()},r.prototype.setBounce=function(e){}}).call(this,o("543d")["default"])},9383:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"登录",mobileLogin:"手机号登录",accountLogin:"账号登录",autoLogin:"一键授权登录",login:"登录",mobilePlaceholder:"手机号登录仅限中国大陆用户",dynacodePlaceholder:"请输入动态码",captchaPlaceholder:"请输入验证码",accountPlaceholder:"请输入账号",passwordPlaceholder:"请输入密码",rePasswordPlaceholder:"请确认密码",forgetPassword:"忘记密码",register:"注册",registerTips:"没有账号的用户快来",registerTips1:"注册",registerTips2:"吧",newUserRegister:"新用户注册"}},9523:function(e,t,o){var n=o("a395");e.exports=function(e,t,o){return t=n(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},9590:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的关注"}},9633:function(e,t,o){(function(e,n){var i,r=o("9523"),a=o("7037");!function(e,r){"object"==a(t)&&"object"==a(n)?n.exports=r(e):(i=function(){return r(e)}.call(t,o,t,n),void 0===i||(n.exports=i))}(window,(function(t,o){function n(e,o,n){t.WeixinJSBridge?WeixinJSBridge.invoke(e,a(o),(function(t){c(e,t,n)})):l(e,n)}function i(e,o,n){t.WeixinJSBridge?WeixinJSBridge.on(e,(function(t){n&&n.trigger&&n.trigger(t),c(e,t,o)})):l(e,n||o)}function a(e){return(e=e||{}).appId=O.appId,e.verifyAppId=O.appId,e.verifySignType="sha1",e.verifyTimestamp=O.timestamp+"",e.verifyNonceStr=O.nonceStr,e.verifySignature=O.signature,e}function s(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function c(e,t,o){"openEnterpriseChat"==e&&(t.errCode=t.err_code),delete t.err_code,delete t.err_desc,delete t.err_detail;var n=t.errMsg;n||(n=t.err_msg,delete t.err_msg,n=function(e,t){var o=e,n=g[o];n&&(o=n);var i="ok";if(t){var r=t.indexOf(":");"confirm"==(i=t.substring(r+1))&&(i="ok"),"failed"==i&&(i="fail"),-1!=i.indexOf("failed_")&&(i=i.substring(7)),-1!=i.indexOf("fail_")&&(i=i.substring(5)),"access denied"!=(i=(i=i.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=i||(i="permission denied"),"config"==o&&"function not exist"==i&&(i="ok"),""==i&&(i="fail")}return o+":"+i}(e,n),t.errMsg=n),(o=o||{})._complete&&(o._complete(t),delete o._complete),n=t.errMsg||"",O.debug&&!o.isInnerInvoke&&alert(JSON.stringify(t));var i=n.indexOf(":");switch(n.substring(i+1)){case"ok":o.success&&o.success(t);break;case"cancel":o.cancel&&o.cancel(t);break;default:o.fail&&o.fail(t)}o.complete&&o.complete(t)}function u(e){if(e){for(var t=0,o=e.length;t<o;++t){var n=e[t],i=h[n];i&&(e[t]=i)}return e}}function l(e,t){if(!(!O.debug||t&&t.isInnerInvoke)){var o=g[e];o&&(e=o),t&&t._complete&&delete t._complete,console.log('"'+e+'",',t||"")}}function d(){return(new Date).getTime()}function f(e){S&&(t.WeixinJSBridge?e():m.addEventListener&&m.addEventListener("WeixinJSBridgeReady",e,!1))}if(!t.jWeixin){var p,h={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},g=function(){var e={};for(var t in h)e[h[t]]=t;return e}(),m=t.document,_=m.title,v=navigator.userAgent.toLowerCase(),y=navigator.platform.toLowerCase(),b=!(!y.match("mac")&&!y.match("win")),w=-1!=v.indexOf("wxdebugger"),S=-1!=v.indexOf("micromessenger"),k=-1!=v.indexOf("android"),D=-1!=v.indexOf("iphone")||-1!=v.indexOf("ipad"),x=(E=v.match(/micromessenger\/(\d+\.\d+\.\d+)/)||v.match(/micromessenger\/(\d+\.\d+)/))?E[1]:"",P={initStartTime:d(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},C={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:D?1:k?2:-1,clientVersion:x,url:encodeURIComponent(location.href)},O={},$={_completes:[]},j={state:0,data:{}};f((function(){P.initEndTime=d()}));var M=!1,A=[],T=(p={config:function(e){l("config",O=e);var o=!1!==O.check;f((function(){if(o)n(h.config,{verifyJsApiList:u(O.jsApiList)},function(){$._complete=function(e){P.preVerifyEndTime=d(),j.state=1,j.data=e},$.success=function(e){C.isPreVerifyOk=0},$.fail=function(e){$._fail?$._fail(e):j.state=-1};var e=$._completes;return e.push((function(){!function(e){if(!(b||w||O.debug||x<"6.0.2"||C.systemType<0)){var t=new Image;C.appId=O.appId,C.initTime=P.initEndTime-P.initStartTime,C.preVerifyTime=P.preVerifyEndTime-P.preVerifyStartTime,T.getNetworkType({isInnerInvoke:!0,success:function(e){C.networkType=e.networkType;var o="https://open.weixin.qq.com/sdk/report?v="+C.version+"&o="+C.isPreVerifyOk+"&s="+C.systemType+"&c="+C.clientVersion+"&a="+C.appId+"&n="+C.networkType+"&i="+C.initTime+"&p="+C.preVerifyTime+"&u="+C.url;t.src=o}})}}()})),$.complete=function(t){for(var o=0,n=e.length;o<n;++o)e[o]();$._completes=[]},$}()),P.preVerifyStartTime=d();else{j.state=1;for(var e=$._completes,t=0,i=e.length;t<i;++t)e[t]();$._completes=[]}})),T.invoke||(T.invoke=function(e,o,n){t.WeixinJSBridge&&WeixinJSBridge.invoke(e,a(o),n)},T.on=function(e,o){t.WeixinJSBridge&&WeixinJSBridge.on(e,o)})},ready:function(e){0!=j.state?e():($._completes.push(e),!S&&O.debug&&e())},error:function(e){x<"6.0.2"||(-1==j.state?e(j.data):$._fail=e)},checkJsApi:function(e){n("checkJsApi",{jsApiList:u(e.jsApiList)},(e._complete=function(e){if(k){var t=e.checkResult;t&&(e.checkResult=JSON.parse(t))}e=function(e){var t=e.checkResult;for(var o in t){var n=g[o];n&&(t[n]=t[o],delete t[o])}return e}(e)},e))},onMenuShareTimeline:function(e){i(h.onMenuShareTimeline,{complete:function(){n("shareTimeline",{title:e.title||_,desc:e.title||_,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){i(h.onMenuShareAppMessage,{complete:function(t){"favorite"===t.scene?n("sendAppMessage",{title:e.title||_,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""}):n("sendAppMessage",{title:e.title||_,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){i(h.onMenuShareQQ,{complete:function(){n("shareQQ",{title:e.title||_,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){i(h.onMenuShareWeibo,{complete:function(){n("shareWeiboApp",{title:e.title||_,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){i(h.onMenuShareQZone,{complete:function(){n("shareQZone",{title:e.title||_,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},updateTimelineShareData:function(e){n("updateTimelineShareData",{title:e.title,link:e.link,imgUrl:e.imgUrl},e)},updateAppMessageShareData:function(e){n("updateAppMessageShareData",{title:e.title,desc:e.desc,link:e.link,imgUrl:e.imgUrl},e)},startRecord:function(e){n("startRecord",{},e)},stopRecord:function(e){n("stopRecord",{},e)},onVoiceRecordEnd:function(e){i("onVoiceRecordEnd",e)},playVoice:function(e){n("playVoice",{localId:e.localId},e)},pauseVoice:function(e){n("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){n("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){i("onVoicePlayEnd",e)},uploadVoice:function(e){n("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){n("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){n("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){n("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(k){var t=e.localIds;try{t&&(e.localIds=JSON.parse(t))}catch(e){}}},e))},getLocation:function(e){},previewImage:function(e){n(h.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){n("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){n("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(t){!1===M?(M=!0,n("getLocalImgData",{localId:t.localId},(t._complete=function(t){if(M=!1,0<A.length){var o=A.shift();e.getLocalImgData(o)}},t))):A.push(t)},getNetworkType:function(e){n("getNetworkType",{},(e._complete=function(e){e=function(e){var t=e.errMsg;e.errMsg="getNetworkType:ok";var o=e.subtype;if(delete e.subtype,o)e.networkType=o;else{var n=t.indexOf(":"),i=t.substring(n+1);switch(i){case"wifi":case"edge":case"wwan":e.networkType=i;break;default:e.errMsg="getNetworkType:fail"}}return e}(e)},e))},openLocation:function(e){n("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)}},r(p,"getLocation",(function(e){n(h.getLocation,{type:(e=e||{}).type||"wgs84"},(e._complete=function(e){delete e.type},e))})),r(p,"hideOptionMenu",(function(e){n("hideOptionMenu",{},e)})),r(p,"showOptionMenu",(function(e){n("showOptionMenu",{},e)})),r(p,"closeWindow",(function(e){n("closeWindow",{},e=e||{})})),r(p,"hideMenuItems",(function(e){n("hideMenuItems",{menuList:e.menuList},e)})),r(p,"showMenuItems",(function(e){n("showMenuItems",{menuList:e.menuList},e)})),r(p,"hideAllNonBaseMenuItem",(function(e){n("hideAllNonBaseMenuItem",{},e)})),r(p,"showAllNonBaseMenuItem",(function(e){n("showAllNonBaseMenuItem",{},e)})),r(p,"scanQRCode",(function(e){n("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(D){var t=e.resultStr;if(t){var o=JSON.parse(t);e.resultStr=o&&o.scan_code&&o.scan_code.scan_result}}},e))})),r(p,"openAddress",(function(e){n(h.openAddress,{},(e._complete=function(e){var t;(t=e).postalCode=t.addressPostalCode,delete t.addressPostalCode,t.provinceName=t.proviceFirstStageName,delete t.proviceFirstStageName,t.cityName=t.addressCitySecondStageName,delete t.addressCitySecondStageName,t.countryName=t.addressCountiesThirdStageName,delete t.addressCountiesThirdStageName,t.detailInfo=t.addressDetailInfo,delete t.addressDetailInfo,e=t},e))})),r(p,"openProductSpecificView",(function(e){n(h.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)})),r(p,"addCard",(function(e){for(var t=e.cardList,o=[],i=0,r=t.length;i<r;++i){var a=t[i],s={card_id:a.cardId,card_ext:a.cardExt};o.push(s)}n(h.addCard,{card_list:o},(e._complete=function(e){var t=e.card_list;if(t){for(var o=0,n=(t=JSON.parse(t)).length;o<n;++o){var i=t[o];i.cardId=i.card_id,i.cardExt=i.card_ext,i.isSuccess=!!i.is_succ,delete i.card_id,delete i.card_ext,delete i.is_succ}e.cardList=t,delete e.card_list}},e))})),r(p,"chooseCard",(function(e){n("chooseCard",{app_id:O.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))})),r(p,"openCard",(function(e){for(var t=e.cardList,o=[],i=0,r=t.length;i<r;++i){var a=t[i],s={card_id:a.cardId,code:a.code};o.push(s)}n(h.openCard,{card_list:o},e)})),r(p,"consumeAndShareCard",(function(e){n(h.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)})),r(p,"chooseWXPay",(function(e){n(h.chooseWXPay,s(e),e)})),r(p,"openEnterpriseRedPacket",(function(e){n(h.openEnterpriseRedPacket,s(e),e)})),r(p,"startSearchBeacons",(function(e){n(h.startSearchBeacons,{ticket:e.ticket},e)})),r(p,"stopSearchBeacons",(function(e){n(h.stopSearchBeacons,{},e)})),r(p,"onSearchBeacons",(function(e){i(h.onSearchBeacons,e)})),r(p,"openEnterpriseChat",(function(e){n("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)})),r(p,"launchMiniProgram",(function(e){n("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){if("string"==typeof e&&0<e.length){var t=e.split("?")[0],o=e.split("?")[1];return t+=".html",void 0!==o?t+"?"+o:t}}(e.path),envVersion:e.envVersion},e)})),r(p,"miniProgram",{navigateBack:function(e){e=e||{},f((function(){n("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)}))},navigateTo:function(e){f((function(){n("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)}))},redirectTo:function(e){f((function(){n("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)}))},switchTab:function(e){f((function(){n("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)}))},reLaunch:function(e){f((function(){n("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)}))},postMessage:function(e){f((function(){n("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)}))},getEnv:function(e){f((function(){e({miniprogram:"miniprogram"===t.__wxjs_environment})}))}}),p),I=1,F={};return m.addEventListener("error",(function(t){if(!k){var o=t.target,n=o.tagName,i=o.src;if(("IMG"==n||"VIDEO"==n||"AUDIO"==n||"SOURCE"==n)&&-1!=i.indexOf("wxlocalresource://")){t.preventDefault(),t.stopPropagation();var r=o["wx-id"];if(r||(r=I++,o["wx-id"]=r),F[r])return;F[r]=!0,e.ready((function(){e.getLocalImgData({localId:i,success:function(e){o.src=e.localData}})}))}}}),!0),m.addEventListener("load",(function(e){if(!k){var t=e.target,o=t.tagName;if(t.src,"IMG"==o||"VIDEO"==o||"AUDIO"==o||"SOURCE"==o){var n=t["wx-id"];n&&(F[n]=!1)}}}),!0),o&&(t.wx=t.jWeixin=T),T}var E}))}).call(this,o("bc2e")["default"],o("62e4")(e))},"96c8":function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("7037")),r={data:function(){return{themeColor:""}},onLoad:function(){},onShow:function(){var e=this;this.$langConfig.refresh();var t=setInterval((function(){var o=e.themeStyle;o&&o.main_color&&(e.themeColorSet(),clearInterval(t))}),50)},computed:{themeStyle:function(){return this.$store.state.themeStyle},addonIsExist:function(){return this.$store.state.addonIsExist},tabBarList:function(){return this.$store.state.tabBarList},siteInfo:function(){return this.$store.state.siteInfo},memberInfo:function(){return this.$store.state.memberInfo},storeToken:function(){return this.$store.state.token},bottomNavHidden:function(){return this.$store.state.bottomNavHidden},globalStoreConfig:function(){return this.$store.state.globalStoreConfig},globalStoreInfo:function(){return this.$store.state.globalStoreInfo},location:function(){return this.$store.state.location},locationStorage:function(){var t=e.getStorageSync("location");if(t){var o=new Date;this.mapConfig.wap_valid_time>0?t.is_expired=o.getTime()/1e3>t.valid_time:t.is_expired=!1}return t},defaultStoreInfo:function(){return this.$store.state.defaultStoreInfo},componentRefresh:function(){return this.$store.state.componentRefresh},servicerConfig:function(){return this.$store.state.servicerConfig},diySeckillInterval:function(){return this.$store.state.diySeckillInterval},tabBarHeight:function(){return this.$store.state.tabBarHeight},mapConfig:function(){return this.$store.state.mapConfig},initStatus:function(){return this.$store.state.initStatus},copyright:function(){var e=this.$store.state.copyright;return e&&!e.auth&&(e.logo="public/uniapp/common/logo_copy.png",e.copyright_link="http://www.niushop.com"),e},cartList:function(){return this.$store.state.cartList},cartIds:function(){return this.$store.state.cartIds},cartNumber:function(){return this.$store.state.cartNumber},cartMoney:function(){return this.$store.state.cartMoney}},methods:{themeColorSet:function(){var e=this,t=this.themeStyle;this.themeColor="--base-color:".concat(t.main_color,";--base-help-color:").concat(t.aux_color,";"),"56px"!=this.tabBarHeight&&(this.themeColor+="--tab-bar-height:".concat(this.tabBarHeight,";")),Object.keys(t).forEach((function(o){var n=t[o];"object"==(0,i.default)(n)?Object.keys(n).forEach((function(t){e.themeColor+="--"+t.replace(/_/g,"-")+":"+n[t]+";"})):"string"==typeof o&&o&&(e.themeColor+="--"+o.replace(/_/g,"-")+":"+n+";")}));for(var o=9;o>=5;o--){var n=this.$util.colourBlend(t.main_color,"#ffffff",o/10);this.themeColor+="--base-color-light-".concat(o,":").concat(n,";")}},lightenDarkenColor:function(e,t){var o=!1;"#"==e[0]&&(e=e.slice(1),o=!0);var n=parseInt(e,16),i=(n>>16)+t;i>255?i=255:i<0&&(i=0);var r=(n>>8&255)+t;r>255?r=255:r<0&&(r=0);var a=(255&n)+t;return a>255?a=255:a<0&&(a=0),(o?"#":"")+(a|r<<8|i<<16).toString(16)},changeStore:function(t,o){t&&this.$store.commit("setGlobalStoreInfo",t);var n=this.$util.getCurrRoute();o&&"pages/index/index"!=n&&(e.setStorageSync("manual_change_store",!0),this.$store.dispatch("getCartNumber"),this.$util.redirectTo("/pages/index/index"))}},filters:{moneyFormat:function(e){return isNaN(parseFloat(e))?e:parseFloat(e).toFixed(2)}}};t.default=r}).call(this,o("543d")["default"])},"970b":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports["default"]=e.exports},"97d0":function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("3185"));function r(t,o,n){e.openLocation({latitude:t,longitude:o,name:n,fail:function(t){e.showModal({content:"打开地图失败,请稍后重试"})}})}function a(e,t,o){switch(o){case"gcj02":return[e,t];case"bd09":return i.default.bd09togcj02(e,t);case"wgs84":return i.default.wgs84togcj02(e,t);default:return[e,t]}}var s={openMap:function(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"gcj02",i=a(t,e,n);r(i[1],i[0],o)}};t.default=s}).call(this,o("543d")["default"])},"983d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"申请提现"}},"98c2":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"个人资料",headImg:"头像",account:"账号",username:"用户名",nickname:"昵称",realName:"真实姓名",sex:"性别",birthday:"生日",password:"密码",paypassword:"支付密码",mobilePhone:"手机",bindMobile:"绑定手机",cancellation:"注销账号",lang:"语言",logout:"退出登录",save:"保存",noset:"未设置",usernamePlaceholder:"请输入新用户名",nickPlaceholder:"请输入新昵称",pleaseRealName:"请输入真实姓名",nowPassword:"当前密码",newPassword:"新密码",confirmPassword:"确认新密码",phoneNumber:"手机号",confirmCode:"验证码",confirmCodeInput:"请输入验证码",confirmCodeInputerror:"验证码错误",findanimateCode:"获取动态码",animateCode:"动态码",animateCodeInput:"请输入动态码",modifyNickname:"修改昵称",modifyPassword:"修改密码",bindPhone:"绑定手机",alikeusername:"与原用户名一致,无需修改",noEmityUsername:"用户名不能为空",alikeNickname:"与原昵称一致,无需修改",noEmityNickname:"昵称不能为空",updateSuccess:"修改成功",pleaseInputOldPassword:"请输入原始密码",pleaseInputNewPassword:"请输入新密码",passwordLength:"密码长度不能小于6位",alikePassword:"两次密码不一致",samePassword:"新密码不能与原密码相同",surePhoneNumber:"请输入正确的手机号",alikePhone:"与原手机号一致,无需修改",modify:"修改"}},"9b42":function(e,t){e.exports=function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,i,r,a,s=[],c=!0,u=!1;try{if(r=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(n=r.call(o)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=o["return"]&&(a=o["return"](),Object(a)!==a))return}finally{if(u)throw i}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},a02f:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"商品咨询"}},a0b2:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"砍价详情"}},a176:function(e){e.exports=JSON.parse('{"uni-datetime-picker.selectDate":"选择日期","uni-datetime-picker.selectTime":"选择时间","uni-datetime-picker.selectDateTime":"选择日期时间","uni-datetime-picker.startDate":"开始日期","uni-datetime-picker.endDate":"结束日期","uni-datetime-picker.startTime":"开始时间","uni-datetime-picker.endTime":"结束时间","uni-datetime-picker.ok":"确定","uni-datetime-picker.clear":"清除","uni-datetime-picker.cancel":"取消","uni-calender.SUN":"日","uni-calender.MON":"一","uni-calender.TUE":"二","uni-calender.WED":"三","uni-calender.THU":"四","uni-calender.FRI":"五","uni-calender.SAT":"六"}')},a1fc:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"支付密码"}},a395:function(e,t,o){var n=o("7037")["default"],i=o("e50d");e.exports=function(e){var t=i(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},a3f7:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的余额",accountBalance:"账户余额 ",money:" (元)",recharge:"充值",withdrawal:"提现",balanceDetailed:"余额明细",emptyTips:"暂无余额记录",rechargeRecord:"充值记录",ableAccountBalance:"现金余额 ",noAccountBalance:"储值余额 "}},a72a:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销台"}},a7c5:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销记录",emptyTips:"暂无记录"}},a934:function(e,t){},a9a0:function(e,t,o){"use strict";var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("7037")),r=n(o("970b")),a=n(o("5bc3")),s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(t.date,t.selected),n=t.startDate,i=t.endDate,a=t.range;(0,r.default)(this,e),this.date=this.getDate(new Date),this.selected=o||[],this.startDate=n,this.endDate=i,this.range=a,this.cleanMultipleStatus(),this.weeks={},this.lastHover=!1}return(0,a.default)(e,[{key:"setDate",value:function(e){this.selectDate=this.getDate(e),this._getWeek(this.selectDate.fullDate)}},{key:"cleanMultipleStatus",value:function(){this.multipleStatus={before:"",after:"",data:[]}}},{key:"resetSatrtDate",value:function(e){this.startDate=e}},{key:"resetEndDate",value:function(e){this.endDate=e}},{key:"getDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day";e||(e=new Date),"object"!==(0,i.default)(e)&&(e=e.replace(/-/g,"/"));var n=new Date(e);switch(o){case"day":n.setDate(n.getDate()+t);break;case"month":31===n.getDate()?n.setDate(n.getDate()+t):n.setMonth(n.getMonth()+t);break;case"year":n.setFullYear(n.getFullYear()+t);break}var r=n.getFullYear(),a=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1,s=n.getDate()<10?"0"+n.getDate():n.getDate();return{fullDate:r+"-"+a+"-"+s,year:r,month:a,date:s,day:n.getDay()}}},{key:"_getLastMonthDays",value:function(e,t){for(var o=[],n=e;n>0;n--){var i=new Date(t.year,t.month-1,1-n).getDate();o.push({date:i,month:t.month-1,disable:!0})}return o}},{key:"_currentMonthDys",value:function(e,t){for(var o=this,n=[],i=this.date.fullDate,r=function(e){var r=t.year+"-"+(t.month,t.month+"-")+(e<10?"0"+e:e),a=i===r,s=o.selected&&o.selected.find((function(e){if(o.dateEqual(r,e.date))return e})),c=!0,u=!0;o.startDate&&(c=o.dateCompare(o.startDate,r)),o.endDate&&(u=o.dateCompare(r,o.endDate));var l=o.multipleStatus.data,d=!1,f=-1;o.range&&(l&&(f=l.findIndex((function(e){return o.dateEqual(e,r)}))),-1!==f&&(d=!0));var p={fullDate:r,year:t.year,date:e,multiple:!!o.range&&d,beforeMultiple:o.isLogicBefore(r,o.multipleStatus.before,o.multipleStatus.after),afterMultiple:o.isLogicAfter(r,o.multipleStatus.before,o.multipleStatus.after),month:t.month,disable:!(c&&u),isDay:a,userChecked:!1};s&&(p.extraInfo=s),n.push(p)},a=1;a<=e;a++)r(a);return n}},{key:"_getNextMonthDays",value:function(e,t){for(var o=[],n=1;n<e+1;n++)o.push({date:n,month:Number(t.month)+1,disable:!0});return o}},{key:"getInfo",value:function(e){var t=this;e||(e=new Date);var o=this.canlender.find((function(o){return o.fullDate===t.getDate(e).fullDate}));return o}},{key:"dateCompare",value:function(e,t){return e=new Date(e.replace("-","/").replace("-","/")),t=new Date(t.replace("-","/").replace("-","/")),e<=t}},{key:"dateEqual",value:function(e,t){return e=new Date(e.replace("-","/").replace("-","/")),t=new Date(t.replace("-","/").replace("-","/")),e.getTime()-t.getTime()===0}},{key:"isLogicBefore",value:function(e,t,o){var n=t;return t&&o&&(n=this.dateCompare(t,o)?t:o),this.dateEqual(n,e)}},{key:"isLogicAfter",value:function(e,t,o){var n=o;return t&&o&&(n=this.dateCompare(t,o)?o:t),this.dateEqual(n,e)}},{key:"geDateAll",value:function(e,t){var o=[],n=e.split("-"),i=t.split("-"),r=new Date;r.setFullYear(n[0],n[1]-1,n[2]);var a=new Date;a.setFullYear(i[0],i[1]-1,i[2]);for(var s=r.getTime()-864e5,c=a.getTime()-864e5,u=s;u<=c;)u+=864e5,o.push(this.getDate(new Date(parseInt(u))).fullDate);return o}},{key:"setMultiple",value:function(e){var t=this.multipleStatus,o=t.before,n=t.after;if(this.range){if(o&&n){if(!this.lastHover)return void(this.lastHover=!0);this.multipleStatus.before=e,this.multipleStatus.after="",this.multipleStatus.data=[],this.multipleStatus.fulldate="",this.lastHover=!1}else o?(this.multipleStatus.after=e,this.dateCompare(this.multipleStatus.before,this.multipleStatus.after)?this.multipleStatus.data=this.geDateAll(this.multipleStatus.before,this.multipleStatus.after):this.multipleStatus.data=this.geDateAll(this.multipleStatus.after,this.multipleStatus.before),this.lastHover=!0):(this.multipleStatus.before=e,this.lastHover=!1);this._getWeek(e)}}},{key:"setHoverMultiple",value:function(e){var t=this.multipleStatus,o=t.before;t.after;this.range&&(this.lastHover||(o?(this.multipleStatus.after=e,this.dateCompare(this.multipleStatus.before,this.multipleStatus.after)?this.multipleStatus.data=this.geDateAll(this.multipleStatus.before,this.multipleStatus.after):this.multipleStatus.data=this.geDateAll(this.multipleStatus.after,this.multipleStatus.before)):this.multipleStatus.before=e,this._getWeek(e)))}},{key:"setDefaultMultiple",value:function(e,t){this.multipleStatus.before=e,this.multipleStatus.after=t,e&&t&&(this.dateCompare(e,t)?(this.multipleStatus.data=this.geDateAll(e,t),this._getWeek(t)):(this.multipleStatus.data=this.geDateAll(t,e),this._getWeek(e)))}},{key:"_getWeek",value:function(e){var t=this.getDate(e),o=(t.fullDate,t.year),n=t.month,i=(t.date,t.day,new Date(o,n-1,1).getDay()),r=new Date(o,n,0).getDate(),a={lastMonthDays:this._getLastMonthDays(i,this.getDate(e)),currentMonthDys:this._currentMonthDys(r,this.getDate(e)),nextMonthDays:[],weeks:[]},s=[],c=42-(a.lastMonthDays.length+a.currentMonthDys.length);a.nextMonthDays=this._getNextMonthDays(c,this.getDate(e)),s=s.concat(a.lastMonthDays,a.currentMonthDys,a.nextMonthDays);for(var u={},l=0;l<s.length;l++)l%7===0&&(u[parseInt(l/7)]=new Array(7)),u[parseInt(l/7)][l%7]=s[l];this.canlender=s,this.weeks=u}}]),e}(),c=s;t.default=c},aaa8:function(e,t,o){var n={"./en-us/common.js":"fe84","./zh-cn/article/detail.js":"6662","./zh-cn/article/list.js":"ceba","./zh-cn/bale/detail.js":"e2db","./zh-cn/bale/payment.js":"14a6","./zh-cn/bargain/detail.js":"2dab","./zh-cn/bargain/launch.js":"a0b2","./zh-cn/bargain/list.js":"675c","./zh-cn/bargain/my_bargain.js":"7210","./zh-cn/bargain/payment.js":"48f0","./zh-cn/combo/detail.js":"b4d6","./zh-cn/combo/payment.js":"c56d","./zh-cn/common.js":"04d7","./zh-cn/diy/diy.js":"deff","./zh-cn/fenxiao/apply.js":"0ee4","./zh-cn/fenxiao/bill.js":"0ece","./zh-cn/fenxiao/follow.js":"9590","./zh-cn/fenxiao/goods_list.js":"d30e","./zh-cn/fenxiao/index.js":"db93","./zh-cn/fenxiao/level.js":"db19","./zh-cn/fenxiao/order.js":"42b6","./zh-cn/fenxiao/order_detail.js":"77c0","./zh-cn/fenxiao/promote_code.js":"4b16","./zh-cn/fenxiao/team.js":"4547","./zh-cn/fenxiao/withdraw_apply.js":"e019","./zh-cn/fenxiao/withdraw_list.js":"fe52","./zh-cn/game/cards.js":"07be","./zh-cn/game/record.js":"b49a","./zh-cn/game/smash_eggs.js":"fab2","./zh-cn/game/turntable.js":"f266","./zh-cn/goods/brand.js":"f30e","./zh-cn/goods/cart.js":"ccb1","./zh-cn/goods/category.js":"13e9","./zh-cn/goods/consult.js":"a02f","./zh-cn/goods/consult_edit.js":"6cc7","./zh-cn/goods/coupon.js":"77dc","./zh-cn/goods/coupon_receive.js":"e2ab","./zh-cn/goods/detail.js":"6b85","./zh-cn/goods/evaluate.js":"fad9","./zh-cn/goods/list.js":"e00a","./zh-cn/goods/not_exist.js":"21a2","./zh-cn/goods/point.js":"e6cc","./zh-cn/goods/search.js":"7f60","./zh-cn/groupbuy/detail.js":"461b","./zh-cn/groupbuy/list.js":"8091","./zh-cn/groupbuy/payment.js":"ebde","./zh-cn/help/detail.js":"fe7b","./zh-cn/help/list.js":"1845","./zh-cn/hongbao/list.js":"8208","./zh-cn/hongbao/my_hongbao.js":"1330","./zh-cn/index/index.js":"11e2","./zh-cn/live/list.js":"4668","./zh-cn/login/find.js":"5c3e","./zh-cn/login/login.js":"9383","./zh-cn/login/register.js":"f3c9","./zh-cn/member/account.js":"f9d9","./zh-cn/member/account_edit.js":"4e4f","./zh-cn/member/address.js":"6986","./zh-cn/member/address_edit.js":"10b6","./zh-cn/member/apply_withdrawal.js":"983d","./zh-cn/member/assets.js":"f938","./zh-cn/member/balance.js":"a3f7","./zh-cn/member/balance_detail.js":"3860","./zh-cn/member/cancellation.js":"4542","./zh-cn/member/cancelrefuse.js":"79ac","./zh-cn/member/cancelstatus.js":"0aae","./zh-cn/member/cancelsuccess.js":"68bc","./zh-cn/member/card.js":"5cb9","./zh-cn/member/card_buy.js":"e2b3","./zh-cn/member/collection.js":"82be","./zh-cn/member/contact.js":"2f92","./zh-cn/member/coupon.js":"7347","./zh-cn/member/footprint.js":"1d6b","./zh-cn/member/gift.js":"571d","./zh-cn/member/gift_detail.js":"6676","./zh-cn/member/index.js":"dd76","./zh-cn/member/info.js":"ec3b","./zh-cn/member/info_edit.js":"98c2","./zh-cn/member/invite_friends.js":"4f02","./zh-cn/member/level.js":"cc6df","./zh-cn/member/message.js":"c616","./zh-cn/member/modify_face.js":"f532","./zh-cn/member/pay_password.js":"a1fc","./zh-cn/member/point.js":"63d8","./zh-cn/member/point_detail.js":"ef41","./zh-cn/member/signin.js":"bd29","./zh-cn/member/withdrawal.js":"cf3e","./zh-cn/member/withdrawal_detail.js":"db86","./zh-cn/notice/detail.js":"c093b","./zh-cn/notice/list.js":"5317","./zh-cn/order/activist.js":"321f","./zh-cn/order/detail.js":"adfa","./zh-cn/order/detail_local_delivery.js":"d2e2","./zh-cn/order/detail_pickup.js":"7783","./zh-cn/order/detail_point.js":"f82f","./zh-cn/order/detail_virtual.js":"124b","./zh-cn/order/evaluate.js":"856e","./zh-cn/order/list.js":"776c","./zh-cn/order/logistics.js":"f091","./zh-cn/order/payment.js":"770e","./zh-cn/order/refund.js":"b101","./zh-cn/order/refund_batch.js":"50a2","./zh-cn/order/refund_detail.js":"16d6","./zh-cn/pay/index.js":"4999","./zh-cn/pay/result.js":"06b7","./zh-cn/pintuan/detail.js":"89b4","./zh-cn/pintuan/list.js":"fe76","./zh-cn/pintuan/my_spell.js":"1f85","./zh-cn/pintuan/payment.js":"6cb1","./zh-cn/pintuan/share.js":"70cf","./zh-cn/point/detail.js":"8ebf","./zh-cn/point/goods_detail.js":"4b5f","./zh-cn/point/list.js":"cb53","./zh-cn/point/order_detail.js":"901b","./zh-cn/point/order_list.js":"ffcb","./zh-cn/point/payment.js":"6388","./zh-cn/point/result.js":"32d4","./zh-cn/presale/detail.js":"e442","./zh-cn/presale/list.js":"e18b","./zh-cn/presale/order_detail.js":"87db","./zh-cn/presale/order_list.js":"348a","./zh-cn/presale/payment.js":"3cb6","./zh-cn/recharge/detail.js":"1d1c","./zh-cn/recharge/list.js":"d7af","./zh-cn/recharge/order_list.js":"d69d6","./zh-cn/seckill/detail.js":"451b","./zh-cn/seckill/list.js":"d982","./zh-cn/seckill/payment.js":"cf03","./zh-cn/store_notes/note_detail.js":"1331","./zh-cn/store_notes/note_list.js":"41ef","./zh-cn/storeclose/storeclose.js":"05b27","./zh-cn/topics/detail.js":"adb7","./zh-cn/topics/goods_detail.js":"717f","./zh-cn/topics/list.js":"681d","./zh-cn/topics/payment.js":"b2f7","./zh-cn/verification/detail.js":"aab8","./zh-cn/verification/index.js":"a72a","./zh-cn/verification/list.js":"a7c5"};function i(e){var t=r(e);return o(t)}function r(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id="aaa8"},aab8:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销明细"}},ac83:function(e,t,o){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={data:function(){return{cartData:[],editLock:!1,checkAll:!0,totalPrice:"0.00",totalCount:0,isSub:!1,invalidGoods:[],isIphoneX:!1,isAction:!1,goodsSkuDetail:null,discount:{},manjian:{},receiveSub:!1,discountPopupShow:!1,startX:"",endX:"",refresherTriggered:!1,timeout:{},navbarData:{title:"购物车",topNavColor:"#ffffff",topNavBg:!1,navBarSwitch:!0,textNavColor:"#333333",moreLink:{name:""},navStyle:1,textImgPosLink:"center"}}},onLoad:function(){e.hideTabBar(),this.isIphoneX=this.$util.uniappIsIPhoneX()},onShow:function(){this.storeToken?(this.getCartData(),this.$store.dispatch("getCartNumber")):(this.cartData=[],this.invalidGoods=[],this.calculationTotalPrice())},onHide:function(){this.isAction=!1},onUnload:function(){!this.storeToken&&this.$refs.login&&this.$refs.login.cancelCompleteInfo()},onReady:function(){this.storeToken||this.$refs.loadingCover&&this.$refs.loadingCover.hide()},computed:{hasData:function(){return this.cartData.length>0||this.invalidGoods.length>0}},methods:{initNum:function(e){var t=e.max_buy>0&&e.max_buy<e.stock?e.max_buy:e.stock;return t=0==t?1:t,e.num>t?t:e.num},getCartData:function(){var e=this;this.$api.sendRequest({url:"/api/cart/goodslists",success:function(t){t.code>=0&&(t.data.length?e.handleCartData(t.data):e.cartData=[]),e.refresherTriggered=!1,e.$refs.loadingCover&&e.$refs.loadingCover.hide()},fail:function(t){e.$refs.loadingCover&&e.$refs.loadingCover.hide()}})},handleCartData:function(e){var t=this;this.invalidGoods=[],this.cartData=[];var o={};e.forEach((function(e,n){1==e.goods_state?void 0!=e.store_goods_status&&1!=e.store_goods_status||e.min_buy>0&&e.min_buy>e.stock?t.invalidGoods.push(e):(e.checked=!0,e.edit=!1,void 0!=o["site_"+e.site_id]?o["site_"+e.site_id].cartList.push(e):o["site_"+e.site_id]={siteId:e.site_id,siteName:e.site_name,edit:!1,checked:!0,cartList:[e]}):t.invalidGoods.push(e)})),this.cartData=[],Object.keys(o).forEach((function(e){t.cartData.push(o[e])})),this.calculationTotalPrice(),this.cartData.length&&this.cartData[0].cartList.forEach((function(e){e.sku_spec_format?e.sku_spec_format=JSON.parse(e.sku_spec_format):e.sku_spec_format=[]})),this.invalidGoods.length&&this.invalidGoods.forEach((function(e){e.sku_spec_format?e.sku_spec_format=JSON.parse(e.sku_spec_format):e.sku_spec_format=[]}))},singleElection:function(e,t){this.cartData[e].cartList[t].checked=!this.cartData[e].cartList[t].checked,this.calculationTotalPrice()},siteAllElection:function(e,t){this.cartData[t].checked=e,this.cartData[t].cartList.forEach((function(t){t.checked=e})),this.calculationTotalPrice()},allElection:function(e){var t=this;this.checkAll="boolean"==typeof e?e:!this.checkAll,this.cartData.length&&this.cartData.forEach((function(e){e.checked=t.checkAll,e.cartList.forEach((function(e){e.checked=t.checkAll}))})),this.calculationTotalPrice()},calculationTotalPrice:function(){if(this.cartData.length){var e=0,t=0,o=0;this.cartData.forEach((function(n){var i=0;n.cartList.forEach((function(o){o.checked&&(i+=1,t+=parseInt(o.num),Number(o.member_price)>0&&Number(o.member_price)<Number(o.discount_price)?e+=o.member_price*o.num:e+=o.discount_price*o.num)})),n.cartList.length==i?(n.checked=!0,o+=1):n.checked=!1})),this.totalPrice=e.toFixed(2),this.totalCount=t,this.checkAll=this.cartData.length==o}else this.totalPrice="0.00",this.totalCount=0;this.discountCalculate()},deleteCart:function(t,o,n){var i=this,r=[];if("all"==t)for(var a=0;a<this.cartData.length;a++)for(var s=0;s<this.cartData[a].cartList.length;s++)this.cartData[a].cartList[s].checked&&r.push(this.cartData[a].cartList[s].cart_id);else r.push(this.cartData[o].cartList[n].cart_id);0!=r.length?e.showModal({title:"提示",content:r.length>1?"确定要删除这些商品吗?":"确定要删除该商品吗?",success:function(e){e.confirm&&(r=r.toString(),i.$api.sendRequest({url:"/api/cart/delete",data:{cart_id:r},success:function(e){if(e.code>=0){if("all"==t){for(var r=0;r<i.cartData.length;r++){for(var a=0;a<i.cartData[r].cartList.length;a++){var s=i.cartData[r].cartList[a];s.checked&&(i.cartData[r].cartList.splice(a,1),a=-1)}0==i.cartData[r].cartList.length&&(i.cartData.splice(r,1),r=-1)}i.$store.dispatch("emptyCart")}else{var c=i.cartData[o].cartList,u=c[n].goods_id,l=c[n].sku_id;delete i.cartList["goods_"+u]["sku_"+l],2==Object.keys(i.cartList["goods_"+u]).length&&delete i.cartList["goods_"+u],i.$store.dispatch("cartCalculate"),c.splice(n,1),0==c.length&&i.cartData.splice(o,1)}i.resetEditStatus(),i.calculationTotalPrice()}else i.$util.showToast({title:e.message})}}))}}):this.$util.showToast({title:"请选择要删除的商品"})},cartNumChange:function(e,t){var o=this;if(!isNaN(e)&&!this.editLock){this.editLock=!0;var n=this.cartData[t.siteIndex].cartList[t.cartIndex],i=n.is_limit&&n.max_buy>0&&n.max_buy<n.stock?n.max_buy:n.stock,r=n.min_buy>0?n.min_buy:1;e>i&&(e=i),e<r&&(e=r);var a=this.cartData[t.siteIndex].cartList[t.cartIndex].cart_id;this.$api.sendRequest({url:"/api/cart/edit",data:{num:e,cart_id:a},success:function(n){if(n.code>=0){var i=o.cartData[t.siteIndex].cartList[t.cartIndex],r=i.goods_id,a=i.sku_id;i.num=e,o.editLock=!1,o.cartList["goods_"+r]["sku_"+a].num=e,o.$store.dispatch("cartCalculate"),o.resetEditStatus(),o.calculationTotalPrice()}else o.$util.showToast({title:n.message})}})}},settlement:function(){var t=this;if(this.totalCount>0){var o=[];if(this.cartData.forEach((function(e){e.cartList.forEach((function(e){e.checked&&o.push(e.cart_id)}))})),this.discount.coupon_info&&"wait"==this.discount.coupon_info.receive_type&&this.receiveCoupon(this.discount.coupon_info.coupon_type_id,!1),this.isSub)return;this.isSub=!0,e.removeStorageSync("delivery"),e.setStorage({key:"orderCreateData",data:{cart_ids:o.toString()},success:function(){t.$util.redirectTo("/pages/order/payment"),t.isSub=!1}})}},clearInvalidGoods:function(){var t=this;e.showModal({title:"提示",content:"确定要清空这些商品吗?",success:function(e){if(e.confirm){var o=[];t.invalidGoods.forEach((function(e){o.push(e.cart_id)})),o.length&&t.$api.sendRequest({url:"/api/cart/delete",data:{cart_id:o.toString()},success:function(e){e.code>=0?(t.invalidGoods=[],t.refreshCartNumber()):t.$util.showToast({title:e.message})}})}}})},imageError:function(e,t){this.cartData[e].cartList[t].sku_image=this.$util.getDefaultImage().goods,this.$forceUpdate()},toGoodsDetail:function(e){this.$util.redirectTo("/pages/goods/detail",{sku_id:e.sku_id})},refreshCartNumber:function(){this.storeToken&&(this.$store.dispatch("getCartNumber"),this.resetEditStatus())},goodsLimit:function(e,t){var o=this.cartData[t.siteIndex].cartList[t.cartIndex];"plus"==e.type?o.max_buy>0&&o.max_buy<o.stock?this.$util.showToast({title:"该商品每人限购"+o.max_buy+"件"}):this.$util.showToast({title:"库存不足"}):this.deleteCart("single",t.siteIndex,t.cartIndex)},toLogin:function(){this.$refs.login.open()},resetEditStatus:function(){if(this.cartData.length){for(var e=0;e<this.cartData[0].cartList.length;e++)this.cartData[0].cartList[e].edit=!1;this.$forceUpdate()}},changeAction:function(){this.isAction=!this.isAction,this.resetEditStatus()},selectSku:function(e){var t=this,o=this.$util.deepClone(e);o.goods_spec_format&&(o.goods_spec_format=JSON.parse(o.goods_spec_format)),this.goodsSkuDetail=o,this.$nextTick((function(){t.$refs.selectSku.show("confirm",(function(o,n){t.$api.sendRequest({url:"/api/cart/editcartsku",data:{cart_id:e.cart_id,sku_id:o,num:n},success:function(e){e.code>=0?(t.invalidGoods=[],t.getCartData(),t.refreshCartNumber()):t.$util.showToast({title:e.message})}})}),t.goodsSkuDetail)}))},toggleDiscountPopup:function(){this.$refs.discountPopup.showPopup?this.$refs.discountPopup.close():this.$refs.discountPopup.open(),this.discountPopupShow=!this.discountPopupShow},discountCalculate:function(){var e=this;if(0!=this.cartData.length){var t=[];this.cartData.forEach((function(e){e.cartList.forEach((function(e){e.checked&&t.push({sku_id:e.sku_id,num:e.num})}))})),0!=t.length?this.$api.sendRequest({url:"/api/cartcalculate/calculate",data:{sku_ids:JSON.stringify(t)},success:function(t){if(t.code>=0&&t.data&&(t.data.coupon_money>0||t.data.promotion_money>0)){e.discount=t.data;var o={};t.data.goods_list.forEach((function(e){e.promotion&&e.promotion.manjian&&(o["sku_"+e.sku_id]=JSON.parse(e.promotion.manjian.rule_json))})),Object.assign(e.manjian,o),e.refresherTriggered=!1}else e.discount={}}}):this.discount={}}},receiveCoupon:function(e){var t=this,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.receiveSub||(this.receiveSub=!0,this.$api.sendRequest({url:"/coupon/api/coupon/receive",data:{coupon_type_id:e,get_type:2},success:function(e){0==e.code?t.$set(t.discount.coupon_info,"receive_type",""):(o&&t.$util.showToast({title:e.message}),t.receiveSub=!1)}}))},touchS:function(e){this.startX=e.touches[0].clientX},touchE:function(e,t){this.endX=e.changedTouches[0].clientX;var o=this.startX-this.endX;o>50?t.edit=!0:o<0&&(t.edit=!1),this.$forceUpdate()},moneyFormat:function(e){return isNaN(parseFloat(e))?e:parseFloat(e).toFixed(2)},refreshSkuDetail:function(e){this.goodsSkuDetail=e},onRefresh:function(e){this.refresherTriggered=!0,this.storeToken?(this.getCartData(),this.refreshCartNumber()):(this.cartData=[],this.invalidGoods=[],this.calculationTotalPrice())}}};t.default=o}).call(this,o("543d")["default"])},adb7:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"专题活动详情"}},adfa:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},b101:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"申请退款"}},b17c:function(e,t,o){var n=o("4a4b"),i=o("6f8f");e.exports=function(e,t,o){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return o&&n(a,o.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports},b2f7:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},b49a:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"中奖纪录"}},b4d6:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"组合套餐"}},bc2e:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],i=["lanDebug","router","worklet"],r="undefined"!==typeof globalThis?globalThis:function(){return this}(),a=["w","x"].join(""),s=r[a],c=s.getLaunchOptionsSync?s.getLaunchOptionsSync():null;function u(e){return(!c||1154!==c.scene||!i.includes(e))&&(n.indexOf(e)>-1||"function"===typeof s[e])}r[a]=function(){var e={};for(var t in s)u(t)&&(e[t]=s[t]);return e}();var l=r[a];t.default=l},bd29:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"签到有礼"}},c093b:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"公告详情"}},c118:function(e,t){e.exports={error:"",check:function(e,t){for(var o=0;o<t.length;o++){if(!t[o].checkType)return!0;if(!t[o].name)return!0;if(!t[o].errorMsg)return!0;if(!e[t[o].name])return this.error=t[o].errorMsg,!1;switch(t[o].checkType){case"custom":if("function"==typeof t[o].validate&&!t[o].validate(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"required":var n=new RegExp("/[S]+/");if(n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"string":n=new RegExp("^.{"+t[o].checkRule+"}$");if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"int":n=new RegExp("^(-[1-9]|[1-9])[0-9]{"+t[o].checkRule+"}$");if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"between":if(!this.isNumber(e[t[o].name]))return this.error=t[o].errorMsg,!1;var i=t[o].checkRule.split(",");if(i[0]=Number(i[0]),i[1]=Number(i[1]),e[t[o].name]>i[1]||e[t[o].name]<i[0])return this.error=t[o].errorMsg,!1;break;case"betweenD":n=/^-?[1-9][0-9]?$/;if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;i=t[o].checkRule.split(",");if(i[0]=Number(i[0]),i[1]=Number(i[1]),e[t[o].name]>i[1]||e[t[o].name]<i[0])return this.error=t[o].errorMsg,!1;break;case"betweenF":n=/^-?[0-9][0-9]?.+[0-9]+$/;if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;i=t[o].checkRule.split(",");if(i[0]=Number(i[0]),i[1]=Number(i[1]),e[t[o].name]>i[1]||e[t[o].name]<i[0])return this.error=t[o].errorMsg,!1;break;case"same":if(e[t[o].name]!=t[o].checkRule)return this.error=t[o].errorMsg,!1;break;case"notsame":if(e[t[o].name]==t[o].checkRule)return this.error=t[o].errorMsg,!1;break;case"email":n=/^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/;if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"phoneno":n=/^\d{11}$/;if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"zipcode":n=/^[0-9]{6}$/;if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"reg":n=new RegExp(t[o].checkRule);if(!n.test(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"in":if(-1==t[o].checkRule.indexOf(e[t[o].name]))return this.error=t[o].errorMsg,!1;break;case"notnull":if(0==e[t[o].name]||void 0==e[t[o].name]||null==e[t[o].name]||e[t[o].name].length<1)return this.error=t[o].errorMsg,!1;break;case"lengthMin":if(e[t[o].name].length<t[o].checkRule)return this.error=t[o].errorMsg,!1;break;case"lengthMax":if(e[t[o].name].length>t[o].checkRule)return this.error=t[o].errorMsg,!1;break}}return!0},isNumber:function(e){return/^-?[1-9][0-9]?.?[0-9]*$/.test(e)}}},c135:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},c240:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},c56d:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},c616:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的消息"}},c8ba:function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(n){"object"===typeof window&&(o=window)}e.exports=o},c973:function(e,t){function o(e,t,o,n,i,r,a){try{var s=e[r](a),c=s.value}catch(u){return void o(u)}s.done?t(c):Promise.resolve(c).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var a=e.apply(t,n);function s(e){o(a,i,r,s,c,"next",e)}function c(e){o(a,i,r,s,c,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},cb08:function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("2eee")),r=n(o("448a")),a=n(o("c973")),s=(n(o("4661")),n(o("32df")),e.getSystemInfoSync()),c={data:function(){return{diyData:{global:{title:"",popWindow:{imageUrl:"",count:-1,link:{},imgWidth:"",imgHeight:""}}},id:0,name:"",topIndexValue:null,statusBarHeight:s.statusBarHeight,collectTop:44,showTip:!1,mpCollect:!1,mpShareData:null,scrollTop:0,paddingTop:44+s.statusBarHeight+"px",marginTop:-(44+s.statusBarHeight)+"px",followOfficialAccount:null,latitude:null,longitude:null,currentPosition:"",nearestStore:null,storeTimeOut:null,locationModule:"",diyRoute:"",openBottomNav:!1,isShowCopyRight:!1}},onLoad:function(t){if(e.hideTabBar(),t.source_member&&e.setStorageSync("source_member",t.source_member),t.scene){var o=decodeURIComponent(t.scene);o=o.split("&"),o.length&&o.forEach((function(t){-1!=t.indexOf("m")&&e.setStorageSync("source_member",t.split("-")[1])}))}this.id=t.id||0,this.name=t.name||"",e.removeStorageSync("manual_store_info"),e.removeStorageSync("manual_change_store"),"locationPicker"==this.locationModule?(this.getNearestStore(),this.getCurrentLocation()):this.initStatus&&this.getLocation()},onShow:function(){this.init()},onHide:function(){this.storeTimeOut&&clearTimeout(this.storeTimeOut),this.closeChooseStorePopup(),this.$store.commit("setDiySeckillInterval",0)},computed:{bgColor:function(){var e="";return this.diyData&&this.diyData.global&&(e=this.diyData.global.pageBgColor),e},bgImg:function(){var e="";return this.diyData&&this.diyData.global&&(e=this.diyData.global.topNavBg?"url("+this.$util.img(this.diyData.global.bgUrl)+")":this.diyData.global.pageBgColor),e},bgUrl:function(){var e="";return this.diyData&&this.diyData.global&&(e=this.diyData.global.topNavBg?"transparent":this.diyData.global.bgUrl),e},backgroundUrl:function(){var e=this.diyData.global.bgUrl&&"transparent"!=this.diyData.global.bgUrl?"url("+this.$util.img(this.diyData.global.bgUrl)+") ":"";return e},textNavColor:function(){return this.diyData&&this.diyData.global&&this.diyData.global.textNavColor?this.diyData.global.textNavColor:"#ffffff"},popWindowStyle:function(){var e,t,o=this.diyData.global.popWindow.imgHeight/this.diyData.global.popWindow.imgWidth;o<1?(e=290,t=e*o):(t=410,e=t/o);var n="";return this.diyData.global.popWindow&&-1!=this.diyData.global.popWindow.count&&this.diyData.global.popWindow.imageUrl&&(n+="height:"+2*t+"rpx;",n+="width:"+2*e+"rpx;"),n}},watch:{location:function(e){e&&(this.latitude=e.latitude,this.longitude=e.longitude,this.getNearestStore(),this.getCurrentLocation())},initStatus:function(e){this.getLocation()}},methods:{getLocation:function(){var e=this;"locationPicker"!=this.locationModule&&(1==this.mapConfig.wap_is_open?this.$util.getLocation({fail:function(t){"shop"==e.globalStoreConfig.store_business?e.enterDefaultStore():e.$refs.chainStoresLocationFailOrCloseRef.open()}}):"shop"==this.globalStoreConfig.store_business?this.enterDefaultStore():this.$refs.chainStoresLocationFailOrCloseRef.open())},init:function(){var t=this;return(0,a.default)(i.default.mark((function o(){var n;return i.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return 1==t.mapConfig.wap_is_open&&t.locationStorage&&t.locationStorage.is_expired&&t.$util.getLocation({fail:function(e){}}),t.storeToken&&e.getStorageSync("source_member")&&t.$util.onSourceMember(e.getStorageSync("source_member")),o.next=4,t.getDiyInfo();case 4:t.$store.commit("setDiySeckillInterval",1),t.$util.getMpShare().then((function(e){t.mpShareData=e})),n=e.getStorageSync("manual_change_store"),n&&(e.removeStorageSync("manual_change_store"),t.$refs.chainStoresLocationFailOrCloseRef&&t.$refs.chainStoresLocationFailOrCloseRef.close(),e.pageScrollTo({duration:200,scrollTop:0}));case 8:case"end":return o.stop()}}),o)})))()},callback:function(){this.$refs.indexPage&&this.$refs.indexPage.initPageIndex()},getHeight:function(){var t=this,o=setInterval((function(){t.$nextTick((function(){var n=e.createSelectorQuery().in(t);n.select(".page-header").boundingClientRect((function(e){e&&e.height&&(t.diyData.global.topNavBg?(t.paddingTop=e.height+"px",t.marginTop=-e.height+"px"):(t.paddingTop=0,t.marginTop=0),clearInterval(o))})).exec()}))}),50)},getDiyInfo:function(){var t=this;return(0,a.default)(i.default.mark((function o(){var n,a,s,c,u,l,d,f,p,h,g,m;return i.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,t.$api.sendRequest({url:"/api/diyview/info",data:{id:t.id,name:t.name},async:!1});case 2:if(n=o.sent,0==n.code&&n.data){o.next=12;break}if(t.$refs.loadingCover&&t.$refs.loadingCover.hide(),-3!=n.code){o.next=9;break}return t.$util.showToast({title:n.message}),t.diyData={},o.abrupt("return");case 9:return t.$util.showToast({title:"未配置自定义页面数据"}),t.diyData={},o.abrupt("return");case 12:if(a=n.data,!a.value){o.next=40;break}t.diyData=JSON.parse(a.value),t.$langConfig.title(t.diyData.global.title),t.mpCollect=t.diyData.global.mpCollect,t.setPublicShare(),t.diyData.global.popWindow&&t.diyData.global.popWindow.imageUrl&&setTimeout((function(){if(1==t.diyData.global.popWindow.count){var o=e.getStorageSync(t.id+t.name+"_popwindow_count");(t.$refs.uniPopupWindow&&""==o||t.$refs.uniPopupWindow&&1==o)&&(t.$refs.uniPopupWindow.open(),e.setStorageSync(t.id+t.name+"_popwindow_count",1))}else 0==t.diyData.global.popWindow.count&&(t.$refs.uniPopupWindow.open(),e.setStorageSync(t.id+t.name+"_popwindow_count",0))}),500),s=-1,c=-1,t.diyData.value.forEach((function(e,t){"Search"==e.componentName&&"fixed"==e.positionWay&&(s=t),"TopCategory"==e.componentName&&(c=t)})),-1!=s&&-1!=c?(u=t.diyData.value.slice(s,s+1),l=t.diyData.value.slice(c,c+1),t.diyData.value.splice(s,1),s>c?(t.diyData.value.splice(c,1),(d=t.diyData.value).splice.apply(d,[0,0].concat((0,r.default)(l))),(f=t.diyData.value).splice.apply(f,[1,0].concat((0,r.default)(u)))):(p=t.diyData.value).splice.apply(p,[0,0].concat((0,r.default)(u)))):-1!=s&&-1==c&&(g=t.diyData.value.slice(s,s+1),t.diyData.value.splice(s,1),(h=t.diyData.value).splice.apply(h,[0,0].concat((0,r.default)(g)))),m=0;case 24:if(!(m<t.diyData.value.length)){o.next=36;break}if("TopCategory"!=t.diyData.value[m].componentName){o.next=30;break}return t.topIndexValue=t.diyData.value[m],t.topIndexValue.moduleIndex=m,t.diyData.value.splice(m,1),o.abrupt("continue",33);case 30:if("FollowOfficialAccount"!=t.diyData.value[m].componentName){o.next=33;break}return t.followOfficialAccount=t.diyData.value[m],o.abrupt("continue",33);case 33:m++,o.next=24;break;case 36:!e.getStorageSync("isCollect")&&t.diyData.global.mpCollect&&(t.$refs.collectPopupWindow.open(),t.showTip=!0),t.getHeight(),t.diyData&&t.diyData.global&&(t.openBottomNav=t.diyData.global.openBottomNav),t.isShowCopyRight=!0;case 40:case"end":return o.stop()}}),o)})))()},closePopupWindow:function(){this.$refs.uniPopupWindow.close(),e.setStorageSync(this.id+this.name+"_popwindow_count",-1)},closeCollectPopupWindow:function(){this.$refs.collectPopupWindow.close(),e.setStorageSync("isCollect",!0)},uniPopupWindowFn:function(){this.$util.diyRedirectTo(this.diyData.global.popWindow.link),this.closePopupWindow()},openChooseStorePopup:function(){if(this.globalStoreConfig&&1==this.globalStoreConfig.confirm_popup_control){var t=this.globalStoreInfo;(!t||t&&this.nearestStore&&t.store_id!=this.nearestStore.store_id)&&this.$refs.chooseStorePopup&&this.$refs.chooseStorePopup.open()}var o=e.getStorageSync("manual_store_info");o&&(this.nearestStore=o),this.changeStore(this.nearestStore)},closeChooseStorePopup:function(){this.$refs.chooseStorePopup&&this.$refs.chooseStorePopup.close()},enterStore:function(){this.closeChooseStorePopup()},chooseOtherStore:function(){this.$util.redirectTo("/pages_tool/store/list"),this.closeChooseStorePopup()},reposition:function(){var t=this;e.chooseLocation({success:function(e){t.latitude=e.latitude,t.longitude=e.longitude,t.currentPosition=e.name,t.getNearestStore(),t.getCurrentLocation()},fail:function(t){e.getSetting({success:function(t){var o=t.authSetting;o["scope.userLocation"]||e.showModal({title:"是否授权当前位置",content:"需要获取您的地理位置,请确认授权,否则地图功能将无法使用",success:function(o){o.confirm?e.openSetting({success:function(o){!0===o.authSetting["scope.userLocation"]&&(this.$util.showToast({title:"授权成功"}),setTimeout((function(){var o=this;e.chooseLocation({success:function(e){o.latitude=t.latitude,o.longitude=t.longitude,o.currentPosition=t.name,o.getNearestStore(),o.getCurrentLocation()}})}),1e3))}}):this.$util.showToast({title:"授权失败"})}})}})}})},getNearestStore:function(){var e=this,t={};this.latitude&&this.longitude&&(t.latitude=this.latitude,t.longitude=this.longitude),this.$api.sendRequest({url:"/api/store/nearestStore",data:t,success:function(t){0==t.code&&t.data&&(e.nearestStore=t.data,e.nearestStore.show_address=e.nearestStore.full_address.replace(/,/g," ")+" "+e.nearestStore.address,e.openChooseStorePopup())}})},getCurrentLocation:function(){var e=this,t={};this.latitude&&this.longitude&&(t.latitude=this.latitude,t.longitude=this.longitude),this.$api.sendRequest({url:"/api/store/getLocation",data:t,success:function(t){0==t.code&&t.data?e.currentPosition=t.data.formatted_addresses.recommend:e.currentPosition="未获取到定位"}})},enterDefaultStore:function(){this.defaultStoreInfo&&(this.nearestStore||(this.nearestStore=this.defaultStoreInfo,this.nearestStore.show_address=this.nearestStore.full_address.replace(/,/g," ")+" "+this.nearestStore.address),""==this.currentPosition&&(this.currentPosition="未获取到定位"),this.openChooseStorePopup())},chooseStore:function(){this.$util.redirectTo("/pages_tool/store/list")},openSetting:function(){var t=this;e.openSetting({success:function(e){t.$util.getLocation({success:function(){t.$refs.chainStoresLocationFailOrCloseRef.close()}})}})},setPublicShare:function(){var e=this.$config.h5Domain+this.diyRoute;this.id?e+="?id="+this.id:this.name&&(e+="?name="+this.name),this.$util.setPublicShare({title:this.diyData.global.title,desc:"",link:e,imgUrl:this.siteInfo?this.$util.img(this.siteInfo.logo_square):""})}},onPageScroll:function(e){this.scrollTop=e.scrollTop,this.$refs.topNav&&(e.scrollTop>=20?this.$refs.topNav.navTopBg():this.$refs.topNav.unSetnavTopBg())},onPullDownRefresh:function(){this.$store.commit("setComponentRefresh"),setTimeout((function(){e.stopPullDownRefresh()}),50)},onShareAppMessage:function(){return this.mpShareData.appMessage},onShareTimeline:function(){return this.mpShareData.timeLine}};t.default=c}).call(this,o("543d")["default"])},cb53:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分商城"}},cc6d:function(e,t,o){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={data:function(){return{showTop:!1,scrollTop:0,oldLocation:0}},methods:{scrollToTopNative:function(){e.pageScrollTo({duration:200,scrollTop:0})}},onReachBottom:function(){this.$refs.goodrecommend&&this.$refs.goodrecommend.getLikeList(10)},onPageScroll:function(e){this.oldLocation=e.scrollTop,e.scrollTop>400?this.showTop=!0:this.showTop=!1}};t.default=o}).call(this,o("543d")["default"])},cc6df:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"会员等级",defaultLevelTips:"您已经是最高级别的会员了!",tag:"专属标签",tagDesc:"标签达人",discount:"专享折扣",discountDesc:"专享{0}折",service:"优质服务",serviceDesc:"360度全方位",memberLevel:"会员等级",condition:"条件",equity:"权益",giftPackage:"升级礼包",levelExplain:"等级说明",upgradeTips:"升级会员,享专属权益"}},ccb1:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"购物车",complete:"完成",edit:"管理",allElection:"全选",total:"合计",settlement:"结算",emptyTips:"暂无商品",goForStroll:"去逛逛",del:"删除",login:"去登录"}},cda2:function(e,t,o){"use strict";(function(e,n){var i=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(o("9523")),a=i(o("7037")),s=i(o("491c"));function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){(0,r.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var l={options:{styleIsolation:"shared"},data:function(){return{outTradeNo:"",isIphoneX:!1,orderCreateData:{is_balance:0,is_point:1,is_invoice:0,invoice_type:0,invoice_title_type:1,is_tax_invoice:0,coupon:{coupon_id:0},delivery:{},member_goods_card:{},order_key:"",buyer_message:""},paymentData:null,calculateData:null,tempData:null,storeId:0,deliveryTime:"",memberAddress:null,localMemberAddress:null,isRepeat:!1,promotionInfo:null,transactionAgreement:{},tempFormData:null,menuButtonBounding:{},storeConfig:null,localConfig:null,selectGoodsCard:{skuId:0,itemId:0,cardList:{}},storeData:[],latitude:"",longitude:"",coupon_list:[],modules:[]}},inject:["promotion"],created:function(){var t=this;this.menuButtonBounding=e.getMenuButtonBoundingClientRect(),this.isIphoneX=this.$util.uniappIsIPhoneX(),this.storeToken?(Object.assign(this.orderCreateData,e.getStorageSync(this.createDataKey)),this.location&&(this.orderCreateData.latitude=this.location.latitude,this.orderCreateData.longitude=this.location.longitude,this.latitude=this.location.latitude,this.longitude=this.location.longitude),this.payment()):this.$nextTick((function(){t.$refs.loadingCover.hide(),t.$refs.login.open(t.$util.getCurrentRoute().path)})),this.getTransactionAgreement()},computed:{goodsData:function(){if(this.paymentData)return this.paymentData.goods_list.forEach((function(e){e.sku_spec_format&&(e.sku_spec_format=JSON.parse(e.sku_spec_format))})),this.paymentData},calculateGoodsData:function(){if(this.calculateData)return this.calculateData.goods_list.forEach((function(e){e.sku_spec_format&&(e.sku_spec_format=JSON.parse(e.sku_spec_format))})),this.calculateData},balanceDeduct:function(){if(this.calculateData)return this.calculateData.member_account&&this.calculateData.member_account.balance_total<=parseFloat(this.calculateData.order_money).toFixed(2)?parseFloat(this.calculateData.member_account.balance_total).toFixed(2):parseFloat(this.calculateData.order_money).toFixed(2)},storeList:function(){return this.getStoreList()},storeInfo:function(){var e=this.getStoreList();return e&&this.orderCreateData.delivery&&"express"!=this.orderCreateData.delivery.delivery_type&&this.storeId?e[this.orderCreateData.delivery.store_id]:null},cardChargeType:function(){if(this.paymentData&&this.paymentData.recommend_member_card&&Object.keys(this.paymentData.recommend_member_card).length>0){var e=[],t=this.paymentData.recommend_member_card.charge_rule;return Object.keys(t).forEach((function(o,n){switch(o){case"week":e.push({key:o,value:t[o],title:"周卡",unit:"周"});break;case"month":e.push({key:o,value:t[o],title:"月卡",unit:"月"});break;case"quarter":e.push({key:o,value:t[o],title:"季卡",unit:"季"});break;case"year":e.push({key:o,value:t[o],title:"年卡",unit:"年"});break}})),e}}},watch:{storeToken:function(e,t){this.payment()},deliveryTime:function(e){e||this.$refs.timePopup.refresh()},location:function(e){e&&(this.orderCreateData.latitude=e.latitude,this.orderCreateData.longitude=e.longitude,this.latitude=e.latitude,this.longitude=e.longitude,this.payment())},calculateGoodsData:function(e){e&&e.config.local&&e.delivery.local.info.time_is_open&&!this.deliveryTime&&this.localtime("no")}},methods:{pageShow:function(){e.getStorageSync("addressBack")&&(e.removeStorageSync("addressBack"),this.payment())},payment:function(){var t=this,o=this.handleCreateData();this.$api.sendRequest({url:this.api.payment,data:o,success:function(i){if(0==i.code&&i.data){var r=i.data,a=e.getStorageSync("is_test")?1175:n.getLaunchOptionsSync().scene;if(-1!=[1175,1176,1177,1191,1195].indexOf(a)&&r.delivery.express_type&&(r.delivery.express_type=r.delivery.express_type.filter((function(e){return"express"==e.name}))),r&&r.delivery.express_type&&r.delivery.express_type.length){var s=e.getStorageSync("delivery"),c=r.delivery.express_type[0];r.delivery.express_type.forEach((function(e){s&&e.name==s.delivery_type&&(c=e),"local"==e.name&&(t.localConfig=e),"store"==e.name&&(t.storeConfig=e)})),t.selectDeliveryType(c,!1,r.member_account)}if(r.is_virtual&&(t.orderCreateData.member_address={mobile:r.member_account.mobile?r.member_account.mobile:""}),t.orderCreateData.order_key=r.order_key,t.modules=r.modules,r=t.handleGoodsFormData(r),t.promotionInfo=t.promotion(r),t.paymentData=r,t.$refs.form){console.log(t.paymentData.system_form.json_data,JSON.parse(o.form_data).form_data);var u=JSON.parse(o.form_data).form_data,l=t.$util.deepClone(t.paymentData.system_form.json_data);u.forEach((function(e){l.forEach((function(t){e.id===t.id&&(t.value.default=e.val)}))})),t.paymentData.system_form.json_data=l}t.$forceUpdate(),t.getCouponList((function(){t.calculate()}))}else t.$util.showToast({title:i.message}),setTimeout((function(){t.$util.redirectTo("/pages/index/index")}),1e3)}})},getCouponList:function(e){var t=this;if(-1!=this.modules.indexOf("coupon")){var o=this.handleCreateData();this.orderCreateData.coupon.coupon_id=0,this.$api.sendRequest({url:"/api/ordercreate/getcouponlist",data:o,success:function(o){if(0==o.code&&o.data){var n=o.data;t.coupon_list=n,t.coupon_list.length>0&&(t.orderCreateData.coupon.coupon_id=t.coupon_list[0].coupon_id)}else t.$util.showToast({title:o.message});"function"==typeof e&&e()}})}else"function"==typeof e&&e()},handleGoodsFormData:function(t){var o=e.getStorageSync("goodFormData");return this.$refs.goodsForm?t.goods_list=this.$util.deepClone(this.paymentData.goods_list):t.goods_list.forEach((function(e){if(e.goods_form){var t={};e.form_data?e.form_data.map((function(e){t[e.id]=e})):o&&o.goods_id==e.goods_id&&o.form_data.map((function(e){t[e.id]=e})),Object.keys(t).length&&e.goods_form.json_data.forEach((function(e){t[e.id]&&(e.val=t[e.id].val)}))}})),t},calculate:function(){var e=this;this.$api.sendRequest({url:this.api.calculate,data:this.handleCreateData(),success:function(t){e.$refs.loadingCover&&e.$refs.loadingCover.isShow&&e.$refs.loadingCover.hide(),0==t.code&&t.data?(e.calculateData=e.handleGoodsFormData(t.data),e.calculateData.coupon_list=e.coupon_list,t.data.delivery&&("express"==t.data.delivery.delivery_type&&(e.memberAddress=t.data.delivery.member_address),"local"==t.data.delivery.delivery_type&&(e.localMemberAddress=t.data.delivery.member_address)),t.data.goods_list.forEach((function(t){if(t.member_card_list){if(e.orderCreateData.member_goods_card[t.sku_id]){var o=e.orderCreateData.member_goods_card[t.sku_id];t.member_card_list[o]||delete e.orderCreateData.member_goods_card[t.sku_id]}}else e.orderCreateData.member_goods_card[t.sku_id]&&delete e.orderCreateData.member_goods_card[t.sku_id]})),t.data.coupon_id?e.orderCreateData.coupon.coupon_id=t.data.coupon_id:e.orderCreateData.coupon.coupon_id=0,e.$forceUpdate()):e.$util.showToast({title:t.message})}})},create:function(){var t=this;this.verify()&&!this.isRepeat&&(this.isRepeat=!0,e.showLoading({title:""}),this.$api.sendRequest({url:this.api.create,data:this.handleCreateData(),success:function(o){e.hideLoading(),0==o.code?(t.outTradeNo=o.data,e.removeStorageSync("deliveryTime"),e.removeStorageSync("goodFormData"),e.setStorageSync("paySource",""),0==t.calculateData.pay_money?((t.paymentData.is_virtual||"store"==t.orderCreateData.delivery.delivery_type)&&t.$util.subscribeMessage("ORDER_VERIFY_OUT_TIME,VERIFY_CODE_EXPIRE,VERIFY"),t.$util.redirectTo("/pages_tool/pay/result",{code:o.data},"redirectTo")):t.openChoosePayment(),t.$store.dispatch("getCartNumber")):(t.$util.showToast({title:o.message}),t.isRepeat=!1)}}))},handleCreateData:function(){var e=this,t=this.$util.deepClone(this.orderCreateData);return this.$refs.form&&(t.form_data={form_id:this.paymentData.system_form.id,form_data:this.$util.deepClone(this.$refs.form.formData)}),this.$refs.goodsForm&&(t.form_data||(t.form_data={}),t.form_data.goods_form={},this.$refs.goodsForm.forEach((function(o){t.form_data.goods_form[o._props.customAttr.sku_id]={form_id:o._props.customAttr.form_id,form_data:e.$util.deepClone(o.formData)}}))),Object.keys(t).forEach((function(e){var o=t[e];"object"==(0,a.default)(o)&&(t[e]=JSON.stringify(o))})),this.paymentData&&0==this.orderCreateData.is_virtual&&t.member_address&&this.orderCreateData.delivery&&"store"!=this.orderCreateData.delivery.delivery_type&&delete t.member_address,t},openChoosePayment:function(){if(this.paymentData.is_virtual)this.$util.subscribeMessage("ORDER_URGE_PAYMENT,ORDER_PAY");else switch(this.orderCreateData.delivery.delivery_type){case"express":this.$util.subscribeMessage("ORDER_URGE_PAYMENT,ORDER_PAY,ORDER_DELIVERY");break;case"store":this.$util.subscribeMessage("ORDER_URGE_PAYMENT,ORDER_PAY");break;case"local":this.$util.subscribeMessage("ORDER_URGE_PAYMENT,ORDER_PAY,ORDER_DELIVERY");break}this.$refs.choosePaymentPopup.getPayInfo(this.outTradeNo)},verify:function(){if(1==this.paymentData.is_virtual){if(!this.orderCreateData.member_address.mobile)return this.$util.showToast({title:"请输入预留手机"}),!1;if(!this.$util.verifyMobile(this.orderCreateData.member_address.mobile))return this.$util.showToast({title:"请输入正确的手机号"}),!1}else{if(!this.orderCreateData.delivery||!this.orderCreateData.delivery.delivery_type)return this.$util.showToast({title:"商家未设置配送方式"}),!1;if("express"==this.orderCreateData.delivery.delivery_type&&!this.memberAddress||"local"==this.orderCreateData.delivery.delivery_type&&!this.localMemberAddress)return this.$util.showToast({title:"请先选择您的收货地址"}),!1;if("store"==this.orderCreateData.delivery.delivery_type){if(!this.orderCreateData.delivery.store_id)return this.$util.showToast({title:"没有可提货的门店,请选择其他配送方式"}),!1;if(!this.orderCreateData.member_address.mobile)return this.$util.showToast({title:"请输入预留手机"}),!1;if(!this.$util.verifyMobile(this.orderCreateData.member_address.mobile))return this.$util.showToast({title:"请输入正确的手机号"}),!1;if(!this.deliveryTime)return this.$util.showToast({title:"请选择提货时间"}),!1}if("local"==this.orderCreateData.delivery.delivery_type){if(!this.orderCreateData.delivery.store_id)return this.$util.showToast({title:"没有可配送的门店,请选择其他配送方式"}),!1;if(this.calculateGoodsData.config.local.is_use&&1==this.calculateGoodsData.delivery.local.info.time_is_open&&!this.deliveryTime)return this.$util.showToast({title:"请选择送达时间"}),!1}}if(this.$refs.goodsForm){for(var e=!0,t=0;t<this.$refs.goodsForm.length;t++){var o=this.$refs.goodsForm[t];if(e=o.verify(),!e)break}if(!e)return!1}if(this.paymentData.system_form){var n=this.$refs.form.verify();if(!n)return!1}return!0},selectAddress:function(){var e={back:this.$util.getCurrentRoute().path,local:0,type:1};"local"==this.orderCreateData.delivery.delivery_type&&(e.local=1,e.type=2),this.$util.redirectTo("/pages_tool/member/address",e)},selectDeliveryType:function(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!this.orderCreateData.delivery||this.orderCreateData.delivery.delivery_type!=t.name){this.orderCreateData.delivery.buyer_ask_delivery_time={start_date:"",end_date:""},this.deliveryTime="";var i={delivery_type:t.name,delivery_type_name:t.title};"store"!=t.name&&"local"!=t.name||(t.store_list[0]&&(i.store_id=t.store_list[0].store_id),this.storeId=i.store_id?i.store_id:0,this.orderCreateData.member_address||(this.paymentData?this.orderCreateData.member_address={name:this.paymentData.member_account.nickname,mobile:this.paymentData.member_account.mobile}:n&&(this.orderCreateData.member_address={name:n.nickname,mobile:n.mobile}))),this.$set(this.orderCreateData,"delivery",i),e.setStorageSync("delivery",i),"express"==this.orderCreateData.delivery.delivery_type||this.location||this.$util.getLocation(),o&&this.payment(),"store"==t.name&&this.storetime("no"),"local"==t.name&&this.localtime("no")}},imageError:function(e){this.paymentData.goods_list[e].sku_image=this.$util.getDefaultImage().goods,this.calculateData.goods_list[e].sku_image=this.$util.getDefaultImage().goods,this.$forceUpdate()},selectPickupPoint:function(t){if(t.store_id!=this.storeId){this.storeId=t.store_id,this.orderCreateData.delivery.store_id=t.store_id,this.payment(),this.resetDeliveryTime();var o=e.getStorageSync("delivery");o.store_id=t.store_id,e.setStorageSync("delivery",o)}this.$refs.deliveryPopup.close()},resetDeliveryTime:function(){this.orderCreateData.delivery.buyer_ask_delivery_time={start_date:"",end_date:""},this.deliveryTime="",e.removeStorageSync("deliveryTime")},storetime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.storeInfo){var t=this.$util.deepClone(this.storeInfo);t.delivery_time="string"==typeof t.delivery_time&&t.delivery_time?JSON.parse(t.delivery_time):t.delivery_time,t.delivery_time&&(void 0!=t.delivery_time.length||t.delivery_time.length)||(t.delivery_time=[{start_time:t.start_time,end_time:t.end_time}]);var o={delivery:this.orderCreateData.delivery,dataTime:t};this.$refs.timePopup.open(o,e),this.$forceUpdate()}},selectPickupTime:function(t){this.deliveryTime=t.data.month+"("+t.data.time+")",this.orderCreateData.delivery.buyer_ask_delivery_time={start_date:t.data.start_date,end_date:t.data.end_date},e.setStorageSync("deliveryTime",{deliveryTime:this.deliveryTime,buyer_ask_delivery_time:this.orderCreateData.delivery.buyer_ask_delivery_time,delivery_type:this.orderCreateData.delivery.delivery_type})},storeImgError:function(){this.storeInfo.store_image=this.$util.getDefaultImage().store},openPopup:function(e){"deliveryPopup"==e&&(!this.storeList||Object.keys(this.storeList).length<=1)||(this.tempData=this.$util.deepClone(this.orderCreateData),this.$refs[e].open())},closePopup:function(e){this.orderCreateData=this.$util.deepClone(this.tempData),this.$refs[e].close(),this.tempData=null},changeIsInvoice:function(){0==this.orderCreateData.is_invoice?(this.orderCreateData.is_invoice=1,this.orderCreateData.invoice_type||(this.orderCreateData.invoice_type=this.goodsData.invoice.invoice_type.split(",")[0])):this.orderCreateData.is_invoice=0},changeInvoiceType:function(e){this.orderCreateData.invoice_type=e},changeInvoiceTitleType:function(e){this.orderCreateData.invoice_title_type=e},changeIsTaxInvoice:function(){0==this.orderCreateData.is_tax_invoice?this.orderCreateData.is_tax_invoice=1:this.orderCreateData.is_tax_invoice=0,this.$forceUpdate()},changeInvoiceContent:function(e){this.orderCreateData.invoice_content=e,this.$forceUpdate()},invoiceVerify:function(){if(!this.orderCreateData.invoice_title)return this.$util.showToast({title:"请填写发票抬头"}),!1;if(!this.orderCreateData.taxpayer_number&&2==this.orderCreateData.invoice_title_type)return this.$util.showToast({title:"请填写纳税人识别号"}),!1;if(1==this.orderCreateData.invoice_type&&!this.orderCreateData.invoice_full_address&&1==this.paymentData.is_virtual)return this.$util.showToast({title:"请填写发票邮寄地址"}),!1;if(2==this.orderCreateData.invoice_type&&!this.orderCreateData.invoice_email)return this.$util.showToast({title:"请填写邮箱"}),!1;if(2==this.orderCreateData.invoice_type){if(!/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(this.orderCreateData.invoice_email))return this.$util.showToast({title:"请填写正确的邮箱"}),!1}return!!this.orderCreateData.invoice_content||(this.$util.showToast({title:"请选择发票内容"}),!1)},saveInvoice:function(){(1!=this.orderCreateData.is_invoice||this.invoiceVerify())&&(this.calculate(),this.$refs.invoicePopup.close())},saveBuyerMessage:function(){this.$refs.buyerMessagePopup.close()},selectMemberCard:function(){this.orderCreateData.is_open_card=this.orderCreateData.is_open_card?0:1,this.orderCreateData.member_card_unit||(this.orderCreateData.member_card_unit=this.cardChargeType[0].key),this.payment()},selectMemberCardUnit:function(e){this.orderCreateData.member_card_unit=e,this.calculate()},usePoint:function(){this.orderCreateData.is_point=this.orderCreateData.is_point?0:1,this.calculate()},payClose:function(){this.$store.dispatch("getCartNumber"),this.$util.redirectTo("/pages/order/detail",{order_id:this.$refs.choosePaymentPopup.payInfo.order_id},"redirectTo")},selectCoupon:function(e){this.orderCreateData.coupon.coupon_id==e.coupon_id?this.orderCreateData.coupon={coupon_id:0}:this.orderCreateData.coupon={coupon_id:e.coupon_id}},useCoupon:function(){this.$refs.couponPopup.close(),this.calculate()},localtime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.calculateGoodsData&&this.calculateGoodsData.config.local){var t=this.$util.deepClone(this.calculateGoodsData.delivery.local.info);if(Object.keys(t).length){t.delivery_time&&(t.end_time=t.delivery_time[t.delivery_time.length-1].end_time);var o={delivery:this.orderCreateData.delivery,dataTime:t};this.$refs.timePopup.open(o,e)}}},surplusStartMoney:function(){var e=0;if(this.calculateData&&this.calculateData.delivery&&"local"==this.calculateData.delivery.delivery_type){var t,o=null!==(t=this.calculateGoodsData.delivery.start_money)&&void 0!==t?t:0;e=parseFloat(o)-parseFloat(this.calculateData.goods_money),e=e<0?0:e}return e},getTransactionAgreement:function(){var e=this;this.$api.sendRequest({url:"/api/order/transactionagreement",success:function(t){t.data&&(e.transactionAgreement=t.data,e.transactionAgreement.content&&(e.transactionAgreement.content=(0,s.default)(e.transactionAgreement.content)))}})},editForm:function(e){this.tempFormData={index:e,json_data:this.$util.deepClone(this.goodsData.goods_list[e].goods_form.json_data)},this.$refs.editFormPopup.open()},saveForm:function(){this.$refs.tempForm.verify()&&(this.$set(this.paymentData.goods_list[this.tempFormData.index].goods_form,"json_data",this.$refs.tempForm.formData),this.$refs.editFormPopup.close())},selectMemberGoodsCard:function(e){var t=this,o=this.goodsData.goods_list[e].sku_id;this.selectGoodsCard={skuId:o,itemId:this.orderCreateData.member_goods_card[o]?this.orderCreateData.member_goods_card[o]:0,cardList:this.$util.deepClone(this.calculateGoodsData.goods_list[e].member_card_list),click:function(e){t.selectGoodsCard.itemId=t.selectGoodsCard.itemId==e?0:e}},this.$refs.memberGoodsCardPopup.open()},saveMemberGoodsCard:function(){this.orderCreateData.member_goods_card[this.selectGoodsCard.skuId]=this.selectGoodsCard.itemId||0,this.$refs.memberGoodsCardPopup.close(),this.payment()},back:function(){e.navigateBack({delta:1})},getStoreList:function(){var e=null;return this.orderCreateData.delivery&&("local"==this.orderCreateData.delivery.delivery_type&&this.localConfig&&(e=this.localConfig.store_list,e=e.reduce((function(e,t){return u(u({},e),{},(0,r.default)({},t.store_id,t))}),{})),"store"==this.orderCreateData.delivery.delivery_type&&this.storeConfig&&(e=this.storeConfig.store_list,e=e.reduce((function(e,t){return u(u({},e),{},(0,r.default)({},t.store_id,t))}),{}))),e},getStore:function(e){var t,o,n=this;this.$api.sendRequest({url:"/api/store/getStorePage",data:{page_size:e.size,page:e.num,latitude:null!==(t=this.latitude)&&void 0!==t?t:"",longitude:null!==(o=this.longitude)&&void 0!==o?o:"",type:this.orderCreateData.delivery.delivery_type,store_ids:this.paymentData.available_store_ids},success:function(t){var o=[];t.message;0==t.code&&t.data&&(o=t.data.list),e.endSuccess(o.length),1==e.num&&(n.storeData=[]),n.storeData=n.storeData.concat(o)},fail:function(t){e.endErr()}})}},filters:{moneyFormat:function(e){return parseFloat(e).toFixed(2)}}};t.default=l}).call(this,o("543d")["default"],o("bc2e")["default"])},ceba:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"文章列表",emptyText:"当前暂无文章信息"}},cf03:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},cf3e:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"提现记录"}},d2e2:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},d30e:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},d46a:function(e,t,o){"use strict";(function(e,n){var i=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(o("2eee")),a=i(o("c973")),s=(o("03f6"),{data:function(){return{skuId:0,goodsId:0,isIphoneX:!1,whetherCollection:0,preview:0,videoContext:"",swiperInterval:1,swiperAutoplay:!1,swiperCurrent:1,switchMedia:"img",goodsEvaluate:[{member_headimg:"",member_name:"",content:"",images:[],create_time:0,sku_name:""}],evaluateConfig:{evaluate_audit:1,evaluate_show:0,evaluate_status:1},goodsCircle:!1,service:null,shareUrl:"",source_member:0,isCommunity:!1,poster:"-1",posterMsg:"",posterHeight:0,posterParams:{},goodsRoute:"",posterApi:"",goodsAttrShow:!1,storeList:{data:[],page:1,page_size:10},isShowStore:!1,latitude:null,longitude:null,evaluateCount:0,deliveryType:null,isVirtual:0}},created:function(){this.isIphoneX=this.$util.uniappIsIPhoneX(),this.location?(this.latitude=this.location.latitude,this.longitude=this.location.longitude):this.$util.getLocation(),this.getStoreData()},watch:{location:function(e){e&&(this.latitude=e.latitude,this.longitude=e.longitude,this.getStoreData())}},methods:{init:function(t){for(var o in this.skuId=t.sku_id,this.goodsId=t.goods_id,this.preview=t.preview,this.source_member=t.source_member,this.whetherCollection=t.whetherCollection,this.posterParams=t.posterParams,this.shareUrl=t.shareUrl,this.goodsRoute=t.goodsRoute,this.posterApi=t.posterApi,this.isVirtual=t.isVirtual,this.deliveryType=t.deliveryType,this.evaluateConfig=t.evaluateConfig,1==this.evaluateConfig.evaluate_show&&(this.getGoodsEvaluate(t.evaluateList),this.evaluateCount=t.evaluateCount),this.deliveryType)"store"==o&&(this.isShowStore=!0);this.getService(),this.videoContext=e.createVideoContext("goodsVideo"),this.goodsSyncToGoodsCircle()},swiperChange:function(e){this.swiperCurrent=e.detail.current+1},openMerchantsServicePopup:function(){this.$refs.merchantsServicePopup.open()},closeMerchantsServicePopup:function(){this.$refs.merchantsServicePopup.close()},openStoreListPopup:function(){this.$refs.storeListPopup.open()},closeStoreListPopup:function(){this.$refs.storeListPopup.close()},getStoreData:function(){var e=this,t={page:this.storeList.page,page_size:this.storeList.page_size};this.latitude&&this.longitude&&(t.latitude=this.latitude,t.longitude=this.longitude),this.$api.sendRequest({url:"/api/store/page",data:t,success:function(t){1==e.storeList.page&&e.storeList.data,t.code>=0&&t.data?e.storeList.data=e.storeList.data.concat(t.data.list):e.$util.showToast({title:t.message})}})},selectStore:function(e){this.$util.redirectTo("/pages_tool/store/detail",{store_id:e.store_id}),this.closeStoreListPopup()},switchGoodsAttr:function(){this.goodsAttrShow=!this.goodsAttrShow},getGoodsEvaluate:function(e){var t=this;e&&(this.goodsEvaluate=e,this.goodsEvaluate.forEach((function(e,o){t.goodsEvaluate[o].images&&(t.goodsEvaluate[o].images=t.goodsEvaluate[o].images.split(",")),1==t.goodsEvaluate[o].is_anonymous&&(t.goodsEvaluate[o].member_name=t.goodsEvaluate[o].member_name.replace(t.goodsEvaluate[o].member_name.substring(1,t.goodsEvaluate[o].member_name.length-1),"***"))})))},previewEvaluate:function(t,o,n){for(var i=[],r=0;r<this.goodsEvaluate[t][n].length;r++)i.push(this.$util.img(this.goodsEvaluate[t][n][r]));e.previewImage({current:o,urls:i})},collection:function(){var e=this;return(0,a.default)(r.default.mark((function t(){var o,n,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.preview){t.next=2;break}return t.abrupt("return");case 2:if(!e.storeToken){t.next=19;break}if(0!=e.whetherCollection){t.next=11;break}return t.next=6,e.$api.sendRequest({url:"/api/goodscollect/add",data:{sku_id:e.skuId,goods_id:e.goodsSkuDetail.goods_id,sku_name:e.goodsSkuDetail.sku_name,sku_price:e.goodsSkuDetail.show_price,sku_image:e.goodsSkuDetail.sku_image},async:!1});case 6:o=t.sent,n=o.data,n>0&&(e.whetherCollection=1),t.next=16;break;case 11:return t.next=13,e.$api.sendRequest({url:"/api/goodscollect/delete",data:{goods_id:e.goodsSkuDetail.goods_id},async:!1});case 13:i=t.sent,n=i.data,n>0&&(e.whetherCollection=0);case 16:return t.abrupt("return",e.whetherCollection);case 19:e.source_member?e.$refs.login.open(e.shareUrl+"&source_member="+e.source_member):e.$refs.login.open(e.shareUrl);case 20:case"end":return t.stop()}}),t)})))()},openSharePopup:function(){this.$refs.sharePopup.open()},closeSharePopup:function(){this.$refs.sharePopup.close()},copyUrl:function(){var e=this,t=this.$config.h5Domain+this.shareUrl;this.memberInfo&&this.memberInfo.member_id&&(t+="&source_member="+this.memberInfo.member_id),this.$util.copy(t,(function(){e.closeSharePopup()}))},openPosterPopup:function(){this.getGoodsPoster(),this.$refs.sharePopup.close()},closePosterPopup:function(){this.$refs.posterPopup.close(),this.poster=""},getGoodsPoster:function(){var t=this;e.showLoading({title:"海报生成中..."}),this.memberInfo&&this.memberInfo.member_id&&(this.posterParams.source_member=this.memberInfo.member_id),this.$api.sendRequest({url:this.posterApi,data:{page:this.goodsRoute,qrcode_param:JSON.stringify(this.posterParams)},success:function(o){0==o.code?(t.$refs.posterPopup.open(),t.poster=o.data.path+"?time="+(new Date).getTime()):(t.posterMsg=o.message,t.$util.showToast({title:o.message})),e.hideLoading()},fail:function(t){e.hideLoading()}})},previewMedia:function(t){for(var o=[],n=0;n<this.goodsSkuDetail.sku_images.length;n++)o.push(this.$util.img(this.goodsSkuDetail.sku_images[n],{size:"big"}));e.previewImage({current:t,urls:o})},swiperImageError:function(e){this.goodsSkuDetail.sku_images[e]=this.$util.getDefaultImage().goods,this.$forceUpdate()},saveGoodsPoster:function(){var t=this,o=this.$util.img(this.poster);e.downloadFile({url:o,success:function(o){"downloadFile:ok"==o.errMsg&&e.saveImageToPhotosAlbum({filePath:o.tempFilePath,success:function(){t.$util.showToast({title:"保存成功"})},fail:function(e){t.$util.showToast({title:"保存失败,请稍后重试"})}})},fail:function(e){t.$util.showToast({title:"保存失败,请稍后重试"})}})},getService:function(){var e=this;this.$api.sendRequest({url:"/api/goods/aftersale",success:function(t){0==t.code&&t.data&&(e.service=t.data)}})},goodsSyncToGoodsCircle:function(){var e=this;this.$api.sendRequest({url:"/goodscircle/api/goods/sync",data:{goods_id:this.goodsSkuDetail.goods_id},success:function(t){0==t.code&&(e.goodsCircle=!0)}})},openBusinessView:function(){var e=this;n.openBusinessView&&n.openBusinessView({businessType:"friendGoodsRecommend",extraData:{product:{item_code:this.goodsSkuDetail.goods_id,title:this.goodsSkuDetail.sku_name,image_list:this.goodsSkuDetail.sku_images.map((function(t){return e.$util.img(t)}))}},success:function(e){console.log("success",e)},fail:function(e){console.log("fail",e)}})},toEvaluateDetail:function(e){this.$util.redirectTo("/pages_tool/goods/evaluate",{goods_id:e})},showImg:function(t){for(var o=t.target.dataset.nodes,n=[],i=0;i<o.length;i++){var r=o[i].children;if(Array.isArray(r))for(var a=0;a<r.length;a++)r[a].attrs&&"img"==r[a].name&&r[a].attrs.src&&n.push(r[a].attrs.src)}e.previewImage({current:n,urls:n})},onCommunity:function(){this.isCommunity=!0},onCloseCommunity:function(){this.isCommunity=!1}}});t.default=s}).call(this,o("543d")["default"],o("bc2e")["default"])},d5db:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={contact:"",person:"",personadd:"","contact-filled":"","person-filled":"","personadd-filled":"",phone:"",email:"",chatbubble:"",chatboxes:"","phone-filled":"","email-filled":"","chatbubble-filled":"","chatboxes-filled":"",weibo:"",weixin:"",pengyouquan:"",chat:"",qq:"",videocam:"",camera:"",mic:"",location:"","mic-filled":"",speech:"","location-filled":"",micoff:"",image:"",map:"",compose:"",trash:"",upload:"",download:"",close:"",redo:"",undo:"",refresh:"",star:"",plus:"",minus:"",circle:"",checkbox:"","close-filled":"",clear:"","refresh-filled":"","star-filled":"","plus-filled":"","minus-filled":"","circle-filled":"","checkbox-filled":"",closeempty:"",refreshempty:"",reload:"",starhalf:"",spinner:"","spinner-cycle":"",search:"",plusempty:"",forward:"",back:"","left-nav":"",checkmarkempty:"",home:"",navigate:"",gear:"",paperplane:"",info:"",help:"",locked:"",more:"",flag:"","home-filled":"","gear-filled":"","info-filled":"","help-filled":"","more-filled":"",settings:"",list:"",bars:"",loop:"",paperclip:"",eye:"",arrowup:"",arrowdown:"",arrowleft:"",arrowright:"",arrowthinup:"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",pulldown:"",closefill:"",sound:"",scan:""}},d69d6:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"充值记录"}},d7af:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"充值列表"}},d7d9:function(e,t,o){"use strict";(function(e,n){var i=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(o("2eee")),a=i(o("7037")),s=i(o("c973")),c=i(o("32df")),u=i(o("e746")),l=i(o("7452")),d=o("03f6"),f={redirectTo:function(t,o,n){var i=t,r=["/pages/index/index","/pages/goods/category","/pages/goods/cart","/pages/member/index"];void 0!=o&&Object.keys(o).forEach((function(e){-1!=i.indexOf("?")?i+="&"+e+"="+o[e]:i+="?"+e+"="+o[e]}));for(var a=0;a<r.length;a++)if(0==i.indexOf(r[a]))return void e.switchTab({url:i});switch(n){case"tabbar":e.switchTab({url:i});break;case"redirectTo":e.redirectTo({url:i});break;case"reLaunch":e.reLaunch({url:i});break;default:e.navigateTo({url:i})}},img:function(e,t){var o="";if(void 0!=e&&""!=e){if(e.split(",").length>1&&(e=e.split(",")[0]),t&&e!=this.getDefaultImage().goods){var n=e.split("."),i=n[n.length-1];n.pop(),n[n.length-1]=n[n.length-1]+"_"+t.size.toUpperCase(),n.push(i),e=n.join(".")}o=-1==e.indexOf("http://")&&-1==e.indexOf("https://")?c.default.imgDomain+"/"+e:e}return o},timeStampTurnTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Y-m-d H:i:s";if(t=t.toLowerCase(),void 0!=e&&""!=e&&e>0){var o=new Date;o.setTime(1e3*e);var n=o.getFullYear(),i=o.getMonth()+1;i=i<10?"0"+i:i;var r=o.getDate();r=r<10?"0"+r:r;var a=o.getHours();a=a<10?"0"+a:a;var s=o.getMinutes(),c=o.getSeconds();return s=s<10?"0"+s:s,c=c<10?"0"+c:c,t=t.replace("y",n),t=t.replace("m",i),t=t.replace("d",r),t=t.replace("h",a),t=t.replace("i",s),t=t.replace("s",c),t}return""},timeTurnTimeStamp:function(e){var t=e.split(" ",2),o=(t[0]?t[0]:"").split("-",3),n=(t[1]?t[1]:"").split(":",3);return new Date(parseInt(o[0],10)||null,(parseInt(o[1],10)||1)-1,parseInt(o[2],10)||null,parseInt(n[0],10)||null,parseInt(n[1],10)||null,parseInt(n[2],10)||null).getTime()/1e3},countDown:function(e){var t=0,o=0,n=0,i=0;return e>0&&(t=Math.floor(e/86400),o=Math.floor(e/3600)-24*t,n=Math.floor(e/60)-24*t*60-60*o,i=Math.floor(e)-24*t*60*60-60*o*60-60*n),t<10&&(t="0"+t),o<10&&(o="0"+o),n<10&&(n="0"+n),i<10&&(i="0"+i),{d:t,h:o,i:n,s:i}},unique:function(e,t){var o=new Map;return e.filter((function(e){return!o.has(e[t])&&o.set(e[t],1)}))},inArray:function(e,t){return null==t?-1:t.indexOf(e)},getDay:function(e){var t=new Date,o=t.getTime()+864e5*e;t.setTime(o);var n=function(e){var t=e;return 1==e.toString().length&&(t="0"+e),t},i=t.getFullYear(),r=t.getMonth(),a=t.getDate(),s=t.getDay(),c=parseInt(t.getTime()/1e3);r=n(r+1),a=n(a);return{t:c,y:i,m:r,d:a,w:["周日","周一","周二","周三","周四","周五","周六"][s]}},upload:function(t,o,n,i){var a=this,c={token:u.default.state.token,app_type:"weapp",app_type_name:"微信小程序"};c=Object.assign(c,o);var l=t,d=this;e.chooseImage({count:l,sizeType:["compressed"],sourceType:["album","camera"],success:function(){var t=(0,s.default)(r.default.mark((function t(s){var u,l,f,p,h;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:u=s.tempFilePaths,l=c,f=[],e.showLoading({title:"图片上传中"}),p=0;case 5:if(!(p<u.length)){t.next=21;break}return t.prev=6,t.next=9,d.upload_file_server(u[p],l,o.path,i);case 9:h=t.sent,f.push(h),t.next=17;break;case 13:return t.prev=13,t.t0=t["catch"](6),a.showToast({title:t.t0}),t.abrupt("break",21);case 17:f.length==u.length&&(e.hideLoading(),e.showToast({title:"上传成功",icon:"none"}),"function"==typeof n&&n(f));case 18:p++,t.next=5;break;case 21:case"end":return t.stop()}}),t,null,[[6,13]])})));return function(e){return t.apply(this,arguments)}}(),fail:function(t){"chooseImage:fail cancel"!=t.errMsg&&e.showToast({title:"上传失败",icon:"none"})}})},upload_file_server:function(t,o,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(i)var r=c.default.baseUrl+i;else r=c.default.baseUrl+"/api/upload/"+n;return new Promise((function(n,i){e.uploadFile({url:r,filePath:t,name:"file",fileType:o.fileType||"image",formData:o,success:function(t){var o=JSON.parse(t.data);o.code>=0?n(o.data.pic_path):i(o.message),e.hideLoading()},fail:function(t){200!=t.statusCode&&(i(t.errMsg||"上传错误"),e.hideLoading())},complete:function(t){200!=t.statusCode&&(i("服务器发生错误"),e.hideLoading())}})}))},copy:function(t,o){e.setClipboardData({data:t,success:function(){"function"==typeof o&&o()}})},isWeiXin:function(){return!1},showToast:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.title=t.title||"",t.icon=t.icon||"none",t.duration=t.duration||1500,e.showToast(t),t.success&&t.success()},isIPhoneX:function(){var t=e.getSystemInfoSync();return-1!=t.model.search("iPhone X")},isAndroid:function(){var t=e.getSystemInfoSync().platform;return"ios"!=t&&("android"==t||void 0)},deepClone:function(e){var t=function(e){return"object"==(0,a.default)(e)};if(!t(e))throw new Error("obj 不是一个对象!");var o=Array.isArray(e),n=o?[]:{};for(var i in e)n[i]=t(e[i])?this.deepClone(e[i]):e[i];return n},diyRedirectTo:function(t){if(null!=t&&1!=Object.keys(t).length)if(t.wap_url&&-1!=t.wap_url.indexOf("http")||t.wap_url&&-1!=t.wap_url.indexOf("https"))this.redirectTo("/pages_tool/webview/webview",{src:encodeURIComponent(t.wap_url)});else if(t.appid)e.navigateToMiniProgram({appId:t.appid,path:t.page});else if("MOBILE"!=t.name||t.wap_url)if("MEMBER_CONTACT"==t.name){var o,i=u.default.state.servicerConfig;switch(o=i.weapp,o.type){case"wxwork":n.openCustomerServiceChat({extInfo:{url:o.wxwork_url},corpId:o.corpid,showMessageCard:!0,sendMessageTitle:"this.sendMessageTitle",sendMessagePath:"this.sendMessagePath",sendMessageImg:"this.sendMessageImg"});break;case"third":window.location.href=o.third_url;break;case"niushop":this.redirectTo("/pages_tool/chat/room");break;case"weapp":this.redirectTo(t.wap_url);break;default:var r=u.default.state.siteInfo;r&&r.site_tel?e.makePhoneCall({phoneNumber:r.site_tel}):this.showToast({title:"抱歉,商家暂无客服,请线下联系"})}}else t.wap_url&&this.redirectTo(t.wap_url);else e.makePhoneCall({phoneNumber:t.mobile,success:function(e){},fail:function(e){}})},getDefaultImage:function(){var e=u.default.state.defaultImg;return e.goods=this.img(e.goods),e.head=this.img(e.head),e.store=this.img(e.store),e.article=this.img(e.article),e},uniappIsIPhoneX:function(){var t=!1,o=e.getSystemInfoSync();return-1==o.model.search("iPhone X")&&-1==o.model.search("iPhone 11")&&-1==o.model.search("iPhone 12")&&-1==o.model.search("iPhone 13")||(t=!0),t},uniappIsIPhone11:function(){var t=!1,o=e.getSystemInfoSync();return-1!=o.model.search("iPhone 11")&&(t=!0),t},numberFixed:function(e,t){return t||(t=0),Number(e).toFixed(t)},getUrlCode:function(e){var t=location.search,o=new Object;if(-1!=t.indexOf("?"))for(var n=t.substr(1),i=n.split("&"),r=0;r<i.length;r++)o[i[r].split("=")[0]]=i[r].split("=")[1];"function"==typeof e&&e(o)},getCurrRoute:function(){var e=getCurrentPages();return e.length?e[e.length-1].route:""},goBack:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/pages/index/index";1==getCurrentPages().length?this.redirectTo(t):e.navigateBack()},getTimeStr:function(e){var t=parseInt(e/3600).toString(),o=parseInt(e%3600/60).toString();return 1==o.length&&(o="0"+o),1==t.length&&(t="0"+t),t+":"+o},getLocation:function(){var t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.getLocation({type:null!==(t=o.type)&&void 0!==t?t:"gcj02",success:function(e){u.default.commit("setLocation",e),"function"==typeof o.success&&o.success(e)},fail:function(e){"function"==typeof o.fail&&o.fail(e)},complete:function(e){"function"==typeof o.complete&&o.complete(e)}})},getDistance:function(e,t,o,n){var i=e*Math.PI/180,r=o*Math.PI/180,a=i-r,s=t*Math.PI/180-n*Math.PI/180,c=2*Math.asin(Math.sqrt(Math.pow(Math.sin(a/2),2)+Math.cos(i)*Math.cos(r)*Math.pow(Math.sin(s/2),2)));return c*=6378.137,c=Math.round(1e4*c)/1e4,c},onSourceMember:function(t){l.default.sendRequest({url:"/api/Member/alterShareRelation",data:{share_member:t},success:function(t){t.code>=0&&e.removeStorage({key:"source_member",success:function(e){console.log("删除成功",e)}})}})},subscribeMessage:function(t){l.default.sendRequest({url:"/weapp/api/weapp/messagetmplids",data:{keywords:t},success:function(t){t.data.length&&e.requestSubscribeMessage({tmplIds:t.data,success:function(e){console.log("res",e)},fail:function(e){console.log("fail",e)}})}})},getMpShare:function(e){if(!e){var t=this.getCurrentRoute();if(e=t.path,"/pages/member/index"==e)return new Promise((function(e,t){e({})}))}return new Promise((function(t,o){l.default.sendRequest({url:"/weapp/api/weapp/share",data:{path:e},success:function(e){if(e.code>=0){var n=e.data.data;if(n){var i={title:n.title,path:n.path,imageUrl:n.imageUrl,success:function(e){},fail:function(e){}};n.path.indexOf("?")>0&&n.path.split("?")[1];var r={title:n.title,query:n.path,imageUrl:n.imageUrl};t({appMessage:i,timeLine:r})}else o(e.data)}else o(e.data)}})}))},setPublicShare:function(t,o){var n=this;this.isWeiXin()&&l.default.sendRequest({url:"/wechat/api/wechat/jssdkconfig",data:{url:"ios"==e.getSystemInfoSync().platform?e.getStorageSync("initUrl"):window.location.href},success:function(e){if(0==e.code){var i,r,a,s=new d.Weixin;s.init(e.data),s.weixin.showOptionMenu(),s.setShareData({title:null!==(i=t.title)&&void 0!==i?i:"",desc:null!==(r=t.desc)&&void 0!==r?r:"",link:null!==(a=t.link)&&void 0!==a?a:location.href,imgUrl:t.imgUrl?n.img(t.imgUrl):""},(function(e){"function"==typeof o&&o(e)}))}}})},getCurrentRoute:function(){var e=getCurrentPages(),t=e[e.length-1].route,o=e[e.length-1].options,n=[];for(var i in o)n.push(i+"="+o[i]);var r="/"+t,a=n.join("&");return a&&(r+="?"+a),{path:r,query:a}},getCurrentShareRoute:function(e){var t=this.getCurrentRoute();return t.path=t.path.replace(/[?|&]source_member=\d+/,""),e&&(t.path.indexOf("?")>0?t.path+="&":t.path+="?",t.path+="source_member="+e,t.query&&(t.query+="&"),t.query+="source_member="+e),t},objToStyle:function(e){var t=[];for(var o in e)t.push(o+":"+e[o]);return t.join(";")},colourBlend:function(e,t,o){o=Math.max(Math.min(Number(o),1),0);var n=parseInt(e.substring(1,3),16),i=parseInt(e.substring(3,5),16),r=parseInt(e.substring(5,7),16),a=parseInt(t.substring(1,3),16),s=parseInt(t.substring(3,5),16),c=parseInt(t.substring(5,7),16),u=Math.round(n*(1-o)+a*o),l=Math.round(i*(1-o)+s*o),d=Math.round(r*(1-o)+c*o);return u=("0"+(u||0).toString(16)).slice(-2),l=("0"+(l||0).toString(16)).slice(-2),d=("0"+(d||0).toString(16)).slice(-2),"#"+u+l+d},bezier:function(e,t){var o=[],n=[],i=[],r=Math.sqrt(Math.pow(e[1]["x"]-e[0]["x"],2)+Math.pow(e[1]["y"]-e[0]["y"],2)),a=Math.sqrt(Math.pow(e[2]["x"]-e[1]["x"],2)+Math.pow(e[2]["y"]-e[1]["y"],2));if(e[0]["x"]>e[2]["x"])var s=-r/t,c=-a/t;else s=+r/t,c=+a/t;for(var u=(e[1]["y"]-e[0]["y"])/(e[1]["x"]-e[0]["x"]),l=(e[2]["y"]-e[1]["y"])/(e[2]["x"]-e[1]["x"]),d=Math.atan(u),f=Math.atan(l),p=1;p<=t;p++){var h=s*p,g=c*p,m={};m["x"]=h*Math.cos(d)+e[0]["x"],m["y"]=h*Math.sin(d)+e[0]["y"],n.push(m);var _={};_["x"]=g*Math.cos(f)+e[1]["x"],_["y"]=g*Math.sin(f)+e[1]["y"],i.push(_);var v=(_["y"]-m["y"])/(_["x"]-m["x"]),y=Math.atan(v),b=Math.sqrt(Math.pow(_["x"]-m["x"],2)+Math.pow(_["y"]-m["y"],2)),w=h/r*b,S={};S["x"]=w*Math.cos(y)+m["x"],S["y"]=w*Math.sin(y)+m["y"],o.push(S)}return{bezier_points:o}},verifyMobile:function(e){var t=/^\d{11}$/.test(e);return t},getStorageKey:function(e){return c.default.storagePrefix+e},rewriteUniStorageMethod:function(){var t=this,o=e.setStorageSync,n=e.setStorage,i=e.getStorage,r=e.getStorageSync,a=e.removeStorage,s=e.removeStorageSync;e.setStorage=function(e){e.key=t.getStorageKey(e.key),n(e)},e.setStorageSync=function(e,n){o(t.getStorageKey(e),n)},e.getStorage=function(e){e.key=t.getStorageKey(e.key),i(e)},e.getStorageSync=function(e){return r(t.getStorageKey(e))},e.removeStorage=function(e){e.key=t.getStorageKey(e.key),a(e)},e.removeStorageSync=function(e){return s(t.getStorageKey(e))}}};t.default=f}).call(this,o("543d")["default"],o("bc2e")["default"])},d982:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"秒杀专区"}},db19:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},db86:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"提现详情"}},db93:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},dd76:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"会员中心",login:"立即登录",loginTpis:"登录体验更多功能",memberLevel:"会员等级",moreAuthority:"更多权限",allOrders:"全部订单",seeAllOrders:"查看全部订单",waitPay:"待付款",readyDelivery:"待发货",waitDelivery:"待收货",refunding:"退款",sign:"签到",personInfo:"个人资料",receivingAddress:"收货地址",accountList:"账户列表",couponList:"优惠券",mySpellList:"我的拼单",myBargain:"我的砍价",virtualCode:"虚拟码",winningRecord:"我的礼品",myCollection:"我的关注",myTracks:"我的足迹",pintuanOrder:"拼团订单",yushouOrder:"预售订单",verification:"核销台",message:"我的消息",exchangeOrder:"积分兑换",balance:"余额",point:"积分",coupon:"优惠券",memberRecommend:"邀请有礼",myPresale:"我的预售",myGiftcard:"我的礼品卡",myDivideticket:"我的瓜分券",myRebate:"拼团返利",myHongbao:"我的红包列表",myBlindBox:"我的盲盒"}},deff:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},e00a:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"商品列表"}},e019:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},e149:function(e,t,o){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["zh-cn","en-us"],i=e.getStorageSync("lang")||"zh-cn",r={langList:["zh-cn","en-us"],lang:function(e){var t=getCurrentPages()[getCurrentPages().length-1];if(t){var n,r="";try{var a=o("f04e")("./"+i+"/common.js").lang,s=t.route.split("/");n=s.slice(1,s.length);var c=o("aaa8")("./"+i+"/"+n.join("/")+".js").lang;for(var u in c)a[u]=c[u];var l=e.split(".");if(l.length>1)for(var d in l){var f=parseInt(d)+1;f<l.length&&(r=a[l[d]][l[f]])}else r=a[e]}catch(h){r=-1!=e.indexOf("common.")||-1!=e.indexOf("tabBar.")?a[e]:e}if(arguments.length>1)for(var p=1;p<arguments.length;p++)r=r.replace("{"+(p-1)+"}",arguments[p]);return(void 0==r||"title"==r&&"title"==e)&&(r=""),r}},change:function(t){var o=getCurrentPages()[getCurrentPages().length-1];o&&(e.setStorageSync("lang",t),i=e.getStorageSync("lang")||"zh-cn",this.refresh(),e.reLaunch({url:"/pages/member/index"}))},refresh:function(){var e=getCurrentPages()[getCurrentPages().length-1];e&&this.title(this.lang("title"))},title:function(t){t&&e.setNavigationBarTitle({title:t,success:function(e){},fail:function(e){}})},list:function(){var e=[];try{for(var t=0;t<n.length;t++){var i=o("f04e")("./"+n[t]+"/common.js").lang;e.push({name:i.common.name,value:n[t]})}}catch(r){}return e}};t.default=r}).call(this,o("543d")["default"])},e18b:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"预售专区"}},e2ab:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"领取优惠券"}},e2b3:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"会员卡"}},e2db:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},e442:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},e50d:function(e,t,o){var n=o("7037")["default"];e.exports=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},e6cc:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分中心"}},e746:function(e,t,o){"use strict";(function(e){var n=o("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o("7037")),r=n(o("66fd")),a=n(o("26cb")),s=n(o("7452")),c=n(o("161c"));r.default.use(a.default);var u=new a.default.Store({state:{token:null,siteInfo:null,memberInfo:null,tabBarList:"",siteState:1,themeStyle:"",addonIsExist:{bundling:0,coupon:0,discount:0,fenxiao:0,gift:0,groupbuy:0,manjian:0,memberconsume:0,memberrecharge:0,memberregister:0,membersignin:0,memberwithdraw:0,memberrecommend:0,pintuan:0,pointexchange:0,seckill:0,store:0,topic:0,bargain:0,membercancel:0,servicer:0,supermember:0,giftcard:0,divideticket:0,scenefestival:0,birthdaygift:0,pinfan:0,form:0},authInfo:{},flRefresh:0,location:null,defaultImg:{goods:"",head:"",store:"",article:""},cartList:{},cartIds:[],cartNumber:0,cartMoney:0,cartChange:0,bottomNavHidden:!1,globalStoreConfig:null,globalStoreInfo:null,defaultStoreInfo:null,cartPosition:null,componentRefresh:0,servicerConfig:null,diySeckillInterval:0,diyGroupPositionObj:{},diyGroupShowModule:"",tabBarHeight:"56px",mapConfig:{tencent_map_key:"",wap_is_open:1,wap_valid_time:0},copyright:null,initStatus:!1},mutations:{setDiyGroupShowModule:function(e,t){e.diyGroupShowModule=t},setDiyGroupPositionObj:function(e,t){e.diyGroupPositionObj=Object.assign({},e.diyGroupPositionObj,t)},setSiteState:function(e,t){e.siteState=t},setThemeStyle:function(t,o){t.themeStyle=o,e.setStorageSync("themeStyle",o)},setTabBarList:function(e,t){e.tabBarList=t},setAddonIsExist:function(t,o){t.addonIsExist=o,e.setStorageSync("addonIsExist",o)},setToken:function(t,o){t.token=o,o?e.setStorageSync("token",o):e.removeStorageSync("token")},setAuthinfo:function(e,t){e.authInfo=t},setflRefresh:function(e,t){e.flRefresh=t},setLocation:function(t,o){var n=new Date;n.setSeconds(60*t.mapConfig.wap_valid_time),o.valid_time=n.getTime()/1e3,t.location=o,e.setStorageSync("location",o)},setDefaultImg:function(t,o){t.defaultImg=o,e.setStorageSync("defaultImg",o)},setSiteInfo:function(t,o){t.siteInfo=o,e.setStorageSync("siteInfo",o)},setCartChange:function(e){e.cartChange+=1},setBottomNavHidden:function(e,t){e.bottomNavHidden=t},setGlobalStoreConfig:function(t,o){t.globalStoreConfig=o,e.setStorageSync("globalStoreConfig",o)},setGlobalStoreInfo:function(t,o){t.globalStoreInfo=o,e.setStorageSync("globalStoreInfo",o)},setDefaultStoreInfo:function(t,o){t.defaultStoreInfo=o,e.setStorageSync("defaultStoreInfo",o)},setCartPosition:function(e,t){e.cartPosition=t},setComponentRefresh:function(e){e.componentRefresh+=1},setServicerConfig:function(t,o){t.servicerConfig=o,e.setStorageSync("servicerConfig",o)},setDiySeckillInterval:function(e,t){e.diySeckillInterval=t},setTabBarHeight:function(e,t){e.tabBarHeight=t},setMapConfig:function(t,o){t.mapConfig=o,e.setStorageSync("mapConfig",o)},setCopyright:function(t,o){t.copyright=o,e.setStorageSync("copyright",o)},setMemberInfo:function(t,o){o&&0==o.status&&(o=null),t.memberInfo=o,o?e.setStorageSync("memberInfo",o):(e.removeStorageSync("memberInfo"),this.commit("setToken",""),this.dispatch("emptyCart"),e.removeStorageSync("authInfo"))},setCartNumber:function(e,t){e.cartNumber=t},setCartList:function(e,t){e.cartList=t},setCartIds:function(e,t){e.cartIds=t},setCartMoney:function(e,t){e.cartMoney=t},setInitStatus:function(e,t){e.initStatus=t}},actions:{init:function(){var e=this;return new Promise((function(t,o){s.default.sendRequest({url:"/api/config/init",success:function(o){var n=o.data;n&&(e.commit("setThemeStyle",c.default[n.style_theme.name]),e.commit("setTabBarList",n.diy_bottom_nav),e.commit("setAddonIsExist",n.addon_is_exist),e.commit("setDefaultImg",n.default_img),e.commit("setSiteInfo",n.site_info),e.commit("setServicerConfig",n.servicer),e.commit("setCopyright",n.copyright),e.commit("setMapConfig",n.map_config),e.commit("setGlobalStoreConfig",n.store_config),n.store_info?e.commit("setDefaultStoreInfo",n.store_info):(e.commit("setDefaultStoreInfo",null),e.commit("setGlobalStoreInfo",null)),e.commit("setInitStatus",!0),t(n))}})}))},getCartNumber:function(){var e=this;s.default.sendRequest({url:"/api/cart/lists",data:{},success:function(t){if(0==t.code){var o={},n=[],r=0,a=0;if(t.data.length)for(var s in t.data.forEach((function(e){var t={cart_id:e.cart_id,goods_id:e.goods_id,sku_id:e.sku_id,num:e.num,discount_price:e.discount_price};o["goods_"+t.goods_id]||(o["goods_"+t.goods_id]={}),o["goods_"+t.goods_id]["sku_"+t.sku_id]=t,n.push(t.cart_id)})),o){var c=0,u=0;for(var l in o[s]){var d=o[s][l];"object"==(0,i.default)(d)&&(c+=d.num,u+=parseFloat(d.discount_price)*parseInt(d.num))}o[s].num=c,o[s].total_money=u,a+=c,r+=u}e.commit("setCartList",o),e.commit("setCartIds",n),e.commit("setCartNumber",a),e.commit("setCartMoney",r)}}})},emptyCart:function(){this.commit("setCartList",{}),this.commit("setCartIds",[]),this.commit("setCartNumber",0),this.commit("setCartMoney",0)},cartCalculate:function(){var e=[],t=0,o=0;for(var n in this.state.cartList){var r=this.state.cartList[n],a=0,s=0;for(var c in r)"object"==(0,i.default)(r[c])&&(a+=r[c].num,s+=parseFloat(r[c].discount_price)*parseInt(r[c].num),e.push(r[c].cart_id));r.num=a,r.total_money=s,o+=a,t+=s}this.commit("setCartNumber",o),this.commit("setCartMoney",t),this.commit("setCartIds",e)}}}),l=u;t.default=l}).call(this,o("543d")["default"])},ebde:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"待付款订单"}},ec3b:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"个人资料",headImg:"头像",account:"账号",nickname:"昵称",realName:"真实姓名",sex:"性别",birthday:"生日",password:"密码",paypassword:"支付密码",mobilePhone:"手机",bindMobile:"绑定手机",cancellation:"注销账号",lang:"语言",logout:"退出登录",save:"保存",noset:"未设置",nickPlaceholder:"请输入新昵称",pleaseRealName:"请输入真实姓名",nowPassword:"当前密码",newPassword:"新密码",confirmPassword:"确认新密码",phoneNumber:"手机号",confirmCode:"验证码",confirmCodeInput:"请输入验证码",confirmCodeInputerror:"验证码错误",findanimateCode:"获取动态码",animateCode:"动态码",animateCodeInput:"请输入动态码",modifyNickname:"修改昵称",modifyPassword:"修改密码",bindPhone:"绑定手机",alikeNickname:"与原昵称一致,无需修改",noEmityNickname:"昵称不能为空",updateSuccess:"修改成功",pleaseInputOldPassword:"请输入原始密码",pleaseInputNewPassword:"请输入新密码",passwordLength:"密码长度不能小于6位",alikePassword:"两次密码不一致",samePassword:"新密码不能与原密码相同",surePhoneNumber:"请输入正确的手机号",alikePhone:"与原手机号一致,无需修改",modify:"修改"}},ef41:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分明细",emptyTpis:"您暂时还没有积分记录哦!",pointExplain:"积分说明"}},f04e:function(e,t,o){var n={"./en-us/common.js":"fe84","./zh-cn/common.js":"04d7"};function i(e){var t=r(e);return o(t)}function r(e){if(!o.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id="f04e"},f091:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"物流信息"}},f0c5:function(e,t,o){"use strict";function n(e,t,o,n,i,r,a,s,c,u){var l,d="function"===typeof e?e.options:e;if(c){d.components||(d.components={});var f=Object.prototype.hasOwnProperty;for(var p in c)f.call(c,p)&&!f.call(d.components,p)&&(d.components[p]=c[p])}if(u&&("function"===typeof u.beforeCreate&&(u.beforeCreate=[u.beforeCreate]),(u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(d.mixins||(d.mixins=[])).push(u)),t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var h=d.render;d.render=function(e,t){return l.call(t),h(e,t)}}else{var g=d.beforeCreate;d.beforeCreate=g?[].concat(g,l):[l]}return{exports:e,options:d}}o.d(t,"a",(function(){return n}))},f266:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"大转盘"}},f30e:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"品牌专区"}},f3c9:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"注册",mobileRegister:"手机号注册",accountRegister:"账号注册",mobilePlaceholder:"手机号登录仅限中国大陆用户",dynacodePlaceholder:"请输入动态码",captchaPlaceholder:"请输入验证码",accountPlaceholder:"请输入用户名",passwordPlaceholder:"请输入密码",rePasswordPlaceholder:"请确认密码",completeRegister:"完成注册,并登录",registerTips:"点击注册即代表您已同意",registerAgreement:"注册协议",next:"下一步",save:"保存"}},f532:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"修改头像"}},f82f:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},f938:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},f9d9:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账户列表",name:"姓名",accountType:"账号类型",mobilePhone:"手机号码",withdrawalAccount:"提现账号",bankInfo:"支行信息",newAddAccount:"新增账户",del:"删除",update:"修改",emptyText:"当前暂无账户"}},fab2:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"砸金蛋"}},fad9:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"商品评价"}},fe52:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},fe76:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"拼团专区"}},fe7b:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"帮助详情"}},fe84:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={tabBar:{home:"index",category:"category",cart:"cart",member:"member"},common:{name:"英文",mescrollTextInOffset:"pull to refresh",mescrollTextOutOffset:"Loading...",mescrollEmpty:"No data available",goodsRecommendTitle:"Guess you like",currencySymbol:"¥"}}},ffcb:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分兑换",emptyTips:"暂无更多数据了"}}}]);
金穗农资
captcha