1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index","circle-page-circle-index~circle-page-home-index~circle-page-index2-index2~diy-page-index~housewifery~8b083902","circle-page-blogger-index~circle-page-circle-index~circle-page-detail-index~circle-page-home-index~c~2e5a9b71","airportPickup-chooseCard~cinema-page-index~pages-index-pages-home~store-page-linkage-linkpage~system~c6f2f226","order-page-submit-order-index~order-page-takeout-order-detail-index~pages-index-pages-home~plugin-pa~af45a450","market-page-home-index~order-page-write-off-store~plugin-page-sharepacket-index~store-page-search-in~72bb7e56","order-page-appraise-order-errander-order-appeal~order-page-write-off-index~plugin-page-errander-inde~2dd50168","order-page-write-off-store~plugin-page-sharepacket-index~store-page-search-index~store-page-search-s~82c99bdf","order-page-shopping-cart-index~store-page-goodsDetail-index","pages-order-order~system-page-order-index"],{"0009":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return this.show?e("v-uni-view",{staticClass:"tn-loading-class tn-loading",class:["tn-loading-"+this.mode,this.animation?"tn-loading-"+this.mode+"--animation":""],style:[this.loadStyle]}):this._e()},n=[]},"000a":function(t,e,i){"use strict";var a=i("1317");e["a"]=a["a"]},"001b":function(t,e,i){var a=i("3aeb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("0c6326c4",a,!0,{sourceMap:!1,shadowMode:!1})},"00d7":function(t,e,i){"use strict";i.r(e);var a=i("ff5a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"00f9":function(t,e,i){var a=i("0bd2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("1bda4e10",a,!0,{sourceMap:!1,shadowMode:!1})},"0221":function(t,e,i){"use strict";i.r(e);var a=i("283e"),n=i("c386");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6634");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"e2633cd0",null,!1,a["a"],void 0);e["default"]=r.exports},"0243":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("d4b5"),i("bf0f"),i("2797"),i("aa9c"),i("5ef2"),i("dd2b"),i("e838");var a=i("cf41"),n=i("ba1f"),o={name:"newSpecifications",props:{show:{type:Boolean,default:!1},goodId:{type:[String,Number],default:""},sid:{type:[String,Number],default:""},goodPrice:{type:[String,Number],default:""},parent_not_need_choose_productList:{type:Array,default:[]},parent_need_choose_productList:{type:Array,default:[]},good_old_price:{type:[String,Number],default:""},good_code:{type:[String,Number],default:""},desc:{type:String,default:""}},data:function(){return{num:1,shopCart:!1,goodsDetail:null,not_need_choose_productList:[],need_choose_productList:[],selected_list:[],selected_ids:[]}},watch:{show:{handler:function(t){console.log("val",t),t&&(this.not_need_choose_productList=JSON.parse(JSON.stringify(this.parent_not_need_choose_productList)),this.need_choose_productList=JSON.parse(JSON.stringify(this.parent_need_choose_productList)),console.log("this.need_choose_productList",this.need_choose_productList),console.log("this.goodPrice",this.goodPrice),this.selected_ids=[])},immediate:!0}},computed:{selectedGoods:function(){var t=this,e=[];return this.not_need_choose_productList.forEach((function(i){i.comboProducts.forEach((function(i){e.push(i),-1==t.selected_ids.indexOf(i.id)&&t.selected_ids.push(i.id)}))})),this.need_choose_productList.forEach((function(i,a){i.comboProducts.forEach((function(i,n){if("avctMod2"==i.class)for(var o=i.choose_num,s=0;s<o;s++)console.log("j",s),i.parent_index=a,i.current_index=n,e.push(i),-1==t.selected_ids.indexOf(i.id)?t.selected_ids.push(i.id):function(){var e=0;t.selected_ids.forEach((function(t){t==i.id&&e++})),e<o&&t.selected_ids.push(i.id)}();else{var r=t.selected_ids.indexOf(i.id);r>-1&&t.selected_ids.splice(r,1)}}))})),console.log("arr",e),e}},methods:{totalPrice:function(){var t=this.goodPrice;t=parseFloat(t);var e=this.good_old_price;console.log("价格",t,e),e=parseFloat(e),this.selectedGoods.forEach((function(e){if(e){var i=parseFloat(e.diffPrice||e.diff_price);i&&(t+=i)}})),t=Number(t),e=Number(e),t=t.toFixed(2),e=e.toFixed(2);var i=(t/e).toFixed(2);return{total:t,old_price:e,discount:i}},initMaterial:function(){var t=this;(0,a.initMaterialApi)({sid:this.sid,goods_id:this.goodId}).then((function(e){console.log(e),e.data&&t.getMaterial()})).catch((function(t){console.log(t)}))},getMaterial:function(){var t=this;(0,a.getMaterialApi)({goods_id:this.goodId}).then((function(e){console.log(e),e.forEach((function(e){1==e.type?t.not_need_choose_productList.push(e):(1==e.max_quantity?e.choose_text="单选":e.choose_text="选"+e.max_quantity+"份",e.comboProducts.forEach((function(t){t.class=""})),t.need_choose_productList.push(e))})),console.log("not_need_choose_productList",t.not_need_choose_productList),console.log("need_choose_productList",t.need_choose_productList)})).catch((function(t){console.log(t)}))},getDetailInfo:function(){var t=this;(0,a.getApiGoodsDetailApi)({productCode:this.goodId,sid:this.sid}).then((function(e){console.log(e),t.goodsDetail=e;var i=t.goodsDetail.comboItems;i.forEach((function(e){0==e.isChoices||1==e.isChoices&&1==e.maxQuantity&&1==e.comboProducts.length?t.not_need_choose_productList.push(e):(1==e.maxQuantity?e.choose_text="单选":e.choose_text="选"+e.maxQuantity+"份",e.comboProducts.forEach((function(t){t.class=""})),t.need_choose_productList.push(e))})),console.log("not_need_choose_productList",t.not_need_choose_productList),console.log("need_choose_productList",t.need_choose_productList)})).catch((function(t){console.log(t)}))},chooseItem:function(t,e,i){if("avctMod2"==this.need_choose_productList[e].comboProducts[i].class){if(1==t)return;var a=this.need_choose_productList[e].has_choose_num;if(a>=t)return void uni.showToast({title:"最多选择"+t+"份",icon:"none"});a+=1,this.need_choose_productList[e].has_choose_num=a,this.need_choose_productList[e].comboProducts[i].choose_num+=1}else if(1==t)this.need_choose_productList[e].comboProducts.forEach((function(t,e){t.class=""})),this.need_choose_productList[e].has_choose_num=1,this.need_choose_productList[e].comboProducts[i].choose_num=1,this.need_choose_productList[e].comboProducts[i].class="avctMod2";else{var n=this.need_choose_productList[e].has_choose_num;this.need_choose_productList[e].comboProducts.forEach((function(t,e){"avctMod2"==t.class&&0})),n>=t?uni.showToast({title:"最多选择"+t+"份",icon:"none"}):(this.need_choose_productList[e].has_choose_num=n+1,this.need_choose_productList[e].comboProducts[i].choose_num+=1,this.need_choose_productList[e].comboProducts[i].class="avctMod2")}this.need_choose_productList=JSON.parse(JSON.stringify(this.need_choose_productList))},remove:function(t){var e=t.parent_index,i=t.current_index;this.need_choose_productList[e].max_quantity,this.need_choose_productList[e].has_choose_num;this.need_choose_productList[e].has_choose_num-=1,this.need_choose_productList[e].comboProducts[i].choose_num-=1,0==this.need_choose_productList[e].comboProducts[i].choose_num&&(this.need_choose_productList[e].comboProducts[i].class="")},specOptionId:function(){console.log("this.selected_ids",this.selected_ids);var t="";return this.selected_ids.length>0&&(t.length>0&&(t+="_"),this.selected_ids.forEach((function(e){t+="".concat(e,"m1n")}))),t.length>0&&(t="0_"+t),t},addToCar:function(t){var e=this,i=0;if(this.need_choose_productList.forEach((function(t){var a=0;if(t.comboProducts.forEach((function(t){var i=t.id;e.selected_ids.forEach((function(t){t==i&&a++}))})),console.log(a),console.log(t.min_quantity),a<t.min_quantity)return uni.showToast({title:t.title+"请选择"+t.min_quantity+"份"+t.title,icon:"none"}),void(i=1)})),!i){var a=this.specOptionId();console.log("specOptionId",a),(0,n.addGoodToCartApi)({sid:this.sid,goodsId:this.goodId,spellriceId:0,optionId:a,sign:t,tableId:0,num:this.num}).then((function(t){console.log(t),uni.showToast({title:"加入购物车成功",icon:"none"}),e.$emit("addCart")})).catch((function(t){console.log(t)}))}},close:function(){this.$emit("close")}}};e.default=o},"02d8":function(t,e,i){"use strict";i.r(e);var a=i("e81f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"031f":function(t,e,i){var a=i("f8eb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("56c0f2ee",a,!0,{sourceMap:!1,shadowMode:!1})},"03dc1":function(t,e,i){var a=i("561c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("51f8ab84",a,!0,{sourceMap:!1,shadowMode:!1})},"04b1":function(t,e,i){var a=i("85bc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("3d6e5fca",a,!0,{sourceMap:!1,shadowMode:!1})},"052c":function(t,e,i){var a=i("a0ea");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("46b4859a",a,!0,{sourceMap:!1,shadowMode:!1})},"0650":function(t,e,i){"use strict";var a=i("3593"),n=i.n(a);n.a},"067a":function(t,e,i){var a=i("2d5f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("c3097a22",a,!0,{sourceMap:!1,shadowMode:!1})},"0684":function(t,e,i){"use strict";i.r(e);var a=i("7dc5c"),n=i("9629");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6492");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4a3a2be0",null,!1,a["a"],void 0);e["default"]=r.exports},"06f0":function(t,e,i){"use strict";var a=i("e7df"),n=i.n(a);n.a},"070c":function(t,e,i){"use strict";var a=i("2259"),n=i.n(a);n.a},"07be6":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnStackSwiper:i("1893").default,randomBubble:i("6abd").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"ad-store-show-1 tn-shadow theme-home-storeList",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPage.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"popularity-tag tn-cool-bg-15"},[i("v-uni-text",{staticClass:"tn-icon-fire-fill"}),t._v("人气推荐")],1),i("v-uni-view",{staticClass:"store-info"},[i("v-uni-view",{staticClass:"left-image"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.image}})],1)],1),i("v-uni-view",{staticClass:"store-avatar"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.logo}})],1)],1)],1),i("v-uni-view",{staticClass:"right-info"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(t.store.title))]),i("v-uni-view",{staticClass:"store-info-base"},[i("v-uni-view",{staticClass:"base-info"},[i("v-uni-view",{staticClass:"score"},[i("v-uni-view",{staticClass:"icon tn-icon-star-fill"}),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.store.score))])],1),i("v-uni-view",{staticClass:"month-sale"},[t._v("月销热度 "+t._s(t.store.sailed))]),2!=t.store.delivery_type?i("v-uni-view",{staticClass:"delivery-price"},[t._v(t._s(t.store.deliveryPrice?"配送费"+t.CurrencyUnit+t.store.deliveryPrice:"免配送费"))]):t._e()],1),2!=t.store.delivery_type?i("v-uni-view",{staticClass:"delivery-time"},[t._v(t._s(t.store.deliveryTime)+"分钟")]):t._e()],1),i("v-uni-view",{staticClass:"store-notice theme-store-notice"},[i("v-uni-view",{staticClass:"notice-left"},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-text-zgs",staticStyle:{"line-height":"0.6em"}})],1),i("v-uni-view",{staticClass:"data tn-text-ellipsis-1"},[t._v(t._s(t.store.content))])],1),i("v-uni-view",{staticClass:"notice-right"},[t._v("进店"),i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1),i("v-uni-view",{staticClass:"product-data"},[i("tn-stack-swiper",{attrs:{list:t.store.goods,width:"430",height:"280"}})],1)],1)],1),i("random-bubble")],1)},o=[]},"07d6":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.diyFormCollectSubmitApi=void 0;var n=a(i("7653"));e.diyFormCollectSubmitApi=function(t){return n.default.post("api/user.home.Home/diyFormCollectSubmit",t)}},"07e6":function(t,e,i){"use strict";i.r(e);var a=i("55ef"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"0807":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-badge-class tn-badge",class:[t.backgroundColorClass,t.fontColorClass,t.badgeClass],style:[t.badgeStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t.dot?t._e():t._t("default")],2)},n=[]},"0810":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.home-skeleton[data-v-3ba7e393]{position:fixed;left:0;width:100vw;z-index:100000;background-color:#fff;padding:%?30?%;overflow:hidden\n /* 轮播 start */\n /* 轮播 end */\n /* 导航 start */\n /* 导航 end */\n /* 公告 start */\n /* 公告 end */\n /* 品牌商家 start */\n /* 品牌商家 end */\n /* 商家列表 start */\n /* 商家列表 end */\n /* 闪动动画 start */\n /* 闪动动画 end */}.home-skeleton .swiper[data-v-3ba7e393]{width:100%;height:%?240?%;border-radius:%?20?%}.home-skeleton .nav[data-v-3ba7e393]{width:100%;margin-top:%?30?%}.home-skeleton .nav .nav-item[data-v-3ba7e393]{width:calc(100% / 4);margin-bottom:%?20?%}.home-skeleton .nav .nav-item .item-icon[data-v-3ba7e393]{width:%?100?%;height:%?100?%;border-radius:50%}.home-skeleton .nav .nav-item .item-title[data-v-3ba7e393]{width:80%;height:%?30?%;border-radius:%?6?%;margin-top:%?18?%}.home-skeleton .notice[data-v-3ba7e393]{width:100%;height:%?60?%;margin-top:%?30?%;border-radius:%?20?%}.home-skeleton .brand-store[data-v-3ba7e393]{width:100%;margin-top:%?30?%}.home-skeleton .brand-store .brand-item[data-v-3ba7e393]{flex:1}.home-skeleton .brand-store .brand-item .item-image[data-v-3ba7e393]{width:80%;height:%?230?%;border-radius:%?10?%}.home-skeleton .brand-store .brand-item .item-title[data-v-3ba7e393]{width:80%;height:%?30?%;margin-top:%?10?%}.home-skeleton .store-list[data-v-3ba7e393]{width:100%;margin-top:%?30?%}.home-skeleton .store-list .list-item[data-v-3ba7e393]{width:100%;margin-bottom:%?20?%}.home-skeleton .store-list .list-item .item-image[data-v-3ba7e393]{width:%?140?%;height:%?140?%;border-radius:%?20?%}.home-skeleton .store-list .list-item .item-right[data-v-3ba7e393]{flex:1;padding-left:%?20?%}.home-skeleton .store-list .list-item .item-title[data-v-3ba7e393]{width:100%;height:%?20?%;border-radius:%?4?%}.home-skeleton .store-list .list-item .item-title + .item-title[data-v-3ba7e393]{margin-top:%?14?%}.home-skeleton .flash[data-v-3ba7e393]{-webkit-animation:flashAnimation-data-v-3ba7e393 1s linear infinite alternate;animation:flashAnimation-data-v-3ba7e393 1s linear infinite alternate;opacity:.4}@-webkit-keyframes flashAnimation-data-v-3ba7e393{from{opacity:.4}to{opacity:1}}@keyframes flashAnimation-data-v-3ba7e393{from{opacity:.4}to{opacity:1}}',""]),t.exports=e},"087c":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2634")),o=a(i("2fdc"));i("fd3c");var s=i("419c"),r=i("ae3b"),c={options:{virtualHost:!0},name:"eatMerge",data:function(){return{page:1,limit:10,orders:[]}},created:function(){this.getEatmergeData()},methods:{calcXiang:function(t,e){var i,a=null===t||void 0===t||null===(i=t.goods)||void 0===i?void 0:i.map((function(t){return+t.discount_price})),n=Math.min.apply(null,a);return(n-+e).toFixed(1)},getEatmergeData:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){var i;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,r.getEatmergeDataApi)({page:t.page,limit:t.limit});case 2:i=e.sent,t.orders=i.orders.map((function(t){return t["avatars"]=t["avatars"].map((function(t){return{src:t}})),t})),t.spellrices=i.spellrices;case 5:case"end":return e.stop()}}),e)})))()},navPage:s.navPage}};e.default=c},"0901":function(t,e,i){"use strict";i.r(e);var a=i("e9f1"),n=i("9c93");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("b761");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"44a7b044",null,!1,a["a"],void 0);e["default"]=r.exports},"0908":function(t,e,i){var a=i("9ff2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("3db95245",a,!0,{sourceMap:!1,shadowMode:!1})},"091c":function(t,e,i){var a=i("9ce9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("108a4345",a,!0,{sourceMap:!1,shadowMode:!1})},"099d":function(t,e,i){var a=i("174f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("43e82d8f",a,!0,{sourceMap:!1,shadowMode:!1})},"09e3":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var a=i("419c"),n=i("78b4"),o={name:"server-list",options:{virtualHost:!0},props:{sid:[Number,String]},data:function(){return{list:[]}},watch:{sid:{handler:function(t,e){console.log(t,e),this.getInfo()}}},mounted:function(){this.getInfo()},methods:{openTel:function(t){uni.makePhoneCall({phoneNumber:t})},openMap:function(t,e){uni.openLocation({latitude:t,longitude:e,success:function(t){console.log(t)}})},navPage:a.navPage,navBack:a.navBack,getInfo:function(){var t=this;this.sid&&(0,n.getBrandGoodsApi)(this.sid).then((function(e){console.log("品牌服务功能列表==========",e),t.list=e})).catch((function(t){console.log(t)}))}}};e.default=o},"0a1d":function(t,e,i){"use strict";var a=i("7cc1"),n=i.n(a);n.a},"0ab8":function(t,e,i){"use strict";i.r(e);var a=i("1c4f"),n=i("0c9e");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9a50");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6d5dad48",null,!1,a["a"],void 0);e["default"]=r.exports},"0ae2":function(t,e,i){"use strict";i.r(e);var a=i("4726"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"0aff":function(t,e,i){"use strict";i.r(e);var a=i("4c43"),n=i("0ae2");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("976a");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"fcc14900",null,!1,a["a"],void 0);e["default"]=r.exports},"0b5b":function(t,e,i){"use strict";i.r(e);var a=i("24e3"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"0b94":function(t,e,i){var a=i("ae30");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("387b39d0",a,!0,{sourceMap:!1,shadowMode:!1})},"0bd2":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.showcase-header-1[data-v-aeb206d6]{position:relative;width:100%;height:%?430?%;background-color:#fff\n /* 休息中 start */\n /* 休息中 end */\n /* 背景图片 start */\n /* 背景图片 end */\n /* 空白区域背景 start */\n /* 空白区域背景 end */\n /* 商家信息展示 end */\n /* 店铺标签 start */\n /* 店铺标签 end */}.showcase-header-1.rest .store .store-data .store-logo[data-v-aeb206d6]{position:relative}.showcase-header-1.rest .store .store-data .store-logo[data-v-aeb206d6]::after{content:"休息中";position:absolute;left:%?0?%;bottom:%?0?%;padding:%?4?%;width:100%;font-size:%?20?%;background-color:rgba(0,0,0,.5);color:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.showcase-header-1 .bg-image[data-v-aeb206d6]{position:absolute;left:0;top:0;width:100%;height:%?300?%;filter:blur(%?5?%);-webkit-filter:blur(%?5?%);z-index:1}.showcase-header-1 .empty-bg[data-v-aeb206d6]{position:absolute;left:0;width:100%;z-index:2;height:%?100?%;background-color:#fff;border-radius:%?30?% %?30?% %?0?% %?0?%}.showcase-header-1 .store[data-v-aeb206d6]{flex:1}.showcase-header-1 .store-title[data-v-aeb206d6]{font-size:%?40?%;display:flex;align-items:center}.showcase-header-1 .notices[data-v-aeb206d6]{padding:%?20?%;display:flex;align-items:center}.showcase-header-1 .notices .upOrter[data-v-aeb206d6]{color:grey}.showcase-header-1 .sequence_button[data-v-aeb206d6]{width:%?100?%;display:flex;align-items:center;justify-content:center;border-radius:%?15?%;margin-top:%?10?%;color:#000;font-size:%?30?%;border:1px solid #000;box-shadow:0 0 %?10?% 0 rgba(0,0,0,.1);margin-left:%?10?%}.showcase-header-1 .preferential[data-v-aeb206d6]{margin-top:%?20?%;display:flex;align-items:center;flex-wrap:wrap}.showcase-header-1 .preferential .tag[data-v-aeb206d6]{font-size:%?22?%;margin-right:%?10?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?6?%;border:1px solid #e83a30;color:#e83a30}.showcase-header-1 .store-logo[data-v-aeb206d6]{width:%?100?%;height:%?100?%;border:1px solid rgba(0,0,0,.1);padding:%?1?%;background-color:#fff;border-radius:%?15?%;margin-left:%?20?%;overflow:hidden}.showcase-header-1 .store-tags[data-v-aeb206d6]{padding:%?10?% 0;width:100%;border-radius:%?0?% %?0?% %?15?% %?15?%}.showcase-header-1 .store-tags .tags-wrapper[data-v-aeb206d6]{display:flex;flex-wrap:nowrap}.showcase-header-1 .store-tags .tag[data-v-aeb206d6]{flex-shrink:0;font-size:%?22?%;margin-right:%?10?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?6?%}.store-content[data-v-aeb206d6]{width:-webkit-fit-content;width:fit-content;max-width:100%;padding:%?0?% %?8?%;border-radius:%?6?%;margin-top:%?6?%;font-size:%?24?%}.collect[data-v-aeb206d6]{background:linear-gradient(90deg,#f68117 0,#ecbd2c)!important;color:#fff;display:inline-block;font-size:12px;padding:%?4?% %?10?%;border-radius:%?8?%;margin-left:%?15?%;width:%?120?%;text-align:center;height:%?30?%;line-height:%?30?%}',""]),t.exports=e},"0c2b":function(t,e,i){"use strict";i.r(e);var a=i("f2b9"),n=i("00d7");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("42dd");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"687316f3",null,!1,a["a"],void 0);e["default"]=r.exports},"0c47":function(t,e,i){"use strict";i.r(e);var a=i("b5aa"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"0c9e":function(t,e,i){"use strict";i.r(e);var a=i("fcf31"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"0d07":function(t,e,i){"use strict";i.r(e);var a=i("656f"),n=i("e172");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6633");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"29544377",null,!1,a["a"],void 0);e["default"]=r.exports},"0d40":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("6fbe")),o=a(i("d195")),s=i("78b4"),r={components:{CustomSwitch:o.default},props:{data:{type:Object,default:function(){return{}}},brand:{type:String,default:""},storeCode:{type:String,default:""},showSwitch:{type:Boolean,default:!0},table_name:[String,Number]},mixins:[n.default],data:function(){return{is_favorite:!1,is_api_shop:!1,store_title:"",store_logo:"",is_system_brand:!1,system_brand_id:"",istheme:!1,delivery_type:!1,openMore:!1}},created:function(){this.istheme=this.$isTheme(),console.log("查看是否使用了主题",this.istheme),this.initCustomNavBarInfo()},watch:{"data.storeInfo":{handler:function(t){console.log("xxxzzzhzhzhzhhzhz",this.data.storeInfo),this.is_favorite=t.is_favorite,this.getIsBrandStore(),this.getOrderDinnerStoreId(),this.store_title=this.data.storeInfo.title,this.store_logo=this.data.storeInfo.logo},deep:!0},delivery_type:{handler:function(t){console.log("changSwt",t),this.$emit("changSwt",t)}}},methods:{getIsBrandStore:function(){var t=this;(0,s.getIsBrandStoreApi)(this.data.storeInfo.id).then((function(e){console.log("res",e),e&&e.length>0&&(t.is_system_brand=!0,t.system_brand_id=e[0]["id"])}))},getOrderDinnerStoreId:function(){var t=this,e=this;(0,s.getOrderDinnerStoreIdApi)({type:e.brand,storeCode:e.storeCode}).then((function(i){console.log("res",i),i.sid==t.data.storeInfo.id&&(console.log("here"),t.is_api_shop=!0,t.storeCode=uni.getStorageSync(e.brand+"_storeCode")||"",t.store_title=uni.getStorageSync(e.brand+"_storeName")||t.data.storeInfo.title,t.store_logo=uni.getStorageSync(e.brand+"_storeImage")||t.data.storeInfo.logo)}))},favorite:function(){var t=this;this.is_favorite=!this.is_favorite,console.log(this.is_favorite?1:2),(0,s.postStoreCollectApi)({sid:this.data.storeInfo.id,type:this.is_favorite?1:2,storeCode:this.storeCode}).then((function(e){console.log("rrrr",e,t.is_favorite)}))},sequence:function(){this.is_api_shop?uni.navigateTo({url:"/store-page/linkage/linkpage?tbrStor=".concat(!0)}):uni.navigateTo({url:"/store-page/linkage/linkpage?system_brand_id=".concat(this.system_brand_id,"&tbrStor=",!0)})}}};e.default=r},"0d68":function(t,e,i){"use strict";var a=i("9e2d"),n=i.n(a);n.a},"0d84":function(t,e,i){"use strict";i.r(e);var a=i("c04c"),n=i("d89d");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6d1f");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7c75d75e",null,!1,a["a"],void 0);e["default"]=r.exports},"0e93":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.sp-bg-line-red[data-v-acfbec6e]{background:linear-gradient(180deg,#fa4d08,#fa1e0e)}.eat-merge[data-v-acfbec6e]{margin-top:%?25?%}.list-container[data-v-acfbec6e]{border-radius:%?30?% %?30?% 0 0;margin-top:%?-25?%}.list-container .list-img[data-v-acfbec6e]{width:%?200?%;height:%?200?%;margin-right:%?10?%}.list-container .list-img uni-image[data-v-acfbec6e]{width:100%;height:100%;border-radius:%?15?%}.list-star[data-v-acfbec6e]{width:%?260?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-time[data-v-acfbec6e]{margin-left:auto}.list-tips[data-v-acfbec6e]{background-color:rgba(243,123,29,.2);border-radius:%?10?%;color:#f37b1d;padding:0 %?10?%;margin-right:%?5?%}.list-justify[data-v-acfbec6e]{justify-content:flex-end}.list-nowpay[data-v-acfbec6e]{border-radius:%?15?%;background:linear-gradient(118deg,#fc5908,#fc0d0c);padding:%?10?% %?30?%}.nearby-title-img[data-v-acfbec6e]{width:%?50?%;height:%?50?%;margin-right:%?10?%}.nearby-right[data-v-acfbec6e]{margin-left:auto}.nearby-right-txt[data-v-acfbec6e]{vertical-align:sub}.nearby-list[data-v-acfbec6e]{border-radius:%?15?%}.nearby-list-left[data-v-acfbec6e]{width:58%}.nearby-list-left .list-goods-img[data-v-acfbec6e]{width:%?190?%;height:%?190?%;margin-right:%?10?%}.nearby-list-left .list-goods-img uni-image[data-v-acfbec6e]{width:100%;height:100%;border-radius:%?15?%}.nearby-list-left .item .low-price-icon[data-v-acfbec6e]{display:inline-flex;background-color:#fc5908;color:#fff;font-size:%?24?%;padding:%?2?% %?6?%;border-radius:%?4?%;margin-right:%?6?%}.nearby-list-left .goods-txt-through[data-v-acfbec6e]{text-decoration:line-through}.nearby-list-right[data-v-acfbec6e]{width:42%;padding-left:%?5?%}.nearby-list-right .goods-time[data-v-acfbec6e]{margin-left:auto}.nearby-list-right .goods-tag[data-v-acfbec6e]{align-self:center;padding:%?5?%;background:rgba(0,128,0,.07058823529411765);border-radius:%?10?%;display:inline-block;margin-left:%?5?%;margin-bottom:%?5?%}.nearby-list-right .merge-team[data-v-acfbec6e]{background:linear-gradient(180deg,#fdf5e0,#fffefc);border-radius:%?15?%}.nearby-list-right .merge-team .xiang[data-v-acfbec6e]{width:%?34?%;height:%?34?%;color:#fff;background-color:#fc5908;border-radius:50%;text-align:center;display:inline-block;vertical-align:text-top;margin:0 %?5?%;font-size:%?22?%}.nearby-list-right .submit[data-v-acfbec6e]{justify-content:flex-end;width:100%;height:100%;display:flex}.nearby-list-right .submit .sub-txt[data-v-acfbec6e]{background-color:#fbadae;align-self:flex-end;padding:%?15?% %?30?%;border-radius:%?50?%}',""]),t.exports=e},"0ef0":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".numbox .item[data-v-0a43619c]{float:left;width:23%;background:#f5f5f5;height:%?78?%;border-radius:30px;margin:%?15?% 1%;text-align:center;line-height:%?78?%}.numbox .item.on[data-v-0a43619c]{background:#ffca28;color:#000}.submitbtn[data-v-0a43619c]{background-color:#ffca28;border-radius:30px;height:%?90?%;width:100%;margin:%?40?% 0;text-align:center;font-size:16px;color:#000;line-height:%?90?%}",""]),t.exports=e},"0f8c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showSkeleton?i("v-uni-view",{staticClass:"home-skeleton",style:[{top:t.navBarInfo.height+"px",height:"calc(100vh - "+t.navBarInfo.height+"px)"}],on:{touchstart:function(e){e.preventDefault(),arguments[0]=e=t.$handleEvent(e),function(){}.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"swiper flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"nav tn-flex-wrap"},t._l(8,(function(t){return i("v-uni-view",{key:t,staticClass:"nav-item tn-flex-column tn-flex-center"},[i("v-uni-view",{staticClass:"item-icon flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"item-title flash tn-bg-gray--light"})],1)})),1),i("v-uni-view",{staticClass:"notice flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"brand-store tn-flex"},t._l(2,(function(t){return i("v-uni-view",{key:t,staticClass:"brand-item tn-flex-column tn-flex-center"},[i("v-uni-view",{staticClass:"item-image flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"item-title flash tn-bg-gray--light"})],1)})),1),i("v-uni-view",{staticClass:"store-list"},t._l(4,(function(t){return i("v-uni-view",{key:t,staticClass:"list-item tn-flex"},[i("v-uni-view",{staticClass:"item-image flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"item-right"},[i("v-uni-view",{staticClass:"item-title flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"item-title flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"item-title flash tn-bg-gray--light"}),i("v-uni-view",{staticClass:"item-title flash tn-bg-gray--light"})],1)],1)})),1)],1):t._e()},n=[]},1063:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.box-item[data-v-20c232b5]{position:fixed;z-index:999999;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:85%}.box-item .pops-item[data-v-20c232b5]{border-radius:%?20?%;overflow:hidden;background-color:#fff;border:1px solid #acacac}.box-item .pops-item .tops[data-v-20c232b5]{text-align:center}.box-item .pops-item .tops .image[data-v-20c232b5]{width:10%;height:%?30?%}.box-item .pops-item .for-boxs[data-v-20c232b5]{padding-top:%?30?%}.box-item .pops-item .for-boxs .for-item[data-v-20c232b5]{align-items:center;justify-content:space-between;line-height:%?60?%;border-radius:%?10?%;padding:0 %?20?%}.box-item .pops-item .for-boxs .for-item .icon[data-v-20c232b5]{width:6%;height:%?30?%}.box-item .pops-item .btns .button[data-v-20c232b5]{width:35%;color:#fff;background-color:#cfd9e2;border-radius:%?16?%}',""]),t.exports=e},1080:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnAvatarGroup:i("b574").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"eat-merge"},[t.orders&&t.orders.length?i("v-uni-view",{staticClass:"tn-padding-sm tn-cool-bg-13 list-container tn-padding-top-lg"},[i("v-uni-view",{staticClass:"tn-color-black tn-flex-row"},[i("v-uni-view",{staticClass:"tn-text-bold tn-text-xl"},[i("v-uni-image",{staticClass:"nearby-title-img",attrs:{src:"https://qny.wdsp666.com/seafox/pingfan.png",mode:"aspectFill"}}),i("v-uni-text",{staticStyle:{"vertical-align":"top"}},[t._v("附近可拼订单")])],1),i("v-uni-view",{staticClass:"nearby-right"},[i("v-uni-text",{staticClass:"tn-color-gray nearby-right-txt"},[t._v("下单立即拼成")])],1)],1),t._l(t.orders,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tn-padding-sm tn-bg-white tn-margin-top-xs tn-flex-row tn-margin-top-sm nearby-list"},[i("v-uni-view",{staticClass:"nearby-list-left"},[i("v-uni-view",{},[i("v-uni-text",{staticClass:"tn-icon-shop tn-text-md tn-margin-right-xs"},[t._v(t._s(e.title))])],1),i("v-uni-view",{staticClass:"tn-margin-top-xs"},[i("v-uni-text",{staticClass:"tn-icon-star-fill tn-color-orange tn-margin-right-sm"},[t._v(t._s(e.score))]),i("v-uni-text",{staticClass:"tn-text-sm tn-color-gray"},[t._v("已拼"+t._s(e.avatars.length)+"+份 32分钟")])],1),i("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap"},attrs:{"scroll-x":"true"}},[i("v-uni-view",{staticClass:"tn-flex-row tn-margin-top-xs"},t._l(e.goods,(function(e,a){return i("v-uni-view",{key:a},[i("v-uni-view",{staticClass:"list-goods-img"},[i("v-uni-image",{attrs:{src:e.thumb,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"tn-margin-top-sm",staticStyle:{"text-overflow":"ellipsis",overflow:"hidden","white-space":"nowrap",width:"200rpx"}},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item"},[i("v-uni-text",{staticClass:"tn-color-red tn-text-bold tn-margin-right-xs"},[i("v-uni-text",{staticClass:"tn-text-xs low-price-icon"},[t._v("最低")]),i("v-uni-text",{staticClass:"tn-text-xs"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-text",{staticClass:"tn-text-lg"},[t._v(t._s(e.discount_price))])],1)],1),i("v-uni-view",[i("v-uni-text",{staticClass:"tn-color-gray tn-text-xs"},[t._v("原价"),i("v-uni-text",{staticStyle:{"text-decoration":"line-through"}},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1)],1)],1)})),1)],1)],1),i("v-uni-view",{staticClass:"tn-flex-column nearby-list-right"},[i("v-uni-view",{staticClass:"good-time"},[i("v-uni-text",{staticClass:"tn-color-red"},[t._v("拼饭截止时间: "+t._s(e.spellrice_end_time))])],1),i("v-uni-view",{staticClass:"tn-margin-top-xs tn-flex-row good-time"},[i("tn-avatar-group",{attrs:{lists:e.avatars,size:"sm"}}),0==e.spellrice_status?i("v-uni-view",{staticClass:"tn-color-orange tn-text-xs goods-tag"},[t._v("拼饭中")]):t._e(),1==e.spellrice_status?i("v-uni-view",{staticClass:"tn-color-green tn-text-xs goods-tag"},[t._v("拼饭成功")]):t._e(),2==e.spellrice_status?i("v-uni-view",{staticClass:"tn-color-red tn-text-xs goods-tag"},[t._v("拼饭失败")]):t._e()],1),i("v-uni-view",{},[i("v-uni-view",{staticClass:"tn-padding-xs merge-team"},t._l(e.quantity_price,(function(a,n){return i("v-uni-view",{key:n,staticClass:"tn-color-red tn-text-sm tn-margin-top-xs tn-margin-bottom-xs"},[i("v-uni-text",{staticClass:"tn-color-black"},[t._v("达"+t._s(a.quantity)+"单")]),i("v-uni-text",{staticClass:"xiang"},[t._v("享")]),i("v-uni-text",{},[t._v(t._s(t.CurrencyUnit)+t._s(t.calcXiang(e,a.discount_price)))]),i("v-uni-text",{},[t._v("退"+t._s(t.CurrencyUnit)+t._s(a.discount_price))])],1)})),1)],1),i("v-uni-view",{staticClass:"submit"},[i("v-uni-view",{staticClass:"sp-bg-line-red tn-color-white sub-txt",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/eatmerge/index")}}},[t._v("立即拼单")])],1)],1)],1)}))],2):t._e()],1)},o=[]},"10af":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.info-item[data-v-286a2cf0]{margin-top:%?20?%;padding:%?15?% %?35?%;background-color:#fff;border-radius:%?20?%}.info-item .scrItem[data-v-286a2cf0]{display:inline-block;padding:%?10?% %?20?% %?10?% 0;text-align:center}.info-item .scrItem .imgs[data-v-286a2cf0]{position:relative;margin-bottom:%?20?%}.info-item .scrItem .imgs .starTag[data-v-286a2cf0]{position:absolute;bottom:-10px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:%?170?%;text-align:center;background:linear-gradient(90deg,#fee2d6,#f9c4a9);padding:%?8?% %?10?%;border-radius:%?40?%;zoom:.9}',""]),t.exports=e},1106:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.startRefundApi=e.getTrayInfoApi=e.getPayMethodApi=e.getOrderListApi=e.getOrderDetailApi=e.getOrderChartReportDetailApi=e.getOrderChartReportApi=e.getOrderChartApi=e.getIngOrderApi=e.getAbnormalOrderApi=e.createPayScoreOrderApi=e.bindTrayApi=e.bindOrderApi=e.bindCardApi=e.applyRefundApi=void 0;var n=a(i("7653"));e.getIngOrderApi=function(){return n.default.post("api/user.tray.tray_order/getIngOrder")};e.bindTrayApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.default.post("api/user.tray.tray_order/bindTray",{plate_no:t,out_order_no:e})};e.getOrderListApi=function(t,e){return n.default.get("api/user.tray.tray_order/getOrderList",{page:t,pageSize:e})};e.getOrderDetailApi=function(t){return n.default.get("api/user.tray.tray_order/getOrderDetail",{id:t})};e.getOrderChartApi=function(t){return n.default.get("api/user.tray.nutrition_analysis/index",{date:t})};e.getAbnormalOrderApi=function(){return n.default.get("api/user.tray.tray_order/getAbnormalOrder")};e.startRefundApi=function(t){return n.default.post("api/user.tray.tray_order/startRefund",{id:t})};e.applyRefundApi=function(t){return n.default.post("api/user.tray.tray_order/applyRefund",t)};e.getOrderChartReportApi=function(){return n.default.get("api/user.tray.nutrition_analysis/report")};e.getOrderChartReportDetailApi=function(t){return n.default.get("api/user.tray.nutrition_analysis/reportDetail",t)};e.createPayScoreOrderApi=function(t){return n.default.post("api/user.tray.tray_order/createPayScoreOrder",{plate_no:t})};e.getPayMethodApi=function(t){return n.default.get("api/user.tray.tray_order/getPayMethod",{plate_no:t})};e.bindCardApi=function(t){return n.default.post("api/user.tray.user/bindCard",{card_no:t})};e.bindOrderApi=function(t){return n.default.post("api/user.tray.tray_order/bindOrder",{order_id:t})};e.getTrayInfoApi=function(t){return n.default.get("api/user.tray.tray_order/getTrayInfo",{plate_no:t})}},1138:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("c223"),i("5ef2");var a={name:"tn-lazy-load",options:{virtualHost:!0},props:{index:{type:[String,Number],default:""},bgColor:{type:String,default:"#f8f7f8"},src:{type:String,default:""},imgMode:{type:String,default:"aspectFill"},loadingImg:{type:String,default:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/loading.gif"},errorImg:{type:String,default:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/nopic.jpg"},threshold:{type:[Number,String],default:100},isEffect:{type:Boolean,default:!0},duration:{type:[String,Number],default:500},effect:{type:String,default:"ease-in-out"},height:{type:[String,Number],default:""},borderRadius:{type:String,default:""},enableLazyLoad:{type:Boolean,default:!0}},computed:{thresholdValue:function(){var t=uni.upx2px(Math.abs(this.threshold));return this.threshold<0?-t:t},lazyLoadItemStyle:function(){var t={};return t.opacity=Number(this.opacity),this.borderRadius&&(t.borderRadius=this.borderRadius),t.backgroundColor=this.bgColor,t.transition="opacity ".concat(this.time/1e3,"s ").concat(this.effect),t.height=this.$tn.string.getLengthUnitValue(this.height),t},imageStyle:function(){var t={};return"string"===typeof this.height&&-1===this.height.indexOf("%")&&(t.height=this.$tn.string.getLengthUnitValue(this.height)),t}},watch:{show:function(t){var e=this;this.effect&&(this.time=0,this.opacity=0,setTimeout((function(){e.time=e.duration,e.opacity=1}),30))},src:function(t){t?(this.init(),this.error=!1):this.error=!0}},data:function(){return{elIndex:this.$tn.uuid(),show:!1,opacity:1,time:this.duration,loadStatus:"",error:!1}},created:function(){this.observer={},this.observerName="lazyLoadContentObserver"},mounted:function(){var t=this;this.$nextTick((function(){uni.$once("tOnLazyLoadReachBottom",(function(){t.show||(t.show=!0)}))})),this.enableLazyLoad?setTimeout((function(){t.disconnectObserver(t.observerName);var e=uni.createIntersectionObserver(t);e.relativeToViewport({bottom:t.thresholdValue}).observe(".tn-lazy-load__item--".concat(t.elIndex),(function(e){e.intersectionRatio>0&&(t.show=!0,t.disconnectObserver(t.observerName))})),t[t.observerName]=e}),50):this.show=!0},methods:{init:function(){this.error=!1,this.loadStatus=""},handleImgClick:function(){var t="";t=!1===this.show?"lazyImg":!0===this.error?"errorImg":"realImg",this.$emit("click",{index:this.index,whichImg:t})},handleImgLoaded:function(){(this.loadStatus="")?this.loadStatus="lazyed":"lazyed"==this.loadStatus&&(this.loadStatus="loaded",this.$emit("loaded",this.index))},handleErrorImgLoaded:function(){this.$emit("error",this.index)},handleImgError:function(){this.error=!0},disconnectObserver:function(t){var e=this[t];e&&e.disconnect&&e.disconnect()}},beforeDestroy:function(){this.disconnectObserver(this.observerName)}};e.default=a},1181:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.ad-store-show-1[data-v-7af16e34]{position:relative;width:100%;background-color:#fff;border-radius:%?20?%;padding:%?20?%;overflow:hidden\n /* 人气推荐 start */\n /* 人气推荐 end */}.ad-store-show-1 .popularity-tag[data-v-7af16e34]{position:absolute;top:0;right:0;font-size:%?24?%;padding:%?6?% %?14?%;border-radius:%?0?% %?20?% %?0?% %?20?%;line-height:1}.ad-store-show-1 .store-info[data-v-7af16e34]{display:flex\n /* 主图信息 start */\n /* 主图信息 end */\n /* 商家、商品信息 start */\n /* 商家、商品信息 end */}.ad-store-show-1 .store-info .left-image[data-v-7af16e34]{position:relative;width:%?180?%;height:%?430?%}.ad-store-show-1 .store-info .left-image .product-image[data-v-7af16e34]{width:100%;height:100%;border-radius:%?10?%}.ad-store-show-1 .store-info .left-image .store-avatar[data-v-7af16e34]{position:absolute;top:%?20?%;left:%?20?%;width:%?80?%;height:%?80?%;border-radius:%?10?%;border:%?1?% solid #fff}.ad-store-show-1 .store-info .right-info[data-v-7af16e34]{flex:1;display:flex;flex-direction:column;margin-left:%?20?%\n /* 商家基础信息 start */\n /* 商家基础信息 start */\n /* 公告 start */\n /* 公告 end */\n /* 商品信息 start */\n /* 商品信息 end */}.ad-store-show-1 .store-info .right-info .store-title[data-v-7af16e34]{width:80%;font-size:%?34?%;font-weight:500}.ad-store-show-1 .store-info .right-info .store-info-base[data-v-7af16e34]{display:flex;align-items:center;justify-content:space-between;margin-top:%?14?%;font-size:%?20?%}.ad-store-show-1 .store-info .right-info .store-info-base .base-info[data-v-7af16e34]{display:flex;align-items:center}.ad-store-show-1 .store-info .right-info .store-info-base .base-info .score[data-v-7af16e34]{display:flex;align-items:center;color:#ffca28}.ad-store-show-1 .store-info .right-info .store-info-base .base-info .score .value[data-v-7af16e34]{margin-left:%?10?%}.ad-store-show-1 .store-info .right-info .store-info-base .base-info .month-sale[data-v-7af16e34],\n.ad-store-show-1 .store-info .right-info .store-info-base .base-info .delivery-price[data-v-7af16e34]{color:#aaa;margin-left:%?12?%}.ad-store-show-1 .store-info .right-info .store-info-base .delivery-time[data-v-7af16e34]{color:#aaa}.ad-store-show-1 .store-info .right-info .store-notice[data-v-7af16e34]{margin-top:%?14?%;width:100%;font-size:%?22?%;border-radius:%?6?%;padding:%?0?% %?8?%;line-height:1.8em;display:flex;align-items:center}.ad-store-show-1 .store-info .right-info .store-notice .notice-left[data-v-7af16e34]{flex:1;display:flex;align-items:center}.ad-store-show-1 .store-info .right-info .store-notice .notice-left .icon[data-v-7af16e34]{padding-right:%?8?%;position:relative;font-size:%?56?%}.ad-store-show-1 .store-info .right-info .store-notice .notice-left .icon[data-v-7af16e34]::before{content:"";position:absolute;width:%?1?%;height:60%;top:50%;right:%?0?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#ffa726}.ad-store-show-1 .store-info .right-info .store-notice .notice-left .data[data-v-7af16e34]{flex:1;padding-left:%?8?%}.ad-store-show-1 .store-info .right-info .store-notice .notice-right[data-v-7af16e34]{color:#080808;width:%?100?%;text-align:right}.ad-store-show-1 .store-info .right-info .product-data[data-v-7af16e34]{width:100%;margin-top:%?14?%;flex:1;display:flex;justify-content:space-between\n /* 商品item start */\n /* 商品item end */}.ad-store-show-1 .store-info .right-info .product-data .product-left[data-v-7af16e34]{width:60%;height:100%}.ad-store-show-1 .store-info .right-info .product-data .product-left .product-item[data-v-7af16e34]{width:100%;height:100%}.ad-store-show-1 .store-info .right-info .product-data .product-right[data-v-7af16e34]{width:calc(40% - %?20?%);height:100%;display:flex;flex-direction:column;justify-content:space-between}.ad-store-show-1 .store-info .right-info .product-data .product-right .product-item[data-v-7af16e34]{width:100%;height:calc(50% - %?10?%)}.ad-store-show-1 .store-info .right-info .product-data .product-item[data-v-7af16e34]{position:relative;border-radius:%?10?%}.ad-store-show-1 .store-info .right-info .product-data .product-item .mask[data-v-7af16e34]{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(hsla(0,0%,100%,.01),rgba(0,0,0,.4));z-index:2;border-radius:inherit}.ad-store-show-1 .store-info .right-info .product-data .product-item .image[data-v-7af16e34]{position:relative;z-index:1}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info[data-v-7af16e34]{position:absolute;left:0;bottom:0;width:100%;z-index:2;padding:%?6?% %?10?%;font-size:%?24?%;z-index:3;color:#fff}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price[data-v-7af16e34]{display:flex;align-items:flex-end}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price .price[data-v-7af16e34]{display:flex;align-items:center;font-size:%?32?%;font-weight:500}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price .price .unit[data-v-7af16e34]{font-size:%?28?%}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price .price.old[data-v-7af16e34]{font-size:%?28?%;margin-left:%?6?%;text-decoration:line-through;font-weight:400}',""]),t.exports=e},1268:function(t,e,i){"use strict";var a=i("8d7b"),n=i.n(a);n.a},1317:function(t,e,i){"use strict";(function(t){e["a"]=function(e){(e.options.wxs||(e.options.wxs={}))["wxs"]=function(e){function i(e,i,a){if(a>0){var n=t().getTime(),o=function(){t().getTime()-n>a?i&&i():e.requestAnimationFrame(o)};o()}else i&&i()}function a(t,e,i){i.currentIndex=t,e.callMethod("changeSwiperIndex",{index:t})}function n(t,e,a,n){var o=n.currentIndex,s=n.list,r=n.itemData.direction,c=n.touchRelactive||{x:0,y:0},d=JSON.parse(JSON.stringify(s));if("horizontal"===r){var l=n.itemData.itemWidth;a.setStyle({transform:"translate3d(-"+l+"px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});var u=Math.floor((l-Math.abs(e.pageX-c.x))/l*250);i(a,(function(){for(var t=s.length-1;t>=0;t--){var e=t-1<0?s.length-1:t-1;n.itemsInstance[t].setStyle({transform:"translate3d("+d[e].translateX+"px, 0px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}else if("vertical"===r){var f=n.itemData.itemHeight;a.setStyle({transform:"translate3d(0px, -"+f+"px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});u=Math.floor((f-Math.abs(e.pageY-c.y))/f*250);i(a,(function(){for(var t=s.length-1;t>=0;t--){var e=t-1<0?s.length-1:t-1;n.itemsInstance[t].setStyle({transform:"translate3d(0px, "+d[e].translateY+"px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}}function o(t,e,a,n){var o=n.currentIndex,s=n.list,r=n.itemData.direction,c=n.touchRelactive||{x:0,y:0},d=JSON.parse(JSON.stringify(s));if("horizontal"===r){var l=n.itemData.itemWidth;n.itemsInstance[t].setStyle({transform:"translate3d(0px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});var u=Math.floor((l-Math.abs(e.pageX-c.x))/l*250);i(a,(function(){for(var t=0;t<s.length;t++){var e=t+1>s.length-1?0:t+1;n.itemsInstance[t].setStyle({transform:"translate3d("+d[e].translateX+"px, 0px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}else if("vertical"===r){var f=n.itemData.itemHeight;n.itemsInstance[t].setStyle({transform:"translate3d(0px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});u=Math.floor((f-Math.abs(e.pageY-c.y))/f*250);i(a,(function(){for(var t=0;t<s.length;t++){var e=t+1>s.length-1?0:t+1;n.itemsInstance[t].setStyle({transform:"translate3d(0px, "+d[e].translateY+"px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}}function s(t,e){t.itemsInstance&&(!0===e?t.itemsInstance.forEach((function(t,e){t.hasClass("tn-stack-swiper__item__transition")||t.addClass("tn-stack-swiper__item__transition")})):t.itemsInstance.forEach((function(t,e){t.hasClass("tn-stack-swiper__item__transition")&&t.removeClass("tn-stack-swiper__item__transition")})))}return e.exports={itemDataObserver:function(t,e,i,a){var n=i.getState();n.itemData=t},listObserver:function(t,e,i,a){var n=i.getState(),o=n.itemData;n.itemsInstance=i.selectAllComponents(".tn-stack-swiper__item"),n.list=t||[],n.list.forEach((function(t,e){var i=n.itemsInstance[e];t&&i&&("horizontal"===o.direction?i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity}):"vertical"===o.direction&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity}))}))},swiperIndexChange:function(t,e,i,a){var o=i.getState();e<0||"undefined"==typeof e||o.currentIndex==t?(e<0||"undefined"==typeof e)&&(o.currentIndex=0):(o.currentIndex=t,t>e||e==o.list.length-1&&0==t?n(0,{pageX:0},o.itemsInstance[e],o):t<e||0==e&&o.list.length)},autoplayFlagChange:function(t,e,i,a){var n=i.getState();s(n,!0===t)},touchStart:function(t,e){var i=t.instance,a=i.getDataset(),n=e.getState(),o=n.itemData;if(a.index==n.currentIndex){var r=t.changedTouches[0];r&&(n.touchRelactive={x:r.pageX,y:r.pageY},n.touchId=r.identifier,"horizontal"===o.direction?n.itemAnimationWidth=o.itemWidth*(a.switchrate/100):"vertical"===o.direction&&(n.itemAnimationHeight=o.itemHeight*(a.switchrate/100)),s(n,!1),n.touching=!0,e.callMethod("changeTouchState",{touching:!0}),e.callMethod("clearAutoPlayTimer"))}},touchMove:function(t,e){var i=t.instance,a=i.getDataset(),n=e.getState(),o=n.itemData;if(a.index==n.currentIndex&&n.touching){var s=t.changedTouches[0];if(s&&n.touchId==s.identifier){var r={x:s.pageX,y:s.pageY};n.direction||(n.direction=function(t,e,i){if("horizontal"===i){if(Math.abs(e.y-t.y)<=30&&Math.abs(e.x-t.x)>10){if(e.x-t.x>0)return"right";if(e.x-t.x<0)return"left"}}else if("vertical"===i&&Math.abs(e.x-t.x)<=30&&Math.abs(e.y-t.y)>10){if(e.y-t.y>0)return"down";if(e.y-t.y<0)return"up"}return""}(n.touchRelactive,r,o.direction)),function(t,e,i){var a=i.itemData,n=(i.itemsInstance,i.list),o=i.currentIndex,s=i.touchRelactive;if("horizontal"===a.direction){var r=i.itemAnimationWidth,c=t.x-s.x;if(t.x>a.windowWidth||t.x<0)return;if("left"==i.direction)e.setStyle({transform:"translate3d("+c+"px, 0px, 0px)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(c)>r&&i.itemsInstance.forEach((function(t,e){if(e!=o){var i=0==e?n.length-1:e-1,s=(Math.abs(c)-r)/(a.itemWidth-r),d=n[e].translateX-(n[e].translateX-n[i].translateX)*s,l=n[e].scale+(n[i].scale-n[e].scale)*s,u=n[e].opacity+(n[i].opacity-n[e].opacity)*s;t.setStyle({transform:"translate3d("+d+"px, 0px, 0px) scale("+l+")","z-index":n[e].zIndex,opacity:u})}}));else if("right"==i.direction){var d=0==o?n.length-1:o-1;i.itemsInstance[d].setStyle({transform:"translate3d(-"+(a.itemWidth-c)+"px, 0px, 0px) scale(1)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(c)<r&&i.itemsInstance.forEach((function(t,e){if(e!=d){var i=e==n.length-1?0:e+1,a=Math.abs(c)/r,o=n[e].translateX+(n[i].translateX-n[e].translateX)*a,s=n[e].scale-(n[e].scale-n[i].scale)*a,l=n[e].opacity-(n[e].opacity-n[i].opacity)*a;t.setStyle({transform:"translate3d("+o+"px, 0px, 0px) scale("+s+")","z-index":n[e].zIndex,opacity:l})}}))}}else if("vertical"===a.direction){var l=i.itemAnimationHeight,u=t.y-s.y;if(t.y>a.windowHeight||t.y<0)return;if("up"==i.direction)e.setStyle({transform:"translate3d(0px, "+u+"px, 0px)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(u)>l&&i.itemsInstance.forEach((function(t,e){if(e!=o){var i=0==e?n.length-1:e-1,s=(Math.abs(u)-l)/(a.itemHeight-l),r=n[e].translateY-(n[e].translateY-n[i].translateY)*s,c=n[e].scale+(n[i].scale-n[e].scale)*s,d=n[e].opacity+(n[i].opacity-n[e].opacity)*s;t.setStyle({transform:"translate3d(0px, "+r+"px, 0px) scale("+c+")","z-index":n[e].zIndex,opacity:d})}}));else if("down"==i.direction){d=0==o?n.length-1:o-1;i.itemsInstance[d].setStyle({transform:"translate3d(0px, -"+(a.itemHeight-u)+"px, 0px) scale(1)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(u)<l&&i.itemsInstance.forEach((function(t,e){if(e!=d){var i=e==n.length-1?0:e+1,a=Math.abs(u)/l,o=n[e].translateY+(n[i].translateY-n[e].translateY)*a,s=n[e].scale-(n[e].scale-n[i].scale)*a,r=n[e].opacity-(n[e].opacity-n[i].opacity)*a;t.setStyle({transform:"translate3d(0px, "+o+"px, 0px) scale("+s+")","z-index":n[e].zIndex,opacity:r})}}))}}}(r,i,n)}}},touchEnd:function(t,e){var i=t.instance,r=i.getDataset(),c=e.getState(),d=c.itemData,l=c.list,u=c.touchRelactive;if(r.index==c.currentIndex&&c.touching){var f=t.changedTouches[0];if(f&&c.touchId==f.identifier){if(s(c,!0),"horizontal"===d.direction){var p=c.itemAnimationWidth;if("left"==c.direction)if(Math.abs(f.pageX-u.x)<p)l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex})}));else{var v=c.currentIndex+1>l.length-1?0:c.currentIndex+1;n(0,f,i,c),a(v,e,c)}else if("right"==c.direction)if(Math.abs(f.pageX-u.x)<p){var h=0==c.currentIndex?l.length-1:c.currentIndex-1;c.itemsInstance[h].setStyle({transform:"translate3d(-"+d.itemWidth+"px, 0px, 0px) scale(1)","z-index":l[c.currentIndex].zIndex+1,opacity:l[c.currentIndex].opacity}),l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}))}else{v=c.currentIndex-1<0?l.length-1:c.currentIndex-1;o(v,f,i,c),a(v,e,c)}}else if("vertical"===d.direction){var g=c.itemAnimationHeight;if("up"==c.direction)if(Math.abs(f.pageY-u.y)<g)l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}));else{v=c.currentIndex+1>l.length-1?0:c.currentIndex+1;n(0,f,i,c),a(v,e,c)}else if("down"==c.direction)if(Math.abs(f.pageY-u.y)<g){h=0==c.currentIndex?l.length-1:c.currentIndex-1;c.itemsInstance[h].setStyle({transform:"translate3d(0px, -"+d.itemHeight+"px, 0px) scale(1)","z-index":l[c.currentIndex].zIndex+1,opacity:l[c.currentIndex].opacity}),l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}))}else{v=c.currentIndex-1<0?l.length-1:c.currentIndex-1;o(v,f,i,c),a(v,e,c)}}c.touchRelactive=null,c.touching=!1,c.direction=null,c.touchId=null,e.callMethod("changeTouchState",{touching:!1}),e.callMethod("setAutoPlay")}}}},e.exports}({exports:{}})}}).call(this,i("a73a")["getDate"])},"13de":function(t,e,i){"use strict";i.r(e);var a=i("a674"),n=i("0c47");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9f26");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"32913ef2",null,!1,a["a"],void 0);e["default"]=r.exports},"14eb":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.coupon-discount[data-v-dd3d534a]{background:url(http://qny.wdsp666.com/images/1/2022/04/FjBXUdq43dDRQd43Xi3q5bU0uXuI3R.png);background-repeat:no-repeat;background-size:100% %?160?%;border-radius:%?15?%;height:%?160?%;align-items:center}',""]),t.exports=e},"152a":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/**\n * 组件页面公用css\n */.component-page-padding-bottom[data-v-4f2bc1aa]{padding-bottom:%?130?%;padding-bottom:calc(%?130?% + constant(safe-area-inset-bottom));padding-bottom:calc(%?130?% + env(safe-area-inset-bottom))}.order-page[data-v-4f2bc1aa]{position:relative;width:100%\n /* 自定义顶部导航 start */\n /* 自定义顶部导航 end */\n /* 订单类型选择 start */\n /* 订单类型选择 end */}.order-page__wrapper[data-v-4f2bc1aa]{position:relative;width:100%;padding:%?30?%}.order-page .navbar[data-v-4f2bc1aa]{position:fixed;left:0;top:0;width:100%;background-color:#fff;z-index:19999\n /* 标题 start */\n /* 标题 end */\n /* 右侧图标 start */\n /* 标题 end */}.order-page .navbar__title[data-v-4f2bc1aa]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);line-height:1;font-size:%?32?%;font-weight:500}.order-page .navbar__left[data-v-4f2bc1aa]{position:absolute;left:5%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);line-height:1;font-size:%?24?%;font-weight:500}.order-page .order-type-select[data-v-4f2bc1aa]{position:fixed;left:0;width:100%;background-color:#fff;z-index:9999}\n/* 刷新按钮 start */.refresh-btn[data-v-4f2bc1aa]{position:fixed;right:%?20?%;bottom:%?260?%;width:%?80?%;height:%?80?%;border-radius:50%;font-size:%?50?%;z-index:1099}\n/* 刷新按钮 end */.sift-item[data-v-4f2bc1aa]{flex-wrap:wrap;justify-content:space-between;align-items:center}.sift-item .seleMod[data-v-4f2bc1aa]{width:32%;line-height:%?30?%;border-radius:%?40?%;margin-bottom:%?20?%;background-color:#f1f2f6;box-sizing:border-box;border:1px solid #f1f2f6}.sift-item .seleMod .icon[data-v-4f2bc1aa]{width:%?30?%;height:%?30?%;margin-right:%?8?%}.sift-item .seleMod .txt[data-v-4f2bc1aa]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;width:100%;align-items:center;justify-content:center}.zIndex[data-v-4f2bc1aa]{z-index:99999999}',""]),t.exports=e},1544:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("495e")),o={props:{value:{type:Boolean,default:!1},data:{type:Object,default:function(){return{}}}},components:{CenterModal:n.default},data:function(){return{showModal:!1}},watch:{value:{handler:function(t){this.showModal=t},immediate:!0}},methods:{handleModalConfirm:function(){this.$emit("confirm")},handleModalClose:function(){this.$emit("input",!1),this.$emit("close")}}};e.default=o},"154b":function(t,e,i){"use strict";i.r(e);var a=i("43cd"),n=i("1c94");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1268");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"8ebff71c",null,!1,a["a"],void 0);e["default"]=r.exports},"15fe":function(t,e,i){var a=i("7f1a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("3aa1fcf3",a,!0,{sourceMap:!1,shadowMode:!1})},"166a":function(t,e,i){"use strict";i.r(e);var a=i("19d5"),n=i("5c9a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7a95");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4be3688b",null,!1,a["a"],void 0);e["default"]=r.exports},"174f":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.bottom-area-content[data-v-2285a575]{padding-bottom:%?140?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?140?%)!important;padding-bottom:calc(env(safe-area-inset-bottom) + %?140?%)!important}.itemDescribe[data-v-2285a575]{width:90%;height:%?40?%;background-color:#ffca28;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-top-left-radius:%?11?%;border-top-right-radius:%?11?%;-o-text-overflow:ellipsis;line-height:%?40?%;padding-left:%?8?%;padding-right:%?8?%}.itemIconBox[data-v-2285a575]{width:90%;height:auto;padding:%?10?%}.itemIconBox .itemIcon[data-v-2285a575]{width:%?50?%;height:%?50?%}.itemTitle[data-v-2285a575]{width:90%;height:auto}.categorys[data-v-2285a575]{width:100%;background-color:#fff}.categorys .item[data-v-2285a575]{position:relative;padding:%?20?% %?15?%;text-align:center}.categorys .item.select[data-v-2285a575]{background-color:#fff!important;color:#080808!important}.categorys .item .select-line[data-v-2285a575]{position:absolute;top:50%;right:%?-8?%;height:50%;width:%?10?%;border-radius:%?30?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}',""]),t.exports=e},"179e":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var a={name:"cubic-bezier",emits:["click"],props:{direction:{type:String,default:"lb"},top:{type:[Number,String],default:100},bottom:{type:[Number,String],default:100},left:{type:[Number,String],default:60},right:{type:[Number,String],default:60},navbar:{type:Boolean,default:!0},param:{type:[Number,String],default:0}},data:function(){return{time:0,animate:!1,width:375,height:1334,style_x:"",style_y:"",navH:0,android:!1}},created:function(){var t=uni.getSystemInfoSync();this.width=t.windowWidth,this.height=t.windowHeight},methods:{handleClick:function(t){var e=this;(new Date).getTime()-this.time<=550||(this.time=(new Date).getTime(),setTimeout((function(){e.time=0}),540),this.cbAni(t),this.$emit("click",{param:this.param}))},cbAni:function(t){var e,i=this;e=t.touches[0];var a={x:0,y:0};switch(this.direction){case"rt":a.x=this.width-e.clientX-uni.upx2px(Number(this.right)),a.y=uni.upx2px(Number(this.top))-e.clientY;break;case"rb":a.x=this.width-e.clientX-uni.upx2px(Number(this.right)),a.y=this.height-e.clientY-uni.upx2px(Number(this.bottom));break;case"lb":a.x=uni.upx2px(Number(this.left))-e.clientX,a.y=this.height-e.clientY-uni.upx2px(Number(this.bottom));break;case"lt":a.x=uni.upx2px(Number(this.left))-e.clientX,a.y=uni.upx2px(Number(this.top))-e.clientY;break;default:break}this.animate=!0,this.$nextTick((function(){setTimeout((function(){i.style_x="transform:translate3d(".concat(a.x,"px,0,0)"),i.style_y="transform:translate3d(0,".concat(a.y,"px,0)"),setTimeout((function(){i.animate=!1,i.style_x="",i.style_y=""}),540)}),50)}))}}};e.default=a},"17ec":function(t,e,i){"use strict";i.r(e);var a=i("9d10"),n=i("6936");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("da59");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7a28517b",null,!1,a["a"],void 0);e["default"]=r.exports},"180d":function(t,e,i){"use strict";i.r(e);var a=i("9f6f"),n=i("ae98");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("a7aa");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"dd3d534a",null,!1,a["a"],void 0);e["default"]=r.exports},1820:function(t,e,i){"use strict";var a=i("969d"),n=i.n(a);n.a},1824:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-column-notice[data-v-c6d97518]{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;overflow:hidden}.tn-column-notice__swiper[data-v-c6d97518]{height:auto;flex:1;display:flex;flex-direction:row;align-items:center;margin-left:%?12?%}.tn-column-notice__swiper--item[data-v-c6d97518]{display:flex;flex-direction:row;align-items:center;overflow:hidden}.tn-column-notice__swiper--content[data-v-c6d97518]{overflow:hidden}.tn-column-notice__icon--left[data-v-c6d97518]{display:inline-flex;align-items:center}.tn-column-notice__icon--right[data-v-c6d97518]{margin-left:%?12?%;display:inline-flex;align-items:center}',""]),t.exports=e},1845:function(t,e,i){"use strict";var a=i("6cad"),n=i.n(a);n.a},"184f":function(t,e,i){var a=i("67cb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("06de6ba7",a,!0,{sourceMap:!1,shadowMode:!1})},1858:function(t,e,i){"use strict";i.r(e);var a=i("abf0"),n=i("d574");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("f81a");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4ff61c22",null,!1,a["a"],void 0);e["default"]=r.exports},1893:function(t,e,i){"use strict";i.r(e);var a=i("ebc4"),n=i("4746");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("47e3");var s=i("828b"),r=i("4828"),c=i("4d4f"),d=i("000a"),l=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7b23eab2",null,!1,a["a"],void 0);"function"===typeof r["a"]&&Object(r["a"])(l),"function"===typeof c["a"]&&Object(c["a"])(l),"function"===typeof d["a"]&&Object(d["a"])(l),e["default"]=l.exports},"18a0":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnNoticeBar:i("ee42").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"showcase-header-1",class:[{rest:1==t.data.storeInfo.isRest||0==t.data.storeInfo.isInBusiness,"no-tag":0===t.data.storeInfo.activityLabels.length}]},[i("v-uni-view",{staticClass:"bg-image",class:t.istheme?"theme-showcase-header-topBg":""},[!t.istheme&&t.data.bgImage?i("v-uni-image",{staticClass:"image",attrs:{src:t.data.bgImage,mode:"aspectFill"}}):t._e()],1),i("v-uni-view",{staticClass:"empty-bg",style:[{top:t.navBarInfo.height+70+"px"}]}),i("v-uni-view",{staticClass:"store tn-shadow",style:[{top:t.navBarInfo.height+20+"px"}]},[i("v-uni-view",{staticClass:"store-data"},[i("v-uni-view",{staticClass:"tn-flex"},[i("v-uni-view",{staticClass:"store-info"},[i("v-uni-view",{staticClass:"store-title",staticStyle:{display:"flex","justify-content":"space-between"}},[i("v-uni-text",{staticClass:"tn-text-ellipsis-1 tn-text-bold"},[t._v(t._s(t.store_title||t.data.storeInfo.title))]),t.is_favorite?i("v-uni-text",{staticClass:"tn-icon-star-fill tn-color-yellow theme-star-avct",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.favorite.apply(void 0,arguments)}}}):i("v-uni-text",{staticClass:"tn-icon-star",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.favorite.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"store-summary-info tn-flex-row-center tn-margin-top-xs"},[i("v-uni-view",{staticClass:"score"},[i("v-uni-view",{staticClass:"icon tn-icon-star-fill"}),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.data.storeInfo.score))])],1),t.table_name?[i("v-uni-view",{staticStyle:{background:"linear-gradient(to right, #f68117 0, #ecbd2c 100%) !important",color:"#fff",display:"inline-block","font-size":"12px",padding:"4rpx 10rpx","border-radius":"8rpx","margin-left":"15rpx"}},[t._v("桌号 :"),t.data.storeInfo.table.area_name?i("v-uni-text",[t._v(t._s(t.data.storeInfo.table.area_name))]):t._e(),t.data.storeInfo.table.area2_name?i("v-uni-text",[t._v(t._s(t.data.storeInfo.table.area2_name))]):t._e(),i("v-uni-text",[t._v(t._s(t.table_name))])],1)]:[i("v-uni-view",{staticClass:"start-price"},[t._v("起送价"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+t._s(t.data.storeInfo.sendPrice))])],1),i("v-uni-view",{staticClass:"delivery-price"},[1==t.data.storeInfo.delivery_fee_mode?i("v-uni-view",[0==t.data.storeInfo.deliveryFreePrice&&t.data.storeInfo.deliveryPrice>0?i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.data.storeInfo.deliveryPrice))])],1):t.data.storeInfo.deliveryFreePrice>0&&t.data.storeInfo.deliveryPrice>0?i("v-uni-view",[t._v("满"+t._s(t.data.storeInfo.deliveryFreePrice)+"元免配送费")]):0==t.data.storeInfo.deliveryPrice?i("v-uni-view",[t._v("免配送费")]):i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+"\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.data.storeInfo.deliveryPrice))])],1)],1):i("v-uni-view",[t.data.storeInfo.deliveryFreePrice>0?i("v-uni-view",[t._v("满"+t._s(t.data.storeInfo.deliveryFreePrice)+"元免配送费")]):t.data.storeInfo.deliveryPrice.start_fee>=0?i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.data.storeInfo.deliveryPrice.start_fee)+"起")])],1):0==t.data.storeInfo.deliveryPrice?i("v-uni-view",[t._v("免配送费")]):i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.data.storeInfo.deliveryPrice))])],1)],1)],1),i("v-uni-view",{staticClass:"delivery-time"},[i("v-uni-view",{staticClass:"value"},[t._v("配送约"+t._s(t.data.storeInfo.deliveryTime)+"分钟")])],1)]],2),i("v-uni-view",{staticClass:"store-tags tn-border-top tn-border-gray--light"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},[i("v-uni-view",{staticClass:"tags-wrapper"},[t.data.storeInfo.delivery_title?i("v-uni-view",{staticClass:"tag tn-border-red tn-color-red"},[t._v(t._s(t.data.storeInfo.delivery_title))]):t._e(),t.data.storeInfo.activityLabels&&t.data.storeInfo.activityLabels.length>0?t._l(t.data.storeInfo.activityLabels,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tag tn-border-red tn-color-red"},[t._v(t._s(e))])})):t._e()],2)],1)],1),i("v-uni-view",{staticClass:"store-content tn-text-ellipsis-1 theme-store-notice"},[t._v(t._s(t.data.storeInfo.content))])],1),i("v-uni-view",{staticClass:"store-logo"},[i("tn-lazy-load",{attrs:{src:t.store_logo||t.data.storeInfo.logo}}),t.is_api_shop||t.is_system_brand?i("v-uni-view",{staticClass:"sequence_button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sequence.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-sequence"}),i("v-uni-text",[t._v("切换")])],1):t._e()],1)],1),i("v-uni-view",{staticClass:"store-notice"},[i("v-uni-view",{staticClass:"title"},[t._v("公告:")]),i("v-uni-view",{staticClass:"value"},[i("tn-notice-bar",{attrs:{mode:"horizontal",list:[t.data.storeInfo.notice],"left-icon":!1,padding:"0rpx"}})],1)],1)],1)],1)],1)},o=[]},"18ae":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.discount-continer[data-v-7b23eab2]{position:absolute;left:%?0?%;bottom:%?0?%;width:100%}.discount-left[data-v-7b23eab2]{border-radius:%?15?% 0 0 %?15?%}.discount-right[data-v-7b23eab2]{border-radius:0 %?15?% %?15?% 0;position:relative;overflow:hidden}.discount-right[data-v-7b23eab2]::after{content:" ";position:absolute;left:%?-40?%;border:20px solid transparent;border-top-color:#fff;-webkit-transform:rotate(-40deg);transform:rotate(-40deg)}.discount-title[data-v-7b23eab2]{background-color:#faf5f9;width:100%;border-radius:0 0 %?15?% %?15?%;padding:%?26?% %?10?% %?10?% %?20?%;margin-top:%?-20?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tn-stack-swiper[data-v-7b23eab2]{position:relative}.tn-stack-swiper__item[data-v-7b23eab2]{position:absolute;border-radius:%?20?%;overflow:hidden}.tn-stack-swiper__item--horizontal[data-v-7b23eab2]{width:88%;height:100%;-webkit-transform-origin:left center;transform-origin:left center}.tn-stack-swiper__item--vertical[data-v-7b23eab2]{width:100%;height:88%;-webkit-transform-origin:top center;transform-origin:top center}.tn-stack-swiper__item__transition[data-v-7b23eab2]{transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;transition-duration:.25s;transition-timing-function:ease-out}.tn-stack-swiper__image[data-v-7b23eab2]{width:100%;height:100%}',""]),t.exports=e},"18eb":function(t,e,i){"use strict";var a=i("5dd3"),n=i.n(a);n.a},1950:function(t,e,i){var a=i("152a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("00af26c3",a,!0,{sourceMap:!1,shadowMode:!1})},"195b":function(t,e,i){"use strict";i.r(e);var a=i("e6fc"),n=i("5f7e");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6b3cc56d",null,!1,a["a"],void 0);e["default"]=r.exports},"196f":function(t,e,i){"use strict";var a=i("091c"),n=i.n(a);n.a},"19a7":function(t,e,i){"use strict";var a=i("031f"),n=i.n(a);n.a},"19b2":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"box"},[e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"}),e("v-uni-view",{staticClass:"bubble"})],1)},n=[]},"19be":function(t,e,i){"use strict";i.r(e);var a=i("b731"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"19c7":function(t,e,i){"use strict";i.r(e);var a=i("4445"),n=i("2542");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("a1f4");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"29bf5bbe",null,!1,a["a"],void 0);e["default"]=r.exports},"19d5":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.order_sn)}}},[i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"}),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_desc))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.product.product_img,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.product_name))])],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.order_amount))])],1)],1)],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.create_time))])],1),i("v-uni-view",{staticClass:"operation-btn tn-flex-center-end"},[20==e.order_status?i("v-uni-view",{staticClass:"btn to-pay theme-operation-btn",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goto(e)}}},[t._v("上传资料")]):t._e()],1)],1)}))],2)},o=[]},"1af6":function(t,e,i){"use strict";var a=i("4394"),n=i.n(a);n.a},"1b61":function(t,e,i){"use strict";i.r(e);var a=i("97e2"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1c4f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"recommend"},[t.loadingShow?i("loading"):t._e(),2==t.diyData.style?i("v-uni-view",{staticClass:"titleBox"},[i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line"}),t._v(t._s(t.diyData.title)),i("v-uni-view",{staticClass:"line line2"})],1)],1):t._e(),2==t.diyData.style?i("v-uni-view",{staticClass:"content"},t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"col",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.confirmButton(e.sid,e.goods_id,e)}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"top"},[t._v(t._s(e.title||""))]),i("v-uni-view",{staticClass:"center"},[t._v(t._s(e.tag))]),i("v-uni-view",{staticClass:"bottom"},[i("v-uni-text",[t._v(t._s(t.CurrencyUnit))]),t._v(t._s(t.formatPrice(e.discount_price)||0))],1)],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-image",{staticClass:"foodIcon",attrs:{src:e.image}})],1)],1)})),1):t._e(),3==t.diyData.style?i("v-uni-view",{staticClass:"titleBox"},[i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line"}),t._v(t._s(t.diyData.title)),i("v-uni-view",{staticClass:"line line2"})],1)],1):t._e(),i("v-uni-view",{staticClass:"content tsContent"},t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"col",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.confirmButton(e.sid,e.goods_id,e)}}},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title||""))]),i("v-uni-view",{staticClass:"foodIconBox"},[i("v-uni-image",{staticClass:"foodIcon",attrs:{src:e.image}}),i("v-uni-view",{staticClass:"qg",style:{background:"新人价"==e.tag?"#6cd070":"#5ac459"}},[t._v(t._s(e.tag))]),i("v-uni-view",{staticClass:"priceBox"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v(t._s(t.CurrencyUnit))]),t._v(t._s(t.formatPrice(e.discount_price)||0))],1)],1)],1)],1)})),1),i("technical-support"),i("center-modal",{attrs:{"cancel-text":" ","confirm-text":" ","content-no-top":!0,"content-no-padding":!0,"wrapper-width":"90%"},model:{value:t.showChooseOptionsModal,callback:function(e){t.showChooseOptionsModal=e},expression:"showChooseOptionsModal"}},[i("v-uni-view",{staticClass:"spec-choose-modal",style:[{"--theme_bg_color":t.themeBgColor,"--theme_font_color":t.themeFontColor}]},[0===t.attrs.length&&0===t.options.length&&0===t.materials.length?i("v-uni-view",[i("v-uni-image",{staticClass:"goods-image",attrs:{src:t.goodsInfo.thumb,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"good-title"},[t._v(t._s(t.goodsInfo.title))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(t.goodsInfo.desc))])],1):t._e(),t.attrs.length>0||t.options.length>0||t.materials.length>0?i("v-uni-view",{staticClass:"small-box"},[i("v-uni-image",{staticClass:"goods-image-small",attrs:{src:t.goodsInfo.thumb,mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showBigImage=!0}}}),i("v-uni-view",{staticClass:"goods-name-small"},[i("v-uni-view",{staticClass:"good-title"},[t._v(t._s(t.goodsInfo.title))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(t.goodsInfo.desc))])],1)],1):t._e(),i("v-uni-view",{staticClass:"content-wrapper"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[t.options.length>0?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v("规格")]),i("v-uni-view",{staticClass:"content-select"},t._l(t.options,(function(e,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{select:e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.chooseOptionEvent(a,e)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1)})),1)],1)]:t._e(),t.attrs.length>0?t._l(t.attrs,(function(e,a){return i("v-uni-view",{key:a,staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"content-select"},t._l(e.label,(function(e,n){return i("v-uni-view",{key:n,staticClass:"select-item tn-border-gray--light",class:[{select:e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseAttrEvent(a,n)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))])],1)})),1)],1)})):t._e(),t.materials.length>0?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v("加料")]),i("v-uni-view",{staticClass:"content-select"},t._l(t.materials,(function(e,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{select:e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseMaterialEvent(a)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1)})),1)],1)]:t._e()],2)],1),i("v-uni-view",{staticClass:"select-attr-value tn-bg-gray--light"},[i("v-uni-view",{staticClass:"title"},[t._v("已选规格:")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.specOptionCn))])],1),i("v-uni-view",{staticClass:"price-num-wrapper"},[i("v-uni-view",{staticClass:"price-value tn-flex-row-end"},[i("v-uni-view",{staticClass:"title"},[t._v("总计")]),i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.specPrice.toFixed(2)))])],1)],1),i("v-uni-view",{staticClass:"num-select"},[t.disabled?t._e():i("v-uni-view",{staticClass:"operation__add tn-flex-center"},[0!==t.specMax?[0!=t.specGoodNum?i("v-uni-view",{staticClass:"icon tn-icon-reduce tn-flex-center",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleMultiSpecReduceEvent.apply(void 0,arguments)}}}):t._e(),0!=t.specGoodNum?i("v-uni-view",{staticClass:"num tn-bg-gray--light"},[i("v-uni-input",{staticClass:"input",attrs:{type:"number",value:t.specGoodNum,disabled:!0}})],1):t._e(),i("v-uni-view",{staticClass:"icon tn-icon-add tn-flex-center",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleMultiSpecAddEvent.apply(void 0,arguments)}}})]:[i("v-uni-view",{staticClass:"sold-out tn-color-gray"},[t._v("已售完")])]],2)],1)],1)],1)],1)],1)},o=[]},"1c57":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("b7c7"));i("64aa"),i("fd3c"),i("bd06"),i("d4b5"),i("aa9c"),i("3efd"),i("01a2"),i("e39c");var o=a(i("b465")),s=a(i("9dfd")),r=a(i("61fe")),c=a(i("180d")),d=i("78b4"),l=(i("9d0a"),getApp()),u={props:{data:{type:Array,default:function(){return[]}},showloadNext:{type:Boolean,default:!1},storeData:{type:[Object,Boolean],default:!1},pageShowType:{type:[Number,String],default:1},avctColor:{type:String,default:""},stickyDistance:{type:Number,default:0},height:{type:Number,default:0},navbarHeight:{type:Number,default:0},sid:{type:[String,Number],default:""},searchComdId:{type:[String,Number],default:""},spellriceId:{type:[String,Number],default:""},tableId:{type:[String,Number],default:""},isRest:{type:Boolean,default:!1},categoryIndex:{type:[String,Number],default:0},delivery_type:{type:Number},isReachBottom:{type:Boolean,default:!1},isNextCategory:{type:Boolean,default:!1},paddingtop:{type:Boolean,default:!1},navType:{type:String,default:""},brand:{type:String,default:""},refreshCategoryTitleRectInfo:{type:Boolean,default:!1},defaultCategoryId:{type:String,default:""}},components:{CategoryList:o.default,ProductsList:s.default,ProductsListOnce:r.default,CouponList:c.default},data:function(){return{categoryList:[],goodsList:[],currentCategoryIndex:0,oldCategoryIndex:0,scrollTopInfo:[],showConpon:!1,nextCategory:!1,count:0,showload:!1}},computed:{fixListPadding:function(){var t=uni.getMenuButtonBoundingClientRect(),e=t.top;return this.stickyDistance-e},categoryListWrapperStyle:function(){var t={};return t.top="".concat(this.stickyDistance,"px"),t.height="".concat(this.height,"px"),t},couponNum:function(){var t;return null===(t=this.storeData.coupons)||void 0===t?void 0:t.length},couponMoney:function(){var t;return null===(t=this.storeData)||void 0===t?void 0:t.price},showCon:function(){this.storeData&&(this.showConpon=!0)}},watch:{data:{handler:function(t,e){(t&&t.length>0||e&&e.length>0)&&this._splitData(t)},immediate:!0,deep:!0},categoryIndex:{handler:function(t,e){uni.pageScrollTo({scrollTop:0,duration:0}),this.currentCategoryIndex=t,this.oldCategoryIndex=e}},stickyDistance:{handler:function(t,e){console.log(t,e)},immediate:!0}},methods:{handleCategoryNextEvent:function(t){var e=this;if(this.isReachBottom&&(this.isNextCategory&&(this.nextCategory=!0),this.nextCategory=!this.nextCategory,!(t>15&&this.nextCategory))){this.showload=!0;var i=setTimeout((function(){e.currentCategoryIndex+=1,e.$emit("category-change",e.categoryList[e.currentCategoryIndex].id,e.currentCategoryIndex),e.nextCategory=!1,e.showload=!1,clearTimeout(i)}),500)}},handRequireCategoryEvent:function(t){t>=0&&(this.handleProductListUpdateCategoryIndexEvent(t),this.handleCategoryChangeEvent(t))},handleProductListUpdateCategoryIndexEvent:function(t){this.currentCategoryIndex=t},changTabs:function(t,e){this.$emit("changTabsId",t,e)},handleProductListInitFinishEvent:function(t){var e=this,i=t.map((function(t){return t-e.stickyDistance}));l.globalData.position=(0,n.default)(i),this.scrollTopInfo=i,this.$nextTick((function(){e.$emit("render-finish");var t=e.categoryList.findIndex((function(t){return t.id==e.defaultCategoryId}));t>0&&e.$refs.categoryRef.categoryClickEvent(t)}))},handleProductListGoodNumChangeEvent:function(t){this.$emit("good-num-change",t)},handleCategoryChangeEvent:function(t,e){l.globalData.isClick=!0,console.log("index,currentSelectIndex");var i=1===this.pageShowType?t:0;1==this.pageShowType&&this.$emit("change_scroll",this.scrollTopInfo[i]),2===this.pageShowType&&(this.currentCategoryIndex=t,this.$emit("category-change",this.categoryList[this.currentCategoryIndex].id,t))},_splitData:function(t){var e=JSON.parse(JSON.stringify(t));if(this.searchComdId)t:for(var i=0;i<e.length;i++)for(var a=0;a<e[i].goods.length;a++)if(e[i].goods[a].id==this.searchComdId){var n=[];n.push(e[i].goods[a]),e.unshift({category_min_fee:"",description:"",goods:n,id:-1,is_mandatory:0,thumb:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/search.png",title:"刚刚搜索"});break t}this.categoryList=e.map((function(t){return{id:t.id,title:t.title,thumb:t.thumb,is_mandatory:t.is_mandatory,description:t.description}})),this.goodsList=e,console.log("this.goodsList",this.goodsList)},changCoupon:function(){var t=this;(0,d.postStoreCouponApi)({sid:this.storeData.sid}).then((function(e){uni.showToast({title:"领取成功",icon:"none"}),t.showConpon=!1}))}}};e.default=u},"1c94":function(t,e,i){"use strict";i.r(e);var a=i("72d3"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1cb7":function(t,e,i){"use strict";i.r(e);var a=i("3ae1"),n=i("d879");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7e35");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4c27c38a",null,!1,a["a"],void 0);e["default"]=r.exports},"1ce3":function(t,e,i){var a=i("92a1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("3fd7f382",a,!0,{sourceMap:!1,shadowMode:!1})},"1cee":function(t,e,i){var a=i("fb33");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("cf0e50ae",a,!0,{sourceMap:!1,shadowMode:!1})},"1d16":function(t,e,i){"use strict";i.r(e);var a=i("1e21"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1d80":function(t,e,i){var a=i("a036");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("4e3f9e78",a,!0,{sourceMap:!1,shadowMode:!1})},"1db2":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.createQuery=void 0;e.createQuery=function(t){var e=uni.createSelectorQuery().in(t);return e}},"1db3":function(t,e,i){"use strict";i.r(e);var a=i("3cf2"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1ddc":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("c223"),i("5c47"),i("0506");var n=a(i("74ff")),o={mixins:[n.default],name:"tn-avatar",props:{index:{type:[Number,String],default:0},shape:{type:String,default:"circle"},size:{type:[Number,String],default:""},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!1},borderColor:{type:String,default:"rgba(0, 0, 0, 0.1)"},borderSize:{type:Number,default:2},src:{type:String,default:""},text:{type:String,default:""},icon:{type:String,default:""},imgMode:{type:String,default:"aspectFill"},badge:{type:Boolean,default:!1},badgeSize:{type:Number,default:0},badgeBgColor:{type:String,default:"#AAAAAA"},badgeColor:{type:String,default:"#FFFFFF"},badgeIcon:{type:String,default:""},badgeText:{type:String,default:""},badgePosition:{type:Array,default:function(){return[0,0]}}},data:function(){return{imgLoadError:!1}},computed:{showImg:function(){return""===this.text&&""===this.icon},avatarClass:function(){var t="";return t+=" tn-avatar--".concat(this.shape),this._checkSizeIsInline()&&(t+=" tn-avatar--".concat(this.size)),this.shadow&&(t+=" tn-avatar--shadow"),t},avatarStyle:function(){var t={};return this.backgroundColorStyle?t.background=this.backgroundColorStyle:this.shadow&&this.showImg&&(t.backgroundImage="url(".concat(this.src,")")),this.border&&(t.border="".concat(this.borderSize,"rpx solid ").concat(this.borderColor)),this._checkSizeIsInline()||(t.width=this.size,t.height=this.size),t},imgClass:function(){var t="";return t+=" tn-avatar__img--".concat(this.shape),t}},methods:{loadImageError:function(){this.imgLoadError=!0},click:function(){this.$emit("click",this.index)},_checkSizeIsInline:function(){return!!/^(xs|sm|md|lg|xl|xxl)$/.test(this.size)}}};e.default=o},"1e03":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5c47"),i("2c10"),i("dc8a"),i("4626"),i("5ac7"),i("fd3c"),i("d4b5");var n=a(i("2634")),o=a(i("2fdc")),s=i("815c"),r=i("419c"),c=i("9a0a"),d=i("1106"),l=a(i("6fbe")),u=a(i("dc1f")),f=i("262c"),p={props:{recharge_plate_no:{type:String,default:""}},options:{virtualHost:!0},mixins:[l.default,u.default],components:{},data:function(){return{balance:0,orderDetail:{},list_num:0,plate_list:[],plate_no:"",expansion_show:!1,options:null,auto_scan:!0,err_msg:"",need_bind_plate_no:"",use_rechare_plate_no:!1,balance_agency_chain_is_open:!1,user_balance:{credit2:0,send:0,agentid:0,total_recharge:0},plate_no_not_bind_by_not_pay_order:"",is_first:0,pay_method:"credit",out_order_no:"",lat:0,lng:0,agent_address:""}},computed:{homePageNavbarStyle:function(){var t={};return t.backgroundColor="rgba(255, 255, 255, ".concat(this.navbarBgOpacity,")"),t}},onLoad:function(t){this.options=t},created:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.initCustomNavBarInfo();case 1:case"end":return e.stop()}}),e)})))()},onShow:function(){console.log("xxxxxx")},methods:{handleParams:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){var i,a,o,s,r;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t,console.log("handleParams"),!t.options||!t.options.q){e.next=14;break}if(a=decodeURIComponent(t.options.q),console.log("scene",a),o=a.match(/plate_no=([^&]+)/),console.log("b",o),o){e.next=10;break}return uni.showToast({title:"扫码失败",icon:"none"}),e.abrupt("return",!1);case 10:s=o[1]||"",s&&(t.plate_no=s,t.bindTray(t.plate_no)),e.next=27;break;case 14:if(!t.recharge_plate_no||0!=t.use_rechare_plate_no){e.next=26;break}if(t.use_rechare_plate_no=!0,r=i.list_num,0!=r){e.next=24;break}return e.next=20,i.getPayMethod(t.recharge_plate_no);case 20:if("payscore"!=i.pay_method&&"together"!=i.pay_method){e.next=24;break}return e.next=23,i.createPayScoreOrder(t.recharge_plate_no);case 23:return e.abrupt("return");case 24:return setTimeout((function(){i.bindNotConfirm(t.recharge_plate_no,i.out_order_no)}),1e3),e.abrupt("return");case 26:0==t.list_num&&t.auto_scan&&t.startScan();case 27:t.getUserInfo();case 28:case"end":return e.stop()}}),e)})))()},getUserInfo:function(){var t=this;(0,c.getUserInfoApi)().then((function(e){var i=e.userInfo;t.balance=i.credit2||0,t.balance_agency_chain_is_open=i.balance_agency_chain_is_open,i.user_balance&&(t.balance=i.user_balance.credit2)}))},getIngOrder:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t,e.next=3,(0,d.getIngOrderApi)().then((function(e){console.log("resss",e),t.orderDetail=e.data,t.orderDetail?(t.plate_list=Object.keys(t.orderDetail.list),t.list_num=t.plate_list.length):t.list_num=0,console.log("getIngOrder")}));case 3:case"end":return e.stop()}}),e)})))()},scan_button:function(){this.auto_scan=!0,this.startScan()},startScan:function(){var t=this;if(!t.auto_scan)return!1;t.auto_scan=!1,uni.scanCode({success:function(e){if(console.log("res",e),e.result){var i="",a=e.result.match(/plate_no=([^&]+)/);if(a)i=a[1]||"";else{var n=e.result.match(/card_no=([^&]+)/);if(!n)return uni.showToast({title:"扫码失败",icon:"none"}),!1;i=n[1]||""}i?(t.plate_no=i,t.bindTray(i)):uni.showToast({title:"扫码失败",icon:"none"})}},fail:function(t){}})},bindTray:function(t){var e=this;return(0,o.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=e,i.next=3,e.getTrayInfo(t);case 3:if(console.log("this.lat",e.lat),console.log("this.lng",e.lng),(0,f.setLocationInfoToCache)({lat:e.lat,lng:e.lng,address:e.agent_address}),!e.plate_list.includes(t)){i.next=9;break}return uni.showToast({title:"该餐盘已绑定",icon:"none"}),i.abrupt("return");case 9:uni.showModal({title:"确认绑定该托盘吗",content:t,success:function(){var e=(0,o.default)((0,n.default)().mark((function e(i){var o;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!i.confirm){e.next=10;break}if(o=a.list_num,0!=o){e.next=9;break}return e.next=5,a.getPayMethod(t);case 5:if("payscore"!=a.pay_method&&"together"!=a.pay_method){e.next=9;break}return e.next=8,a.createPayScoreOrder(t);case 8:return e.abrupt("return");case 9:setTimeout((function(){a.bindNotConfirm(t,a.out_order_no)}),1e3);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});case 10:case"end":return i.stop()}}),i)})))()},getTrayInfo:function(t){var e=this;return(0,o.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=e,i.abrupt("return",(0,d.getTrayInfoApi)(t).then((function(t){console.log("res",t),a.lat=t.lat,a.lng=t.lng,a.agent_address=t.agent_address})));case 2:case"end":return i.stop()}}),i)})))()},expansion_close:function(){this.expansion_show=!1},toRecharge:function(){this.use_rechare_plate_no=!1,uni.navigateTo({url:"/system-page/balance-recharge/index?plate_no="+this.need_bind_plate_no+"&path=1"})},toOrderDetail:function(){uni.navigateTo({url:"/tray-page/order/orderDetail?plate_no_not_bind_by_not_pay_order="+this.plate_no_not_bind_by_not_pay_order})},handleUnShow:function(){this.auto_scan=!0,this.plate_no=""},formatPrice:s.formatPrice,navPage:r.navPage,onShowEvent:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.getUserInfo(),e.next=3,t.getIngOrder();case 3:t.handleParams();case 4:case"end":return e.stop()}}),e)})))()},createPayScoreOrder:function(t){var e=this;uni.showLoading({title:"加载中",mask:!0}),(0,d.createPayScoreOrderApi)(t).then((function(i){console.log("res_score",i);var a=i;e.out_order_no=a.out_order_no,wx.openBusinessView({businessType:"wxpayScoreUse",extraData:{mch_id:a.mchid,package:a.package,timestamp:a.timestamp,nonce_str:a.nonce,sign_type:"HMAC-SHA256",sign:a.sign},success:function(){setTimeout((function(){e.bindNotConfirm(t,e.out_order_no)}),1e3)},fail:function(){uni.showToast({title:"fail",icon:"none"})},complete:function(){}})})).catch((function(t){console.log("err",t),uni.hideLoading(),uni.showToast({title:t.msg,icon:"none"})}))},getPayMethod:function(t){var e=this;return(0,o.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=e,i.next=3,(0,d.getPayMethodApi)(t).then((function(t){a.pay_method=t.data}));case 3:case"end":return i.stop()}}),i)})))()},bindNotConfirm:function(t,e){var i=this;uni.showLoading({title:"绑定中",mask:!0}),(0,d.bindTrayApi)(t,e).then((function(t){i.plate_no="",i.getIngOrder(),uni.hideLoading(),setTimeout((function(){i.toOrderDetail()}),1e3)})).catch((function(e){i.need_bind_plate_no=t,console.log("err",e),uni.hideLoading(),2==e.code?uni.showModal({title:"绑盘失败",content:e.msg,confirmText:"前往充值",cancelText:"留在当前",success:function(t){t.confirm&&i.toRecharge()}}):3==e.code?(i.err_msg=e.msg,i.expansion_show=!0):4==e.code?uni.showModal({title:"订单未支付",content:e.msg,confirmText:"前往支付",showCancel:!1,success:function(t){t.confirm&&(0,d.getAbnormalOrderApi)().then((function(t){if(i.orderDetail=t.data,i.orderDetail){i.total_kcal=t.data.stat.total,i.recommend_kcal=t.data.stat.recommend_kcal;var e=["#EC808D","#FACD91","#C280FF","#81D3F8"],a=t.data.y.map((function(t,i){return{value:t,color:e[i]}}));i.total_kcal>0&&(i.chartFlag=!0);var n={categories:t.data.x,series:[{name:"摄入情况",data:a,legendShape:"circle"}]};i.chartData=JSON.parse(JSON.stringify(n))}}))}}):5==e.code?uni.showModal({title:"绑盘失败",content:e.msg,confirmText:"确定",cancelText:"取消",success:function(t){uni.reLaunch({url:"/pages/index/index"})}}):uni.showToast({title:e.msg,icon:"none"})}))}}};e.default=p},"1e21":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c");var a=i("d55c"),n=i("262c"),o=i("419c"),s={name:"home-address-region",data:function(){return{selectValue:"",currIdx:0,listData:[]}},props:{showReginon:{type:Boolean,default:!1}},mounted:function(){this.getproxy()},methods:{getproxy:function(){var t=this;(0,a.getProxyArea)().then((function(e){console.log("代理区域承担啛啛喳喳",e),t.listData=e,t.$emit("ProxyAreaNum",e.length)})).catch((function(t){console.log(t)}))},close:function(t){this.$emit("closeShow",!1)},chooseCurrentAddress:function(){this.close(),(0,n.setLocationInfoToCache)({lat:this.listData[this.currIdx].map.lat,lng:this.listData[this.currIdx].map.lng,address:this.listData[this.currIdx].title}),uni.setStorageSync("chooseCurrentAddress",!0),(0,o.navBack)()},navPage:o.navPage}};e.default=s},"1e2b":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.postMyQrCodeApi=e.postInterviewApi=e.postCreateOrderApi=e.postApplyApi=e.getStoreDiscountApi=e.getMemberCenterInfoApi=e.getInfoByUidApi=e.getCardListApi=void 0;var n=a(i("7653"));e.getCardListApi=function(t){return n.default.get("api/user.discountCard.card/index",t)};e.postCreateOrderApi=function(t){return n.default.post("api/user.discountCard.order/createOrder",t)};e.getInfoByUidApi=function(t){return n.default.get("api/user.discountCard.enterprise/infoByUid",t)};e.postApplyApi=function(t){return n.default.post("api/user.discountCard.enterprise/apply",t)};e.getMemberCenterInfoApi=function(t){return n.default.get("api/user.discountCard.card/memberCenterInfo",t)};e.getStoreDiscountApi=function(t){return n.default.get("api/user.discountCard.card/storeDiscount",t)};e.postMyQrCodeApi=function(t){return n.default.post("api/user.discountCard.member/myQrCode",t)};e.postInterviewApi=function(t){return n.default.post("api/user.discountCard.member/interview",t)}},"1e4f6":function(t,e,i){var a=i("835a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("ccdf78c0",a,!0,{sourceMap:!1,shadowMode:!1})},"1f36":function(t,e,i){"use strict";i.r(e);var a=i("e76c"),n=i("39c9");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("18eb");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"51387a22",null,!1,a["a"],void 0);e["default"]=r.exports},"1f5b":function(t,e,i){var a=i("c680");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("f7ac7cd0",a,!0,{sourceMap:!1,shadowMode:!1})},2061:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-radio-group[data-v-4292ab3a]{display:inline-flex;flex-wrap:wrap}.tn-radio-group[data-v-4292ab3a]::after{content:" ";display:table;clear:both}',""]),t.exports=e},"207b":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("419c"),o=a(i("6abd")),s={components:{RandomBubble:o.default},options:{virtualHost:!0},props:{store:{type:Object,default:function(){return{}}},storeConfig:{type:Object,default:function(){return{}}}},methods:{toPage:function(){uni.setStorageSync("shop",this.store),1==this.store.is_haodian?(0,n.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(this.store.id)):2==this.store.is_haodian&&this.store.custom_links?(0,n.navPage)("".concat(this.store.custom_links)):(this.store.pageShowType,(0,n.navPage)("/store-page/product-showcase/template-1?sid=".concat(this.store.id)))},navPage:n.navPage}};e.default=s},"208c":function(t,e,i){"use strict";i.r(e);var a=i("4221"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"20f3":function(t,e,i){"use strict";var a=i("8bdb"),n=i("5145");a({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},"212b":function(t,e,i){"use strict";i.r(e);var a=i("dbd7"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},2227:function(t,e,i){"use strict";var a=i("03dc1"),n=i.n(a);n.a},2259:function(t,e,i){var a=i("5d94");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("4684b6e5",a,!0,{sourceMap:!1,shadowMode:!1})},2290:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("8f71"),i("fd3c");var n=a(i("d6d0")),o=a(i("4c81")),s=a(i("a8eb")),r=a(i("29f8")),c=a(i("4541")),d=a(i("709c")),l=a(i("97f4")),u=a(i("0d84")),f=a(i("6fbe")),p=i("d55c"),v={components:{ShopIndex:n.default,GodPrice:o.default,BrandStore:s.default,EatMerge:r.default,ImageGroup:c.default,NoticeBarNew:d.default,NavIcon:l.default,CustomSwiper:u.default},mixins:[f.default],data:function(){return{currentSwiperIndex:0,diyPageData:[],showSkeleton:!1,topImageBanner:{status:!1,bgImage:"",banner:[]}}},created:function(){this.getConfig(),this.initCustomNavBarInfo()},methods:{refreshData:function(){this.getConfig(),this.initCustomNavBarInfo(),this.updateUserInfo()},updateUserInfo:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.$refs.shopIndex[0].getUserInfo()}),50)}))},getConfig:function(){var t=this;(0,p.getShopIndexConfigByAppid)({}).then((function(e){e.sid&&e.diypage_id&&(t.$tn.vuex("vuex_sid",e.sid),t.getHomePageDIYData(e.diypage_id))})).catch((function(t){uni.showToast({icon:"none",title:t.msg}),console.log("获取商家diy配置失败",t)}))},swiperChangeEvent:function(t){this.currentSwiperIndex=t.detail.current},getHomePageDIYData:function(t){var e=this;this.showSkeleton=!0,(0,p.getDIYPageDataByIdApi)({id:t}).then((function(t){console.log(t,"======diyRes=======");var i=t.data;e.diyPageData=[],i&&e.$nextTick((function(){e.diyPageData=JSON.parse(i),console.log(e.diyPageData),e.specialOffer=e.diyPageData.filter((function(t){return"SpecialOffer"===t.name}));var t=e.diyPageData.filter((function(t){return"TopImageBanner"===t.name}))[0].config;e.topImageBanner.status=t.status||!1,e.topImageBanner.bgImage=t.bgImage||"",e.topImageBanner.banner=(t.banner||[]).map((function(t){return{image:t.image||t}}))}))})).catch((function(){console.error("获取店铺DIY页面数据失败"),e.diyPageData=[]})).finally((function(){}))}}};e.default=v},2333:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.nav-icon[data-v-044776a2]{position:relative;margin-top:%?20?%;border-radius:%?20?%;padding:%?10?%;padding-top:%?30?%;padding-bottom:%?0?%;background-color:#fff}.nav-icon[data-v-044776a2] .tn-scroll-list__indicator__line{margin-bottom:%?10?%}.nav-icon[data-v-044776a2] .tn-scroll-list__indicator__line{margin-bottom:%?10?%}.nav-icon .list-data[data-v-044776a2]{display:flex;flex-wrap:nowrap;align-items:center}.nav-icon .list-data .data-item[data-v-044776a2]{width:%?170?%;display:flex;flex-shrink:0;flex-direction:column;align-items:center;justify-content:center}.nav-icon .list-data .data-item .item--icon[data-v-044776a2]{width:%?90?%;height:%?90?%;margin-bottom:%?20?%}.nav-icon .list-data .data-item.wu[data-v-044776a2]{width:%?136?%}.nav-icon .list-data .data-item.wu .item--title[data-v-044776a2]{font-size:%?26?%}',""]),t.exports=e},2379:function(t,e,i){"use strict";i.r(e);var a=i("1ddc"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},2414:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},methods:{}}},"242d":function(t,e,i){var a=i("b52a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("4c30ae90",a,!0,{sourceMap:!1,shadowMode:!1})},"243f":function(t,e,i){"use strict";i.r(e);var a=i("a689"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"247f":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("473f"),i("bf0f"),i("8f71"),i("2797"),i("aa9c"),i("c223"),i("fd3c"),i("64aa");var n=a(i("6fbe")),o=a(i("dc1f")),s=a(i("ebf3")),r=a(i("2cbd")),c=a(i("a71b")),d=a(i("8c27")),l=i("9d0a"),u=i("419c"),f=i("a2b9"),p=i("ba1f"),v={options:{virtualHost:!0},components:{TechnicalSupport:s.default,ProductSpecNumberBox:r.default,Empty:c.default,loading:d.default},mixins:[n.default,o.default],data:function(){return{cartData:[],currentPage:1,pageSize:10,isLoadAll:!1,loadingShow:!1,openChecked:!1,isShowOneTouch:!1,isAllSubmit:!1,sids:[]}},onLoad:function(){this.getShoppingCartData()},onReachBottom:function(){this.isLoadAll||(this.currentPage++,this.getShoppingCartData())},computed:{totalPrice:function(){return this.cartData.reduce((function(t,e){return e.checked?t+e.finalFee:t}),0)},totalCount:function(){return this.cartData.filter((function(t){return t.checked})).length},allStatus:function(){var t=this.cartData.filter((function(t){return 0===t.isRest&&1===t.isInBusiness})),e=t.every((function(t){return t.checked}));return e},isShowCartPart:function(){return this.cartData.filter((function(t){return t.checked})).length>0},preferential:function(){var t=0;return this.cartData.forEach((function(e){t+=e.data.reduce((function(t,i){return e.checked?t+(i.price-i.discount_price):t}),0)})),t}},methods:{changeSwitch:function(t){this.openChecked=t},checkedChange:function(t){t.checked=!t.checked},selectAll:function(){this.allStatus?this.cartData.forEach((function(t){1===t.isInBusiness&&0==t.isRest&&(t.checked=!1)})):this.cartData.forEach((function(t){0===t.isRest&&1===t.isInBusiness&&(t.checked=!0)}))},handleAllSettlement:function(){if(!this.isAllSubmit){this.isAllSubmit=!0;var t=[];this.cartData.forEach((function(e){1==e.checked&&t.push(e.id)})),this.sids=t,console.log(this.sids,"this.sids"),(0,u.navPage)("/order-page/one-touch-submit-order/index?sids=".concat(this.sids),"redirect")}},handleGoodsNum:function(t,e){this.cartData=[],this.currentPage=1,this.getShoppingCartData()},onShowEvent:function(){this.cartData=[],this.currentPage=1,this.getShoppingCartData()},getShoppingCartData:function(){var t=this;this.loadingShow=!0,(0,f.getShoppingCartListApi)({page:this.currentPage,psize:this.pageSize}).then((function(e){console.log(e);var i=e.cartsInfo,a=e.onetouch;a.status&&(t.isShowOneTouch=!0),t.cartData=t.cartData.concat(i.map((function(t){var e=t.cart;return{id:t.sid,isRest:(null===t||void 0===t?void 0:t.is_rest)||0,isInBusiness:(null===t||void 0===t?void 0:t.is_in_business)||0,storeTitle:t.storeName,storeLogo:t.logo,boxPrice:Number(e.box_price),finalFee:Number(t.final_fee),checked:!1,data:e.data.reduce((function(t,e){return t.concat(e.filter((function(t){return"88888"!=t.goods_id})).map((function(t){return{title:t.title,image:t.thumb,sid:t.sid,goodsId:t.goods_id,optionId:t.option_id,optionTitle:t.option_title,price:Number(t.price),discount_price:Number(t.discount_price),num:Number(t.num)}})))}),[])}}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[shopping-cart-list]获取购物车列表数据失败",e),t.cartData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1}))},deleteStoreShoppingCart:function(t){var e=this;(0,l.showModal)({title:"操作提示",content:"确认删除吗?",showCancel:!0,callback:function(i){i&&(0,p.clearStoreShoppingCartApi)({sid:t}).then((function(t){(0,l.showToast)({title:"删除商品成功"}),e._reloadShoppingCartData()})).catch((function(t){console.error("[shopping-cart]删除商家购物车数据失败",t),(0,l.showToast)({title:"删除商品失败"})}))}})},navSubmitOrderPage:function(t){if(1==t.isRest||0==t.isInBusiness)return(0,l.showToast)({title:"店铺休息中..."});var e=t.id;(0,u.navPage)("/order-page/submit-order/index?sid=".concat(e),"redirect")},loadMoreCart:function(){this.isLoadAll||(this.currentPage++,this.getShoppingCartData())},_reloadShoppingCartData:function(){this.cartData=[],this.isLoadAll=!1,this.currentPage=1,this.getShoppingCartData()}}};e.default=v},"24e3":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5c47"),i("473f"),i("bf0f");var n=a(i("dc1f")),o=i("1db2"),s={props:{value:{type:Number,default:0},data:{type:Array,default:[]},avctColor:{type:String,default:""},stickyHeight:{type:Number,default:0},height:{type:Number,default:0}},mixins:[n.default],data:function(){return{currentSelectIndex:0,id:"",bottomEmptyAreaRectInfo:{height:0},initRectCount:0}},computed:{itemStyle:function(){var t=this;return function(e){var i={};if(e!=t.currentSelectIndex){var a=t.data.length;e<a&&e===t.currentSelectIndex+1&&(i.borderTopRightRadius="15rpx"),e>=0&&e===t.currentSelectIndex-1&&(i.borderBottomRightRadius="15rpx")}return i}}},watch:{value:{handler:function(t){this.currentSelectIndex=t},immediate:!0},data:{handler:function(t){var e=this;t&&t.length>0&&this.stickyHeight&&setTimeout((function(){e._initBottomEmptyAreaRectInfo()}),150)},immediate:!0}},created:function(){this.id=this.$tn.uuid()},methods:{categoryClickEvent:function(t){t!==this.currentSelectIndex&&(this.$emit("input",t),this.$emit("change",t,this.currentSelectIndex))},_initBottomEmptyAreaRectInfo:function(){var t=this;if(this.height){var e=(0,o.createQuery)(this);e.selectAll("#item-".concat(this.id)).boundingClientRect((function(e){if(!e||0===e.length)return t.initRectCount>10?console.error("[showcaseGoodsList-categoryList]获取标题容器信息失败"):void setTimeout((function(){t._initBottomEmptyAreaRectInfo(),t.initRectCount++}),150);t.initRectCount=0;var i=e.reduce((function(t,e){return t+e.height}),0),a=t.height-i;t.bottomEmptyAreaRectInfo.height=a<0?100:a})).exec()}else setTimeout((function(){t._initBottomEmptyAreaRectInfo()}))}}};e.default=s},"24fe":function(t,e,i){"use strict";i.r(e);var a=i("d7db"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},2515:function(t,e,i){"use strict";i.r(e);var a=i("99ef"),n=i("5ba8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("f2ac");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4f2bc1aa",null,!1,a["a"],void 0);e["default"]=r.exports},2542:function(t,e,i){"use strict";i.r(e);var a=i("179e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},2578:function(t,e,i){var a=i("99be");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("65b62b39",a,!0,{sourceMap:!1,shadowMode:!1})},"265b":function(t,e,i){"use strict";i.r(e);var a=i("dcaf"),n=i("50b3");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("e466");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"cdb8d6ca",null,!1,a["a"],void 0);e["default"]=r.exports},2676:function(t,e,i){"use strict";i.r(e);var a=i("aa81"),n=i("ea48");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("a17b");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"33612dee",null,!1,a["a"],void 0);e["default"]=r.exports},"269b":function(t,e,i){"use strict";i.r(e);var a=i("590f"),n=i("7527");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("36f5");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"78d8cb21",null,!1,a["a"],void 0);e["default"]=r.exports},"27e7":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"demand-special-offer"},[i("v-uni-view",{staticClass:"category"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},t._l(t.cateList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"cate-item text-24",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.handleChoose(e,a)}}},[i("v-uni-image",0==a?{attrs:{src:e.thumb}}:{attrs:{src:e.image}}),i("v-uni-text",{class:{active:t.chooseIndex===a}},[t._v(t._s(e.title))])],1)})),1)],1),i("v-uni-view",{staticClass:"list"},t._l(t.goodsList,(function(e){return i("v-uni-view",{key:e.id,staticClass:"item-goods tn-flex"},[i("v-uni-view",{staticClass:"item-goods__desc tn-flex"},[i("v-uni-image",{staticClass:"item-goods__img",attrs:{src:e.thumb}}),i("v-uni-view",{staticClass:"item-goods__content tn-flex tn-flex-column tn-flex-1"},[i("v-uni-view",{staticClass:"text-20 item-goods__store color-main tn-flex tn-flex-row-center"},[i("v-uni-image",{staticClass:"item-goods__logo",attrs:{src:e.s_logo}}),t._v(t._s(e.s_title))],1),i("v-uni-text",{staticClass:"text-26 item-goods__title"},[t._v(t._s(t.getTitle(e.id,e.title)))]),i("v-uni-text",{staticClass:"text-22 tn-color-gray item-goods__sub"},[t._v(t._s(t.getDesc(e.id,e.title)))]),i("v-uni-view",{staticClass:"item-goods__progress",class:[t.getProgressStyle(e.id)]},[2===t.getType(e.id)?i("v-uni-text",{staticClass:"tn-icon-light-fill icon"}):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"item-goods__price-box tn-flex tn-flex-column"},[i("v-uni-text",{staticClass:"text-22 color-main"},[t._v("抢手价")]),i("v-uni-text",{staticClass:"text-26 color-main"},[t._v(t._s(t.CurrencyUnit)),i("v-uni-text",{staticClass:"text-42"},[t._v(t._s(e.price))])],1),i("v-uni-text",{staticClass:"text-22 tn-color-gray"},[t._v("即将恢复"+t._s(t.CurrencyUnit)+t._s(e.old_price))]),i("v-uni-button",{staticClass:"btn",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.addGoodsList(e)}}},[t._v("去抢购")])],1)],1)})),1),i("technical-support"),i("center-modal",{attrs:{"cancel-text":" ","confirm-text":" ","content-no-top":!0,"content-no-padding":!0,"wrapper-width":"90%"},model:{value:t.showChooseOptionsModal,callback:function(e){t.showChooseOptionsModal=e},expression:"showChooseOptionsModal"}},[t.goodsInfo?i("v-uni-view",{staticClass:"spec-choose-modal",style:[{"--theme_bg_color":t.themeBgColor,"--theme_font_color":t.themeFontColor}]},[0===t.attrs.length&&0===t.options.length&&0===t.materials.length?i("v-uni-view",[i("v-uni-image",{staticClass:"goods-image",attrs:{src:t.goodsInfo.thumb,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"good-title"},[t._v(t._s(t.goodsInfo.title))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(t.goodsInfo.desc))])],1):t._e(),t.attrs.length>0||t.options.length>0||t.materials.length>0?i("v-uni-view",{staticClass:"small-box"},[i("v-uni-image",{staticClass:"goods-image-small",attrs:{src:t.goodsInfo.thumb,mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showBigImage=!0}}}),i("v-uni-view",{staticClass:"goods-name-small"},[i("v-uni-view",{staticClass:"good-title"},[t._v(t._s(t.goodsInfo.title))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(t.goodsInfo.desc))])],1)],1):t._e(),i("v-uni-view",{staticClass:"content-wrapper"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[t.options.length>0?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v("规格")]),i("v-uni-view",{staticClass:"content-select"},t._l(t.options,(function(e,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{select:e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.chooseOptionEvent(a,e)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1)})),1)],1)]:t._e(),t.attrs.length>0?t._l(t.attrs,(function(e,a){return i("v-uni-view",{key:a,staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"content-select"},t._l(e.label,(function(e,n){return i("v-uni-view",{key:n,staticClass:"select-item tn-border-gray--light",class:[{select:e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseAttrEvent(a,n)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))])],1)})),1)],1)})):t._e(),t.materials.length>0?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v("加料")]),i("v-uni-view",{staticClass:"content-select"},t._l(t.materials,(function(e,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{select:e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseMaterialEvent(a)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1)})),1)],1)]:t._e()],2)],1),i("v-uni-view",{staticClass:"select-attr-value tn-bg-gray--light"},[i("v-uni-view",{staticClass:"title"},[t._v("已选规格:")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.specOptionCn))])],1),i("v-uni-view",{staticClass:"price-num-wrapper"},[i("v-uni-view",{staticClass:"price-value tn-flex-row-end"},[i("v-uni-view",{staticClass:"title"},[t._v("总计")]),i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.specPrice.toFixed(2)))])],1)],1),i("v-uni-view",{staticClass:"num-select"},[t.disabled?t._e():i("v-uni-view",{staticClass:"operation__add tn-flex-center"},[0!==t.specMax?[0!=t.specGoodNum?i("v-uni-view",{staticClass:"icon tn-icon-reduce tn-flex-center",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleMultiSpecReduceEvent.apply(void 0,arguments)}}}):t._e(),0!=t.specGoodNum?i("v-uni-view",{staticClass:"num tn-bg-gray--light"},[i("v-uni-input",{staticClass:"input",attrs:{type:"number",value:t.specGoodNum,disabled:!0}})],1):t._e(),i("v-uni-view",{staticClass:"icon tn-icon-add tn-flex-center",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleMultiSpecAddEvent.apply(void 0,arguments)}}})]:[i("v-uni-view",{staticClass:"sold-out tn-color-gray"},[t._v("已售完")])]],2)],1)],1)],1):t._e()],1)],1)},n=[]},"280f":function(t,e,i){"use strict";i.r(e);var a=i("ecb49"),n=i("7777");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5434");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4dee6d7e",null,!1,a["a"],void 0);e["default"]=r.exports},"283e":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={seckillProduct:i("4a08").default,blankRegion:i("195b").default,serverList:i("e7f3").default,storeUesrInfo:i("b5100").default,deliveryTime:i("7ab6").default,tnLoadMore:i("9266").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"home-page component-page-padding-bottom theme-page-home-bg"},[1==t.indexSearchStyle?i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle,t.homePageNavbarStyle]},[i("v-uni-view",{staticClass:"navbar-wrapper",style:[t.homePageNavbarWrapperStyle,t.navbarTopStyle]},[1==t.is_positioning?i("v-uni-view",{staticClass:"location tn-flex-row-between",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/choose-address/index")}}},[t.locationInfo.address&&t.locationInfo.address.length>0?i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-2"},[t._v(t._s(t.locationInfo.address))]):t.defaultAgentTitle?i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-1"},[t._v(t._s(t.defaultAgentTitle))]):i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-2"},[t.storage_location_address?i("v-uni-text",[t._v(t._s(t.storage_location_address))]):i("v-uni-text",[t._v("定位失败, 点击选择")])],1),i("v-uni-view",{staticClass:"location__right-icon"},[i("v-uni-text",{staticClass:"tn-icon-down"})],1)],1):t._e(),i("v-uni-view",{staticClass:"search-box tn-flex-row-between",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/store-page/search/index")}}},[i("search-box",{staticClass:"search-box-item",staticStyle:{width:"100%"},attrs:{height:t.boundingInfo.height,indexSearchStyle:t.indexSearchStyle}})],1),i("v-uni-view",{staticClass:"tn-flex-row-between tn-text-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage(t.customLink)}}},[i("v-uni-view",{staticStyle:{"max-width":"100rpx"}},[i("v-uni-view",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.customText.substr(0,2)))]),i("v-uni-view",{staticStyle:{"font-size":"12px"}},[t._v(t._s(t.customText.substr(2)))])],1)],1)],1)],1):t._e(),0==t.indexSearchStyle?i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle,t.homePageNavbarStyle]},[i("v-uni-view",{staticClass:"navbar-wrapper tn-flex-row-center",style:[t.homePageNavbarWrapperStyle,t.navbarTopStyle]},[1==t.is_positioning?i("v-uni-view",{staticClass:"location0 tn-flex-row-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/choose-address/index")}}},[i("v-uni-view",{staticClass:"location__left-icon"},[i("v-uni-text",{staticClass:"tn-icon-location-fill"})],1),t.locationInfo.address&&t.locationInfo.address.length>0?i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-1"},[t._v(t._s(t.locationInfo.address))]):t.defaultAgentTitle?i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-1"},[t._v(t._s(t.defaultAgentTitle))]):i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-1"},[t._v("定位失败, 点击选择")]),i("v-uni-view",{staticClass:"location__right-icon"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1):t._e(),i("v-uni-view",{staticClass:"search-box",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/store-page/search/index")}}},[i("search-box",{staticClass:"search-box-item",attrs:{height:t.boundingInfo.height,indexSearchStyle:t.indexSearchStyle}})],1)],1)],1):t._e(),2==t.indexSearchStyle?i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle,t.homePageNavbarStyle]},[i("v-uni-view",{staticClass:"navbar-wrapper tn-flex-row-center",style:[t.homePageNavbarWrapperStyle,t.navbarTopStyle]},[1==t.is_positioning?i("v-uni-view",{staticClass:"location0 tn-flex-row-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/choose-address/index")}}},[i("v-uni-view",{staticClass:"location__left-icon"},[i("v-uni-text",{staticClass:"tn-icon-location-fill"})],1),t.locationInfo.address&&t.locationInfo.address.length>0?i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-1"},[t._v(t._s(t.locationInfo.address))]):t.defaultAgentTitle?i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-1"},[t._v(t._s(t.defaultAgentTitle))]):i("v-uni-view",{staticClass:"location__text tn-text-ellipsis-1"},[t._v("定位失败, 点击选择")]),i("v-uni-view",{staticClass:"location__right-icon"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1):t._e()],1)],1):t._e(),t.topImageBanner.status?i("v-uni-view",{staticClass:"top-bg",style:{height:t.topImageBanner.height?t.topImageBanner.height+"px":"560rpx"}},[0===t.topImageBanner.style?i("v-uni-view",[i("v-uni-view",{staticClass:"bg__image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.topImageBanner.bgImage,mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"bg__content"},[t.topImageBanner.banner.length>0?i("v-uni-view",{staticClass:"banner"},[i("v-uni-swiper",{staticClass:"banner-swiper",style:{height:t.BannerimageHeight?t.BannerimageHeight+"px":"","margin-top":t.navBarStyle.height},attrs:{autoplay:!0,interval:3500,duration:1e3,circular:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChangeEvent.apply(void 0,arguments)}}},t._l(t.topImageBanner.banner,(function(e,a){return i("v-uni-swiper-item",{key:a,ref:"wrap"+a,refInFor:!0,staticClass:"swiper-item",attrs:{id:"wrap"+a}},[i("v-uni-view",{staticClass:"item-content",class:[{current:a===t.currentSwiperIndex}]},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image,mode:"widthFix"}})],1)],1)})),1)],1):t._e()],1)],1):i("v-uni-view",{staticClass:"animation"},[t._l(t.topImageBanner.banner,(function(e,a){return i("v-uni-view",{key:a,staticClass:"fade",style:{opacity:a===t.currentSwiperIndex?1:0}},[i("v-uni-image",{staticClass:"image",style:{height:t.topImageBanner.height?t.topImageBanner.height+"px":"560rpx"},attrs:{src:e.image2,mode:"scaleToFill"}})],1)})),i("v-uni-view",{staticClass:"banner"},[i("v-uni-swiper",{staticClass:"banner-swiper",staticStyle:{height:"100%"},attrs:{autoplay:!0,interval:1e3*t.topImageBanner.time,duration:1e3,circular:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChangeEvent2.apply(void 0,arguments)}}},t._l(t.topImageBanner.banner,(function(e,a){return i("v-uni-swiper-item",{key:a,staticClass:"swiper-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goPages(e.url)}}},[i("v-uni-view",{staticClass:"item-content",style:{height:t.topImageBanner.height?t.topImageBanner.height+"px":"560rpx"}},[i("v-uni-image",{staticClass:"image",style:{height:t.topImageBanner.height?t.topImageBanner.height+"px":"560rpx"},attrs:{src:e.image,mode:"scaleToFill"}})],1)],1)})),1)],1)],2)],1):i("v-uni-view",{staticClass:"top-bg empty tn-shadow",style:[{height:t.navBarInfo.height+"px"}]}),t.isLoadStoreAll&&t.diyPageData&&0===t.diyPageData.length&&t.storeListPage<=1?i("v-uni-view",{style:[{"margin-top":(t.topImageBanner.status?0:t.navBarInfo.height)+"px"}]},[i("empty",{attrs:{icon:"empty-address",tips:"不在服务区域"}},[i("v-uni-view",{staticClass:"empty-switch-address",style:[t.themeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/choose-address/index")}}},[t._v("切换地址")])],1)],1):i("v-uni-view",{staticClass:"page-wrapper"},[i("v-uni-view",{staticClass:"diy-content",style:[{"margin-top":(t.topImageBanner.status?0:t.navBarInfo.height)+"px"}]},[t._l(t.diyPageData,(function(e,a){return["ShopIndex"===e.name?i("shop-index",{key:a+"_0",ref:"shopIndex",refInFor:!0,attrs:{config:e.config}}):t._e(),"Swiper"===e.name?i("custom-swiper",{key:a+"_1",attrs:{config:e.config}}):t._e(),"activitySeckill"===e.name?i("seckill-product",{key:a+"_2",attrs:{config:e.config}}):t._e(),"NavList"===e.name?i("nav-icon",{key:a+"_3",staticClass:"theme-home-navIcon",attrs:{config:e.config},on:{toTemplate1:function(e){arguments[0]=e=t.$handleEvent(e),t.toTemplate1.apply(void 0,arguments)}}}):t._e(),"Notice"===e.name?i("notice-bar-new",{key:a+"_4",attrs:{config:e.config}}):t._e(),"SingleImageGroup"===e.name?i("image-group",{key:a+"_5",attrs:{data:e.config.images,datatile:e.config.tile,marginBottom:e.config.marginBottom,marginTop:e.config.marginTop,type:e.config.type},on:{handoffTabbar:function(e){arguments[0]=e=t.$handleEvent(e),t.handoffTabbar.apply(void 0,arguments)}}}):t._e(),"EatMerge"===e.name?i("eat-merge"):t._e(),"blankRegion"===e.name?i("blank-region",{key:a+"_7",attrs:{config:e.config}}):t._e(),"serverList"===e.name?i("server-list",{key:a+"_8",attrs:{sid:t.brandId}}):t._e(),"storeUesrInfo"===e.name?i("store-uesrInfo",{key:a+"_9",ref:"storeUesrInfo"+a,refInFor:!0,attrs:{config:e.config}}):t._e(),"storeInformation"===e.name?i("store-information",{key:a+"_10",ref:"storeInformation"+a,refInFor:!0,attrs:{sid:t.brandInfoId,config:e.config},on:{changIdUpdata:function(e){arguments[0]=e=t.$handleEvent(e),t.changIdUpdata.apply(void 0,arguments)}}}):t._e(),"Optimization"===e.name?i("brand-store",{key:a+"_11",staticClass:"theme-home-brandStore",attrs:{config:e.config}}):t._e(),"PaoTui"===e.name?i("PaoTui",{key:a+"_12",ref:"PaoTui",refInFor:!0,attrs:{config:e.config,bottom:1,updateInfo:t.updateInfo},on:{refreshAddress:function(e){arguments[0]=e=t.$handleEvent(e),t.refreshAddress.apply(void 0,arguments)}}}):t._e(),"SpecialOffer"===e.name&&e.config&&1==e.config.style?i("god-price",{key:a+"_13",staticClass:"theme-home-godPrice",attrs:{"diy-data":e.config}}):t._e(),"SpecialOffer"!==e.name||!e.config||2!=e.config.style&&3!=e.config.style?t._e():i("recommend",{key:a+"_14",attrs:{"diy-data":e.config}}),"DemandSpecialOffer"===e.name?i("demand-special-offer",{key:a+"_15",attrs:{config:e.config}}):t._e(),"commercialWaterfallFlow"===e.name?i("goods-waterfall",{key:a+"_16",ref:"goodsW",refInFor:!0,attrs:{config:e.config}}):t._e(),"RichText"===e.name?i("diy-rich-text",{key:a+"_17",attrs:{content:t.diyRichTextContent}}):t._e(),"CutTime"===e.name?i("v-uni-view",{key:a+"_18",staticClass:"tn-margin-top-sm"},[i("deliveryTime",{on:{changClick:function(e){arguments[0]=e=t.$handleEvent(e),t.changTime.apply(void 0,arguments)}}})],1):t._e(),"HotMovie"===e.name?i("v-uni-view",{key:a+"_19",staticClass:"tn-margin-top-sm"},[i("Mover")],1):t._e(),"From"===e.name?i("DiyForm",{key:a+"_20",attrs:{diyItemIndex:a,config:e.config},on:{refreshForm:function(e){arguments[0]=e=t.$handleEvent(e),t.refreshFormByIndex.apply(void 0,arguments)}}}):t._e(),"pictureHotZone"===e.name?i("v-uni-view",{key:a+"_21",staticClass:"tn-margin-top-sm"},[i("PictureHotZone",{attrs:{config:e.config},on:{handoffTabbar:function(e){arguments[0]=e=t.$handleEvent(e),t.handoffTabbar.apply(void 0,arguments)}}})],1):t._e(),"suspensionButton"===e.name?i("v-uni-view",{key:a+"_22",style:[e.suspensionButtonStyle],on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.clickSuspensionButton(e.config)}}},[1==e.config.type?i("v-uni-view",[2==e.config.image_type?i("v-uni-text",[t._v(t._s(e.config.text))]):i("v-uni-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.config.image,mode:"widthFix"}})],1):i("v-uni-view",{staticStyle:{height:"100%"}},["mobile"===t.contactType?i("v-uni-view",{staticClass:"tn-flex-center",staticStyle:{height:"100%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.callMobileContact.apply(void 0,arguments)}}},[2==e.config.image_type?i("v-uni-text",[t._v(t._s(e.config.text))]):t._e()],1):t._e()],1)],1):t._e()]})),t.diyPageData&&t.diyPageData.length>0?[t.locationSuccessFlag&&t.getShowStoreList(t.diyPageData,2)?i("v-uni-view",{staticClass:"store-list"},[1==t.getShowTopTitle(t.diyPageData)?i("v-uni-view",{staticClass:"top-title"},[t._v("附近商家"),i("v-uni-view",{staticClass:"bottom-line theme-home-tabline"})],1):t._e(),2==t.getShowTopTitle(t.diyPageData)?i("v-uni-view",{staticClass:"tabs-box"},t._l(t.tabs,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tabs-item",class:t.tabIndex===a?"select":"",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.changeTabIndex(a)}}},[i("v-uni-text",[t._v(t._s(e))])],1)})),1):t._e(),i("v-uni-view",{staticClass:"store-data"},[t._l(t.storeData,(function(e,a){return[t.showAdStore(a)?i("v-uni-view",{key:a+"_0",staticClass:"ad-store"},[1===t.adStore(a).adType?i("ad-store-item-template1",{attrs:{store:t.adStore(a),storeConfig:t.storeConfig}}):0===t.adStore(a).adType?i("ad-store-item-template3",{attrs:{store:t.adStore(a),storeConfig:t.storeConfig}}):t._e()],1):t._e(),i("v-uni-view",{key:a+"_1",staticClass:"normal-store"},[i("store-list-item",{attrs:{diyPageData:t.diyPageData,store:e,storeConfig:t.storeConfig}})],1),t.showAdImage(a)?i("v-uni-view",{key:a+"_2",staticClass:"ad-store-image"},[i("v-uni-image",{staticStyle:{width:"100%","margin-top":"30rpx","border-radius":"20rpx"},attrs:{src:t.storeAdImage[a].image,mode:"widthFix"}})],1):t._e()]}))],2),i("v-uni-view",{staticClass:"store-loading"},[i("tn-load-more",{attrs:{status:t.loadingStoreStatus}})],1)],1):t._e()]:t._e()],2)],1),i("v-uni-view",{staticClass:"shopping-cart-btn tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/order-page/shopping-cart/index")}}},[i("v-uni-text",{staticClass:"tn-icon-cart"}),t.shoppingCartCount?i("v-uni-view",{staticClass:"num",staticStyle:{"background-color":"var(--theme-cart-num-bg)",color:"var(--theme-cart-num-color)"}},[t._v(t._s(t.shoppingCartCount))]):t._e()],1),t.scene_is_index_show?i("v-uni-view",["mobile"!==t.contactType||t.scene_icon?t._e():i("v-uni-view",{staticClass:"customer-service-btn tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.callMobileContact.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-service"})],1),"mobile"===t.contactType&&t.scene_icon?i("v-uni-view",{staticClass:"customer-service-btn tn-flex-center",style:{backgroundImage:"url("+t.scene_icon+")",backgroundSize:"cover"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.callMobileContact.apply(void 0,arguments)}}}):t._e()],1):t._e(),i("home-skeleton",{model:{value:t.showSkeleton,callback:function(e){t.showSkeleton=e},expression:"showSkeleton"}}),i("home-ad-swiper",{attrs:{data:t.homeAdSwiperData},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleAdSwipeStartPageEvent.apply(void 0,arguments)}},model:{value:t.showHomeAdSwiper,callback:function(e){t.showHomeAdSwiper=e},expression:"showHomeAdSwiper"}}),i("home-redpacket",{attrs:{value:t.showHomeRedpacket,data:t.homeRedpacketData},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClose.apply(void 0,arguments)}}}),i("judge-location",{ref:"judgeLocationRef",on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.handleLocationAuthSuccess.apply(void 0,arguments)}}}),"sky"===t.showRedpacketType?i("home-sky-land-redpacket",{attrs:{show:t.sky_land_redpacket_show,sky_land_redpacket_list:t.sky_land_redpacket_list,sky_land_tuangouquan_list:t.sky_land_tuangouquan_list,sky_land_redpacket_uid:t.sky_land_redpacket_uid,sky_activity_name:t.sky_activity_name},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.closeSkyLandRedpacket.apply(void 0,arguments)}}}):t._e()],1)},o=[]},"283f":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("2797"),i("aa9c"),i("795c"),i("c9b5"),i("ab80");var n=a(i("154b")),o=i("3498"),s={components:{Product:n.default},props:{config:[Array,Object]},data:function(){return{status:!1,data_info:{},hours:"00",minutes:"00",seconds:"00",timer:null}},created:function(){this.getData(),console.log(this.config,"his.config")},mounted:function(){},beforeDestroy:function(){this.timer&&clearInterval(this.timer)},methods:{getData:function(){var t=this,e=[];null!=this.config.stores&&this.config.stores.forEach((function(t){e.push(t.id)})),(0,o.getActiveInfo)({sids:e}).then((function(e){t.status=e.status,t.data_info=e,e.status&&e.current_time_slot&&e.current_time_slot.remaining_seconds&&t.startCountDown(),console.log(t.data_info,"data_infodata_infodata_info")})).catch((function(t){console.log(t)}))},toPath:function(){uni.navigateTo({url:"/plugin-page/seckill/seckill"})},startCountDown:function(){var t=this;this.timer&&clearInterval(this.timer);var e=this.data_info.current_time_slot.remaining_seconds,i=function(){if(e<=0)return clearInterval(t.timer),void t.getData();t.hours=Math.floor(e/3600),t.minutes=Math.floor(e%3600/60),t.seconds=e%60,e--};i(),this.timer=setInterval(i,1e3)},formatNum:function(t){return t.toString().padStart(2,"0")}}};e.default=s},"287c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnAvatar:i("54d8").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-avatar-group-class tn-avatar-group"},t._l(t.lists,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tn-avatar-group__item",style:[t.itemStyle(a)]},[i("tn-avatar",{attrs:{src:e.src||"",text:e.text||"",icon:e.icon||"",size:t.size,shape:t.shape,imgMode:t.imgMode,border:!0,borderSize:2}})],1)})),1)},o=[]},2889:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-radio[data-v-6aa156a8]{display:inline-flex;align-items:center;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1.8}.tn-radio__icon-wrap[data-v-6aa156a8]{color:#080808;display:flex;flex-direction:row;flex:none;align-items:center;justify-content:center;box-sizing:border-box;width:%?42?%;height:%?42?%;color:transparent;text-align:center;transition-property:color,border-color,background-color;font-size:%?20?%;border:%?1?% solid #aaa;transition-duration:.2s}.tn-radio__icon-wrap--circle[data-v-6aa156a8]{border-radius:100%}.tn-radio__icon-wrap--square[data-v-6aa156a8]{border-radius:%?6?%}.tn-radio__icon-wrap--checked[data-v-6aa156a8]{color:#fff;background-color:#01beff;border-color:#01beff}.tn-radio__icon-wrap--disabled[data-v-6aa156a8]{background-color:#e6e6e6;border-color:#aaa}.tn-radio__icon-wrap--disabled--checked[data-v-6aa156a8]{color:#aaa!important}.tn-radio__label[data-v-6aa156a8]{word-wrap:break-word;margin-left:%?10?%;margin-right:%?24?%;color:#080808;font-size:%?30?%}.tn-radio__label--disabled[data-v-6aa156a8]{color:#aaa}',""]),t.exports=e},"290a":function(t,e,i){var a=i("4295");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("0b3aff34",a,!0,{sourceMap:!1,shadowMode:!1})},"294b":function(t,e,i){"use strict";i.r(e);var a=i("8956"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},2999:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5c47"),i("fd3c"),i("f7a5"),i("aa9c"),i("bf0f"),i("2797"),i("aa77");var n=a(i("265b")),o=a(i("495e")),s=a(i("2cbd")),r=i("1db2"),c=i("9d0a"),d=i("ba1f"),l=a(i("1f36")),u=i("419c"),f={options:{styleIsolation:"shared"},props:{data:{type:Array,default:function(){return[]}},stickyHeight:{type:Number,default:0},paddingtop:{type:Boolean,default:!1},currentCategoryIndex:{type:[String,Number],default:0},sid:{type:[String,Number],default:""},spellriceId:{type:[String,Number],default:""},tableId:{type:[String,Number],default:""},isRest:{type:Boolean,default:!1},showloadStatu:{type:Boolean,default:!1},showloadStatu2:{type:Boolean,default:!1},navType:{type:String,default:""}},components:{VLineTitle:n.default,ProductSpecNumberBox:s.default,ImgModal:l.default,CenterModal:o.default},data:function(){return{productsListRectInfo:{top:0},pdtop:0,titleRectInitCount:0,categoryTitleRectInfo:{height:0},categoryTitleTopInfo:[],listObserverName:"tnProductListObserver",Goodname:"",modalShow:!1,modalmode:"",goodsDataLists:[],clientYStart:0,clientYEnd:0,openInputGoodsNumModal:!1,goodsId:"",inputValue:0,options_id:"",loadText:{loadmore:"加载更多",loading:"正在加载中...",nomore:"没有更多了"},loadText2:{loadmore:"切换下个分类",loading:"正在切换下个分类...",nomore:"没有更多了"},currentTab:"",showMoreScrTab:!1,delivery_type:!1,tempBuyLimit:0}},computed:{categoryTitleStyle:function(){var t={};return this.categoryTitleTopInfo&&this.categoryTitleTopInfo[0]&&this.productsListRectInfo.top&&this.stickyHeight?t.top="".concat(this.categoryTitleTopInfo[0]-this.productsListRectInfo.top+this.stickyHeight-uni.upx2px(22),"px"):t.top="137px",t}},watch:{data:{handler:function(t){t&&t.length>0&&this.stickyHeight&&this.setCurrentData()},immediate:!0},currentCategoryIndex:{handler:function(t){this.setCurrentData()}}},created:function(){this.historyCart()},mounted:function(){},destroyed:function(){this._discountObserver()},methods:{seleTabs:function(t,e){console.log(t,e),this.currentTab=t,this.$emit("chang-tabs",e.id,t)},handleProductInputUpdaeEvent:function(t,e,i){this.inputValue=t.value,this.goodsId=t.goodId,this.options_id=t.options_id,this.openInputGoodsNumModal=!0,this.tempBuyLimit=this.data[e].goods[i].buy_limit},submitUpdateCart:function(){var t=this;this.tempBuyLimit>0&&this.inputValue>this.tempBuyLimit?(0,c.showToast)({title:"限购".concat(this.tempBuyLimit,"件")}):(0,d.updateGoodCartApi)({goodsId:this.goodsId,sid:this.sid,num:this.inputValue,options_id:this.options_id}).then((function(e){t.openInputGoodsNumModal=!1,t.$emit("good-num-change",{type:"",cid:"",goodId:""})})).catch((function(t){(0,c.showToast)({title:t.msg})}))},handleTouchStart:function(t){this.clientYStart=t.changedTouches[0].clientY},handleTouchEnd:function(t){this.clientYEnd=t.changedTouches[0].clientY,this.clientYStart-this.clientYEnd>200&&(console.log(this.clientYStart,this.clientYEnd),this.$emit("category-next",this.goodsDataLists[0].goods.length))},setCurrentData:function(){var t=this;this.goodsDataLists=[this.data[this.currentCategoryIndex]],this.$nextTick((function(){t.categoryTitleTopInfo.length||t._getCategoryTitleRectInfo()}))},handleProductNumChangeEvent:function(t,e,i){var a=this.data[this.currentCategoryIndex],n=a.goods[i];this.$emit("good-num-change",{type:"add"===t.type?"+":"-",cid:a.id,goodId:n.id})},_getCategoryTitleRectInfo:function(){var t=this,e=(0,r.createQuery)(this);e.selectAll(".sgpl-products-list, .sgpl-item-title").boundingClientRect((function(e){if(!e||e.length<=0)return t.titleRectInitCount>10?console.error("[showcaseGoodsList-productList]获取分类标题容器信息失败"):void setTimeout((function(){t._getCategoryTitleRectInfo(),t.titleRectInitCount++}),150);t.productsListRectInfo.top=e[0].top,t.pdtop=e[1].height,e.slice(1).map((function(e){t.categoryTitleRectInfo.height||(t.categoryTitleRectInfo.height=e.height),t.categoryTitleTopInfo.push(e.top)})),t.$emit("init-finish",t.categoryTitleTopInfo)})).exec()},_discountObserver:function(){var t=this[this.listObserverName];t&&t.disconnect()},Good:function(t,e){if(1==t.specOptions){var i=this.$refs.goods;console.log(i);for(var a=null,n=0;n<i.length;n++)if(i[n]["goodId"]==t.id){a=i[n];break}a.handleSpecClickEvent()}else this.modalmode=t,this.modalShow=!0},historyCart:function(){var t=this;uni.$on("historyCart",(function(e){t.data.forEach((function(i){i.goods.forEach((function(i){var a=e.find((function(t){return+t.goodId===+i.id}));a?t.$set(i,"num",a.num):t.$set(i,"num",0)}))})),t.goodsDataLists.forEach((function(i){i.goods.forEach((function(i){var a=e.find((function(t){return+t.goodId===+i.id}));a?t.$set(i,"num",a.num):t.$set(i,"num",0)}))}))}))},navPage:u.navPage}};e.default=f},"29f8":function(t,e,i){"use strict";i.r(e);var a=i("1080"),n=i("6c73");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("8dee");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"acfbec6e",null,!1,a["a"],void 0);e["default"]=r.exports},"2a29":function(t,e,i){"use strict";i.r(e);var a=i("f004"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"2a5d":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("74ff")),o={mixins:[n.default],name:"tn-modal",props:{value:{type:Boolean,default:!1},width:{type:String,default:"84%"},padding:{type:String,default:""},radius:{type:Number,default:12},title:{type:String,default:""},content:{type:String,default:""},button:{type:Array,default:function(){return[]}},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseable:{type:Boolean,default:!0},showCloseBtn:{type:Boolean,default:!1},zoom:{type:Boolean,default:!0},custom:{type:Boolean,default:!1},zIndex:{type:Number,default:0}},computed:{boxStyle:function(){var t={};return this.padding&&(t.padding=this.padding),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),t},contentClass:function(){var t="";return this.title?t+=" tn-margin-top":t+=" tn-modal__box__content--no-title",t},contentStyle:function(){var t={};return this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),this.fontColorStyle&&(t.color=this.fontColorStyle),t}},data:function(){return{}},methods:{handleClick:function(t){this.value&&this.$emit("click",{index:Number(t)})},close:function(){this.$emit("cancel"),this.$emit("input",!1)}}};e.default=o},"2ae8":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("fd3c"),i("01a2"),i("e39c");var n=a(i("e456")),o=(i("d55c"),i("419c")),s={components:{BottomModal:n.default},props:{show:{type:Boolean,default:!1},sky_land_redpacket_list:{type:[Object,Array],default:[]},sky_land_redpacket_uid:{type:Number,default:0},sky_activity_name:{type:String,default:"天降红包"},sky_land_tuangouquan_list:{type:Array,default:[]}},data:function(){return{list:[]}},methods:{handleClose:function(){uni.removeStorageSync("redpacket_data"),this.$emit("cancel")},onReceive:function(){if(uni.removeStorageSync("redpacket_data"),0==this.sky_land_redpacket_uid){var t=this;uni.showToast({icon:"none",title:"请先登录"}),setTimeout((function(){(0,o.navPage)("/user-info-page/login/login")}),300)}else{t=this;uni.showToast({icon:"none",title:"已领取红包,下单时可直接抵扣"}),setTimeout((function(){t.$emit("cancel")}),1500)}},navPage:o.navPage},watch:{show:{handler:function(t){t&&(this.list=this.sky_land_redpacket_list,console.log("this.sky_land_tuangouquan_list",this.sky_land_tuangouquan_list),this.list.map((function(t,e){t.image||(t.image="https://qny.wdsp666.com/images/1/2022/11/JPmT1MrT7UUk7PZKp1KXZTPiHRDAz0.png?imageMogr2/thumbnail/750x"),t.image_title||(t.image_title="支付宝"),t.description||(t.description="点餐活动专享卷")})))},immediate:!0}}};e.default=s},"2ba2":function(t,e,i){"use strict";i.r(e);var a=i("7f0a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"2bc3":function(t,e,i){"use strict";i.r(e);var a=i("a88f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"2cbd":function(t,e,i){"use strict";i.r(e);var a=i("fbb3"),n=i("2bc3");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("aa4c");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"5287d9cd",null,!1,a["a"],void 0);e["default"]=r.exports},"2d5f":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.widthFull[data-v-1bc97790]{width:100%}.titlePaddingTop[data-v-1bc97790]{padding-top:%?20?%}.ordering-information[data-v-1bc97790]{position:fixed;left:%?0?%;\n /* top: var(--navbar-height);\n width: 100vw;\n height: calc(100vh - var(--navbar-height)); */top:0;width:100vw;height:100vh;padding-top:var(--navbar-height);background-color:#fff;z-index:100000}\n/* 信息内容 start */.content[data-v-1bc97790]{position:relative;padding:%?30?%;width:100%;height:calc(100% - %?240?%);padding-bottom:%?160?%}.content .data[data-v-1bc97790]{margin-top:%?30?%}\n/* 信息内容 end */\n/* 点餐按钮 start */.order-btn[data-v-1bc97790]{position:absolute;bottom:%?50?%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding:%?14?% %?80?%;border-radius:%?50?%;font-size:%?34?%}\n/* 点餐按钮 end */\n/* 轮播图 start */.swiper-content[data-v-1bc97790]{position:relative;width:100%;margin-top:%?20?%;padding:%?0?% %?30?%;border-radius:%?15?%}.swiper-content .swiper[data-v-1bc97790]{width:100%;height:%?240?%;border-radius:%?15?%}.swiper-content .swiper .swiper-item[data-v-1bc97790]{width:100%;height:100%;border-radius:%?15?%}.swiper-content .swiper .swiper-item .image[data-v-1bc97790]{border-radius:%?15?%}\n/* 轮播图 end */\n/* 指示器 start */.indicator[data-v-1bc97790]{position:absolute;left:50%;bottom:%?10?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.indicator__item[data-v-1bc97790]{width:%?16?%;height:%?16?%;border-radius:50%;background-color:hsla(0,0%,100%,.6);margin-right:%?10?%}.indicator__item.cur[data-v-1bc97790]{background-color:#fff;width:%?32?%;border-radius:%?20?%}\n/* 指示器 end */',""]),t.exports=e},"2dfb":function(t,e,i){var a=i("2333");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6d09f81d",a,!0,{sourceMap:!1,shadowMode:!1})},"2e14":function(t,e,i){"use strict";i.r(e);var a=i("9f9f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"2e58":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-checkbox[data-v-d15df60a]{display:inline-flex;align-items:center;overflow:hidden;-webkit-user-select:none;user-select:none;line-height:1.8}.tn-checkbox__icon-wrap[data-v-d15df60a]{color:#080808;flex:none;display:flex;flex-direction:row;align-items:center;justify-content:center;box-sizing:border-box;width:%?42?%;height:%?42?%;color:transparent;text-align:center;transition-property:color,border-color,background-color;border:1px solid #aaa;transition-duration:.2s}.tn-checkbox__icon-wrap--circle[data-v-d15df60a]{border-radius:100%}.tn-checkbox__icon-wrap--square[data-v-d15df60a]{border-radius:%?6?%}.tn-checkbox__icon-wrap--checked[data-v-d15df60a]{color:#fff;background-color:#01beff;border-color:#01beff}.tn-checkbox__icon-wrap--disabled[data-v-d15df60a]{background-color:#e6e6e6;border-color:#aaa}.tn-checkbox__icon-wrap--disabled--checked[data-v-d15df60a]{color:#aaa!important}.tn-checkbox__label[data-v-d15df60a]{word-wrap:break-word;margin-left:%?10?%;margin-right:%?24?%;color:#080808;font-size:%?30?%}.tn-checkbox__label--disabled[data-v-d15df60a]{color:#aaa}',""]),t.exports=e},"2e85":function(t,e,i){"use strict";var a=i("9113"),n=i.n(a);n.a},"2eb9":function(t,e,i){var a=i("cd58");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("2fa40064",a,!0,{sourceMap:!1,shadowMode:!1})},"2f0f":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("39d8"));i("bf0f");var o=i("262c"),s=i("a69d"),r={data:function(){return{}},methods:{checkHasPositionInfo:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise((function(i,a){var n=(0,o.getLocationInfoFromCache)();console.log("获取定位2222"),e||!n||0===n.lat||0===n.lng||1===n.lat||1===n.lng?(console.log("获取定位3333"),t._checkHasSystemPositionAuthorization().then((function(){console.log("获取定位4444"),t._checkHasPositionAuthorization().then((function(){console.log("获取定位5555"),i()})).catch((function(){a({closeAppLocation:!0})}))})).catch((function(){a({closeSystemLocation:!0})}))):i()}))},_checkHasPositionAuthorization:function(){var t=this;return new Promise((function(e,i){t._getLocationInfo().then((function(){e()})).catch((function(){i()}))}))},_checkHasSystemPositionAuthorization:function(){return new Promise((function(t,e){var i=uni.getSystemInfoSync();if(!i.locationAuthorized||!i.locationEnabled)return t(),!1;t()}))},transformlat:function(t,e){var i=3.141592653589793,a=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return a+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,a+=2*(20*Math.sin(e*i)+40*Math.sin(e/3*i))/3,a+=2*(160*Math.sin(e/12*i)+320*Math.sin(e*i/30))/3,a},transformlng:function(t,e){var i=3.141592653589793,a=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return a+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,a+=2*(20*Math.sin(t*i)+40*Math.sin(t/3*i))/3,a+=2*(150*Math.sin(t/12*i)+300*Math.sin(t/30*i))/3,a},toGcj02:function(t,e){var i=3.141592653589793,a=.006693421622965943,n=6378245,o=this.transformlat(t-105,e-35),s=this.transformlng(t-105,e-35),r=e/180*i,c=Math.sin(r);c=1-a*c*c;var d=Math.sqrt(c);o=180*o/(n*(1-a)/(c*d)*i),s=180*s/(n/d*Math.cos(r)*i);var l=e+o,u=t+s;return[u,l]},_getLocationInfo:function(){return new Promise((function(t,e){var i;uni.getLocation((i={type:"gcj02"},(0,n.default)(i,"type","wgs84"),(0,n.default)(i,"altitude",!0),(0,n.default)(i,"success",(function(e){console.log("获取定位成功:",e);var i=e.latitude,a=e.longitude;(0,o.setLocationInfoToCache)({lat:i,lng:a}),t(e)})),(0,n.default)(i,"fail",(function(i){console.error("获取定位失败:",i),(0,s.locationByIpApi)().then((function(a){console.log("ip定位成功:",a),!1!==a.data?((0,o.setLocationInfoToCache)({lat:a.lat,lng:a.lng,address:a.address}),t(a)):e(i)})).catch((function(t){console.error("ip定位失败:",t),e(t)}))})),i))}))},_openScopeSettingPage:function(){return new Promise((function(t,e){uni.openSetting({success:function(t){},fail:function(t){console.error("设置定位权限失败",t),e()}})}))}}};e.default=r},"2f73":function(t,e,i){"use strict";i.r(e);var a=i("b7b0"),n=i("f8b9");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1af6");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"375218ae",null,!1,a["a"],void 0);e["default"]=r.exports},"2fbb":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("b7c7")),o=a(i("2634")),s=a(i("2fdc"));i("64aa"),i("fd3c"),i("8f71"),i("bf0f"),i("dc8a"),i("c223"),i("01a2"),i("e39c"),i("bd06"),i("aa9c"),i("5c47"),i("2c10"),i("2797"),i("e838"),i("5ef2");var r=a(i("6fbe")),c=a(i("c231")),d=a(i("f875")),l=a(i("d36c")),u=a(i("787b")),f=a(i("a2f1")),p=a(i("672b")),v=a(i("e610")),h=a(i("48fb")),g=a(i("aefe")),m=a(i("f065")),b=a(i("d195")),_=a(i("8c27")),w=a(i("b217")),x=i("1db2"),y=i("9d0a"),C=i("419c"),k=(i("165b"),i("f9ce"),a(i("cb6a")),i("78b4")),S=(i("9897"),i("262c")),I=i("38f3"),T=i("e0a2"),P=getApp(),E={components:{ShowCaseHeader1:l.default,ShowCaseHeader2:d.default,ShowCaseHeader3:c.default,StoreNav:u.default,GoodsList:f.default,Appraise:p.default,StoreInfo:v.default,ShoppingCart:h.default,ShowcaseUpdateModal:g.default,ShowcaseOrderingInformation:m.default,loading:_.default,CustomSwitch:b.default,ShowcaseOrderingRenshu:w.default},mixins:[r.default],props:{tabbarHeight:{type:Number,default:0}},data:function(){return{optionsData:{sid:"",spellriceId:"",tableId:"",orderId:""},showWriteVouchers:!1,vouchersList:[],searchValue:"",storeInfo:{bgImage:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/store-title.jpg",storeInfo:{id:"",title:"",logo:"",score:0,sendPrice:0,selfPickupMinPrice:0,deliveryPrice:0,deliveryTime:0,content:"",notice:"",mobile:"",address:"",isRest:0,isInBusiness:0,activityLabels:[],images:[],qualification:[],business_hours_cn:"",coupons:!1,is_favorite:!1,delivery_fee_mode:1,address_type:0,delivery_free_price:0,is_system_brand:0}},goodsData:[],isLogin:!0,isRefreshData:!1,currentNavIndex:0,renderTemplateFlag:[!0,!1,!1],currentPageScrollPosition:0,componentId:"",navRectInitCount:0,navRectInfo:{top:0,height:0,opacity:0},goodsPreviewRectInfo:{stickyDistance:0,height:0},showUpdateModal:!1,updateInfo:{storeTitle:"每日优鲜11",storeContent:'平台已升级,请到支付宝搜索"大马生活"'},showOrderingInformationModal:!1,orderingInformation:{banner:[],data1:{title:"",content:""},data2:{title:"",content:""}},loadingShow:!0,pageShowType:2,delivery_type:!1,expansion_show:!1,old_discount:0,new_discount:0,expansion_data:null,new_description:"无门槛",categoryId:"",goodPage:1,categoryIndex:0,is_showGoods:!1,is_firstShowGoods:!0,isReachBottom:!1,isNextCategory:!1,showloadNext:!1,is_goods_render:!1,chrid:"",loadText:{},is_api_shop:!1,storeCode:"",brand:"",cartId:0,codeInfo:null,table_name:"",renshu:2,showOrderingRenshuModal:!1,isScan:!1,bakurl:"",showNavbarBack:!1,is_show_switch:!0,previous:"",encrypted_data:"",isUpdata:!1,hiddCart:!1,refreshCategoryTitleRectInfo:!1,defaultCategoryId:""}},computed:{isIos:function(){var t=uni.getSystemInfoSync();return console.log("设备",t.platform),"ios"===t.platform?30:0},topNavbarStyle:function(){var t={};return t.height="".concat(this.navBarInfo.height,"px"),t.opacity=this.navRectInfo.opacity,t},currentNavStyle:function(){var t=this;return function(e){var i={};return i.display=t.currentNavIndex===e?"block":"none",i}},isRest:function(){return 1==this.storeInfo.storeInfo.isRest||0==this.storeInfo.storeInfo.isInBusiness}},onLoad:function(t){this.handleStoreOptions(t),this.chrid=null!==t&&void 0!==t&&t.goods_id?t.goods_id:"",this.componentId=this.$tn.uuid(),this.initCustomNavBarInfo(),this.openSubscribeModal(),this.defaultCategoryId=t.cid},onShow:function(){this.is_goods_render&&this.getStoreShoppingCartData()},onReady:function(){var t=this;setTimeout((function(){t._getStoreNavRectInfo()}),150)},onHide:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.loadingShow=!1}),1e3)}))},onUnload:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.loadingShow=!1}),1e3)}))},onPageScroll:function(t){var e=t.scrollTop;this.currentPageScrollPosition=e,this._calcTopNavOpacity(e)},onReachBottom:function(){var t,e,i=this;if(0===this.currentNavIndex&&2==this.pageShowType){if(this.isReachBottom=!0,this.is_firstShowGoods)return;if(this.is_showGoods)return void(this.isNextCategory=!this.isNextCategory);this.showloadNext=!0,setTimeout((function(){i.showloadNext=!1}),500),this.goodPage++,this.getStoreGoodsList(!1)}1===this.currentNavIndex&&((null===(t=this.$refs)||void 0===t||null===(e=t.appraiseRef)||void 0===e?void 0:e.loadMoreCommentData)&&this.$refs.appraiseRef.loadMoreCommentData())},methods:{handleScroll:function(t){var e=this;this.tim&&clearTimeout(this.tim),this.tim=setTimeout((function(){e.scroll(t)}),120)},scroll:function(t){for(var e=P.globalData.position,i=0;i<e.length;i++)if(t>=0&&t<e[1]-e[0]){var a=0;this.$refs.goodsList.handleProductListUpdateCategoryIndexEvent(a)}else if(t>=e[i]-e[0]&&t<e[i+1]-e[0]){a=i;this.$refs.goodsList.handleProductListUpdateCategoryIndexEvent(a)}else if(t>=e[e.length-1]-e[0]){a=e.length-1;this.$refs.goodsList.handleProductListUpdateCategoryIndexEvent(a)}},cartNums:function(t){console.log(t,"gouwuc购物车数控"),this.hiddCart=!(t&&t>0)},onPageScrollEvent:function(t){var e,i=t.scrollTop;(this.currentPageScrollPosition=i,this._calcTopNavOpacity(i),P.globalData.isClick)?this.$nextTick((function(){P.globalData.isClick=!1})):this.handleScroll(null===(e=t.detail)||void 0===e?void 0:e.scrollTop)},loadMoreTemplate1:function(){var t,e,i=this;if(0===this.currentNavIndex&&2==this.pageShowType){if(this.isReachBottom=!0,this.is_firstShowGoods)return;if(this.is_showGoods)return void(this.isNextCategory=!this.isNextCategory);this.showloadNext=!0,setTimeout((function(){i.showloadNext=!1}),500),this.goodPage++,this.getStoreGoodsList(!1)}1===this.currentNavIndex&&((null===(t=this.$refs)||void 0===t||null===(e=t.appraiseRef)||void 0===e?void 0:e.loadMoreCommentData)&&this.$refs.appraiseRef.loadMoreCommentData())},onShowEvent:function(t){var e=this;console.log(t,"===========diyOnLoad==="),uni.$on("updateSid",(function(t){e.optionsData.sid=t,console.log("监听到事件来自 updateSid ,携带参数为:"+e.optionsData.sid),e.isUpdata=!0,e.reloadPageData(),uni.$off("updateSid")})),1!=t.delivery_type&&2!=t.delivery_type||(1==t.delivery_type?this.delivery_type=!1:this.delivery_type=!0),t.table_id||(this.optionsData.tableId=""),console.log(this.delivery_type,"this.delivery_type"),this.isUpdata||(this.handleStoreOptions(t),this.chrid=null!==t&&void 0!==t&&t.goods_id?t.goods_id:"",this.componentId=this.$tn.uuid(),this.initCustomNavBarInfo(),this.openSubscribeModal())},getBrand:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,k.getBrandApi)(t.optionsData.sid).then((function(e){console.log("res",e),console.log("res.type",e.type),e.type&&(t.brand=e.type,t.storeCode=e.code)})).catch((function(t){console.log("err",t)})));case 1:case"end":return e.stop()}}),e)})))()},getOrderDinnerStoreId:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t,e.abrupt("return",(0,k.getOrderDinnerStoreIdApi)({type:i.brand,storeCode:i.storeCode}).then((function(e){console.log("res",e),e.sid==t.optionsData.sid&&(console.log("here"),t.is_api_shop=!0)})));case 2:case"end":return e.stop()}}),e)})))()},handleSearchEvent:function(t){var e=this;this.searchValue=t,this.goodPage=1,this.categoryId="",this.is_showGoods=!1,this.goodsData=[],uni.pageScrollTo({scrollTop:0,duration:0}),this.$nextTick((function(){setTimeout((function(){e.getStoreGoodsList()}),150)}))},handleSubmitOrderRefreshEvent:function(){this.isRefreshData=!0},handleCategoryChangeEvent:function(t,e){this.isReachBottom=!1,this.is_showGoods=!1,this.is_firstShowGoods=!0,this.categoryId=t,this.categoryIndex=e,console.log("🚀🚀🚀🚀触发父组件切换上一个分类===3",this.categoryIndex),this.goodPage=1,this.getStoreGoodsList(!1)},changSwt:function(t){this.delivery_type=t},getStoreInfo:function(){var t=this;(0,k.getStoreInfoApi)({sid:this.optionsData.sid,table_id:this.optionsData.tableId,storeCode:this.StoreCode,brand:this.brand}).then((function(e){var i,a,n;t.isLogin=!0;var o,s,r=e.store;(t.isScan?3==r.return_page?t.showNavbarBack=!1:(t.showNavbarBack=!0,1==r.return_page&&(t.bakurl="")):t.showNavbarBack=!0,t.showOrderingInformationModal=1==(null===r||void 0===r?void 0:r.is_notice),t.orderingInformation.banner=(null===r||void 0===r?void 0:r.noticeThumb)||[],t.orderingInformation.data1.title=(null===r||void 0===r?void 0:r.notice1_title)||"",t.orderingInformation.data1.content=(null===r||void 0===r?void 0:r.notice1_description)||"",t.orderingInformation.data2.title=(null===r||void 0===r?void 0:r.notice2_title)||"",t.orderingInformation.data2.content=(null===r||void 0===r?void 0:r.notice2_description)||"",t.optionsData.tableId)&&(t.showOrderingRenshuModal=1==(null===r||void 0===r||null===(o=r.tangshi)||void 0===o?void 0:o.person_num_status),t.showOrderingRenshuModal&&t.codeInfo.tableInfo&&1!=t.codeInfo.tableInfo.status&&(t.showOrderingRenshuModal=!1),t.storeInfo.storeInfo.person_num_image=(null===r||void 0===r||null===(s=r.tangshi)||void 0===s?void 0:s.image_url)||"",t.table_name=r&&r.table?r.table.title:"",t.storeInfo.storeInfo.table=r&&r.table?r.table:"");t.storeInfo.storeInfo.id=(null===r||void 0===r?void 0:r.id)||"",t.storeInfo.storeInfo.title=(null===r||void 0===r?void 0:r.title)||"",t.storeInfo.storeInfo.logo=(null===r||void 0===r?void 0:r.logo)||"",t.storeInfo.storeInfo.score=(null===r||void 0===r?void 0:r.score)||5,t.storeInfo.storeInfo.sendPrice=(null===r||void 0===r?void 0:r.send_price)||0,t.storeInfo.storeInfo.selfPickupMinPrice=(null===r||void 0===r?void 0:r.self_pickup_min_price)||0,t.storeInfo.storeInfo.deliveryPrice=(null===r||void 0===r?void 0:r.delivery_price)||0,t.storeInfo.storeInfo.deliveryTime=(null===r||void 0===r?void 0:r.delivery_time)||0,t.storeInfo.storeInfo.notice=(null===r||void 0===r?void 0:r.notice)||"",t.storeInfo.storeInfo.content=(null===r||void 0===r?void 0:r.content)||"",t.storeInfo.storeInfo.mobile=(null===r||void 0===r?void 0:r.telephone)||"",t.storeInfo.storeInfo.address=(null===r||void 0===r?void 0:r.address)||"",t.storeInfo.storeInfo.isRest=(null===r||void 0===r?void 0:r.is_rest)||0,t.storeInfo.storeInfo.isInBusiness=(null===r||void 0===r?void 0:r.is_in_business)||0,t.storeInfo.storeInfo.coupons=null===r||void 0===r?void 0:r.coupon,t.storeInfo.storeInfo.delivery_type=null===r||void 0===r?void 0:r.delivery_type,t.storeInfo.storeInfo.is_favorite=(null===r||void 0===r?void 0:r.is_favorite)||!1,t.storeInfo.storeInfo.delivery_title=(null===r||void 0===r?void 0:r.delivery_title)||"",t.storeInfo.storeInfo.delivery_fee_mode=(null===r||void 0===r?void 0:r.delivery_fee_mode)||1,t.storeInfo.storeInfo.address_type=(null===r||void 0===r?void 0:r.address_type)||0,t.storeInfo.storeInfo.deliveryFreePrice=(null===r||void 0===r?void 0:r.delivery_free_price)||0,t.storeInfo.storeInfo.distance=(null===r||void 0===r?void 0:r.distance)||0,t.storeInfo.class_type=(null===r||void 0===r?void 0:r.class_type)||2,t.storeInfo.table=(null===r||void 0===r?void 0:r.table)||[],t.storeInfo.activity=(null===r||void 0===r?void 0:r.activity)||{},t.is_api_shop&&(t.storeInfo.storeInfo.address=uni.getStorageSync(t.brand+"_address")),t.storeInfo.storeInfo.business_hours_cn=r.business_hours_cn||"",console.log(null===(i=t.storeInfo.storeInfo)||void 0===i?void 0:i.business_hours_cn,"ssss");var c=(null===r||void 0===r?void 0:r.thumbs)||[];t.storeInfo.storeInfo.images=c.map((function(t){return t.image}));var d=r.qualification;t.storeInfo.storeInfo.qualification=Object.keys(d).map((function(t){var e=d[t];return e.thumb})).filter((function(t){return""!=t}));var l=[];null!==r&&void 0!==r&&null!==(a=r.activity)&&void 0!==a&&null!==(n=a.labels)&&void 0!==n&&n.length&&r.activity.labels.length>0&&(l=l.concat(r.activity.labels.map((function(t){return t.title})))),t.storeInfo.storeInfo.activityLabels=l,t.storeInfo.multiple_cart_is_open=(null===r||void 0===r?void 0:r.multiple_cart_is_open)||0,t.storeInfo.multiple_cart_add_fee=(null===r||void 0===r?void 0:r.multiple_cart_add_fee)||0,t.pageShowType=r.pageShowType,t.storeInfo.storeInfo.is_system_brand=(null===r||void 0===r?void 0:r.is_system_brand)||0,console.log("商家的id具体信息",t.optionsData),t.showOrderingInformationModal||t.getStoreGoodsList(),t.isUpdata=!0})).catch((function(e){console.error("[store-template-1]获取店铺信息失败",e),"请重新登录"==e.msg?t.isLogin=!1:(0,y.showModal)({title:"提示",content:e.msg||"获取店铺信息失败",callback:function(){(0,C.navBack)()}})}))},changTabs:function(t,e){var i=this;0==t&&(this.is_showGoods=!1,this.goodPage=1),console.log(t,e,this.goodsData),(0,k.getStoreGoodsListApi)({sid:this.optionsData.sid,search:this.searchValue,orderId:this.optionsData.orderId,cid:this.categoryId?this.categoryId:this.goodsData[0].id,child_id:t,page:1,storeCode:this.storeCode,order_type:this.optionsData.tableId?"tangshi":"takeout",encrypted_data:this.encrypted_data}).then((function(t){console.log(t),t.result.goods.length>0?i.$set(i.goodsData[i.categoryIndex],"goods",t.result.goods):i.goodsData[i.categoryIndex].goods=[]})).catch((function(t){console.log(t)}))},getStoreGoodsList:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.isReachBottom=!1,this.isNextCategory=!1,e&&(this.loadingShow=!0),(0,k.getStoreGoodsListApi)({sid:this.optionsData.sid,search:this.searchValue,orderId:this.optionsData.orderId,cid:this.categoryId,page:this.goodPage,is_api_shop:this.is_api_shop,storeCode:this.storeCode,api_brand:this.brand,order_type:this.optionsData.tableId?"tangshi":"takeout",encrypted_data:this.encrypted_data}).then((function(e){if(console.log("res加载商品中",e),!e.cate_has_goods&&!e.result)return t.loadingShow=!1,void(t.goodsData=[]);if(1==t.pageShowType&&(t.goodsData=e.cate_has_goods.map((function(t){var e=t.goods.map((function(t){return{id:t.id,title:t.title,image:t.thumb,label:(null===t||void 0===t?void 0:t.label)||"",content:(null===t||void 0===t?void 0:t.content)||"",sailed:(null===t||void 0===t?void 0:t.sailed)||0,price:(null===t||void 0===t?void 0:t.price)||0,oldPrice:(null===t||void 0===t?void 0:t.old_price)||(null===t||void 0===t?void 0:t.price)||0,specOptions:1===(null===t||void 0===t?void 0:t.is_attrs)||1===(null===t||void 0===t?void 0:t.is_materials)||1===(null===t||void 0===t?void 0:t.is_options)?1:0,num:(null===t||void 0===t?void 0:t.totalnum)||0,min:0,max:(null===t||void 0===t?void 0:t.total)||0,is_tuangouquan:(null===t||void 0===t?void 0:t.is_tuangouquan)||!1,is_api:(null===t||void 0===t?void 0:t.is_api)||0,good_code:(null===t||void 0===t?void 0:t.code)||"",brand:(null===t||void 0===t?void 0:t.brand)||"",storeCode:(null===t||void 0===t?void 0:t.storeCode)||"",buy_limit:(null===t||void 0===t?void 0:t.buy_limit)||0}}));return{id:t.id,title:t.title,thumb:t.thumb,description:t.description,category_min_fee:t.category_min_fee,is_mandatory:t.is_mandatory,goods:e,child:t.child}}))),2==t.pageShowType){var a,o=e.result.goods.map((function(t){return console.log(t),{id:t.id,title:t.title,image:t.thumb,label:(null===t||void 0===t?void 0:t.label)||"",content:(null===t||void 0===t?void 0:t.content)||"",sailed:(null===t||void 0===t?void 0:t.sailed)||0,price:(null===t||void 0===t?void 0:t.price)||0,oldPrice:(null===t||void 0===t?void 0:t.old_price)||(null===t||void 0===t?void 0:t.price)||0,specOptions:1===(null===t||void 0===t?void 0:t.is_attrs)||1===(null===t||void 0===t?void 0:t.is_materials)||1===(null===t||void 0===t?void 0:t.is_options)?1:0,num:(null===t||void 0===t?void 0:t.totalnum)||0,min:0,max:(null===t||void 0===t?void 0:t.total)||0,is_tuangouquan:(null===t||void 0===t?void 0:t.is_tuangouquan)||!1,is_api:(null===t||void 0===t?void 0:t.is_api)||0,good_code:(null===t||void 0===t?void 0:t.code)||"",brand:(null===t||void 0===t?void 0:t.brand)||"",storeCode:(null===t||void 0===t?void 0:t.storeCode)||"",buy_limit:(null===t||void 0===t?void 0:t.buy_limit)||0}}));if(o.length<e.result.psize&&(t.is_showGoods=!0),1==t.goodPage)if(t.searchValue&&t.categoryId){var s=t.goodsData.findIndex((function(t){return t.id==e.result.cid}));t.goodsData[s].goods=o}else t.goodsData=e.result.category.map((function(t){return{id:t.id,title:t.title,thumb:t.thumb,description:t.description,category_min_fee:t.category_min_fee,is_mandatory:t.is_mandatory,goods:[],child:null!==t&&void 0!==t&&t.child?t.child:[]}})),t.categoryIndex=e.result.cindex,t.goodsData[e.result.cindex].goods=o;else(a=t.goodsData[e.result.cindex].goods).push.apply(a,(0,n.default)(o))}t.is_firstShowGoods=!1,t.loadingShow=!1,t.is_goods_render=!0,t.getStoreShoppingCartData(),t.$nextTick((function(){(0,y.closeLoading)()})),i&&t.$nextTick((function(){t.refreshCategoryTitleRectInfo=!0}))})).catch((function(e){console.error("[store-template-1]获取店铺商品列表失败",e),t.goodsData=[],t.loadingShow=!1,t.$nextTick((function(){(0,y.closeLoading)()}))}))},getCodeInfoByCode:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function i(){var a;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,(0,k.getCodeInfoByCodeApi)(t);case 2:a=i.sent,e.sid=a.sid,e.table_id=a.table_id,e.optionsData.sid=a.sid,e.optionsData.tableId=a.table_id,e.locationSuccessFlag=!0,e.codeInfo=a,e.optionsData.tableId&&e.websocket_connect();case 10:case"end":return i.stop()}}),i)})))()},handleStoreOptions:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function i(){var a,n,s,r,c,d,l,u;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(console.log(t,"c传递的参数是"),t.brand&&(e.brand=t.brand,e.storeCode=t.storeCode),a=0,n=0,!t.q){i.next=21;break}if(s=decodeURIComponent(t.q),console.log("页面参数++++",s),r=s.match(/sid=(\d+)/),r&&(a=r[1]||""),c=s.match(/code=([^&]+)/),!c){i.next=15;break}return d=c[1]||"",i.next=14,e.getCodeInfoByCode(d);case 14:a=e.sid;case 15:l=s.match(/from=([^&]+)/),u=s.match(/table_id=([^&]+)/),u=u?u[1]:"",(l&&"scan"==l[1]||c||u)&&(e.isScan=!0,e.bakurl="/store-page/store-index/store-index?sid=".concat(a||"")),i.next=22;break;case 21:a=t.sid||"";case 22:if(1==e.vuex_appType&&(a=e.vuex_sid),!t.system_brand_id){i.next=33;break}if(n=t.system_brand_id,!t.nearest_id){i.next=30;break}e.optionsData.sid=t.nearest_id,a=t.nearest_id,i.next=33;break;case 30:return i.next=32,e.getBrandList(n);case 32:a=e.optionsData.sid?e.optionsData.sid:a;case 33:if(a||n){i.next=36;break}return(0,y.showModal)({title:"提示",content:"缺少必要参数",callback:function(){(0,C.navBack)()}}),i.abrupt("return");case 36:if(e.optionsData.sid=a,e.optionsData.orderId=t.order_id||"",t.table_id&&(e.optionsData.sid=t.sid,e.optionsData.tableId=t.table_id,console.log("扫码点餐进入的",t,"++++",t.table_id)),e.brand){i.next=42;break}return i.next=42,e.getBrand();case 42:return console.log("options",t),t.encrypted_data&&(e.encrypted_data=t.encrypted_data),i.next=46,e.getOrderDinnerStoreId();case 46:e.getPageData(),t.navType&&(e.previous=t.navType),e.checkExchange(a),Object.prototype.hasOwnProperty.call(t,"delivery_type")&&(e.delivery_type=t.delivery_type,console.log("options.delivery_type",e.delivery_type)),1!=t.delivery_type&&2!=t.delivery_type||(1==t.delivery_type?e.delivery_type=!1:e.delivery_type=!0);case 51:case"end":return i.stop()}}),i)})))()},getBrandList:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function i(){return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.abrupt("return",(0,k.getBrandStoreListApi)({system_brand_id:t,keywords:""}).then((function(t){console.log("res",t),e.optionsData.sid=t[0].id,console.log("this.optionsData.sid",e.optionsData.sid)})));case 1:case"end":return i.stop()}}),i)})))()},getPageData:function(){this.getStoreInfo()},getWriteVouchers:function(){var t=this;(0,k.searchRecordApi)({sid:this.optionsData.sid}).then((function(e){e.data.length>0&&(t.vouchersList=e.data,t.showWriteVouchers=!0)}))},reloadPageData:function(){var t=this;uni.pageScrollTo({scrollTop:0,duration:0}),this.$nextTick((function(){setTimeout((function(){t.goodsData=[],t.getPageData(),(0,S.getTokenFromCache)()&&t.getStoreShoppingCartData()}),150)}))},handleNavChangeEvent:function(t){this.renderTemplateFlag[t]||(this.renderTemplateFlag[t]=!0),this.currentPageScrollPosition>this.navRectInfo.top?uni.pageScrollTo({scrollTop:this.navRectInfo.top-this.navBarInfo.height,duration:0}):uni.pageScrollTo({scrollTop:this.currentPageScrollPosition,duration:0})},handleGoodsListRenderFinishEvent:function(){var t=this;console.log("nav","商品加载完毕"),this.loadingShow=!1,setTimeout((function(){t.loadingShow=!1}),1e3)},handleGoodsListGoodNumChangeEvent:function(t){var e=t.type,i=t.cid,a=t.goodId;this._updateGoodsNumData(e,i,a),this.getStoreShoppingCartData()},handleShoppingCartGoodNumChangeEvent:function(t){var e=t.type,i=t.cid,a=t.goodId;this._updateGoodsNumData(e,i,a)},handleUpdateCategoryEvent:function(t){var e;(null===(e=this.$refs.goodsList)||void 0===e?void 0:e.handRequireCategoryEvent)&&this.$refs.goodsList.handRequireCategoryEvent(t)},handleShoppingCartClearEvent:function(){this.goodsData.map((function(t){t.goods.map((function(t){t.num>0&&(t.num=0)}))}))},getStoreShoppingCartData:function(){var t;(null===(t=this.$refs.shoppingCartRef)||void 0===t?void 0:t.updateShoppingCartData)&&this.$refs.shoppingCartRef.updateShoppingCartData()},updateModalNavBackEvent:function(){(0,C.navBack)()},handleOrderingInformationClickEvent:function(){this.showOrderingInformationModal=!1,this.getStoreGoodsList()},openSubscribeModal:function(){},_updateGoodsNumData:function(t,e,i){},_getStoreNavRectInfo:function(){var t=this,e=(0,x.createQuery)(this);e.select("#nav_".concat(this.componentId)).boundingClientRect((function(e){if(!e||0===e.height)return t.navRectInitCount>10?console.error("[product-showcase]获取导航容器节点信息失败"):void setTimeout((function(){t._getStoreNavRectInfo(),t.navRectInitCount++}),150);t.navRectInitCount=0,t.navRectInfo.top=e.top,t.navRectInfo.height=e.height,t.navRectInfo.opacity=0,t.goodsPreviewRectInfo.stickyDistance=t.navBarInfo.height+e.height;var i=uni.getSystemInfoSync();t.goodsPreviewRectInfo.height=i.windowHeight-(t.navBarInfo.height+e.height)})).exec()},_calcTopNavOpacity:function(t){var e=t/(this.navRectInfo.top-this.navBarInfo.height);e<0&&(e=0),e>1&&(e=1),1===this.navRectInfo.opacity&&1===e||(this.navRectInfo.opacity=e)},_zfbdataExposeGoods:function(t){var e=this;console.log("增长分析埋点中商品曝光的店铺: ",this.storeInfo),t.cate_has_goods.forEach((function(t){t.goods.forEach((function(i){my.reportCustomEvent("1045130",{bizType:"cloudappevent",spu_id:i.id,spu_name:i.title,price_original:100*parseFloat(i.price),price_current:100*parseFloat(i.price),spu_catg_first_id:e.storeInfo.storeInfo.id,spu_catg_first_name:e.storeInfo.storeInfo.title,spu_catg_second_id:t.id,spu_catg_second_name:t.title})}))}))},deliveryTypeChange:function(t){this.delivery_type=t,console.log("delivery_type",this.delivery_type)},checkExchange:function(t){var e=this;(0,I.checkExchangeApi)(t).then((function(t){if(0!=t.data){e.expansion_show=!0,e.old_discount=parseFloat(t.redpacket.discount),e.new_discount=parseFloat(t.exchange.discount);var i=parseFloat(t.exchange.condition);e.new_description=i<=0?"无门槛":"满"+i+"元可用",e.expansion_data=t}else e.expansion_show=!1}))},exchange:function(){var t=this;uni.showModal({title:"提示",content:"是否确认兑换",showCancel:!0,cancelText:"取消",success:function(e){e.confirm&&(0,I.exchangeApi)({sid:t.expansion_data.exchange.sid,redpacket_id:t.expansion_data.redpacket.id,mealRedpacket_id:t.expansion_data.exchange.redpacketid}).then((function(e){console.log("res++++++++change",e),uni.showToast({title:"兑换成功",icon:"success",success:function(){t.expansion_show=!1}})}))}})},expansion_close:function(){this.expansion_show=!1},handleOrderingRenshuClickEvent:function(t){console.log("就餐人数",t),this.renshu=t,this.showOrderingRenshuModal=!1,this.getStoreGoodsList()},getCartId:function(t){this.cartId=t},websocket_connect:function(){console.log("socket");var t=this;uni.connectSocket({url:T.WSS_URL}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!")})),uni.onSocketError((function(t){console.log("WebSocket连接打开失败,请检查!")})),uni.onSocketMessage((function(e){if(console.log("收到服务器内容:"+e.data),-1!=e.data.indexOf("update_cart")){var i=JSON.parse(e.data),a=i.current_cart_id,n=i.table_id;i.extend;console.log(n),console.log(t.optionsData.tableId),console.log(a),console.log(t.cartId),n==t.optionsData.tableId&&a!=t.cartId&&(t.getStoreShoppingCartData(),t.getStoreGoodsList(!0))}}))},changeScroll:function(t){this.$emit("change_scroll",t)},sequence:function(){this.is_api_shop?uni.navigateTo({url:"/store-page/linkage/linkpage?brand=".concat(this.brand)}):uni.navigateTo({url:"/store-page/linkage/linkpage?system_brand_id=".concat(this.storeInfo.storeInfo.is_system_brand)})}}};e.default=E},"301f":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"blank-region",options:{virtualHost:!0},props:{config:[Array,Object]},data:function(){return{}},mounted:function(){console.log("13++++++++++++1++1+2+",this.config)}};e.default=a},3073:function(t,e,i){"use strict";var a=i("425d"),n=i.n(a);n.a},"30e6":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");a(i("6fbe"));var n={props:{value:{type:Boolean,default:!1},table_name:"",storeInfo:""},data:function(){return{num:2}},methods:{change_num:function(t){console.log("e",t),this.num=t},add:function(){this.num=Number(this.num)+1},del:function(){Number(this.num)>1&&(this.num=Number(this.num)-1)},handleOrderEvent:function(){this.$emit("ordering",this.num)}}};e.default=n},"313a":function(t,e,i){"use strict";var a=i("369b"),n=i.n(a);n.a},"31d9":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitAndPayApi=e.orderDetailPayApi=e.listApi=e.goPayApi=e.getRechargeOrderListApi=e.getPaymentListApi=e.getOperatorListApi=e.getCountryListApi=void 0;var n=a(i("7653"));e.getCountryListApi=function(t){return n.default.post("api/user.product.PhoneRecharge/getCountryList",t)};e.getOperatorListApi=function(t){return n.default.post("api/user.product.PhoneRecharge/getOperatorList",t)};e.listApi=function(t){return n.default.post("api/user.product.PhoneRecharge/list",t)};e.getRechargeOrderListApi=function(t){return n.default.post("api/user.order.phoneRecharge/list",t)};e.getPaymentListApi=function(t){return n.default.post("api/user.dict.pay/list",t)};e.goPayApi=function(t){return n.default.post("api/user.order.PhoneRecharge/goPay",t)};e.submitAndPayApi=function(t){return n.default.post("api/user.order.PhoneRecharge/submitAndPay",t)};e.orderDetailPayApi=function(t){return n.default.post("api/user.order.phoneRecharge/detail",t)}},"31de":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"info-item tn-shadow"},[i("v-uni-view",{staticClass:"tn-flex-1 tn-flex tn-flex-col-center"},[i("v-uni-view",{},[i("v-uni-image",{staticClass:"img",attrs:{src:t.userInfo.avatar,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"tn-margin-left",staticStyle:{flex:"1"}},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v(t._s(t.userInfo.nickname))]),t.config.istip?i("v-uni-view",{staticClass:"tn-color-gray tn-margin-top-xs"},[t._v(t._s(t.config.tips))]):i("v-uni-view",{staticClass:"tn-color-gray tn-margin-top-xs"},[t._v(t._s(t.userInfo.mobile))])],1)],1),i("v-uni-view",{staticClass:"tn-flex tn-flex-col-center tn-margin-left"},[1===t.config.type?i("v-uni-view",{staticClass:"text-mod",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-recharge/index?sid="+t.config.sid)}}},[t.storInfo.memberInfo?i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v(t._s(t.storInfo.memberInfo.credit2?t.storInfo.memberInfo.credit2:0))]):t._e(),i("v-uni-view",{staticClass:"tn-color-gray tn-margin-top-xs"},[t._v("门店余额")])],1):t._e(),2===t.config.type?i("v-uni-view",{staticClass:"text-mod",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-recharge/index")}}},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v(t._s(t.storInfo.memberInfo.platform_credit2))]),i("v-uni-view",{staticClass:"tn-color-gray tn-margin-top-xs"},[t._v("平台余额")])],1):t._e(),1===t.config.type2?i("v-uni-view",{staticClass:"text-mod tn-margin-left-sm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/redpacket/index")}}},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v(t._s(t.storInfo.memberInfo.redpacketTotal))]),i("v-uni-view",{staticClass:"tn-color-gray tn-margin-top-xs"},[t._v("红包")])],1):t._e(),2===t.config.type2?i("v-uni-view",{staticClass:"text-mod tn-margin-left-sm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/ticket/index?index=1")}}},[t.storInfo.redpacketList?i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v(t._s(t.storInfo.redpacketList.length))]):i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v("0")]),i("v-uni-view",{staticClass:"tn-color-gray tn-margin-top-xs"},[t._v("代金券")])],1):t._e()],1)],1)},n=[]},"32d6":function(t,e,i){"use strict";(function(t){e["a"]=function(e){(e.options.wxs||(e.options.wxs={}))["wxs"]=function(e){function i(e,i,a){if(a>0){var n=t().getTime(),o=function(){t().getTime()-n>a?i&&i():e.requestAnimationFrame(o)};o()}else i&&i()}function a(t,e,i){i.currentIndex=t,e.callMethod("changeSwiperIndex",{index:t})}function n(t,e,a,n){var o=n.currentIndex,s=n.list,r=n.itemData.direction,c=n.touchRelactive||{x:0,y:0},d=JSON.parse(JSON.stringify(s));if("horizontal"===r){var l=n.itemData.itemWidth;a.setStyle({transform:"translate3d(-"+l+"px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});var u=Math.floor((l-Math.abs(e.pageX-c.x))/l*250);i(a,(function(){for(var t=s.length-1;t>=0;t--){var e=t-1<0?s.length-1:t-1;n.itemsInstance[t].setStyle({transform:"translate3d("+d[e].translateX+"px, 0px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}else if("vertical"===r){var f=n.itemData.itemHeight;a.setStyle({transform:"translate3d(0px, -"+f+"px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});u=Math.floor((f-Math.abs(e.pageY-c.y))/f*250);i(a,(function(){for(var t=s.length-1;t>=0;t--){var e=t-1<0?s.length-1:t-1;n.itemsInstance[t].setStyle({transform:"translate3d(0px, "+d[e].translateY+"px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}}function o(t,e,a,n){var o=n.currentIndex,s=n.list,r=n.itemData.direction,c=n.touchRelactive||{x:0,y:0},d=JSON.parse(JSON.stringify(s));if("horizontal"===r){var l=n.itemData.itemWidth;n.itemsInstance[t].setStyle({transform:"translate3d(0px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});var u=Math.floor((l-Math.abs(e.pageX-c.x))/l*250);i(a,(function(){for(var t=0;t<s.length;t++){var e=t+1>s.length-1?0:t+1;n.itemsInstance[t].setStyle({transform:"translate3d("+d[e].translateX+"px, 0px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}else if("vertical"===r){var f=n.itemData.itemHeight;n.itemsInstance[t].setStyle({transform:"translate3d(0px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});u=Math.floor((f-Math.abs(e.pageY-c.y))/f*250);i(a,(function(){for(var t=0;t<s.length;t++){var e=t+1>s.length-1?0:t+1;n.itemsInstance[t].setStyle({transform:"translate3d(0px, "+d[e].translateY+"px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}}function s(t,e){t.itemsInstance&&(!0===e?t.itemsInstance.forEach((function(t,e){t.hasClass("tn-stack-swiper__item__transition")||t.addClass("tn-stack-swiper__item__transition")})):t.itemsInstance.forEach((function(t,e){t.hasClass("tn-stack-swiper__item__transition")&&t.removeClass("tn-stack-swiper__item__transition")})))}return e.exports={itemDataObserver:function(t,e,i,a){var n=i.getState();n.itemData=t},listObserver:function(t,e,i,a){var n=i.getState(),o=n.itemData;n.itemsInstance=i.selectAllComponents(".tn-stack-swiper__item"),n.list=t||[],n.list.forEach((function(t,e){var i=n.itemsInstance[e];t&&i&&("horizontal"===o.direction?i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity}):"vertical"===o.direction&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity}))}))},swiperIndexChange:function(t,e,i,a){var o=i.getState();e<0||"undefined"==typeof e||o.currentIndex==t?(e<0||"undefined"==typeof e)&&(o.currentIndex=0):(o.currentIndex=t,t>e||e==o.list.length-1&&0==t?n(0,{pageX:0},o.itemsInstance[e],o):t<e||0==e&&o.list.length)},autoplayFlagChange:function(t,e,i,a){var n=i.getState();s(n,!0===t)},touchStart:function(t,e){var i=t.instance,a=i.getDataset(),n=e.getState(),o=n.itemData;if(a.index==n.currentIndex){var r=t.changedTouches[0];r&&(n.touchRelactive={x:r.pageX,y:r.pageY},n.touchId=r.identifier,"horizontal"===o.direction?n.itemAnimationWidth=o.itemWidth*(a.switchrate/100):"vertical"===o.direction&&(n.itemAnimationHeight=o.itemHeight*(a.switchrate/100)),s(n,!1),n.touching=!0,e.callMethod("changeTouchState",{touching:!0}),e.callMethod("clearAutoPlayTimer"))}},touchMove:function(t,e){var i=t.instance,a=i.getDataset(),n=e.getState(),o=n.itemData;if(a.index==n.currentIndex&&n.touching){var s=t.changedTouches[0];if(s&&n.touchId==s.identifier){var r={x:s.pageX,y:s.pageY};n.direction||(n.direction=function(t,e,i){if("horizontal"===i){if(Math.abs(e.y-t.y)<=30&&Math.abs(e.x-t.x)>10){if(e.x-t.x>0)return"right";if(e.x-t.x<0)return"left"}}else if("vertical"===i&&Math.abs(e.x-t.x)<=30&&Math.abs(e.y-t.y)>10){if(e.y-t.y>0)return"down";if(e.y-t.y<0)return"up"}return""}(n.touchRelactive,r,o.direction)),function(t,e,i){var a=i.itemData,n=(i.itemsInstance,i.list),o=i.currentIndex,s=i.touchRelactive;if("horizontal"===a.direction){var r=i.itemAnimationWidth,c=t.x-s.x;if(t.x>a.windowWidth||t.x<0)return;if("left"==i.direction)e.setStyle({transform:"translate3d("+c+"px, 0px, 0px)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(c)>r&&i.itemsInstance.forEach((function(t,e){if(e!=o){var i=0==e?n.length-1:e-1,s=(Math.abs(c)-r)/(a.itemWidth-r),d=n[e].translateX-(n[e].translateX-n[i].translateX)*s,l=n[e].scale+(n[i].scale-n[e].scale)*s,u=n[e].opacity+(n[i].opacity-n[e].opacity)*s;t.setStyle({transform:"translate3d("+d+"px, 0px, 0px) scale("+l+")","z-index":n[e].zIndex,opacity:u})}}));else if("right"==i.direction){var d=0==o?n.length-1:o-1;i.itemsInstance[d].setStyle({transform:"translate3d(-"+(a.itemWidth-c)+"px, 0px, 0px) scale(1)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(c)<r&&i.itemsInstance.forEach((function(t,e){if(e!=d){var i=e==n.length-1?0:e+1,a=Math.abs(c)/r,o=n[e].translateX+(n[i].translateX-n[e].translateX)*a,s=n[e].scale-(n[e].scale-n[i].scale)*a,l=n[e].opacity-(n[e].opacity-n[i].opacity)*a;t.setStyle({transform:"translate3d("+o+"px, 0px, 0px) scale("+s+")","z-index":n[e].zIndex,opacity:l})}}))}}else if("vertical"===a.direction){var l=i.itemAnimationHeight,u=t.y-s.y;if(t.y>a.windowHeight||t.y<0)return;if("up"==i.direction)e.setStyle({transform:"translate3d(0px, "+u+"px, 0px)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(u)>l&&i.itemsInstance.forEach((function(t,e){if(e!=o){var i=0==e?n.length-1:e-1,s=(Math.abs(u)-l)/(a.itemHeight-l),r=n[e].translateY-(n[e].translateY-n[i].translateY)*s,c=n[e].scale+(n[i].scale-n[e].scale)*s,d=n[e].opacity+(n[i].opacity-n[e].opacity)*s;t.setStyle({transform:"translate3d(0px, "+r+"px, 0px) scale("+c+")","z-index":n[e].zIndex,opacity:d})}}));else if("down"==i.direction){d=0==o?n.length-1:o-1;i.itemsInstance[d].setStyle({transform:"translate3d(0px, -"+(a.itemHeight-u)+"px, 0px) scale(1)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(u)<l&&i.itemsInstance.forEach((function(t,e){if(e!=d){var i=e==n.length-1?0:e+1,a=Math.abs(u)/l,o=n[e].translateY+(n[i].translateY-n[e].translateY)*a,s=n[e].scale-(n[e].scale-n[i].scale)*a,r=n[e].opacity-(n[e].opacity-n[i].opacity)*a;t.setStyle({transform:"translate3d(0px, "+o+"px, 0px) scale("+s+")","z-index":n[e].zIndex,opacity:r})}}))}}}(r,i,n)}}},touchEnd:function(t,e){var i=t.instance,r=i.getDataset(),c=e.getState(),d=c.itemData,l=c.list,u=c.touchRelactive;if(r.index==c.currentIndex&&c.touching){var f=t.changedTouches[0];if(f&&c.touchId==f.identifier){if(s(c,!0),"horizontal"===d.direction){var p=c.itemAnimationWidth;if("left"==c.direction)if(Math.abs(f.pageX-u.x)<p)l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex})}));else{var v=c.currentIndex+1>l.length-1?0:c.currentIndex+1;n(0,f,i,c),a(v,e,c)}else if("right"==c.direction)if(Math.abs(f.pageX-u.x)<p){var h=0==c.currentIndex?l.length-1:c.currentIndex-1;c.itemsInstance[h].setStyle({transform:"translate3d(-"+d.itemWidth+"px, 0px, 0px) scale(1)","z-index":l[c.currentIndex].zIndex+1,opacity:l[c.currentIndex].opacity}),l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}))}else{v=c.currentIndex-1<0?l.length-1:c.currentIndex-1;o(v,f,i,c),a(v,e,c)}}else if("vertical"===d.direction){var g=c.itemAnimationHeight;if("up"==c.direction)if(Math.abs(f.pageY-u.y)<g)l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}));else{v=c.currentIndex+1>l.length-1?0:c.currentIndex+1;n(0,f,i,c),a(v,e,c)}else if("down"==c.direction)if(Math.abs(f.pageY-u.y)<g){h=0==c.currentIndex?l.length-1:c.currentIndex-1;c.itemsInstance[h].setStyle({transform:"translate3d(0px, -"+d.itemHeight+"px, 0px) scale(1)","z-index":l[c.currentIndex].zIndex+1,opacity:l[c.currentIndex].opacity}),l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}))}else{v=c.currentIndex-1<0?l.length-1:c.currentIndex-1;o(v,f,i,c),a(v,e,c)}}c.touchRelactive=null,c.touching=!1,c.direction=null,c.touchId=null,e.callMethod("changeTouchState",{touching:!1}),e.callMethod("setAutoPlay")}}}},e.exports}({exports:{}})}}).call(this,i("a73a")["getDate"])},"33ab":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.order-page[data-v-1862005e]{position:relative;width:100%\n /* 自定义顶部导航 start */\n /* 自定义顶部导航 end */\n /* 订单类型选择 start */\n /* 订单类型选择 end */}.order-page__wrapper[data-v-1862005e]{position:relative;width:100%;padding:%?30?%}.order-page .navbar[data-v-1862005e]{position:fixed;left:0;top:0;width:100%;background-color:#fff;z-index:19999\n /* 标题 start */\n /* 标题 end */}.order-page .navbar__title[data-v-1862005e]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);line-height:1;font-size:%?32?%;font-weight:500}.order-page .order-type-select[data-v-1862005e]{position:fixed;left:0;width:100%;background-color:#fff;z-index:9999}.page[data-v-1862005e]{position:relative;background-color:#f5f5f5;min-height:100vh;padding-bottom:%?130?%}.top[data-v-1862005e]{width:100%;display:flex;background-color:#f5f5f5;height:%?150?%;text-align:center;align-items:center;justify-content:center}.top .top_detail[data-v-1862005e]{width:95%;height:%?100?%;background-color:#fff;display:flex;justify-content:space-between}.top .top_detail .left[data-v-1862005e]{display:flex;align-items:center;justify-content:center;text-align:center;height:100%;margin-left:%?20?%}.top .top_detail .left uni-text[data-v-1862005e]{font-size:%?30?%;color:#333}.top .top_detail .right[data-v-1862005e]{display:flex;align-items:center;justify-content:center;text-align:center;height:100%;margin-right:%?20?%}.top .top_detail .right .btn[data-v-1862005e]{width:%?150?%;height:%?60?%;line-height:%?60?%;background-color:#ffca28;border-radius:%?60?%;color:#000;font-size:%?30?%}.mid[data-v-1862005e]{margin-top:%?20?%;width:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center}.mid .mid_title[data-v-1862005e]{width:90%;height:%?100?%;display:flex;align-items:center;text-align:center;justify-content:space-between;border-bottom:1px solid #f5f5f5}.mid .mid_title .left[data-v-1862005e]{display:flex;align-items:center;justify-content:center;text-align:center;height:100%}.mid .mid_title .left uni-text[data-v-1862005e]{font-size:%?30?%;color:#333}.mid .mid_title .right[data-v-1862005e]{display:flex;align-items:center;justify-content:center;text-align:center;height:100%}.mid .mid_title .right .btn[data-v-1862005e]{width:%?200?%;height:%?60?%;line-height:%?60?%;background-color:#ffca28;border-radius:%?60?%;color:#000;font-size:%?30?%}.mid .mid_title uni-text[data-v-1862005e]{font-size:%?30?%;color:#333}.mid .mid_list[data-v-1862005e]{width:95%;display:flex;background-color:#fff;justify-content:center;align-items:center;border-radius:%?20?%;flex-direction:column;margin-bottom:%?30?%}.mid .mid_list .mid_list_item[data-v-1862005e]{width:100%;height:%?130?%;display:flex;justify-content:space-between;align-items:center;text-align:center;margin-top:%?20?%;background-color:#f5f5f5;margin-top:%?10?%}.mid .mid_list .mid_list_item .left[data-v-1862005e]{display:flex;align-items:center;justify-content:center;text-align:center;height:100%;margin-left:%?20?%;flex-direction:column}.mid .mid_list .mid_list_item .left uni-text[data-v-1862005e]{font-size:%?30?%;color:#333}.mid .mid_list .mid_list_item .left .plate_index[data-v-1862005e]{font-size:%?28?%;color:#999;font-weight:700;color:#000}.mid .mid_list .mid_list_item .left .plate_no[data-v-1862005e]{margin-top:%?5?%;border:1px solid #ffca28;color:#ffca28;font-size:%?24?%}.mid .mid_list .mid_list_item .right[data-v-1862005e]{display:flex;align-items:center;justify-content:center;text-align:center;height:100%;margin-right:%?20?%}.mid .mid_list .mid_list_item .right .btn[data-v-1862005e]{width:%?200?%;height:%?60?%;line-height:%?60?%;background-color:#fff;border-radius:%?60?%;color:#000;font-size:%?30?%}.mid .mid_not_list[data-v-1862005e]{width:95%;height:%?300?%;display:flex;background-color:#f5f5f5;justify-content:center;align-items:center;border-radius:%?20?%}.mid .mid_not_list uni-text[data-v-1862005e]{font-size:%?30?%;color:#999}.mid .mid_button[data-v-1862005e]{width:90%;height:%?120?%;display:flex;justify-content:center;align-items:center}.mid .mid_button .btn[data-v-1862005e]{width:90%;height:%?80?%;line-height:%?80?%;background-color:#ffca28;border-radius:%?80?%;color:#000;font-size:%?30?%}.mid .mid_not_list2[data-v-1862005e]{width:95%;height:%?300?%;display:flex;background-color:#f5f5f5;justify-content:center;align-items:center;border-radius:%?20?%;flex-direction:column;margin-bottom:%?30?%}.mid .mid_not_list2 .description[data-v-1862005e]{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%;margin-left:%?20?%;margin-right:%?20?%;width:100%}.mid .mid_not_list2 .description uni-text[data-v-1862005e]{font-size:%?28?%;color:#999}.mid .mid_not_list2 .description .left[data-v-1862005e]{width:%?10?%;height:%?10?%;border-radius:%?20?%;background-color:#999}.mid .mid_not_list2 .description .right[data-v-1862005e]{width:90%;margin-left:%?20?%}.mid img[data-v-1862005e]{width:100%}.expansion[data-v-1862005e]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-1862005e]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .line1[data-v-1862005e]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .line2[data-v-1862005e]{width:100%;text-align:center;font-size:%?34?%;color:#666}.expansion .expansion_box .line3[data-v-1862005e]{width:100%;display:flex;justify-items:center;align-items:flex-end;justify-content:space-between;margin-top:%?30?%;margin-bottom:%?42?%}.expansion .expansion_box .line3 .left[data-v-1862005e]{width:%?150?%;height:%?159?%;background:url(https://qny.wdsp666.com/uploads/images/202309121602469113e2963.png);background-repeat:no-repeat;background-size:cover;margin-left:%?20?%}.expansion .expansion_box .line3 .left .price[data-v-1862005e]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?60?%}.expansion .expansion_box .line3 .left .price .price_detail[data-v-1862005e]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .left .price .price_detail .price_unit[data-v-1862005e]{font-size:%?31?%}.expansion .expansion_box .line3 .left .price .price_detail .price_num[data-v-1862005e]{font-size:%?46?%;font-weight:700}.expansion .expansion_box .line3 .left .price .price_description[data-v-1862005e]{font-size:%?21?%}.expansion .expansion_box .line3 .mid[data-v-1862005e]{width:%?56?%;height:%?32?%;align-self:center}.expansion .expansion_box .line3 .mid img[data-v-1862005e]{width:100%;height:100%}.expansion .expansion_box .line3 .right[data-v-1862005e]{width:%?191?%;height:%?207?%;background:url(https://qny.wdsp666.com/uploads/images/2023091216032261b8c0006.png);background-repeat:no-repeat;background-size:cover;margin-right:%?17?%}.expansion .expansion_box .line3 .right .price[data-v-1862005e]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?45?%}.expansion .expansion_box .line3 .right .price .price_detail[data-v-1862005e]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .right .price .price_detail .price_unit[data-v-1862005e]{font-size:%?34?%}.expansion .expansion_box .line3 .right .price .price_detail .price_num[data-v-1862005e]{font-size:%?69?%;font-weight:700}.expansion .expansion_box .line3 .right .price .price_description[data-v-1862005e]{font-size:%?22?%;margin-top:%?12?%}.expansion .expansion_box .line4[data-v-1862005e]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4);margin-top:%?30?%}.expansion .expansion_close[data-v-1862005e]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-1862005e]{width:%?60?%;height:%?60?%}',""]),t.exports=e},"33e7":function(t,e,i){"use strict";var a=i("8bf0"),n=i.n(a);n.a},3461:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.showReginon?i("v-uni-view",{staticClass:"box-item"},[i("v-uni-view",{staticClass:"pops-item tn-padding-sm"},[i("v-uni-view",{staticClass:"tops"},[i("v-uni-image",{staticClass:"image",attrs:{src:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/location-red.png",mode:"widthFix"}}),i("p",{staticClass:"tn-text-bold tn-margin-bottom-sm"},[t._v("请确认您所在区域")]),i("v-uni-text",{staticClass:"tn-text-md",staticStyle:{color:"#646466"}},[t._v("发现附近有多个代理区域,可能存在重叠,请确认您所在的区域")])],1),i("v-uni-scroll-view",{staticStyle:{height:"500rpx"},attrs:{"scroll-y":"true"}},[i("v-uni-view",{staticClass:"for-boxs"},t._l(t.listData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"for-item tn-flex tn-text-md tn-text-bold",style:{background:t.currIdx==a?"#fff1e8":"",color:t.currIdx==a?"#f2a86a":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.currIdx=a}}},[i("v-uni-text",{class:t.currIdx==a?"":"tn-margin-left"},[t._v(t._s(e.title))]),i("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:t.currIdx==a,expression:"currIdx==index"}],staticClass:"icon",attrs:{src:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/confirm.png",mode:"widthFix"}})],1)})),1)],1),i("v-uni-view",{staticClass:"tn-flex btns"},[i("v-uni-button",{staticClass:"button tn-bg-orange tn-text-lg",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseCurrentAddress.apply(void 0,arguments)}}},[t._v("确定")]),i("v-uni-button",{staticClass:"button tn-text-lg",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("取消")])],1)],1)],1):t._e()],1)},n=[]},3498:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.joinStoreVipApi=e.getActiveInfo=void 0;var n=a(i("7653"));e.getActiveInfo=function(t){return n.default.post("api/user.seckill.seckill/getActiveInfo",t)};e.joinStoreVipApi=function(t){return n.default.post("api/user.store.store/joinStoreVip",t)}},"34e5":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnBadge:i("af4b").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-tabs-class tn-tabs",class:[t.backgroundColorClass],style:{backgroundColor:t.backgroundColorStyle,marginTop:t.$tn.string.getLengthUnitValue(t.top,"px")}},[i("v-uni-view",{attrs:{id:t.id}},[i("v-uni-scroll-view",{staticClass:"tn-tabs__scroll-view",attrs:{"scroll-x":!0,"scroll-left":t.scrollLeft,"scroll-with-animation":!0}},[i("v-uni-view",{staticClass:"tn-tabs__scroll-view__box",class:{"tn-tabs__scroll-view--flex":!t.isScroll}},[t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tn-tabs__scroll-view__item tn-text-ellipsis",style:[t.tabItemStyle(a)],attrs:{id:"tn-tabs__scroll-view__item-"+a},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.clickTab(a,e)}}},[e[t.count]||e["count"]?i("tn-badge",{attrs:{backgroundColor:"tn-bg-red",fontColor:"#FFFFFF",absolute:!0,top:t.badgeOffset[0]||0,right:t.badgeOffset[1]||0}},[t._v(t._s(e[t.count]||e["count"]))]):t._e(),t._v(t._s(e[t.name]||e["name"])),t.diyIfBar&&a==t.current?i("v-uni-view",{staticClass:"bottom-aft",style:[t.bardiyStyle]}):t._e()],1)})),t.showBar?i("v-uni-view",{staticClass:"tn-tabs__bar",style:[t.tabBarStyle]}):t._e()],2)],1)],1)],1)},o=[]},3593:function(t,e,i){var a=i("d6c3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("8b13fa50",a,!0,{sourceMap:!1,shadowMode:!1})},"35a8":function(t,e,i){"use strict";i.r(e);var a=i("8ce4"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"35ca":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnInput:i("0684").default,tnRadioGroup:i("96a1").default,tnRadio:i("f7fc").default,tnCheckboxGroup:i("8fda").default,tnCheckbox:i("5d8b").default,tnImageUploadDrag:i("58eb").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-shadow tn-margin-top-sm",staticStyle:{width:"100%",height:"auto","background-color":"#fff",padding:"20rpx 0rpx","border-radius":"16rpx"}},[i("v-uni-view",{staticStyle:{width:"100%","text-align":"center",padding:"20rpx 0rpx","font-weight":"bold"}},[t._v(t._s(t.config.title))]),t._l(t.formList,(function(e,a){return["richText"==e.type?i("v-uni-view",{staticStyle:{width:"100%",height:"auto",padding:"20rpx"}},[i("DiyRichText",{attrs:{content:e.text}})],1):i("v-uni-view",{staticStyle:{width:"100%",height:"auto",padding:"0rpx 20rpx"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"auto","border-bottom":"solid #e6e6e6 1rpx",display:"flex","justify-content":"space-between","align-items":"center"}},[i("v-uni-view",{staticStyle:{width:"100rpx"}},[t._v(t._s(e.text))]),"text"==e.type?i("v-uni-textarea",{staticStyle:{width:"calc(100% - 120rpx)",height:"90rpx",padding:"28rpx 0rpx"},attrs:{placeholder:"请输入"+e.text},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}}):t._e(),"textarea"==e.type?i("tn-input",{staticStyle:{width:"calc(100% - 120rpx)",height:"auto","min-height":"90rpx"},attrs:{placeholder:"请输入"+e.text,type:"textarea",height:180},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}}):t._e(),"radio"==e.type?i("v-uni-view",{staticStyle:{width:"calc(100% - 120rpx)",height:"auto","min-height":"90rpx"}},[i("tn-radio-group",{attrs:{isFlex:!0},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}},t._l(e.itemList,(function(e,a){return i("tn-radio",{key:a,staticStyle:{height:"90rpx",display:"flex","align-items":"center"},attrs:{name:e.value}},[t._v(t._s(e.name))])})),1)],1):t._e(),"checkbox"==e.type?i("v-uni-view",{staticStyle:{width:"calc(100% - 120rpx)",height:"auto","min-height":"90rpx"}},[i("tn-checkbox-group",{attrs:{isFlex:!0},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}},t._l(e.itemList,(function(e,a){return i("tn-checkbox",{key:a,staticStyle:{height:"90rpx",display:"flex","align-items":"center"},attrs:{name:e.value}},[t._v(t._s(e.name))])})),1)],1):t._e(),"number"==e.type?i("v-uni-textarea",{staticStyle:{width:"calc(100% - 120rpx)",height:"90rpx",padding:"28rpx 0rpx"},attrs:{placeholder:"请输入"+e.text,type:"number"},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}}):t._e(),"upload"==e.type?i("v-uni-view",{staticStyle:{width:"calc(100% - 120rpx)",height:"auto","min-height":"90rpx","padding-top":"20rpx"}},[i("tn-image-upload-drag",{ref:"uploadDrag",refInFor:!0,attrs:{uploadText:"选择图片",action:t.action,maxCount:e.max,showProgress:!1,width:230,height:230},on:{"on-list-change":function(e){arguments[0]=e=t.$handleEvent(e),t.imgListChange(e,a)},"on-change":function(e){arguments[0]=e=t.$handleEvent(e),t.imgChange(e,a)}}})],1):t._e()],1)],1)]})),i("v-uni-view",{staticStyle:{width:"100%","text-align":"center",padding:"20rpx 0rpx","font-weight":"bold",display:"flex","justify-content":"center"}},[i("v-uni-view",{staticStyle:{width:"80%",height:"90rpx",display:"flex","justify-content":"center","align-items":"center","background-color":"#409eff",color:"#fff","border-radius":"90rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitFormValue.apply(void 0,arguments)}}},[t._v("提交")])],1)],2)},o=[]},"35ef":function(t,e,i){"use strict";var a=i("718e"),n=i.n(a);n.a},"35fc":function(t,e,i){"use strict";i.r(e);var a=i("283f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"367e":function(t,e,i){var a=i("9d82");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("00332e38",a,!0,{sourceMap:!1,shadowMode:!1})},"369b":function(t,e,i){var a=i("5048");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("f994f7ce",a,!0,{sourceMap:!1,shadowMode:!1})},"36c6":function(t,e,i){"use strict";i.r(e);var a=i("d613"),n=i("f682");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7976");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"027aede8",null,!1,a["a"],void 0);e["default"]=r.exports},"36f5":function(t,e,i){"use strict";var a=i("bc32"),n=i.n(a);n.a},"374e":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("c223");var a=i("419c"),n=i("d55c"),o=i("815c"),s={options:{virtualHost:!0},props:{diyData:{type:Object,default:{}}},data:function(){return{showComponent:!0,data:[]}},created:function(){this.getGodGoodsData()},mounted:function(){console.log(this.diyData)},methods:{getGodGoodsData:function(){var t=this;(0,n.getDIYGodGoodsDataApi)(this.diyData.sids||"",this.diyData.max_num||9,this.diyData.sort_method||"random",this.diyData.is_recommend||0).then((function(e){console.log("获取神价格商品数据",e),e.bargains&&e.bargains.length>0?(t.showComponent=!0,t.data=e.bargains.map((function(t){return{id:t.goods_id,tag:"new"==t.poi_user_type?"新人价":"今日价",title:t.title,image:t.thumb,price:t.price,discountPrice:t.discount_price,sid:t.sid,pageShowType:t.pageShowType,is_haodian:t.is_haodian}}))):(t.showComponent=!1,t.data=[])})).catch((function(){t.showComponent=!1,t.data=[]}))},nP:function(t,e,i,n,o){1==n?(0,a.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==n&&o?(0,a.navPage)("".concat(o)):(0,a.navPage)("/store-page/product-showcase/template-1?sid=".concat(t,"&goods_id=").concat(e))},formatPrice:o.formatPrice,navPage:a.navPage}};e.default=s},"375a":function(t,e,i){var a=i("dff1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("28bb376a",a,!0,{sourceMap:!1,shadowMode:!1})},"37c9":function(t,e,i){"use strict";var a=i("242d"),n=i.n(a);n.a},"37fc":function(t,e,i){"use strict";i.r(e);var a=i("34e5"),n=i("c6a7");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5fde");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4705433d",null,!1,a["a"],void 0);e["default"]=r.exports},3848:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 顶部导航 start */.top-navbar[data-v-7a28517b]{position:fixed;left:0;top:0;width:100%;z-index:19990;background-color:#fff}.top-navbar .store-title[data-v-7a28517b]{position:absolute;left:50%;bottom:%?26?%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:%?32?%;font-weight:500}\n/* 顶部导航 end */\n/* 头部商家展示位 start */.store-header-info[data-v-7a28517b]{position:relative;width:100%}\n/* 头部商家展示位 end */\n/* 店铺信息导航 start */.store-nav[data-v-7a28517b]{position:-webkit-sticky;position:sticky;width:100%;z-index:9999}\n/* 店铺信息导航 end */\n/* 商品展示信息 start */.goods-info[data-v-7a28517b]{position:relative;width:100%}\n/* 商品展示信息 end */\n/* 店铺评价信息 start */.store-appraise[data-v-7a28517b]{position:relative;width:100%;padding-bottom:%?200?%}\n/* 店铺评价信息 end */\n/* 店铺信息信息 start */.store-info[data-v-7a28517b]{position:relative;width:100%;padding-bottom:%?200?%}\n/* 店铺信息信息 end */\n/* 购物车 start */.shopping-cart[data-v-7a28517b]{position:fixed;left:5%;bottom:%?189?%;width:90%;z-index:99998;transition:bottom .25s ease}.shopping-cart.hidden[data-v-7a28517b]{bottom:%?-200?%!important}\n/* 购物车 end */\n/* 膨胀红包 */.expansion[data-v-7a28517b]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-7a28517b]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .line1[data-v-7a28517b]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .line2[data-v-7a28517b]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .line3[data-v-7a28517b]{width:100%;display:flex;justify-items:center;align-items:flex-end;justify-content:space-between;margin-top:%?30?%;margin-bottom:%?42?%}.expansion .expansion_box .line3 .left[data-v-7a28517b]{width:%?150?%;height:%?159?%;background:url(https://qny.wdsp666.com/uploads/images/202309121602469113e2963.png);background-repeat:no-repeat;background-size:cover;margin-left:%?20?%}.expansion .expansion_box .line3 .left .price[data-v-7a28517b]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?60?%}.expansion .expansion_box .line3 .left .price .price_detail[data-v-7a28517b]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .left .price .price_detail .price_unit[data-v-7a28517b]{font-size:%?31?%}.expansion .expansion_box .line3 .left .price .price_detail .price_num[data-v-7a28517b]{font-size:%?46?%;font-weight:700}.expansion .expansion_box .line3 .left .price .price_description[data-v-7a28517b]{font-size:%?21?%}.expansion .expansion_box .line3 .mid[data-v-7a28517b]{width:%?56?%;height:%?32?%;align-self:center}.expansion .expansion_box .line3 .mid img[data-v-7a28517b]{width:100%;height:100%}.expansion .expansion_box .line3 .right[data-v-7a28517b]{width:%?191?%;height:%?207?%;background:url(https://qny.wdsp666.com/uploads/images/2023091216032261b8c0006.png);background-repeat:no-repeat;background-size:cover;margin-right:%?17?%}.expansion .expansion_box .line3 .right .price[data-v-7a28517b]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?45?%}.expansion .expansion_box .line3 .right .price .price_detail[data-v-7a28517b]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .right .price .price_detail .price_unit[data-v-7a28517b]{font-size:%?34?%}.expansion .expansion_box .line3 .right .price .price_detail .price_num[data-v-7a28517b]{font-size:%?69?%;font-weight:700}.expansion .expansion_box .line3 .right .price .price_description[data-v-7a28517b]{font-size:%?22?%;margin-top:%?12?%}.expansion .expansion_box .line4[data-v-7a28517b]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-7a28517b]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-7a28517b]{width:%?60?%;height:%?60?%}.write-off-vouchers[data-v-7a28517b]{position:relative}.write-off-vouchers .bg-img[data-v-7a28517b]{width:%?621?%;height:%?301?%}.write-off-vouchers .mods[data-v-7a28517b]{position:absolute;top:0;left:0;width:100%;height:100%}.write-off-vouchers .mods .storeImg[data-v-7a28517b]{width:%?120?%;height:%?120?%}.sequence_button[data-v-7a28517b]{width:%?85?%;display:flex;align-items:center;justify-content:center;border-radius:%?15?%;color:#000;font-size:%?20?%;border:1px solid #000;box-shadow:0 0 %?10?% 0 rgba(0,0,0,.1);margin-left:%?10?%}',""]),t.exports=e},"386f":function(t,e,i){var a=i("538e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("9f8800e8",a,!0,{sourceMap:!1,shadowMode:!1})},"38f3":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getRedpacketListApi=e.getMealRedpacket=e.exchangeApi=e.createOrderTcRedpacket=e.createOrderJlRedpacket=e.checkSvipApi=e.checkExchangeApi=void 0;var n=a(i("7653"));e.createOrderJlRedpacket=function(t){return n.default.post("api/user.mealRedpacket.meal_redpacket_order/createAddOrder",t)};e.createOrderTcRedpacket=function(t){return n.default.post("api/user.mealRedpacket.meal_redpacket_order/createOrder",t)};e.getMealRedpacket=function(){return n.default.get("api/user.mealRedpacket.meal_redpacket/index")};e.getRedpacketListApi=function(t){var e=t.status,i=t.page,a=t.psize;return n.default.get("api/user.member.redpacket/list",{status:e||0,page:i||1,psize:a||20})};e.checkExchangeApi=function(t){return n.default.get("api/user.mealRedpacket.meal_redpacket/checkExchange?sid="+t)};e.exchangeApi=function(t){return n.default.post("api/user.mealRedpacket.meal_redpacket/exchange",t)};e.checkSvipApi=function(){return n.default.get("api/user.mealRedpacket.meal_redpacket_order/checkSvip")}},3934:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.showcase-header-1[data-v-59c1b44c]{position:relative;width:100%;height:%?430?%;background-color:#fff\n /* 休息中 start */\n /* 休息中 end */\n /* 背景图片 start */\n /* 背景图片 end */\n /* 空白区域背景 start */\n /* 空白区域背景 end */\n /* 商家信息展示 start */\n /* 商家信息展示 end */\n /* 店铺标签 start */\n /* 店铺标签 end */}.showcase-header-1.no-tag[data-v-59c1b44c]{height:%?430?%}.showcase-header-1.rest .store .store-data .store-logo[data-v-59c1b44c]{position:relative}.showcase-header-1.rest .store .store-data .store-logo[data-v-59c1b44c]::after{content:"休息中";position:absolute;left:%?0?%;bottom:%?0?%;padding:%?4?%;width:100%;font-size:%?20?%;background-color:rgba(0,0,0,.5);color:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.showcase-header-1 .bg-image[data-v-59c1b44c]{position:absolute;left:0;top:0;width:100%;height:%?300?%;filter:blur(%?5?%);-webkit-filter:blur(%?5?%);z-index:1}.showcase-header-1 .empty-bg[data-v-59c1b44c]{position:absolute;left:0;width:100%;z-index:2;height:%?100?%;background-color:#fff;border-radius:%?30?% %?30?% %?0?% %?0?%}.showcase-header-1 .store[data-v-59c1b44c]{position:absolute;background-color:#fff;left:0;width:100%;border-radius:%?30?% %?30?% 0 0;z-index:3\n /* 商家数据 start */\n /* 商家数据 end */}.showcase-header-1 .store .store-data[data-v-59c1b44c]{padding:%?20?% %?40?%}.showcase-header-1 .store .store-data .store-logo[data-v-59c1b44c]{width:%?130?%;margin-top:%?-35?%;height:%?130?%;border:1px solid rgba(0,0,0,.1);padding:%?1?%;background-color:#fff;border-radius:%?15?%;margin-left:%?20?%}.showcase-header-1 .store .store-data .store-logo .sequence_button[data-v-59c1b44c]{width:%?100?%;display:flex;align-items:center;justify-content:center;border-radius:%?15?%;margin-top:%?10?%;color:#000;font-size:%?30?%;border:1px solid #000;box-shadow:0 0 %?10?% 0 rgba(0,0,0,.1);margin-left:%?10?%}.showcase-header-1 .store .store-data .store-info[data-v-59c1b44c]{flex:1}.showcase-header-1 .store .store-data .store-info .store-title[data-v-59c1b44c]{width:100%;font-size:%?42?%}.showcase-header-1 .store .store-data .store-info .store-summary-info[data-v-59c1b44c]{font-size:%?25?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .score[data-v-59c1b44c],\n.showcase-header-1 .store .store-data .store-info .store-summary-info .start-price[data-v-59c1b44c]{position:relative;margin-right:%?20?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .score[data-v-59c1b44c]::after,\n.showcase-header-1 .store .store-data .store-info .store-summary-info .start-price[data-v-59c1b44c]::after{content:"";position:absolute;top:50%;right:%?-16?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?6?%;height:%?6?%;border-radius:50%}.showcase-header-1 .store .store-data .store-info .store-summary-info .score[data-v-59c1b44c]{display:flex;align-items:center;color:#ffca28}.showcase-header-1 .store .store-data .store-info .store-summary-info .score .value[data-v-59c1b44c]{margin-left:%?4?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .delivery-price[data-v-59c1b44c]{position:relative;margin-right:%?40?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .delivery-price[data-v-59c1b44c]::after{content:"";position:absolute;top:50%;right:%?-22?%;background-color:#aaa;width:%?2?%;height:80%;border-radius:%?20?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.showcase-header-1 .store .store-data .store-info .store-content[data-v-59c1b44c]{width:-webkit-fit-content;width:fit-content;max-width:100%;padding:%?0?% %?8?%;border-radius:%?6?%;margin-top:%?6?%;font-size:%?24?%}.showcase-header-1 .store .store-data .store-notice[data-v-59c1b44c]{width:100%;display:flex;align-items:center;color:#aaa;margin-top:%?20?%}.showcase-header-1 .store .store-data .store-notice .title[data-v-59c1b44c]{width:2.5em}.showcase-header-1 .store .store-data .store-notice .value[data-v-59c1b44c]{width:calc(100% - 2.5em)}.showcase-header-1 .store-tags[data-v-59c1b44c]{padding:%?10?% 0;width:100%;border-radius:%?0?% %?0?% %?15?% %?15?%}.showcase-header-1 .store-tags .tags-wrapper[data-v-59c1b44c]{display:flex;flex-wrap:nowrap}.showcase-header-1 .store-tags .tag[data-v-59c1b44c]{flex-shrink:0;font-size:%?22?%;margin-right:%?10?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?6?%}.collect[data-v-59c1b44c]{background:linear-gradient(90deg,#f68117 0,#ecbd2c)!important;color:#fff;display:inline-block;font-size:12px;padding:%?4?% %?10?%;border-radius:%?8?%;margin-left:%?15?%;width:%?120?%;text-align:center;height:%?30?%;line-height:%?30?%}',""]),t.exports=e},"39b3":function(t,e,i){"use strict";var a=i("184f"),n=i.n(a);n.a},"39c9":function(t,e,i){"use strict";i.r(e);var a=i("e4de"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"39e1":function(t,e,i){"use strict";var a=i("0908"),n=i.n(a);n.a},"3a2e":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 顶部背景图 */.top-bg[data-v-fcc14900]{position:fixed;left:0;top:0;width:100%}.container[data-v-fcc14900]{padding-top:%?150?%;display:flex;flex-direction:column;align-items:center;height:100vh;background-color:#f8f8f8;position:relative}.header[data-v-fcc14900]{margin:%?180?% 0}.title[data-v-fcc14900]{font-size:24px;font-weight:700}.content[data-v-fcc14900]{text-align:center;margin-bottom:40px}.description[data-v-fcc14900]{font-size:16px;color:#666}.learn-more[data-v-fcc14900]{margin-bottom:20px;padding:10px 20px;background-color:#007aff;color:#fff;border-radius:5px}.footer[data-v-fcc14900]{width:90%;display:flex;flex-direction:column;position:absolute;bottom:%?80?%;align-items:center}\n/* 登录按钮 */.login-btn[data-v-fcc14900]{width:100%;background:#ffca28;border-radius:%?30?%;font-family:Source Han Sans CN;font-weight:700;font-size:%?36?%;color:#151515;line-height:%?27?%;padding:%?35?%;font-size:%?34?%;text-align:center}.refresh-tip[data-v-fcc14900]{color:red;text-align:center;padding-top:calc(env(safe-area-inset-top) + %?80?%);padding-bottom:%?80?%}.ad-banner-container[data-v-fcc14900],\n.ad-banner-container2[data-v-fcc14900]{transition:opacity .3s ease-out,-webkit-transform .3s ease-out;transition:transform .3s ease-out,opacity .3s ease-out;transition:transform .3s ease-out,opacity .3s ease-out,-webkit-transform .3s ease-out;-webkit-transform:translateY(0);transform:translateY(0);opacity:1;height:300px}.ad-banner-container.slide-up[data-v-fcc14900],\n.ad-banner-container2.slide-up[data-v-fcc14900]{-webkit-transform:translateY(-100%);transform:translateY(-100%);opacity:0}.ad-banner-container[data-v-fcc14900]{position:fixed;top:0;left:0;right:0}.index-page[data-v-fcc14900]{position:relative;width:100%}.index-page__container[data-v-fcc14900]{position:relative;width:100%;height:100%}',""]),t.exports=e},"3a6f":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5c47"),i("a1c1");var a={options:{virtualHost:!0},props:{content:{type:String,default:""}},created:function(){},computed:{format_content:function(){return this.formatRichText(this.content)}},methods:{formatRichText:function(t){var e=t.replace(/<img[^>]*>/gi,(function(t,e){return t=t.replace(/style="[^"]*"/gi,"").replace(/style='[^']*'/gi,""),t=t.replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,""),t=t.replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,""),t}));return e=e.replace(/style="[^"]+"/gi,(function(t,e){return t=t.replace(/width:[^;]+;/gi,"max-width:100%;").replace(/width:[^;]+;/gi,"max-width:100%;"),t})),e=e.replace(/<br[^>]*\/>/gi,""),e=e.replace(/\<img/gi,'<img style="max-width:100%;height:auto;display:block;margin-top:0;margin-bottom:0;width:100%;"'),e}}};e.default=a},"3acf":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".seckill[data-v-6e657f75]{border-radius:%?12?%;overflow:hidden;background:#fff}.seckill .header[data-v-6e657f75]{background:#fd2d3b;padding:%?28?% 10px;font-size:%?28?%;display:flex;justify-content:space-between;color:#fff;background-size:100%}.seckill .header .left[data-v-6e657f75]{font-size:%?32?%;font-weight:700}.seckill .bottom[data-v-6e657f75]{line-height:%?78?%;color:#080800;text-align:center;font-size:%?28?%;border-top:1px solid #eee}.countdown[data-v-6e657f75]{display:flex;align-items:center}.countdown-label[data-v-6e657f75]{font-size:%?24?%;margin-right:%?12?%}.countdown-num[data-v-6e657f75]{background:hsla(0,0%,100%,.95);color:#fd2d3b;padding:%?4?% %?12?%;border-radius:%?6?%;min-width:%?40?%;text-align:center;font-weight:700;font-size:%?28?%;box-shadow:0 %?2?% %?4?% rgba(0,0,0,.1)}.countdown-colon[data-v-6e657f75]{color:#fff;margin:0 %?8?%;font-weight:700;font-size:%?28?%}",""]),t.exports=e},"3ae1":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{width:"100%",height:"100vh",display:"flex","justify-content":"center","flex-wrap":"wrap","background-color":"rgb(246, 246, 246)"}},[t._l(t.diyPageData,(function(e,a){return["ShopIndex"===e.name?i("shop-index",{key:a+"_0",ref:"shopIndex",refInFor:!0,attrs:{config:e.config}}):t._e()]})),i("v-uni-view",{staticClass:"page-wrapper"},[i("v-uni-view",{staticClass:"diy-content"},[t._l(t.diyPageData,(function(t,e){}))],2)],1)],2)},n=[]},"3aeb":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.custom-swiper[data-v-7c75d75e]{position:relative;width:100%;height:auto;margin-top:%?20?%;border-radius:%?20?%}.custom-swiper .brother[data-v-7c75d75e]{position:relative;top:0;left:0;width:100%;z-index:10;opacity:0}.custom-swiper .swiper[data-v-7c75d75e]{position:absolute;top:0;left:0;height:100%;width:100%;z-index:20;border-radius:%?20?%}.custom-swiper .swiper .swiper-item[data-v-7c75d75e]{width:100%;height:100%;border-radius:%?20?%}.custom-swiper .swiper .swiper-item .image[data-v-7c75d75e]{border-radius:%?20?%}\n/* 指示器 start */.indicator[data-v-7c75d75e]{position:absolute;left:50%;bottom:%?10?%;z-index:21;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.indicator__item[data-v-7c75d75e]{width:%?16?%;height:%?16?%;border-radius:50%;background-color:hsla(0,0%,100%,.6);margin-right:%?10?%}.indicator__item.cur[data-v-7c75d75e]{background-color:#fff;width:%?32?%;border-radius:%?20?%}\n/* 指示器 end */',""]),t.exports=e},"3b05":function(t,e,i){var a=i("d16d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("93045724",a,!0,{sourceMap:!1,shadowMode:!1})},"3b14":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.shieldApi=e.postTolikelApi=e.postNewBlogApi=e.postCommentlikelApi=e.postBlogerFollowlApi=e.postBlogCommentApi=e.handoffAddress=e.getOpens=e.getNoReadNum=e.getMarketListApi=e.getMarketDetailApi=e.getMarketCateApi=e.getMarketBannerApi=e.getListData=e.getCircleData=e.getBlogMsgApi=e.getBlogInfoApi=e.getBlogCreatStatusApi=e.getBlogCommentApi=e.delBlogApi=e.complaint=e.commentDel=void 0;var n=a(i("b128")),o=a(i("9b1b")),s=a(i("7653"));e.shieldApi=function(t){return s.default.post("api/user.blog.blog_tie_complaint/shield",(0,o.default)({},t))};e.getMarketListApi=function(t){var e=Object.assign({},((0,n.default)(t),t));return s.default.get("api/user.blog.BlogTie/list",(0,o.default)({},e))};e.getMarketDetailApi=function(t){return s.default.get("api/user.blog.BlogTie/detail",(0,o.default)({},t))};e.getBlogCommentApi=function(t){return s.default.get("api/user.blog.BlogComment/commentlist",(0,o.default)({},t))};e.postBlogerFollowlApi=function(t){return s.default.post("api/user.blog.BlogBloger/tofollow",(0,o.default)({},t))};e.getOpens=function(){return s.default.get("api/user.blog.BlogTie/getOpen")};e.postTolikelApi=function(t){return s.default.post("api/user.blog.BlogTie/tolike",(0,o.default)({},t))};e.postBlogCommentApi=function(t){return s.default.post("api/user.blog.BlogComment/tocomment",(0,o.default)({},t))};e.commentDel=function(t){return s.default.post("api/user.blog.BlogComment/commentDel",(0,o.default)({},t))};e.postNewBlogApi=function(t){return s.default.post("api/user.blog.BlogTie/publish",(0,o.default)({},t))};e.getMarketCateApi=function(t){var e=Object.assign({},((0,n.default)(t),t));return s.default.get("api/user.blog.BlogTieCate/list",(0,o.default)({},e))};e.getMarketBannerApi=function(t){var e=Object.assign({},((0,n.default)(t),t));return s.default.get("api/user.blog.BlogBanner/list",(0,o.default)({},e))};e.getBlogInfoApi=function(t){var e=Object.assign({},((0,n.default)(t),t));return s.default.get("api/user.blog.BlogBloger/bloger_detail",(0,o.default)({},e))};e.getBlogMsgApi=function(t){var e=Object.assign({},((0,n.default)(t),t));return s.default.get("api/user.blog.BlogMessage/Message",(0,o.default)({},e))};e.getNoReadNum=function(){return s.default.get("api/user.blog.BlogMessage/getNoReadNum")};e.getBlogCreatStatusApi=function(t){var e=Object.assign({},((0,n.default)(t),t));return s.default.get("api/user.blog.BlogTie/getOpen",(0,o.default)({},e))};e.delBlogApi=function(t){return s.default.post("api/user.blog.BlogTie/tieDelete",{id:t})};e.complaint=function(t){return s.default.post("api/user.blog.blog_tie_complaint/complaint",t)};e.getListData=function(t){return s.default.get("api/user.blog.BlogTie/list",t)};e.getCircleData=function(){return s.default.get("api/user.blog.circle/index")};e.handoffAddress=function(t){return s.default.get("api/user.blog.circle/getNavCircleLists",t)};e.postCommentlikelApi=function(t){return s.default.post("api/user.blog.blog_comment/tolikecomment",(0,o.default)({},t))}},"3b5a":function(t,e,i){"use strict";i.r(e);var a=i("9c39"),n=i("19be");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("3073");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"c6d97518",null,!1,a["a"],void 0);e["default"]=r.exports},"3cf2":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var n=a(i("dc1f")),o=a(i("dae0")),s=a(i("44ca")),r=a(i("34cae")),c=i("419c"),d=(a(i("8c27")),i("d240")),l=(i("262c"),i("e0a2")),u=i("e0a2"),f={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:r.default},mixins:[n.default,o.default,s.default],data:function(){return{icon:[u.staticUrl+"api/images/20250618/images_1750217730.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{goto:function(t){(0,c.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,a){1==i?(0,c.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&a?(0,c.navPage)("".concat(a)):(0,c.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){"phone_recharge"==t.order_type?(0,c.navPage)("/prepaidRecharge/order/detail?order_sn=".concat(t.order_sn)):"phone_sim_card"==t.order_type?(0,c.navPage)("/SIM/order/detail?order_sn=".concat(t.order_sn)):(0,c.navPage)("/tngRecharge/order/detail?order_sn=".concat(t.order_sn))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,d.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},a=JSON.stringify(i);e.open_lock_string=a;var n=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:n}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:a})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,a,n){var o=this;if(1!=n)if(0!=a)if(1==i){var s="once";e&&(s="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,c.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+s)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,d.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=f},"3d64":function(t,e,i){"use strict";i.r(e);var a=i("30e6"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"3da0":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLoading:i("c36c").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-load-more-class tn-load-more"},[i("v-uni-view",{staticClass:"tn-load-more__wrap",class:[t.backgroundColorClass],style:[t.loadStyle]},[t.showMoreLine?i("v-uni-view",{staticClass:"tn-load-more__line"}):t._e(),i("v-uni-view",{staticClass:"tn-load-more__content",class:[{"tn-load-more__content--more":"loadmore"===t.status||"nomore"===t.status}]},[i("v-uni-view",{staticClass:"tn-load-more__loading"},[i("tn-loading",{staticClass:"tn-load-more__loading__icon",attrs:{mode:t.loadingIconType,show:"loading"===t.status&&t.loadingIcon,color:t.loadingIconColor}})],1),t.showLoadText?i("v-uni-view",{staticClass:"tn-load-more__text",class:[t.fontColorClass,{"tn-load-more__text--dot":"nomore"===t.status&&t.dot}],style:[t.loadTextStyle]},[t._v(t._s(t.showText))]):t._e()],1),t.showMoreLine?i("v-uni-view",{staticClass:"tn-load-more__line"}):t._e()],1)],1)},o=[]},"3e07":function(t,e,i){"use strict";i.r(e);var a=i("adab"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"3e51":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.singleAgentData=e.setAccount=e.myApplyApi=e.multipleAgentData=e.getWithdrawalRecord=e.getSpreadWithdrawal=e.getSpreadPoster=e.getSpreadMyTeam=e.getSpreadIndex=e.getScanTipsInfo=e.getPosterGoodsApi=e.getCurrentLogList=e.getAccount=e.bindingPromotionRelationship=e.applyWithdrawal=e.applyApi=e.allGroupsApi=e.agentList=void 0;var n=a(i("7653"));e.getSpreadIndex=function(){return n.default.get("api/user.spread.index/index")};e.getSpreadWithdrawal=function(){return n.default.get("api/user.spread.get_cash/index")};e.getCurrentLogList=function(t){return n.default.get("api/user.spread.current_log/list",t)};e.getSpreadPoster=function(){return n.default.post("api/user.spread.poster/index")};e.getWithdrawalRecord=function(t){return n.default.get("api/user.spread.get_cash/list",t)};e.getSpreadMyTeam=function(t){return n.default.get("api/user.spread.index/down",t)};e.applyWithdrawal=function(t){return n.default.post("api/user.spread.get_cash/apply",t)};e.getScanTipsInfo=function(t){return n.default.get("api/user.spread.index/scanTipsInfo",t)};e.bindingPromotionRelationship=function(t){return n.default.get("api/user.spread.index/member_spread_bind",t)};e.getAccount=function(){return n.default.post("api/user.spread.get_cash/getAccount")};e.setAccount=function(t){return n.default.post("api/user.spread.get_cash/setAccount",t)};e.getPosterGoodsApi=function(t){return n.default.get("api/user.spread.service_provider/index",t)};e.allGroupsApi=function(){return n.default.get("api/user.spread.index/allGroups")};e.agentList=function(){return n.default.get("api/user.partner.index/agentList")};e.singleAgentData=function(t){return n.default.post("api/user.partner.index/singleAgentData",t)};e.multipleAgentData=function(t){return n.default.post("api/user.partner.index/multipleAgentData",t)};e.myApplyApi=function(t){return n.default.get("api/user.spread.apply/myApply",t)};e.applyApi=function(t){return n.default.post("api/user.spread.apply/apply",t)}},"3e9a":function(t,e,i){"use strict";i.r(e);var a=i("4e4c"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"3eff":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.value?i("v-uni-view",{staticClass:"ordering-information"},[i("v-uni-image",{staticStyle:{width:"100%"},style:"height:calc(100vh - 500rpx)",attrs:{src:t.storeInfo&&t.storeInfo.person_num_image?t.storeInfo.person_num_image:"",mode:"aspectFill"}}),i("v-uni-view",{staticStyle:{"border-radius":"30px 30px 0 0","background-color":"#ffca28",opacity:"1","margin-top":"-140rpx","z-index":"2",position:"relative",height:"80rpx",width:"80%","margin-left":"10%",color:"#000","font-size":"16px","text-align":"center","line-height":"90rpx"}},[t._v(t._s(t.table_name))]),i("v-uni-view",{staticStyle:{"border-radius":"30px 30px 0 0","background-color":"#fff",opacity:"0.8","margin-top":"0rpx","z-index":"2",position:"relative",height:"80rpx"}}),i("v-uni-view",{staticClass:"content",staticStyle:{"margin-top":"-20rpx"}},[i("v-uni-view",{staticStyle:{"font-size":"16px","font-weight":"600"}},[t._v("你好 , 请选择就餐人数")]),i("v-uni-view",{staticClass:"numbox",staticStyle:{margin:"30rpx 0","font-size":"16px"}},[i("v-uni-view",{staticClass:"item",class:1==t.num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change_num(1)}}},[t._v("1")]),i("v-uni-view",{staticClass:"item",class:2==t.num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change_num(2)}}},[t._v("2")]),i("v-uni-view",{staticClass:"item",class:3==t.num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change_num(3)}}},[t._v("3")]),i("v-uni-view",{staticClass:"item",class:4==t.num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change_num(4)}}},[t._v("4")]),i("v-uni-view",{staticClass:"item",class:5==t.num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change_num(5)}}},[t._v("5")]),i("v-uni-view",{staticClass:"item",class:6==t.num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.change_num(6)}}},[t._v("6")]),i("v-uni-view",{staticClass:"item",class:t.num>=7?"on":"",staticStyle:{width:"48%"}},[i("v-uni-view",{staticClass:"numbox ",staticStyle:{display:"flex","align-items":"center","justify-content":"space-around","border-radius":"30px"},style:t.num>=7?"background: #ffca28;color: #000;":""},[i("v-uni-text",{staticStyle:{"font-size":"25px","font-weight":"600",margin:"0 20rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.del.apply(void 0,arguments)}}},[t._v("-")]),i("v-uni-input",{staticStyle:{width:"100rpx"},attrs:{type:"number"},model:{value:t.num,callback:function(e){t.num=e},expression:"num"}}),i("v-uni-text",{staticStyle:{"font-size":"25px","font-weight":"600",margin:"0 20rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.add.apply(void 0,arguments)}}},[t._v("+")])],1)],1),i("v-uni-view",{staticStyle:{clear:"both"}})],1),i("v-uni-view",{staticClass:"submitbtn ",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleOrderEvent.apply(void 0,arguments)}}},[t._v("开始点餐")])],1)],1):t._e()},n=[]},"3fb4":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-lazy-load[data-v-6a8ecf09]{width:100%;height:100%;border-radius:inherit}.tn-lazy-load__item[data-v-6a8ecf09]{width:100%;height:100%;border-radius:inherit;overflow:hidden}.tn-lazy-load__item__content[data-v-6a8ecf09]{width:100%;height:100%;border-radius:inherit}.tn-lazy-load__item__image[data-v-6a8ecf09]{display:block;width:100%;height:100%;border-radius:inherit;-webkit-transform:transition3d(0,0,0);transform:transition3d(0,0,0);will-change:transform}',""]),t.exports=e},"409a":function(t,e,i){"use strict";i.r(e);var a=i("bc40"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},4221:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("fd3c"),i("aa9c");var n=a(i("9e2f")),o={mixins:[n.default],name:"tn-checkbox-group",props:{isFlex:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}},max:{type:Number,default:999},name:{type:String,default:""},disabled:{type:Boolean,default:!1},disabledLabel:{type:Boolean,default:!1},shape:{type:String,default:"square"},activeColor:{type:String,default:"#01BEFF"},size:{type:Number,default:34},width:{type:String,default:"auto"},wrap:{type:Boolean,default:!1},iconSize:{type:Number,default:20}},computed:{parentData:function(){return[this.value,this.disabled,this.disabledLabel,this.shape,this.activeColor,this.size,this.width,this.wrap,this.iconSize]}},data:function(){return{}},watch:{parentData:function(){this.children.length&&this.children.map((function(t){"function"===typeof t.updateParentData&&t.updateParentData()}))}},created:function(){this.children=[]},methods:{initValue:function(t){this.$emit("input",t)},emitEvent:function(){var t=this,e=[];this.children.map((function(t){t.checkValue&&e.push(t.name)})),this.$emit("change",e),this.$emit("input",e),setTimeout((function(){t.dispatch("tn-form-item","on-form-change",e)}),60)}}};e.default=o},4226:function(t,e,i){var a=i("4dd1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("21bec7a9",a,!0,{sourceMap:!1,shadowMode:!1})},"423b":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{image:{type:String,default:"https://qny.wdsp666.com/uploads/images/20241031162827d28a42858.png"}},data:function(){return{top:0}},mounted:function(){var t=uni.getSystemInfoSync();this.top=t.safeArea.top},methods:{}};e.default=a},"425d":function(t,e,i){var a=i("1824");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6754f6a2",a,!0,{sourceMap:!1,shadowMode:!1})},4267:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".custom-switch[data-v-3f33965a]{\n\t/* display: none !important; */}",""]),t.exports=e},"427f":function(t,e,i){"use strict";i.r(e);var a=i("7e1c"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},4295:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.goods-list[data-v-08d4845c]{position:relative;width:100%;display:flex;background-color:#fff}.goods-list .list-left[data-v-08d4845c]{position:-webkit-sticky;position:sticky;width:%?160?%;flex-shrink:0;overflow-x:hidden}.goods-list .list-right[data-v-08d4845c]{flex-grow:1}',""]),t.exports=e},"42d6":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 顶部导航 start */.top-navbar[data-v-289e4d23]{position:fixed;left:0;top:0;width:100%;z-index:19990;background:linear-gradient(90deg,#e5f9ed,#fae7eb)}.top-navbar .search-box[data-v-289e4d23]{width:70%;display:flex;align-items:flex-end}.top-navbar .search-box .search-box-item[data-v-289e4d23]{margin-bottom:%?10?%;width:100%}.top-navbar .store-title[data-v-289e4d23]{position:absolute;left:50%;bottom:%?26?%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:%?32?%;font-weight:500}\n/* 顶部导航 end */\n/* 头部商家展示位 start */.store-header-info[data-v-289e4d23]{position:relative;width:100%}\n/* 头部商家展示位 end */\n/* 店铺信息导航 start */.store-nav[data-v-289e4d23]{position:-webkit-sticky;position:sticky;width:100%;z-index:9999}\n/* 店铺信息导航 end */\n/* 商品展示信息 start */.goods-info[data-v-289e4d23]{position:relative;width:100%}\n/* 商品展示信息 end */\n/* 店铺评价信息 start */.store-appraise[data-v-289e4d23]{position:relative;width:100%}\n/* 店铺评价信息 end */\n/* 店铺信息信息 start */.store-info[data-v-289e4d23]{position:relative;width:100%}\n/* 店铺信息信息 end */\n/* 购物车 start */.shopping-cart[data-v-289e4d23]{position:fixed;left:5%;bottom:%?40?%;width:90%;z-index:99998;transition:bottom .25s ease}.shopping-cart.hidden[data-v-289e4d23]{bottom:%?-200?%}\n/* 购物车 end */\n/* 膨胀红包 */.expansion[data-v-289e4d23]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-289e4d23]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .line1[data-v-289e4d23]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .line2[data-v-289e4d23]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .line3[data-v-289e4d23]{width:100%;display:flex;justify-items:center;align-items:flex-end;justify-content:space-between;margin-top:%?30?%;margin-bottom:%?42?%}.expansion .expansion_box .line3 .left[data-v-289e4d23]{width:%?150?%;height:%?159?%;background:url(https://qny.wdsp666.com/uploads/images/202309121602469113e2963.png);background-repeat:no-repeat;background-size:cover;margin-left:%?20?%}.expansion .expansion_box .line3 .left .price[data-v-289e4d23]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?60?%}.expansion .expansion_box .line3 .left .price .price_detail[data-v-289e4d23]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .left .price .price_detail .price_unit[data-v-289e4d23]{font-size:%?31?%}.expansion .expansion_box .line3 .left .price .price_detail .price_num[data-v-289e4d23]{font-size:%?46?%;font-weight:700}.expansion .expansion_box .line3 .left .price .price_description[data-v-289e4d23]{font-size:%?21?%}.expansion .expansion_box .line3 .mid[data-v-289e4d23]{width:%?56?%;height:%?32?%;align-self:center}.expansion .expansion_box .line3 .mid img[data-v-289e4d23]{width:100%;height:100%}.expansion .expansion_box .line3 .right[data-v-289e4d23]{width:%?191?%;height:%?207?%;background:url(https://qny.wdsp666.com/uploads/images/2023091216032261b8c0006.png);background-repeat:no-repeat;background-size:cover;margin-right:%?17?%}.expansion .expansion_box .line3 .right .price[data-v-289e4d23]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?45?%}.expansion .expansion_box .line3 .right .price .price_detail[data-v-289e4d23]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .right .price .price_detail .price_unit[data-v-289e4d23]{font-size:%?34?%}.expansion .expansion_box .line3 .right .price .price_detail .price_num[data-v-289e4d23]{font-size:%?69?%;font-weight:700}.expansion .expansion_box .line3 .right .price .price_description[data-v-289e4d23]{font-size:%?22?%;margin-top:%?12?%}.expansion .expansion_box .line4[data-v-289e4d23]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-289e4d23]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-289e4d23]{width:%?60?%;height:%?60?%}.min-height[data-v-289e4d23]{min-height:%?150?%}.topClassify[data-v-289e4d23]{display:flex;align-items:center;background:linear-gradient(90deg,#e1f9eb,#fae7eb);border-radius:0 0 %?20?% %?20?%;overflow:hidden}.topClassify .top-scroll[data-v-289e4d23]{width:90%;height:%?150?%;white-space:nowrap}.topClassify .top-scroll .for-mod[data-v-289e4d23]{height:100%;width:100%}.topClassify .top-scroll .for-mod .list-item[data-v-289e4d23]{text-align:center;width:20%;margin:%?10?% 0;display:inline-block}.topClassify .top-scroll .for-mod .list-item .avctImg[data-v-289e4d23]{border:%?6?% solid #6dc054!important}.topClassify .top-scroll .for-mod .list-item .avctTxt[data-v-289e4d23]{background-color:#6dc054;border-radius:%?50?%;padding:0 %?8?%;color:#fff}.topClassify .top-scroll .for-mod .list-item .list-img[data-v-289e4d23]{margin:0 auto;display:flex;align-items:center;justify-content:center;border-radius:%?35?%;width:%?90?%;height:%?90?%;border:%?6?% solid #fff;overflow:hidden}.topClassify .top-scroll .for-mod .list-item .image[data-v-289e4d23]{width:%?80?%;height:%?80?%;border-radius:%?35?%}.topClassify .top-scroll .for-mod .list-item .title[data-v-289e4d23]{margin-top:%?10?%;line-height:%?32?%;display:inline-block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topClassify .rightUnfold[data-v-289e4d23]{width:10%;text-align:center;display:flex;height:%?150?%;justify-content:center;box-shadow:-5px 0 10px -5px rgba(0,0,0,.07);font-size:%?30?%}.topClassify .rightUnfold .txt[data-v-289e4d23]{height:100%;display:inline-block;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr}.classifyMask[data-v-289e4d23]{position:fixed;top:0;left:0;width:100%;height:100vh;background-color:rgba(0,0,0,.5);z-index:5}.classify-box[data-v-289e4d23]{position:fixed;left:0;width:100%;z-index:9}.classify-mod[data-v-289e4d23]{display:flex;align-items:center;flex-wrap:wrap;padding:%?30?%;background:linear-gradient(90deg,#e1f9eb,#fae7eb);border-radius:0 0 %?20?% %?20?%;overflow:hidden}.classify-mod .top-centent[data-v-289e4d23]{display:flex;width:100%;align-items:center}.classify-mod .top-centent .left[data-v-289e4d23]{flex:1}.classify-mod .top-centent .right[data-v-289e4d23]{width:10%;text-align:center;display:flex;justify-content:center;font-size:%?30?%}.classify-mod .top-centent .right .txt[data-v-289e4d23]{-webkit-writing-mode:vertical-rl;writing-mode:vertical-rl}.classify-mod .list-item[data-v-289e4d23]{margin-top:%?20?%;text-align:center;width:20%}.classify-mod .list-item .avctImg[data-v-289e4d23]{border:%?6?% solid #6dc054!important}.classify-mod .list-item .avctTxt[data-v-289e4d23]{background-color:#6dc054;border-radius:%?50?%;padding:0 %?8?%;color:#fff}.classify-mod .list-item .list-img[data-v-289e4d23]{margin:0 auto;display:flex;align-items:center;justify-content:center;border:%?6?% solid #fff;border-radius:%?35?%;width:%?90?%;height:%?90?%;overflow:hidden}.classify-mod .list-item .image[data-v-289e4d23]{width:%?80?%;height:%?80?%;border-radius:%?35?%}.classify-mod .list-item .title[data-v-289e4d23]{white-space:nowrap;text-overflow:ellipsis;display:inline-block;overflow:hidden;margin:%?10?% %?10?% 0;line-height:%?32?%}',""]),t.exports=e},"42dd":function(t,e,i){"use strict";var a=i("afa5"),n=i.n(a);n.a},4310:function(t,e,i){"use strict";i.r(e);var a=i("ce7e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},4372:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.openModal?i("v-uni-view",{staticClass:"center-modal",style:[t.modalStyle]},[i("v-uni-view",{staticClass:"center-modal__mask",on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.closeModal.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"center-modal__wrapper",class:[{"no-padding":t.contentNoPadding}],style:[t.wrapperStyle]},[t.closeBtn?i("v-uni-view",{staticClass:"center-modal__close-btn",style:[t.closeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.closeModal.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-close"})],1):t._e(),t.showTitle?i("v-uni-view",{staticClass:"center-modal__title"},[t._v(t._s(t.title))]):t._e(),i("v-uni-view",{staticClass:"center-modal__content",class:[{"no-top":t.contentNoTop}]},[t._t("default")],2),t.showCancel||t.showConfirm?i("v-uni-view",{staticClass:"center-modal__operation-btn"},[t.showCancel?i("v-uni-view",{staticClass:"cancel-btn",attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.cancelEvent.apply(void 0,arguments)}}},[t._v(t._s(t.cancelText))]):t._e(),t.showConfirm?i("v-uni-view",{staticClass:"confirm-btn",style:[t.themeBtnStyle],attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.confirmEvent.apply(void 0,arguments)}}},[t._v(t._s(t.confirmText))]):t._e()],1):t._e()],1)],1):t._e()},n=[]},4394:function(t,e,i){var a=i("824f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("57f55384",a,!0,{sourceMap:!1,shadowMode:!1})},"43af":function(t,e,i){"use strict";i.r(e);var a=i("7e56"),n=i("fdd1");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("196f");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"288dfcf5",null,!1,a["a"],void 0);e["default"]=r.exports},"43b6":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnBadge:i("af4b").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-avatar-class tn-avatar",class:[t.backgroundColorClass,t.avatarClass],style:[t.avatarStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t.showImg?i("v-uni-image",{staticClass:"tn-avatar__img",class:[t.imgClass],attrs:{src:t.src,mode:t.imgMode||"aspectFill"},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.loadImageError.apply(void 0,arguments)}}}):i("v-uni-view",{staticClass:"tn-avatar__text"},[t.text?i("v-uni-view",[t._v(t._s(t.text))]):i("v-uni-view",{class:["tn-icon-"+t.icon]})],1),t.badge&&(t.badgeIcon||t.badgeText)?i("tn-badge",{attrs:{radius:t.badgeSize,backgroundColor:t.badgeBgColor,fontColor:t.badgeColor,fontSize:t.badgeSize-8,absolute:!0,top:t.badgePosition[0],right:t.badgePosition[1]}},[t.badgeIcon&&""===t.badgeText?i("v-uni-view",[i("v-uni-view",{class:["tn-icon-"+t.badgeIcon]})],1):i("v-uni-view",[t._v(t._s(t.badgeText))])],1):t._e()],1)},o=[]},"43cd":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"seckill"},[i("v-uni-view",{staticClass:"times"},t._l(t.data.time_slots,(function(e,a){return i("v-uni-view",{class:"item "+(0==e.status?"":1==e.status||3==e.status?"current":"end")},[i("v-uni-view",{staticClass:"date"},[t._v(t._s(e.day))]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(e.start))]),i("v-uni-view",{staticClass:"status"},[t._v(t._s(e.status_str))])],1)})),1),i("v-uni-view",{staticClass:"product"},t._l(t.data.current_time_slot.goods_list,(function(e,a){return i("v-uni-view",{staticClass:"list-item"},[i("v-uni-view",{staticClass:"imgs"},[i("v-uni-image",{staticClass:"imgs0",attrs:{src:e.image}})],1),i("v-uni-view",{staticClass:"rig"},[i("v-uni-view",{staticClass:"tit"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"tag"},[t._v("已抢"+t._s(e.sold_num)+"件")]),i("v-uni-view",{staticClass:"bott"},[i("v-uni-view",{staticClass:"lef"},[t._v(t._s(t.CurrencyUnit)+t._s(e.seckill_price)),i("v-uni-text",{staticClass:"price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.original_price))])],1),i("v-uni-view",{class:["btns",{disabled:3===t.data.current_time_slot.status,"sold-out":0===e.stock}],on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.handleClick(e)}}},[t._v(t._s(t.getBtnText(t.data.current_time_slot.status,e.stock)))])],1)],1)],1)})),1)],1)},n=[]},"43d0":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("01a2"),i("e39c"),i("5c47"),i("2c10"),i("bf0f"),i("2797"),i("e838");var n=a(i("6fbe")),o=a(i("dc1f")),s=a(i("55a4")),r=a(i("d195")),c=a(i("8c27")),d=i("1db2"),l=i("9d0a"),u=i("419c"),f=(i("165b"),i("f9ce"),a(i("cb6a")),i("78b4")),p=(i("9897"),i("262c")),v=i("38f3"),h={options:{virtualHost:!0},components:{loading:c.default,SearchBox:s.default,CustomSwitch:r.default},mixins:[n.default,o.default],data:function(){return{optionsData:{sid:"",spellriceId:"",tableId:"",orderId:""},searchValue:"",storeInfo:{bgImage:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/store-title.jpg",storeInfo:{id:"",title:"",logo:"",score:0,sendPrice:0,selfPickupMinPrice:0,deliveryPrice:0,deliveryTime:0,content:"",notice:"",mobile:"",address:"",isRest:0,isInBusiness:0,activityLabels:[],images:[],qualification:[],business_hours_cn:"",coupons:!1,is_favorite:!1}},goodsData:[],isLogin:!0,isRefreshData:!1,currentNavIndex:0,renderTemplateFlag:[!0,!1,!1],currentPageScrollPosition:0,componentId:"",navRectInitCount:0,navRectInfo:{top:0,height:0,opacity:0},goodsPreviewRectInfo:{stickyDistance:0,height:0},showUpdateModal:!1,updateInfo:{storeTitle:"每日优鲜11",storeContent:'平台已升级,请到支付宝搜索"大马生活"'},showOrderingInformationModal:!1,orderingInformation:{banner:[],data1:{title:"",content:""},data2:{title:"",content:""}},loadingShow:!1,pageShowType:1,requireIndex:-1,delivery_type:!1,expansion_show:!1,old_discount:0,new_discount:0,expansion_data:null,new_description:"无门槛",categoryId:"",goodPage:1,categoryIndex:0,is_showGoods:!1,is_firstShowGoods:!0,isReachBottom:!1,isNextCategory:!1,showUnfold:!1,showClsX:!0,tabClassify:[],tabClassifyEnd:0}},computed:{topNavbarStyle:function(){var t={};return t.height="".concat(this.navBarInfo.height,"px"),t},currentNavStyle:function(){var t=this;return function(e){var i={};return i.display=t.currentNavIndex===e?"block":"none",i.marginTop="80rpx",i}},isRest:function(){return 1==this.storeInfo.storeInfo.isRest||0==this.storeInfo.storeInfo.isInBusiness}},onLoad:function(t){this.handleStoreOptions(t),this.componentId=this.$tn.uuid(),this.initCustomNavBarInfo(),this.openSubscribeModal()},onReady:function(){var t=this;setTimeout((function(){t._getStoreNavRectInfo()}),150)},onHide:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.loadingShow=!1}),1e3)}))},onUnload:function(){var t=this;this.$nextTick((function(){setTimeout((function(){t.loadingShow=!1}),1e3)}))},onPageScroll:function(t){var e=t.scrollTop;this.currentPageScrollPosition=e},onReachBottom:function(){if(0===this.currentNavIndex&&2==this.pageShowType){if(this.isReachBottom=!0,this.is_firstShowGoods)return;if(this.is_showGoods)return void(this.isNextCategory=!this.isNextCategory);(0,l.showLoading)({title:"加载商品中..."}),this.goodPage++,this.getStoreGoodsList(!1)}var t,e;1===this.currentNavIndex&&((null===(t=this.$refs)||void 0===t||null===(e=t.appraiseRef)||void 0===e?void 0:e.loadMoreCommentData)&&this.$refs.appraiseRef.loadMoreCommentData())},methods:{onShowEvent:function(){console.log("哈哈哈");this.handleStoreOptions({sid:"6"})},openAniShow:function(t,e){var i=this;if("showUnfold"==t){this.showClsX=!e;var a=setTimeout((function(){i.showUnfold=e,clearTimeout(a)}),300)}else{this.showUnfold=!e;var n=setTimeout((function(){i.showClsX=e,clearTimeout(n)}),300)}},handleSearchEvent:function(t){var e=this;this.searchValue=t,this.goodPage=1,this.categoryId="",this.is_showGoods=!1,this.goodsData=[],uni.pageScrollTo({scrollTop:0,duration:0}),this.$nextTick((function(){setTimeout((function(){e.getStoreGoodsList()}),150)}))},selectTopClass:function(t){this.tabClassifyEnd=t,this.categoryId=this.tabClassify[t].id,this.goodsData=this.tabClassify[t].child,this.getStoreGoodsList()},handleSubmitOrderRefreshEvent:function(){this.isRefreshData=!0},handleCategoryChangeEvent:function(t,e){this.isReachBottom=!1,this.is_showGoods=!1,this.is_firstShowGoods=!0,this.categoryId=t,this.categoryIndex=e,this.goodPage=1,this.getStoreGoodsList(!1)},getStoreInfo:function(){var t=this;(0,f.getCategorys)({sid:this.optionsData.sid}).then((function(e){t.isLogin=!0,console.log("454540",e),t.tabClassify=e,t.categoryId=e[0].id,t.getStoreGoodsList()})).catch((function(e){console.error("[store-template-1]获取分类列表失败",e),"请重新登录"==e.msg?t.isLogin=!1:(0,l.showModal)({title:"提示",content:e.msg||"获取分类列表失败",callback:function(){(0,u.navBack)()}})}))},getStoreGoodsList:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isReachBottom=!1,this.isNextCategory=!1,e&&(this.loadingShow=!0),console.log({sid:this.optionsData.sid,cid:this.categoryId}),(0,f.getClassChild)({sid:this.optionsData.sid,cid:this.categoryId}).then((function(e){console.log(e,"res"),t.goodsData=e.map((function(t){return{id:t.id,title:t.title,thumb:t.icon,description:t.description,category_min_fee:t.category_min_fee,is_mandatory:t.is_mandatory,goods:t.goods}})),t.is_firstShowGoods=!1,t.loadingShow=!1,t.$nextTick((function(){(0,l.closeLoading)()}))})).catch((function(e){console.error("[store-template-1]获取店铺商品列表失败",e),t.goodsData=[],t.loadingShow=!1,t.$nextTick((function(){(0,l.closeLoading)()}))})),console.log("shusidoa546465",this.goodsData)},handleStoreOptions:function(t){var e=0;if(t.q){var i=decodeURIComponent(t.q),a=i.match(/sid=(\d+)/);e=a[1]||""}else e=t.sid||"";1==this.vuex_appType&&(e=this.vuex_sid),e?(this.optionsData.sid=e,this.optionsData.orderId=t.order_id||"",this.getPageData(),this.checkExchange(e)):(0,l.showModal)({title:"提示",content:"缺少必要参数",callback:function(){(0,u.navBack)()}})},getPageData:function(){this.getStoreInfo()},reloadPageData:function(){var t=this;uni.pageScrollTo({scrollTop:0,duration:0}),this.$nextTick((function(){setTimeout((function(){t.goodsData=[],t.getPageData(),(0,p.getTokenFromCache)()&&t.getStoreShoppingCartData()}),150)}))},handleNavChangeEvent:function(t){this.renderTemplateFlag[t]||(this.renderTemplateFlag[t]=!0),this.currentPageScrollPosition>this.navRectInfo.top?uni.pageScrollTo({scrollTop:this.navRectInfo.top-this.navBarInfo.height,duration:0}):uni.pageScrollTo({scrollTop:this.currentPageScrollPosition,duration:0})},handleGoodsListRenderFinishEvent:function(){var t=this;console.log("nav"),this.loadingShow=!1,(0,p.getTokenFromCache)()&&this.getStoreShoppingCartData(),setTimeout((function(){t.loadingShow=!1}),1e3)},handleGoodsListGoodNumChangeEvent:function(t){var e=t.type,i=t.cid,a=t.goodId;this._updateGoodsNumData(e,i,a),this.getStoreShoppingCartData()},handleShoppingCartGoodNumChangeEvent:function(t){var e=t.type,i=t.cid,a=t.goodId;this._updateGoodsNumData(e,i,a)},handleUpdateCategoryEvent:function(t){this.requireIndex=t,console.log(t,"requireIndex")},handleShoppingCartClearEvent:function(){this.goodsData.map((function(t){t.goods.map((function(t){t.num>0&&(t.num=0)}))}))},getStoreShoppingCartData:function(){var t;(null===(t=this.$refs.shoppingCartRef)||void 0===t?void 0:t.updateShoppingCartData)&&this.$refs.shoppingCartRef.updateShoppingCartData()},updateModalNavBackEvent:function(){(0,u.navBack)()},handleOrderingInformationClickEvent:function(){this.showOrderingInformationModal=!1,this.getStoreGoodsList()},openSubscribeModal:function(){},_updateGoodsNumData:function(t,e,i){},_getStoreNavRectInfo:function(){var t=this,e=(0,d.createQuery)(this);e.select("#nav_".concat(this.componentId)).boundingClientRect((function(e){if(!e||0===e.height)return t.navRectInitCount>10?console.error("[product-showcase]获取导航容器节点信息失败"):void setTimeout((function(){t._getStoreNavRectInfo(),t.navRectInitCount++}),150);t.navRectInitCount=0,t.navRectInfo.top=e.top,t.navRectInfo.height=e.height,t.navRectInfo.opacity=0,t.goodsPreviewRectInfo.stickyDistance=t.navBarInfo.height+e.height;var i=uni.getSystemInfoSync();console.log("系统",i,t.navBarInfo.height,e.height),t.goodsPreviewRectInfo.height=i.windowHeight-(t.navBarInfo.height+e.height)})).exec()},_calcTopNavOpacity:function(t){var e=t/(this.navRectInfo.top-this.navBarInfo.height);e<0&&(e=0),e>1&&(e=1),1===this.navRectInfo.opacity&&1===e||(this.navRectInfo.opacity=e)},_zfbdataExposeGoods:function(t){var e=this;console.log("增长分析埋点中商品曝光的店铺: ",this.storeInfo),t.cate_has_goods.forEach((function(t){t.goods.forEach((function(i){my.reportCustomEvent("1045130",{bizType:"cloudappevent",spu_id:i.id,spu_name:i.title,price_original:100*parseFloat(i.price),price_current:100*parseFloat(i.price),spu_catg_first_id:e.storeInfo.storeInfo.id,spu_catg_first_name:e.storeInfo.storeInfo.title,spu_catg_second_id:t.id,spu_catg_second_name:t.title})}))}))},deliveryTypeChange:function(t){this.delivery_type=t},checkExchange:function(t){var e=this;(0,v.checkExchangeApi)(t).then((function(t){if(0!=t.data){e.expansion_show=!0,e.old_discount=parseFloat(t.redpacket.discount),e.new_discount=parseFloat(t.exchange.discount);var i=parseFloat(t.exchange.condition);e.new_description=i<=0?"无门槛":"满"+i+"元可用",e.expansion_data=t}else e.expansion_show=!1}))},exchange:function(){var t=this;uni.showModal({title:"提示",content:"是否确认兑换",showCancel:!0,cancelText:"取消",success:function(e){e.confirm&&(0,v.exchangeApi)({sid:t.expansion_data.exchange.sid,redpacket_id:t.expansion_data.redpacket.id,mealRedpacket_id:t.expansion_data.exchange.redpacketid}).then((function(e){console.log("res++++++++change",e),uni.showToast({title:"兑换成功",icon:"success",success:function(){t.expansion_show=!1}})}))}})},expansion_close:function(){this.expansion_show=!1}}};e.default=h},"43e1":function(t,e,i){"use strict";var a=i("2dfb"),n=i.n(a);n.a},4445:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"cubicbezier__wrap",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t.animate?i("v-uni-view",{staticClass:"ani__cb-x",style:t.style_x},[i("v-uni-view",{staticClass:"ani__cb-y",class:{"ani__cb-android":t.android},style:t.style_y},[t._t("badge")],2)],1):t._e(),t._t("default")],2)},n=[]},4466:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-button",{staticClass:"tn-btn-class tn-btn",class:[t.buttonClass,t.backgroundColorClass,t.fontColorClass],style:[t.buttonStyle],attrs:{"hover-class":"tn-hover",loading:t.loading,disabled:t.disabled,"form-type":t.formType,"open-type":t.openType},on:{getuserinfo:function(e){arguments[0]=e=t.$handleEvent(e),t.handleGetUserInfo.apply(void 0,arguments)},getphonenumber:function(e){arguments[0]=e=t.$handleEvent(e),t.handleGetPhoneNumber.apply(void 0,arguments)},contact:function(e){arguments[0]=e=t.$handleEvent(e),t.handleContact.apply(void 0,arguments)},error:function(e){arguments[0]=e=t.$handleEvent(e),t.handleError.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t._t("default")],2)},n=[]},"447c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"info-item tn-shadow"},[i("v-uni-view",{staticClass:"tn-flex",staticStyle:{"justify-content":"space-between","align-items":"center"}},[i("v-uni-view",{},[i("v-uni-view",{staticClass:"tn-flex-1 tn-flex tn-flex-row-center"},[i("v-uni-view",{staticClass:"tn-text-bold"},[t._v(t._s(t.storInfo.title))]),i("v-uni-view",{staticClass:"tn-margin-left-sm tn-color-gray tn-text-sm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/store-page/linkage/linkpage?system_brand_id="+t.config.sid+"&isHome=branch")}}},[i("v-uni-text",[t._v("分店")]),i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1),i("v-uni-view",{staticClass:"tn-margin-top-xs tn-color-gray tn-text-sm"},[t._v("营业时间:09:00-20:00")])],1),i("v-uni-view",{},[i("v-uni-image",{staticStyle:{width:"95rpx",height:"95rpx","border-radius":"10rpx"},attrs:{src:t.storInfo.mainPic,mode:"aspectFill"}})],1)],1),i("v-uni-view",{staticClass:"tn-flex tn-margin-top-xs",staticStyle:{"justify-content":"space-between","align-items":"center"}},[i("v-uni-view",{staticClass:"tn-text-ellipsis",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openMap(t.storInfo.lat,t.storInfo.lng)}}},[i("v-uni-text",{staticClass:"tn-icon-location"}),t._v(t._s(t.storInfo.address))],1),i("v-uni-text",{staticClass:"tn-icon-tel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openTel(t.storInfo.telephone)}}})],1)],1)},n=[]},4494:function(t,e,i){var a=i("688d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("1d3166de",a,!0,{sourceMap:!1,shadowMode:!1})},"44ca":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var a=i("419c"),n=i("9d0a"),o=i("af51"),s={methods:{navAnotherOrder:function(t,e,i,n){n?(0,a.navPage)(n):(0,a.navPage)("/store-page/product-showcase/template-1?sid=".concat(t,"&order_id=").concat(e))},navAppraiseOrder:function(t){(0,a.navPage)("/order-page/appraise-order/index?id=".concat(t))},cancelOrder:function(t,e){(0,n.showModal)({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,callback:function(i){i&&(0,o.cancelOrderApi)(t).then((function(t){e&&e()})).catch((function(t){console.error("[order-cancel]取消订单失败",t),(0,n.showToast)({title:"取消订单失败, 请重试"})}))}})},confitmOrder:function(t,e){(0,n.showModal)({title:"提示",content:"确认需要完成订单吗?",showCancel:!0,callback:function(i){i&&(0,o.confirmOrderApi)(t).then((function(t){e&&e()})).catch((function(t){console.error("[order-confirm]确认订单失败",t),(0,n.showToast)({title:"确认订单失败, 请重试"})}))}})}}};e.default=s},"44d2":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default,uniTransition:i("b4ba").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{"custom-navbar":!0,navbarBack:!1,navbarBgColor:"#fff",leftSlot:!0},scopedSlots:t._u([{key:"left",fn:function(){return[i("v-uni-view",{staticClass:"search-box",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/store-page/search/index")}}},[i("search-box",{staticClass:"search-box-item",attrs:{showbtn:!1,placholder:"火锅四件套",buttonText:"",height:t.navBarInfo.height}})],1)]},proxy:!0}])},[t.loadingShow?i("loading"):t._e(),i("v-uni-view",{staticClass:"store-nav tn-classify__wrap",style:[{top:t.navBarInfo.height+"px"}],attrs:{id:"nav_"+t.componentId}},[i("v-uni-view",{staticClass:"min-height"},[i("uni-transition",{attrs:{"mode-class":"fade",show:t.showClsX}},[i("v-uni-view",{staticClass:"topClassify tn-shadow"},[i("v-uni-scroll-view",{staticClass:"top-scroll",attrs:{"enable-flex":!0,"scroll-x":!0}},[i("v-uni-view",{staticClass:"for-mod"},t._l(t.tabClassify,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-item",style:{marginLeft:0==a?"30rpx":"",marginRight:a==t.tabClassify.length-1?"30rpx":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectTopClass(a)}}},[i("v-uni-view",{class:t.tabClassifyEnd===a?"avctImg list-img":"list-img"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.icon,mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"title",class:t.tabClassifyEnd===a?"avctTxt":""},[t._v(t._s(e.title))])],1)})),1)],1),i("v-uni-view",{staticClass:"rightUnfold",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openAniShow("showUnfold",!0)}}},[i("span",{staticClass:"txt"},[t._v("展开")])])],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.showUnfold,expression:"showUnfold"}],staticClass:"classifyMask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openAniShow("showClsX",!0)}}}),i("v-uni-view",{staticClass:"classify-box",style:[{top:t.navRectInfo.height+"px"}]},[i("uni-transition",{ref:"aniClassify",attrs:{"mode-class":"slide-top",show:t.showUnfold}},[i("v-uni-view",{staticClass:"classify-mod"},[i("v-uni-view",{staticClass:"top-centent"},[i("v-uni-view",{staticClass:"left"},[t._v("全部分类")]),i("v-uni-view",{staticClass:"right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openAniShow("showClsX",!0)}}},[i("span",{staticClass:"txt"},[t._v("收起")])])],1),t._l(t.tabClassify,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectTopClass(a)}}},[i("v-uni-view",{staticClass:"item-class"},[i("v-uni-view",{class:t.tabClassifyEnd===a?"avctImg list-img":"list-img"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.icon,mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"title",class:t.tabClassifyEnd===a?"avctTxt":""},[t._v(t._s(e.title))])],1)],1)}))],2)],1)],1)],1),t.renderTemplateFlag[0]?i("v-uni-view",{staticClass:"goods-info tn-border-top tn-border-gray--light",style:[t.currentNavStyle(0)]},[i("goods-list",{attrs:{pageShowType:t.pageShowType,data:t.goodsData,storeData:t.storeInfo.storeInfo.coupons,"sticky-distance":t.goodsPreviewRectInfo.stickyDistance,height:t.goodsPreviewRectInfo.height,"navbar-height":t.navBarInfo.height,sid:t.storeInfo.storeInfo.id,"spellrice-id":t.optionsData.spellriceId,"table-id":t.optionsData.tableId,"is-rest":t.isRest,"require-index":t.requireIndex,"category-index":t.categoryIndex,"is-reach-bottom":t.isReachBottom,"is-next-category":t.isNextCategory,paddingtop:!0,avctColor:"#6dc054"},on:{"render-finish":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodsListRenderFinishEvent.apply(void 0,arguments)},"category-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryChangeEvent.apply(void 0,arguments)},"good-num-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodsListGoodNumChangeEvent.apply(void 0,arguments)}}})],1):t._e(),i("showcase-update-modal",{attrs:{data:t.updateInfo},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.updateModalNavBackEvent.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.updateModalNavBackEvent.apply(void 0,arguments)}},model:{value:t.showUpdateModal,callback:function(e){t.showUpdateModal=e},expression:"showUpdateModal"}}),i("showcase-ordering-information",{attrs:{data:t.orderingInformation},on:{ordering:function(e){arguments[0]=e=t.$handleEvent(e),t.handleOrderingInformationClickEvent.apply(void 0,arguments)}},model:{value:t.showOrderingInformationModal,callback:function(e){t.showOrderingInformationModal=e},expression:"showOrderingInformationModal"}}),t.expansion_show?i("v-uni-view",{staticClass:"expansion"},[i("v-uni-view",{staticClass:"expansion_box"},[i("v-uni-view",{staticClass:"line1"},[t._v("膨胀吃货红包")]),i("v-uni-view",{staticClass:"line2"},[t._v("膨胀后金额变大,门槛不变")]),i("v-uni-view",{staticClass:"line2"},[t._v("限“膨胀专享”商家使用,且不可撤销")]),i("v-uni-view",{staticClass:"line3"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{staticClass:"price_detail"},[i("span",{staticClass:"price_unit"},[t._v(t._s(t.CurrencyUnit))]),i("span",{staticClass:"price_num"},[t._v(t._s(t.old_discount))])]),i("v-uni-view",{staticClass:"price_description"},[t._v("无门槛")])],1)],1),i("v-uni-view",{staticClass:"mid"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230912160305de3ab8876.png",alt:""}})]),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{staticClass:"price_detail"},[i("span",{staticClass:"price_unit"},[t._v(t._s(t.CurrencyUnit))]),i("span",{staticClass:"price_num"},[t._v(t._s(t.new_discount))])]),i("v-uni-view",{staticClass:"price_description"},[t._v(t._s(t.new_description))])],1)],1)],1),i("v-uni-view",{staticClass:"line4",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.exchange.apply(void 0,arguments)}}},[t._v("立即膨胀")])],1),i("v-uni-view",{staticClass:"expansion_close"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230912165851ec7463500.png",alt:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.expansion_close.apply(void 0,arguments)}}})])],1):t._e()],1)},o=[]},4541:function(t,e,i){"use strict";i.r(e);var a=i("ab27"),n=i("2a29");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("37c9");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6fe03864",null,!1,a["a"],void 0);e["default"]=r.exports},4590:function(t,e,i){var a=i("1181");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("30d29fd4",a,!0,{sourceMap:!1,shadowMode:!1})},"45cc":function(t,e,i){var a=i("cd94");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("2363a47d",a,!0,{sourceMap:!1,shadowMode:!1})},4726:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("39d8")),o=a(i("5de6"));i("64aa"),i("bf0f"),i("2797"),i("5ef2"),i("4626"),i("5ac7"),i("f7a5"),i("fd3c"),i("5c47"),i("2c10"),i("20f3"),i("c223");var s=a(i("a48b")),r=a(i("6f65")),c=a(i("0221")),d=a(i("2515")),l=a(i("cdf0")),u=a(i("2676")),f=a(i("a17e")),p=a(i("fde3")),v=a(i("7337")),h=a(i("b0d7")),g=a(i("17ec")),m=a(i("1cb7")),b=(i("815c"),i("419c")),_=i("262c"),w=i("d55c"),x=i("262c"),y=i("3e51"),C=i("9d0a"),k=i("78b4"),S=i("1e2b"),I=i("f9ce"),T={components:{Tabbar:s.default,Home:c.default,Order:d.default,Mine:l.default,ShopIndex:m.default,MealRedpacket:f.default,CircleCircle:u.default,Tray:p.default,Cart:v.default,regionPops:r.default,category:h.default,template1:g.default},data:function(){return{cacheAdStatus:!1,adStatus:!1,defaultStatus:!1,defaultFixed:!0,isAdSliding:!1,pullStatus:!0,pullRate:1,pullSetStatus:!1,pullImage:"",pullName:"",pullPagePath:"",delayDistance:0,refreshStatus:"",isShowingSecondFloor:!1,tabbarHeight:0,currentTabbarSelectIndex:0,tabberPageLoadFlag:[],tabbarData:[],color:"#080808",selectedColor:"#FFB701",pageTopRefresh:{refresh:!1,threshold:300},indexPageRectInfo:{height:0},scrollTopData:{home:0,order:0,meal:0,circle:0,tray:0,cart:0,categ:0,tep:0},orderShowIndex:0,mealShowIndex:0,circleShowIndex:0,template1ShowIndex:0,trayShowIndex:0,cartShowIndex:0,template1Index:0,categoryShowIndex:0,orderTypeIndex:0,isTabbarDiy:0,isDoubleClick:!1,recharge_plate_no:"",showProx:!1,storeId:{table_id:"",sid:""},user_address_auth_min:0,nearest_id:0,mall_config:null,enjoy_data:{title:"",image:"",isLogin:!1},firstLogin:"",lastTriggerTop:0}},onLoad:function(t){var e=this;this.getPullDownData(),t.lat&&t.lng&&(0,x.setLocationInfoToCache)({lat:t.lat,lng:t.lng});var i=Number((null===t||void 0===t?void 0:t.index)||0),a=(null===t||void 0===t?void 0:t.navType)||"";if(this.orderTypeIndex=Number((null===t||void 0===t?void 0:t.order_type_index)||0),this.getBottomTabbarData(i,a,t),t.recharge_plate_no&&(this.recharge_plate_no=t.recharge_plate_no),this._initPageInfo(),t.scene){var n=decodeURIComponent(t.scene);console.log("sceneParams",n),n=n.split("&"),console.log(n,"=====扫码获取到的参数====="),n.length&&n.forEach((function(t){if(-1!=t.indexOf("spread")){uni.setStorageSync("spread",t.split(":")[1]),e.scanCodePrompt(t.split(":")[1]);var i=uni.getStorageSync("spread");i&&(0,x.getTokenFromCache)()&&(0,y.bindingPromotionRelationship)({uid:i}).then((function(t){console.log(t,"建立推广关系"),t.data.redpacket_data&&(console.log("this.redpacket_data",e.redpacket_data),uni.setStorageSync("redpacket_data",t.data.redpacket_data))})).catch((function(t){(0,C.showToast)({title:t.msg})}))}if(-1!=t.indexOf("discount_card_member_id")){var a=t.split(":")[1];console.log("discount_card_member_id",a),(0,S.postInterviewApi)({member_id:a}).then((function(t){console.log("邀请",t)}))}}))}this.getMallConfig()},onShow:function(){var t,e,i=this;((0,I.checkUserIsLogin)().then((function(){i.isLogin=!0})).catch((function(){i.isLogin=!1})),1==this.vuex_appType&&0==this.currentTabbarSelectIndex&&this.$nextTick((function(){setTimeout((function(){i.$refs.shopPage.refreshData()}),50)})),this.tabbarData.length>0&&"/pages/index/pages/circle"==this.tabbarData[this.currentTabbarSelectIndex].path)&&((null===(t=this.$refs)||void 0===t||null===(e=t.circlePage)||void 0===e?void 0:e.diyOnShow)&&this.$refs.circlePage.diyOnShow());if(!(this.tabbarData.length>0&&"/pages/index/pages/circle"==this.tabbarData[this.currentTabbarSelectIndex].path)){this.tabbarData.length>0&&this._switchTabbarPage(this.currentTabbarSelectIndex);var a=getApp();a.globalData.isChangeAddress&&(this.getBottomTabbarData(0,"",{}),a.globalData.isChangeAddress=!1)}},onPullDownRefresh:function(){var t,e,i,a;if(0==this.isTabbarDiy)if(0===this.currentTabbarSelectIndex)(null===(t=this.$refs)||void 0===t||null===(e=t.homePage)||void 0===e?void 0:e._handlePageShowEvent)&&this.$refs.homePage._handlePageShowEvent();else if(1===this.currentTabbarSelectIndex){var n,o;(null===(n=this.$refs)||void 0===n||null===(o=n.orderPage)||void 0===o?void 0:o.reLoadOrderData)&&this.$refs.orderPage.reLoadOrderData()}else uni.stopPullDownRefresh();else if(0===this.currentTabbarSelectIndex)(null===(i=this.$refs)||void 0===i||null===(a=i.homePage)||void 0===a?void 0:a._handlePageShowEvent)&&this.$refs.homePage._handlePageShowEvent();else if("/pages/order/order"==this.tabbarData[this.currentTabbarSelectIndex].path){var s,r;(null===(s=this.$refs)||void 0===s||null===(r=s.orderPage)||void 0===r?void 0:r.reLoadOrderData)&&this.$refs.orderPage.reLoadOrderData()}else uni.stopPullDownRefresh()},computed:{indexPageStyle:function(){var t={};return t.height="".concat(this.indexPageRectInfo.height,"px"),t},currentPageStyle:function(){var t=this;return function(e){console.log("this.currentTabbarSelectIndex",t.currentTabbarSelectIndex);var i=t.tabbarData[t.currentTabbarSelectIndex].selectedColor;console.log("selectedColor",i);var a={};return a.display=t.currentTabbarSelectIndex===e?"block":"none",a}}},watch:{template1Index:function(t){var e=this;if(t){console.log("包含点餐页面",this.tabbarData);var i=!1,a=0;this.tabbarData.forEach((function(t,e){if(t.path.includes("/store-page/product-showcase/template-1")||t.path.includes("/pages/index/pages/template-1")){i=!0;var n=t.path,s=n.indexOf("?"),r=-1!==s?n.slice(s+1):"",c=r.split("&");c.forEach((function(t){var e=t.split("="),i=(0,o.default)(e,2),n=i[0],s=i[1];"system_brand_id"==n&&(a=s)}))}})),console.log("包含点餐页面",i,a),(0,k.getBrandStoreListApi)({system_brand_id:a,keywords:""}).then((function(t){e.nearest_id=t[0].id,console.log("最近的店铺id",e.nearest_id)}))}}},onShareAppMessage:function(t){var e,i;return{title:this.enjoy_data.title?this.enjoy_data.title:(null===(e=this.mall_config)||void 0===e?void 0:e.title)||"首页",imageUrl:this.enjoy_data.image?this.enjoy_data.image:(null===(i=this.mall_config)||void 0===i?void 0:i.logo)||"",path:"/pages/index/index?index="+this.currentTabbarSelectIndex}},onShareTimeline:function(t){var e,i;return{title:this.enjoy_data.title?this.enjoy_data.title:(null===(e=this.mall_config)||void 0===e?void 0:e.title)||"首页",imageUrl:this.enjoy_data.image?this.enjoy_data.image:(null===(i=this.mall_config)||void 0===i?void 0:i.logo)||""}},methods:{acceptAndContinue:function(){var t,e,i,a=this;uni.setStorageSync("firstLogin",!0),this.firstLogin=!0,this.getPullDownData(),this.options.lat&&this.options.lng&&(0,x.setLocationInfoToCache)({lat:this.options.lat,lng:this.options.lng});var n,o,s=Number((null===(t=this.options)||void 0===t?void 0:t.index)||0),r=(null===(e=this.options)||void 0===e?void 0:e.navType)||"";(this.orderTypeIndex=Number((null===(i=this.options)||void 0===i?void 0:i.order_type_index)||0),this.getBottomTabbarData(s,r,this.options),this.options.recharge_plate_no&&(this.recharge_plate_no=this.options.recharge_plate_no),this._initPageInfo(),(0,I.checkUserIsLogin)().then((function(){a.isLogin=!0})).catch((function(){a.isLogin=!1})),1==this.vuex_appType&&0==this.currentTabbarSelectIndex&&this.$nextTick((function(){setTimeout((function(){a.$refs.shopPage.refreshData()}),50)})),this.tabbarData.length>0&&"/pages/index/pages/circle"==this.tabbarData[this.currentTabbarSelectIndex].path)&&((null===(n=this.$refs)||void 0===n||null===(o=n.circlePage)||void 0===o?void 0:o.diyOnShow)&&this.$refs.circlePage.diyOnShow());if(!(this.tabbarData.length>0&&"/pages/index/pages/circle"==this.tabbarData[this.currentTabbarSelectIndex].path)){this.tabbarData.length>0&&this._switchTabbarPage(this.currentTabbarSelectIndex);var c=getApp();c.globalData.isChangeAddress&&(this.getBottomTabbarData(0,"",{}),c.globalData.isChangeAddress=!1)}},initPullStatus:function(){var t=this;this.adStatus&&(this.defaultStatus=!0,this.defaultFixed=!0,setTimeout((function(){t.isAdSliding=!0,t.defaultStatus=!1,t.defaultFixed=!1,setTimeout((function(){t.isAdSliding=!1}),300)}),3500))},onPulling:function(t){this.adStatus=this.cacheAdStatus;var e=t.detail.dy;this.delayDistance=e;var i=Math.min(e/300,1);this.defaultStatus=!0,this.pullRate=i},onRefresh:function(){this.delayDistance>=180&&(this.delayDistance=0,uni.navigateTo({url:this.pullPagePath}))},onRestore:function(){this.pullStatus=!0,this.pullRate=0,this.delayDistance=0},onAbort:function(){this.pullStatus=!0,this.pullRate=0,this.delayDistance=0},setEnjoyInfo:function(t){console.log("enjoy_data",t);var e=t.title,i=t.image;this.enjoy_data.title=e,this.enjoy_data.image=i},handoffTabbar:function(t){console.log(t,"跳转路径");var e=t,i=e.indexOf("?"),a=e.slice(0,-1!==i?i:void 0),n=-1!==i?e.slice(i+1):"",s="",r=n.split("&");r.forEach((function(t){var e=t.split("="),i=(0,o.default)(e,2),a=(i[0],i[1]);s=a})),console.log("获取擦阿叔的的",s);for(var c=0;c<this.tabbarData.length;c++){var d=this.tabbarData[c].path,l=d.indexOf("?"),u=d.slice(0,-1!==l?l:void 0);if(console.log(a,u),u==a||"/store-page/product-showcase/template-1"==u){this._switchTabbarPage(c,s);break}}},tabbarInitHeight:function(t){console.log("tabbar高度===",t),this.tabbarHeight=t},scrollViewOnReachBottomEvent:function(t){var e,i;"/pages/index/pages/circle"==this.tabbarData[this.currentTabbarSelectIndex].path&&((null===(e=this.$refs)||void 0===e||null===(i=e.circlePage)||void 0===i?void 0:i.pageScrollCircle)&&this.$refs.circlePage.pageScrollCircle(t.detail))},updataShowProx:function(){this.showProx=!1},changRegNum:function(t){var e=uni.getStorageSync("chooseCurrentAddress");this.showProx=t>=2&&!e},getMallConfig:function(){var t=this;(0,w.getMallConfigApi)().then((function(e){console.log("rrrrr_config",e),t.mall_config=e,(0,x.setUserAddressAuthMin)(e.user_address_auth_min),console.log("res.user_address_auth_min",e.user_address_auth_min),e&&2==e.version&&e.default_sid&&(0,w.getPageShowTypeApi)({sid:e.default_sid}).then((function(t){(0,b.navPage)("/store-page/product-showcase/template-1?sid=".concat(e.default_sid))})).catch((function(t){(0,b.navPage)("/store-page/product-showcase/template-1?sid=".concat(e.default_sid))})),e.ios_audit&&uni.setStorageSync("ios_audit",e.ios_audit),e.wx_min_app_audit&&uni.setStorageSync("wx_min_app_audit",e.wx_min_app_audit),e.dy_min_app_audit&&uni.setStorageSync("dy_min_app_audit",e.dy_min_app_audit)})).catch((function(t){console.error("[index]获取商城配置信息失败",t)}))},scanCodePrompt:function(t){console.log(t,"++++++"),(0,y.getScanTipsInfo)({uid:t}).then((function(t){(0,C.showToast)({title:t.data})})).catch((function(t){(0,C.showToast)({title:t.msg})}))},getBottomTabbarData:function(t,e,i){var a=this;(0,w.getBottomTabbarDataApi)().then((function(n){var o=n.menu.data;if(console.log(o,"'''''''''=====data====="),a.isTabbarDiy=o.isTabbarDiy||0,a.color=o.color,a.selectedColor=o.selectedColor,a.tabbarData=o.data.map((function(t){return{id:t.id,title:t.text,path:t.path,icon:t.iconPath,activeIcon:t.selectedIconPath,selectedColor:o.selectedColor}})),console.log("this.tabbarData",a.tabbarData),a.tabbarData.map((function(t,e){e>0&&"/pages/order/order"==t.path&&e!=a.tabbarData.length-1&&(a.orderShowIndex=e),e>0&&"/user-info-page/becomeMember/becomeMember"==t.path&&e!=a.tabbarData.length-1&&(a.mealShowIndex=e),e>0&&"/pages/index/pages/circle"==t.path&&e!=a.tabbarData.length-1&&(a.circleShowIndex=e),e>0&&"/tray-page/tray/index"==t.path&&e!=a.tabbarData.length-1&&(a.trayShowIndex=e),(e>0&&t.path.includes("/store-page/product-showcase/template-1")||t.path.includes("pages/index/pages/template-1")&&e!=a.tabbarData.length-1)&&(a.template1Index=e),e>0&&"/cart-page/cart/index"==t.path&&e!=a.tabbarData.length-1&&(a.cartShowIndex=e),e>0&&"/store-page/category/category"==t.path&&e!=a.tabbarData.length-1&&(a.categoryShowIndex=e)})),e&&"order"==e&&(t=a.orderShowIndex),i.q){var s=decodeURIComponent(i.q);console.log("页面参数++++",s);var r=s.match(/code=([^&]+)/);if(r=r?r[1]:"",console.log("提取的参数","--",r),r)return void(0,k.getCodeInfoByCodeApi)(r).then((function(t){console.log("扫码点餐正常跳转+++",t);for(var e={sid:t.sid,table_id:t.table_id},i=0;i<a.tabbarData.length;i++){var n=a.tabbarData[i].path,o=n.indexOf("?"),s=n.slice(0,-1!==o?o:void 0);if("/pages/index/pages/template-1"==s||"/store-page/product-showcase/template-1"==s){console.log("扫码点餐正常跳转成功",i,e),a.updatePageLoadInfo(i,e);break}}}))}a.updatePageLoadInfo(t)})).catch((function(e){console.error("[index]获取底部导航图标数据失败",e),a.tabbarData=[{id:1,title:"首页",icon:"home",activeIcon:"home-fill"},{id:2,title:"订单",icon:"order",activeIcon:"order-fill"},{id:3,title:"我的",icon:"my",activeIcon:"my-fill"}],a.updatePageLoadInfo(t)}))},updatePageLoadInfo:function(t,e){this.tabberPageLoadFlag=this.tabbarData.map((function(e,i){return t===i})),e?this.switchTabbar(t,e):this.switchTabbar(t)},switchTabbar:function(t,e){console.log("点击切换1",t,e),e?this._switchTabbarPage(t,"",e):this._switchTabbarPage(t)},doubleClickTabbar:function(t){var e=this;if(this.pageTopRefresh.refresh){var i;if(this.isDoubleClick=!0,0===this.currentTabbarSelectIndex)(null===(i=this.$refs.homePage)||void 0===i?void 0:i.refreshPageData)&&this.$refs.homePage.refreshPageData(),this.scrollTopData.home=1,setTimeout((function(){e.scrollTopData.home=0}),50);setTimeout((function(){e.isDoubleClick=!1}),500)}},handleScrollViewScrollEvent:function(t){var e,i,a=t.detail.scrollTop;if(0===this.currentTabbarSelectIndex){var n,o;this.pageTopRefresh.refresh=a>this.pageTopRefresh.threshold,(null===(n=this.$refs)||void 0===n||null===(o=n.homePage)||void 0===o?void 0:o._handleScrollEvent)&&this.$refs.homePage._handleScrollEvent({scrollTop:a});var s,r,c=a-this.lastTriggerTop;if(c>=500)this.lastTriggerTop=a,(null===(s=this.$refs)||void 0===s||null===(r=s.homePage)||void 0===r?void 0:r.loadMoreStoreData)&&this.$refs.homePage.loadMoreStoreData()}(this.tabbarData[this.currentTabbarSelectIndex].path&&this.tabbarData[this.currentTabbarSelectIndex].path.includes("/store-page/product-showcase/template-1")||this.tabbarData[this.currentTabbarSelectIndex].path&&this.tabbarData[this.currentTabbarSelectIndex].path.includes("/pages/index/pages/template-1"))&&((null===(e=this.$refs)||void 0===e||null===(i=e.template1Page)||void 0===i?void 0:i.onPageScrollEvent)&&this.$refs.template1Page.onPageScrollEvent(t))},handleScrollViewScrollLowerEvent:function(){var t,e,i,a;if(!this.isDoubleClick)if(0==this.isTabbarDiy){if(0===this.currentTabbarSelectIndex)(null===(t=this.$refs)||void 0===t||null===(e=t.homePage)||void 0===e?void 0:e.loadMoreStoreData)&&this.$refs.homePage.loadMoreStoreData();else if(1===this.currentTabbarSelectIndex){var n,o;(null===(n=this.$refs)||void 0===n||null===(o=n.orderPage)||void 0===o?void 0:o.loadMoreOrder)&&this.$refs.orderPage.loadMoreOrder()}}else if(0===this.currentTabbarSelectIndex)(null===(i=this.$refs)||void 0===i||null===(a=i.homePage)||void 0===a?void 0:a.loadMoreStoreData)&&this.$refs.homePage.loadMoreStoreData();else if("/pages/order/order"==this.tabbarData[this.currentTabbarSelectIndex].path){var s,r;(null===(s=this.$refs)||void 0===s||null===(r=s.orderPage)||void 0===r?void 0:r.loadMoreOrder)&&this.$refs.orderPage.loadMoreOrder()}else if("/user-info-page/becomeMember/becomeMember"==this.tabbarData[this.currentTabbarSelectIndex].path)console.log("暂无底部事件");else if("/tray-page/tray/index"==this.tabbarData[this.currentTabbarSelectIndex].path)console.log("暂无底部事件");else if("/pages/index/pages/circle"==this.tabbarData[this.currentTabbarSelectIndex].path){var c,d;(null===(c=this.$refs)||void 0===c||null===(d=c.circlePage)||void 0===d?void 0:d.loadMoreCircle)&&this.$refs.circlePage.loadMoreCircle()}else if("/cart-page/cart/index"==this.tabbarData[this.currentTabbarSelectIndex].path){var l,u;(null===(l=this.$refs)||void 0===l||null===(u=l.cartPage)||void 0===u?void 0:u.loadMoreCart)&&this.$refs.cartPage.loadMoreCart()}else if(this.tabbarData[this.currentTabbarSelectIndex].path.includes("/store-page/product-showcase/template-1")||this.tabbarData[this.currentTabbarSelectIndex].path.includes("/pages/index/pages/template-1")){var f,p;(null===(f=this.$refs)||void 0===f||null===(p=f.template1Page)||void 0===p?void 0:p.loadMoreTemplate1)&&this.$refs.template1Page.loadMoreTemplate1()}},_switchTabbarPage:function(t,e,i){var a=this;console.log("切换----",t,"index",e,"params");var o=this.tabberPageLoadFlag[t];void 0!==o&&(!1===o&&(this.tabberPageLoadFlag[t]=!0),this.currentTabbarSelectIndex=t,console.log(this.$refs,this.isTabbarDiy,this.currentTabbarSelectIndex,this.tabbarData[this.currentTabbarSelectIndex].path,"this.$refs"),this.$nextTick((function(){setTimeout((function(){var o,s;if(0==a.isTabbarDiy){if(0===t)a._judgeNavTangshiPage((function(){var t,e;(null===(t=a.$refs)||void 0===t||null===(e=t.homePage)||void 0===e?void 0:e._handlePageShowEvent)&&a.$refs.homePage._handlePageShowEvent()}));else if(1===t){var r,c;(null===(r=a.$refs)||void 0===r||null===(c=r.orderPage)||void 0===c?void 0:c.reLoadOrderData)&&a.$refs.orderPage.reLoadOrderData()}else if(2===t){var d;(null===(d=a.$refs.minePage)||void 0===d?void 0:d.onShowEvent)&&a.$refs.minePage.onShowEvent()}}else if(0===t)a._judgeNavTangshiPage((function(){var t,e;(null===(t=a.$refs)||void 0===t||null===(e=t.homePage)||void 0===e?void 0:e._handlePageShowEvent)&&a.$refs.homePage._handlePageShowEvent()})),(null===(o=a.$refs)||void 0===o||null===(s=o.trayPage)||void 0===s?void 0:s.handleUnShow)&&a.$refs.trayPage.handleUnShow();else if(t==a.tabbarData.length-1){var l,u,f;(null===(l=a.$refs.minePage)||void 0===l?void 0:l.onShowEvent)&&a.$refs.minePage.onShowEvent(),(null===(u=a.$refs)||void 0===u||null===(f=u.trayPage)||void 0===f?void 0:f.handleUnShow)&&a.$refs.trayPage.handleUnShow()}else if("/pages/order/order"==a.tabbarData[a.currentTabbarSelectIndex].path){var p,v,h,g;(null===(p=a.$refs)||void 0===p||null===(v=p.orderPage)||void 0===v?void 0:v.reLoadOrderData)&&a.$refs.orderPage.reLoadOrderData(),(null===(h=a.$refs)||void 0===h||null===(g=h.trayPage)||void 0===g?void 0:g.handleUnShow)&&a.$refs.trayPage.handleUnShow()}else if("/user-info-page/becomeMember/becomeMember"==a.tabbarData[a.currentTabbarSelectIndex].path){var m,b,_,w;(null===(m=a.$refs)||void 0===m||null===(b=m.mealPage)||void 0===b?void 0:b.reloadMealRedPacket)&&a.$refs.mealPage.reloadMealRedPacket(),(null===(_=a.$refs)||void 0===_||null===(w=_.trayPage)||void 0===w?void 0:w.handleUnShow)&&a.$refs.trayPage.handleUnShow()}else if("/pages/index/pages/circle"==a.tabbarData[a.currentTabbarSelectIndex].path){var x,y,C,k;console.log("进了"),(null===(x=a.$refs)||void 0===x||null===(y=x.circlePage)||void 0===y?void 0:y.diyOnShow)&&a.$refs.circlePage.diyOnShow(),(null===(C=a.$refs)||void 0===C||null===(k=C.trayPage)||void 0===k?void 0:k.handleUnShow)&&a.$refs.trayPage.handleUnShow()}else if("/tray-page/tray/index"==a.tabbarData[a.currentTabbarSelectIndex].path){var S;(null===(S=a.$refs.trayPage)||void 0===S?void 0:S.onShowEvent)&&a.$refs.trayPage.onShowEvent()}else if("/cart-page/cart/index"==a.tabbarData[a.currentTabbarSelectIndex].path){var I;(null===(I=a.$refs.cartPage)||void 0===I?void 0:I.onShowEvent)&&a.$refs.cartPage.onShowEvent()}else if("/store-page/category/category"==a.tabbarData[a.currentTabbarSelectIndex].path){var T;console.log("进了"),(null===(T=a.$refs.categoryPage)||void 0===T?void 0:T.onShowEvent)&&a.$refs.categoryPage.onShowEvent()}else if(a.tabbarData[a.currentTabbarSelectIndex].path.includes("/store-page/product-showcase/template-1")||a.tabbarData[a.currentTabbarSelectIndex].path.includes("/pages/index/pages/template-1")){var P,E;console.log("进了====template-1",a.tabbarData[a.currentTabbarSelectIndex].path.substring(a.tabbarData[a.currentTabbarSelectIndex].path.lastIndexOf("?")+1).split("="));var z=a.tabbarData[a.currentTabbarSelectIndex].path.substring(a.tabbarData[a.currentTabbarSelectIndex].path.lastIndexOf("?")+1).split("="),M=i?"sid":"system_brand_id"==z[0]?"system_brand_id":"sid",A=e||1,O=i?i.table_id:"";console.log("跳转前参数",i);var D=a.nearest_id;(null===(P=a.$refs.template1Page)||void 0===P?void 0:P.onShowEvent)&&a.$refs.template1Page.onShowEvent((E={},(0,n.default)(E,M,i?i.sid:z[1]),(0,n.default)(E,"delivery_type",A),(0,n.default)(E,"table_id",O),(0,n.default)(E,"nearest_id",D),E))}}),50)})))},_initPageInfo:function(){var t=uni.getSystemInfoSync();this.indexPageRectInfo.height=t.windowHeight},_judgeNavTangshiPage:function(t){var e=(0,_.getTangshiCacheInfoData)();e.status?(0,b.navPage)("/store-page/tangshi/index?sid=".concat(e.sid,"&table_id=").concat(e.tableId),"reLaunch"):t&&t()},changeScroll:function(t){console.log("changeScroll",t),this.scrollTopData.cart=t},getPullDownData:function(){var t=this;(0,w.getPullDownSecondApi)(3).then((function(e){console.log("下拉二楼",e),t.pullImage=e.image||"",t.pullName=e.name||"下拉加载更多",t.pullPagePath=e.pagePath||"",t.adStatus=e.status,t.cacheAdStatus=e.status,t.initPullStatus()}))}}};e.default=T},4746:function(t,e,i){"use strict";i.r(e);var a=i("cfea"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"47e3":function(t,e,i){"use strict";var a=i("b733"),n=i.n(a);n.a},4807:function(t,e,i){"use strict";var a=i("fb8c"),n=i.n(a);n.a},4828:function(t,e,i){"use strict";var a=i("cc81");e["a"]=a["a"]},4830:function(t,e,i){var a=i("c484");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("0f808976",a,!0,{sourceMap:!1,shadowMode:!1})},4877:function(t,e,i){"use strict";i.r(e);var a=i("6a88e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},4885:function(t,e,i){"use strict";i.r(e);var a=i("27e7"),n=i("6bf3");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("313a");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"48daff25",null,!1,a["a"],void 0);e["default"]=r.exports},"48fb":function(t,e,i){"use strict";i.r(e);var a=i("a723"),n=i("3e9a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9103");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4a7625bc",null,!1,a["a"],void 0);e["default"]=r.exports},"495e":function(t,e,i){"use strict";i.r(e);var a=i("4372"),n=i("7d42");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("ff5b");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"e21e205a",null,!1,a["a"],void 0);e["default"]=r.exports},"4a08":function(t,e,i){"use strict";i.r(e);var a=i("c3ba"),n=i("35fc");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("82a1");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6e657f75",null,!1,a["a"],void 0);e["default"]=r.exports},"4a33":function(t,e,i){"use strict";i.r(e);var a=i("2a5d"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"4ad8":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"tn-radio-group-class tn-radio-group",style:{display:this.isFlex?"flex":"",flexWrap:this.isFlex?"wrap":""}},[this._t("default")],2)},n=[]},"4bbe":function(t,e,i){var a=i("2889");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("77f02aee",a,!0,{sourceMap:!1,shadowMode:!1})},"4bbe6":function(t,e,i){"use strict";var a=i("83b2"),n=i.n(a);n.a},"4c43":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={adBanner:i("43af").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[i("v-uni-view",{style:t.skin},[t.adStatus?i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.defaultStatus||t.isAdSliding,expression:"defaultStatus || isAdSliding"}],staticClass:"ad-banner-container",class:{"slide-up":!t.defaultStatus},style:{transform:"translateY("+(100*t.pullRate-100)+"%)"}},[i("ad-banner",{attrs:{image:t.pullImage}})],1):t._e(),i("v-uni-view",{staticClass:"index-page theme-index",style:[t.indexPageStyle]},[t.tabberPageLoadFlag[0]&&0==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(0)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.home},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollEvent.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("home",{ref:"homePage",on:{handoffTabbar:function(e){arguments[0]=e=t.$handleEvent(e),t.handoffTabbar.apply(void 0,arguments)},setEnjoyInfo:function(e){arguments[0]=e=t.$handleEvent(e),t.setEnjoyInfo.apply(void 0,arguments)}}})],1)],1):t._e(),t.tabberPageLoadFlag[1]&&0==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(1)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.order},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollEvent.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("order",{ref:"orderPage",attrs:{"type-index":t.orderTypeIndex}})],1)],1):t._e(),t.tabberPageLoadFlag[2]&&0==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(2)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[i("mine",{ref:"minePage"})],1)],1):t._e(),1==t.isTabbarDiy&&t.tabberPageLoadFlag[0]?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(0)]},[t.defaultFixed&&t.adStatus?i("v-uni-view",{staticClass:"ad-banner-container2"}):t._e(),t.adStatus?i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"refresher-enabled":!0,"refresher-triggered":t.pullStatus,"scroll-y":!0,"scroll-top":t.scrollTopData.home},on:{refresherpulling:function(e){arguments[0]=e=t.$handleEvent(e),t.onPulling.apply(void 0,arguments)},refresherrefresh:function(e){arguments[0]=e=t.$handleEvent(e),t.onRefresh.apply(void 0,arguments)},refresherrestore:function(e){arguments[0]=e=t.$handleEvent(e),t.onRestore.apply(void 0,arguments)},refresherabort:function(e){arguments[0]=e=t.$handleEvent(e),t.onAbort.apply(void 0,arguments)},scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollEvent.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("home",{ref:"homePage",on:{handoffTabbar:function(e){arguments[0]=e=t.$handleEvent(e),t.handoffTabbar.apply(void 0,arguments)},setEnjoyInfo:function(e){arguments[0]=e=t.$handleEvent(e),t.setEnjoyInfo.apply(void 0,arguments)}}})],1):i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.home},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollEvent.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("home",{ref:"homePage",on:{handoffTabbar:function(e){arguments[0]=e=t.$handleEvent(e),t.handoffTabbar.apply(void 0,arguments)},setEnjoyInfo:function(e){arguments[0]=e=t.$handleEvent(e),t.setEnjoyInfo.apply(void 0,arguments)}}})],1)],1):t._e(),1==t.isTabbarDiy&&t.tabberPageLoadFlag[t.tabbarData.length-1]?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.tabbarData.length-1)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[i("mine",{ref:"minePage"})],1)],1):t._e(),t.orderShowIndex>0&&t.tabbarData.length>2&&t.tabberPageLoadFlag[t.orderShowIndex]&&1==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.orderShowIndex)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.order},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollEvent.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("order",{ref:"orderPage",attrs:{"type-index":t.orderTypeIndex}})],1)],1):t._e(),t.mealShowIndex>0&&t.tabbarData.length>2&&t.tabberPageLoadFlag[t.mealShowIndex]&&1==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.mealShowIndex)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.meal},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("meal-redpacket",{ref:"mealPage"})],1)],1):t._e(),t.circleShowIndex>0&&t.tabbarData.length>2&&t.tabberPageLoadFlag[t.circleShowIndex]&&1==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.circleShowIndex)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.circle},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollViewOnReachBottomEvent.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("circle-circle",{ref:"circlePage",attrs:{showBack:!1}})],1)],1):t._e(),t.trayShowIndex>0&&t.tabbarData.length>2&&t.tabberPageLoadFlag[t.trayShowIndex]&&1==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.trayShowIndex)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.tray},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("tray",{ref:"trayPage",attrs:{recharge_plate_no:t.recharge_plate_no}})],1)],1):t._e(),t.cartShowIndex>0&&t.tabbarData.length>2&&t.tabberPageLoadFlag[t.cartShowIndex]&&1==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.cartShowIndex)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.cart},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("cart",{ref:"cartPage"})],1)],1):t._e(),t.template1Index>0&&t.tabbarData.length>2&&t.tabberPageLoadFlag[t.template1Index]&&1==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.template1Index)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.cart},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollEvent.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("template1",{ref:"template1Page",attrs:{tabbarHeight:t.tabbarHeight},on:{change_scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.changeScroll.apply(void 0,arguments)}}})],1)],1):t._e(),t.categoryShowIndex>0&&t.tabbarData.length>2&&t.tabberPageLoadFlag[t.categoryShowIndex]&&1==t.isTabbarDiy?i("v-uni-view",{staticClass:"index-page__container",style:[t.currentPageStyle(t.categoryShowIndex)]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0,"scroll-top":t.scrollTopData.categ},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.handleScrollViewScrollLowerEvent.apply(void 0,arguments)}}},[i("category",{ref:"categoryPage"})],1)],1):t._e(),i("regionPops",{attrs:{showReginon:t.showProx},on:{closeShow:function(e){arguments[0]=e=t.$handleEvent(e),t.updataShowProx.apply(void 0,arguments)},ProxyAreaNum:function(e){arguments[0]=e=t.$handleEvent(e),t.changRegNum.apply(void 0,arguments)}}}),i("tabbar",{attrs:{data:t.tabbarData,color:t.color,"to-top-index":0,"to-top":t.pageTopRefresh.refresh,"active-color":t.selectedColor},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.switchTabbar.apply(void 0,arguments)},"double-click":function(e){arguments[0]=e=t.$handleEvent(e),t.doubleClickTabbar.apply(void 0,arguments)},tabbarInit:function(e){arguments[0]=e=t.$handleEvent(e),t.tabbarInitHeight.apply(void 0,arguments)}},model:{value:t.currentTabbarSelectIndex,callback:function(e){t.currentTabbarSelectIndex=e},expression:"currentTabbarSelectIndex"}})],1)],1)],1)},o=[]},"4c58":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"store-show-simple tn-shadow",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPage.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"main-image"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.image}})],1)],1),i("v-uni-view",{staticClass:"store-image tn-shadow"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.logo}})],1)],1),i("v-uni-view",{staticClass:"store-info"},[i("v-uni-view",{staticClass:"store-name tn-text-ellipsis-1 tn-color-red"},[t._v(t._s(t.store.title))]),i("v-uni-view",{staticClass:"store-desc tn-text-ellipsis-1 tn-color-brown"},[t._v(t._s(t.store.content))])],1)],1)},o=[]},"4c81":function(t,e,i){"use strict";i.r(e);var a=i("67acf"),n=i("f6fd");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("b69e");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"c56800ac",null,!1,a["a"],void 0);e["default"]=r.exports},"4d4f":function(t,e,i){"use strict";var a=i("32d6");e["a"]=a["a"]},"4dd1":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.center-modal[data-v-e21e205a]{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:99998\n /* mask */\n /* wrapper */\n /* close-btn */\n /* 标题 */\n /* 内容区域 */\n /* 操作按钮 */}.center-modal__mask[data-v-e21e205a]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;-webkit-animation:showMask-data-v-e21e205a .25s ease .1s forwards;animation:showMask-data-v-e21e205a .25s ease .1s forwards}.center-modal__wrapper[data-v-e21e205a]{position:absolute;left:50%;top:50%;width:80%;background-color:#fff;border-radius:%?15?%;padding:%?40?%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0);-webkit-animation:showWrapper-data-v-e21e205a .25s ease .1s forwards;animation:showWrapper-data-v-e21e205a .25s ease .1s forwards;z-index:99999}.center-modal__wrapper.no-padding[data-v-e21e205a]{padding:%?0?%}.center-modal__close-btn[data-v-e21e205a]{position:absolute;top:%?30?%;right:%?30?%;z-index:99999}.center-modal__title[data-v-e21e205a]{position:absolute;top:%?30?%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:%?38?%}.center-modal__content[data-v-e21e205a]{position:relative;width:100%;margin-top:%?60?%}.center-modal__content.no-top[data-v-e21e205a]{margin-top:%?0?%}.center-modal__operation-btn[data-v-e21e205a]{margin-top:%?40?%;display:flex;align-items:center}.center-modal__operation-btn .cancel-btn[data-v-e21e205a], .center-modal__operation-btn .confirm-btn[data-v-e21e205a]{flex:1;padding:%?20?%;border-radius:%?15?%;display:flex;align-items:center;justify-content:center}.center-modal__operation-btn .cancel-btn[data-v-e21e205a]{margin-right:%?20?%;background-color:#f3f2f7}@-webkit-keyframes showMask-data-v-e21e205a{0%{opacity:0}100%{opacity:1}}@keyframes showMask-data-v-e21e205a{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes showWrapper-data-v-e21e205a{0%{-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}100%{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}}@keyframes showWrapper-data-v-e21e205a{0%{-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}100%{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}}',""]),t.exports=e},"4e4c":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("9b1b"));i("64aa"),i("473f"),i("bf0f"),i("2797"),i("aa77"),i("aa9c"),i("c223"),i("fd3c"),i("8f71"),i("c9b5"),i("ab80"),i("dd2b");var o=a(i("dc1f")),s=a(i("e456")),r=a(i("2cbd")),c=i("9d0a"),d=i("419c"),l=i("78b4"),u=i("ba1f"),f=i("ade3"),p={props:{sendPrice:{type:[String,Number],default:0},selfPickupMinPrice:{type:[String,Number],default:0},deliveryPrice:{type:[String,Number],default:0},sid:{type:[String,Number],default:""},spellriceId:{type:[String,Number],default:""},tableId:{type:[String,Number],default:""},isRest:{type:Boolean,default:!1},goodsData:{type:Array,default:[]},deliveryType:{type:Number,default:1},isZiti:{type:Boolean,default:!1},personNum:{type:[String,Number],default:""},brand:{type:String,default:""},storeCode:{type:String,default:""},encrypted_data:{type:String,default:""},multiple_cart:{type:Boolean,default:!1},multiple_cart_add_fee:{type:Number,default:0}},components:{BottomModal:s.default,ProductSpecNumberBox:r.default},mixins:[o.default],data:function(){return{shoppingCartData:{boxPrice:0,data:[],discount_by_num_id:0,discount_by_num_price:0,encrypted_data:""},require:!0,require_text:"未选必选品",requireIndex:-1,showProductList:!1,cidMinPrice:!1,cidMinPriceText:"最低消费0元",multipleShoppingCartData:[],other_shop_num:0,multiple_cart_delivery_price:0,is_loaded:!1}},computed:{totalPrice:function(){if(0==this.multiple_cart){var t=0;return this.shoppingCartData.data.length>0&&(t=this.shoppingCartData.data.reduce((function(t,e){return t+e.total_discount_price}),0)),this.shoppingCartData.discount_by_num_id>0&&t!=this.shoppingCartData.price&&(t=this.shoppingCartData.price),this.shoppingCartData.encrypted_data&&(t=this.shoppingCartData.price),t.toFixed(2)}var e=0;return this.multipleShoppingCartData.length>0&&this.multipleShoppingCartData.forEach((function(t){t.checked&&t.data.forEach((function(t){Array.isArray(t)||(t=[t]),e+=t.reduce((function(t,e){return t+e.total_discount_price}),0)}))})),e.toFixed(2)},oldTotalPrice:function(){if(0==this.multiple_cart){var t=0;return this.shoppingCartData.data.length>0&&(t=this.shoppingCartData.data.reduce((function(t,e){return t+e.oldPrice*e.num}),0)),t+=this.shoppingCartData.boxPrice,t.toFixed(2)}var e=0;return this.multipleShoppingCartData.length>0&&this.multipleShoppingCartData.forEach((function(t){t.checked&&t.data.forEach((function(t){Array.isArray(t)||(t=[t]),e+=t.reduce((function(t,e){return t+e.oldPrice*e.num}),0)}))})),e.toFixed(2)},totalNum:function(){var t=this,e=0;return 0==this.multiple_cart?this.shoppingCartData.data.length>0&&(e=this.shoppingCartData.data.reduce((function(e,i){return t.$emit("changCartNum",e+i.num),e+i.num}),0)):this.multipleShoppingCartData.length>0&&this.multipleShoppingCartData.forEach((function(i){i.checked&&i.data.forEach((function(i){Array.isArray(i)||(i=[i]),e+=i.reduce((function(e,i){return t.$emit("changCartNum",e+i.num),e+i.num}),0)}))})),this.$emit("changCartNum",e),e},submitBtnTipText:function(){var t=this;if(this.isRest)return"休息中...";var e=Number(this.totalPrice),i=Number(this.sendPrice),a=Number(this.selfPickupMinPrice);if(this.goodsData.length>0)for(var o=!1,s=!1,r=function(e){for(var i=0;i<t.goodsData.length;i++)if(t.goodsData[i].is_mandatory){o=!0;var a=t.goodsData[i].goods.find((function(i,a){return i.id==t.shoppingCartData.data[e].goodId}));if(a&&1==t.goodsData[i].is_mandatory&&(s=!0),o&&s){t.require=!0;break}o&&!s&&(t.requireIndex=i,t.require=!1)}else t.have_mandatory=!1},c=0;c<this.shoppingCartData.data.length;c++)r(c);var d=[];return this.shoppingCartData.data.forEach((function(t,e,i){d.push({cid:t.cid,price:t.price,num:t.num})})),d=d.reduce((function(t,e){var i=t.find((function(t){return t.cid===e.cid})),a=(0,n.default)((0,n.default)({},e),{},{frequency:1});return i?(i.price+=e.price,i.frequency++):t.push(a),t}),[]),d.forEach((function(e){t.goodsData.forEach((function(i){e.cid==i.id&&Number(i.category_min_fee)>0&&(t.cidMinPrice=!1,e.price*e.num<Number(i.category_min_fee)&&(t.cidMinPrice=!0,t.cidMinPriceText="".concat(i.title,"还需消费").concat((i.category_min_fee-e.price*e.num).toFixed(2),"元")))}))})),i>0?this.isZiti?e>=a?"去结算":"差".concat((a-e).toFixed(2),"元起送"):e>=i?"去结算":"差".concat((i-e).toFixed(2),"元起送"):this.isZiti&&e<a?"差".concat((a-e).toFixed(2),"元起送"):e>=i?"去结算":"请选择商品"},isToSubmit:function(){if(this.isRest)return!1;if(this.cidMinPrice)return!1;var t=Number(this.totalPrice),e=Number(this.sendPrice),i=Number(this.selfPickupMinPrice);return this.isZiti?i>0&&t>=i||0===i&&t>i:e>=0&&t>=e||0===e&&t>=e}},watch:{sid:{handler:function(t){},immediate:!0}},methods:{handleStoreCheckedChangeEvent:function(t){this.multipleShoppingCartData[t].checked=!this.multipleShoppingCartData[t].checked,console.log("this.multipleShoppingCartData",this.multipleShoppingCartData)},getShoppingCartData:function(){var t=this;(0,l.getStoreShoppingCartDataApi)({sid:this.sid,tableId:this.tableId,encrypted_data:this.encrypted_data}).then((function(e){console.log(t.goodsData,"阿里获取购物车成功");var i=e.cart;0==t.multiple_cart?(t.shoppingCartData.boxPrice=i.box_price,t.shoppingCartData.price=i.price,t.shoppingCartData.discount_by_num_id=i.discount_by_num_id,t.shoppingCartData.encrypted_data=i.encrypted_data||"",t.shoppingCartData.discount_by_num_id=Number(i.discount_by_num_id),t.shoppingCartData.discount_by_num_price=Number(i.discount_by_num_price),t.shoppingCartData.data=i.data.reduce((function(t,e){return t.concat(e.filter((function(t){return"88888"!=t.goods_id})).map((function(t){return{cid:t.cid,goodId:t.goods_id,optionId:(0===t.option_id?0:t.option_id).toString(),title:t.title,image:t.thumb,spec:t.option_title,min:0,max:-1,num:t.num,price:Number(t.price),oldPrice:Number((null===t||void 0===t?void 0:t.old_price)||t.price),cart_price:Number(i.cart_price),total_discount_price:Number(t.total_discount_price),buy_limit:t.buy_limit||0}})))}),[])):(t.multipleShoppingCartData=[],i.forEach((function(e){var i=e.data.reduce((function(t,i){return t.concat(i.filter((function(t){return"88888"!=t.goods_id})).map((function(t){return{cid:t.cid,goodId:t.goods_id,optionId:(0===t.option_id?0:t.option_id).toString(),title:t.title,image:t.thumb,spec:t.option_title,min:0,max:-1,num:t.num,price:Number(t.price),oldPrice:Number((null===t||void 0===t?void 0:t.old_price)||t.price),cart_price:Number(e.cart_price),total_discount_price:Number(t.total_discount_price),store_title:e.store_title,buy_limit:t.buy_limit||0}})))}),[]),a={boxPrice:e.box_price,data:i,discount_by_num_id:e.discount_by_num_id,discount_by_num_price:e.discount_by_num_price,encrypted_data:e.encrypted_data||"",store_title:e.store_title,sid:e.sid,checked:!0};t.multipleShoppingCartData.push(a),t.multiple_cart_delivery_price=e.delivery_price})),console.log("xxxxxx",t.multipleShoppingCartData)),console.log("shoppingCartData",t.shoppingCartData),console.log(t.shoppingCartData.data,"this.shoppingCartData.data"),uni.$emit("historyCart",t.shoppingCartData.data),t.$emit("get-cart-id",i.id),t.is_loaded=!0})).catch((function(e){console.error("[shoppingCart]获取店铺购物车数据失败",e),t.shoppingCartData.data=[]}))},updateShoppingCartData:function(){this.getShoppingCartData()},clearStoreShoppingCart:function(){var t=this;(0,c.showModal)({title:"操作提示",content:"确定需要清空购物车吗?",showCancel:!0,callback:function(e){e&&(0,u.clearStoreShoppingCartApi)({sid:t.sid}).then((function(e){(0,c.showToast)({title:"清空购物车成功"}),t._resetShoppingCartData(),t.getShoppingCartData(),t.showProductList=!1,t.$emit("clear")})).catch((function(t){console.error("[shoppingCart]清空购物车数据失败",t),(0,c.showToast)({title:t.msg})}))}})},getCheckedStore:function(){var t=[];return this.multipleShoppingCartData.forEach((function(e){e.checked&&t.push(e.sid)})),t},handleSubmitEvent:function(){var t=this;if(console.log(this.isToSubmit,this.require,this.requireIndex,"this.isToSubmit"),this.isToSubmit)if(!this.require&&this.requireIndex>=0)this.$emit("update-category",this.requireIndex);else{uni.$once(f.REFRESH_STORE_EVENT,(function(){t.$emit("refresh-data")}));var e=3===+this.deliveryType&&this.isZiti?1:0;if(console.log(this.deliveryType,this.isZiti),0==this.multiple_cart)this.tableId&&""!=this.tableId?(0,d.navPage)("/order-page/submit-tangshi-order/index?sid=".concat(this.sid,"&table_id=").concat(this.tableId,"&personNum=")+this.personNum):(0,d.navPage)("/order-page/submit-order/index?sid=".concat(this.sid,"&orderType=").concat(e,"&brand=").concat(this.brand,"&storeCode=").concat(this.storeCode));else{var i=this.getCheckedStore();if(i.length>0)if(1==i.length)(0,d.navPage)("/order-page/submit-order/index?sid=".concat(i.join(","),"&orderType=").concat(e,"&brand=").concat(this.brand,"&storeCode=").concat(this.storeCode));else{var a=i.join(",");(0,d.navPage)("/order-page/one-touch-submit-order/index?sids=".concat(a),"redirect")}else(0,c.showToast)({title:"请选择店铺"})}}},handleGoodNumChangeEvent:function(t,e,i){var a=this,n=this.shoppingCartData.data[i];this.updateShoppingCartData(),this.$emit("good-num-change",{cid:n.cid,goodId:n.goodId,type:e,sid:sid}),0===t&&this.$nextTick((function(){setTimeout((function(){a.shoppingCartData.data.splice(i,1)}),250)}))},_resetShoppingCartData:function(){this.shoppingCartData.boxPrice=0,this.shoppingCartData.data=[]},handleClickInfoEvent:function(){this.showProductList=!this.showProductList}}};e.default=p},5048:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.category[data-v-48daff25]{padding:%?20?% 0}.scroll-view[data-v-48daff25]{white-space:nowrap;height:%?120?%}.cate-item[data-v-48daff25]{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:%?120?%;color:#666}.cate-item uni-image[data-v-48daff25]{height:%?60?%;width:%?60?%;border-radius:50%;margin-bottom:%?16?%}.cate-item .active[data-v-48daff25]{color:#f25370}.item-goods[data-v-48daff25]{background-color:#fff;padding:0 %?18?%;border-radius:%?16?%;color:#333;margin-bottom:%?12?%;box-shadow:0 0 %?40?% 0 #c7c7c7;height:%?232?%}.item-goods__desc[data-v-48daff25]{flex:1;padding:%?18?% 0}.item-goods__img[data-v-48daff25]{width:%?196?%;height:%?196?%;margin-right:%?14?%;border-radius:%?10?%}.item-goods__img.is-recommend[data-v-48daff25]{content:"推荐";color:#fff;display:flex;justify-content:center;align-items:center;background-color:#f25370;width:%?64?%;height:%?33?%;border-radius:%?10?% 0 %?10?% 0;font-size:%?22?%}.item-goods__content[data-v-48daff25]{position:relative}.item-goods__logo[data-v-48daff25]{width:%?28?%;height:%?28?%;border-radius:50%;margin-right:%?4?%}.item-goods__title[data-v-48daff25]{line-height:1.6;max-width:%?250?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.item-goods__sub[data-v-48daff25], .item-goods__store[data-v-48daff25]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:%?200?%}.item-goods__xiangou[data-v-48daff25]{position:absolute;bottom:%?32?%;left:0}.item-goods__progress[data-v-48daff25]{background-color:#fdeef1;border-radius:%?30?%;height:%?28?%;box-sizing:border-box;position:absolute;bottom:0;left:0;width:100%;font-size:%?20?%;overflow:hidden;color:#fff}.item-goods__progress[data-v-48daff25]::before{position:absolute;left:0;top:0;content:"正在热销";background-color:#f25370;height:%?28?%;width:50%;display:block;padding-left:%?18?%;color:#fff}.item-goods__progress.type0[data-v-48daff25]::before{width:40%}.item-goods__progress.type1[data-v-48daff25]::before{width:45%}.item-goods__progress.type2[data-v-48daff25]::before{width:60%}.item-goods__progress.type3[data-v-48daff25]::before{width:65%}.item-goods__progress.type4[data-v-48daff25]::before{width:70%}.item-goods__progress.type5[data-v-48daff25]::before{width:75%}.item-goods__progress.type99[data-v-48daff25]::before{content:"即将售罄";width:84%}.item-goods__price-box[data-v-48daff25]{margin-left:%?24?%;padding-left:%?24?%;background-image:radial-gradient(circle at 1.5vmin 1.5vmin,#f3f3f3 1.5vmin,transparent 0);background-size:30vmin 5vmin;background-position:0 3vmin;align-items:center;flex:0 1 %?200?%;justify-content:center}.item-goods .icon[data-v-48daff25]{background-color:#f25370;color:#fff;border-radius:50%;border:1px solid #fff;display:inline-flex;position:absolute;right:%?10?%;top:0}.item-goods .btn[data-v-48daff25]{width:%?144?%;height:%?56?%;line-height:%?56?%;background:#f25370;border-radius:%?10?%;color:#fff;font-size:%?24?%}.color-main[data-v-48daff25]{color:#ed576d}.text-20[data-v-48daff25]{font-size:%?20?%}.text-22[data-v-48daff25]{font-size:%?22?%}.text-24[data-v-48daff25]{font-size:%?24?%}.text-26[data-v-48daff25]{font-size:%?26?%}.text-28[data-v-48daff25]{font-size:%?28?%}.text-42[data-v-48daff25]{font-size:%?42?%}\n/* 选中规格属性加料弹框 start */.spec-choose-modal[data-v-48daff25]{width:100%;padding-top:%?24?%\n /* 商品操作 start */\n /* 商品操作 end */\n /* 选择区域 start */\n /* 选择区域 end */\n /* 已选择规格 start */\n /* 已选择规格 end */\n /* 价格、数量信息 start */\n /* 价格、数量信息 end */}.spec-choose-modal.disabled .operation__add .icon[data-v-48daff25]{background-color:#aaa;color:#fff}.spec-choose-modal .operation__spec[data-v-48daff25]{padding:%?6?% %?20?%;border-radius:%?15?%;position:relative;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.spec-choose-modal .operation__spec .num[data-v-48daff25]{position:absolute;top:0;right:0;-webkit-transform:translate(10%,-50%);transform:translate(10%,-50%);line-height:1;padding:%?4?% %?10?%;border-radius:%?200?%}.spec-choose-modal .operation__spec .num .input[data-v-48daff25]{color:#000}.spec-choose-modal .operation__add[data-v-48daff25]{height:%?46?%}.spec-choose-modal .operation__add .icon[data-v-48daff25]{width:%?46?%;height:%?46?%;font-size:%?30?%;line-height:1;border-radius:50%;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.spec-choose-modal .operation__add .num[data-v-48daff25]{width:%?50?%;height:100%;margin:%?0?% %?5?%}.spec-choose-modal .operation__add .num .input[data-v-48daff25]{width:100%;height:100%;padding:%?0?%;background-color:initial;color:#000;text-align:center}.spec-choose-modal .small-box[data-v-48daff25]{display:flex;align-items:center;padding-left:%?30?%}.spec-choose-modal .goods-image[data-v-48daff25]{width:100%;border-top-left-radius:%?15?%;border-top-right-radius:%?15?%;margin-top:%?-25?%;max-height:%?750?%}.spec-choose-modal .goods-name-small[data-v-48daff25]{height:1rem;display:flex;flex-direction:column;justify-content:space-around}.spec-choose-modal .goods-image-small[data-v-48daff25]{width:%?100?%;height:%?100?%;border-radius:%?10?%}.spec-choose-modal .good-title[data-v-48daff25]{font-size:%?34?%;font-weight:500;padding:%?0?% %?30?%}.spec-choose-modal .desc[data-v-48daff25]{padding:%?0?% %?30?%;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1}.spec-choose-modal .content-wrapper[data-v-48daff25]{padding:%?30?%;width:100%;height:%?500?%}.spec-choose-modal .content-wrapper .content-data[data-v-48daff25]{width:100%\n /* 可选项 start */\n /* 可选项 end */}.spec-choose-modal .content-wrapper .content-data .content-title[data-v-48daff25]{font-size:%?24?%}.spec-choose-modal .content-wrapper .content-data .content-select[data-v-48daff25]{display:flex;flex-wrap:wrap}.spec-choose-modal .content-wrapper .content-data .content-select .select-item[data-v-48daff25]{display:flex;align-items:center;border-radius:%?15?%;margin-right:%?12?%;margin-top:%?20?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-48daff25],\n.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-48daff25]{line-height:1;padding:%?12?% %?20?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-48daff25]{padding-right:%?24?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-48daff25]{border-radius:%?0?%;border-left-width:%?1?%;border-left-style:solid;border-color:inherit}.spec-choose-modal .content-wrapper .content-data .content-select .select-item.select[data-v-48daff25]{border-color:var(--theme-color)!important;color:var(--theme-color)}.spec-choose-modal .content-wrapper .content-data + .content-data[data-v-48daff25]{margin-top:%?24?%}.spec-choose-modal .select-attr-value[data-v-48daff25]{width:100%;padding:%?10?% %?30?%;display:flex}.spec-choose-modal .select-attr-value .value[data-v-48daff25]{flex:1;padding-left:%?20?%}.spec-choose-modal .price-num-wrapper[data-v-48daff25]{width:100%;padding:%?30?%;display:flex;justify-content:space-between}.spec-choose-modal .price-num-wrapper .price-value .title[data-v-48daff25]{font-size:%?32?%}.spec-choose-modal .price-num-wrapper .price-value .price[data-v-48daff25]{margin-left:%?12?%;display:flex;align-items:flex-end}.spec-choose-modal .price-num-wrapper .price-value .price .unit[data-v-48daff25]{font-size:%?32?%;line-height:1;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.spec-choose-modal .price-num-wrapper .price-value .price .value[data-v-48daff25]{font-size:%?46?%;line-height:1;font-weight:700;margin-left:%?4?%}\n/* 选中规格属性加料弹框 end */',""]),t.exports=e},5068:function(t,e,i){"use strict";var a=i("c070"),n=i.n(a);n.a},"50b3":function(t,e,i){"use strict";i.r(e);var a=i("5ed5"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"50d1":function(t,e,i){"use strict";i.r(e);var a=i("4c58"),n=i("2e14");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("67ac");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0225c48f",null,!1,a["a"],void 0);e["default"]=r.exports},5157:function(t,e,i){var a=i("6961");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("497ee3ef",a,!0,{sourceMap:!1,shadowMode:!1})},"51be":function(t,e,i){var a=i("72d6");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("9a62ff60",a,!0,{sourceMap:!1,shadowMode:!1})},5253:function(t,e,i){var a=i("7018");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("69e65a42",a,!0,{sourceMap:!1,shadowMode:!1})},5298:function(t,e,i){"use strict";var a=i("4bbe"),n=i.n(a);n.a},"530c":function(t,e,i){var a=i("1063");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("1f956cea",a,!0,{sourceMap:!1,shadowMode:!1})},5328:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("74ff")),o={mixins:[n.default],name:"tn-badge",props:{index:{type:[Number,String],default:"0"},radius:{type:Number,default:0},padding:{type:String,default:""},margin:{type:String,default:""},dot:{type:Boolean,default:!1},absolute:{type:Boolean,default:!1},top:{type:[String,Number],default:""},right:{type:[String,Number],default:""},translateCenter:{type:Boolean,default:!0}},computed:{badgeClass:function(){var t="";return this.dot&&(t+=" tn-badge--dot"),this.absolute&&(t+=" tn-badge--absolute",this.translateCenter&&(t+=" tn-badge--center-position")),t},badgeStyle:function(){var t={};return 0!==this.radius&&(t.width=this.radius+"rpx",t.height=this.radius+"rpx",t.lineHeight=this.radius+"rpx"),this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontColorStyle&&(t.color=this.fontColorStyle),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),this.top&&(t.top=this.$tn.string.getLengthUnitValue(this.top)),this.right&&(t.right=this.$tn.string.getLengthUnitValue(this.right)),t}},data:function(){return{}},methods:{handleClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})}}};e.default=o},"538e":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.brilliant-title[data-v-71a57327]{position:relative;width:100%}.brilliant-title .bg[data-v-71a57327]{width:100%;position:absolute;top:%?0?%}.brilliant-title .title[data-v-71a57327]{width:100%;text-align:center;top:0;font-size:%?36?%;font-weight:700}.brilliant-title .title .left-icon[data-v-71a57327]{margin-right:%?20?%}.brilliant-title .title .right-icon[data-v-71a57327]{margin-left:%?20?%}',""]),t.exports=e},5434:function(t,e,i){"use strict";var a=i("f66e"),n=i.n(a);n.a},5453:function(t,e,i){"use strict";i.r(e);var a=i("1e03"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"549d":function(t,e,i){var a=i("95d3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("4b470edc",a,!0,{sourceMap:!1,shadowMode:!1})},"54d8":function(t,e,i){"use strict";i.r(e);var a=i("43b6"),n=i("2379");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("0650");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1c66f6a5",null,!1,a["a"],void 0);e["default"]=r.exports},"554b":function(t,e,i){"use strict";var a=i("f122"),n=i.n(a);n.a},5589:function(t,e,i){"use strict";i.r(e);var a=i("69c8"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"558f":function(t,e,i){"use strict";i.r(e);var a=i("6ad3"),n=i("9774");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("ae83");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6a02ce9a",null,!1,a["a"],void 0);e["default"]=r.exports},"55a4":function(t,e,i){"use strict";i.r(e);var a=i("ba72"),n=i("747e");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("4807");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1b44ba7c",null,!1,a["a"],void 0);e["default"]=r.exports},"55ef":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5c47"),i("fd3c"),i("f7a5"),i("aa9c"),i("bf0f"),i("2797");var n=a(i("265b")),o=a(i("495e")),s=a(i("2cbd")),r=i("ba1f"),c=i("1db2"),d=i("9d0a"),l=a(i("1f36")),u=(i("9d0a"),i("419c")),f={options:{styleIsolation:"shared"},props:{data:{type:Array,default:function(){return[]}},stickyHeight:{type:Number,default:0},avctColor:{type:String,default:""},paddingtop:{type:Boolean,default:!1},sid:{type:[String,Number],default:""},spellriceId:{type:[String,Number],default:""},tableId:{type:[String,Number],default:""},isRest:{type:Boolean,default:!1},showloadStatu:{type:Boolean,default:!1},showloadStatu2:{type:Boolean,default:!1},brand:{type:String,default:""},navType:{type:String,default:""},refreshCategoryTitleRectInfo:{type:Boolean,default:!1}},components:{VLineTitle:n.default,ProductSpecNumberBox:s.default,ImgModal:l.default,CenterModal:o.default},data:function(){return{productsListRectInfo:{top:0},pdtop:0,titleRectInitCount:0,categoryTitleRectInfo:{height:0},categoryTitleTopInfo:[],listObserverName:"tnProductListObserver",Goodname:"",modalShow:!1,modalmode:"",openInputGoodsNumModal:!1,goodsId:"",inputValue:0,options_id:"",loadText:{loadmore:"加载更多",loading:"正在加载中...",nomore:"没有更多了"},loadText2:{loadmore:"切换下个分类",loading:"正在切换下个分类...",nomore:"没有更多了"},currentTab:"",tempBuyLimit:0}},computed:{categoryTitleStyle:function(){var t={};return t.top="".concat(this.categoryTitleTopInfo[0]-this.productsListRectInfo.top+this.stickyHeight-uni.upx2px(22),"px"),t}},watch:{data:{handler:function(t,e){var i=this;t&&t.length>0&&t.length!=e.length&&this.stickyHeight&&setTimeout((function(){i._getCategoryTitleRectInfo()}),150)},immediate:!0},stickyHeight:{handler:function(t){var e=this;this.data&&this.data.length>0&&t&&(console.log("啦啦啦"),setTimeout((function(){e._getCategoryTitleRectInfo()}),150))},immediate:!0},refreshCategoryTitleRectInfo:function(t){var e=this;t&&setTimeout((function(){e._getCategoryTitleRectInfo()}),150)}},created:function(){this.historyCart()},mounted:function(){},destroyed:function(){this._discountObserver()},methods:{seleTabs:function(t,e){console.log(t,e),this.currentTab=t,this.$emit("chang-tabs",e.id,t)},changeTabs:function(t){this.currentTab=t},handleProductInputUpdaeEvent:function(t,e,i){this.inputValue=t.value,this.goodsId=t.goodId,this.options_id=t.options_id,this.openInputGoodsNumModal=!0,this.tempBuyLimit=this.data[e].goods[i].buy_limit},submitUpdateCart:function(){var t=this;this.tempBuyLimit>0&&this.inputValue>this.tempBuyLimit?(0,d.showToast)({title:"限购".concat(this.tempBuyLimit,"件")}):(0,r.updateGoodCartApi)({goodsId:this.goodsId,sid:this.sid,num:this.inputValue,options_id:this.options_id}).then((function(e){t.openInputGoodsNumModal=!1,t.$emit("good-num-change",{type:"",cid:"",goodId:""})})).catch((function(t){(0,d.showToast)({title:t.msg})}))},handleProductNumChangeEvent:function(t,e,i){var a=this.data[e],n=a.goods[i];this.$emit("good-num-change",{type:"add"===t.type?"+":"-",cid:a.id,goodId:n.id})},_getCategoryTitleRectInfo:function(){var t=this,e=(0,c.createQuery)(this);e.selectAll(".sgpl-products-list, .sgpl-item-title").boundingClientRect((function(e){if(!e||e.length<=0)return t.titleRectInitCount>10?console.error("[showcaseGoodsList-productList]获取分类标题容器信息失败"):void setTimeout((function(){t._getCategoryTitleRectInfo(),t.titleRectInitCount++}),150);t.categoryTitleTopInfo=[],t.pdtop=e[1].height,t.productsListRectInfo.top=e[0].top,e.slice(1).map((function(e){t.categoryTitleRectInfo.height||(t.categoryTitleRectInfo.height=e.height),t.categoryTitleTopInfo.push(e.top)})),t.$emit("init-finish",t.categoryTitleTopInfo)})).exec()},_discountObserver:function(){},Good:function(t,e){if(console.log(t),1==t.specOptions){var i=this.$refs.goods;console.log(i);for(var a=null,n=0;n<i.length;n++)if(i[n]["goodId"]==t.id){a=i[n];break}a.handleSpecClickEvent()}else this.modalmode=t,this.modalShow=!0},historyCart:function(){var t=this;uni.$on("historyCart",(function(e){t.data.forEach((function(i){i.goods.forEach((function(i){var a=0;e.forEach((function(t){t.goodId===+i.id&&(a+=t.num)})),t.$set(i,"num",a)}))}))}))},navPage:u.navPage}};e.default=f},5601:function(t,e,i){var a=i("7fc1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("270a35ee",a,!0,{sourceMap:!1,shadowMode:!1})},"561c":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 卡片样式 start */.card[data-v-59c150a5]{position:relative;margin:%?30?%;margin-top:%?40?%;padding:%?30?%;border-radius:%?20?%;width:calc(100% - %?60?%);background-color:#fff}.card .card-wrapper[data-v-59c150a5]{width:100%}.card .card-wrapper .card-item[data-v-59c150a5]{width:calc(100% / 4);padding:%?10?% %?0?%}.card .card-wrapper .card-item .icon[data-v-59c150a5]{font-size:%?60?%}.card .card-wrapper .card-item .title[data-v-59c150a5]{margin-top:%?6?%}\n/* 卡片样式 end */\n/* 卡片列表 start */.list-card[data-v-59c150a5]{position:relative;width:100%}.list-card .list[data-v-59c150a5]{\n /* 顶部内容 start */\n /* 顶部内容 end */\n /* 列表内容 start */\n /* 列表内容 end */}.list-card .list__top[data-v-59c150a5]{display:flex;align-items:center;justify-content:space-between;padding:%?0?% %?10?% %?20?% %?10?%;font-size:%?34?%}.list-card .list__top .top-title[data-v-59c150a5]{font-weight:500}.list-card .list__top .top-title .icon[data-v-59c150a5]{margin-right:%?10?%}.list-card .list__top .top-operation[data-v-59c150a5]{font-size:%?28?%}.list-card .list__wrapper[data-v-59c150a5]{background-color:#fff;border-radius:%?15?%}.list-card .list__wrapper .list__item + .list__item[data-v-59c150a5]::after{content:"";width:96%;height:%?1?%;background-color:#f3f2f7;position:absolute;left:50%;top:%?0?%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.list-card .list__item[data-v-59c150a5]{position:relative;padding:%?30?%\n /* 列表数据 start */\n /* 列表数据 end */}.list-card .list__item .item-data[data-v-59c150a5]{display:flex;align-items:center}.list-card .list__item .item-data.between[data-v-59c150a5]{justify-content:space-between}.list-card .list__item .item-data .item--left[data-v-59c150a5]{margin-right:%?20?%}.list-card .list__item .item-data .item--left .icon[data-v-59c150a5]{font-size:%?42?%;color:#838383;margin-right:%?8?%}.list-card .list__item .item-data .item--right[data-v-59c150a5]{flex:1}.list-card .list__item .item-data .item--arrow[data-v-59c150a5]{color:#aaa;margin-left:%?10?%}\n/* 卡片列表 end */.title[data-v-59c150a5]{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;width:100%!important;padding:%?0?% %?15?%!important;margin-top:%?6?%!important;text-align:center!important}.icon_shenlanse[data-v-59c150a5]{color:#318bf0;background:#318bf0;-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block}.icon_huangse[data-v-59c150a5]{color:#f4bf3a;background:linear-gradient(180deg,#ffd56e,#f4bf3a);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block}.icon_qingse[data-v-59c150a5]{color:#f4bf3a;background:linear-gradient(180deg,#1bd7f8,#05b7fe);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block}.icon_lanse[data-v-59c150a5]{color:#f4bf3a;background:linear-gradient(180deg,#9aaeff,#7791fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block}.icon_honse[data-v-59c150a5]{color:#f4bf3a;background:linear-gradient(180deg,#f87979,#f96464);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block}.mine-page[data-v-59c150a5]{position:relative;width:100%\n /* 顶部设置按钮 start */\n /* 顶部设置按钮 end */\n /* 背景 start */\n /* 背景 end */\n /* 用户头像、昵称信息 start */\n /* 用户头像、昵称信息 end */\n /* 用户账户信息 start */\n /* 用户账户信息 end */}.mine-page .navbar[data-v-59c150a5]{width:100%;z-index:19999}.mine-page .navbar__setting[data-v-59c150a5]{position:absolute;left:%?30?%;font-size:%?50?%;z-index:20000}.mine-page .navbar__title[data-v-59c150a5]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:%?30?%;z-index:20000}.mine-page .user-info[data-v-59c150a5]{position:relative;width:100%;padding:%?0?% %?30?%\n /* 用户头像 start */\n /* 用户头像 end */\n /* 用户数据 start */\n /* 用户数据 end */}.mine-page .user-info .avatar .avatar-shadow[data-v-59c150a5]{border:%?8?% solid hsla(0,0%,100%,.05);box-shadow:%?0?% %?0?% %?80?% %?0?% rgba(0,0,0,.15);border-radius:50%;position:relative}.mine-page .user-info .avatar .avatar-shadow .crown[data-v-59c150a5]{width:%?46.85?%;height:%?46.26?%;position:absolute;left:%?100?%;top:%?-20?%}.mine-page .user-info .avatar .avatar-shadow .crown img[data-v-59c150a5]{width:100%;height:100%}.mine-page .user-info .avatar .avatar-shadow .user-avatar[data-v-59c150a5],\n.mine-page .user-info .avatar .avatar-shadow .default-avatar[data-v-59c150a5]{width:%?120?%;height:%?120?%;border-radius:50%;overflow:hidden}.mine-page .user-info .avatar .avatar-shadow .default-avatar[data-v-59c150a5]{background-color:#fff}.mine-page .user-info .user-data[data-v-59c150a5]{flex:1;margin-left:%?20?%}.mine-page .user-info .user-data .data-left[data-v-59c150a5]{flex:1}.mine-page .user-info .user-data .data-left .nickname[data-v-59c150a5]{font-size:%?38?%;font-weight:500;display:flex}.mine-page .user-info .user-data .data-left .nickname .user_nickname[data-v-59c150a5]{min-width:10%}.mine-page .user-info .user-data .data-left .nickname .foodie_svip[data-v-59c150a5]{background:url(https://qny.wdsp666.com/uploads/images/20230912142708fd2596562.png);background-repeat:no-repeat;background-size:cover;width:80px;height:25px;flex-shrink:0}.mine-page .user-info .user-data .data-left .nickname .foodie_svip .foodie_svip_text[data-v-59c150a5]{color:#fff;font-size:%?24?%;text-align:center;line-height:25px;padding-left:22px}.mine-page .user-info .user-data .data-left .nickname .foodie_svip_deadline[data-v-59c150a5]{font-size:%?20?%;height:25px;line-height:25px;margin-left:9px;flex-shrink:0}.mine-page .user-info .user-data .data-left .uid[data-v-59c150a5]{margin-top:%?14?%;width:-webkit-fit-content;width:fit-content}.mine-page .user-info .user-data .data-left .uid .copy-btn[data-v-59c150a5]{font-size:%?20?%;background-color:#ffca28;color:#080808;line-height:1;padding:%?10?% %?20?%;margin-left:%?10?%;border-radius:%?40?%}.mine-page .user-info .user-data .data-right[data-v-59c150a5]{width:%?40?%;color:#aaa}.mine-page .user-account-info[data-v-59c150a5]{position:relative;margin-top:%?40?%;padding:%?0?% %?20?%}.mine-page .user-account-info .info-item[data-v-59c150a5]{flex:1}.mine-page .user-account-info .info-item .value[data-v-59c150a5]{font-size:%?38?%;font-weight:500}.mine-page .user-account-info .info-item .text[data-v-59c150a5]{color:#aaa;font-size:%?24?%;margin-top:%?14?%}.mine-page .user-account-info .info-item .text .icon[data-v-59c150a5]{margin-left:%?4?%}.mine-page .balance_agency_chain[data-v-59c150a5]{display:flex;flex-direction:column}.mine-page .balance_agency_chain .line1[data-v-59c150a5]{height:%?50?%;display:flex}.mine-page .balance_agency_chain .line1 .left[data-v-59c150a5]{display:flex;align-items:center;height:100%;font-size:%?28?%;font-weight:700;color:#333;width:%?200?%}.mine-page .balance_agency_chain .line1 .mid[data-v-59c150a5]{display:flex;align-items:center;height:100%;font-size:%?28?%;font-weight:700;color:#333;width:%?200?%}.mine-page .balance_agency_chain .line1 .right[data-v-59c150a5]{display:flex;align-items:center;height:100%;font-size:%?24?%;color:#999;flex-direction:row-reverse;flex:1}.mine-page .balance_agency_chain .line2[data-v-59c150a5]{display:flex;align-items:center;height:%?100?%;font-size:%?28?%;font-weight:700;color:#333}.mine-page .balance_agency_chain .line2 .left[data-v-59c150a5]{display:flex;align-items:center;height:100%;font-size:%?40?%;width:%?200?%}.mine-page .balance_agency_chain .line2 .mid[data-v-59c150a5]{display:flex;align-items:center;height:100%;font-size:%?40?%;width:%?200?%}.mine-page .balance_agency_chain .line2 .right[data-v-59c150a5]{display:flex;align-items:center;height:100%;flex:1;flex-direction:row-reverse}.mine-page .balance_agency_chain .line2 .right .btn[data-v-59c150a5]{display:flex;justify-content:center;align-items:center;width:%?160?%;height:%?50?%;border-radius:%?25?%;background-color:#ffc000;color:#fff;font-size:%?24?%;margin-left:%?20?%}.mine-page .balance_agency_chain .line3[data-v-59c150a5]{display:flex;justify-content:space-between;align-items:center;height:%?100?%;font-size:%?28?%;font-weight:700;color:#333;margin-top:%?20?%}.mine-page .balance_agency_chain .line3 .left[data-v-59c150a5],\n.mine-page .balance_agency_chain .line3 .mid[data-v-59c150a5],\n.mine-page .balance_agency_chain .line3 .right[data-v-59c150a5]{display:flex;flex-direction:column;align-items:center;height:100%;font-size:%?28?%;font-weight:700;color:#333}.mine-page .balance_agency_chain .line3 .left .up[data-v-59c150a5],\n.mine-page .balance_agency_chain .line3 .mid .up[data-v-59c150a5],\n.mine-page .balance_agency_chain .line3 .right .up[data-v-59c150a5]{font-size:%?24?%;color:#999}.mine-page .balance_agency_chain .line3 .left .down[data-v-59c150a5],\n.mine-page .balance_agency_chain .line3 .mid .down[data-v-59c150a5],\n.mine-page .balance_agency_chain .line3 .right .down[data-v-59c150a5]{font-size:%?36?%;color:#333;margin-top:%?10?%}.mine-page .btn_box[data-v-59c150a5]{padding:%?30?%;margin:auto;margin-top:%?20?%;width:95%;background-color:#fff;border-radius:8px;position:relative}.mine-page .btn_wz[data-v-59c150a5]{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:%?10?%}.mine-page .btn_img[data-v-59c150a5]{display:flex;justify-content:center;align-items:center}.box[data-v-59c150a5]{background-color:#fff;border-radius:8px;padding:%?20?%}.box .box_title[data-v-59c150a5]{display:flex;align-items:center;margin-bottom:%?20?%;justify-content:center}.box .box_title .avatar[data-v-59c150a5]{width:%?60?%;height:%?60?%;border-radius:50%;overflow:hidden;background-color:#ccc}.box .box_title .avatar uni-image[data-v-59c150a5]{width:100%;height:100%}.box .box_title .title[data-v-59c150a5]{font-size:%?32?%;font-weight:700;width:auto!important}.box .box_content[data-v-59c150a5]{background-color:#f0f0f0;padding:%?20?%;border-radius:%?20?%}.box .box_content .box_content_line1[data-v-59c150a5]{font-size:%?24?%;color:#666;margin-bottom:%?20?%}.box .box_content .box_content_lin2[data-v-59c150a5]{display:flex;justify-content:space-between;align-items:center;font-size:%?24?%;color:#666;margin-top:%?10?%}.box .box_content .box_content_lin2 .box_content_line2_left[data-v-59c150a5]{flex:1}.box .box_content .box_content_lin2 .box_content_line2_right[data-v-59c150a5]{flex:1;display:flex;justify-content:flex-end}.box .box_content .box_content_lin2 .box_content_line2_right .box_content_line2_button[data-v-59c150a5]{background-color:#d60200;color:#fff;font-size:%?24?%;padding:%?10?% %?20?%;border-radius:8px}.box .box_content_line2_input[data-v-59c150a5]{width:100%;height:%?60?%;background-color:#fff;border:1px solid #ccc;border-radius:8px;padding:0 %?20?%;font-size:%?24?%}.box_submit[data-v-59c150a5]{display:flex;justify-content:center;margin-top:%?20?%;width:100%}.box_submit .submit_button[data-v-59c150a5]{display:flex;align-items:center;justify-content:center;background-color:#d60200;color:#fff;width:%?300?%;height:%?60?%;font-size:%?24?%;padding:%?10?% %?20?%;border-radius:20px}.store_item[data-v-59c150a5]{background-color:#fff;margin-top:%?20?%;border-radius:%?15?%;padding:%?20?%;border:%?1?% solid #f0f0f0;box-shadow:%?0?% %?0?% %?10?% %?0?% rgba(0,0,0,.1)}.store_item .row1[data-v-59c150a5]{display:flex;align-items:center;padding:%?20?%;border-bottom:%?1?% solid #f0f0f0}.store_item .row1 uni-image[data-v-59c150a5]{width:%?60?%;height:%?60?%;border-radius:50%;margin-right:%?20?%}.store_item .row2[data-v-59c150a5]{display:flex;justify-content:space-between;padding:%?20?%;border-bottom:%?1?% solid #f0f0f0}.store_item .row3[data-v-59c150a5]{display:flex;justify-content:flex-end;padding:%?20?%}.store_item .row3 .btn[data-v-59c150a5]{padding:%?10?% %?20?%;background-color:var(--theme-general-color);color:#fff;border-radius:%?15?%;width:100%;text-align:center}.cardBuy[data-v-59c150a5]{position:relative;margin:%?30?%;width:calc(100% - %?60?%);height:%?250?%;display:flex;justify-content:space-between}.cardBuy .left[data-v-59c150a5]{width:50%;padding:%?20?%}.cardBuy .right[data-v-59c150a5]{width:50%;margin-top:%?30?%;padding:%?20?% %?50?%}.invite_card[data-v-59c150a5]{font-size:%?20?%;background-color:var(--theme-general-color);height:%?40?%;line-height:%?40?%;padding:0 %?20?%;margin-left:%?10?%;border-radius:%?88?%}.mine_nav_img[data-v-59c150a5]{margin:%?30?% %?30?% 0 %?30?%;width:calc(100vw - %?60?%);border-radius:%?20?%}.tips_num[data-v-59c150a5]{position:absolute;line-height:1;padding:%?2?% %?12?%;font-size:%?24?%;top:%?20?%;right:%?10?%;border-radius:%?100?%;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:red;color:#fff}.partner-center[data-v-59c150a5]{width:100%;display:flex;flex-direction:column;text-align:center;justify-content:center;align-items:center;margin-top:%?20?%}.partner-center .partner-center-content[data-v-59c150a5]{display:flex;width:calc(100% - %?60?%);flex-direction:column;position:relative}.partner-center .partner-center-content .title-content[data-v-59c150a5]{height:%?200?%}.partner-center .partner-center-content .title-content .title-content-detail[data-v-59c150a5]{background:linear-gradient(180deg,#208df9,#9dd9ff);height:%?100?%;display:flex;color:#fff;display:flex;justify-content:space-between;border-top-left-radius:%?20?%;border-top-right-radius:%?20?%;align-items:center}.partner-center .partner-center-content .title-content .title-content-detail .partner-center-title[data-v-59c150a5]{font-size:%?30?%;line-height:%?100?%;padding-left:%?20?%}.partner-center .partner-center-content .title-content .title-content-detail .partner-center-title .title1[data-v-59c150a5]{font-size:%?32?%}.partner-center .partner-center-content .title-content .title-content-detail .partner-center-title .title2[data-v-59c150a5]{font-size:%?24?%;padding-left:%?10?%}.partner-center .partner-center-content .title-content .title-content-detail .tips[data-v-59c150a5]{margin-right:%?20?%}.partner-center .partner-center-content .data-content[data-v-59c150a5]{display:flex;text-align:center;justify-content:space-between;padding:%?20?%;border-radius:%?20?%;background:#fff;position:absolute;width:100%;top:%?80?%}.partner-center .partner-center-content .data-content .data-item-title[data-v-59c150a5]{font-size:%?24?%;color:#999}.partner-center .partner-center-content .data-content .data-item-value[data-v-59c150a5]{font-size:%?40?%}.partner-center .partner-center-content .data-content .data-item-value.color-green[data-v-59c150a5]{color:#06ba36}.partner-center .partner-center-content .data-content .data-item-value.color-blue[data-v-59c150a5]{color:#1c87ff}.partner-center .partner-center-content .data-content .data-item-value.color-orange[data-v-59c150a5]{color:#ff6a00}.partner-center .partner-center-content .data-content .data-item-value.color-red[data-v-59c150a5]{color:#ed4545}',""]),t.exports=e},"570a":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnButton:i("70bc").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.list&&t.list.length>0?i("v-uni-view",{},[i("v-uni-view",{staticClass:"info-item tn-shadow"},[i("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap"},attrs:{"scroll-x":"true"}},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"scrItem"},[i("v-uni-view",{staticClass:"tn-margin-bottom-xs"},[i("v-uni-image",{staticStyle:{width:"200rpx",height:"200rpx","background-color":"#000"},attrs:{src:e.image,mode:"aspectFill"}})],1),i("v-uni-text",[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"tn-margin-top-xs tn-text-sm"},[i("v-uni-text",{staticClass:"tn-margin-right-xs",staticStyle:{color:"#ffaa00"}},[t._v("预约:"+t._s(e.appointment_num))])],1),i("v-uni-view",{staticClass:"tn-text-bold tn-color-red tn-margin-top-xs"},[t._v(t._s(t.CurrencyUnit)),i("v-uni-text",{staticClass:"tn-text-xxl"},[t._v(t._s(e.old_price))])],1),i("v-uni-view",{staticClass:"tn-margin-top-sm"},[i("tn-button",{attrs:{backgroundColor:"linear-gradient(to right, #fa6335,#f52738)",fontColor:"#ffffff",shape:"round"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.navPage("/reservation-page/reservation/servicelist?appointment_goods_id="+e.id+"&appointment_title="+e.title+"&appointment_duration="+e.duration)}}},[t._v("预约")])],1)],1)})),1)],1)],1):t._e()},o=[]},5852:function(t,e,i){"use strict";var a=i("703c"),n=i.n(a);n.a},"590f":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.config.status||"store"==t.type?i("v-uni-view",{staticClass:"demand-special-offer"},["home"==t.type?i("v-uni-view",{staticClass:"category"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},t._l(t.cateList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"cate-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.handleChoose(e,a)}}},[i("v-uni-text",{class:{active:t.chooseIndex===a}},[t._v(t._s(e.title))]),i("v-uni-text",{staticStyle:{"font-size":"20rpx",color:"#808080"}},[t._v(t._s(e.info))]),t.chooseIndex===a?i("v-uni-view",{staticClass:"select"}):t._e()],1)})),1)],1):t._e(),i("v-uni-view",{staticClass:"goods-list"},[i("v-uni-view",{staticStyle:{"margin-right":"5px",flex:"1"}},t._l(t.goodsListLeft,(function(e,a){return i("v-uni-view",{key:e.id,staticClass:"item-goods tn-shadow"},[i("v-uni-view",{staticClass:"item-goods__desc",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toDetail(i,e)}}},[e.video_url?i("v-uni-view",{staticStyle:{width:"100%",height:"auto",position:"relative"}},[i("v-uni-video",{staticStyle:{width:"100%",height:"420rpx","border-radius":"10rpx"},attrs:{"object-fit":"cover",id:"myVideo"+a,src:e.video_url},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.videoErrorCallback.apply(void 0,arguments)}}}),i("v-uni-view",{staticStyle:{width:"370rpx",height:"520rpx",position:"absolute",top:"0rpx",left:"0rpx"}}),i("v-uni-view",{staticClass:"flex alcenter center",staticStyle:{position:"absolute",left:"10rpx",bottom:"10rpx",padding:"4rpx 10rpx","border-radius":"20rpx","background-color":"rgba(1, 1, 1, .4)","z-index":"1"}},[i("v-uni-image",{staticStyle:{width:"20rpx",height:"20rpx"},attrs:{mode:"aspectFill",src:t.icon[1]}}),i("v-uni-text",{staticStyle:{"margin-left":"6rpx","font-size":"22rpx",color:"white","font-weight":"400"}},[t._v(t._s(t._f("distanceValue")(e.distance)))])],1)],1):i("v-uni-view",{staticClass:"item-goods__img",staticStyle:{position:"relative"}},[i("img",{attrs:{src:e.imgs[0]}}),i("v-uni-view",{staticClass:"flex alcenter center",staticStyle:{position:"absolute",left:"10rpx",bottom:"10rpx",padding:"4rpx 10rpx","border-radius":"20rpx","background-color":"rgba(1, 1, 1, .4)","z-index":"1"}},[i("v-uni-image",{staticStyle:{width:"20rpx",height:"20rpx"},attrs:{mode:"aspectFill",src:t.icon[1]}}),i("v-uni-text",{staticStyle:{"margin-left":"6rpx","font-size":"22rpx",color:"white","font-weight":"400"}},[t._v(t._s(t._f("distanceValue")(e.distance)))])],1)],1),i("v-uni-view",{staticClass:"item-goods__content flex flex-column flex-1",staticStyle:{width:"300rpx",overflow:"hidden","text-overflow":"ellipsis"}},[i("span",{staticClass:"span-26 item-goods__title"},[t._v(t._s(e.details))])]),e.member?i("v-uni-view",{staticStyle:{display:"flex","align-items":"center",padding:"10rpx"}},[i("v-uni-image",{staticStyle:{width:"36rpx",height:"36rpx","border-radius":"50%"},attrs:{src:e.member.avatar,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"tn-margin-left-sm"},[i("v-uni-view",{staticClass:"ft10"},[i("v-uni-text",[t._v(t._s(e.member.nickname))])],1)],1)],1):t._e()],1)],1)})),1),i("v-uni-view",{staticStyle:{"margin-left":"5px",flex:"1"}},t._l(t.goodsListRight,(function(e,a){return i("v-uni-view",{key:e.id,staticClass:"item-goods tn-shadow"},[i("v-uni-view",{staticClass:"item-goods__desc",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toDetail(i,e)}}},[e.video_url?i("v-uni-view",{staticStyle:{width:"100%",height:"auto",position:"relative"}},[i("v-uni-video",{staticStyle:{width:"100%",height:"420rpx","border-radius":"10rpx"},attrs:{"object-fit":"cover",id:"myVideo"+a,src:e.video_url},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.videoErrorCallback.apply(void 0,arguments)}}}),i("v-uni-view",{staticStyle:{width:"370rpx",height:"520rpx",position:"absolute",top:"0rpx",left:"0rpx"}}),i("v-uni-view",{staticClass:"flex alcenter center",staticStyle:{position:"absolute",left:"10rpx",bottom:"10rpx",padding:"4rpx 10rpx","border-radius":"20rpx","background-color":"rgba(1, 1, 1, .4)","z-index":"1"}},[i("v-uni-image",{staticStyle:{width:"20rpx",height:"20rpx"},attrs:{mode:"aspectFill",src:t.icon[1]}}),i("v-uni-text",{staticStyle:{"margin-left":"6rpx","font-size":"22rpx",color:"white","font-weight":"400"}},[t._v(t._s(t._f("distanceValue")(e.distance)))])],1)],1):i("v-uni-view",{staticClass:"item-goods__img",staticStyle:{position:"relative"}},[i("img",{attrs:{src:e.imgs[0]}}),i("v-uni-view",{staticClass:"flex alcenter center",staticStyle:{position:"absolute",left:"10rpx",bottom:"10rpx",padding:"4rpx 10rpx","border-radius":"20rpx","background-color":"rgba(1, 1, 1, .4)","z-index":"1"}},[i("v-uni-image",{staticStyle:{width:"20rpx",height:"20rpx"},attrs:{mode:"aspectFill",src:t.icon[1]}}),i("v-uni-text",{staticStyle:{"margin-left":"6rpx","font-size":"22rpx",color:"white","font-weight":"400"}},[t._v(t._s(t._f("distanceValue")(e.distance)))])],1)],1),i("v-uni-view",{staticClass:"item-goods__content flex flex-column flex-1",staticStyle:{width:"300rpx",overflow:"hidden","text-overflow":"ellipsis"}},[i("span",{staticClass:"span-26 item-goods__title"},[t._v(t._s(e.details))])]),e.member?i("v-uni-view",{staticStyle:{display:"flex","align-items":"center",padding:"10rpx"}},[i("v-uni-image",{staticStyle:{width:"36rpx",height:"36rpx","border-radius":"50%"},attrs:{src:e.member.avatar,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"tn-margin-left-sm"},[i("v-uni-view",{staticClass:"ft10"},[i("v-uni-text",[t._v(t._s(e.member.nickname))])],1)],1)],1):t._e()],1)],1)})),1)],1),0==t.goodsList.length?[i("empty",{attrs:{icon:"empty-data",tips:"暂无数据"}})]:t._e()],2):t._e()},n=[]},"5a43":function(t,e,i){"use strict";i.r(e);var a=i("0f8c"),n=i("6351");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5068");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"3ba7e393",null,!1,a["a"],void 0);e["default"]=r.exports},"5a92":function(t,e,i){"use strict";i.r(e);var a=i("aab1"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"5ac0":function(t,e,i){"use strict";var a=i("099d"),n=i.n(a);n.a},"5ba8":function(t,e,i){"use strict";i.r(e);var a=i("5d24"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"5bb3":function(t,e,i){"use strict";var a=i("71a5"),n=i.n(a);n.a},"5c0b":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.transferList=e.transferEdit=e.submitAndPay=e.getVehicle=e.getFlight=e.getDetail=e.getAirportPickupListApi=e.dict=e.airportList=void 0;var n=a(i("7653"));e.getVehicle=function(t){return n.default.post("api/user.airportTransfer.query/vehicle",t)};e.transferList=function(t){return n.default.post("api/user.traveler/transferList",t)};e.transferEdit=function(t){return n.default.post("api/user.traveler/transferEdit",t)};e.dict=function(t){return n.default.post("api/user.airportTransfer.order/dict",t)};e.submitAndPay=function(t){return n.default.post("api/user.airportTransfer.order/submitAndPay",t)};e.getFlight=function(t){return n.default.post("api/user.airportTransfer.query/flight",t)};e.getDetail=function(t){return n.default.post("api/user.airportTransfer.order/detail",t)};e.getAirportPickupListApi=function(t){return n.default.post("api/user.airportTransfer.order/list",t)};e.airportList=function(t){return n.default.post("api/user.airportTransfer.query/airportList",t)}},"5c8a":function(t,e,i){"use strict";var a=i("2578"),n=i.n(a);n.a},"5c9a":function(t,e,i){"use strict";i.r(e);var a=i("fc7f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"5cb7":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("f44a"),n=i("419c"),o={name:"store-uesrInfo",options:{virtualHost:!0},props:{config:[Array,Object]},data:function(){return{userInfo:{nickname:"未登录",mobile:""},storInfo:{memberInfo:{},redpacketList:[]}}},mounted:function(){this.userInfo=uni.getStorageSync("sp_user-info").data,this.getInfo()},methods:{navPage:n.navPage,navBack:n.navBack,getInfo:function(){var t=this;this.userInfo=uni.getStorageSync("sp_user-info").data,this.config.sid&&(0,a.getinfoData)({sid:this.config.sid}).then((function(e){console.log(e),t.storInfo=e})).catch((function(t){console.log(t)}))}}};e.default=o},"5cd3":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var a={name:"tn-loading",props:{mode:{type:String,default:"circle"},show:{type:Boolean,default:!0},animation:{type:Boolean,default:!0},color:{type:String,default:""},size:{type:Number,default:34}},computed:{loadStyle:function(){var t={};return t.width=this.size+"rpx",t.height=t.width,"circle"===this.mode&&(t.borderColor="#E6E6E6 #E6E6E6 #E6E6E6 ".concat(this.color?this.color:"#AAAAAA")),t}}};e.default=a},"5d0d":function(t,e,i){"use strict";var a=i("4830"),n=i.n(a);n.a},"5d24":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("bf0f"),i("c223"),i("fd3c"),i("8f71"),i("4626"),i("2797"),i("dc8a"),i("aa9c"),i("f7a5");var n=a(i("6fbe")),o=a(i("dc1f")),s=a(i("a71b")),r=a(i("718f")),c=a(i("166a")),d=a(i("a0dc")),l=i("815c"),u=(i("419c"),a(i("8c27"))),f=i("9d0a"),p=i("d240"),v=i("f9ce"),h=i("b780"),g=i("941e"),m=i("cede"),b=i("f2e5"),_=i("5c0b"),w=i("31d9"),x=(i("a9e5"),{options:{virtualHost:!0},props:{typeIndex:{type:[String,Number],default:0}},components:{Empty:s.default,TakeoutOrderList:r.default,loading:u.default,VisaOrderList:c.default,ChargeOrderList:d.default},mixins:[n.default,o.default],data:function(){return{orderData:[],showSift:!1,siftList:[{id:1,name:"外卖",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/delivery.png"},{id:2,name:"跑腿",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/paotui.png"}],allOrderDatas:[],orderTypes:[{id:1,name:"外卖"},{id:9,name:"签证"},{id:11,name:"手机充值"},{id:12,name:"更多订单"}],currentSelectOrderTypeIndex:0,currentPage:1,pageSize:10,isLoadAll:!1,isLogin:!0,loadingShow:!1,this_filter_field:[],loadings:!1}},watch:{typeIndex:{handler:function(t){this.currentSelectOrderTypeIndex=Number(t||0),this.getOrderListData()},immediate:!0}},created:function(){this.getFilter(),this.initCustomNavBarInfo()},methods:{getRechargeOrderList:function(){var t=this;this.loadingShow=!0,(0,w.getRechargeOrderListApi)({page:this.currentPage,page_size:this.pageSize}).then((function(e){t.isLogin=!0;var i=(null===e||void 0===e?void 0:e.list)||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},getAirportPickupList:function(){var t=this;this.loadingShow=!0,(0,_.getAirportPickupListApi)({page:this.currentPage,psize:this.pageSize}).then((function(e){t.isLogin=!0;var i=(null===e||void 0===e?void 0:e.list)||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},getVisaOrderList:function(){var t=this;this.loadingShow=!0,(0,p.getVisaOrderListApi)({page:this.currentPage,psize:this.pageSize}).then((function(e){t.isLogin=!0;var i=(null===e||void 0===e?void 0:e.list)||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},showSiftOption:function(){this.showSift=!0,console.log("showSiftOption",this.showSift)},getFilter:function(){var t=["外卖","签证","手机充值","更多订单"];this.this_filter_field=t,t.length>0&&(this.orderTypes=this.orderTypes.filter((function(e){return t.includes(e.name)})),this.siftList=this.siftList.filter((function(e){return t.includes(e.name)}))),console.log("filter_field",this.orderTypes)},getOrderListData:function(){if(console.log("this.loadings",this.loadings),1==this.loadings)return!1;this.loadings=!0,1==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getTakeoutOrderData():3==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getPaybillOrderData():4==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getMallOrderData():5==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getMoverList():7==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getCreditshopOrderList():8==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getTuangouquanOrderList():9==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getVisaOrderList():10==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getAirportPickupList():11==this.orderTypes[this.currentSelectOrderTypeIndex].id&&this.getRechargeOrderList(),uni.stopPullDownRefresh()},getCreditshopOrderList:function(){var t=this;this.loadingShow=!0,(0,b.getCreditshopOrderList)({page:this.currentPage,psize:this.pageSize}).then((function(e){console.log("res",e);var i=e||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),i.length<t.pageSize&&(t.isLoadAll=!0),console.log("this.orderData",t.orderData)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadings=!1,t.loadingShow=!1}))},getTakeoutOrderData:function(){var t=this;this.loadingShow=!0,(0,p.getTakeoutOrderListApi)({page:this.currentPage,psize:this.pageSize}).then((function(e){t.isLogin=!0;var i=(null===e||void 0===e?void 0:e.orders)||[];t.orderData=t.orderData.concat(i.map((function(t){var e,i,a,n,o,s,r=[],c=0,d=t.goods.length;t.goods.filter((function(t){return 88888!=t.goods_id})).forEach((function(t){var e=t.options[Object.keys(t.options)[0]];e.num&&(c+=e.num,r.push({title:e.title,image:e.thumb,num:e.num}))}));var l=(null===(e=t.store)||void 0===e?void 0:e.is_rest)||0,u=(null===(i=t.store)||void 0===i?void 0:i.is_in_business)||0;return{id:t.id||t.aid,sid:t.sid,storeInfo:{title:t.title||"",image:t.logo||"",business:0==l||1==u?1:0,custom_links:(null===(a=t.store)||void 0===a?void 0:a.custom_links)||""},isPay:(null===t||void 0===t?void 0:t.is_pay)||0,isComment:(null===t||void 0===t?void 0:t.is_comment)||0,orderType:t.order_type,zitiType:(null===t||void 0===t?void 0:t.ziti_type)||0,orderStatus:t.status,createTime:t.addtime||"",orderPrice:t.total_fee,goodsInfo:r,productCount:d,goodsCount:c,lock_status:t.lock_status,lock_result:t.lock_result,qrcode:t.qrcode||"",consumer_is_can_applyrefund:t.consumer_is_can_applyrefund,custom_status_text:t.custom_status_text||"",is_clothes:t.is_clothes||0,delivery_status_cn:t.clothes.delivery_status_cn||"",pageShowType:(null===(n=t.store)||void 0===n?void 0:n.pageShowType)||2,is_haodian:null===(o=t.store)||void 0===o?void 0:o.is_haodian,custom_links:null===(s=t.store)||void 0===s?void 0:s.custom_links,refund_status:t.refund_status||0}}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},getMoverList:function(){var t=this;this.loadingShow=!0,(0,g.getMoverOrderList)({page:this.currentPage}).then((function(e){var i=e||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),console.log("this.orderData",t.orderData),t.loadingShow=!1,i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadings=!1,t.loadingShow=!1}))},clickSift:function(t){console.log(t),this.currentSelectOrderTypeIndex=t,this.currentPage=1,this.isLoadAll=!1,this.orderData=[],this.getOrderListData(),this.showSift=!1},getErranderOrderData:function(){var t=this;this.loadingShow=!0,(0,p.getErranderOrderListApi)({page:this.currentPage,psize:this.pageSize}).then((function(e){var i=(null===e||void 0===e?void 0:e.orders)||[];t.orderData=t.orderData.concat(i.map((function(t){return{id:t.id,title:t.title,isPay:t.is_pay,status:t.status,buyAddress:t.buy_address,buyUsername:t.buy_username,buyMobile:t.buy_mobile,acceptAddress:t.accept_address,acceptUsername:t.accept_username,acceptMobile:t.accept_mobile,addTime:t.addtime,price:Number(t.final_fee)}}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadings=!1,t.loadingShow=!1}))},getAllorder:function(){var t=this;this.loadingShow=!0,(0,p.getAllOrderListApi)().then((function(e){t.allOrderDatas=e,t.orderData=e.slice(0,10),t.loadingShow=!1})).catch((function(e){t.loadingShow=!1,console.log("全部订单",e)}))},getPaybillOrderData:function(){var t=this;this.loadingShow=!0,(0,p.getPaybillOrderListApi)({page:this.currentPage,psize:this.pageSize}).then((function(e){var i=(null===e||void 0===e?void 0:e.orders)||[];t.isLogin=!0,t.orderData=t.orderData.concat(i.map((function(t){return{id:t.id,image:t.logo,title:t.title,addtime:t.addtime,is_pay:t.is_pay,price:Number(t.total_fee)}}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},getMallOrderData:function(){var t=this;this.loadingShow=!0,(0,h.getOrderListApi)({page:this.currentPage}).then((function(e){console.log(e);var i=e||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},orderTypeChangeEvent:function(t){console.log("index",this.orderTypes,this.orderTypes[t].id),this.orderTypes&&12==this.orderTypes[t].id?uni.navigateTo({url:"/system-page/order/index?index="+(this.orderTypes.length-1)}):(this.currentSelectOrderTypeIndex=t,this.currentPage=1,this.isLoadAll=!1,this.orderData=[],this.getOrderListData())},reLoadOrderData:function(){var t=this;console.log("重新加载订单信息"),(0,v.checkUserIsLogin)().then((function(){t.isLogin?t.handleRefreshDataEvent():(t.currentSelectOrderTypeIndex=0,t.currentPage=1,t.isLoadAll=!1,t.orderData=[],t.getOrderListData())})).catch((function(){(0,f.showToast)({title:"请先登录"})}))},loadDataPage:function(){var t=this.allOrderDatas;console.log("加载中1",t);for(var e=t.slice(this.orderData.length,this.orderData.length+this.pageSize),i=0;i<e.length;i++)this.orderData.push(e[i]);console.log("加载中2",this.orderData,e)},loadMoreOrder:function(){this.isLoadAll||(this.currentPage++,console.log("加载更多",this.currentSelectOrderTypeIndex),console.log("加载中3",this.currentSelectOrderTypeIndex),this.getOrderListData())},handleRefreshDataEvent:function(){this.currentPage=1,this.isLoadAll=!1,this.orderData=[],this.getOrderListData()},getTuangouquanOrderList:function(){var t=this;this.loadingShow=!0,(0,m.getTuangouquanOrderListApi)({page:this.currentPage}).then((function(e){var i=e||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),console.log("this.orderData",t.orderData),t.loadingShow=!1,i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadings=!1,t.loadingShow=!1}))},refreshTuangouquanOrderData:function(){this.handleRefreshDataEvent()},formatPrice:l.formatPrice}});e.default=x},"5d4b":function(t,e,i){"use strict";i.r(e);var a=i("bc05"),n=i("3e07");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0a46135e",null,!1,a["a"],void 0);e["default"]=r.exports},"5d8b":function(t,e,i){"use strict";i.r(e);var a=i("6893"),n=i("71b3");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("c3ef");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d15df60a",null,!1,a["a"],void 0);e["default"]=r.exports},"5d94":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.borderRadius20[data-v-25840340]{border-radius:%?20?%}.infoBox[data-v-25840340]{display:flex;align-items:flex-start;flex-direction:column;text-align:left;font-family:sans-serif}.infoBox .goodsTitle[data-v-25840340]{font-size:%?28?%;color:#333;margin:%?10?% 0;width:100%;box-sizing:border-box;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.infoBox .priceTip[data-v-25840340]{display:flex;justify-content:flex-start;align-items:center;width:100%}.infoBox .priceTip .smallBadge[data-v-25840340]{color:#e14c60;font-size:%?26?%;display:inline-block;vertical-align:text-top;line-height:%?15?%}.infoBox .priceTip .priceNumber[data-v-25840340]{color:#e14c60;font-size:%?36?%}.infoBox .priceTip .oldPrice[data-v-25840340]{color:#ababab;margin-left:%?10?%;margin-top:2px;font-size:%?22?%;text-decoration:line-through}\n/* 闪电侠标签 start */.flash-delivery[data-v-25840340]{background-color:#ffca28;font-size:%?22?%;padding:%?10?% %?16?%;line-height:1;border-radius:%?20?% %?0?% %?20?% %?0?%}\n/* 闪电侠标签 end */.new[data-v-25840340]{position:relative;width:100%;border-radius:%?20?%;padding:%?20?% %?20?% %?10?% %?20?%;background-color:#fff;display:flex;justify-content:flex-start}.new .business-image[data-v-25840340]{position:relative}.new .business-image .rest[data-v-25840340]{position:absolute;left:%?0?%;bottom:%?0?%;padding:%?10?%;width:100%;background-color:rgba(0,0,0,.5);color:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center;z-index:111}.new .business-image[data-v-25840340]{position:relative;width:%?120?%!important;height:%?120?%!important;border-radius:%?10?%;border:%?1?% solid #e6e6e6\n /* 优选标签 start */}.new .business-image .preferred-tag[data-v-25840340]{position:absolute;left:%?-6?%;top:%?-2?%;background-color:#ffca28;font-size:%?24?%;line-height:1;padding:%?6?% %?20?%;border-radius:%?40?% %?40?% %?0?% %?40?%}.store-show-list[data-v-25840340]{position:relative;width:100%;border-radius:%?20?%;padding:%?20?% %?20?% %?10?% %?20?%;background-color:#fff;display:flex;justify-content:flex-start\n /* 休息中 start */\n /* 休息中 end */\n /* 商家图片 start */\n /* 商家图片 end */\n /* 商家信息 start */\n /* 商家信息 end */}.store-show-list .store-image[data-v-25840340]{position:relative}.store-show-list .store-image .rest[data-v-25840340]{position:absolute;left:%?0?%;bottom:%?0?%;padding:%?10?%;width:100%;background-color:rgba(0,0,0,.5);color:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center;z-index:111}.store-show-list .store-image[data-v-25840340]{position:relative;width:%?175?%!important;height:%?175?%!important;border-radius:%?10?%;border:%?1?% solid #e6e6e6\n /* 优选标签 start */\n /* 优选标签 end */}.store-show-list .store-image .preferred-tag[data-v-25840340]{position:absolute;left:%?-6?%;top:%?-2?%;background-color:#ffca28;font-size:%?24?%;line-height:1;padding:%?6?% %?20?%;border-radius:%?40?% %?40?% %?0?% %?40?%}.store-show-list .store-info[data-v-25840340]{width:70%;margin-left:%?20?%\n /* 评分、月销、配送信息 start */\n /* 评分、月销、配送信息 end */\n /* 公告 start */\n /* 公告 end */\n /* 标签 start */\n /* 标签 end */}.store-show-list .store-info .store-title[data-v-25840340]{width:100%;font-size:%?34?%;font-weight:500}.store-show-list .store-info .store-info-base[data-v-25840340]{width:100%;margin-top:%?8?%}.store-show-list .store-info .store-info-base .base-wrapper[data-v-25840340]{display:flex;align-items:center;justify-content:space-between\n /* 评分、月销 start */\n /* 评分、月销 end */\n /* 闪电侠标签 start */\n /* 闪电侠标签 end */\n /* 配送价格 start */\n /* 配送价格 end */}.store-show-list .store-info .store-info-base .base-wrapper .score-sale-data[data-v-25840340]{display:flex;align-items:center}.store-show-list .store-info .store-info-base .base-wrapper .score-sale-data .score[data-v-25840340]{display:flex;align-items:center;color:#ffca28}.store-show-list .store-info .store-info-base .base-wrapper .score-sale-data .score .value[data-v-25840340]{margin-left:%?6?%}.store-show-list .store-info .store-info-base .base-wrapper .score-sale-data .month-sale[data-v-25840340]{color:#aaa;margin-left:%?18?%;font-size:%?24?%}.store-show-list .store-info .store-info-base .base-wrapper .flash-delivery[data-v-25840340]{background-color:#ffca28;font-size:%?22?%;padding:%?10?% %?16?%;line-height:1;border-radius:%?20?% %?0?% %?20?% %?0?%}.store-show-list .store-info .store-info-base .base-wrapper .delivery-price-info[data-v-25840340],\n.store-show-list .store-info .store-info-base .base-wrapper .delivery-time-info[data-v-25840340]{font-size:%?20?%;color:#aaa;line-height:1}.store-show-list .store-info .store-info-base .base-wrapper .delivery-price-info[data-v-25840340]{font-size:%?24?%}.store-show-list .store-info .store-info-base .base-wrapper .delivery-price-info[data-v-25840340]{display:flex;align-items:center}.store-show-list .store-info .store-info-base .base-wrapper .delivery-price-info .start-price[data-v-25840340]{padding-right:%?4?%;border-right:%?1?% solid #e6e6e6}.store-show-list .store-info .store-info-base .base-wrapper .delivery-price-info .delivery-price[data-v-25840340]{padding-left:%?4?%}.store-show-list .store-info .store-info-base .base-wrapper + .base-wrapper[data-v-25840340]{margin-top:%?10?%}.store-show-list .store-info .store-notice[data-v-25840340]{margin-top:%?14?%;width:-webkit-fit-content;width:fit-content;max-width:100%;font-size:%?22?%;border-radius:%?6?%;padding:%?0?% %?8?%;line-height:1.4em}.store-show-list .store-info .tags[data-v-25840340]{width:100%;position:relative;margin-top:%?14?%}.store-show-list .store-info .tags .tags-wrapper[data-v-25840340]{display:flex;flex-wrap:wrap}.store-show-list .store-info .tags .tag[data-v-25840340]{flex-shrink:0;font-size:%?24?%;margin-right:%?10?%;margin-bottom:%?10?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?6?%}.bordTag[data-v-25840340]{font-family:PingFang_Medium;border-radius:%?6?%;color:#e41e2a;padding:%?3?% %?15?%;font-size:%?20?%;margin-right:%?10?%;border:1px solid #e41e2a}.vip[data-v-25840340]{font-family:PingFang_Medium;display:inline-block;border-radius:%?6?%;background:linear-gradient(90deg,#f6d592,#f9da9c);box-shadow:inset 0 -1px 1px rgba(0,0,0,.25);font-size:%?20?%;padding:%?3?% %?15?%;margin-right:%?10?%;color:#5c3d07;height:%?30?%;letter-spacing:0;line-height:%?28?%;text-align:center}\n/* 热销商品展示start */.scrollBox[data-v-25840340]{width:100%;flex-grow:1;overflow:hidden}.scrollBox .flexItem[data-v-25840340]{padding:%?4?% %?15?% %?4?% 0;box-sizing:border-box;border-radius:%?14?%;flex-direction:column}.scrollBox .flexItem .coverBox[data-v-25840340]{\n /* 设置容器宽度 */\n /* 设置容器高度 */overflow:hidden\n /* 隐藏溢出部分 */}.scrollBox .flexItem .coverBox .cover[data-v-25840340]{width:100%;\n /* 图片宽度100%填充容器 */height:100%;\n /* 图片高度100%填充容器 */object-fit:cover;\n /* 裁剪图片以填充容器 */border-radius:%?14?% %?14?% %?14?% %?14?%}.scrollBox .flexItem .tips[data-v-25840340]{width:90%;padding:%?4?% %?0?%;display:flex;justify-content:center;align-items:center;background:#e0dfdd;font-size:%?18?%!important;color:#333}.scrollBox .flexItem .infoBox[data-v-25840340]{display:flex;align-items:flex-start;flex-direction:column;text-align:left;font-family:sans-serif}.scrollBox .flexItem .infoBox .goodsTitle[data-v-25840340]{font-size:%?28?%;color:#333;margin:%?10?% 0;width:100%;box-sizing:border-box;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scrollBox .flexItem .infoBox .priceTip[data-v-25840340]{display:flex;justify-content:flex-start;align-items:center;width:100%}.scrollBox .flexItem .infoBox .priceTip .smallBadge[data-v-25840340]{color:#e14c60;font-size:%?26?%;display:inline-block;vertical-align:text-top;line-height:%?15?%}.scrollBox .flexItem .infoBox .priceTip .priceNumber[data-v-25840340]{color:#e14c60;font-size:%?36?%}.scrollBox .flexItem .infoBox .priceTip .oldPrice[data-v-25840340]{color:#ababab;margin-left:%?10?%;margin-top:2px;font-size:%?22?%;text-decoration:line-through;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scrollBox .flexItem .infoBox .goodsTitle1[data-v-25840340]{font-size:%?25?%;color:#333;margin:%?10?% 0;width:100%;box-sizing:border-box;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scrollBox .flexItem .infoBox .priceTip1[data-v-25840340]{display:flex;justify-content:flex-start;align-items:center;width:100%}.scrollBox .flexItem .infoBox .priceTip1 .smallBadge1[data-v-25840340]{color:#e14c60;font-size:%?20?%;display:inline-block;vertical-align:text-top;line-height:%?15?%}.scrollBox .flexItem .infoBox .priceTip1 .priceNumber1[data-v-25840340]{color:#e14c60;font-size:%?25?%}.scrollBox .flexItem .infoBox .priceTip1 .oldPrice1[data-v-25840340]{color:#ababab;margin-left:%?5?%;margin-top:2px;font-size:%?16?%;text-decoration:line-through;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n/* 热销商品展示end */.card[data-v-25840340]{max-width:-webkit-fit-content;max-width:fit-content;display:flex;align-items:center;border-radius:4px;height:%?35?%;border:1px solid #ffd4b6;box-sizing:border-box;background-color:#fff9f5;text-align:center}.card-img[data-v-25840340]{margin-left:-1px;padding:%?5?% %?10?%;height:%?25?%;border:1px solid #ffd4b6;border-radius:4px 0 20px 4px;background-color:#fff}.card-text[data-v-25840340]{color:#ff4800;font-size:%?24?%;line-height:%?35?%;padding:0 %?10?%}.card1[data-v-25840340]{position:relative;bottom:%?-10?%;left:0;flex-wrap:nowrap}.card-text1[data-v-25840340]{white-space:nowrap}.tuangouquan-info[data-v-25840340]{display:flex;flex-wrap:wrap;margin-top:%?10?%}.tuangouquan-info .tuangouquan-info-item[data-v-25840340]{display:flex;align-items:center;margin-right:%?10?%;margin-bottom:%?10?%;border-radius:%?6?%}.tuangouquan-info .tuangouquan-info-item .tuangouquan-info-label[data-v-25840340]{width:%?30?%;height:%?30?%;background-color:#ffe9dc;color:#ff6f1e;border-radius:%?6?%;text-align:center;line-height:%?30?%;font-size:%?20?%}.tuangouquan-info .tuangouquan-info-item .tuangouquan-info-item-price[data-v-25840340]{font-size:%?24?%;color:#ff6f1e;margin-right:%?4?%;margin-left:%?10?%;font-weight:bolder;font-size:%?28?%}.tuangouquan-info .tuangouquan-info-item .tuangouquan-info-item-old-price[data-v-25840340]{font-size:%?24?%;color:#999;margin-right:%?4?%;text-decoration:line-through;margin-left:%?10?%}.tuangouquan-info .tuangouquan-info-item .tuangouquan-info-item-title[data-v-25840340]{font-size:%?24?%;color:#333;margin-left:%?10?%}',""]),t.exports=e},"5da0":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimation=function(t,e){if(!e)return;return clearTimeout(e.timer),new r(t,e)},i("4626"),i("5ac7"),i("c223"),i("bf0f"),i("2797");var n=a(i("9b1b")),o=a(i("80b1")),s=a(i("efe5")),r=function(){function t(e,i){(0,o.default)(this,t),this.options=e,this.animation=uni.createAnimation((0,n.default)({},e)),this.currentStepAnimates={},this.next=0,this.$=i}return(0,s.default)(t,[{key:"_nvuePushAnimates",value:function(t,e){var i=this.currentStepAnimates[this.next],a={};if(a=i||{styles:{},config:{}},c.includes(t)){a.styles.transform||(a.styles.transform="");var n="";"rotate"===t&&(n="deg"),a.styles.transform+="".concat(t,"(").concat(e+n,") ")}else a.styles[t]="".concat(e);this.currentStepAnimates[this.next]=a}},{key:"_animateRun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$.$refs["ani"].ref;if(i)return new Promise((function(a,o){nvueAnimation.transition(i,(0,n.default)({styles:t},e),(function(t){a()}))}))}},{key:"_nvueNextAnimate",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0,n=t[i];if(n){var o=n.styles,s=n.config;this._animateRun(o,s).then((function(){i+=1,e._nvueNextAnimate(t,i,a)}))}else this.currentStepAnimates={},"function"===typeof a&&a(),this.isEnd=!0}},{key:"step",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(t),this}},{key:"run",value:function(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof t&&t()}),this.$.durationTime)}}]),t}(),c=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];c.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(t){r.prototype[t]=function(){var e;return(e=this.animation)[t].apply(e,arguments),this}}))},"5dba":function(t,e,i){"use strict";i.r(e);var a=i("5cd3"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"5dd3":function(t,e,i){var a=i("e7c8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("4f3ef392",a,!0,{sourceMap:!1,shadowMode:!1})},"5ed5":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("dc1f")),o={mixins:[n.default],props:{avctColor:{type:String,default:""}},data:function(){return{}}};e.default=o},"5ed7":function(t,e,i){var a=i("cddc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("f76c9122",a,!0,{sourceMap:!1,shadowMode:!1})},"5f29":function(t,e,i){"use strict";var a=i("ae5f"),n=i.n(a);n.a},"5f7e":function(t,e,i){"use strict";i.r(e);var a=i("301f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"5f85":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("b7c7"));i("bd06"),i("64aa"),i("c223"),i("e966"),i("aa9c"),i("f7a5");var o=a(i("55a4")),s=i("419c"),r=(i("262c"),i("3b14")),c=a(i("c433")),d=i("e0a2"),l={components:{SearchBox:o.default,ImageGroup:c.default},props:{showBack:{type:Boolean,default:!0}},options:{styleIsolation:"shared"},data:function(){return{circleTab:0,listTab:[{title:"热门圈子"}],icon:[d.staticUrl+"api/images/20250730/images_1753864459.png",d.staticUrl+"api/images/20250730/images_1753865078.png",d.staticUrl+"api/images/20250730/images_1753868238.png",d.staticUrl+"api/images/20250730/images_1753867452.png",d.staticUrl+"api/images/20250731/images_1753926743.png",d.staticUrl+"api/images/20250731/images_1753932930.png",d.staticUrl+"api/images/20250731/images_1753932949.png",d.staticUrl+"api/images/20250731/images_1753933804.png",d.staticUrl+"api/images/20250804/images_175429650526671.png",d.staticUrl+"api/images/20250729/images_1753758561.png"],searchValue:"",showDetailsIndex:-1,loadingStatePage:!0,loadingState:!0,getListState:!1,showDescription:!1,navHeight:0,tabsBoxFixed:!1,showIndex:0,circleData:{},hotlist:[],tabs2:[{name:"推荐",id:"hot"},{name:"附近",id:"distince"},{name:"好友",id:"my_follow"}],currentTab:0,currentTab2:"",current:0,classTabs:["分类1"],listData:[],pages:1,showCreate:!1,showNavBg:!0,uid:"",msgData:{total:""},showSeleTrg:!1,toggle_regions:[],userInfo:""}},onLoad:function(t){console.log("e123",t),t&&(t.type||"0"===t.type||0===t.type)&&(this.currentTab=+t.type,(t.child||"0"===t.child||0===t.child)&&(this.currentTab2=+t.child))},onShow:function(){this.diyOnShow()},onPageScroll:function(t){if(t.scrollTop>50)this.showNavBg=!1;else{if(this.showNavBg)return;this.showNavBg=!0}t.scrollTop>320?this.tabsBoxFixed=!0:this.tabsBoxFixed=!1},filters:{distanceValue:function(t){if(!t)return"";if("string"===typeof t){if(-1!=t.findIndex("m"))return t;t=Number(t)}return t<1e3?(t=t.toFixed(1),"".concat(t,"m")):(t=(t/1e3).toFixed(1),"".concat(t,"km"))}},onReachBottom:function(){this.pages++,this.getList()},onShareTimeline:function(){return console.log("this.currentTab",this.currentTab,this.currentTab2,"type="+this.currentTab+"&child="+this.currentTab2),{path:"/pages/index/pages/circle?type=".concat(this.currentTab,"&child=").concat(this.currentTab2)}},onShareAppMessage:function(t){return console.log("this.currentTab",this.currentTab,this.currentTab2,"type="+this.currentTab+"&child="+this.currentTab2),{path:"/pages/index/pages/circle?type=".concat(this.currentTab,"&child=").concat(this.currentTab2),fail:function(t){console.log(t)}}},activated:function(){this.getMsg()},onPullDownRefresh:function(){},methods:{qiehuan:function(){(0,s.navPage)("/circle-page/selectCircle/selectCircle")},diyOnShow:function(){var t=this;uni.$off("delBlog"),uni.$on("delBlog",(function(){t.pages=1,t.listData=[],t.getCircle(),t.getMsg()})),(0===this.listData.length||uni.getStorageSync("updataCircle"))&&(uni.removeStorageSync("updataCircle"),this.pages=1,this.listData=[],this.getCircle(),this.getMsg())},pageScrollCircle:function(t){if(t.scrollTop>50)this.showNavBg=!1;else{if(this.showNavBg)return;this.showNavBg=!0}t.scrollTop>320?this.tabsBoxFixed=!0:this.tabsBoxFixed=!1},loadMoreCircle:function(){this.pages++,this.getList()},toPage:function(t){var e=this;uni.$on("delBlog",(function(t){console.log("监听到帖子删除"),e.pages=1,e.listData=[],e.getList()})),(0,s.navPage)(t)},timestampFormat:function(t){function e(t){return(1==String(t).length?"0":"")+t}var i=parseInt((new Date).getTime()/1e3),a=i-t,n=new Date(1e3*i),o=new Date(1e3*t),s=o.getFullYear(),r=o.getMonth()+1,c=o.getDate(),d=o.getHours(),l=o.getMinutes();o.getSeconds();if(a<60)return"刚刚";if(a<3600)return Math.floor(a/60)+"分钟前";if(n.getFullYear()==s&&n.getMonth()+1==r&&n.getDate()==c)return"今天"+e(d)+":"+e(l);var u=new Date(1e3*(i-86400));return u.getFullYear()==s&&u.getMonth()+1==r&&u.getDate()==c?"昨天"+e(d)+":"+e(l):n.getFullYear()==s?e(r)+"-"+e(c)+" "+e(d)+":"+e(l):s+"-"+e(r)+"-"+e(c)+" "+e(d)+":"+e(l)},getNavBarInfoHeight:function(t){this.navHeight=t,console.log(t,"===========")},updateIndex:function(t){this.showIndex=t},openCre:function(){this.showCreate=!0},seleFb:function(t){var e,i=null!==(e=null===t||void 0===t?void 0:t.title)&&void 0!==e?e:"提交动态内容";this.toPage("/circle-page/create/index?id="+t.id+"&title="+i),this.showCreate=!1},getCircle:function(){var t=this;this.userInfo=uni.getStorageSync("sp_user-info"),(0,r.getCircleData)().then((function(e){var i,a;t.circleData=e.data,t.classTabs=(null===(i=e.data)||void 0===i||null===(a=i.category[t.currentTab])||void 0===a?void 0:a.child)||[],t.loadingStatePage=!1,t.getList(),t.gethotList(),t.getMsg()})).catch((function(t){console.log(t)}))},getList:function(t){var e=this;this.loadingState=!0,1===this.pages&&(this.listData=[]);var i,a="";(t&&(a=t),this.circleData.category[this.currentTab])&&(a=(null===(i=this.circleData.category[this.currentTab])||void 0===i?void 0:i.id)||"");console.log(this.circleData.category,this.currentTab,this.tabs2,this.currentTab2,this.current,"分类"),(0===this.currentTab2||this.currentTab2>0)&&(a=this.circleData.category[this.currentTab].child[this.currentTab2].id||"");var o;o=this.tabs2[this.current].id,a||(this.pages=1,this.listData=[]),(0,r.getListData)({cate_id:a,page:this.pages,limit:20,search_condition:o}).then((function(t){e.getListState=!1,e.loadingState=!1,console.log(t),e.listData=[].concat((0,n.default)(e.listData),(0,n.default)(t.list))})).catch((function(t){e.getListState=!1,e.loadingState=!1,console.log(t)}))},delBlog:function(t){var e=this;uni.showModal({title:"提示",content:"确定删除吗?",success:function(i){i.confirm&&(0,r.delBlogApi)({id:t}).then((function(){uni.showToast({icon:"none",title:"删除成功"}),e.pages=1,e.listData=[],e.getList()}))}})},saveFollow:function(t,e){var i=this,a=!this.listData[e].isfollow;(0,r.postBlogerFollowlApi)({touid:t.uid,isfollow:a}).then((function(){uni.showToast({icon:"none",title:t.isfollow?"取消关注":"关注成功"}),i.listData[e].isfollow=a}))},getMsg:function(){var t=this;console.log("消息");var e=uni.getStorageSync("sp_user-info");e&&(this.uid=e.data.uid,(0,r.getNoReadNum)().then((function(e){t.msgData=e,console.log("消息",t.msgData)})))},gethotList:function(t){var e=this;(0,r.getListData)({cate_id:0,page:this.pages,limit:5,search_condition:"hot"}).then((function(t){for(var i=[],a=0;a<t.list.length;a++)i.push(t.list[a].details);i.length>10?e.hotlist=i.slice(0,10):e.hotlist=i})).catch((function(t){console.log(t)}))},seleTab2:function(t){t==this.current?this.current=-1:this.current=t,this.pages=1,this.listData=[],this.getList()},changeCircle:function(t){this.circleTab=t},changeTabs:function(t){console.log("this.circleData.category",this.circleData.category),this.currentTab2="",this.currentTab=t,this.classTabs=this.circleData.category[t].child,this.pages=1,this.listData=[],this.getList()},seleTabs:function(t,e){this.getListState||(this.getListState=!0,this.pages=1,this.listData=[],this.currentTab2===e?(this.currentTab2="",this.getList()):(this.currentTab2=e,this.getList(t)))},navPage:s.navPage,navBack:s.navBack}};e.default=l},"5f8e":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".seckill .times[data-v-8ebff71c]{background-color:#fff;padding:%?22?% 0;color:#080808;white-space:nowrap;overflow-x:auto}.seckill .times .item[data-v-8ebff71c]{text-align:center;display:inline-block;padding:0 %?30?%}.seckill .times .item .num[data-v-8ebff71c]{font-size:%?32?%;font-weight:700}.seckill .times .item .status[data-v-8ebff71c], .seckill .times .item .date[data-v-8ebff71c]{font-size:%?28?%;color:#aaa}.seckill .times .item.current .num[data-v-8ebff71c]{color:#fe2f3c}.seckill .times .item.current .status[data-v-8ebff71c]{border-radius:%?30?%;background:#fe2f3c;color:#fff;display:inline-block;padding:0 %?10?%}.seckill .times .item.end .status[data-v-8ebff71c]{color:#080808}.product[data-v-8ebff71c]{padding:%?20?%}.product .list-item[data-v-8ebff71c]{display:flex;padding:%?15?% 0}.product .list-item .imgs[data-v-8ebff71c]{width:%?175?%;height:%?175?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6;background:#aaa}.product .list-item .rig[data-v-8ebff71c]{flex:1;padding-left:%?20?%}.product .list-item .rig .tit[data-v-8ebff71c]{font-size:%?28?%;font-weight:500;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical!important;margin-bottom:%?10?%}.product .list-item .rig .tag[data-v-8ebff71c]{border-radius:%?30?%;background:#fee8e9;color:#fe2f3c;font-size:%?26?%;display:inline-block;padding:0 %?10?%}.product .list-item .rig .bott[data-v-8ebff71c]{display:flex;justify-content:space-between;align-items:center}.product .list-item .rig .bott .lef[data-v-8ebff71c]{color:#fe2f3c;font-size:%?30?%}.product .list-item .rig .bott .lef .price[data-v-8ebff71c]{color:#aaa;text-decoration:line-through;margin-left:%?10?%}.imgs0[data-v-8ebff71c]{width:100%;height:100%}.btns[data-v-8ebff71c]{border-radius:%?55?%;background:#fa4f33;padding:%?10?% %?22?%;font-size:%?30?%;color:#fff}.btns.disabled[data-v-8ebff71c]{background:#ccc;color:#fff}.btns.sold-out[data-v-8ebff71c]{background:#999;color:#fff}",""]),t.exports=e},"5fa2":function(t,e,i){"use strict";var a=i("6ba3"),n=i.n(a);n.a},"5fde":function(t,e,i){"use strict";var a=i("5253"),n=i.n(a);n.a},"5feb":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("center-modal",{attrs:{"cancel-text":" ","confirm-text":" ","content-no-top":!0,"content-no-padding":!0,"wrapper-width":"100%","wrapper-bg-color":"transparent","close-btn":!1},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleModalCloseEvent.apply(void 0,arguments)}},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[i("v-uni-view",{staticClass:"ad-wrapper"},[i("v-uni-view",{staticClass:"swiper-data"},[i("v-uni-swiper",{staticClass:"swiper",on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBannerSwiperChangeEvent.apply(void 0,arguments)}}},t._l(t.adBannerData,(function(e,a){return i("v-uni-swiper-item",{key:a,staticClass:"swiper-item"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image,mode:"aspectFill"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.tiao(e)}}}),i("v-uni-view",{},[t._v(t._s(e))])],1)})),1)],1),i("v-uni-view",{staticClass:"swiper-indicator tn-flex-center"},t._l(t.adBannerData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"indicator-item",class:[{cur:a===t.currentBannerIndex}]})})),1),i("v-uni-view",{staticClass:"close-btn tn-color-white"},[i("v-uni-view",{staticClass:"icon tn-icon-close-circle",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleModalCloseEvent.apply(void 0,arguments)}}})],1)],1)],1)},n=[]},"5ff9":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.block[data-v-27b261f7]{width:%?60?%}.tips[data-v-27b261f7]{margin-left:%?130?%;font-size:%?20?%;width:100%}.bg_box[data-v-27b261f7]{position:relative;width:100%;margin-top:%?20?%;display:flex;align-items:center;border-radius:%?20?%;background-color:#fff;height:%?70?%;background-repeat:no-repeat;background-size:cover}.notice-bar[data-v-27b261f7]{position:relative;width:100%;margin-top:%?20?%;display:flex;border-radius:%?20?%;padding-left:%?20?%;background-color:#fff}.notice-bar .notice-wrapper[data-v-27b261f7]{width:100%;position:relative;padding:%?0?% %?10?%;transition:height .25s ease;overflow:hidden;height:2.7rem}.notice-bar .notice-all[data-v-27b261f7]{height:auto}.notice-bar .notice-item[data-v-27b261f7]{width:100%;display:flex;align-items:center;padding-top:%?15?%}.notice-bar .item-title[data-v-27b261f7]{width:%?100?%;color:#fff;font-size:%?20?%;padding:%?12?% %?16?%;box-sizing:initial;overflow:hidden;border-radius:%?50?%;white-space:nowrap;text-align:center;height:%?30?%;line-height:%?30?%}.notice-bar .item-content[data-v-27b261f7]{flex:1;width:100%;margin-left:%?16?%;vertical-align:middle}.notice__show-more[data-v-27b261f7]{width:100%;display:flex;align-items:center;justify-content:center;padding-top:10px;font-size:11px;color:#aaa}.tn-main-gradient-blue[data-v-27b261f7]{background-image:repeating-linear-gradient(45deg,#3d7eff,#31c9e8);color:#fff}.tn-main-gradient-aquablue[data-v-27b261f7]{background-image:repeating-linear-gradient(45deg,#3646ff,#3d7eff);color:#fff}.tn-main-gradient-indigo[data-v-27b261f7]{background-image:repeating-linear-gradient(45deg,#31c9e8,#2de8bd);color:#fff}.tn-main-gradient-orangeyellow[data-v-27b261f7]{background-image:repeating-linear-gradient(45deg,#ffca28,#ffa726);color:#fff}.tn-main-gradient-purplered[data-v-27b261f7]{background-image:repeating-linear-gradient(45deg,#e72f8c,#892fe8);color:#fff}',""]),t.exports=e},"605c":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.unbindApi=e.submitStoreBalanceOrderApi=e.submitRechargeCardApi=e.submitBalanceOrderApi=e.setDefaultByStoreApi=e.setDefaultByAgentApi=e.refundBalanceByStoreApi=e.refundBalanceApi=e.getStoreBalanceIsOpenApi=e.getRechargeModelApi=e.getRechargeDetailListByBrandApi=e.getRechargeAgentSettingApi=e.getMemberStoreRechargeSettingApi=e.getCreditListsByStoreApi=e.getCanRefundStoreBalanceApi=e.getCanRefundBalanceApi=e.getBrandChainRechargeModelApi=e.getBalanceInfoApi=e.getBalanceDetailListApi=e.getBalanceAgencyChainSettingApi=e.getAuthcodeApi=e.cardListByAgentApi=e.balanceListByStoreDetailApi=e.balanceListByStoreApi=e.balanceListByAgentDetailApi=e.balanceListByAgentApi=void 0;var n=a(i("7653")),o=a(i("5c73"));e.getBalanceInfoApi=function(){return n.default.get("api/user.member.credit.RechargeOrderCreate/index")};e.getBalanceDetailListApi=function(t){var e=t.page,i=t.psize,a="";return a=1==o.default.state.vuex_appType?"api/user.member.credit.RechargeOrderCreate/creditListBySingleStore":"api/user.member.credit.RechargeOrderCreate/creditLists",n.default.get(a,{page:e||1,psize:i||20})};e.submitBalanceOrderApi=function(t){return n.default.post("api/user.member.credit.RechargeOrderCreate/submit",t)};e.getCanRefundBalanceApi=function(t){return n.default.get("api/user.member.credit.RechargeOrderCreate/getCanRefundNum?sub_agentid="+t)};e.refundBalanceApi=function(t){return n.default.post("api/user.member.credit.RechargeOrderCreate/refund",{sub_agentid:t})};e.balanceListByAgentApi=function(){return n.default.get("api/user.member.credit.user_balance_by_agent/index")};e.cardListByAgentApi=function(){return n.default.get("api/user.member.credit.user_balance_by_agent/cardList")};e.unbindApi=function(t){return n.default.post("api/user.member.credit.user_balance_by_agent/unbind",{card_no:t})};e.balanceListByAgentDetailApi=function(t){var e=t.page,i=t.psize,a=t.sub_agentid;return n.default.get("api/user.member.credit.RechargeOrderCreate/creditListsByAgent",{page:e||1,psize:i||20,sub_agentid:a||0})};e.submitRechargeCardApi=function(t){return n.default.post("api/user.member.credit.RechargeOrderCreate/rechargecard",{card_no:t})};e.getBalanceAgencyChainSettingApi=function(){return n.default.get("api/user.member.credit.balance_agency_chain_setting/isOpen")};e.getRechargeAgentSettingApi=function(){return n.default.get("api/user.member.credit.balance_agency_chain_setting/getRechargeConfig")};e.balanceListByStoreApi=function(){return n.default.get("api/user.member.credit.user_balance_by_store/index")};e.getMemberStoreRechargeSettingApi=function(t){return n.default.get("api/user.member.credit.user_balance_by_store/getMemberStoreRechargeSetting?sid="+t)};e.submitStoreBalanceOrderApi=function(t){return n.default.post("api/user.member.credit.user_balance_by_store/createOrder",t)};e.balanceListByStoreDetailApi=function(t){var e=t.page,i=t.psize,a=t.sid;return n.default.get("api/user.member.credit.user_balance_by_store/creditListsByStore",{page:e||1,psize:i||20,sid:a||0})};e.getCanRefundStoreBalanceApi=function(t){return n.default.get("api/user.member.credit.user_balance_by_store/getCanRefundNum?sid="+t)};e.refundBalanceByStoreApi=function(t){return n.default.post("api/user.member.credit.user_balance_by_store/refund",{sid:t})};e.setDefaultByAgentApi=function(t){return n.default.post("api/user.member.credit.user_balance_by_agent/setDefault",{id:t})};e.setDefaultByStoreApi=function(t){return n.default.post("api/user.member.credit.user_balance_by_store/setDefault",{id:t})};e.getStoreBalanceIsOpenApi=function(){return n.default.get("api/user.member.credit.user_balance_by_store/getStoreBalanceIsOpen")};e.getAuthcodeApi=function(t){return n.default.post("api/user.member.credit.credit_authcode/myAuthcode",t)};e.getRechargeModelApi=function(){return n.default.get("api/user.member.credit.RechargeOrderCreate/getRechargeModel")};e.getCreditListsByStoreApi=function(t){return n.default.get("api/user.member.credit.user_balance_by_store/creditListsByStore",t)};e.getBrandChainRechargeModelApi=function(){return n.default.get("api/user.member.credit.RechargeOrderCreate/getBrandChainRechargeModel")};e.getRechargeDetailListByBrandApi=function(t){return n.default.get("api/user.member.account/creditListsByBrand",t)}},"613f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnScrollList:i("0d07").default,tnRate:i("0c2b").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-shadow borderRadius20 theme-home-storeList",attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navStore("")}}},[1==t.getShowInfoTitle(t.diyPageData)&&0==t.this_search_type?i("v-uni-view",{staticClass:"store-show-list"},[i("v-uni-view",{staticClass:"store-image"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.logo}})],1),t.store.label?i("v-uni-view",{staticClass:"preferred-tag",style:[t.themeBtnStyle]},[t._v(t._s(t.store.label))]):t._e(),1==t.store.isRest||0==t.store.isInBusiness?i("v-uni-view",{staticClass:"rest"},[t._v("休息中")]):t._e()],1),i("v-uni-view",{staticClass:"store-info"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(t.store.title))]),t.store.rest_reserve_cn?i("v-uni-view",{staticClass:"store-notice tn-text-ellipsis-1 theme-store-notice"},[t._v(t._s(t.store.rest_reserve_cn))]):t._e(),i("v-uni-view",{staticClass:"store-info-base"},[i("v-uni-view",{staticClass:"base-wrapper"},[i("v-uni-view",{staticClass:"score-sale-data"},[t.store.score?i("v-uni-view",{staticClass:"score theme-store-score"},[i("v-uni-view",{staticClass:"icon tn-icon-star-fill"}),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.store.score))])],1):i("v-uni-view",{staticClass:"score theme-store-score"},[i("v-uni-view",{staticStyle:{color:"#aaaaaa"}},[t._v("暂无评分")])],1),1==t.store.store_type?i("v-uni-view",{staticClass:"month-sale"},[t._v("月销热度 "+t._s(t.store.sailed))]):t._e()],1),2!=t.store.delivery_type&&1==t.store.store_type?i("v-uni-view",{staticClass:"flash-delivery theme-flash-score"},[t._v(t._s(t.store.delivery_title))]):t._e()],1),1==t.store.store_type?i("v-uni-view",{staticClass:"base-wrapper"},["store_distance"!=t.store.show_store_info&&2!=t.store.delivery_type?i("v-uni-view",{staticClass:"delivery-price-info"},[i("v-uni-view",{staticClass:"start-price"},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.sendPrice))]),t._v("起送")],1),i("v-uni-view",{staticClass:"delivery-price"},[1==t.store.delivery_fee_mode?i("v-uni-view",[0==t.store.deliveryFreePrice&&t.store.deliveryPrice>0?i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice))])],1):t.store.deliveryFreePrice>0&&t.store.deliveryPrice>0?i("v-uni-view",[t._v("满"+t._s(t.store.deliveryFreePrice)+"元免配送费")]):0==t.store.deliveryPrice?i("v-uni-view",[t._v("免配送费")]):i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice))])],1)],1):i("v-uni-view",[t.store.deliveryFreePrice>0?i("v-uni-view",[t._v("满"+t._s(t.store.deliveryFreePrice)+"元免配送费")]):t.store.deliveryPrice.start_fee>=0?i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice.start_fee)+"起")])],1):0==t.store.deliveryPrice?i("v-uni-view",[t._v("免配送费")]):i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice))])],1)],1)],1)],1):i("v-uni-view",{staticClass:"delivery-price-info",attrs:{view:!0}}),"delivery_info"!=t.store.show_store_info?i("v-uni-view",{staticClass:"delivery-time-info"},[t._v(t._s(t.store.deliveryTime)+"分钟 | "+t._s(t._f("distanceValue")(t.store.distance)))]):t._e()],1):i("v-uni-view",{staticClass:"ft12 mt5 flex alcenter space",staticStyle:{color:"#aaaaaa"}},[i("v-uni-text",[t._v("相关笔记"+t._s(t.store.tie_num)+"条")]),i("v-uni-text",[t._v(t._s(t._f("distanceValue")(t.store.distance)))])],1)],1),i("v-uni-view",{staticClass:"store-notice tn-text-ellipsis-1 theme-store-notice"},[t._v(t._s(t.store.content))]),i("v-uni-view",{staticClass:"tags"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},[i("v-uni-view",{staticClass:"tags-wrapper"},[t.store.activityLabels&&t.store.activityLabels.length>0?t._l(t.store.activityLabels,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tag tn-border-red tn-color-red"},[t._v(t._s(e.title))])})):t._e()],2)],1)],1),t.store.discountCardInfo&&t.store.discountCardInfo.takeout_discount&&t.store.discountCardInfo.in_store_discount&&t.store.discountCardInfo.takeout_discount<10&&t.store.discountCardInfo.in_store_discount<10?i("v-uni-view",{staticClass:"card"},[i("img",{staticClass:"card-img",attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/企业卡.png",alt:"",mode:"heightFix"}}),t.store.discountCardInfo.takeout_discount&&t.store.discountCardInfo.in_store_discount?i("v-uni-view",{staticClass:"card-text"},[t._v("专享外卖"+t._s(t.store.discountCardInfo.takeout_discount)+"折 堂食"+t._s(t.store.discountCardInfo.in_store_discount)+"折")]):t._e()],1):t._e()],1)],1):t._e(),1==t.getShowInfoTitle(t.diyPageData)&&1==t.this_search_type&&1==t.showType?i("v-uni-view",{staticClass:"store-show-list"},[i("v-uni-view",{staticClass:"store-image"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.goods[0].thumb}})],1)],1),i("v-uni-view",{staticClass:"store-info",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.jumpGoods(t.store.id,t.store.goods[0].id)}}},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1",staticStyle:{width:"100%"}},[t._v(t._s(t.store.goods[0].title))]),i("v-uni-view",{staticClass:"store-info-base"},[i("v-uni-view",{staticClass:"base-wrapper"},[i("v-uni-view",{staticClass:"score-sale-data"},[i("v-uni-view",{staticClass:"score theme-store-score"},[i("v-uni-view",{staticClass:"icon tn-icon-star-fill"}),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.store.score))])],1),i("v-uni-view",{staticClass:"month-sale"},[t._v("月销热度 "+t._s(t.store.sailed))])],1)],1)],1),i("v-uni-view",{staticClass:"infoBox",style:[t.getInfoBoxStyle]},[i("v-uni-view",{staticClass:"priceTip"},[i("v-uni-view",{staticClass:"smallBadge"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"priceNumber"},[t._v(t._s(t.store.goods[0].price))]),0!==t.storeConfig.isShowGoodsOldPrice&&""!=t.store.goods[0].old_price&&t.store.goods[0].old_price>t.store.goods[0].price?i("v-uni-view",{staticClass:"oldPrice"},[t._v(t._s(t.CurrencyUnit)+t._s(t.store.goods[0].old_price))]):t._e()],1)],1)],1)],1):t._e(),1==t.getShowInfoTitle(t.diyPageData)&&1==t.this_search_type&&1==t.showType?i("v-uni-view",{staticClass:"store-show-list",staticStyle:{"border-top":"1px solid #efeded","margin-top":"10rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.jumpGoods(t.store.id,t.store.goods[0].id)}}},[i("v-uni-view",{staticClass:"store-image",staticStyle:{width:"120rpx !important",height:"100rpx !important"}},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.logo}})],1),t.store.label?i("v-uni-view",{staticClass:"preferred-tag",style:[t.themeBtnStyle]},[t._v(t._s(t.store.label))]):t._e(),1==t.store.isRest||0==t.store.isInBusiness?i("v-uni-view",{staticClass:"rest",staticStyle:{"font-size":"24rpx",height:"100%"}},[t._v("休息中")]):t._e()],1),i("v-uni-view",{staticClass:"store-info",staticStyle:{width:"100%"}},[i("v-uni-view",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1",staticStyle:{"font-size":"24rpx",width:"60%"}},[t._v(t._s(t.store.title))]),i("v-uni-view",{staticClass:"flash-delivery theme-flash-score",staticStyle:{"font-size":"24rpx"}},[t._v(t._s(t.store.delivery_title))])],1),i("v-uni-view",{staticClass:"store-info-base"},[i("v-uni-view",{staticClass:"base-wrapper"},["store_distance"!=t.store.show_store_info?i("v-uni-view",{staticClass:"delivery-price-info"},[i("v-uni-view",{staticClass:"score theme-store-score",staticStyle:{display:"flex","justify-content":"center","align-items":"center","flex-direction":"row","margin-right":"6rpx"}},[i("v-uni-view",{staticClass:"icon tn-icon-star-fill"}),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.store.score))])],1),i("v-uni-view",{staticClass:"start-price"},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.sendPrice))]),t._v("起送")],1),i("v-uni-view",{staticClass:"delivery-price"},[1==t.store.delivery_fee_mode?i("v-uni-view",[0==t.store.deliveryFreePrice&&t.store.deliveryPrice>0?i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice))])],1):t.store.deliveryFreePrice>0&&t.store.deliveryPrice>0?i("v-uni-view",[t._v("满"+t._s(t.store.deliveryFreePrice)+"元免配送费")]):0==t.store.deliveryPrice?i("v-uni-view",[t._v("免配送费")]):i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice))])],1)],1):i("v-uni-view",[t.store.deliveryFreePrice>0?i("v-uni-view",[t._v("满"+t._s(t.store.deliveryFreePrice)+"元免配送费")]):t.store.deliveryPrice.start_fee>=0?i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice.start_fee)+"起")])],1):0==t.store.deliveryPrice?i("v-uni-view",[t._v("免配送费")]):i("v-uni-view",[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+" "+t._s(t.store.deliveryPrice))])],1)],1)],1)],1):i("v-uni-view",{staticClass:"delivery-price-info"}),"delivery_info"!=t.store.show_store_info?i("v-uni-view",{staticClass:"delivery-time-info"},[t._v(t._s(t.store.deliveryTime)+"分钟 | "+t._s(t._f("distanceValue")(t.store.distance)))]):t._e()],1)],1)],1)],1):t._e(),1===t.showType&&0==t.this_search_type?i("v-uni-view",{staticClass:"tn-flex",staticStyle:{padding:"0 20rpx 10rpx 20rpx"}},[1===t.showType?i("v-uni-view",{staticClass:"scrollBox"},[i("tn-scroll-list",{attrs:{indicator:!1}},[i("v-uni-view",{staticClass:"tn-flex tn-padding-xs",staticStyle:{padding:"4rpx"}},[t._l(t.store.goods,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticClass:"flexItem",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.jumpGoods(t.store.id,e.id)}}},[i("v-uni-view",{staticClass:"coverBox",style:[t.getCoverBoxStyle]},[i("v-uni-image",{staticClass:"cover",attrs:{src:e.thumb,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"infoBox",style:[t.getInfoBoxStyle]},[i("v-uni-view",{staticClass:"goodsTitle"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"priceTip"},[i("v-uni-view",{staticClass:"smallBadge"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"priceNumber"},[t._v(t._s(e.price))])],1)],1)],1)]}))],2)],1)],1):t._e()],1):t._e(),2==t.getShowInfoTitle(t.diyPageData)?i("v-uni-view",{staticClass:"tn-flex new",staticStyle:{padding:"20rpx","justify-content":"space-between"}},[i("v-uni-view",{staticClass:"left tn-flex"},[i("v-uni-view",{staticStyle:{"margin-top":"2rpx"}},[i("v-uni-view",{staticClass:"business-image"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.logo}})],1),t.store.label?i("v-uni-view",{staticClass:"preferred-tag",style:[t.themeBtnStyle]},[t._v(t._s(t.store.label))]):t._e(),1==t.store.isRest||0==t.store.isInBusiness?i("v-uni-view",{staticClass:"rest"},[t._v("休息中")]):t._e()],1)],1),i("v-uni-view",{staticStyle:{"margin-left":"20rpx",display:"flex","flex-direction":"column","justify-content":"space-between"}},[i("v-uni-view",{staticStyle:{"font-size":"36rpx","font-weight":"bolder","letter-spacing":"0px",color:"rgba(0, 0, 0, 1)","font-family":"'PingFang_Medium'"}},[t._v(t._s(t.store.title))]),i("v-uni-view",{staticClass:"tn-text-md",staticStyle:{"font-weight":"bold","flex-wrap":"nowrap","font-size":"28rpx",color:"#FF6F1E"}},[i("tn-rate",{attrs:{"active-color":"#FF6F1E",allowHalf:!0,disabled:!0,activeIcon:"star-square",inactiveIcon:"star-square"},model:{value:t.store.score,callback:function(e){t.$set(t.store,"score",e)},expression:"store.score"}},[t._v(t._s(t.store.score))]),i("v-uni-text",{staticStyle:{"margin-left":"10rpx","font-size":"36rpx"}},[t._v(t._s(t.store.score))])],1),"delivery_info"!=t.store.show_store_info?i("v-uni-text",{staticClass:"tn-text-xs",staticStyle:{"font-size":"24rpx",color:"rgba(152, 152, 152, 1)"}},[t._v(t._s(t._f("distanceValue")(t.store.distance)))]):t._e(),i("v-uni-view",{staticClass:"store-notice tn-text-ellipsis-1 theme-store-notice",staticStyle:{padding:"0 10rpx 0 10rpx","border-radius":"10rpx","font-size":"24rpx",width:"fit-content"}},[t._v(t._s(t.store.content))]),t.store.tuangouquanInfo&&t.store.tuangouquanInfo.length>0?i("v-uni-view",t._l(t.store.tuangouquanInfo,(function(e,a){return a<3?i("v-uni-view",{key:a,staticClass:"tuangouquan-info"},[i("v-uni-view",{staticClass:"tuangouquan-info-item"},[i("v-uni-view",{staticClass:"tuangouquan-info-label"},[t._v("券")]),i("v-uni-view",{staticClass:"tuangouquan-info-item-price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))]),i("v-uni-view",{staticClass:"tuangouquan-info-item-old-price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.old_price))]),i("v-uni-view",{staticClass:"tuangouquan-info-item-title"},[t._v(t._s(e.title))])],1)],1):t._e()})),1):t._e(),i("v-uni-view",{staticClass:"tn-flex tn-flex-wrap"},[t.store.vip_is_open?i("v-uni-text",{staticClass:"vip tn-margin-top-xs"},[t._v("VIP会员免费办理")]):t._e(),t.store.activityLabels&&t.store.activityLabels.length>0?t._l(t.store.activityLabels,(function(e,a){return i("v-uni-view",{key:a,staticClass:"bordTag tn-margin-top-xs"},[i("v-uni-text",[t._v(t._s(e.title))])],1)})):t._e()],2),t.store.discountCardInfo&&t.store.discountCardInfo.takeout_discount&&t.store.discountCardInfo.in_store_discount&&t.store.discountCardInfo.takeout_discount<10&&t.store.discountCardInfo.in_store_discount<10?i("v-uni-view",{staticClass:"card card1"},[i("img",{staticClass:"card-img",attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/企业卡.png",alt:"",mode:"heightFix"}}),i("v-uni-view",{staticClass:"card-text card-text1"},[t._v("专享外卖"+t._s(t.store.discountCardInfo.takeout_discount)+"折 堂食"+t._s(t.store.discountCardInfo.in_store_discount)+"折")])],1):t._e()],1)],1)],1):t._e(),5===t.store.isShowGoodsBanner?i("v-uni-view",{staticClass:"tn-flex",staticStyle:{padding:"0 20rpx 10rpx 20rpx"}},[i("v-uni-view",{staticClass:"scrollBox"},[i("tn-scroll-list",{attrs:{indicator:!1}},[i("v-uni-view",{staticClass:"tn-flex tn-padding-xs",staticStyle:{padding:"4rpx"}},[t._l(t.store.commend_goods,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticClass:"flexItem",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navStore(e.id)}}},[i("v-uni-view",{staticClass:"coverBox",style:[t.getCoverBoxStyle]},[i("v-uni-image",{staticClass:"cover",attrs:{src:e.thumb,mode:"aspectFill"}})],1),5===t.store.isShowGoodsBanner?i("v-uni-view",{staticClass:"infoBox",style:[t.getInfoBoxStyle]},[i("v-uni-view",{staticClass:"goodsTitle1"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"priceTip1"},[i("v-uni-view",{staticClass:"smallBadge1"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"priceNumber1"},[t._v(t._s(Number(e.bargain_price)?e.bargain_price:e.price))]),0!==t.storeConfig.isShowGoodsOldPrice?i("v-uni-view",{staticClass:"oldPrice1"},[t._v(t._s(t.CurrencyUnit)+t._s(e.old_price))]):t._e()],1)],1):t._e()],1)]}))],2)],1)],1)],1):t._e(),3===t.store.isShowGoodsBanner?i("v-uni-view",{staticClass:"tn-flex",staticStyle:{padding:"0 20rpx 10rpx 20rpx"}},[3===t.store.isShowGoodsBanner&&2==t.getShowInfoTitle(t.diyPageData)?i("v-uni-view",{staticStyle:{width:"120rpx !important",height:"120rpx !important",color:"#fff","margin-right":"20rpx"}},[t._v("1111111111")]):t._e(),3===t.store.isShowGoodsBanner&&1==t.getShowInfoTitle(t.diyPageData)?i("v-uni-view",{staticStyle:{width:"170rpx !important",height:"170rpx !important",color:"#fff","margin-right":"20rpx"}},[t._v("1111111111")]):t._e(),i("v-uni-view",{staticClass:"scrollBox"},[i("tn-scroll-list",{attrs:{indicator:!1}},[i("v-uni-view",{staticClass:"tn-flex tn-padding-xs",staticStyle:{padding:"4rpx"}},[t._l(t.store.commend_goods,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticClass:"flexItem",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navStore(e.id)}}},[i("v-uni-view",{staticClass:"coverBox",style:[t.getCoverBoxStyle]},[i("v-uni-image",{staticClass:"cover",attrs:{src:e.thumb,mode:"aspectFill"}})],1),3===t.store.isShowGoodsBanner?i("v-uni-view",{staticClass:"infoBox",style:[t.getInfoBoxStyle]},[i("v-uni-view",{staticClass:"goodsTitle1"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"priceTip1"},[i("v-uni-view",{staticClass:"smallBadge1"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"priceNumber1"},[t._v(t._s(Number(e.bargain_price)?e.bargain_price:e.price))]),0!==t.storeConfig.isShowGoodsOldPrice?i("v-uni-view",{staticClass:"oldPrice1"},[t._v(t._s(t.CurrencyUnit)+t._s(e.old_price))]):t._e()],1)],1):t._e()],1)]}))],2)],1)],1)],1):t._e()],1)},o=[]},6142:function(t,e,i){"use strict";i.r(e);var a=i("a685"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"61e0":function(t,e,i){"use strict";i.r(e);var a=i("9877"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"61fe":function(t,e,i){"use strict";i.r(e);var a=i("8ecf"),n=i("79ad");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1845"),i("7f91");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"3f33965a",null,!1,a["a"],void 0);e["default"]=r.exports},6351:function(t,e,i){"use strict";i.r(e);var a=i("9b69"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"63f4":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */uni-page-body[data-v-4c27c38a]{background-color:#f6f6f6}body.?%PAGE?%[data-v-4c27c38a]{background-color:#f6f6f6}\n/* 顶部背景 start */.top-bg[data-v-4c27c38a]{position:relative;left:0;top:0;width:100%;height:%?560?%;z-index:1}.top-bg.empty[data-v-4c27c38a]{position:fixed;background-color:#fff;z-index:9999}.top-bg .bg__image[data-v-4c27c38a]{position:absolute;left:0;top:0;width:100%;height:100%}.top-bg .bg__content[data-v-4c27c38a]{position:absolute;top:0;left:0;width:100%;height:100%\n /* 轮播图 start */\n /* 轮播图 end */}.top-bg .bg__content .banner[data-v-4c27c38a]{position:absolute;bottom:%?30?%;width:100%;height:auto}.top-bg .bg__content .banner .banner-swiper[data-v-4c27c38a]{width:100%;height:"";overflow:inherit}.top-bg .bg__content .banner .banner-swiper .swiper-item[data-v-4c27c38a]{width:100%;height:auto!important;position:absolute;bottom:%?0?%}.top-bg .bg__content .banner .banner-swiper .swiper-item .item-content[data-v-4c27c38a]{width:90%;height:auto;margin:%?0?% auto;-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:center center;transform-origin:center center;transition:-webkit-transform 1s ease .1s;transition:transform 1s ease .1s;transition:transform 1s ease .1s,-webkit-transform 1s ease .1s}.top-bg .bg__content .banner .banner-swiper .swiper-item .item-content.current[data-v-4c27c38a]{-webkit-transform:scale(1);transform:scale(1)}\n/* 顶部背景 end */\n/* 页面区域 start */.page-wrapper[data-v-4c27c38a]{position:relative;width:100%;z-index:2\n /* diy内容 start */\n /* diy内容 end */}.page-wrapper .diy-content[data-v-4c27c38a]{padding:%?30?%;padding-top:%?0?%}\n/* 页面区域 end */',""]),t.exports=e},"644f":function(t,e,i){"use strict";i.r(e);var a=i("ba49"),n=i("f1f2");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("a2be");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"5f9a37b6",null,!1,a["a"],void 0);e["default"]=r.exports},6492:function(t,e,i){"use strict";var a=i("6f31"),n=i.n(a);n.a},"656f":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-scroll-list-class tn-scroll-list"},[i("v-uni-scroll-view",{staticClass:"tn-scroll-list__scroll-view",attrs:{"scroll-x":!0,"upper-threshold":0,"lower-threshold":0},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollHandler.apply(void 0,arguments)},scrolltoupper:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollToUpperHandler.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.scrollToLowerHandler.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"tn-scroll-list__scroll-view__content"},[t._t("default")],2)],1),t.indicator?i("v-uni-view",{staticClass:"tn-scroll-list__indicator",style:[t.indicatorStyle]},[i("v-uni-view",{staticClass:"tn-scroll-list__indicator__line",style:[t.lineStyle]},[i("v-uni-view",{staticClass:"tn-scroll-list__indicator__line__bar",style:[t.barStyle]})],1)],1):t._e()],1)},n=[]},"65c3":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-loading-circle[data-v-7140fc93]{display:inline-flex;vertical-align:middle;width:%?28?%;height:%?28?%;background:0 0;border-radius:50%;border:2px solid;border-color:#e6e6e6 #e6e6e6 #e6e6e6 #aaa}.tn-loading-circle--animation[data-v-7140fc93]{animation:tn-circle-data-v-7140fc93 1s linear infinite;-webkit-animation:tn-circle-data-v-7140fc93 1s linear infinite}.tn-loading-flower[data-v-7140fc93]{display:inline-block;vertical-align:middle;width:%?28?%;height:%?28?%;background:transparent url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/loading.gif) no-repeat;background-size:100%}.tn-loading-flower--animation[data-v-7140fc93]{animation:tn-flower-data-v-7140fc93 1s steps(12) infinite;-webkit-animation:tn-flower-data-v-7140fc93 1s steps(12) infinite}@-webkit-keyframes tn-flower-data-v-7140fc93{0%{transform:rotate(0deg);-webkit-transform:rotate(0deg)}to{transform:rotate(1turn);-webkit-transform:rotate(1turn)}}@keyframes tn-flower-data-v-7140fc93{0%{transform:rotate(0deg);-webkit-transform:rotate(0deg)}to{transform:rotate(1turn);-webkit-transform:rotate(1turn)}}@-webkit-keyframes tn-circle-data-v-7140fc93{0%{transform:rotate(0);-webkit-transform:rotate(0)}100%{transform:rotate(1turn);-webkit-transform:rotate(1turn)}}@keyframes tn-circle-data-v-7140fc93{0%{transform:rotate(0);-webkit-transform:rotate(0)}100%{transform:rotate(1turn);-webkit-transform:rotate(1turn)}}',""]),t.exports=e},6620:function(t,e,i){"use strict";i.r(e);var a=i("a884"),n=i("4877");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("33e7");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"15a5161a",null,!1,a["a"],void 0);e["default"]=r.exports},6633:function(t,e,i){"use strict";var a=i("367e"),n=i.n(a);n.a},6634:function(t,e,i){"use strict";var a=i("89cc"),n=i.n(a);n.a},6646:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("dc8a");var n=a(i("74ff")),o={name:"tn-load-more",mixins:[n.default],props:{status:{type:String,default:"loadmore"},showLoadText:{type:Boolean,default:!0},showMoreLine:{type:Boolean,default:!0},loadingIcon:{type:Boolean,default:!0},loadingIconType:{type:String,default:"circle"},loadingIconColor:{type:String,default:""},loadText:{type:Object,default:function(){return{loadmore:"加载更多",loading:"正在加载...",nomore:"没有更多了"}}},dot:{type:Boolean,default:!1},customStyle:{type:Object,default:function(){return{}}}},computed:{loadStyle:function(){var t={};return this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),Object.keys(this.customStyle).length>0&&Object.assign(t,this.customStyle),t},loadTextStyle:function(){var t={};return this.fontColorStyle&&(t.color=this.fontColorStyle),this.fontSizeStyle&&(t.fontSize=this.fontSizeStyle,t.lineHeight=this.$tn.string.getLengthUnitValue(this.fontSize+2,this.fontUnit)),t},showText:function(){var t="";return t="loadmore"===this.status?this.loadText.loadmore||"加载更多":"loading"===this.status?this.loadText.loading||"正在加载...":"nomore"===this.status&&this.dot?this.dotText:this.loadText.nomore||"没有更多了",t}},data:function(){return{dotText:"●"}},methods:{loadMore:function(){"loadmore"===this.status&&this.$emit("loadmore")}}};e.default=o},"66a7":function(t,e,i){"use strict";i.r(e);var a=i("fa58"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},6720:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.paotui[data-v-2d5f8cc4]{border-radius:%?20?%;background-color:#fff;border-radius:%?20?%;overflow:hidden;margin:%?20?% 0}.map[data-v-2d5f8cc4]{border-radius:%?20?% %?20?% 0 0;width:100%;overflow:hidden;position:relative}.from_top[data-v-2d5f8cc4]{position:absolute;width:100%;bottom:0;border-radius:%?20?% %?20?% 0 0;background-color:#fffdf1;color:var(--theme-general-color);padding:0 %?40?%;font-size:%?28?%;height:%?80?%;line-height:%?80?%}.from[data-v-2d5f8cc4]{border-radius:%?20?%;width:100%;background-color:#fff}.from_btns[data-v-2d5f8cc4]{overflow-x:scroll;white-space:nowrap;padding:%?20?% 0;margin:0 %?40?%;display:flex;align-items:center;justify-content:space-between;text-align:center}.selectIcon[data-v-2d5f8cc4]{position:absolute;bottom:%?-35?%;right:50%;-webkit-transform:translateX(50%);transform:translateX(50%);font-size:%?50?%;color:var(--theme-general-color)!important;text-align:center}.from_address[data-v-2d5f8cc4]{padding:%?20?% %?40?%}.qu[data-v-2d5f8cc4]{display:flex;align-items:center;justify-content:space-between;padding:%?30?%;border-radius:%?20?%;box-shadow:0 0 20px 0 rgba(0,0,0,.07)}.from_btn[data-v-2d5f8cc4]{background-color:var(--theme-general-color);padding:%?30?%;font-size:%?36?%;font-weight:700;text-align:center;border-radius:88px;margin:0 %?40?%}.from_text[data-v-2d5f8cc4]{width:100%;font-size:%?25?%;padding:%?20?% 0;display:flex;align-items:center;justify-content:space-between}.text[data-v-2d5f8cc4]{flex:1;text-align:center}.text + .text[data-v-2d5f8cc4]{border-left:1px solid #ccc}',""]),t.exports=e},"672b":function(t,e,i){"use strict";i.r(e);var a=i("f64d"),n=i("1b61");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5fa2");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d781572e",null,!1,a["a"],void 0);e["default"]=r.exports},"675c":function(t,e,i){var a=i("14eb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("5fc72b1c",a,!0,{sourceMap:!1,shadowMode:!1})},"67ac":function(t,e,i){"use strict";var a=i("1f5b"),n=i.n(a);n.a},"67acf":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showComponent?i("v-uni-view",{staticClass:"god-price tn-shadow theme-home-godPrice"},[i("v-uni-view",{staticClass:"top tn-color-red",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/store-page/god-price-list/index")}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(t.diyData.title))]),i("v-uni-view",{staticClass:"sub-title"},[t._v(t._s(t.diyData.desc))])],1),i("v-uni-view",{staticClass:"right"},[t._v("更多"),i("v-uni-text",{staticClass:"icon tn-icon-right"})],1)],1),i("v-uni-view",{staticClass:"product-data",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/store-page/god-price-list/index")}}},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},[i("v-uni-view",{staticClass:"product-list"},t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"product-item",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.nP(e.sid,e.id,e.pageShowType,e.is_haodian,e.custom_links)}}},[i("v-uni-view",{staticClass:"item-image"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:e.image}})],1)],1),i("v-uni-view",{staticClass:"item-tag",style:{background:"新人价"==e.tag?"linear-gradient(233deg, #da0404 0%, #f94c0a 100%)":"linear-gradient(233deg, #FD7004 0%, #F74D35 100%)"}},[t._v(t._s(e.tag))]),i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",{staticClass:"product-title tn-text-ellipsis-1"},[t._v(t._s(e.title||""))]),i("v-uni-view",{staticClass:"product-price tn-color-red"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(e.discountPrice)||0))])],1),i("v-uni-view",{staticClass:"price old-price tn-color-gray"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(e.price)||0))])],1)],1)],1)],1)})),1)],1)],1)],1):t._e()},o=[]},"67cb":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.bottom-area-content[data-v-0dd511bd]{padding-bottom:%?140?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?140?%)!important;padding-bottom:calc(env(safe-area-inset-bottom) + %?140?%)!important}.products-list[data-v-0dd511bd]{position:relative;width:100%}.products-list .item[data-v-0dd511bd]{padding:%?20?%;padding-right:%?30?%\n /* 分类商品容器 start */\n /* 分类商品容器 end */}.products-list .item .item-title[data-v-0dd511bd]{position:-webkit-sticky;position:sticky;top:10px;padding:%?15?% %?0?%;z-index:2333;background-color:#fff}.products-list .item .item-goods[data-v-0dd511bd]{position:relative;width:100%}.products-list .item .item-goods .good[data-v-0dd511bd]{display:flex;margin-bottom:%?20?%\n /* 商品主图 start */\n /* 商品主图 end */\n /* 商品信息 start */\n /* 商品信息 end */}.products-list .item .item-goods .good .good-image[data-v-0dd511bd]{width:%?196?%;height:%?196?%;border-radius:%?15?%;border-width:%?1?%;border-style:solid}.products-list .item .item-goods .good .good-info[data-v-0dd511bd]{flex:1;margin-left:%?20?%\n /* 商品价格 start */\n /* 商品价格 end */}.products-list .item .item-goods .good .good-info .good-title[data-v-0dd511bd]{width:100%;font-size:%?34?%;font-weight:500}.products-list .item .item-goods .good .good-info .good-month-sale[data-v-0dd511bd]{font-size:%?24?%}.products-list .item .item-goods .good .good-info .good-content[data-v-0dd511bd]{width:-webkit-fit-content;width:fit-content;max-width:100%;font-size:%?22?%;border-radius:%?6?%;padding:%?0?% %?8?%;line-height:1.4em;margin-top:%?8?%}.products-list .item .item-goods .good .good-info .good-price .price[data-v-0dd511bd]{display:flex;align-items:flex-end;font-size:%?36?%;line-height:1;font-weight:700}.products-list .item .item-goods .good .good-info .good-price .price .unit[data-v-0dd511bd]{font-size:%?24?%;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.products-list .item .item-goods .good .good-info .good-price .price.old[data-v-0dd511bd]{text-decoration:line-through;font-size:%?24?%;font-weight:400;margin-left:%?10?%}.products-list .item .item-goods .good .good-info .good-price .price.old .unit[data-v-0dd511bd]{-webkit-transform:translateY(%?0?%);transform:translateY(%?0?%)}[data-v-0dd511bd] .tnloads .tn-load-more__line{display:none}',""]),t.exports=e},"67e7":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"map"},[e("v-uni-map",{staticStyle:{width:"100%",height:"200px"},attrs:{latitude:this.config.coordinate.latitude,longitude:this.config.coordinate.longitude}})],1)},n=[]},"67ee":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.info-item[data-v-78527322]{margin-top:%?20?%;display:flex;align-items:center;padding:%?15?% %?35?%;background-color:#fff;border-radius:%?20?%}.info-item .img[data-v-78527322]{width:%?90?%;height:%?90?%;border-radius:50%}.info-item .text-mod[data-v-78527322]{display:flex;align-items:center;justify-content:center;flex-direction:column}',""]),t.exports=e},6878:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 订单列表item start */.order-item[data-v-d1f05830]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-d1f05830]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-d1f05830]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-d1f05830]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-d1f05830]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-d1f05830]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-d1f05830]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-d1f05830]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-d1f05830]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-d1f05830]{font-size:%?34?%;padding-left:%?40?%;color:#ffca28}.order-item .top-info .top-right .order-type[data-v-d1f05830]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-d1f05830]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-d1f05830]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-d1f05830]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%}.order-item .product-list .single-product .product-info[data-v-d1f05830]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-d1f05830]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-d1f05830]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-d1f05830]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-d1f05830]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-d1f05830]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-d1f05830]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-d1f05830]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-d1f05830]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-d1f05830]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-d1f05830]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-d1f05830]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-d1f05830]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-d1f05830]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-d1f05830]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-d1f05830]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-d1f05830]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-d1f05830]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-d1f05830]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-d1f05830]{width:100%}.expansion .expansion_box .line4[data-v-d1f05830]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-d1f05830]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-d1f05830]{width:%?60?%;height:%?60?%}',""]),t.exports=e},"688d":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.product-spec-number-box[data-v-5287d9cd]{\n /* 商品操作 start */\n /* 商品操�� end */\n /* 选中规格属性加料弹框 start */\n /* 选中规格属性加料弹框 end */}.product-spec-number-box.disabled .operation__add .icon[data-v-5287d9cd]{background-color:#aaa;color:#fff}.product-spec-number-box .operation__spec[data-v-5287d9cd]{padding:%?6?% %?20?%;border-radius:%?15?%;position:relative;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.product-spec-number-box .operation__spec .num[data-v-5287d9cd]{position:absolute;top:0;right:0;-webkit-transform:translate(10%,-50%);transform:translate(10%,-50%);padding:%?4?% %?10?%;width:%?30?%;height:%?30?%;border-radius:50%;display:flex;text-align:center;align-items:center;justify-content:center}.product-spec-number-box .operation__spec .num .input[data-v-5287d9cd]{color:#000}.product-spec-number-box .operation__add[data-v-5287d9cd]{height:%?50?%}.product-spec-number-box .operation__add .icon[data-v-5287d9cd]{width:%?50?%;height:%?50?%;font-size:%?30?%;line-height:1;border-radius:50%;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.product-spec-number-box .operation__add .num[data-v-5287d9cd]{width:%?60?%;height:100%;margin:%?0?% %?5?%}.product-spec-number-box .operation__add .num .input[data-v-5287d9cd]{width:100%;height:100%;padding:%?0?%;background-color:initial;color:#000;text-align:center}.product-spec-number-box .spec-choose-modal[data-v-5287d9cd]{width:100%;padding-top:%?24?%\n /* 选择区域 start */\n /* 选择区域 end */\n /* 已选择规格 start */\n /* 已选择规格 end */\n /* 价格、数量信息 start */\n /* 价格、数量信息 end */}.product-spec-number-box .spec-choose-modal .small-box[data-v-5287d9cd]{display:flex;align-items:center;padding-left:%?30?%}.product-spec-number-box .spec-choose-modal .goods-image[data-v-5287d9cd]{width:100%;border-top-left-radius:%?15?%;border-top-right-radius:%?15?%;margin-top:%?-25?%;max-height:%?750?%}.product-spec-number-box .spec-choose-modal .goods-name-small[data-v-5287d9cd]{height:1rem;display:flex;flex-direction:column;justify-content:space-around}.product-spec-number-box .spec-choose-modal .goods-image-small[data-v-5287d9cd]{width:%?100?%;height:%?100?%;border-radius:%?10?%}.product-spec-number-box .spec-choose-modal .good-title[data-v-5287d9cd]{font-size:%?34?%;font-weight:500;padding:%?0?% %?30?%}.product-spec-number-box .spec-choose-modal .desc[data-v-5287d9cd]{padding:%?0?% %?30?%;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1}.product-spec-number-box .spec-choose-modal .content-wrapper[data-v-5287d9cd]{padding:%?30?%;width:100%;height:%?500?%}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data[data-v-5287d9cd]{width:100%\n /* 可选项 start */\n /* 可选项 end */}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-title[data-v-5287d9cd]{font-size:%?24?%}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-select[data-v-5287d9cd]{display:flex;flex-wrap:wrap}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-select .select-item[data-v-5287d9cd]{display:flex;align-items:center;border-radius:%?15?%;margin-right:%?12?%;margin-top:%?20?%}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-5287d9cd],\n.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-5287d9cd]{line-height:1;padding:%?12?% %?20?%}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-5287d9cd]{padding-right:%?24?%}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-5287d9cd]{border-radius:%?0?%;border-left-width:%?1?%;border-left-style:solid;border-color:inherit}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data .content-select .select-item.select[data-v-5287d9cd]{border-color:var(--theme-color)!important;color:var(--theme-color)}.product-spec-number-box .spec-choose-modal .content-wrapper .content-data + .content-data[data-v-5287d9cd]{margin-top:%?24?%}.product-spec-number-box .spec-choose-modal .select-attr-value[data-v-5287d9cd]{width:100%;padding:%?10?% %?30?%;display:flex}.product-spec-number-box .spec-choose-modal .select-attr-value .value[data-v-5287d9cd]{flex:1;padding-left:%?20?%}.product-spec-number-box .spec-choose-modal .price-num-wrapper[data-v-5287d9cd]{width:100%;padding:%?30?%;display:flex;justify-content:space-between}.product-spec-number-box .spec-choose-modal .price-num-wrapper .price-value .title[data-v-5287d9cd]{font-size:%?32?%}.product-spec-number-box .spec-choose-modal .price-num-wrapper .price-value .price[data-v-5287d9cd]{margin-left:%?12?%;display:flex;align-items:flex-end}.product-spec-number-box .spec-choose-modal .price-num-wrapper .price-value .price .unit[data-v-5287d9cd]{font-size:%?32?%;line-height:1;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.product-spec-number-box .spec-choose-modal .price-num-wrapper .price-value .price .value[data-v-5287d9cd]{font-size:%?46?%;line-height:1;font-weight:700;margin-left:%?4?%}',""]),t.exports=e},6893:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-checkbox-class tn-checkbox",style:[t.checkboxStyle]},[i("v-uni-view",{staticClass:"tn-checkbox__icon-wrap",class:[t.iconClass],style:[t.iconStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggle.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"tn-checkbox__icon-wrap__icon",class:["tn-icon-"+t.iconName]})],1),i("v-uni-view",{staticClass:"tn-checkbox__label",class:[t.labelClass],style:{fontSize:t.labelSize?t.labelSize+"rpx":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickLabel.apply(void 0,arguments)}}},[t._t("default")],2)],1)},n=[]},6936:function(t,e,i){"use strict";i.r(e);var a=i("2fbb"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},6961:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tips-content[data-v-32913ef2]{font-size:%?30?%;line-height:2em}',""]),t.exports=e},6964:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 卡片列表 start */.list-card[data-v-33cb414a]{position:relative;width:100%}.list-card .list[data-v-33cb414a]{\n /* 顶部内容 start */\n /* 顶部内容 end */\n /* 列表内容 start */\n /* 列表内容 end */}.list-card .list__top[data-v-33cb414a]{display:flex;align-items:center;justify-content:space-between;padding:%?0?% %?10?% %?20?% %?10?%;font-size:%?34?%}.list-card .list__top .top-title[data-v-33cb414a]{font-weight:500}.list-card .list__top .top-title .icon[data-v-33cb414a]{margin-right:%?10?%}.list-card .list__top .top-operation[data-v-33cb414a]{font-size:%?28?%}.list-card .list__wrapper[data-v-33cb414a]{background-color:#fff;border-radius:%?15?%}.list-card .list__wrapper .list__item + .list__item[data-v-33cb414a]::after{content:"";width:96%;height:%?1?%;background-color:#f3f2f7;position:absolute;left:50%;top:%?0?%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.list-card .list__item[data-v-33cb414a]{position:relative;padding:%?30?%\n /* 列表数据 start */\n /* 列表数据 end */}.list-card .list__item .item-data[data-v-33cb414a]{display:flex;align-items:center}.list-card .list__item .item-data.between[data-v-33cb414a]{justify-content:space-between}.list-card .list__item .item-data .item--left[data-v-33cb414a]{margin-right:%?20?%}.list-card .list__item .item-data .item--left .icon[data-v-33cb414a]{font-size:%?42?%;color:#838383;margin-right:%?8?%}.list-card .list__item .item-data .item--right[data-v-33cb414a]{flex:1}.list-card .list__item .item-data .item--arrow[data-v-33cb414a]{color:#aaa;margin-left:%?10?%}\n/* 卡片列表 end */.store-info[data-v-33cb414a]{padding:%?30?%;padding-bottom:%?180?%\n /* 图片展示 start */\n /* 图片展示 end */}.store-info .images[data-v-33cb414a]{width:100%;display:flex;flex-wrap:wrap}.store-info .images .image[data-v-33cb414a]{flex-shrink:0;width:%?180?%;height:%?180?%;border-radius:%?15?%;margin-right:%?20?%;margin-top:%?20?%}',""]),t.exports=e},6972:function(t,e,i){var a=i("3acf");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("a309bb30",a,!0,{sourceMap:!1,shadowMode:!1})},"69c7":function(t,e,i){"use strict";var a=i("1d80"),n=i.n(a);n.a},"69c8":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("5c47"),i("2c10"),i("e838"),i("e966");var n=a(i("6fbe")),o=a(i("dc1f")),s=a(i("495e")),r=i("815c"),c=i("419c"),d=i("262c"),l=i("f9ce"),u=i("9d0a"),f=i("9a0a"),p=i("d55c"),v=i("38f3"),h=i("0b25"),g=a(i("7653")),m=i("1106"),b=i("605c"),_=i("1e2b"),w=i("e0a2"),x={components:{CenterModal:s.default},options:{virtualHost:!0},mixins:[n.default,o.default],data:function(){return{icon:[w.staticUrl+"api/images/20250619/images_1750324082.png"],page_type:1,mealRedpacket:{status:null,canBuy:!1},userInfo:{uid:"",avatar:"",nickname:""},userAccount:{redpacket:0,balance:0,integral:0},platform:{logo:"",name:""},redPacketByStudentNo:!1,is_foodie_svip:!1,foodie_svip_deadline:"",is_refund:0,balance_agency_chain_is_open:!1,user_balance:{credit2:0,send:0,agentid:0,total_recharge:0},buttons:{show_in_mine:0},diy_mine_nav_lists:[],diy_mine_nav_img_lists:[],openRechargeCardModal:!1,card_no:"",user:null,contactShow:!1,contact_mobile:"",contact_wechat:"",is_svip:!1,svip_endtime:"",storeList:[],showStoreSelect:!1,rechargeModel:0,is_open:-1,is_close_credit:!1,is_only_brand:!1,only_brand_id:0,only_brand_balance:0,waitRechargePrice:0,isDiscountExpired:!1,memberInfo:null,enterprisePrice:0,personPrice:0,cardType:null,cType:"",myQrCodeImg:"",myQrCodeModel:!1,waitReceiveNum:0,noUseNum:0,isShowCard:!1,cardInfo:null,brandList:[],showBrandSelect:!1,btn_text:"去查看",isLogin:!1,is_invited:"",invited:"",ios_audit:""}},created:function(){this.initCustomNavBarInfo(),this.getUniacidInfo(),this.getButtonsInfo(),this.cardPrice()},methods:{getMemberMine:function(){var t=this;(0,p.getMemberMineApi)().then((function(e){t.diy_mine_nav_lists=e.lists,e.lists.length<1&&(t.page_type=1),console.log("初始化diy导航",e)})).catch((function(t){console.error("初始化diy导航失败",t)}))},getMemberMineImg:function(){var t=this;(0,p.getMemberMineImgApi)().then((function(e){t.diy_mine_nav_img_lists=e.lists,e.lists.length<1&&(t.page_type=1),console.log("初始化diy个人中心底部图片",e)})).catch((function(t){console.error("初始化diy个人中心底部图片",t)}))},initMallConfigApi:function(){var t=this;(0,p.getMallConfigApi)().then((function(e){t.page_type=e.mine_page_layout||2,console.log("初始化配置",e.ios_audit),e.ios_audit&&(t.ios_audit=e.ios_audit,uni.setStorageSync("ios_audit",e.ios_audit)),e.wx_min_app_audit&&uni.setStorageSync("wx_min_app_audit",e.wx_min_app_audit),e.dy_min_app_audit&&uni.setStorageSync("dy_min_app_audit",e.dy_min_app_audit)})).catch((function(t){console.error("初始化配置信息失败",t)}))},getMealRedpacketIndex:function(){var t=this;(0,v.getMealRedpacket)().then((function(e){console.log(e,"====套餐红包首页数据===="),t.mealRedpacket.status=e.status||null,1==e.status&&(t.mealRedpacket.canBuy=e.can_buy_meal_redpacket)})).catch((function(e){console.error("获取套餐红包首页数据失败",e),t.redPackets=[]}))},showMsg:function(){uni.showToast({title:"该功能暂未开放",icon:"none"})},getButtonsInfo:function(){var t=this;(0,h.getAuthButtonsApi)().then((function(e){t.buttons.show_in_mine=e.show_in_mine||0}))},getUserInfo:function(){var t=this;(0,l.checkUserIsLogin)().then((function(){t.isLogin=!0,(0,f.getUserInfoApi)().then((function(e){var i,a=e.userInfo;1==a.is_logistics_supplier&&uni.setStorageSync("wuliushang",1),t.is_invited=a.is_invited?1:2,t.invited=null!==(i=null===a||void 0===a?void 0:a.inviter)&&void 0!==i?i:"",uni.setStorageSync("is_invited",a.is_invited),uni.setStorageSync("invited",a.inviter);var n={};a.hasOwnProperty("avatar")&&(n["avatar"]=a.avatar),a.hasOwnProperty("mobile")&&(n["mobile"]=a.mobile),a.hasOwnProperty("nickname")&&(n["nickname"]=a.nickname),a.hasOwnProperty("uid")&&(n["uid"]=a.uid),t.userInfo=n,(0,d.setUserInfoToCache)(n),t.userAccount.redpacket=a.redpacketTotal,0==t.vuex_appType?t.userAccount.balance=a.credit2:t.userAccount.balance=a.balance||0,t.userAccount.integral=a.credit1,t.balance_agency_chain_is_open=a.balance_agency_chain_is_open,a.user_balance&&(t.user_balance=a.user_balance),t.balance_agency_chain_is_open&&t.getAbnormalOrder(),t.user=a,t.contact_mobile=a.contact_mobile,t.contact_wechat=a.contact_wechat,t.is_svip=a.svip_status,console.log("this.is_svip",t.is_svip),t.svip_endtime=a.svip_endtime,t.waitReceiveNum=a.waitReceiveNum,t.noUseNum=a.noUseNum,t.isShowCard=a.isShowCard,t.cardInfo=a.cardInfo})).catch((function(t){console.error("[mine-page]获取用户信息失败",t),(0,u.showToast)({title:"获取用户信息失败"})}))})).catch((function(){t.isLogin=!1}))},goQrCode:function(){var t={userAccount:this.userAccount,userInfo:this.userInfo,platform:this.platform};uni.navigateTo({url:"/user-info-page/user-info/qrCode?data="+encodeURIComponent(JSON.stringify(t))})},getAbnormalOrder:function(){(0,m.getAbnormalOrderApi)().then((function(t){console.log("getAbnormalOrderApi",t),t.data&&uni.showModal({title:"订单未支付",content:"您有订单未支付,请前往订单详情进行支付!",confirmText:"前往支付",showCancel:!0,success:function(t){t.confirm&&(0,c.navPage)("/tray-page/order/orderDetail")}})}))},onShowEvent:function(){this.getUserInfo(),this.getMealRedpacketIndex(),this.initMallConfigApi(),this.getMemberMine(),this.getMemberMineImg(),this.getRedpacketOpen(),this.checkSvip(),this.getRechargeModel()},getRedpacketOpen:function(){var t=this;g.default.post("api/user.home.Tianjiang/getTianJiangListNotReceiveByStudentNo",{}).then((function(e){console.log(e),e.data>0&&(t.redPacketByStudentNo=!0)})).catch((function(t){console.log("获取天降红包失败")}))},getUniacidInfo:function(){var t=this;(0,h.getUniacidInfoApi)().then((function(e){t.platform.name=e.name,t.platform.logo=e.logo,t.is_refund=e.is_refund}))},checkSvip:function(){var t=this;(0,v.checkSvipApi)().then((function(e){e.data&&(t.is_foodie_svip=!0,t.foodie_svip_deadline=e.data+"到期")}))},openBindCardModal:function(){this.openRechargeCardModal=!0},scan_button:function(){this.startScan()},startScan:function(){var t=this;uni.scanCode({success:function(e){console.log("res",e);var i=decodeURIComponent(e.result),a=i.match(/no=([^&]+)/);if(a){var n=a[1];n?t.card_no=n:(0,u.showToast)({title:"扫描失败"})}else(0,u.showToast)({title:"扫描失败"})},fail:function(t){}})},submitBind:function(){this.card_no?this.bind_card(this.card_no):(0,u.showToast)({title:"请输入卡号"})},bind_card:function(t){var e=this;(0,m.bindCardApi)(t).then((function(t){console.log("res",t),1==t.data?((0,u.showToast)({title:"绑定成功"}),e.openRechargeCardModal=!1,e.getUserInfo()):(0,u.showToast)({title:"绑定失败"})})).catch((function(t){(0,u.showToast)({title:"绑定失败"})}))},setContact:function(){var t=this;this.contact_mobile?this.contact_wechat?(0,f.setContactApi)({contact_mobile:this.contact_mobile,contact_wechat:this.contact_wechat}).then((function(e){(0,u.showToast)({title:"设置成功"}),t.contactShow=!1})).catch((function(t){(0,u.showToast)({title:"设置失败"})})):(0,u.showToast)({title:"请输入微信号码"}):(0,u.showToast)({title:"请输入电话号码"})},getRechargeModel:function(){var t=this;(0,b.getBrandChainRechargeModelApi)().then((function(e){console.log("res",e),t.is_open=e.is_open,t.brandList=e.brandList,t.is_close_credit=e.is_close_credit,t.is_only_brand=e.is_only_brand,t.only_brand_id=e.only_brand_id,t.only_brand_balance=e.only_brand_balance}))},toRecharge:function(t){this.showBrandSelect=!1,"platform"==t.type?(0,c.navPage)("/system-page/balance-recharge/index"):(0,c.navPage)("/system-page/balance-recharge/index?brand_id="+t.id)},toRechargeList:function(){-1!=this.is_open?this.is_open>0?(this.btn_text="去充值",this.showBrandSelect=!0):(0,c.navPage)("/system-page/balance-recharge/index"):uni.showModal({title:"提示",content:"充值模式暂未获取完毕,请稍后再试",showCancel:!1})},toBalanceList:function(){-1!=this.is_open?this.is_open>0?(this.btn_text="去查看",this.showBrandSelect=!0):(0,c.navPage)("/system-page/balance-list/index"):uni.showModal({title:"提示",content:"充值模式暂未获取完毕,请稍后再试",showCancel:!1})},cardPrice:function(){var t=this;(0,_.getMemberCenterInfoApi)().then((function(e){e["person"]&&e["enterprise"]&&e["person"].discount&&e["enterprise"].discount&&(t.personPrice=t.formatDiscount(+e["person"].discount),t.enterprisePrice=t.formatDiscount(+e["enterprise"].discount)),t.memberInfo=e.memberInfo,null==t.memberInfo&&t.personPrice&&t.enterprisePrice?t.isDiscountExpired=!0:(e.memberInfo.card_type&&(t.cardType=e.memberInfo.card_type),e.memberInfo.type&&(t.cType=e.memberInfo.type),t.memberInfo.deadline&&(t.isDiscountExpired=t.isExpired(t.memberInfo.deadline)))}))},isExpired:function(t){var e=new Date(1e3*t),i=new Date;return e<i},formatDiscount:function(t){var e=parseFloat(t);return e.toFixed(e===parseInt(e,10)?0:1)},myQrCode:function(){var t=this;(0,_.postMyQrCodeApi)().then((function(e){t.myQrCodeImg=e.data,t.myQrCodeModel=!0}))},formatPrice:r.formatPrice,navPage:c.navPage,copyToClipBoard:r.copyToClipBoard}};e.default=x},"6a14":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.ad-store-show-1[data-v-2d8ec84d]{position:relative;width:100%;background-color:#fff;border-radius:%?20?%;padding:%?20?%;overflow:hidden\n /* 人气推荐 start */\n /* 人气推荐 end */}.ad-store-show-1 .popularity-tag[data-v-2d8ec84d]{position:absolute;top:0;right:0;font-size:%?24?%;padding:%?6?% %?14?%;border-radius:%?0?% %?20?% %?0?% %?20?%;line-height:1}.ad-store-show-1 .store-info[data-v-2d8ec84d]{display:flex\n /* 主图信息 start */\n /* 主图信息 end */\n /* 商家、商品信息 start */\n /* 商家、商品信息 end */}.ad-store-show-1 .store-info .left-image[data-v-2d8ec84d]{position:relative;width:%?180?%;height:%?430?%}.ad-store-show-1 .store-info .left-image .product-image[data-v-2d8ec84d]{width:100%;height:100%;border-radius:%?10?%}.ad-store-show-1 .store-info .left-image .store-avatar[data-v-2d8ec84d]{position:absolute;top:%?20?%;left:%?20?%;width:%?80?%;height:%?80?%;border-radius:%?10?%;border:%?1?% solid #fff}.ad-store-show-1 .store-info .right-info[data-v-2d8ec84d]{flex:1;display:flex;flex-direction:column;margin-left:%?20?%\n /* 商家基础信息 start */\n /* 商家基础信息 start */\n /* 公告 start */\n /* 公告 end */\n /* 商品信息 start */\n /* 商品信息 end */}.ad-store-show-1 .store-info .right-info .store-title[data-v-2d8ec84d]{width:80%;font-size:%?34?%;font-weight:500}.ad-store-show-1 .store-info .right-info .store-info-base[data-v-2d8ec84d]{display:flex;align-items:center;justify-content:space-between;margin-top:%?14?%;font-size:%?20?%}.ad-store-show-1 .store-info .right-info .store-info-base .base-info[data-v-2d8ec84d]{display:flex;align-items:center}.ad-store-show-1 .store-info .right-info .store-info-base .base-info .score[data-v-2d8ec84d]{display:flex;align-items:center;color:#ffca28}.ad-store-show-1 .store-info .right-info .store-info-base .base-info .score .value[data-v-2d8ec84d]{margin-left:%?10?%}.ad-store-show-1 .store-info .right-info .store-info-base .base-info .month-sale[data-v-2d8ec84d],\n.ad-store-show-1 .store-info .right-info .store-info-base .base-info .delivery-price[data-v-2d8ec84d]{color:#aaa;margin-left:%?12?%}.ad-store-show-1 .store-info .right-info .store-info-base .delivery-time[data-v-2d8ec84d]{color:#aaa}.ad-store-show-1 .store-info .right-info .store-notice[data-v-2d8ec84d]{margin-top:%?14?%;width:100%;font-size:%?22?%;border-radius:%?6?%;padding:%?0?% %?8?%;line-height:1.8em;display:flex;align-items:center}.ad-store-show-1 .store-info .right-info .store-notice .notice-left[data-v-2d8ec84d]{flex:1;display:flex;align-items:center}.ad-store-show-1 .store-info .right-info .store-notice .notice-left .icon[data-v-2d8ec84d]{padding-right:%?8?%;position:relative;font-size:%?56?%}.ad-store-show-1 .store-info .right-info .store-notice .notice-left .icon[data-v-2d8ec84d]::before{content:"";position:absolute;width:%?1?%;height:60%;top:50%;right:%?0?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#ffa726}.ad-store-show-1 .store-info .right-info .store-notice .notice-left .data[data-v-2d8ec84d]{flex:1;padding-left:%?8?%}.ad-store-show-1 .store-info .right-info .store-notice .notice-right[data-v-2d8ec84d]{color:#080808!important;width:%?100?%;text-align:right}.ad-store-show-1 .store-info .right-info .product-data[data-v-2d8ec84d]{width:100%;margin-top:%?14?%;flex:1;display:flex;justify-content:space-between;overflow:hidden\n /* 商品item start */\n /* 商品item end */}.ad-store-show-1 .store-info .right-info .product-data .product-left[data-v-2d8ec84d]{width:60%;height:100%}.ad-store-show-1 .store-info .right-info .product-data .product-left .product-item[data-v-2d8ec84d]{width:100%;height:100%}.ad-store-show-1 .store-info .right-info .product-data .product-right[data-v-2d8ec84d]{width:calc(40% - %?20?%);height:100%;display:flex;flex-direction:column;justify-content:space-between}.ad-store-show-1 .store-info .right-info .product-data .product-right .product-item[data-v-2d8ec84d]{width:100%;height:calc(50% - %?10?%)}.ad-store-show-1 .store-info .right-info .product-data .product-item[data-v-2d8ec84d]{position:relative;border-radius:%?10?%}.ad-store-show-1 .store-info .right-info .product-data .product-item .mask[data-v-2d8ec84d]{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(hsla(0,0%,100%,.01),rgba(0,0,0,.4));z-index:2;border-radius:inherit}.ad-store-show-1 .store-info .right-info .product-data .product-item .image[data-v-2d8ec84d]{position:relative;z-index:1}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info[data-v-2d8ec84d]{position:absolute;left:0;bottom:0;width:100%;z-index:2;padding:%?6?% %?10?%;font-size:%?24?%;z-index:3;color:#fff}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price[data-v-2d8ec84d]{display:flex;align-items:flex-end}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price .price[data-v-2d8ec84d]{display:flex;align-items:center;font-size:%?32?%;font-weight:500}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price .price .unit[data-v-2d8ec84d]{font-size:%?28?%}.ad-store-show-1 .store-info .right-info .product-data .product-item .item-info .info-price .price.old[data-v-2d8ec84d]{font-size:%?28?%;margin-left:%?6?%;text-decoration:line-through;font-weight:400}',""]),t.exports=e},"6a88e":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("bf0f"),i("5c47"),i("aa9c"),i("18f7"),i("de6c");var n=a(i("74ff")),o={name:"tn-row-notice",mixins:[n.default],props:{list:{type:Array,default:function(){return[]}},show:{type:Boolean,default:!0},playStatus:{type:String,default:"play"},leftIcon:{type:Boolean,default:!0},leftIconName:{type:String,default:"sound"},leftIconSize:{type:Number,default:34},rightIcon:{type:Boolean,default:!1},rightIconName:{type:String,default:"right"},rightIconSize:{type:Number,default:26},closeBtn:{type:Boolean,default:!1},radius:{type:Number,default:0},padding:{type:String,default:"18rpx 24rpx"},autoplay:{type:Boolean,default:!0},speed:{type:Number,default:160}},computed:{fontStyle:function(){var t=this;return function(e){var i={};return i.color=t.fontColorStyle?t.fontColorStyle:"",i.fontSize=t.fontSizeStyle?t.fontSizeStyle:"","leftIcon"===e&&t.leftIconSize&&(i.fontSize=t.leftIconSize+"rpx"),"rightIcon"===e&&t.rightIconSize&&(i.fontSize=t.rightIconSize+"rpx"),"close"===e&&(i.fontSize="24rpx"),i}},noticeStyle:function(){var t={};return t.backgroundColor=this.backgroundColorStyle?this.backgroundColorStyle:"transparent",this.padding&&(t.padding=this.padding),t}},data:function(){return{textWidth:0,textBoxWidth:0,animationDuration:"10s",animationPlayState:"paused",showText:""}},watch:{list:{handler:function(t){var e=this;this.showText=t.join(","),this.$nextTick((function(){e.initNotice()}))},immediate:!0},playStatus:function(t){this.animationPlayState="play"===t?"running":"paused"},speed:function(t){this.initNotice()}},methods:{initNotice:function(){var t=this,e=[],i=new Promise((function(e,i){uni.createSelectorQuery().in(t).select("#tn-row-notice__content").boundingClientRect().exec((function(i){t.textWidth=i[0].width,e()}))}));e.push(i),Promise.all(e).then((function(){t.animationDuration="".concat(t.textWidth/uni.upx2px(t.speed),"s"),t.animationPlayState="paused",setTimeout((function(){t.autoplay&&"play"===t.playStatus&&(t.animationPlayState="running")}),10)}))},click:function(){this.$emit("click")},close:function(){this.$emit("close")},clickLeftIcon:function(){this.$emit("clickLeft")},clickRightIcon:function(){this.$emit("clickRight")}}};e.default=o},"6abd":function(t,e,i){"use strict";i.r(e);var a=i("19b2"),n=i("e3c1");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("c5e9");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"02806233",null,!1,a["a"],void 0);e["default"]=r.exports},"6ad3":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[i("center-modal",{attrs:{"cancel-text":" ","confirm-text":" ","content-no-top":!0,"content-no-padding":!0,"wrapper-width":"100%","wrapper-bg-color":"transparent","close-btn":!1},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleModalCloseEvent.apply(void 0,arguments)}},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[i("v-uni-view",{staticClass:"redpacket-wrapper"},[i("v-uni-view",{staticClass:"redpacket-content",style:{zoom:t.screenHeight<680?"0.9":"1",width:t.screenHeight<680?"80%":"90%"}},[i("v-uni-view",{staticClass:"top-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.topImage,mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"redpacket-list",style:[t.redpacketListStyle]},t._l(t.redpacketData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"redpacket-item tn-shadow"},[i("redpacket-ticket",{attrs:{data:e,size:"small"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.ticketClickEvent(a)}}},[i("template",{slot:"endtime"},[i("v-uni-view",{staticStyle:{"font-size":"24rpx","margin-top":"6rpx"}},[t._v(t._s(e.endtime))])],1)],2)],1)})),1)],1),i("v-uni-view",{staticClass:"close-btn tn-color-white"},[i("v-uni-view",{staticClass:"icon tn-icon-close-circle",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleModalCloseEvent.apply(void 0,arguments)}}})],1)],1)],1)],1)},n=[]},"6b2b":function(t,e,i){"use strict";i.r(e);var a=i("fac2"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"6b78":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-badge[data-v-24d7672c]{width:auto;height:auto;box-sizing:border-box;display:flex;align-items:center;justify-content:center;z-index:10;font-size:%?20?%;background-color:#fff;border-radius:%?100?%;padding:%?4?% %?8?%;line-height:normal}.tn-badge--dot[data-v-24d7672c]{width:%?8?%;height:%?8?%;border-radius:50%;padding:0}.tn-badge--absolute[data-v-24d7672c]{position:absolute;top:0;right:0}.tn-badge--center-position[data-v-24d7672c]{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}',""]),t.exports=e},"6b9d":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("5ef2");var a=i("941e"),n=i("262c"),o={name:"mover",data:function(){return{info:{},movieList:[]}},mounted:function(){var t=this,e=(0,n.getLocationInfoFromCache)();console.log("address",e),(0,a.regeoDetail)({lng:e.lng||1,lat:e.lat||1}).then((function(e){console.log("res",e),t.getCity(e.regeocode.addressComponent.city)})).catch((function(t){console.log(t)}))},methods:{getCity:function(t){var e=this;console.log("city",t);var i=this;(0,a.getCity1)({}).then((function(n){var o=!1;n.map((function(i,a){if(-1!=t.indexOf(i.cityName))return e.info=i,console.log("this.info",e.info),o=!0,!1})),o||(e.info.cityId=2),(0,a.getMovieOnInfoList)({ci:i.info.cityId}).then((function(t){t.map((function(t,e){t.data="";var i=new Date(t.publishTime);t.data=["周日","周一","周二","周三","周四","周五","周六"][i.getDay()]})),e.movieList=t})).catch((function(t){console.log(t)}))})).catch((function(t){console.log(t),e.loadingShow=!1}))}}};e.default=o},"6ba3":function(t,e,i){var a=i("a120");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("641e6f2a",a,!0,{sourceMap:!1,shadowMode:!1})},"6bf3":function(t,e,i){"use strict";i.r(e);var a=i("e557"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"6c73":function(t,e,i){"use strict";i.r(e);var a=i("087c"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"6cad":function(t,e,i){var a=i("4267");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("b9e34762",a,!0,{sourceMap:!1,shadowMode:!1})},"6d1f":function(t,e,i){"use strict";var a=i("001b"),n=i.n(a);n.a},"6dd3":function(t,e,i){var a=i("3a2e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("683bbbc3",a,!0,{sourceMap:!1,shadowMode:!1})},"6e6a":function(t,e,i){"use strict";i.r(e);var a=i("a720"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"6e90":function(t,e,i){"use strict";i.r(e);var a=i("a267"),n=i("2ba2");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9d6a");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"71a57327",null,!1,a["a"],void 0);e["default"]=r.exports},"6f23":function(t,e,i){"use strict";i.r(e);var a=i("67e7"),n=i("24fe");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"ac916646",null,!1,a["a"],void 0);e["default"]=r.exports},"6f31":function(t,e,i){var a=i("d340");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6828d9c6",a,!0,{sourceMap:!1,shadowMode:!1})},"6f65":function(t,e,i){"use strict";i.r(e);var a=i("3461"),n=i("1d16");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("e357");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"20c232b5",null,!1,a["a"],void 0);e["default"]=r.exports},7018:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */[data-v-4705433d]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}uni-scroll-view[data-v-4705433d] ::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}.tn-tabs__scroll-view[data-v-4705433d]{position:relative;width:100%;white-space:nowrap}.tn-tabs__scroll-view__box[data-v-4705433d]{position:relative}.tn-tabs__scroll-view__item[data-v-4705433d]{position:relative;display:inline-block;text-align:center;transition-property:background-color,color}.tn-tabs__scroll-view__item .bottom-aft[data-v-4705433d]{position:absolute;left:50%;bottom:0;margin-top:%?15?%;width:20%;height:%?8?%;background-color:#000;-webkit-transform:translate(-50%);transform:translate(-50%)}.tn-tabs__scroll-view--flex[data-v-4705433d]{display:flex;flex-direction:row;justify-content:space-between}.tn-tabs__bar[data-v-4705433d]{position:absolute;bottom:0}',""]),t.exports=e},"703c":function(t,e,i){var a=i("6b78");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("7f7eeb16",a,!0,{sourceMap:!1,shadowMode:!1})},7099:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default,tnButton:i("70bc").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{"custom-navbar":!0,"navbar-title":"购物车"}},[t.loadingShow?i("loading"):t._e(),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"cart-list",style:{paddingBottom:t.totalCount?"180rpx":"0rpx"}},[t.cartData.length>0?t._l(t.cartData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"cart-item tn-shadow",class:[{rest:1==e.isRest||0==e.isInBusiness}]},[i("v-uni-view",{staticClass:"item-top tn-border-bottom tn-border-gray--light tn-flex-center-between"},[t.isShowOneTouch?i("v-uni-checkbox",{staticClass:"round red",attrs:{disabled:0==e.isInBusiness&&1==e.isRest,checked:e.checked},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.checkedChange(e)}}}):t._e(),i("v-uni-view",{staticClass:"store-info tn-flex"},[i("v-uni-view",{staticClass:"store-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.storeLogo,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(e.storeTitle))])],1),i("v-uni-view",{staticClass:"clear-store-btn tn-color-red",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.deleteStoreShoppingCart(e.id)}}},[i("v-uni-text",{staticClass:"tn-icon-delete tn-margin-right-xs"}),t._v("删除")],1)],1),i("v-uni-view",{staticClass:"item-content"},t._l(e.data,(function(a,n){return i("v-uni-view",{key:n,staticClass:"good-data tn-flex"},[i("v-uni-view",{staticClass:"good-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:a.image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"good-info"},[i("v-uni-view",{staticClass:"good-title tn-text-ellipsis-1"},[t._v(t._s(a.title))]),a.optionTitle?i("v-uni-view",{staticClass:"good-option tn-color-gray tn-text-ellipsis-1"},[t._v(t._s(a.optionTitle))]):t._e(),i("v-uni-view",{staticClass:"good-price-num tn-flex-center-between"},[i("v-uni-view",{staticClass:"price tn-color-red"},[a.discount_price!==a.price?[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(a.discount_price))]),i("v-uni-text",{staticClass:"price tn-color-gray through"},[i("v-uni-text",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-text",{staticClass:"value"},[t._v(t._s(a.price))])],1)]:[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(a.price))])]],2),i("v-uni-view",{staticClass:"num"},[i("product-spec-number-box",{attrs:{"operation-from":"shoppingCart",type:0,sid:a.sid,"good-id":a.goodsId,"option-id":a.optionId,disabled:1==e.isRest||0==e.isInBusiness},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodsNum(e,a.goodsId)}},model:{value:a.num,callback:function(e){t.$set(a,"num",e)},expression:"goodItem.num"}})],1)],1)],1)],1)})),1),i("v-uni-view",{staticClass:"cart-other-price tn-color-gray"},[i("v-uni-view",{staticClass:"box-price"},[t._v("餐盒费"+t._s(t.CurrencyUnit)+t._s(e.boxPrice.toFixed(2)))])],1),i("v-uni-view",{staticClass:"cart-submit tn-flex-center-between"},[i("v-uni-view",{staticClass:"final-price tn-color-red"},[t._v("合计"+t._s(t.CurrencyUnit)+t._s(e.finalFee.toFixed(2)))]),i("v-uni-view",{staticClass:"operation-btn",class:[{"tn-bg-gray":1==e.isRest||0==e.isInBusiness}],style:[t.themeBtnStyle],attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navSubmitOrderPage(e)}}},[t._v("去结算")])],1)],1)})):t._e(),t.isLoadAll&&0===t.cartData.length?i("empty",{attrs:{icon:"empty-cart",tips:"购物车为空"}}):t._e()],2),t.isShowCartPart&&t.isShowOneTouch?i("v-uni-view",{staticClass:"cartPart"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"leftTop",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectAll.apply(void 0,arguments)}}},[i("v-uni-checkbox",{staticClass:"round red",attrs:{checked:t.allStatus}},[t._v("全选")])],1),i("v-uni-view",{staticClass:"totalSaller"},[t._v("共"+t._s(t.totalCount)+"个商家")])],1),i("v-uni-view",{staticClass:"priceInfo"},[i("v-uni-text",{staticClass:"tip"},[t._v("合计:"+t._s(t.CurrencyUnit)+" "+t._s(t.totalPrice))]),i("v-uni-text",{staticClass:"allTip"},[t._v("总优惠"),i("v-uni-text",{staticClass:"spSaleInfo"},[t._v(t._s(t.CurrencyUnit)+t._s(t.preferential))])],1)],1),i("v-uni-view",{staticClass:"payPart"},[i("tn-button",{attrs:{shape:"round",height:"76rpx",fontBold:!0,backgroundColor:"#ffca28"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleAllSettlement.apply(void 0,arguments)}}},[t._v("一键结算")])],1)],1):t._e(),i("technical-support")],1)],1)},o=[]},"709c":function(t,e,i){"use strict";i.r(e);var a=i("dcc2"),n=i("6b2b");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("0a1d");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"27b261f7",null,!1,a["a"],void 0);e["default"]=r.exports},"70bc":function(t,e,i){"use strict";i.r(e);var a=i("4466"),n=i("83fb");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("19a7");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1b9df1f2",null,!1,a["a"],void 0);e["default"]=r.exports},"70bd":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.redpacket-wrapper[data-v-6a02ce9a]{position:relative;width:100%\n /* 红包内容 start */\n /* 红包内容 end */\n /* 关闭按钮 start */\n /* 关闭按钮 end */}.redpacket-wrapper .redpacket-content[data-v-6a02ce9a]{position:relative;width:90%;margin:auto\n /* 红包列表 start */\n /* 红包列表 end */}.redpacket-wrapper .redpacket-content .top-image[data-v-6a02ce9a]{width:100%}.redpacket-wrapper .redpacket-content .top-image .image[data-v-6a02ce9a]{display:block;height:auto}.redpacket-wrapper .redpacket-content .redpacket-list[data-v-6a02ce9a]{background-color:#fff;padding:%?30?%}.redpacket-wrapper .redpacket-content .redpacket-list .redpacket-item + .redpacket-item[data-v-6a02ce9a]{margin-top:%?20?%}.redpacket-wrapper .close-btn[data-v-6a02ce9a]{width:100%;font-size:%?70?%;margin-top:%?30?%}.redpacket-wrapper .close-btn .icon[data-v-6a02ce9a]{margin:auto}',""]),t.exports=e},"716f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.value?i("v-uni-view",{staticClass:"ordering-information",style:[{"--navbar-height":t.navBarInfo.height+"px"}]},[t.data.banner.length>0?i("v-uni-view",{staticClass:"swiper-content"},[i("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:!0,circular:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSwiperChangeEvent.apply(void 0,arguments)}}},t._l(t.data.banner,(function(t,e){return i("v-uni-swiper-item",{key:e,staticClass:"swiper-item"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.image}})],1)],1)})),1),i("v-uni-view",{staticClass:"indicator tn-flex-row-center"},t._l(t.data.banner,(function(e,a){return i("v-uni-view",{key:a,staticClass:"indicator__item",class:[{cur:a===t.currentSwiperIndex}]})})),1)],1):t._e(),i("v-uni-view",{staticClass:"content"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[i("v-uni-view",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[t.data.data1.title?i("v-uni-view",{staticClass:"title widthFull titlePaddingTop"},[i("brilliant-title",[i("v-uni-text",[t._v(t._s(t.data.data1.title))])],1)],1):t._e(),t.data.data1.content?i("v-uni-view",{staticClass:"data widthFull"},[i("u-parse",{attrs:{content:t.data.data1.content}})],1):t._e(),t.data.data2.title?i("v-uni-view",{staticClass:"title widthFull titlePaddingTop"},[i("brilliant-title",[i("v-uni-text",[t._v(t._s(t.data.data2.title))])],1)],1):t._e(),t.data.data2.content?i("v-uni-view",{staticClass:"data widthFull"},[i("u-parse",{attrs:{content:t.data.data2.content}})],1):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"order-btn tn-cool-bg-15 tn-text-clip tn-border-red",attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleOrderEvent.apply(void 0,arguments)}}},[t._v("立即点餐")])],1):t._e()},o=[]},"718e":function(t,e,i){var a=i("67ee");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("44c835e4",a,!0,{sourceMap:!1,shadowMode:!1})},"718f":function(t,e,i){"use strict";i.r(e);var a=i("ac79"),n=i("6e6a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9a2e");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"354d1c2a",null,!1,a["a"],void 0);e["default"]=r.exports},"719c":function(t,e,i){"use strict";var a=i("549d"),n=i.n(a);n.a},"71a5":function(t,e,i){var a=i("65c3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("264816c2",a,!0,{sourceMap:!1,shadowMode:!1})},"71b3":function(t,e,i){"use strict";i.r(e);var a=i("d27f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"71df":function(t,e,i){"use strict";var a=i("81f4"),n=i.n(a);n.a},7208:function(t,e,i){"use strict";i.r(e);var a=i("72eb"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},7215:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.is_show?i("v-uni-view",{staticClass:"mine-page component-page-padding-bottom"},[t.loadingShow?i("loading"):t._e(),i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle,t.homePageNavbarStyle]},[i("v-uni-view",{staticClass:"navbar__title",style:[t.navbarContentStyle]},[t._v("吃货红包会员")])],1),i("v-uni-view",{staticClass:"bg"}),i("v-uni-view",{staticClass:"cardBox tn-flex-row-center",style:[{paddingTop:t.navBarInfo.height+10+"px"}]},[i("v-uni-view",{staticClass:"card"},[t.tcRedEnvelope.length>0?i("v-uni-view",{staticClass:"title"},[i("v-uni-text",{staticClass:"tn-icon-vip-fill",staticStyle:{"font-size":"32rpx"}}),t._v("开通会员每月可省"+t._s(Number(t.tcRedEnvelope[0].discount)*t.tcRedEnvelope.length)+"元")],1):t._e(),i("v-uni-view",{staticClass:"subtitleBox"},[i("v-uni-view",{staticClass:"subtitleLeft"},[t._v("全场通用红包")]),i("v-uni-view",{staticClass:"subtitleLine"}),t.tcRedEnvelope.length>0?i("v-uni-view",{staticClass:"subtitleRight"},[t._v("价值"+t._s(Number(t.tcRedEnvelope[0].discount)*t.tcRedEnvelope.length)+"元")]):t._e()],1),i("v-uni-view",{staticClass:"redEnvelopeBox"},[t._l(t.tcRedEnvelope,(function(e,a){return i("v-uni-view",{key:a,staticClass:"redEnvelopeItem"},[i("v-uni-view",{staticClass:"redEnvelopeItem_Bg"},[i("v-uni-view",{staticClass:"redEnvelopeItem_Bg_center"},[i("v-uni-view",{staticClass:"redEnvelopeItem_Bg_center_price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.discount))]),i("v-uni-view",{staticClass:"redEnvelopeItem_Bg_center_title"},[t._v("无门槛")])],1)],1)],1)})),t.loadingShow?t._e():i("v-uni-view",{staticStyle:{width:"100%",height:"190rpx",display:"flex","align-items":"center","justify-content":"center"}},[i("v-uni-view",{staticStyle:{width:"600rpx",height:"92rpx",color:"#fff","border-radius":"60rpx",display:"flex","justify-content":"center","align-items":"center"},style:{background:t.canBuy?"linear-gradient(to top,#FF9B4E,#F74D35)":"#9f9f9f"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.createOrderTc(t.mealRedpacket.id)}}},[i("v-uni-view",{staticStyle:{width:"600rpx",height:"48rpx",display:"flex","justify-content":"center","align-items":"flex-end"}},[i("v-uni-text",{staticStyle:{"font-size":"48rpx","font-weight":"400","padding-right":"9rpx"}},[t._v(t._s(t.CurrencyUnit)+t._s(t.mealRedpacket.data.params.new_person_price))]),i("v-uni-text",{staticStyle:{width:"auto","text-decoration":"line-through",color:"#fff","font-size":"25rpx"}},[t._v(t._s(t.CurrencyUnit)+t._s(t.mealRedpacket.data.params.price))]),i("v-uni-text",{staticStyle:{"font-size":"35rpx","padding-left":"9rpx"}},[t._v("开通一个月会员")])],1)],1)],1)],2)],1),i("v-uni-view",{staticClass:"card",staticStyle:{"padding-bottom":"35rpx","padding-top":"20rpx"}},[i("v-uni-view",{staticClass:"subtitleBox"},[t._v("低价购买会员加量包")]),i("v-uni-view",{staticClass:"prompt"},[t._v("开通会员即可购买使用")]),i("v-uni-view",{staticClass:"redEnvelopeBox"},t._l(t.jlRedEnvelope,(function(e,a){return i("v-uni-view",{staticClass:"redEnvelopeItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.createOrderJl(a,t.mealRedpacket.id)}}},[i("v-uni-view",{staticClass:"redEnvelopeItemCar"},[i("v-uni-view",{staticClass:"redEnvelopeItemCarBg"},[i("v-uni-view",{staticClass:"redEnvelopeItemCarCenter"},[i("v-uni-text",{staticClass:"redEnvelopeItemCarCenter_price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.discount))]),i("v-uni-text",{staticClass:"redEnvelopeItemCarCenter_ride"},[t._v("X")]),i("v-uni-text",{staticClass:"redEnvelopeItemCarCenter_number"},[t._v(t._s(e.number)+"张")])],1)],1)],1),i("v-uni-view",{staticClass:"redEnvelopeItemTitle"},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"redEnvelopeItemPrice"},[i("v-uni-text",{staticClass:"currentPrice"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))]),i("v-uni-text",{staticClass:"originalPrice"},[t._v(t._s(t.CurrencyUnit)+t._s(e.origin_price))])],1),i("v-uni-view",{staticClass:"activity"},[i("v-uni-view",{staticClass:"activityBg"},[t._v("限时活动")])],1)],1)})),1)],1),i("v-uni-view",{staticStyle:{width:"100%",height:"65rpx",display:"flex","align-items":"center","font-size":"31rpx","font-weight":"bold","margin-top":"20rpx"}},[t._v("会员红包膨胀专属商家")]),t.shopData.length>0?i("v-uni-view",{staticClass:"store-data",staticStyle:{"margin-bottom":"40rpx"}},t._l(t.shopData,(function(t,e){return i("v-uni-view",{key:e,staticClass:"store-item tn-shadow"},[i("store-list-item",{attrs:{store:t}})],1)})),1):t._e()],1),i("pay-select-modal",{attrs:{"order-id":t.orderId,"order-type":"mealRedpacket"},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.successPayEvent.apply(void 0,arguments)},fail:function(e){arguments[0]=e=t.$handleEvent(e),t.failPayEvent.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelPayEvent.apply(void 0,arguments)}},model:{value:t.showSelectPayWayModal,callback:function(e){t.showSelectPayWayModal=e},expression:"showSelectPayWayModal"}})],1):t._e()},o=[]},"72ae":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("aa9c");var n=a(i("dc1f")),o=i("815c"),s={options:{virtualHost:!0},props:{value:{type:String,default:""},leftIcon:{type:String,default:"search"},placholder:{type:String,default:""},buttonText:{type:String,default:"搜 索"},showbtn:{type:Boolean,default:!0},size:{type:String,default:"normal"},disabled:{type:Boolean,default:!1}},mixins:[n.default],data:function(){return{inputValue:"",updateInner:!1}},computed:{searchBoxClass:function(){var t=[];return"small"===this.size&&t.push("small"),t.join(" ")}},watch:{value:{handler:function(t){this.updateInner?this.updateInner=!1:this.inputValue=t},immediate:!0}},methods:{inputChangeEvent:function(t){var e=this,i=t.detail.value;(0,o.debounce)((function(){e.$emit("input",i),e.$emit("change",i)}),50)()},btnClickEvent:function(){var t=this;(0,o.throttle)((function(){t.$emit("search-btn-click")}),250)()}}};e.default=s},"72d3":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var a=i("419c"),n={components:{},props:{data:[Array,Object]},data:function(){return{}},mounted:function(){},methods:{handleClick:function(t){t.stock>0&&1===this.data.current_time_slot.status&&this.toDetail(t)},toDetail:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log(t,"itemitem");var e=t.sid||0,i=t.goods_id||0,n=t.activity_id||0;(0,a.navPage)("/store-page/goodsDetail/index?sid=".concat(e,"&id=").concat(i,"&activity_id=").concat(n,"&type=seckill"))},getBtnText:function(t,e){return 0===e?"已售罄":3===t?"待开始":"立即抢购"}}};e.default=n},"72d6":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.custom-switch[data-v-e16b97e4]{display:inline-flex}.box[data-v-e16b97e4]{display:flex;background-color:#dcdcdc;border-radius:%?30?%;display:inline-flex}.item[data-v-e16b97e4]{color:#aaa;justify-content:center;align-items:center;border-radius:%?30?%;width:auto;display:inline-flex;padding:%?6?% %?16?%}.item.active[data-v-e16b97e4]{background-color:#ff6a65;color:#fff}.ml-10[data-v-e16b97e4]{margin-left:%?-10?%}',""]),t.exports=e},"72eb":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("f7a5"),i("fd3c"),i("5c47"),i("a1c1"),i("2c10"),i("5ef2");var a=i("d55c"),n=i("419c"),o={options:{virtualHost:!0,styleIsolation:"shared"},props:{config:[Array,Object]},data:function(){return{rows:2,showComponent:!0,data:[],listLeg:0}},created:function(){this.init()},methods:{oneColumn:function(t){this.data=[t],this.rows=1,console.log("一行的数据===",this.data)},towColumn:function(t){this.rows=2;var e=1==this.config.type?4:5;if(t.length%2==0){var i=e-t.length%e;t.length/e>1?t.length/e==2?(console.log(t.length/e,"================bwwwww"),this.data=[t.slice(0,t.length/2),t.slice(t.length/2)]):(console.log(i,"================bwwwww"),this.data=i==e?[t.slice(0,t.length/2),t.slice(t.length/2)]:[t.slice(0,(t.length+i)/2),t.slice((t.length+i)/2)]):this.oneColumn(t)}else{var a=2-t.length%2;t.length,this.data=[t.slice(0,(t.length+a)/2),t.slice((t.length+a)/2)]}console.log("二行的数据===",this.data)},threeColumn:function(t){var e=1==this.config.type?4:5;if(console.log(t.length%3,"===========itemLength"),t.length%3==0){var i=e-t.length%e;t.length/e>2?t.length/e==3?(console.log(e,"===========list.length / 3-1"),this.data=[t.slice(0,e),t.slice(e,2*e),t.slice(2*e)]):(console.log(e,"===========list.length / 3-1"),this.data=i==e?[t.slice(0,t.length/3),t.slice(t.length/3,t.length/3*2),t.slice(t.length/3*2)]:[t.slice(0,(t.length+i)/3),t.slice((t.length+i)/3,(t.length+i)/3*2),t.slice((t.length+i)/3*2)]):this.towColumn(t)}else{var a=3-t.length%3;t.length/e>2?(t.length,this.data=[t.slice(0,(t.length+a)/3),t.slice((t.length+a)/3,(t.length+a)/3*2),t.slice((t.length+a)/3*2)]):this.towColumn(t)}},fourColumn:function(t){var e=1==this.config.type?4:5;if(t.length%4==0){t.length;t.length/e>3?this.data=[t.slice(0,e),t.slice(e,2*e),t.slice(2*e,3*e),t.slice(3*e)]:this.towColumn(t)}else{var i=4-t.length%4;t.length/e>3?this.data=[t.slice(0,(t.length+i)/4),t.slice((t.length+i)/4,(t.length+i)/4*2),t.slice((t.length+i)/4*2,(t.length+i)/4*3),t.slice((t.length+i)/4*3)]:this.towColumn(t)}},init:function(){this.config&&1===+this.config.status&&this.config.navList&&this.config.navList.length>0?this.setDataList(this.config.navList):this.getNavIconData()},splitArr:function(t){console.log(t,"========this.config"),this.rows=this.config.range_type||2,1!=this.rows&&this.rows||this.oneColumn(t),2==this.rows&&this.towColumn(t),3==this.rows&&this.threeColumn(t),4==this.rows&&this.fourColumn(t)},setDataList:function(t){if(t&&t.length>0){this.showComponent=!0;var e=t.map((function(t){return{id:t.id,title:t.title,icon:t.thumb||t.image,link:t.wxapp_link||t.link||t.url}}));this.listLeg=e.length,this.splitArr(e),console.log(e)}else this.showComponent=!1,this.data=[]},emoveWebviewPrefix:function(t){return t.replace(/^webview:/,"")},goToNav:function(t){var e=t.match(/tel:/);if(-1===t.indexOf("webview"))if(e)(0,n.navPage)(t.split("tel:")[1],"phone");else{if(console.log("url",t),-1!==t.indexOf("/pages/index/pages/template-1"))return void this.$emit("toTemplate1",t);(0,n.navPage)(t)}else{var i=this.emoveWebviewPrefix(t);uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(i))})}},getNavIconData:function(){var t=this;(0,a.getDIYNavIconDataApi)().then((function(e){t.setDataList(e.navs||[]),t.listLeg=e.navs.length})).catch((function(){t.showComponent=!1,t.data=[]}))},diyItemDataListsOne:function(t){var e,i=t,a=i.length%this.rows,n=4;return i.length>8&&(n=a?i.length/this.rows+1:i.length/this.rows),e=i.slice(0,n),e},diyItemDataListsTwo:function(t){var e,i=t,a=i.length%this.rows,n=4;return i.length>8&&(n=a?i.length/this.rows+1:i.length/this.rows),e=i.slice(n,2*n),e},diyItemDataListsThree:function(t){var e,i=t,a=i.length%this.rows,n=4;return i.length>8&&(n=a?i.length/this.rows+1:i.length/this.rows),e=i.slice(2*n),e},navPage:n.navPage}};e.default=o},7337:function(t,e,i){"use strict";i.r(e);var a=i("7099"),n=i("d8ee");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("a526");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7dcd6618",null,!1,a["a"],void 0);e["default"]=r.exports},"736c":function(t,e,i){"use strict";i.r(e);var a=i("09e3"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"73e1":function(t,e,i){"use strict";var a=i("29d8");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(a)},"747e":function(t,e,i){"use strict";i.r(e);var a=i("72ae"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},7497:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.item-mod[data-v-5163c5ad]{padding:%?20?%;border-radius:%?20?%;border:1px solid #d4d4d4;margin-right:%?20?%}',""]),t.exports=e},7527:function(t,e,i){"use strict";i.r(e);var a=i("b7e2"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"754d":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("0c26");var n=a(i("9e2f")),o={mixins:[n.default],name:"tn-input",props:{value:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:"left"},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:"color: #AAAAAA"},disabled:{type:Boolean,default:!1},maxLength:{type:Number,default:255},height:{type:Number,default:0},autoHeight:{type:Boolean,default:!0},confirmType:{type:String,default:"done"},customStyle:{type:Object,default:function(){return{}}},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"#dcdfe6"},selectOpen:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},cursorSpacing:{type:Number,default:0},selectionStart:{type:Number,default:-1},selectionEnd:{type:Number,default:-1},trim:{type:Boolean,default:!0},showConfirmBar:{type:Boolean,default:!0},showRightIcon:{type:Boolean,default:!1},rightIcon:{type:String,default:""}},computed:{inputStyle:function(){var t={};return t.minHeight=this.height?this.height+"rpx":"textarea"===this.type?this.textareaHeight+"rpx":this.inputHeight+"rpx",t=Object.assign(t,this.customStyle),t},elSelectionStart:function(){return String(this.selectionStart)},elSelectionEnd:function(){return String(this.selectionEnd)}},data:function(){return{defaultValue:this.value,inputHeight:70,textareaHeight:100,validateState:!1,focused:!1,showPassword:!1,lastValue:""}},watch:{value:function(t,e){this.defaultValue=t,t!==e&&"select"===this.type&&this.handleInput({detail:{value:t}})}},created:function(){this.$on("on-form-item-error",this.onFormItemError)},methods:{handleInput:function(t){var e=this,i=t.detail.value;this.trim&&(i=this.$tn.string.trim(i)),this.$emit("input",i),this.defaultValue=i,setTimeout((function(){e.dispatch("tn-form-item","on-form-change",i)}),40)},handleBlur:function(t){var e=this,i=t.detail.value;setTimeout((function(){e.focused=!1}),100),this.$emit("blur",i),setTimeout((function(){e.dispatch("tn-form-item","on-form-blur",i)}),40)},onFormItemError:function(t){this.validateState=t},onFocus:function(t){this.focused=!0,this.$emit("focus")},onConfirm:function(t){this.$emit("confirm",t.detail.value)},onClear:function(t){this.$emit("input","")},inputClick:function(){this.$emit("click")}}};e.default=o},"76dc":function(t,e,i){"use strict";i.r(e);var a=i("b7f2"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},7740:function(t,e,i){var a=i("70bd");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("5852f861",a,!0,{sourceMap:!1,shadowMode:!1})},7777:function(t,e,i){"use strict";i.r(e);var a=i("833e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},7815:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.search-box[data-v-1b44ba7c]{width:100%;padding:%?10?% %?10?% %?10?% %?30?%;border-radius:%?100?%\n /* small 尺寸 搜索框 start */\n /* small 尺寸 搜索框 end */}.search-box__left-icon[data-v-1b44ba7c]{font-size:%?38?%;line-height:1}.search-box__input[data-v-1b44ba7c]{flex:1;padding-left:%?10?%}.search-box__input .input[data-v-1b44ba7c]{width:100%;background-color:initial;color:#838383;font-size:inherit;padding-left:%?0?%}.search-box__btn[data-v-1b44ba7c]{padding:%?10?% %?30?%;border-radius:%?100?%}.search-box.small[data-v-1b44ba7c]{padding:%?6?% %?10?% %?6?% %?20?%}.search-box.small .search-box__left-icon[data-v-1b44ba7c]{font-size:%?28?%}.search-box.small .search-box__input[data-v-1b44ba7c]{font-size:%?24?%}.search-box.small .search-box__btn[data-v-1b44ba7c]{font-size:%?24?%;padding:%?8?% %?20?%}',""]),t.exports=e},7831:function(t,e,i){"use strict";i.r(e);var a=i("6646"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"787b":function(t,e,i){"use strict";i.r(e);var a=i("fe135"),n=i("409a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5c8a");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6d1e606a",null,!1,a["a"],void 0);e["default"]=r.exports},"787c":function(t,e,i){"use strict";var a=i("c099"),n=i.n(a);n.a},"78b4":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.searchRecordApi=e.postTuangouquanReceive=e.postTuangouquanList=e.postTuangouquanDetail=e.postStoreCouponApi=e.postStoreCollectApi=e.myStoreApi=e.joinStoreVipApi=e.isShopBusinessApi=e.getStoreVipInfoApi=e.getStoreTangshiGoodsListApi=e.getStoreShoppingCartDataApi=e.getStoreInfoApi=e.getStoreGoodsListApi=e.getStoreCommentListApi=e.getOrderDinnerStoreListApi=e.getOrderDinnerStoreIdApi=e.getMyCommentListApi=e.getIsBrandStoreApi=e.getFaviateBrandStoreListApi=e.getCodeInfoByCodeApi=e.getClassChild=e.getCategorys=e.getBrandStoreListApi=e.getBrandMasterApi=e.getBrandGoodsApi=e.getBrandApi=e.delCommentApi=void 0,i("5c47"),i("af8f");var n=a(i("7653"));e.getStoreInfoApi=function(t){var e=t.sid,i=t.table_id,a=t.storeCode,o=t.brand;return n.default.get("api/user.store.store/index",{sid:e,table_id:i,storeCode:a,brand:o})};e.getStoreVipInfoApi=function(t){return n.default.get("api/user.store.store/storeVip",t)};e.joinStoreVipApi=function(t){return n.default.post("api/user.store.store/joinStoreVip",t)};e.getStoreGoodsListApi=function(t){var e=t.sid,i=t.search,a=t.orderId,o=t.cid,s=t.child_id,r=t.page,c=t.is_api_shop,d=t.storeCode,l=t.api_brand,u=t.order_type,f=t.encrypted_data,p=t.write_off_type,v=t.is_promotion,h=t.goodsC,g=t.chrid,m=t.is_takeout,b=t.version,_=t.psize,w=t.slide,x=t.offset;return n.default.get("api/user.store.goods/goods",{sid:e,child_id:s||"",search:i||"",order_id:a||"",cid:o||"",page:r||1,is_api_shop:c||"",storeCode:d||"",api_brand:l||"",order_type:u||"",encrypted_data:f||"",write_off_type:p||"",is_promotion:v||-1,goodsC:h,chrid:g||"",is_takeout:m>=0?m:-1,version:b||"",psize:_||"",slide:w||"",offset:x||""})};e.getStoreShoppingCartDataApi=function(t){var e=t.sid,i=t.tableId,a=t.encrypted_data,o=t.is_takeout;return n.default.get("api/user.store.goods/cartIndex",{sid:e,table_id:i||"",encrypted_data:a||"",is_takeout:o>=0?o:-1})};e.getStoreCommentListApi=function(t){var e=t.sid,i=t.type,a=t.note,o=t.page,s=t.pSize;return n.default.get("api/user.store.store/comment",{sid:e,type:i||"",note:a||0,page:o,psize:s})};e.getMyCommentListApi=function(t){var e=t.page,i=t.pSize;return n.default.get("api/user.store.store/myComment",{page:e,psize:i})};e.delCommentApi=function(t){return n.default.post("api/user.store.store/delComment",t)};e.getStoreTangshiGoodsListApi=function(t){var e=t.sid,i=t.search,a=t.tableId,o=t.clear;return n.default.get("api/user.store.table/goods",{sid:e,search:i||"",table_id:a,clear:o||!1})};e.postStoreCouponApi=function(t){var e=t.sid;return n.default.post("api/user.channel.coupon/receive",{sid:e})};e.postStoreCollectApi=function(t){var e=t.sid,i=t.type,a=t.storeCode;return n.default.get("api/user.member.favorite/operate",{sid:e,type:i,storeCode:a})};e.getCategorys=function(t){var e=t.template_id;return n.default.get("api/user.store.goods/plugin_categorys",{template_id:e})};e.getClassChild=function(t){var e=t.cid;return n.default.get("api/user.store.goods/plugin_goods",{cid:e})};e.getOrderDinnerStoreListApi=function(t){return n.default.get("api/user.store.store/getOrderDinnerStoreList",t)};e.getOrderDinnerStoreIdApi=function(t){return n.default.get("api/user.store.store/getOrderDinnerStoreId",t)};e.getBrandApi=function(t){return n.default.get("api/user.store.store/getBrand?sid="+t)};e.getCodeInfoByCodeApi=function(t){return n.default.get("api/user.store.store/getCodeInfo?code="+t,{})};e.searchRecordApi=function(t){return n.default.post("api/user.tuangouquan.write_off/searchRecords",t)};e.getIsBrandStoreApi=function(t){return n.default.get("api/user.store.store/getIsBrandStore?sid="+t)};e.getBrandStoreListApi=function(t){return n.default.post("api/user.store.store/getBrandStoreList",t)};e.getFaviateBrandStoreListApi=function(t){return n.default.get("api/user.store.store/getFaviateBrandStoreList",t)};e.getBrandMasterApi=function(t){return n.default.get("api/user.appointment.index/index?sid="+t)};e.getBrandGoodsApi=function(t){return n.default.get("api/user.appointment.index/goods?sid="+t)};e.myStoreApi=function(){return n.default.get("api/user.store.store/myStore")};e.postTuangouquanList=function(t){return n.default.post("api/user.tuangouquan.index/index",t)};e.postTuangouquanReceive=function(t){return n.default.post("api/user.tuangouquan.index/receive",t)};e.postTuangouquanDetail=function(t){return n.default.post("api/user.tuangouquan.index/detail",t)};e.isShopBusinessApi=function(t){return n.default.get("api/user.store.store/isShopBusiness?sid="+t)}},"795c":function(t,e,i){"use strict";var a=i("8bdb"),n=i("db04").start,o=i("73e1");a({target:"String",proto:!0,forced:o},{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},7970:function(t,e,i){"use strict";i.r(e);var a=i("fea7"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},7976:function(t,e,i){"use strict";var a=i("5601"),n=i.n(a);n.a},"79ad":function(t,e,i){"use strict";i.r(e);var a=i("2999"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"7a95":function(t,e,i){"use strict";var a=i("df4a"),n=i.n(a);n.a},"7ab6":function(t,e,i){"use strict";i.r(e);var a=i("bc85"),n=i("87e4");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("0d68");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"5163c5ad",null,!1,a["a"],void 0);e["default"]=r.exports},"7b3b":function(t,e,i){var a=i("7c8d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("df1663c6",a,!0,{sourceMap:!1,shadowMode:!1})},"7c5c":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-load-more__wrap[data-v-1da58fe4]{background-color:initial;display:flex;flex-direction:row;justify-content:center;align-items:center;color:#080808}.tn-load-more__line[data-v-1da58fe4]{vertical-align:middle;border:1px solid #080808;width:%?50?%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.tn-load-more__content[data-v-1da58fe4]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0 %?12?%}.tn-load-more__content--more[data-v-1da58fe4]{position:relative}.tn-load-more__loading[data-v-1da58fe4]{margin-right:%?8?%}.tn-load-more__loading__icon[data-v-1da58fe4]{display:flex;flex-direction:row;justify-content:center;align-items:center}.tn-load-more__text[data-v-1da58fe4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:%?30?%}.tn-load-more__text--dot[data-v-1da58fe4]{font-size:%?28?%}',""]),t.exports=e},"7c8d":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.box[data-v-02806233]{width:100%;height:100%;position:absolute;top:0;z-index:111}.bubble[data-v-02806233]{-webkit-animation-name:ascend;animation-name:ascend;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;bottom:60px;-webkit-transform:translateY(100%);transform:translateY(100%);z-index:1;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/bubbles-min.png)}.bubble[data-v-02806233]:nth-child(0){opacity:1;border-radius:100%;position:absolute;right:11%;bottom:37px;width:42px;height:42px;-webkit-animation:moveToTop-data-v-02806233 7.175s ease-in-out -3.6545s infinite;animation:moveToTop-data-v-02806233 7.175s ease-in-out -3.6545s infinite}.bubble[data-v-02806233]:nth-child(1){opacity:1;border-radius:100%;position:absolute;right:80%;bottom:47px;width:60px;height:60px;-webkit-animation:moveToTop-data-v-02806233 9.506s ease-in-out -4.4995s infinite;animation:moveToTop-data-v-02806233 9.506s ease-in-out -4.4995s infinite}.bubble[data-v-02806233]:nth-child(2){opacity:1;border-radius:100%;position:absolute;right:39%;bottom:54px;width:48px;height:48px;-webkit-animation:moveToTop-data-v-02806233 9.58s ease-in-out -4.437s infinite;animation:moveToTop-data-v-02806233 9.58s ease-in-out -4.437s infinite}.bubble[data-v-02806233]:nth-child(3){opacity:1;border-radius:100%;position:absolute;right:49%;bottom:32px;width:8px;height:8px;-webkit-animation:moveToTop-data-v-02806233 10.991s ease-in-out -3.597s infinite;animation:moveToTop-data-v-02806233 10.991s ease-in-out -3.597s infinite}.bubble[data-v-02806233]:nth-child(4){opacity:1;border-radius:100%;position:absolute;right:98%;bottom:56px;width:20px;height:20px;-webkit-animation:moveToTop-data-v-02806233 9.706s ease-in-out -3.0115s infinite;animation:moveToTop-data-v-02806233 9.706s ease-in-out -3.0115s infinite}.bubble[data-v-02806233]:nth-child(5){opacity:1;border-radius:100%;position:absolute;right:51%;bottom:28px;width:4px;height:4px;-webkit-animation:moveToTop-data-v-02806233 5.832s ease-in-out -3.0435s infinite;animation:moveToTop-data-v-02806233 5.832s ease-in-out -3.0435s infinite}.bubble[data-v-02806233]:nth-child(6){opacity:1;border-radius:100%;position:absolute;right:98%;bottom:42px;width:10px;height:10px;-webkit-animation:moveToTop-data-v-02806233 3.421s ease-in-out -4.04s infinite;animation:moveToTop-data-v-02806233 3.421s ease-in-out -4.04s infinite}.bubble[data-v-02806233]:nth-child(7){opacity:1;border-radius:100%;position:absolute;right:69%;bottom:33px;width:19px;height:19px;-webkit-animation:moveToTop-data-v-02806233 3.069s ease-in-out -1.772s infinite;animation:moveToTop-data-v-02806233 3.069s ease-in-out -1.772s infinite}.bubble[data-v-02806233]:nth-child(8){opacity:1;border-radius:100%;position:absolute;right:36%;bottom:21px;width:40px;height:40px;-webkit-animation:moveToTop-data-v-02806233 6.212s ease-in-out -4.2315s infinite;animation:moveToTop-data-v-02806233 6.212s ease-in-out -4.2315s infinite}.bubble[data-v-02806233]:nth-child(9){opacity:1;border-radius:100%;position:absolute;right:74%;bottom:46px;width:27px;height:27px;-webkit-animation:moveToTop-data-v-02806233 4.006s ease-in-out -4.2215s infinite;animation:moveToTop-data-v-02806233 4.006s ease-in-out -4.2215s infinite}.bubble[data-v-02806233]:nth-child(10){opacity:1;border-radius:100%;position:absolute;right:57%;bottom:18px;width:60px;height:60px;-webkit-animation:moveToTop-data-v-02806233 8.058s ease-in-out -.904s infinite;animation:moveToTop-data-v-02806233 8.058s ease-in-out -.904s infinite}.bubble[data-v-02806233]:nth-child(11){opacity:1;border-radius:100%;position:absolute;right:60%;bottom:1px;width:37px;height:37px;-webkit-animation:moveToTop-data-v-02806233 6.907s ease-in-out -.5785s infinite;animation:moveToTop-data-v-02806233 6.907s ease-in-out -.5785s infinite}.bubble[data-v-02806233]:nth-child(12){opacity:1;border-radius:100%;position:absolute;right:62%;bottom:36px;width:21px;height:21px;-webkit-animation:moveToTop-data-v-02806233 11.412s ease-in-out -7ms infinite;animation:moveToTop-data-v-02806233 11.412s ease-in-out -7ms infinite}.bubble[data-v-02806233]:nth-child(13){opacity:1;border-radius:100%;position:absolute;right:72%;bottom:6px;width:57px;height:57px;-webkit-animation:moveToTop-data-v-02806233 7.173s ease-in-out -.2735s infinite;animation:moveToTop-data-v-02806233 7.173s ease-in-out -.2735s infinite}.bubble[data-v-02806233]:nth-child(14){opacity:1;border-radius:100%;position:absolute;right:33%;bottom:21px;width:18px;height:18px;-webkit-animation:moveToTop-data-v-02806233 7.364s ease-in-out -1.32s infinite;animation:moveToTop-data-v-02806233 7.364s ease-in-out -1.32s infinite}.bubble[data-v-02806233]:nth-child(15){opacity:1;border-radius:100%;position:absolute;right:27%;bottom:30px;width:6px;height:6px;-webkit-animation:moveToTop-data-v-02806233 3.78s ease-in-out -.285s infinite;animation:moveToTop-data-v-02806233 3.78s ease-in-out -.285s infinite}.bubble[data-v-02806233]:nth-child(16){opacity:1;border-radius:100%;position:absolute;right:16%;bottom:2px;width:30px;height:30px;-webkit-animation:moveToTop-data-v-02806233 3.924s ease-in-out -2.713s infinite;animation:moveToTop-data-v-02806233 3.924s ease-in-out -2.713s infinite}.bubble[data-v-02806233]:nth-child(17){opacity:1;border-radius:100%;position:absolute;right:38%;bottom:32px;width:34px;height:34px;-webkit-animation:moveToTop-data-v-02806233 5.127s ease-in-out -4.108s infinite;animation:moveToTop-data-v-02806233 5.127s ease-in-out -4.108s infinite}.bubble[data-v-02806233]:nth-child(18){opacity:1;border-radius:100%;position:absolute;right:99%;bottom:22px;width:41px;height:41px;-webkit-animation:moveToTop-data-v-02806233 11.273s ease-in-out -2.4505s infinite;animation:moveToTop-data-v-02806233 11.273s ease-in-out -2.4505s infinite}.bubble[data-v-02806233]:nth-child(19){opacity:1;border-radius:100%;position:absolute;right:48%;bottom:39px;width:46px;height:46px;-webkit-animation:moveToTop-data-v-02806233 10.886s ease-in-out -4.146s infinite;animation:moveToTop-data-v-02806233 10.886s ease-in-out -4.146s infinite}.bubble[data-v-02806233]:nth-child(20){opacity:1;border-radius:100%;position:absolute;right:79%;bottom:17px;width:45px;height:45px;-webkit-animation:moveToTop-data-v-02806233 8.066s ease-in-out -1.7455s infinite;animation:moveToTop-data-v-02806233 8.066s ease-in-out -1.7455s infinite}@-webkit-keyframes moveToTop-data-v-02806233{70%{opacity:.05}100%{opacity:.01;-webkit-transform:translate(-50%,-180px) scale(.3);transform:translate(-50%,-180px) scale(.3)}}@keyframes moveToTop-data-v-02806233{70%{opacity:.05}100%{opacity:.01;-webkit-transform:translate(-50%,-180px) scale(.3);transform:translate(-50%,-180px) scale(.3)}}',""]),t.exports=e},"7c9c":function(t,e,i){var a=i("cfc4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("d06ed250",a,!0,{sourceMap:!1,shadowMode:!1})},"7caf":function(t,e,i){"use strict";i.r(e);var a=i("35ca"),n=i("dc4e");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"41c98419",null,!1,a["a"],void 0);e["default"]=r.exports},"7cc1":function(t,e,i){var a=i("5ff9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("b2eb876a",a,!0,{sourceMap:!1,shadowMode:!1})},"7cdd":function(t,e,i){"use strict";i.r(e);var a=i("1138"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"7d42":function(t,e,i){"use strict";i.r(e);var a=i("98c1"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"7dc5c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-input-class tn-input",class:{"tn-input--border":t.border,"tn-input--error":t.validateState},style:{padding:"0 "+(t.border?20:0)+"rpx",borderColor:t.borderColor,textAlign:t.inputAlign},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.inputClick.apply(void 0,arguments)}}},["textarea"===t.type?i("v-uni-textarea",{staticClass:"tn-input__input tn-input__textarea",style:[t.inputStyle],attrs:{value:t.defaultValue,placeholder:t.placeholder,placeholderStyle:t.placeholderStyle,disabled:t.disabled||"select"===t.type,maxlength:t.maxLength,fixed:t.fixed,focus:t.focus,autoHeight:t.autoHeight,selectionStart:t.elSelectionStart,selectionEnd:t.elSelectionEnd,cursorSpacing:t.cursorSpacing,showConfirmBar:t.showConfirmBar},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.handleInput.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBlur.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}}):i("v-uni-input",{staticClass:"tn-input__input",style:[t.inputStyle],attrs:{type:"password"===t.type?"text":t.type,value:t.defaultValue,password:"password"===t.type&&!t.showPassword,placeholder:t.placeholder,placeholderStyle:t.placeholderStyle,disabled:t.disabled||"select"===t.type,maxlength:t.maxLength,focus:t.focus,confirmType:t.confirmType,selectionStart:t.elSelectionStart,selectionEnd:t.elSelectionEnd,cursorSpacing:t.cursorSpacing,showConfirmBar:t.showConfirmBar},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.handleInput.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBlur.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"tn-input__right-icon tn-flex tn-flex-col-center"},[t.clearable&&""!==t.value&&t.focused?i("v-uni-view",{staticClass:"tn-input__right-icon__item tn-input__right-icon__clear",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClear.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"icon tn-icon-close"})],1):"text"===t.type&&!t.focused&&t.showRightIcon&&""!==t.rightIcon?i("v-uni-view",{staticClass:"tn-input__right-icon__item tn-input__right-icon__clear"},[i("v-uni-view",{staticClass:"icon",class:["tn-icon-"+t.rightIcon]})],1):t._e(),t.passwordIcon&&"password"===t.type?i("v-uni-view",{staticClass:"tn-input__right-icon__item tn-input__right-icon__clear",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!t.showPassword}}},[t.showPassword?i("v-uni-view",{staticClass:"icon tn-icon-eye"}):i("v-uni-view",{staticClass:"tn-icon-eye-hide"})],1):t._e(),"select"===t.type?i("v-uni-view",{staticClass:"tn-input__right-icon__item tn-input__right-icon__select",class:{"tn-input__right-icon__select--reverse":t.selectOpen}},[i("v-uni-view",{staticClass:"icon tn-icon-up-triangle"})],1):t._e()],1)],1)},n=[]},"7e1c":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{value:{type:Boolean,default:!1},leftText:{type:String,default:"关闭"},rightText:{type:String,default:"开启"}},data:function(){return{open:!1}},watch:{value:{handler:function(t){this.open=t,console.log(t,"dadadadad")},immediate:!0}},methods:{handleToggle:function(t){this.open=t,this.$emit("input",t)}}};e.default=a},"7e35":function(t,e,i){"use strict";var a=i("ffa4"),n=i.n(a);n.a},"7e56":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"container"},[e("v-uni-view",{staticClass:"pull-guide",style:{paddingTop:this.top+"px"}},[e("v-uni-view",{staticClass:"red-packet",style:{height:220-this.top+"px"}},[e("v-uni-image",{attrs:{src:this.image,mode:"heightFix"}})],1),e("v-uni-view",{staticClass:"desc"},[this._v("下拉进入二楼")]),e("v-uni-view",{staticClass:"rope"},[e("v-uni-image",{staticClass:"direction",attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAMJJREFUWEftlEsOhEAIROFmerLRk+nNmDChE+JnCnDhht7aXTwLCqaXD79cnxqgHWgHoAMiMhHRxMxLJrIiovd3Zt7/vYsAqNDHRGYkaMCb3V8ROARQIRFRQXVCz62o/fWAhcVVLARgEN6Jk3ileArgAkL7O2ccupqFsAPjsfVYbR4t8bpwRo4QaQAHEpoLlJwygFlfiqiHggC9BzJTXokibIEbut4DPzN6D/gMVyOa2gNokz39Hk7B00J37xugHWgHvvhxfiHxcR01AAAAAElFTkSuQmCC",mode:"scaleToFill"}})],1)],1)],1)},n=[]},"7e8c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"tn-checkbox-group-class tn-checkbox-group",style:{display:this.isFlex?"flex":"",flexWrap:this.isFlex?"wrap":""}},[this._t("default")],2)},n=[]},"7f0a":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={options:{virtualHost:!0},props:{leftIcon:{type:String,default:"science"},rightIcon:{type:String,default:"science"},color:{type:String,default:"tn-cool-bg-1"},isLoading:{type:Boolean,default:!1}},data:function(){return{}}};e.default=a},"7f1a":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.ad-wrapper[data-v-2403f2fa]{position:relative;width:100%\n /* 轮播图 start */\n /* 轮播图 end */\n /* 轮播指示器 start */\n /* 轮播指示器 end */\n /* 关闭按钮 start */\n /* 关闭按钮 end */}.ad-wrapper .swiper-data[data-v-2403f2fa]{position:relative;width:%?690?%;height:%?966?%;margin:%?0?% auto;border-radius:%?30?%;overflow:hidden}.ad-wrapper .swiper-data .swiper[data-v-2403f2fa], .ad-wrapper .swiper-data .swiper-item[data-v-2403f2fa]{width:100%;height:100%;border-radius:%?30?%}.ad-wrapper .swiper-indicator[data-v-2403f2fa]{position:relative;-webkit-transform:translateY(%?-40?%);transform:translateY(%?-40?%)}.ad-wrapper .swiper-indicator .indicator-item[data-v-2403f2fa]{width:%?16?%;height:%?16?%;border-radius:50%;background-color:hsla(0,0%,100%,.5);transition:width ease .25s}.ad-wrapper .swiper-indicator .indicator-item.cur[data-v-2403f2fa]{width:%?32?%;border-radius:%?20?%;background-color:#fff}.ad-wrapper .swiper-indicator .indicator-item + .indicator-item[data-v-2403f2fa]{margin-left:%?10?%}.ad-wrapper .close-btn[data-v-2403f2fa]{width:100%;font-size:%?70?%;margin-top:%?30?%}.ad-wrapper .close-btn .icon[data-v-2403f2fa]{margin:auto}',""]),t.exports=e},"7f8de":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnRowNotice:i("6620").default,tnColumnNotice:i("3b5a").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showNotice?i("v-uni-view",{staticClass:"tn-notice-bar-class tn-notice-bar",style:{borderRadius:t.radius+"rpx"}},["horizontal"===t.mode&&t.circular?[i("tn-row-notice",{attrs:{backgroundColor:t.backgroundColor,fontColor:t.fontColor,fontSize:t.fontSize,fontUnit:t.fontUnit,list:t.list,show:t.show,playStatus:t.playStatus,leftIcon:t.leftIcon,leftIconName:t.leftIconName,leftIconSize:t.leftIconSize,rightIcon:t.rightIcon,rightIconName:t.rightIconName,rightIconSize:t.rightIconSize,closeBtn:t.closeBtn,autoplay:t.autoplay,radius:t.radius,padding:t.padding,speed:t.speed},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},clickLeft:function(e){arguments[0]=e=t.$handleEvent(e),t.clickLeftIcon.apply(void 0,arguments)},clickRight:function(e){arguments[0]=e=t.$handleEvent(e),t.clickRightIcon.apply(void 0,arguments)}}})]:t._e(),"vertical"===t.mode||"horizontal"===t.mode&&!t.circular?[i("tn-column-notice",{attrs:{backgroundColor:t.backgroundColor,fontColor:t.fontColor,fontSize:t.fontSize,fontUnit:t.fontUnit,list:t.list,show:t.show,mode:t.mode,playStatus:t.playStatus,leftIcon:t.leftIcon,leftIconName:t.leftIconName,leftIconSize:t.leftIconSize,rightIcon:t.rightIcon,rightIconName:t.rightIconName,rightIconSize:t.rightIconSize,closeBtn:t.closeBtn,autoplay:t.autoplay,radius:t.radius,padding:t.padding,duration:t.duration,textSize:t.textSize},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},clickLeft:function(e){arguments[0]=e=t.$handleEvent(e),t.clickLeftIcon.apply(void 0,arguments)},clickRight:function(e){arguments[0]=e=t.$handleEvent(e),t.clickRightIcon.apply(void 0,arguments)},end:function(e){arguments[0]=e=t.$handleEvent(e),t.end.apply(void 0,arguments)},updateIndex:function(e){arguments[0]=e=t.$handleEvent(e),t.updateIndex.apply(void 0,arguments)}}})]:t._e()],2):t._e()},o=[]},"7f91":function(t,e,i){"use strict";var a=i("45cc"),n=i.n(a);n.a},"7fb8":function(t,e,i){"use strict";i.r(e);var a=i("d431"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"7fc1":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.box[data-v-027aede8]{position:relative;padding-bottom:%?120?%}.modal[data-v-027aede8]{\n /* 查看领取卡劵 */}.modal__title[data-v-027aede8]{position:absolute;top:0;left:0;width:100%;height:%?120?%;line-height:%?120?%;font-size:%?36?%;font-weight:700;text-align:center;background:linear-gradient(180deg,#fae8d4,#fff 80%,#fff);color:#e98a33}.modal__receive-btn[data-v-027aede8]{position:absolute;left:0;bottom:%?80?%;bottom:calc(constant(safe-area-inset-bottom) + %?80?%);bottom:calc(env(safe-area-inset-bottom) + %?80?%);width:100%;padding:%?26?%;background-color:#eb4d3d;color:#fff;border-radius:%?10?%;display:flex;align-items:center;justify-content:center;margin:0}.modal__view-collect[data-v-027aede8]{position:absolute;left:50%;bottom:%?30?%;bottom:calc(constant(safe-area-inset-bottom) + %?30?%);bottom:calc(env(safe-area-inset-bottom) + %?30?%);-webkit-transform:translateX(-50%);transform:translateX(-50%);color:#868686;font-size:%?24?%}.modal__view-collect .icon[data-v-027aede8]{margin-left:%?8?%}.modal__redpacket-list[data-v-027aede8]{margin-top:%?70?%;margin-bottom:%?90?%;max-height:%?750?%;overflow-y:auto}.modal__redpacket-list .redpacket-item[data-v-027aede8]{position:relative;width:100%;height:%?160?%;border-radius:%?20?%;overflow:hidden;background:radial-gradient(circle at right top,transparent %?10?%,#fae2de 0) 0 0/30% 51% no-repeat,radial-gradient(circle at right bottom,transparent %?10?%,#fae2de 0) 0 100%/30% 51% no-repeat,radial-gradient(circle at left top,transparent %?10?%,#fae2de 0,#fceeea 100%) 100% 0/70% 51% no-repeat,radial-gradient(circle at left bottom,transparent %?10?%,#fae2de 0,#fceeea 100%) 100% 100%/70% 51% no-repeat\n /* 支付宝标识 */\n /* 已领取水印 */\n /* 左边顶部标题 */\n /* 红包价格 */\n /* 右边容器信息 */}.modal__redpacket-list .redpacket-item[data-v-027aede8]::after{content:"";position:absolute;left:30%;top:%?10?%;width:%?1?%;height:calc(100% - %?20?%);border-right:%?1?% dashed #e3bac0;box-sizing:border-box}.modal__redpacket-list .redpacket-item .alpay-logotype-bg[data-v-027aede8]{position:absolute;top:%?-50?%;right:%?-50?%;font-size:%?280?%;line-height:1;color:#fae2de;opacity:.6}.modal__redpacket-list .redpacket-item .claimed-watermark[data-v-027aede8]{position:absolute;right:%?4?%;bottom:%?-30?%;width:%?120?%;height:%?120?%}.modal__redpacket-list .redpacket-item .redpacket-title[data-v-027aede8]{position:absolute;left:15%;top:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:#eb4e40;color:#fff;font-weight:700;font-size:%?20?%;padding:%?6?%;border-radius:%?0?% %?0?% %?10?% %?10?%}.modal__redpacket-list .redpacket-item .redpacket-price[data-v-027aede8]{position:absolute;left:0;top:0;width:30%;height:100%;display:flex;align-items:center;justify-content:center;line-height:1;color:#eb4e40;vertical-align:bottom}.modal__redpacket-list .redpacket-item .redpacket-price__content[data-v-027aede8]{display:flex;align-items:flex-end}.modal__redpacket-list .redpacket-item .redpacket-price__content.multi-price .price-value[data-v-027aede8]{font-size:%?46?%}.modal__redpacket-list .redpacket-item .redpacket-price__content.multi-price .price-unit[data-v-027aede8]{-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.modal__redpacket-list .redpacket-item .redpacket-price .price-value[data-v-027aede8]{font-size:%?66?%;font-weight:700}.modal__redpacket-list .redpacket-item .redpacket-price .price-unit[data-v-027aede8]{font-size:%?28?%;margin-left:%?8?%;-webkit-transform:translateY(%?-8?%);transform:translateY(%?-8?%)}.modal__redpacket-list .redpacket-item .redpacket-right-container[data-v-027aede8]{position:absolute;left:30%;top:0;width:70%;padding:%?30?%;padding-left:%?20?%;display:flex;align-items:center;justify-content:space-between}.modal__redpacket-list .redpacket-item .redpacket-right-container .left .company[data-v-027aede8]{display:flex;align-items:center}.modal__redpacket-list .redpacket-item .redpacket-right-container .left .company .image[data-v-027aede8]{width:%?30?%;height:%?30?%}.modal__redpacket-list .redpacket-item .redpacket-right-container .left .company .company-name[data-v-027aede8]{color:#736769;margin-left:%?6?%;line-height:1;font-size:%?24?%}.modal__redpacket-list .redpacket-item .redpacket-right-container .left .title[data-v-027aede8]{font-size:%?28?%;color:#3d3336;margin-top:%?10?%}.modal__redpacket-list .redpacket-item .redpacket-right-container .left .condition[data-v-027aede8]{font-size:%?20?%;color:#b0a2a7;margin-top:%?6?%}.modal__redpacket-list .redpacket-item .redpacket-right-container .right[data-v-027aede8]{display:flex;flex-direction:column;align-items:center;justify-content:center}.modal__redpacket-list .redpacket-item .redpacket-right-container .right .to-use[data-v-027aede8]{padding:%?10?% %?16?%;background-color:#fff;border:%?1?% solid #d9513f;color:#d9513f;border-radius:%?10?%;font-size:%?24?%;line-height:1}.modal__redpacket-list .redpacket-item .redpacket-right-container .right .expired-date[data-v-027aede8]{margin-top:%?6?%;font-size:%?20?%;color:#b0a2a7;margin-top:%?8?%}.modal__redpacket-list .redpacket-item + .redpacket-item[data-v-027aede8]{margin-top:%?30?%}',""]),t.exports=e},"80db":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-lazy-load-class tn-lazy-load"},[i("v-uni-view",{staticClass:"tn-lazy-load__item",class:["tn-lazy-load__item--"+t.elIndex],staticStyle:{color:"#aaaaaa !important"},style:[t.lazyLoadItemStyle]},[i("v-uni-view",{staticClass:"tn-lazy-load__item__content"},[t.error?i("v-uni-image",{staticClass:"tn-lazy-load__item__image tn-lazy-load__item__image--error",style:[t.imageStyle],attrs:{src:t.errorImg,mode:t.imgMode},on:{load:function(e){arguments[0]=e=t.$handleEvent(e),t.handleErrorImgLoaded.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleImgClick.apply(void 0,arguments)}}}):i("v-uni-image",{staticClass:"tn-lazy-load__item__image",style:[t.imageStyle],attrs:{src:t.show?t.src:t.loadingImg,mode:t.imgMode},on:{load:function(e){arguments[0]=e=t.$handleEvent(e),t.handleImgLoaded.apply(void 0,arguments)},error:function(e){arguments[0]=e=t.$handleEvent(e),t.handleImgError.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleImgClick.apply(void 0,arguments)}}})],1)],1)],1)},n=[]},"81f4":function(t,e,i){var a=i("33ab");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("e041a114",a,!0,{sourceMap:!1,shadowMode:!1})},"824f":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.mover[data-v-375218ae]{width:%?690?%;height:%?504?%;background:#fff;border-radius:%?16?%;margin:0 auto %?30?%;padding:%?20?% %?26?% %?24?%}.mover > uni-view[data-v-375218ae]:nth-of-type(1){display:flex;align-items:center;justify-content:space-between;margin-bottom:%?30?%}.mover > uni-view:nth-of-type(1) > uni-view[data-v-375218ae]:nth-of-type(1){font-size:%?36?%;color:#000;letter-spacing:%?4?%;font-weight:700}.mover > uni-view:nth-of-type(1) > uni-view:nth-of-type(1) > span[data-v-375218ae]{color:#e10f07}.mover > uni-view:nth-of-type(1) > uni-view[data-v-375218ae]:nth-of-type(2){font-size:%?24?%;color:#686867;display:flex;align-items:center}.mover > uni-view:nth-of-type(1) > uni-view:nth-of-type(2) > uni-image[data-v-375218ae]{width:%?20?%;height:%?20?%}.mover > uni-view:nth-of-type(2) .scroll_c[data-v-375218ae]{white-space:nowrap;width:100%}.mover > uni-view:nth-of-type(2) .scroll_c .scroll_item[data-v-375218ae]{display:inline-block;margin-right:%?10?%}.mover > uni-view:nth-of-type(2) .scroll_c .scroll_item > uni-image[data-v-375218ae]{width:%?188?%;height:%?258?%}.mover > uni-view:nth-of-type(2) .scroll_c .scroll_item > uni-view[data-v-375218ae]:nth-of-type(1){width:%?188?%;font-size:%?28?%;color:#333;margin:%?20?% 0 %?16?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mover > uni-view:nth-of-type(2) .scroll_c .scroll_item > uni-view[data-v-375218ae]:nth-of-type(2){width:%?128?%;height:%?52?%;line-height:%?52?%;text-align:center;background:#ff621f;border-radius:%?26?%;font-size:%?24?%;color:#fff}',""]),t.exports=e},"82a1":function(t,e,i){"use strict";var a=i("6972"),n=i.n(a);n.a},"82f4":function(t,e,i){var a=i("6878");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("c347cb5a",a,!0,{sourceMap:!1,shadowMode:!1})},"833e":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var a={options:{virtualHost:!0},props:{height:{type:[String,Number],default:""},color:{type:[String,Number],default:""},indexSearchStyle:{type:[String,Number],default:0}},data:function(){return{}},computed:{searchBoxStyle:function(){var t={};return this.height&&(t.height="".concat(this.height,"px")),this.color&&(t.color="".concat(this.color)),t}}};e.default=a},"835a":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-notice-bar[data-v-71ec44de]{overflow:hidden}',""]),t.exports=e},"83b2":function(t,e,i){var a=i("42d6");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("01df7cf4",a,!0,{sourceMap:!1,shadowMode:!1})},"83fb":function(t,e,i){"use strict";i.r(e);var a=i("e871"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"85bc":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.technical-support[data-v-16d159ee]{position:relative;width:100%;display:flex;align-items:center;justify-content:center;color:#e6e6e6;font-size:%?26?%;padding-top:%?30?%;padding-bottom:%?20?%}.technical-support.fixed-bottom[data-v-16d159ee]{position:fixed;padding-top:%?0?%;bottom:%?20?%;bottom:calc(constant(safe-area-inset-bottom) + %?20?%);bottom:calc(env(safe-area-inset-bottom) + %?20?%)}.technical-support__text[data-v-16d159ee]{position:relative;width:-webkit-fit-content;width:fit-content}.technical-support__text[data-v-16d159ee]::before, .technical-support__text[data-v-16d159ee]::after{content:"";position:absolute;width:%?100?%;height:%?1?%;background-color:#e6e6e6;top:50%;left:%?-100?%;-webkit-transform:translate(-20%,-50%);transform:translate(-20%,-50%)}.technical-support__text[data-v-16d159ee]::after{left:100%;-webkit-transform:translate(20%,-50%);transform:translate(20%,-50%)}',""]),t.exports=e},8667:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5c47"),i("a1c1"),i("0506");var a={name:"tn-avatar-group",props:{lists:{type:Array,default:function(){return[]}},shape:{type:String,default:"circle"},size:{type:[Number,String],default:""},imgMode:{type:String,default:"aspectFill"},gap:{type:Number,default:.4}},computed:{itemStyle:function(){var t=this;return function(e){var i={};if(t._checkSizeIsInline())switch(t.size){case"sm":i.marginLeft=0!=e?"".concat(-48*t.gap,"rpx"):"";break;case"lg":i.marginLeft=0!=e?"".concat(-96*t.gap,"rpx"):"";break;case"xl":i.marginLeft=0!=e?"".concat(-128*t.gap,"rpx"):"";break}else{var a=Number(t.size.replace(/(px|rpx)/g,""))||64;i.marginLeft=0!=e?"-".concat(a*t.gap,"rpx"):""}return i}}},data:function(){return{}},methods:{_checkSizeIsInline:function(){return!!/(xs|sm|md|lg|xl|xxl)/.test(this.size)}}};e.default=a},8692:function(t,e,i){"use strict";i.r(e);var a=i("1544"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"87a2":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.search-box[data-v-4dee6d7e]{flex:1;width:100%;border-radius:%?100?%;background:hsla(0,0%,96.9%,.61);height:%?70?%;display:flex;align-items:center;padding:%?0?% %?10?%}.search-box__icon[data-v-4dee6d7e]{font-size:%?30?%}.search-box__notice[data-v-4dee6d7e]{flex:1;font-size:%?22?%;width:100%;padding-left:%?10?%}',""]),t.exports=e},"87c6":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"custom-tabbar"},[i("v-uni-view",{staticClass:"tabbar__bg"}),i("v-uni-view",{staticClass:"tabbar__data theme-tabbar",style:{background:t.bgColor}},t._l(t.tabbarList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"data__item",class:a===t.value?"select theme-tabbar-textAvct-color":"theme-tabbar-text-color",style:[t.itemStyle(a)],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navSwitch(a,e)}}},[t.showToTop(a)?[i("v-uni-view",{staticClass:"item__to-top"},[i("v-uni-text",{staticClass:"tn-icon-totop-fill"}),i("v-uni-text",{staticClass:"item__title"},[t._v("双击重载")])],1)]:[e.isCircle?i("v-uni-view",{staticClass:"item__icon circle"},[i("v-uni-view",{staticClass:"item__icon--image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.itemIcon(a),mode:"aspectFill"}})],1)],1):i("v-uni-view",{staticClass:"item__icon"},[t.isImageIcon(a)?i("v-uni-view",{staticClass:"item__icon--image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.itemIcon(a),mode:"aspectFill"}})],1):i("v-uni-view",{staticClass:"item__icon--icon"},[i("v-uni-text",{class:["tn-icon-"+t.itemIcon(a)]})],1)],1),i("v-uni-view",{staticClass:"item__title"},[t._v(t._s(e.title))])]],2)})),1)],1)},n=[]},"87e4":function(t,e,i){"use strict";i.r(e);var a=i("ffc8"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},8956:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("aa77"),i("bf0f"),i("d4b5"),i("fd3c"),i("c223"),i("c9b5"),i("ab80");var n=a(i("13de")),o=a(i("e9ee")),s=i("262c"),r=i("a69d"),c=i("d55c"),d=i("419c"),l={components:{JudgeLocation:n.default,AddressSelectModal:o.default},props:{config:{type:Object,default:function(){return{coordinate:{map:1,time:1,type:[{id:1,title:"帮我送",interlinkage:""},{id:2,title:"帮我取",interlinkage:""},{id:3,title:"1对1直送",interlinkage:""},{id:4,title:"帮我买",interlinkage:""}],describe:[{id:1,title:"取快递"},{id:2,title:"送鲜花"},{id:3,title:"送生鲜"},{id:4,title:"送数码"}]}}}},bottom:{type:Number,default:0},updateInfo:{type:Boolean,default:!1}},data:function(){return{id:0,selectIndex:0,selectId:null,selectInterlinkage:null,checkHasLocationPermission:!1,currentPositionMarker:[],current_location:!1,showChooseAddressModal:!1,showChooseSendAddressModal:!1,currentSelectAddressId:null,currentSelectSendAddressId:null,addressList:[],deliveryInfo:{delivery:{id:null,index:null,address:"",username:"",mobile:"",deliveryTime:"",type:"buy"},sendAddress:{id:null,index:null,address:"",username:"",mobile:"",deliveryTime:"",type:"accept"}},latitude:null,longitude:null,deliveryerNum:0,noSelectedPickUpAddress:!0,isFind:!1,findId:0,formatted_address:"",formatted_address_lat:"",formatted_address_lng:""}},created:function(){this.getDeliveryerNum(),this.getAddressList(),this.checkHasLocationPermission=!0,this.selectId=this.config.coordinate.type[0].id,this.selectInterlinkage=this.config.coordinate.type[0].interlinkage,this.location()},watch:{updateInfo:{handler:function(t){t&&this.location()}}},methods:{location:function(){var t=this;uni.getLocation({type:"gcj02",success:function(e){t.latitude=e.latitude,t.longitude=e.longitude,t.currentPositionMarker=[{id:1,latitude:e.latitude,longitude:e.longitude,customCallout:{display:"ALWAYS"}}],(0,r.getNearestAddressApi)({lat:e.latitude,lng:e.longitude}).then((function(e){if(console.log("res",e),t.findId=e.id,t.isFind=e.find,t.formatted_address=e.formatted_address,t.formatted_address_lat=e.lat,t.formatted_address_lng=e.lng,t.isFind){var i=e.row;t.deliveryInfo.delivery.index=e.index,t.deliveryInfo.delivery.id=i.id,t.deliveryInfo.delivery.address=i.address,t.deliveryInfo.delivery.username=i.realname,t.deliveryInfo.delivery.mobile=i.mobile,console.log("this.deliveryInfo",t.deliveryInfo)}t.$emit("refreshAddress")}))},fail:function(t){console.log("err",t)}})},getDeliveryerNum:function(){var t=this;(0,c.getDeliveryerNumApi)().then((function(e){t.deliveryerNum=e.data}))},select:function(t,e){this.selectIndex=e,this.selectId=t.id,this.selectInterlinkage=t.interlinkage},submit:function(){console.log("this.selectInterlinkage",this.selectInterlinkage);var t=JSON.stringify(this.deliveryInfo),e=this.selectInterlinkage+"&"+"deliveryInfo=".concat(encodeURIComponent(t));console.log("url",e),uni.navigateTo({url:e})},reSetLocationEvent:function(){this.checkHasLocationPermission=!0,this.current_location=!0},handleLocationAuthSuccess:function(t){this.config.coordinate.latitude=t.lat,this.config.coordinate.longitude=t.lng,console.log("location",t)},selectAddress:function(){this.showChooseAddressModal=!0,this.getAddressList()},handleAddressClickEvent:function(t){console.log("handleAddressClickEvent","handleAddressClickEvent");var e=this.addressList[t];this.deliveryInfo.delivery.index=t,this.deliveryInfo.delivery.id=e.id,this.deliveryInfo.delivery.address=e.address,this.deliveryInfo.delivery.username=e.username,this.deliveryInfo.delivery.mobile=e.mobile,console.log("111"),this.currentSelectAddressId=e.id,(0,s.setSubmitOrderChooseAddressId)(e.id)},addEditAddressEvent:function(){this.currentSelectAddressId="",this.showChooseAddressModal=!1},addEditSendAddressEvent:function(){console.log("addEditSendAddressEvent","addEditSendAddressEvent"),this.currentSelectSendAddressId="",this.showChooseSendAddressModal=!1},handleSendAddressClickEvent:function(t){console.log("handleSendAddressClickEvent","handleSendAddressClickEvent");var e=this.addressList[t];this.deliveryInfo.sendAddress.index=t,this.deliveryInfo.sendAddress.id=e.id,this.deliveryInfo.sendAddress.address=e.address,this.deliveryInfo.sendAddress.username=e.username,this.deliveryInfo.sendAddress.mobile=e.mobile,this.currentSelectSendAddressId=e.id},selectClothesAddress:function(){this.showChooseSendAddressModal=!0,this.getAddressList()},getAddressList:function(){var t=this;(0,r.getUserAddressListApi)().then((function(e){var i=e.addresses;i&&(t.addressList=i.map((function(t){return{id:t.id,username:t.realname,mobile:t.mobile,sex:t.sex,address:t.address+t.number,number:t.number}})))})).catch((function(e){console.error("[submit-order]获取地址列表失败",e),t.addressList=[],"请重新登录"==e.msg||showModal({title:"提示",content:e.msg||"获取商品信息失败",callback:function(){navBack()}})}))},completeAddressInfo:function(){(0,d.navPage)("/system-page/add-address/index?formatted_address=".concat(this.formatted_address,"&formatted_address_lat=").concat(this.formatted_address_lat,"&formatted_address_lng=").concat(this.formatted_address_lng))},refreshAddress:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){console.log("refreshAddress",refreshAddress)}))}};e.default=l},"898c":function(t,e,i){var a=i("cc4d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("32c30383",a,!0,{sourceMap:!1,shadowMode:!1})},"89cc":function(t,e,i){var a=i("9ef1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("1c8de829",a,!0,{sourceMap:!1,shadowMode:!1})},"89e2":function(t,e,i){var a=i("7c5c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("391bde4e",a,!0,{sourceMap:!1,shadowMode:!1})},"8a76":function(t,e,i){var a=i("cfe6");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("29525d54",a,!0,{sourceMap:!1,shadowMode:!1})},"8bbe":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c");var n=a(i("50d1")),o=i("419c"),s=i("d55c"),r={options:{virtualHost:!0},props:{config:[Array,Object]},components:{SimpleStoreListItem:n.default},data:function(){return{showComponent:!0,data:[]}},created:function(){this.getRecommendStoreData()},methods:{getRecommendStoreData:function(){var t=this;(0,s.getDIYRecommendStoreDataApi)().then((function(e){e.recommendStores&&e.recommendStores.length>0?(t.showComponent=!0,t.data=e.recommendStores.map((function(t){return{id:t.id,title:t.title,logo:t.logo,image:t.thumb,content:t.content,is_haodian:t.is_haodian,pageShowType:t.pageShowType,custom_links:t.custom_links}}))):(t.showComponent=!1,t.data=[])})).catch((function(){t.showComponent=!1,t.data=[]}))},navPage:o.navPage}};e.default=r},"8bf0":function(t,e,i){var a=i("a400");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("be6a773e",a,!0,{sourceMap:!1,shadowMode:!1})},"8c80":function(t,e,i){"use strict";i.r(e);var a=i("447c"),n=i("76dc");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("69c7");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4dcc9ff0",null,!1,a["a"],void 0);e["default"]=r.exports},"8cbc":function(t,e,i){"use strict";i.r(e);var a=i("b1fa"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"8ce4":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("6fbe")),o=i("78b4"),s={props:{data:{type:Object,default:function(){return{}}},brand:{type:String,default:""},storeCode:{type:String,default:""},table_name:[String,Number]},mixins:[n.default],data:function(){return{is_favorite:!1,is_api_shop:!1,store_title:"",store_logo:"",is_system_brand:!1,system_brand_id:"",istheme:!1}},created:function(){this.istheme=this.$isTheme(),console.log("查看是否使用了主题",this.istheme),this.initCustomNavBarInfo(),this.getIsBrandStore()},watch:{"data.storeInfo":{handler:function(t){console.log("xxxzzzhzhzhzhhzhz",this.data.storeInfo),this.is_favorite=t.is_favorite,this.getIsBrandStore(),this.getOrderDinnerStoreId(),this.store_title=this.data.storeInfo.title,this.store_logo=this.data.storeInfo.logo},deep:!0}},methods:{getIsBrandStore:function(){var t=this;(0,o.getIsBrandStoreApi)(this.data.storeInfo.id).then((function(e){console.log("res",e),e&&e.length>0&&(t.is_system_brand=!0,t.system_brand_id=e[0]["id"])}))},getOrderDinnerStoreId:function(){var t=this,e=this;(0,o.getOrderDinnerStoreIdApi)({type:e.brand,storeCode:e.storeCode}).then((function(i){console.log("res",i),i.sid==t.data.storeInfo.id&&(console.log("here"),t.is_api_shop=!0,t.storeCode=uni.getStorageSync(e.brand+"_storeCode")||"",t.store_title=uni.getStorageSync(e.brand+"_storeName")||t.data.storeInfo.title,t.store_logo=uni.getStorageSync(e.brand+"_storeImage")||t.data.storeInfo.logo)}))},favorite:function(){var t=this;this.is_favorite=!this.is_favorite,console.log(this.is_favorite?1:2),(0,o.postStoreCollectApi)({sid:this.data.storeInfo.id,type:this.is_favorite?1:2,storeCode:this.storeCode}).then((function(e){console.log("rrrr",e,t.is_favorite)}))},sequence:function(){this.is_api_shop?uni.navigateTo({url:"/store-page/linkage/linkpage"}):uni.navigateTo({url:"/store-page/linkage/linkpage?system_brand_id=".concat(this.system_brand_id)})}}};e.default=s},"8cff":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.redpacket-ticket[data-v-5f9a37b6]{position:relative;width:100%;display:flex;border-radius:%?15?%;color:#fff;background:radial-gradient(circle at top right,transparent %?10?%,#f8505b 0,#e51855 100%) 0 0/70% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?10?%,#f8505b 0,#e51855 100%) 0 100%/70% 51% no-repeat,radial-gradient(circle at top left,transparent %?10?%,#f8505b 0,#f8505b 100%) 100% 0/30% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?10?%,#f8505b 0,#f8505b 100%) 100% 100%/30% 51% no-repeat\n /* 红包信息 start */\n /* 红包信息 end */\n /* 红包条件 start */\n /* 红包条件 end */\n /* 折扣信息 start */\n /* 折扣信息 end */\n /* 领取进度 start */\n /* 领取进度 end */\n /* 操作按钮 start */\n /* 操作按钮 end */\n /* 小尺寸列表 start */\n /* 小尺寸列表 start */}.redpacket-ticket[data-v-5f9a37b6]::before{content:"";position:absolute;width:%?2?%;height:calc(100% - %?20?%);border-left:%?2?% dashed #fff;left:70%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.redpacket-ticket .ticket-left[data-v-5f9a37b6]{width:70%;padding:%?30?%}.redpacket-ticket .ticket-right[data-v-5f9a37b6]{width:30%;background-image:url(https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/discount-bg.png);background-repeat:no-repeat;background-size:150%;padding:%?30?%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-radius:%?0?% %?15?% %?15?% %?0?%}.redpacket-ticket .ticket-info[data-v-5f9a37b6]{display:flex;align-items:center}.redpacket-ticket .ticket-info .ticket-image[data-v-5f9a37b6]{width:%?80?%;height:%?80?%;border-radius:%?15?%;background-color:#fff;overflow:hidden;margin-right:%?20?%;flex:0 1 %?80?%;flex-shrink:0}.redpacket-ticket .ticket-info .ticket-title[data-v-5f9a37b6]{font-size:%?36?%;letter-spacing:0;overflow:hidden;display:-webkit-box;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.redpacket-ticket .ticket-info .ticket-endtime[data-v-5f9a37b6]{font-size:%?24?%;margin-top:%?6?%}.redpacket-ticket .ticket-condition[data-v-5f9a37b6]{margin-top:%?40?%}.redpacket-ticket .ticket-condition .condition-value[data-v-5f9a37b6]{font-size:%?30?%}.redpacket-ticket .ticket-condition .condition-limit[data-v-5f9a37b6]{font-size:%?24?%;margin-top:%?8?%}.redpacket-ticket .ticket-price[data-v-5f9a37b6]{display:flex;align-items:flex-end}.redpacket-ticket .ticket-price .unit[data-v-5f9a37b6],\n.redpacket-ticket .ticket-price .decimal[data-v-5f9a37b6]{font-size:%?34?%;line-height:1}.redpacket-ticket .ticket-price .integer[data-v-5f9a37b6]{font-size:%?70?%;line-height:1;font-weight:500;-webkit-transform:translateY(%?4?%);transform:translateY(%?4?%)}.redpacket-ticket .ticket-progress[data-v-5f9a37b6]{margin-top:%?4?%;width:100%}.redpacket-ticket .ticket-progress .progress-text[data-v-5f9a37b6]{white-space:nowrap}.redpacket-ticket .operation-btn[data-v-5f9a37b6]{color:#e51855;background-color:#fff;line-height:1;padding:%?10?% %?18?%;border-radius:%?50?%;font-size:%?24?%;margin-top:%?5?%}.redpacket-ticket.small[data-v-5f9a37b6]{\n /* 红包条件 start */\n /* 红包条件 end */}.redpacket-ticket.small .ticket-left[data-v-5f9a37b6]{padding:%?20?%}.redpacket-ticket.small .ticket-right[data-v-5f9a37b6]{padding:%?20?%}.redpacket-ticket.small .ticket-condition[data-v-5f9a37b6]{margin-top:%?20?%}.modal_box[data-v-5f9a37b6]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between}.modal_box .modal_title[data-v-5f9a37b6]{display:flex;justify-content:space-between;align-items:center;padding:%?20?%;background-color:#fff;color:#000;text-align:center;justify-content:center}.modal_box .modal_title .modal_title_text[data-v-5f9a37b6]{font-size:%?32?%;font-weight:500}.modal_box .modal_title .modal_title_close[data-v-5f9a37b6]{font-size:%?32?%;color:#999}.modal_box .modal_content[data-v-5f9a37b6]{padding:%?20?%;background-color:#fff}.modal_box .modal_content .modal_content_item[data-v-5f9a37b6]{display:flex;align-items:center;margin-bottom:%?20?%}.modal_box .modal_content .modal_content_item .modal_content_item_title[data-v-5f9a37b6]{font-size:%?28?%;color:#333;margin-right:%?20?%;width:%?100?%}.modal_box .modal_content .modal_content_item .modal_content_item_input[data-v-5f9a37b6]{flex:1;border:%?1?% solid #e5e5e5;border-radius:%?15?%;padding:%?10?%;color:#000}.modal_box .modal_content .modal_content_btn[data-v-5f9a37b6]{display:flex;justify-content:space-between}.modal_box .modal_content .modal_content_btn .modal_content_btn_item[data-v-5f9a37b6]{width:40%;padding:%?20?%;text-align:center;background-color:#e5e5e5;border-radius:%?15?%}.modal_box .modal_content .modal_content_btn .confirm[data-v-5f9a37b6]{background-color:#ffca28}',""]),t.exports=e},"8d6e":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getHelpSceneInfoApi=e.getHelpListDataApi=e.getHelpDetailDataApi=void 0;var n=a(i("7653"));e.getHelpListDataApi=function(t){return n.default.post("api/user.help.index/index",t)};e.getHelpDetailDataApi=function(t){return n.default.post("api/user.help.index/details",{id:t})};e.getHelpSceneInfoApi=function(){return n.default.get("api/user.system.scene/index")}},"8d7b":function(t,e,i){var a=i("5f8e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("4de1c36a",a,!0,{sourceMap:!1,shadowMode:!1})},"8dee":function(t,e,i){"use strict";var a=i("9108"),n=i.n(a);n.a},"8ecf":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnLoadMore:i("9266").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"products-list sgpl-products-list theme-products-list-once"},[t._l(t.goodsDataLists,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item"},[i("v-uni-view",{staticClass:"item-title sgpl-item-title",class:{"open-box":t.showMoreScrTab},style:[t.categoryTitleStyle],attrs:{id:"sgpl-item-title-"+a}},[t.showMoreScrTab?i("v-uni-view",{staticClass:"tn-flex tn-flex-col-end icon-up-box",staticStyle:{color:"#9c9c9c"}},[i("v-uni-text",{staticClass:"tn-icon-up",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showMoreScrTab=!t.showMoreScrTab}}})],1):t._e(),e.child&&e.child.length>0?i("v-uni-view",{staticClass:"tn-flex tn-margin-bottom-xs scrTab-box"},[i("v-uni-scroll-view",{staticClass:"scroll-box",style:t.showMoreScrTab?"":"white-space: nowrap;",attrs:{"scroll-x":"true"}},t._l(e.child,(function(e,a){return i("v-uni-view",{key:a,staticClass:"scrTab-item",class:t.currentTab==a?"scrTab-item-active":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.seleTabs(a,e)}}},[i("v-uni-text",{},[t._v(t._s(e.title))])],1)})),1),t.showMoreScrTab?t._e():i("v-uni-view",{staticClass:"icon-down-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showMoreScrTab=!t.showMoreScrTab}}},[i("v-uni-text",{staticClass:"tn-icon-down",staticStyle:{color:"#9c9c9c"}})],1)],1):t._e(),i("v-line-title",[i("v-uni-view",{staticClass:"tn-text-ellipsis-1"},[t._v(t._s(e.title))])],1)],1),e.goods&&e.goods.length>0?i("v-uni-view",{staticClass:"item-goods",style:{paddingTop:t.paddingtop?t.pdtop+"px":""},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTouchStart.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTouchEnd.apply(void 0,arguments)}}},t._l(e.goods,(function(e,n){return i("v-uni-view",{key:n,staticClass:"good"},[i("v-uni-view",{staticClass:"good-image tn-border-gray--light",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.Good(e,n)}}},[i("tn-lazy-load",{attrs:{src:e.image}})],1),i("v-uni-view",{staticClass:"good-info",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage("/store-page/goodsDetail/index?sid="+t.sid+"&id="+e.id)}}},[i("v-uni-view",{staticClass:"good-title",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage("/store-page/goodsDetail/index?sid="+t.sid+"&id="+e.id)}}},[t._v(t._s(e.title))]),e.content?i("v-uni-view",{staticClass:"good-content tn-text-ellipsis-1 tn-bg-orange--light"},[t._v(t._s(e.content))]):t._e(),i("v-uni-view",{staticClass:"tn-flex-center-between tn-margin-top-xs"},[i("v-uni-view",{staticClass:"good-price tn-flex-row-end"},[i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.price))])],1),e.oldPrice||e.old_price?i("v-uni-view",{staticClass:"price old tn-color-gray"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.oldPrice||e.old_price))])],1):t._e(),e.buy_limit&&e.buy_limit>0?i("v-uni-view",{staticStyle:{"font-size":"24rpx","margin-left":"10rpx",color:"red"}},[i("v-uni-view",[t._v("限购"+t._s(e.buy_limit)+"件")])],1):t._e()],1)],1),i("v-uni-view",{staticClass:"tn-flex-center-between tn-margin-top-xs theme-product-box"},[i("v-uni-view",{staticClass:"good-month-sale tn-color-gray"},[t._v("已售"+t._s(e.sailed))]),i("product-spec-number-box",{ref:"goods",refInFor:!0,attrs:{value:e.num,min:e.min,max:e.max,is_tuangouquan:e.is_tuangouquan,type:e.specOptions,total:e.total,"image-url":e.image?e.image:e.thumb,desc:e.content,sid:t.sid,"good-id":e.id,"spellrice-id":t.spellriceId,"table-id":t.tableId,title:e.title,"good-price":e.price,disabled:t.isRest,is_api:e.is_api,"good-old-price":e.oldPrice,good_code:e.good_code,brand:e.brand,storeCode:e.storeCode,navType:t.navType},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductNumChangeEvent(e,a,n)},"input-num":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductInputUpdaeEvent(e,a,n)}}})],1)],1)],1)})),1):t._e(),i("v-uni-view",{staticClass:"tnloads tn-padding-bottom-xl"},[t.showloadStatu?i("tn-load-more",{staticClass:"tn-margin-top",attrs:{status:"loading",loadingIconColor:"#ffca28",loadText:t.loadText2}}):t._e(),t.showloadStatu2?i("tn-load-more",{staticClass:"tn-margin-top",attrs:{status:"loading",loadingIconColor:"#ffca28",loadText:t.loadText}}):t._e()],1)],1)})),i("v-uni-view",{staticClass:"bottom-area-content",on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTouchStart.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTouchEnd.apply(void 0,arguments)}}}),i("img-modal",{attrs:{mode:t.modalmode},model:{value:t.modalShow,callback:function(e){t.modalShow=e},expression:"modalShow"}}),i("center-modal",{attrs:{"confirm-text":"修改"},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.openInputGoodsNumModal=!t.openInputGoodsNumModal},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.submitUpdateCart.apply(void 0,arguments)}},model:{value:t.openInputGoodsNumModal,callback:function(e){t.openInputGoodsNumModal=e},expression:"openInputGoodsNumModal"}},[i("v-uni-input",{staticClass:"input",attrs:{type:"digit",placeholder:"请输入商品数量"},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1)],2)},o=[]},"8ef1":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("aa9c"),i("dd2b");var n=i("e0a2"),o=a(i("0901")),s=i("07d6"),r={components:{DiyRichText:o.default},options:{virtualHost:!0,styleIsolation:"shared"},props:{config:{type:[Array,Object],default:function(){return{}}},diyItemIndex:{type:Number,default:0}},data:function(){return{formList:[],action:"".concat(n.BASE_URL,"api/upload/image")}},watch:{config:{handler:function(t,e){console.log("改后的值是:",t),console.log("原来的值是:",e),t&&(this.formList=t.fromList)},immediate:!0,deep:!0}},created:function(){},methods:{handleFocus:function(t){t.preventDefault()},imgChange:function(t,e){console.log("上传完毕回调",t);var i=t.data;i=JSON.parse(i),1==i.code?this.formList[e].fileList.push(i.data.uri):uni.showToast({title:i.msg,icon:"error"})},submitFormValue:function(){for(var t=this,e=this,i=0;i<this.formList.length;i++){if(("text"==this.formList[i].type||"number"==this.formList[i].type||"textarea"==this.formList[i].type)&&!this.formList[i].value)return void uni.showToast({title:this.formList[i].text+"必填",icon:"none"});if("radio"==this.formList[i].type&&!this.formList[i].value)return void uni.showToast({title:this.formList[i].text+"必选",icon:"none"});if("checkbox"==this.formList[i].type&&0==this.formList[i].value.length)return void uni.showToast({title:this.formList[i].text+"必选",icon:"none"});if("upload"==this.formList[i].type&&0==this.formList[i].fileList.length)return void uni.showToast({title:this.formList[i].text+"必须上传",icon:"none"})}uni.showLoading({title:"提交中..."}),(0,s.diyFormCollectSubmitApi)({title:this.config.title,formValueList:this.formList}).then((function(){var i;uni.hideLoading(),uni.showToast({title:"提交成功",icon:"none"});for(var a=t.formList,n=0;n<a.length;n++)"text"!=a[n].type&&"radio"!=a[n].type&&"number"!=a[n].type&&"textarea"!=a[n].type||(a[n].value=""),"checkbox"==a[n].type&&(a[n].value=[]),"upload"==a[n].type&&(a[n].fileList=[]);if((null===(i=e.$refs)||void 0===i?void 0:i.uploadDrag.length)>0)for(n=0;n<(null===(o=e.$refs)||void 0===o?void 0:o.uploadDrag.length);n++){var o;e.$refs.uploadDrag[n].clear()}e.formList=a})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.msg,icon:"none"})}))},imgListChange:function(t,e){console.log(t,"==========="),this.config.fromList[e].fileList.splice(t.length,1)}}};e.default=r},"8fda":function(t,e,i){"use strict";i.r(e);var a=i("7e8c"),n=i("208c");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("d423");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"75edc608",null,!1,a["a"],void 0);e["default"]=r.exports},9065:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnNoticeBar:i("ee42").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"showcase-header-1",class:[{rest:1==t.data.storeInfo.isRest||0==t.data.storeInfo.isInBusiness,"no-tag":0===t.data.storeInfo.activityLabels.length}]},[i("v-uni-view",{staticClass:"bg-image"},[t.data.bgImage?i("v-uni-image",{staticClass:"image",attrs:{src:t.data.bgImage,mode:"aspectFill"}}):t._e()],1),i("v-uni-view",{staticClass:"empty-bg",style:[{top:t.navBarInfo.height+70+"px"}]}),i("v-uni-view",{staticClass:"store tn-shadow",style:[{top:t.navBarInfo.height+"px"}]},[i("v-uni-view",{staticClass:"store-data"},[i("v-uni-view",{staticClass:"tn-flex"},[i("v-uni-view",{staticClass:"store-logo"},[i("tn-lazy-load",{attrs:{src:t.data.storeInfo.logo}})],1),i("v-uni-view",{staticClass:"store-info"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1",staticStyle:{display:"flex","justify-content":"space-between"}},[t._v(t._s(t.data.storeInfo.title)),t.is_favorite?i("v-uni-text",{staticClass:"tn-icon-star-fill tn-color-yellow",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.favorite.apply(void 0,arguments)}}}):i("v-uni-text",{staticClass:"tn-icon-star",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.favorite.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"store-summary-info tn-flex-row-center"},[i("v-uni-view",{staticClass:"score"},[i("v-uni-view",{staticClass:"icon tn-icon-star-fill"}),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.data.storeInfo.score))])],1),t.table_name?[i("v-uni-view",{staticStyle:{background:"linear-gradient(to right, #f68117 0, #ecbd2c 100%) !important",color:"#fff",display:"inline-block","font-size":"12px",padding:"4rpx 10rpx","border-radius":"8rpx","margin-left":"15rpx"}},[t._v("桌号 :"),t.data.storeInfo.table.area_name?i("v-uni-text",[t._v(t._s(t.data.storeInfo.table.area_name))]):t._e(),t.data.storeInfo.table.area2_name?i("v-uni-text",[t._v(t._s(t.data.storeInfo.table.area2_name))]):t._e(),i("v-uni-text",[t._v(t._s(t.table_name))])],1)]:[i("v-uni-view",{staticClass:"start-price"},[t._v("起送价"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+t._s(t.data.storeInfo.sendPrice))])],1),t.data.storeInfo.deliveryPrice>0?i("v-uni-view",{staticClass:"delivery-price"},[t._v("配送费"),i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.CurrencyUnit)+t._s(t.data.storeInfo.deliveryPrice))])],1):i("v-uni-view",{staticClass:"delivery-price"},[t._v("免配送费")]),i("v-uni-view",{staticClass:"delivery-time"},[i("v-uni-view",{staticClass:"value"},[t._v("配送约"+t._s(t.data.storeInfo.deliveryTime)+"分钟")])],1)]],2),i("v-uni-view",{staticClass:"store-content tn-text-ellipsis-1 tn-bg-orange--light"},[t._v(t._s(t.data.storeInfo.content))])],1)],1),i("v-uni-view",{staticClass:"store-notice"},[i("v-uni-view",{staticClass:"title"},[t._v("公告:")]),i("v-uni-view",{staticClass:"value"},[i("tn-notice-bar",{attrs:{mode:"horizontal",list:[t.data.storeInfo.notice],"left-icon":!1,padding:"0rpx"}})],1)],1)],1),t.data.storeInfo.activityLabels&&t.data.storeInfo.activityLabels.length>0?i("v-uni-view",{staticClass:"store-tags tn-border-top tn-border-gray--light"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},[i("v-uni-view",{staticClass:"tags-wrapper"},[t._l(t.data.storeInfo.activityLabels,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tag tn-border-red tn-color-red"},[t._v(t._s(e))])}))],2)],1)],1):t._e()],1)],1)},o=[]},"909c":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/**\n * 组件页面公用css\n */.component-page-padding-bottom[data-v-03ced7b0]{padding-bottom:%?130?%;padding-bottom:calc(%?130?% + constant(safe-area-inset-bottom));padding-bottom:calc(%?130?% + env(safe-area-inset-bottom))}.a-page[data-v-03ced7b0]{background-color:#f3f3f3!important}.mine-page[data-v-03ced7b0]{position:relative;width:100%\n /* 顶部设置按钮 start */\n /* 顶部设置按钮 end */\n /* 背景 start */\n /* 背景 end */\n /* 用户账户信息 start */\n /* 用户账户信息 end */}.mine-page .navbar[data-v-03ced7b0]{position:fixed;left:0;top:0;width:100%;z-index:19999}.mine-page .navbar__title[data-v-03ced7b0]{position:absolute;left:%?0?%;font-size:%?36?%;z-index:20000;width:100%;display:flex;justify-content:center;align-items:center}.mine-page .store-data[data-v-03ced7b0]{position:relative;width:100%;margin-top:%?20?%\n /* 普通商家 */\n /* 广告商家 */}.mine-page .store-data .normal-store[data-v-03ced7b0]{width:100%;margin-top:%?20?%}.mine-page .store-data .normal-store[data-v-03ced7b0]:first-child{margin-top:%?0?%}.mine-page .store-data .ad-store[data-v-03ced7b0]{position:relative;width:100%;margin-top:%?20?%}.mine-page .bg[data-v-03ced7b0]{position:fixed;top:0;left:0;width:100%;height:%?768?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/becomeMemberTopBg1.png)}.mine-page .cardBox[data-v-03ced7b0]{position:relative;width:100%;padding:%?0?% %?30?%;flex-wrap:wrap}.mine-page .cardBox .limitation[data-v-03ced7b0]{width:100%;height:%?60?%;display:flex;align-items:center}.mine-page .cardBox .card[data-v-03ced7b0]{width:100%;height:auto;background-color:#fff;border-radius:%?11?%;margin-top:%?20?%}.mine-page .cardBox .card .title[data-v-03ced7b0]{width:100%;height:%?114?%;border-radius:%?11?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/cardTopBg.png);text-align:center;line-height:59px;color:#5d3d00;font-size:%?32?%}.mine-page .cardBox .card .subtitleBox[data-v-03ced7b0]{width:100%;height:%?90?%;border-radius:%?11?%;text-align:center;line-height:59px;display:flex;align-items:center;justify-content:flex-start;padding-left:%?29?%;font-size:%?34?%;font-weight:500}.mine-page .cardBox .card .subtitleBox .subtitleLeft[data-v-03ced7b0]{padding-right:%?10?%}.mine-page .cardBox .card .subtitleBox .subtitleLine[data-v-03ced7b0]{width:%?1?%;height:%?25?%;background-color:#8f8f8f}.mine-page .cardBox .card .subtitleBox .subtitleRight[data-v-03ced7b0]{padding-left:%?10?%}.mine-page .cardBox .card .prompt[data-v-03ced7b0]{width:100%;height:%?40?%;font-size:%?26?%;color:#707070;padding-left:%?29?%;line-height:%?40?%}.mine-page .cardBox .card .redEnvelopeBox[data-v-03ced7b0]{width:100%;height:auto;display:flex;justify-content:flex-start;flex-wrap:wrap;padding-left:%?10?%;padding-right:%?10?%}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem[data-v-03ced7b0]{width:calc(100% / 3);height:auto;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:%?20?%}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem_Bg[data-v-03ced7b0]{width:%?200?%;height:%?116?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/redEnvelopeBg1.png);display:flex;justify-content:center;align-items:center}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center[data-v-03ced7b0]{width:100%;height:%?83?%}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center_price[data-v-03ced7b0]{width:100%;height:%?50?%;font-size:%?48?%;text-align:center;line-height:%?50?%;color:#f74c37}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center_title[data-v-03ced7b0]{width:100%;height:%?33?%;font-size:%?26?%;text-align:center;line-height:%?33?%;color:#a77821}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar[data-v-03ced7b0]{width:100%;height:%?154?%;display:flex;align-items:center;justify-content:center}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg[data-v-03ced7b0]{width:%?201?%;height:%?154?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/redEnvelopeBg2.png)}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter[data-v-03ced7b0]{width:100%;height:%?98?%;color:#f74c37;display:flex;align-items:center;justify-content:center}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_price[data-v-03ced7b0]{font-size:%?38?%}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_ride[data-v-03ced7b0]{font-size:%?21?%;padding-right:%?7?%;padding-left:%?7?%}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_number[data-v-03ced7b0]{font-size:%?28?%}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemTitle[data-v-03ced7b0]{width:100%;height:%?57?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice[data-v-03ced7b0]{width:100%;height:%?34?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice .currentPrice[data-v-03ced7b0]{font-size:%?32?%;color:#f74c37}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice .originalPrice[data-v-03ced7b0]{font-size:%?26?%;padding-left:%?9?%;text-decoration:line-through;color:#707070}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .activity[data-v-03ced7b0]{width:100%;height:%?60?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.mine-page .cardBox .card .redEnvelopeBox .redEnvelopeItem .activity .activityBg[data-v-03ced7b0]{width:auto;height:%?40?%;background-color:rgba(255,121,26,.2);display:flex;align-items:center;justify-content:center;padding-left:%?10?%;padding-right:%?10?%;color:#ff791a;border-radius:%?8?%;font-size:%?22?%}.mine-page .user-account-info[data-v-03ced7b0]{position:relative;margin-top:%?40?%;padding:%?0?% %?20?%}.mine-page .user-account-info .info-item[data-v-03ced7b0]{flex:1}.mine-page .user-account-info .info-item .value[data-v-03ced7b0]{font-size:%?38?%;font-weight:500}.mine-page .user-account-info .info-item .text[data-v-03ced7b0]{color:#aaa;font-size:%?24?%;margin-top:%?14?%}.mine-page .user-account-info .info-item .text .icon[data-v-03ced7b0]{margin-left:%?4?%}',""]),t.exports=e},"90aa":function(t,e,i){var a=i("8cff");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("bce4040c",a,!0,{sourceMap:!1,shadowMode:!1})},"90f7":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("center-modal",{attrs:{title:t.data.storeTitle,"cancel-text":" "},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.handleModalConfirm.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleModalClose.apply(void 0,arguments)}},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[i("v-uni-view",{staticClass:"content"},[t._v(t._s(t.data.storeContent))])],1)},n=[]},9103:function(t,e,i){"use strict";var a=i("2eb9"),n=i.n(a);n.a},9108:function(t,e,i){var a=i("0e93");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("109465b8",a,!0,{sourceMap:!1,shadowMode:!1})},9113:function(t,e,i){var a=i("0ef0");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("58887968",a,!0,{sourceMap:!1,shadowMode:!1})},9266:function(t,e,i){"use strict";i.r(e);var a=i("3da0"),n=i("7831");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("f7d1");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1da58fe4",null,!1,a["a"],void 0);e["default"]=r.exports},"92a1":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.god-price[data-v-c56800ac]{position:relative;width:100%;margin-top:%?20?%;border-radius:%?20?%;padding:%?30?% %?20?%\n /* 顶部标题 start */\n /* 顶部标题 end */\n /* 商品列表 start */\n /* 商品列表 end */}.god-price .top[data-v-c56800ac]{width:100%;display:flex;align-items:center;justify-content:space-between}.god-price .top .left[data-v-c56800ac]{display:flex;align-items:flex-end;flex:1}.god-price .top .left .title[data-v-c56800ac]{font-size:%?34?%;font-weight:500}.god-price .top .left .sub-title[data-v-c56800ac]{font-size:%?24?%;margin-left:%?16?%}.god-price .top .right[data-v-c56800ac]{width:16%;font-size:%?24?%;text-align:right}.god-price .top .right .icon[data-v-c56800ac]{margin-left:%?4?%}.god-price .product-data[data-v-c56800ac]{position:relative}.god-price .product-data .product-list[data-v-c56800ac]{position:relative;display:flex;padding-top:%?26?%\n /* 商品item start */\n /* 商品item end */}.god-price .product-data .product-list .product-item[data-v-c56800ac]{position:relative;width:%?180?%;flex-shrink:0;padding-right:%?20?%}.god-price .product-data .product-list .product-item[data-v-c56800ac]:nth-child(2n){width:%?200?%;padding-right:%?40?%}.god-price .product-data .product-list .product-item[data-v-c56800ac]:nth-child(2n)::before{content:" ";position:absolute;width:%?2?%;height:%?80?%;background-color:#e6e6e6;right:%?21?%;top:%?40?%}.god-price .product-data .product-list .product-item:nth-child(2n) .item-tag[data-v-c56800ac]{right:%?34?%}.god-price .product-data .product-list .product-item .item-image[data-v-c56800ac]{width:%?160?%;height:%?160?%;border:%?4?% solid #cf3021;border-radius:%?10?%}.god-price .product-data .product-list .product-item .item-tag[data-v-c56800ac]{position:absolute;top:%?-4?%;right:%?14?%;padding:%?6?%;background:linear-gradient(233deg,#fd7004,#f74d35);color:#fff;line-height:1;border-radius:%?18?% %?20?% %?20?% %?0?%;border:%?1?% solid #fff;font-size:%?20?%}.god-price .product-data .product-list .product-item .item-info[data-v-c56800ac]{margin-top:%?10?%}.god-price .product-data .product-list .product-item .item-info .product-title[data-v-c56800ac]{font-size:%?26?%}.god-price .product-data .product-list .product-item .item-info .product-price[data-v-c56800ac]{display:flex;align-items:flex-end;margin-top:%?12?%}.god-price .product-data .product-list .product-item .item-info .product-price .old-price[data-v-c56800ac]{text-decoration:line-through;-webkit-transform:scale(.5) translateY(%?-4?%);transform:scale(.5) translateY(%?-4?%);-webkit-transform-origin:left bottom;transform-origin:left bottom}.god-price .product-data .product-list .product-item .item-info .price[data-v-c56800ac]{display:flex;align-items:flex-end;line-height:1;font-size:%?34?%;font-weight:400}.god-price .product-data .product-list .product-item .item-info .price .unit[data-v-c56800ac]{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:center bottom;transform-origin:center bottom;line-height:1}.god-price .product-data .product-list .product-item .item-info .price .value[data-v-c56800ac]{line-height:1}',""]),t.exports=e},"92f8":function(t,e,i){var a=i("2061");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("04a8032a",a,!0,{sourceMap:!1,shadowMode:!1})},"93d1":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-radio-class tn-radio",style:[t.radioStyle]},[i("v-uni-view",{staticClass:"tn-radio__icon-wrap",class:[t.iconClass],style:[t.iconStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggle.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"tn-icon-success tn-radio__icon-wrap__icon"})],1),i("v-uni-view",{staticClass:"tn-radio__label",style:{fontSize:t.labelSize?t.labelSize+"rpx":""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickLabel.apply(void 0,arguments)}}},[t._t("default")],2)],1)},n=[]},"93e2":function(t,e,i){"use strict";i.r(e);var a=i("07be6"),n=i("6142");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1820");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"2d8ec84d",null,!1,a["a"],void 0);e["default"]=r.exports},"941e":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.regeoDetail=e.getSeats=e.getScheduleDetailByList=e.getSchedule=e.getRegion=e.getMovieShowDate=e.getMovieOnInfoList=e.getMovieDetail=e.getMoverOrderList=e.getMoverInfo=e.getIncrease=e.getComingList=e.getCityByLocationApi=e.getCity1=e.getCinemaList=e.createOrder=void 0;var n=a(i("b128")),o=a(i("7653"));e.getMovieOnInfoList=function(t){var e=t.ci;return o.default.get("api/user.mahua.mahua_movie/getMovieOnInfoList",{ci:e})};e.getComingList=function(t){return(0,n.default)(t),o.default.get("api/user.mahua.mahua_movie/getComingList",{})};e.getCinemaList=function(t){return o.default.post("api/user.mahua.mahua_movie/getCinemaList",t)};e.getMovieDetail=function(t){return o.default.get("api/user.mahua.mahua_movie/getMovieDetail",t)};e.getMovieShowDate=function(t){return o.default.get("api/user.mahua.mahua_movie/getMovieShowDate",t)};e.getRegion=function(t){return o.default.get("api/user.mahua.mahua_movie/getRegion",t)};e.getCity1=function(t){return o.default.get("api/user.mahua.mahua_movie/getCity",t)};e.getSeats=function(t){return o.default.get("api/user.mahua.mahua_movie/getSeats",t)};e.regeoDetail=function(t){return o.default.get("api/map/regeoDetail",t)};e.getSchedule=function(t){return o.default.get("api/user.mahua.mahua_movie/getSchedule",t)};e.createOrder=function(t){return o.default.post("api/user.mahua.mahua_movie_order/createOrder",t)};e.getIncrease=function(t){return o.default.get("api/user.mahua.mahua_movie/getIncrease",t)};e.getScheduleDetailByList=function(t){return o.default.post("api/user.mahua.mahua_movie/getScheduleDetailByList",t)};e.getMoverOrderList=function(t){return o.default.get("api/user.mahua.mahua_movie_order/list",t)};e.getMoverInfo=function(t){return o.default.get("api/user.mahua.mahua_movie_order/detail",t)};e.getCityByLocationApi=function(t){return o.default.get("api/map/getCityByLocation",t)}},"95d3":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.ordering-information[data-v-0a43619c]{position:fixed;left:%?0?%;top:0;width:100vw;height:100vh;background-color:#fff;z-index:99999}\n/* 信息内容 start */.content[data-v-0a43619c]{position:relative;padding:%?30?%;width:100%;height:calc(100% - %?240?%);padding-bottom:%?160?%}.content .data[data-v-0a43619c]{margin-top:%?30?%}\n/* 信息内容 end */',""]),t.exports=e},9629:function(t,e,i){"use strict";i.r(e);var a=i("754d"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"969d":function(t,e,i){var a=i("6a14");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("954d441a",a,!0,{sourceMap:!1,shadowMode:!1})},"96a1":function(t,e,i){"use strict";i.r(e);var a=i("4ad8"),n=i("982d");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("c0f2");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4292ab3a",null,!1,a["a"],void 0);e["default"]=r.exports},"976a":function(t,e,i){"use strict";var a=i("6dd3"),n=i.n(a);n.a},9774:function(t,e,i){"use strict";i.r(e);var a=i("e6c5"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"97e2":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("c223"),i("fd3c");var n=a(i("dc1f")),o=a(i("c433")),s=a(i("a71b")),r=i("815c"),c=i("78b4"),d={props:{sid:{type:[String,Number],default:""}},components:{ImageGroup:o.default,Empty:s.default},mixins:[n.default],data:function(){return{storeInfo:{storeScore:5,goodsScore:5,packageScore:5,deliveryScore:100},comment:[],currentPage:1,pageSize:20,isLoadAll:!1}},watch:{sid:{handler:function(t){t&&this.getStoreCommentData()},immediate:!0}},methods:{getStoreCommentData:function(){var t=this;(0,c.getStoreCommentListApi)({sid:this.sid,page:this.currentPage,pSize:this.pageSize}).then((function(e){var i=e.stat,a=e.comments;t.storeInfo.storeScore=Number(i.score)||5,t.storeInfo.goodsScore=Number(i.goods_quality)||5,t.storeInfo.packageScore=Number(i.delivery_service)||5,t.storeInfo.deliveryScore=Number(i.delivery_service_percent)||100,t.comment=t.comment.concat(a.map((function(t){return{id:t.id,avatar:t.avatar,nickname:t.mobile,scores:t.scores.length,addtime:t.addtime,note:(null===t||void 0===t?void 0:t.note)||"",images:(null===t||void 0===t?void 0:t.thumbs)||[],reply:{reply:(null===t||void 0===t?void 0:t.reply)||"",time:(null===t||void 0===t?void 0:t.replytime)||""}}}))),a.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[showcase-appraise]获取店铺评论列表失败",e),t.storeInfo.storeScore=5,t.storeInfo.goodsScore=5,t.storeInfo.packageScore=5,t.storeInfo.deliveryScore=100,t.comment=[],t.isLoadAll=!0}))},loadMoreCommentData:function(){this.isLoadAll||(this.currentPage++,this.getStoreCommentData())},formatPrice:r.formatPrice}};e.default=d},"97f4":function(t,e,i){"use strict";i.r(e);var a=i("c82d"),n=i("7208");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("43e1");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"044776a2",null,!1,a["a"],void 0);e["default"]=r.exports},"982d":function(t,e,i){"use strict";i.r(e);var a=i("9938"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},9877:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("bd06"),i("d4b5"),i("aa77"),i("bf0f"),i("c223");var n=a(i("dc1f")),o=i("419c"),s=(i("9d0a"),{options:{virtualHost:!0},props:{diyPageData:{type:[Object,Array],default:function(){return{}}},storeType:{type:String,default:""},showType:{type:Number,default:0},this_search_type:{type:Number,default:0},store:{type:Object,default:function(){return{}}},storeConfig:{type:Object,default:function(){return{}}},callback:{type:Number,default:0}},mixins:[n.default],data:function(){return{score:4.5}},filters:{distanceValue:function(t){if(!t)return"";if("string"===typeof t){if(-1!=t.findIndex("m"))return t;t=Number(t)}return t<1e3?(t=t.toFixed(1),"".concat(t,"m")):(t=(t/1e3).toFixed(1),"".concat(t,"km"))}},computed:{getCoverBoxStyle:function(){return 3===this.store.isShowGoodsBanner?{width:"158rpx",height:"158rpx"}:{width:"150rpx",height:"150rpx"}},getInfoBoxStyle:function(){return{width:this.getCoverBoxStyle.width}}},mounted:function(){console.log("store",this.store)},methods:{getShowInfoTitle:function(t){if("{}"==JSON.stringify(t))return 1;var e=t.find((function(t){return"MerchantList"==t.name}));return e&&e.config&&e.config.merchantStyle?e.config.merchantStyle:1},jumpGoods:function(t,e){1==this.store.is_haodian?(0,o.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(this.store.id)):2==this.store.is_haodian&&this.store.custom_links?(0,o.navPage)("".concat(this.store.custom_links)):(this.store.pageShowType,(0,o.navPage)("/store-page/product-showcase/template-1?sid=".concat(t,"&goods_id=").concat(e||"")))},navStore:function(t){if("store"==this.storeType){console.log("this.storeType",this.storeType);var e={id:this.store.id,title:this.store.title};uni.setStorageSync("updataStoreCircle",e),uni.navigateBack()}else{if(console.log("this.storeType11",this.storeType),uni.setStorageSync("shop",this.store),this.store.store_diy_page_id>0)return void(0,o.navPage)("/diy-page/index?id="+this.store.store_diy_page_id);if(this.callback)return console.log("我需要回调,不跳转"),void this.$emit("callback",this.store.id);1==this.store.is_haodian?(0,o.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(this.store.id,"&store_type=").concat(this.store.store_type)):2==this.store.is_haodian&&this.store.custom_links?(0,o.navPage)("".concat(this.store.custom_links)):(this.store.pageShowType,(0,o.navPage)("/store-page/product-showcase/template-1?sid=".concat(this.store.id,"&goods_id=").concat(t||"")))}}}});e.default=s},9897:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getWxTemplateIdDataApi=e.getAlipayTemplateIdDataApi=void 0;var n=a(i("7653"));e.getWxTemplateIdDataApi=function(){return n.default.get("api/system.template.WxTemplate/templateList")};e.getAlipayTemplateIdDataApi=function(){return n.default.get("api/system.template.AliTemplate/templateList")}},"98c1":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("dc1f")),o={props:{value:{type:Boolean,default:!1},title:{type:String,default:""},cancelText:{type:String,default:"取 消"},confirmText:{type:String,default:"确 认"},zIndex:{type:[String,Number],default:""},contentNoTop:{type:Boolean,default:!1},contentNoPadding:{type:Boolean,default:!1},wrapperWidth:{type:String,default:""},wrapperBgColor:{type:String,default:""},closeBtn:{type:Boolean,default:!0}},mixins:[n.default],data:function(){return{openModal:!1}},watch:{value:{handler:function(t){this.openModal=t},immediate:!0}},computed:{showTitle:function(){return" "!=this.title&&""!=this.title},showCancel:function(){return" "!=this.cancelText},showConfirm:function(){return" "!=this.confirmText},modalStyle:function(){var t={};return this.zIndex&&(t.zIndex=Number(this.zIndex-1)),t},closeBtnStyle:function(){var t={};return this.zIndex&&(t.zIndex=Number(this.zIndex)),t},wrapperStyle:function(){var t={};return this.zIndex&&(t.zIndex=Number(this.zIndex)),this.wrapperWidth&&(t.width=this.wrapperWidth),this.wrapperBgColor&&(t.backgroundColor=this.wrapperBgColor),t}},methods:{closeModal:function(){this.$emit("input",!1),this.$emit("close")},cancelEvent:function(){this.$emit("cancel")},confirmEvent:function(){this.$emit("confirm")}}};e.default=o},9938:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("fd3c");var n=a(i("9e2f")),o={mixins:[n.default],name:"tn-radio-group",props:{isFlex:{type:Boolean,default:!1},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},disabledLabel:{type:Boolean,default:!1},shape:{type:String,default:"circle"},activeColor:{type:String,default:"#01BEFF"},size:{type:Number,default:34},width:{type:String,default:"auto"},wrap:{type:Boolean,default:!1},iconSize:{type:Number,default:20}},computed:{parentData:function(){return[this.value,this.disabled,this.activeColor,this.size,this.disabledLabel,this.shape,this.iconSize,this.width,this.wrap]}},data:function(){return{}},watch:{parentData:function(){this.children.length&&this.children.map((function(t){"function"===typeof t.updateParentData&&t.updateParentData()}))}},created:function(){this.children=[]},methods:{setValue:function(t){var e=this;this.children.map((function(e){e.parentData.value!==t&&(e.parentData.value="")})),this.$emit("input",t),this.$emit("change",t),setTimeout((function(){e.dispatch("tn-form-item","on-form-change",t)}),60)}}};e.default=o},"99be":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.store-nav[data-v-6d1e606a]{position:relative;width:100%;background-color:#fff;display:flex;align-items:center;padding:%?10?% %?30?%;padding-bottom:%?20?%\n /* 导航 start */\n /* 导航 end */\n /* 搜索 start */\n /* 搜索 end */}.store-nav .nav-wrapper[data-v-6d1e606a]{display:flex;align-items:center}.store-nav .nav-wrapper .nav-item[data-v-6d1e606a]{position:relative;flex-shrink:0;padding-right:%?30?%;font-size:%?34?%}.store-nav .nav-wrapper .nav-item.select[data-v-6d1e606a]{font-size:%?38?%;font-weight:500}.store-nav .nav-wrapper .nav-item .bottom-line[data-v-6d1e606a]{position:absolute;left:calc(50% - %?15?%);bottom:%?-20?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:50%;height:%?10?%;border-radius:%?30?%}.store-nav .search[data-v-6d1e606a]{flex:1;margin-left:%?20?%}',""]),t.exports=e},"99ef":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default,tnTabs:i("37fc").default,tnPopup:i("1fbf").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"order-page component-page-padding-bottom theme-order-page"},[t.loadingShow?i("loading"):t._e(),i("v-uni-view",{staticClass:"navbar tn-shadow",style:[t.navBarStyle]},[i("v-uni-view",{staticClass:"navbar__title tn-flex-center",style:[t.navbarContentStyle]},[t._v("订单")])],1),t.this_filter_field.length>0?i("v-uni-view",{staticClass:"order-type-select tn-shadow theme-order-tabs",style:[{top:t.navBarInfo.height+"px"}]},[i("tn-tabs",{attrs:{showBar:!1,list:t.orderTypes,current:t.currentSelectOrderTypeIndex,"active-color":"var(--theme-general-color)"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.orderTypeChangeEvent.apply(void 0,arguments)}}})],1):t._e(),i("v-uni-view",{staticClass:"order-page__wrapper component-page-padding-bottom",style:[{paddingTop:t.navBarInfo.height+(t.this_filter_field.length>0?50:20)+"px"}]},[t.orderData.length>0?[1===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("takeout-order-list",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),9===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("visa-order-list",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),11===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("ChargeOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e()]:t._e(),t.isLoadAll&&0===t.orderData.length?[i("empty",{attrs:{icon:"empty-data",tips:"订单为空"}})]:t._e()],2),i("v-uni-view",{staticClass:"refresh-btn tn-shadow tn-flex-center",style:{"background-color":"var(--theme-general-color)",color:"var(--general-color-text)"},attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-circle-arrow"})],1),i("tn-popup",{attrs:{mode:"bottom",height:"45%",borderRadius:30},model:{value:t.showSift,callback:function(e){t.showSift=e},expression:"showSift"}},[i("v-uni-view",{staticClass:"tn-padding"},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v("筛选订单类型")]),i("v-uni-view",{staticClass:"tn-flex tn-margin-top sift-item"},[t._l(t.siftList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tn-text-center seleMod",class:a==t.currentSelectOrderTypeIndex?"tn-color-red tn-border-red tn-bg-red--light":"",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickSift(a)}}},[i("v-uni-view",{staticClass:"tn-padding-sm txt"},[e.icon?i("v-uni-image",{staticClass:"icon",attrs:{src:e.icon,mode:"widthFix"}}):t._e(),i("span",[t._v(t._s(e.name))])],1)],1)})),i("v-uni-view",{staticStyle:{width:"32%"}})],2)],1)],1)],1)},o=[]},"9a08":function(t,e,i){"use strict";i.r(e);var a=i("8bbe"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"9a0a":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.wechatGetPhoneNumberApi=e.updateUserInfoApi=e.setContactApi=e.myAuthcode=e.getUserInfoApi=e.deleteAccountApi=e.currentCredit2Api=e.checkPwdSetApi=void 0;var n=a(i("7653"));e.getUserInfoApi=function(){return n.default.get("api/user.member.mine/index")};e.updateUserInfoApi=function(t){return n.default.post("api/user.member.account/completeInfo",t)};e.wechatGetPhoneNumberApi=function(t){return n.default.post("api/user.member.account/wechatGetPhoneNumber",t)};e.setContactApi=function(t){return n.default.post("api/user.member.mine/setContact",t)};e.deleteAccountApi=function(){return n.default.post("api/user.member.account/deleteAccount")};e.myAuthcode=function(t){return n.default.post("api/user.member.credit.credit_authcode/myAuthcode",t)};e.currentCredit2Api=function(t){return n.default.get("api/user.member.credit.credit_authcode/currentCredit2",t)};e.checkPwdSetApi=function(t){return n.default.post("api/user.member.account/checkPwdSet",t)}},"9a2e":function(t,e,i){"use strict";var a=i("375a"),n=i.n(a);n.a},"9a50":function(t,e,i){"use strict";var a=i("cdfd"),n=i.n(a);n.a},"9a8e":function(t,e,i){"use strict";var a=i("d9b0"),n=i.n(a);n.a},"9b4e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],ref:"ani",class:t.customClass,style:t.transformStyles,attrs:{animation:t.animationData},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t._t("default")],2)},n=[]},"9b69":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("6fbe")),o={options:{virtualHost:!0},props:{value:{type:Boolean,default:!1}},mixins:[n.default],data:function(){return{showSkeleton:!1}},watch:{value:{handler:function(t){this.showSkeleton=t},immediate:!0}},created:function(){this.initCustomNavBarInfo()},mounted:function(){var t=this;setTimeout((function(){t.closeSkeleton()}),5e3)},methods:{closeSkeleton:function(){this.$emit("input",!1),this.$emit("close")}}};e.default=o},"9c39":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-column-notice-class tn-column-notice",class:[t.backgroundColorClass],style:[t.noticeStyle]},[i("v-uni-view",{staticClass:"tn-column-notice__icon"},[t.leftIcon?i("v-uni-view",{staticClass:"tn-column-notice__icon--left",class:["tn-icon-"+t.leftIconName,t.fontColorClass],style:[t.fontStyle("leftIcon")],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickLeftIcon.apply(void 0,arguments)}}}):t._e()],1),i("v-uni-swiper",{staticClass:"tn-column-notice__swiper",style:[t.swiperStyle],attrs:{vertical:t.vertical,circular:!0,autoplay:t.autoplay&&"play"===t.playStatus,interval:t.duration},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}},t._l(t.list,(function(e,a){return i("v-uni-swiper-item",{key:a,staticClass:"tn-column-notice__swiper--item"},[i("v-uni-view",{staticClass:"tn-column-notice__swiper--content tn-text-ellipsis-1",class:[t.fontColorClass],style:[t.fontStyle()],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click(a)}}},[i("v-uni-text",{style:{fontSize:t.textSize+"rpx"}},[t._v(t._s(e))])],1)],1)})),1),i("v-uni-view",{staticClass:"tn-column-notice__icon"},[t.rightIcon?i("v-uni-view",{staticClass:"tn-column-notice__icon--right",class:["tn-icon-"+t.rightIconName,t.fontColorClass],style:[t.fontStyle("rightIcon")],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickRightIcon.apply(void 0,arguments)}}}):t._e(),t.closeBtn?i("v-uni-view",{staticClass:"tn-column-notice__icon--right",class:["tn-icon-close",t.fontColorClass],style:[t.fontStyle("close")],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e()],1)],1)},n=[]},"9c93":function(t,e,i){"use strict";i.r(e);var a=i("3a6f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"9ce9":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.container[data-v-288dfcf5]{position:relative;height:100%;width:100vw;background:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/sec-floor1.png) no-repeat;background-color:#fff;background-size:100% 100%;overflow:hidden}.pull-guide[data-v-288dfcf5]{position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;z-index:10}.red-packet[data-v-288dfcf5]{width:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;-webkit-animation:pulse-data-v-288dfcf5 2s infinite alternate;animation:pulse-data-v-288dfcf5 2s infinite alternate}.red-packet uni-image[data-v-288dfcf5]{height:100%}.desc[data-v-288dfcf5]{width:100%;text-align:center;color:#fff;font-size:%?32?%;color:#e57373;margin-top:%?20?%;-webkit-animation:pulse-data-v-288dfcf5 2s infinite alternate;animation:pulse-data-v-288dfcf5 2s infinite alternate}.rope[data-v-288dfcf5]{width:100%;display:flex;justify-content:center;overflow:hidden;-webkit-animation:stretch-data-v-288dfcf5 2s infinite alternate;animation:stretch-data-v-288dfcf5 2s infinite alternate}.rope .direction[data-v-288dfcf5]{width:%?64?%;height:%?64?%}\n/* 动画定义 */@-webkit-keyframes pulse-data-v-288dfcf5{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse-data-v-288dfcf5{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes stretch-data-v-288dfcf5{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(%?20?%);transform:translateY(%?20?%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes stretch-data-v-288dfcf5{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(%?20?%);transform:translateY(%?20?%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}',""]),t.exports=e},"9d10":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{"custom-navbar":!0,leftSlot:!0,navbarTitle:" ",navbarBack:!1,"wrapper-begin-navbar":!1,"enable-safe-area-bottom":!1,navbarBgColor:"var(--theme-general-color)"},scopedSlots:t._u([3===t.storeInfo.class_type?{key:"left",fn:function(){return[i("v-uni-view",{staticClass:"tn-flex tn-flex-center"},[i("v-uni-image",{staticClass:"tn-radius-lg tn-margin-right-sm",staticStyle:{width:"60rpx",height:"60rpx","border-radius":"15rpx"},attrs:{src:t.storeInfo.storeInfo.logo}}),i("v-uni-text",{staticStyle:{"font-size":"36rpx","font-weight":"bolder"}},[t._v(t._s(t.storeInfo.storeInfo.title))]),t.is_api_shop||t.storeInfo.storeInfo.is_system_brand?i("v-uni-view",{staticClass:"sequence_button",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.sequence.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-sequence"}),i("v-uni-text",[t._v("切换")])],1):t._e()],1)]},proxy:!0}:null],null,!0)},[t.loadingShow?i("loading",{attrs:{zindex:99999,showMask:!0}}):t._e(),i("v-uni-view",{staticClass:"theme-template-1"},[i("v-uni-view",{staticClass:"top-navbar",style:[t.topNavbarStyle]}),i("v-uni-view",{staticClass:"store-header-info theme-storeHeader-info"},[2===t.storeInfo.class_type?i("show-case-header2",{attrs:{data:t.storeInfo,brand:t.brand,storeCode:t.storeCode,table_name:t.storeInfo.table.title||""}}):t._e(),1==t.storeInfo.class_type?i("show-case-header3",{attrs:{data:t.storeInfo,brand:t.brand,storeCode:t.storeCode,table_name:t.storeInfo.table.title||"",showSwitch:0===t.currentNavIndex&&t.goodsData[0]&&t.goodsData[0].child&&0===t.goodsData[0].child.length&&3===t.storeInfo.storeInfo.delivery_type&&t.is_show_switch},on:{changSwt:function(e){arguments[0]=e=t.$handleEvent(e),t.changSwt.apply(void 0,arguments)}}}):t._e()],1),i("v-uni-view",{staticClass:"store-nav theme-store-nav",style:[{top:t.navBarInfo.height+"px"}],attrs:{id:"nav_"+t.componentId}},[i("store-nav",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleNavChangeEvent.apply(void 0,arguments)},search:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSearchEvent.apply(void 0,arguments)}},model:{value:t.currentNavIndex,callback:function(e){t.currentNavIndex=e},expression:"currentNavIndex"}})],1),t.renderTemplateFlag[0]?i("v-uni-view",{staticClass:"goods-info tn-border-top tn-border-gray--light theme-goods-info",style:[t.currentNavStyle(0)]},[i("goods-list",{ref:"goodsList",attrs:{pageShowType:t.pageShowType,data:t.goodsData,storeData:t.storeInfo.storeInfo.coupons,"sticky-distance":t.goodsPreviewRectInfo.stickyDistance,height:t.goodsPreviewRectInfo.height,"navbar-height":t.navBarInfo.height,sid:t.storeInfo.storeInfo.id,"spellrice-id":t.optionsData.spellriceId,"table-id":t.optionsData.tableId,"is-rest":t.isRest,navType:t.previous,"category-index":t.categoryIndex,"is-reach-bottom":t.isReachBottom,"is-next-category":t.isNextCategory,searchComdId:t.chrid,showloadNext:t.showloadNext,loadText:t.loadText,brand:t.brand,refreshCategoryTitleRectInfo:t.refreshCategoryTitleRectInfo},on:{changTabsId:function(e){arguments[0]=e=t.$handleEvent(e),t.changTabs.apply(void 0,arguments)},change_scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.changeScroll.apply(void 0,arguments)},"render-finish":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodsListRenderFinishEvent.apply(void 0,arguments)},"category-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryChangeEvent.apply(void 0,arguments)},"good-num-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodsListGoodNumChangeEvent.apply(void 0,arguments)}}})],1):t._e(),t.renderTemplateFlag[1]?i("v-uni-view",{staticClass:"store-appraise tn-border-top tn-border-gray--light",style:[t.currentNavStyle(1)]},[i("appraise",{ref:"appraiseRef",attrs:{sid:t.storeInfo.storeInfo.id}})],1):t._e(),t.renderTemplateFlag[2]?i("v-uni-view",{staticClass:"store-info tn-border-top tn-border-gray--light",style:[t.currentNavStyle(2)]},[i("store-info",{attrs:{store:t.storeInfo.storeInfo}})],1):t._e(),i("v-uni-view",{staticClass:"shopping-cart theme-shopping-cart",class:[{hidden:(t.hiddCart||0!==t.currentNavIndex)&&(1==!t.storeInfo.storeInfo.isRest||0==!t.storeInfo.storeInfo.isInBusiness)}],style:{bottom:t.tabbarHeight+"px"}},[i("shopping-cart",{ref:"shoppingCartRef",attrs:{"send-price":t.storeInfo.storeInfo.sendPrice,selfPickupMinPrice:t.storeInfo.storeInfo.selfPickupMinPrice,"delivery-price":t.storeInfo.storeInfo.deliveryPrice,sid:t.storeInfo.storeInfo.id,"goods-data":t.goodsData,"table-id":t.optionsData.tableId,"spellrice-id":t.optionsData.spellriceId,"is-rest":t.isRest,deliveryType:t.storeInfo.storeInfo.delivery_type,isZiti:t.delivery_type,brand:t.brand,storeCode:t.storeCode,encrypted_data:t.encrypted_data,multiple_cart:t.storeInfo.multiple_cart_is_open,multiple_cart_add_fee:t.storeInfo.multiple_cart_add_fee},on:{"get-cart-id":function(e){arguments[0]=e=t.$handleEvent(e),t.getCartId.apply(void 0,arguments)},changCartNum:function(e){arguments[0]=e=t.$handleEvent(e),t.cartNums.apply(void 0,arguments)},"good-num-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleShoppingCartGoodNumChangeEvent.apply(void 0,arguments)},clear:function(e){arguments[0]=e=t.$handleEvent(e),t.handleShoppingCartClearEvent.apply(void 0,arguments)},"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleSubmitOrderRefreshEvent.apply(void 0,arguments)},"update-category":function(e){arguments[0]=e=t.$handleEvent(e),t.handleUpdateCategoryEvent.apply(void 0,arguments)}}})],1),i("showcase-update-modal",{attrs:{data:t.updateInfo},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.updateModalNavBackEvent.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.updateModalNavBackEvent.apply(void 0,arguments)}},model:{value:t.showUpdateModal,callback:function(e){t.showUpdateModal=e},expression:"showUpdateModal"}}),i("showcase-ordering-information",{attrs:{data:t.orderingInformation},on:{ordering:function(e){arguments[0]=e=t.$handleEvent(e),t.handleOrderingInformationClickEvent.apply(void 0,arguments)}},model:{value:t.showOrderingInformationModal,callback:function(e){t.showOrderingInformationModal=e},expression:"showOrderingInformationModal"}}),t.expansion_show?i("v-uni-view",{staticClass:"expansion"},[i("v-uni-view",{staticClass:"expansion_box"},[i("v-uni-view",{staticClass:"line1"},[t._v("膨胀吃货红包")]),i("v-uni-view",{staticClass:"line2"},[t._v("膨胀后金额变大,门槛不变")]),i("v-uni-view",{staticClass:"line2"},[t._v("限“膨胀专享”商家使用,且不可撤销")]),i("v-uni-view",{staticClass:"line3"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{staticClass:"price_detail"},[i("span",{staticClass:"price_unit"},[t._v(t._s(t.CurrencyUnit))]),i("span",{staticClass:"price_num"},[t._v(t._s(t.old_discount))])]),i("v-uni-view",{staticClass:"price_description"},[t._v("无门槛")])],1)],1),i("v-uni-view",{staticClass:"mid"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230912160305de3ab8876.png",alt:""}})]),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{staticClass:"price_detail"},[i("span",{staticClass:"price_unit"},[t._v(t._s(t.CurrencyUnit))]),i("span",{staticClass:"price_num"},[t._v(t._s(t.new_discount))])]),i("v-uni-view",{staticClass:"price_description"},[t._v(t._s(t.new_description))])],1)],1)],1),i("v-uni-view",{staticClass:"line4",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.exchange.apply(void 0,arguments)}}},[t._v("立即膨胀")])],1),i("v-uni-view",{staticClass:"expansion_close"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230912165851ec7463500.png",alt:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.expansion_close.apply(void 0,arguments)}}})])],1):t._e(),i("showcase-ordering-renshu",{attrs:{table_name:t.table_name,storeInfo:t.storeInfo.storeInfo},on:{ordering:function(e){arguments[0]=e=t.$handleEvent(e),t.handleOrderingRenshuClickEvent.apply(void 0,arguments)}},model:{value:t.showOrderingRenshuModal,callback:function(e){t.showOrderingRenshuModal=e},expression:"showOrderingRenshuModal"}})],1)],1)},o=[]},"9d6a":function(t,e,i){"use strict";var a=i("386f"),n=i.n(a);n.a},"9d82":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-scroll-list__scroll-view[data-v-29544377]{display:flex;flex-direction:row}.tn-scroll-list__scroll-view__content[data-v-29544377]{position:relative}.tn-scroll-list__indicator[data-v-29544377]{display:flex;flex-direction:row;justify-content:center;margin-top:%?30?%}.tn-scroll-list__indicator__line[data-v-29544377]{width:%?120?%;height:%?8?%;border-radius:%?200?%;overflow:hidden}.tn-scroll-list__indicator__line__bar[data-v-29544377]{width:%?40?%;height:%?8?%;border-radius:%?200?%}',""]),t.exports=e},"9dfd":function(t,e,i){"use strict";i.r(e);var a=i("feb3"),n=i("07e6");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("39b3");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0dd511bd",null,!1,a["a"],void 0);e["default"]=r.exports},"9e2d":function(t,e,i){var a=i("7497");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("88561780",a,!0,{sourceMap:!1,shadowMode:!1})},"9e2f":function(t,e,i){"use strict";function a(t,e,i){this.$children.map((function(n){t===n.$options.name?n.$emit.apply(n,[e].concat(i)):a.apply(n,[t,e].concat(i))}))}i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("c223");var n={methods:{dispatch:function(t,e,i){var a=this.$parent||this.$root,n=a.$options.name;while(a&&(!n||n!==t))a=a.$parent,a&&(n=a.$options.name);a&&a.$emit.apply(a,[e].concat(i))},broadcast:function(t,e,i){a.call(this,t,e,i)}}};e.default=n},"9e5e":function(t,e,i){"use strict";var a=i("0b94"),n=i.n(a);n.a},"9ef1":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/**\n * 组件页面公用css\n */.component-page-padding-bottom[data-v-e2633cd0]{padding-bottom:%?130?%;padding-bottom:calc(%?130?% + constant(safe-area-inset-bottom));padding-bottom:calc(%?130?% + env(safe-area-inset-bottom))}.home-page[data-v-e2633cd0]{padding-top:1px;position:relative;width:100%\n /* 首页顶部导航 start */\n /* 首页顶部导航 end */\n /* 顶部背景 start */\n /* 顶部背景 end */\n /* 页面区域 start */\n /* 页面区域 end */\n /* 切换地址 start */\n /* 切换地址 end */\n /* 购物车按钮 start */\n /* 购物车按钮 end */}.home-page .navbar[data-v-e2633cd0]{position:fixed;left:0;top:0;width:100%;z-index:99997;color:#fff}.home-page .navbar .navbar-wrapper[data-v-e2633cd0]{display:flex;justify-content:space-between;position:absolute;align-items:center;left:0;padding:%?0?% %?30?%;padding:%?20?% %?30?% 0\n /* 位置信息 start */\n /* 位置信息 end */\n /* search-box start */\n /* search-box end */}.home-page .navbar .navbar-wrapper .location0[data-v-e2633cd0]{max-width:33%}.home-page .navbar .navbar-wrapper .location0__left-icon[data-v-e2633cd0]{font-size:%?40?%}.home-page .navbar .navbar-wrapper .location0__text[data-v-e2633cd0]{font-size:%?26?%}.home-page .navbar .navbar-wrapper .location0__right-icon[data-v-e2633cd0]{font-size:%?24?%}.home-page .navbar .navbar-wrapper .location[data-v-e2633cd0]{width:%?100?%}.home-page .navbar .navbar-wrapper .location__left-icon[data-v-e2633cd0]{font-size:%?40?%}.home-page .navbar .navbar-wrapper .location__text[data-v-e2633cd0]{font-size:%?26?%}.home-page .navbar .navbar-wrapper .location__right-icon[data-v-e2633cd0]{font-size:%?24?%}.home-page .navbar .navbar-wrapper .search-box[data-v-e2633cd0]{flex:1}.home-page .top-bg[data-v-e2633cd0]{position:relative;left:0;top:0;width:100%;height:%?560?%;height:%?450?%;z-index:1}.home-page .top-bg .animation[data-v-e2633cd0]{position:relative;height:%?560?%;width:100%}.home-page .top-bg .animation .fade[data-v-e2633cd0]{position:absolute;top:0;left:0;width:100%;height:100%;transition:1.5s}.home-page .top-bg .animation .fade .image[data-v-e2633cd0]{width:100%}.home-page .top-bg .animation .banner[data-v-e2633cd0]{position:absolute;left:0;top:0;width:100%;height:100%}.home-page .top-bg.empty[data-v-e2633cd0]{position:fixed;background-color:#fff;z-index:9999}.home-page .top-bg .bg__image[data-v-e2633cd0]{position:absolute;left:0;top:0;width:100%;height:100%}.home-page .top-bg .bg__content[data-v-e2633cd0]{position:absolute;top:0;left:0;width:100%;height:100%\n /* 轮播图 start */\n /* 轮播图 end */}.home-page .top-bg .bg__content .banner[data-v-e2633cd0]{position:absolute;width:100%;height:auto;bottom:%?-5?%}.home-page .top-bg .bg__content .banner .banner-swiper[data-v-e2633cd0]{width:100%;height:""}.home-page .top-bg .bg__content .banner .banner-swiper[data-v-e2633cd0] .uni-swiper-wrapper{overflow:inherit!important}.home-page .top-bg .bg__content .banner .banner-swiper .swiper-item[data-v-e2633cd0]{width:100%;height:auto!important;position:absolute;bottom:%?0?%}.home-page .top-bg .bg__content .banner .banner-swiper .swiper-item .item-content[data-v-e2633cd0]{padding:0 %?30?%;height:auto;margin:%?0?% auto;-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:center center;transform-origin:center center;transition:-webkit-transform 1s ease .1s;transition:transform 1s ease .1s;transition:transform 1s ease .1s,-webkit-transform 1s ease .1s}.home-page .top-bg .bg__content .banner .banner-swiper .swiper-item .item-content.current[data-v-e2633cd0]{-webkit-transform:scale(1);transform:scale(1)}.home-page .page-wrapper[data-v-e2633cd0]{position:relative;width:100%;z-index:2\n /* diy内容 start */\n /* diy内容 end */}.home-page .page-wrapper .diy-content[data-v-e2633cd0]{padding:%?30?%;padding-top:%?1?%}.home-page .empty-switch-address[data-v-e2633cd0]{padding:%?14?% %?30?%;background-color:#ffca28;color:#080808;border-radius:%?10?%}.home-page .shopping-cart-btn[data-v-e2633cd0]{position:fixed;bottom:%?220?%;right:%?30?%;background-color:#fff;border-radius:50%;width:%?80?%;height:%?80?%;font-size:%?34?%;z-index:9999;box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.2)}.home-page .shopping-cart-btn .num[data-v-e2633cd0]{position:absolute;line-height:1;padding:%?2?% %?12?%;font-size:%?24?%;top:0;right:%?-10?%;border-radius:%?100?%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.home-page .customer-service-btn[data-v-e2633cd0]{position:fixed;bottom:%?320?%;right:%?30?%;background-color:#fff;border-radius:50%;width:%?80?%;height:%?80?%;font-size:%?34?%;z-index:9999;box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.2)}.store-list[data-v-e2633cd0]{position:relative;width:100%;margin-top:%?20?%\n /* 顶部标题 start */\n /* 顶部标题 end */\n /* 商品加载 start */\n /* 商品加载 end */}.store-list .top-title[data-v-e2633cd0]{width:-webkit-fit-content;width:fit-content;position:relative;font-size:%?38?%;font-weight:400;margin-bottom:%?40?%}.store-list .top-title .bottom-line[data-v-e2633cd0]{position:absolute;left:50%;bottom:%?-20?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:60%;height:%?8?%;border-radius:%?30?%}.store-list .tabs-box[data-v-e2633cd0]{display:flex;align-items:center;justify-content:space-between}.store-list .tabs-box .tabs-item[data-v-e2633cd0]{padding:0 %?25?%;height:%?60?%;background-color:#fff;color:#232323;border-radius:19px;display:flex;align-items:center;justify-content:center;font-size:%?28?%;font-weight:400}.store-list .tabs-box .select[data-v-e2633cd0]{color:#fff;background:linear-gradient(90deg,#f12523,#ce1a1a)}.store-list .store-data[data-v-e2633cd0]{position:relative;width:100%;margin-top:%?20?%\n /* 普通商家 */\n /* 广告商家 */}.store-list .store-data .normal-store[data-v-e2633cd0]{width:100%;margin-top:%?20?%;border-radius:%?20?%;background:#fff}.store-list .store-data .normal-store[data-v-e2633cd0]:first-child{margin-top:%?0?%}.store-list .store-data .ad-store[data-v-e2633cd0]{position:relative;width:100%;margin-top:%?20?%}.store-list .store-loading[data-v-e2633cd0]{position:relative;width:100%;margin-top:%?20?%}',""]),t.exports=e},"9f26":function(t,e,i){"use strict";var a=i("5157"),n=i.n(a);n.a},"9f6f":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-margin-sm tn-flex-row coupon-discount",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.subCoupon.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"tn-flex-1"},[i("v-uni-view",{staticClass:"tn-color-red tn-padding-left"},[i("v-uni-text",{staticClass:"tn-text-lg"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-text",{staticClass:"tn-text-bold tn-margin-left-xs",staticStyle:{"font-size":"30px"}},[t._v(t._s(t.couponMoney))])],1)],1),i("v-uni-view",{staticClass:"tn-flex-1 tn-flex-column tn-color-white"},[i("v-uni-view",{},[t._v("商家代金券")]),i("v-uni-view",{staticClass:"tn-text-sm"},[t._v("内含"+t._s(t.couponNum)+"张券")])],1),i("v-uni-view",{staticClass:"tn-flex-1"})],1)},n=[]},"9f9f":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("419c"),n={options:{virtualHost:!0},props:{store:{type:Object,default:function(){return{}}}},data:function(){return{}},methods:{toPage:function(){uni.setStorageSync("shop",this.store),1==this.store.is_haodian?(0,a.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(this.store.id)):2==this.store.is_haodian&&this.store.custom_links?(0,a.navPage)("".concat(this.store.custom_links)):(this.store.pageShowType,(0,a.navPage)("/store-page/product-showcase/template-1?sid=".concat(this.store.id)))},navPage:a.navPage}};e.default=n},"9fd2":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"image-group"},[t.preview?t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"image-box",class:[t.imageClass],style:{width:1==t.data.length?"100%":2==t.data.length||4==t.data.length?"calc(100% / 2- 10rpx)":"calc(100% / 3 - 10rpx)",paddingBottom:1==t.data.length?"0rpx":2==t.data.length||4==t.data.length?"calc(100% / 2 - 10rpx)":"calc(100% / 3 - 10rpx)",position:1==t.data.length?"static":"relative",height:1==t.data.length?"auto":"0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.previewImage(a)}}},[i("v-uni-view",{staticClass:"image",style:{position:1==t.data.length?"static":"absolute"}},[1==t.data.length?i("v-uni-image",{staticStyle:{"border-radius":"15rpx",width:"370rpx"},attrs:{mode:"widthFix",src:e}}):i("tn-lazy-load",{attrs:{bgColor:"#fff",src:e}})],1)],1)})):t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"image-box",class:[t.imageClass],style:{width:1==t.data.length?"100%":2==t.data.length||4==t.data.length?"calc(100% / 2- 10rpx)":"calc(100% / 3 - 10rpx)",paddingBottom:1==t.data.length?"0rpx":2==t.data.length||4==t.data.length?"calc(100% / 2 - 10rpx)":"calc(100% / 3 - 10rpx)",position:1==t.data.length?"static":"relative",height:1==t.data.length?"auto":"0rpx"}},[i("v-uni-view",{staticClass:"image",style:{position:1==t.data.length?"static":"absolute"}},[1==t.data.length?i("v-uni-image",{staticStyle:{"border-radius":"15rpx",width:"370rpx"},attrs:{mode:"widthFix",src:e}}):i("tn-lazy-load",{attrs:{enableLazyLoad:!1,bgColor:"#fff",src:e}})],1)],1)}))],2)},o=[]},"9ff2":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.shop_index_box[data-v-2ee3eaf0]{width:100%;height:auto}.shop_index_box .shop_index_topBg[data-v-2ee3eaf0]{width:100%;height:%?400?%}.shop_index_box .shop_index_card[data-v-2ee3eaf0]{width:100%;height:auto;display:flex;justify-content:center;align-items:center;margin-top:%?-50?%}.shop_index_box .shop_index_card .center_box[data-v-2ee3eaf0]{width:95%;height:auto;border-radius:%?30?%;display:flex;flex-wrap:wrap;justify-content:center;background-color:#fff}.shop_index_box .shop_index_card .center_box .userInof[data-v-2ee3eaf0]{width:100%;display:flex;align-items:center;background-color:#2f3034;border-top-left-radius:%?30?%;border-top-right-radius:%?30?%}.shop_index_box .shop_index_card .center_box .userInof_left[data-v-2ee3eaf0]{width:50%;height:%?90?%;display:flex;align-items:center;justify-content:flex-start;padding-left:%?55?%;color:#ead572}.shop_index_box .shop_index_card .center_box .userInof_left uni-image[data-v-2ee3eaf0]{width:%?60?%;height:%?60?%;border-radius:50%}.shop_index_box .shop_index_card .center_box .userInof_left_nickName[data-v-2ee3eaf0]{padding-left:%?20?%}.shop_index_box .shop_index_card .center_box .userInof_right[data-v-2ee3eaf0]{width:50%;height:%?100?%;display:flex;align-items:center;justify-content:flex-end;padding-right:%?55?%;color:#ead572}.shop_index_box .shop_index_card .center_box .topnav_box[data-v-2ee3eaf0]{width:95%;display:flex;align-items:center;height:%?270?%;justify-content:space-between}.shop_index_box .shop_index_card .center_box .topnav_box .topnav_item[data-v-2ee3eaf0]{width:30%;height:%?240?%;display:flex;align-items:center;box-shadow:0 0 %?20?% 0 rgba(4,0,0,.06);flex-wrap:wrap;border-radius:%?13?%}.shop_index_box .shop_index_card .center_box .topnav_box .topnav_item .topnav_item_center[data-v-2ee3eaf0]{width:100%;height:%?210?%}.shop_index_box .shop_index_card .center_box .topnav_box .topnav_item .topnav_item_center .topnav_item_img_box[data-v-2ee3eaf0]{width:100%;height:%?110?%;display:flex;align-items:center;justify-content:center}.shop_index_box .shop_index_card .center_box .topnav_box .topnav_item .topnav_item_center .topnav_item_img_box uni-image[data-v-2ee3eaf0]{width:%?100?%;height:%?100?%}.shop_index_box .shop_index_card .center_box .topnav_box .topnav_item .topnav_item_center .topnav_item_title[data-v-2ee3eaf0]{width:100%;height:%?50?%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:%?36?%}.shop_index_box .shop_index_card .center_box .topnav_box .topnav_item .topnav_item_center .topnav_item_note[data-v-2ee3eaf0]{width:100%;height:%?40?%;display:flex;align-items:center;justify-content:center;font-size:%?25?%;color:#d8d3d3}.shop_index_box .shop_index_card .center_box .user_vip_box[data-v-2ee3eaf0]{width:95%;height:%?130?%;background-color:#fcf5d9;display:flex;justify-content:center;align-items:center;border-radius:%?14?%}.shop_index_box .shop_index_card .center_box .user_vip_box_left[data-v-2ee3eaf0]{width:50%;height:%?150?%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding-left:%?55?%}.shop_index_box .shop_index_card .center_box .user_vip_box_left_center[data-v-2ee3eaf0]{height:%?100?%;width:auto;display:flex;align-items:center;flex-wrap:wrap}.shop_index_box .shop_index_card .center_box .user_vip_box_left_center_title[data-v-2ee3eaf0]{width:100%;height:%?50?%;display:flex;justify-content:flex-start;align-items:center;font-size:%?38?%;color:#7a673f}.shop_index_box .shop_index_card .center_box .user_vip_box_left_center_note[data-v-2ee3eaf0]{width:100%;height:%?30?%;display:flex;justify-content:flex-start;align-items:center;color:#535353;font-size:%?27?%}.shop_index_box .shop_index_card .center_box .user_vip_box_right[data-v-2ee3eaf0]{width:50%;height:%?150?%;padding-right:%?55?%;display:flex;justify-content:flex-end;align-items:center;color:#fff}.shop_index_box .shop_index_card .center_box .user_vip_box_right_btn[data-v-2ee3eaf0]{width:%?190?%;height:%?70?%;background-color:#7a673f;display:flex;align-items:center;justify-content:center;border-radius:%?42?%}.shop_index_box .shop_index_card .center_box .bottomnav_box[data-v-2ee3eaf0]{width:95%;height:%?160?%;display:flex}.shop_index_box .shop_index_card .center_box .bottomnav_box .bottomnav_item[data-v-2ee3eaf0]{width:50%;height:%?160?%;display:flex;justify-content:center;align-items:center}.shop_index_box .shop_index_card .center_box .bottomnav_box .bottomnav_item_leftImg[data-v-2ee3eaf0]{width:%?70?%;height:%?70?%}.shop_index_box .shop_index_card .center_box .bottomnav_box .bottomnav_item_textInfo[data-v-2ee3eaf0]{width:auto;height:auto;padding-left:%?15?%}.shop_index_box .shop_index_card .center_box .bottomnav_box .bottomnav_item_textInfo_title[data-v-2ee3eaf0]{width:auto;height:auto;font-size:%?32?%;font-weight:700}.shop_index_box .shop_index_card .center_box .bottomnav_box .bottomnav_item_textInfo_note[data-v-2ee3eaf0]{width:auto;height:%?40?%;line-height:%?40?%;color:#d8d3d3;font-size:%?24?%}',""]),t.exports=e},a036:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.info-item[data-v-4dcc9ff0]{margin-top:%?20?%;padding:%?15?% %?35?%;background-color:#fff;border-radius:%?20?%}.info-item .img[data-v-4dcc9ff0]{width:%?90?%;height:%?90?%;border-radius:50%}.info-item .text-mod[data-v-4dcc9ff0]{display:flex;align-items:center;justify-content:center;flex-direction:column}',""]),t.exports=e},a0dc:function(t,e,i){"use strict";i.r(e);var a=i("d1cb"),n=i("1db3");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("df3d");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d1f05830",null,!1,a["a"],void 0);e["default"]=r.exports},a0ea:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-modal__box[data-v-56192e3f]{position:relative;box-sizing:border-box;background-color:#fff;padding:%?40?% %?64?%}.tn-modal__box__title[data-v-56192e3f]{text-align:center;font-size:%?34?%;color:#333;padding-top:%?20?%;font-weight:700}.tn-modal__box__content[data-v-56192e3f]{text-align:center;padding-bottom:%?30?%;color:#080808;font-size:%?28?%}.tn-modal__box__content--no-title[data-v-56192e3f]{padding-bottom:%?0?%!important}.tn-modal__box__btn-box[data-v-56192e3f]{width:100%;display:flex;align-items:center;justify-content:space-between}.tn-modal__box__content ~ .tn-modal__box__btn-box[data-v-56192e3f]{margin-top:%?30?%}',""]),t.exports=e},a120:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.store-appraise[data-v-d781572e]{position:relative;width:100%\n /* 商家评分信息 start */\n /* 商家评分信息 end */\n /* 用户评论 start */\n /* 用户评论 end */}.store-appraise .store-info[data-v-d781572e]{padding:%?40?% %?30?%;border-bottom:%?16?% solid #e6e6e6}.store-appraise .store-info .store-score[data-v-d781572e]{font-size:%?54?%;font-weight:500}.store-appraise .store-info .taste-score .value[data-v-d781572e], .store-appraise .store-info .package-score .value[data-v-d781572e], .store-appraise .store-info .delivery-score .value[data-v-d781572e]{font-size:%?32?%;font-weight:700}.store-appraise .store-info .delivery-score[data-v-d781572e]{position:relative}.store-appraise .store-info .delivery-score[data-v-d781572e]::before{content:"";position:absolute;left:%?-40?%;top:50%;width:%?1?%;height:80%;background-color:#e6e6e6;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.store-appraise .comments[data-v-d781572e]{padding:%?30?%}.store-appraise .comments .comment[data-v-d781572e]{padding:%?30?% %?0?%}.store-appraise .comments .comment .avatar[data-v-d781572e]{width:%?80?%;height:%?80?%;border-radius:50%}.store-appraise .comments .comment .info[data-v-d781572e]{margin-top:%?6?%}.store-appraise .comments .comment .info .nickname[data-v-d781572e]{font-weight:500}.store-appraise .comments .comment .info .addtime[data-v-d781572e]{font-size:%?24?%}.store-appraise .comments .comment .comment-images[data-v-d781572e]{width:100%;position:relative}.store-appraise .comments .comment .comment-reply[data-v-d781572e]{margin-top:%?20?%;width:100%;border-radius:%?15?%;padding:%?20?%;font-size:%?24?%}.store-appraise .comments .comment .comment-reply .reply-title[data-v-d781572e]{font-weight:700}.store-appraise .comments .comment .comment-reply .reply-content[data-v-d781572e]{margin-top:%?4?%}',""]),t.exports=e},a17b:function(t,e,i){"use strict";var a=i("b547"),n=i.n(a);n.a},a17e:function(t,e,i){"use strict";i.r(e);var a=i("7215"),n=i("e05d");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("554b");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"03ced7b0",null,!1,a["a"],void 0);e["default"]=r.exports},a1f4:function(t,e,i){"use strict";var a=i("1cee"),n=i.n(a);n.a},a267:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"brilliant-title"},[e("v-uni-view",{staticClass:"bg"},[e("v-uni-image",{staticClass:"image",attrs:{src:"http://qny.wdsp666.com/images/1/2022/11/jeOsePSOL6itPP3J96n2o76uTOsBPl.png?imageMogr2/thumbnail/750x",mode:"widthFix"}})],1),e("v-uni-view",{staticClass:"title tn-text-clip",class:[this.color]},[e("v-uni-text",{staticClass:"left-icon",class:["tn-icon-"+this.leftIcon]}),this._t("default"),this.isLoading?[e("v-uni-text",[this._v("Loading...")])]:this._e(),e("v-uni-text",{staticClass:"right-icon",class:["tn-icon-"+this.rightIcon]})],2)],1)},n=[]},a2b9:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getShoppingCartListApi=e.getShoppingCartCountApi=void 0;var n=a(i("7653"));e.getShoppingCartCountApi=function(){return n.default.get("api/user.cart.cart/count")};e.getShoppingCartListApi=function(t){var e=t.page,i=t.psize;return n.default.get("api/user.cart.cart/list",{page:e||1,psize:i||20})}},a2be:function(t,e,i){"use strict";var a=i("90aa"),n=i.n(a);n.a},a2f1:function(t,e,i){"use strict";i.r(e);var a=i("bfe2"),n=i("b245");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("e69c");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"08d4845c",null,!1,a["a"],void 0);e["default"]=r.exports},a328:function(t,e,i){"use strict";i.r(e);var a=i("207b"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},a400:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-row-notice[data-v-15a5161a]{width:100%;overflow:hidden}.tn-row-notice__wrap[data-v-15a5161a]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.tn-row-notice__content[data-v-15a5161a]{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:right;padding-left:100%;-webkit-animation:tn-notice-loop-animation-data-v-15a5161a 10s linear infinite both;animation:tn-notice-loop-animation-data-v-15a5161a 10s linear infinite both}.tn-row-notice__content-box[data-v-15a5161a]{flex:1;display:flex;flex-direction:row;overflow:hidden;margin-left:%?12?%}.tn-row-notice__content--text[data-v-15a5161a]{word-break:keep-all;white-space:nowrap}.tn-row-notice__icon--left[data-v-15a5161a]{display:inline-flex;align-items:center}.tn-row-notice__icon--right[data-v-15a5161a]{margin-left:%?12?%;display:inline-flex;align-items:center}@-webkit-keyframes tn-notice-loop-animation-data-v-15a5161a{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes tn-notice-loop-animation-data-v-15a5161a{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}',""]),t.exports=e},a48b:function(t,e,i){"use strict";i.r(e);var a=i("87c6"),n=i("243f");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5f29");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"533cee12",null,!1,a["a"],void 0);e["default"]=r.exports},a526:function(t,e,i){"use strict";var a=i("7c9c"),n=i.n(a);n.a},a5f1:function(t,e,i){"use strict";i.r(e);var a=i("613f"),n=i("61e0");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("070c");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"25840340",null,!1,a["a"],void 0);e["default"]=r.exports},a674:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("center-modal",{attrs:{title:"定位提示","confirm-text":t.confirmText},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.handleConfirmEvent.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCancelEvent.apply(void 0,arguments)}},model:{value:t.showAuthorizationLocationModal,callback:function(e){t.showAuthorizationLocationModal=e},expression:"showAuthorizationLocationModal"}},[i("v-uni-view",{staticClass:"tips-content"},[t._v(t._s(t.tipsContent))])],1)},n=[]},a685:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("419c"),o=a(i("6abd")),s={components:{RandomBubble:o.default},options:{virtualHost:!0},props:{store:{type:Object,default:function(){return{}}},storeConfig:{type:Object,default:function(){return{}}}},data:function(){return{list:[{image:"http://qny.wdsp666.com/images/1/2021/06/XaA2aAHaAabHkz9l1hBVxpx1va1ALu.jpg?imageMogr2/thumbnail/300x"},{image:"http://qny.wdsp666.com/images/1/2021/06/XaA2aAHaAabHkz9l1hBVxpx1va1ALu.jpg?imageMogr2/thumbnail/300x"},{image:"http://qny.wdsp666.com/images/1/2021/06/XaA2aAHaAabHkz9l1hBVxpx1va1ALu.jpg?imageMogr2/thumbnail/300x"}]}},mounted:function(){console.log(this.store,"-----------------------")},methods:{toPage:function(){uni.setStorageSync("shop",this.store),1==this.store.is_haodian?(0,n.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(this.store.id)):2==this.store.is_haodian&&this.store.custom_links?(0,n.navPage)("".concat(this.store.custom_links)):(this.store.pageShowType,(0,n.navPage)("/store-page/product-showcase/template-1?sid=".concat(this.store.id)))},navPage:n.navPage}};e.default=s},a689:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5ef2"),i("5c47"),i("4626"),i("5ac7");var a=i("419c"),n={options:{virtualHost:!0},props:{value:{type:Number,default:0},data:{type:Array,default:function(){return[]}},color:{type:String,default:""},activeColor:{type:String,default:""},toTop:{type:Boolean,default:!1},toTopIndex:{type:Number,default:-1},bgColor:{type:String}},data:function(){return{tabbarList:[],doubleClickTimer:null,doubleClickCount:0}},watch:{data:{handler:function(t){this.tabbarList=t},immediate:!0}},computed:{isImageIcon:function(){var t=this;return function(e){var i=t.tabbarList[e],a=e===Number(t.value)?i.activeIcon:i.icon;return-1!==a.indexOf("/")}},itemIcon:function(){var t=this;return function(e){var i,a=t.tabbarList[e];return i=e===Number(t.value)?a.activeIcon:a.icon,i}},itemStyle:function(){var t=this;return function(e){var i={};return e===Number(t.value)?t.activeColor&&(i.color=t.$isTheme()?"var(--theme-general-color)":t.activeColor):t.color&&(i.color=t.$isTheme()?"var(--theme-general-color)":t.color),i}},showToTop:function(){var t=this;return function(e){return t.toTop&&t.value===t.toTopIndex&&e===t.value}}},onLoad:function(){},created:function(){var t=this,e=uni.createSelectorQuery().in(this);e.select(".custom-tabbar").boundingClientRect((function(e){e&&t.$emit("tabbarInit",e.height+uni.upx2px(20))})).exec()},methods:{navSwitch:function(t,e){var i=this;if(console.log(e),!e.path||"/pages/order/order"==e.path||"/user-info-page/becomeMember/becomeMember"==e.path||"/pages/index/pages/circle"==e.path||"/tray-page/tray/index"==e.path||"/cart-page/cart/index"==e.path||"/store-page/category/category"==e.path||"/pages/mine/mine"==e.path||""==e.path||"/pages/index/index"==e.path||e.path.includes("/store-page/product-showcase/template-1")||e.path.includes("/pages/index/pages/template-1"))if(this.tabbarList[t].path&&this.tabbarList[t].path.includes("miniProgram"))(0,a.navPage)(this.tabbarList[t].path);else{if(this.value===t)return this.doubleClickCount++,2===this.doubleClickCount&&this.$emit("double-click",t),void setTimeout((function(){i.doubleClickCount=0}),500);this.$emit("input",t),this.$emit("change",t)}else(0,a.navPage)(e.path)}}};e.default=n},a720:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var n=a(i("dc1f")),o=a(i("dae0")),s=a(i("44ca")),r=a(i("34cae")),c=i("419c"),d=(a(i("8c27")),i("d240")),l=(i("262c"),i("e0a2")),u={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:r.default},mixins:[n.default,o.default,s.default],data:function(){return{currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},methods:{payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,a){1==i?(0,c.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&a?(0,c.navPage)("".concat(a)):(0,c.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,c.navPage)("/order-page/takeout-order-detail/index?id=".concat(t,"&from=list"))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,d.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},a=JSON.stringify(i);e.open_lock_string=a;var n=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:n}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:a})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,a,n){var o=this;if(1!=n)if(0!=a)if(1==i){var s="once";e&&(s="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,c.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+s)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,d.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=u},a723:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{width:"100%",height:"auto","max-height":"100vh"}},[i("v-uni-view",{staticClass:"shopping-cart"},[t.isRest?[t.is_loaded?i("div",{staticClass:"cart-is_rest tn-flex-center theme-cart-btn-rest"},[t._v("门店已打烊...")]):i("div",{staticClass:"cart-is_rest tn-flex-center theme-cart-btn-rest"},[t._v("正在加载中...")])]:[i("v-uni-view",{staticClass:"cart-info theme-cart-info",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleClickInfoEvent.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"cart-icon"},[i("v-uni-text",{staticClass:"tn-icon-cart"}),t.totalNum>0?i("v-uni-view",{staticClass:"cart-good-num tn-flex-center theme-cart-num"},[t._v(t._s(t.totalNum))]):t._e()],1),i("v-uni-view",{staticClass:"cart-price"},[i("v-uni-view",{staticClass:"product-price"},[i("v-uni-view",{staticClass:"price theme-cart-info-price"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.totalPrice))])],1),t.oldTotalPrice?i("v-uni-view",{staticClass:"price old tn-color-gray theme-cart-info-oldprice"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.oldTotalPrice))])],1):t._e()],1),0==t.multiple_cart?i("v-uni-view",{staticClass:"delivery-price tn-flex-row-center theme-cart-info-delivery-price"},[t._v("预估配送费"),t.deliveryPrice&&t.deliveryPrice.start_fee>=0?i("v-uni-text",{staticClass:"price"},[t._v(t._s(t.CurrencyUnit)+t._s(t.deliveryPrice.start_fee))]):t.deliveryPrice?i("v-uni-text",{staticClass:"price"},[t._v(t._s(t.CurrencyUnit)+t._s(t.deliveryPrice))]):t._e()],1):i("v-uni-view",{staticClass:"delivery-price tn-flex-row-center theme-cart-info-delivery-price"},[t._v("预估配送费"),t.deliveryPrice&&t.deliveryPrice.start_fee>=0?i("v-uni-text",{staticClass:"price"},[t._v(t._s(t.CurrencyUnit)+t._s(t.deliveryPrice.start_fee))]):t.deliveryPrice?i("v-uni-text",{staticClass:"price"},[t._v(t._s(t.CurrencyUnit)+t._s(t.multiple_cart_delivery_price))]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"operation-btn tn-flex-center theme-cart-btn-avcti",class:[{"theme-cart-btn":!t.isToSubmit}],style:[t.themeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleSubmitEvent.apply(void 0,arguments)}}},[t._v(t._s(t.cidMinPrice?t.cidMinPriceText:t.submitBtnTipText))])]],2),i("bottom-modal",{attrs:{"close-btn":!1,"z-index":99997,"no-padding":!0},model:{value:t.showProductList,callback:function(e){t.showProductList=e},expression:"showProductList"}},[0==t.multiple_cart?i("v-uni-view",{staticClass:"product-list__top-operation tn-flex-center-between theme-cart-detail-nav"},[i("v-uni-view",{staticClass:"package-price"},[t._v("包装费"+t._s(t.CurrencyUnit)+t._s(t.shoppingCartData.boxPrice))]),t.shoppingCartData.discount_by_num_id>0&&t.shoppingCartData.discount_by_num_price>0?i("v-uni-view",[t._v("活动立减"+t._s(t.CurrencyUnit)+t._s(t.shoppingCartData.discount_by_num_price)+"元")]):t._e(),i("v-uni-view",{staticClass:"operation-clear",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearStoreShoppingCart.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-delete"}),t._v("清空购物车")],1)],1):t._e(),0==t.multiple_cart?i("v-uni-view",{staticClass:"product-list__content"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},t._l(t.shoppingCartData.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"product-item"},[i("v-uni-view",{staticClass:"item-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",{staticClass:"item-title tn-full-width tn-text-ellipsis-1"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item-spec"},[t._v(t._s(e.spec))]),i("v-uni-view",{staticClass:"item-operation"},[i("v-uni-view",{staticClass:"item-price tn-color-red"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price.toFixed(2)))]),i("product-spec-number-box",{attrs:{"operation-from":"shoppingCart",type:0,sid:t.sid,"table-id":t.tableId,"spellrice-id":t.spellriceId,"good-id":e.goodId,"option-id":e.optionId,disabled:t.isRest,buy_limit:e.buy_limit},on:{"reduce-num":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodNumChangeEvent(e,"-",a)},"add-num":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodNumChangeEvent(e,"+",a)}},model:{value:e.num,callback:function(i){t.$set(e,"num",i)},expression:"item.num"}})],1)],1)],1)})),1)],1):t._e(),1==t.multiple_cart?i("v-uni-view",{staticClass:"product-list__content"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},t._l(t.multipleShoppingCartData,(function(e,a){return i("v-uni-view",{key:a},[i("v-uni-view",{staticClass:"store-title",staticStyle:{display:"flex","justify-content":"space-between"}},[i("v-uni-view",[i("v-uni-text",{staticStyle:{"font-weight":"bolder"}},[t._v(t._s(e.store_title))]),i("v-uni-text",{staticStyle:{"margin-left":"20rpx"}},[t._v("包装费"+t._s(t.CurrencyUnit)+t._s(e.boxPrice))])],1),i("v-uni-view",[i("v-uni-checkbox-group",[i("v-uni-checkbox",{attrs:{checked:e.checked},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleStoreCheckedChangeEvent(a)}},model:{value:e.checked,callback:function(i){t.$set(e,"checked",i)},expression:"i.checked"}})],1)],1)],1),t._l(e.data,(function(a,n){return i("v-uni-view",{key:n,staticClass:"product-item"},[i("v-uni-view",{staticClass:"item-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:a.image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",{staticClass:"item-title tn-full-width tn-text-ellipsis-1"},[t._v(t._s(a.title))]),i("v-uni-view",{staticClass:"item-spec"},[t._v(t._s(a.spec))]),i("v-uni-view",{staticClass:"item-operation"},[i("v-uni-view",{staticClass:"item-price tn-color-red"},[t._v(t._s(t.CurrencyUnit)+t._s(a.price.toFixed(2)))]),i("product-spec-number-box",{attrs:{"operation-from":"shoppingCart",type:0,sid:e.sid,"table-id":t.tableId,"spellrice-id":t.spellriceId,"good-id":a.goodId,"option-id":a.optionId,disabled:t.isRest,buy_limit:a.buy_limit},on:{"reduce-num":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodNumChangeEvent(e,"-",n)},"add-num":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodNumChangeEvent(e,"+",n)}},model:{value:a.num,callback:function(e){t.$set(a,"num",e)},expression:"item.num"}})],1)],1)],1)}))],2)})),1)],1):t._e(),i("v-uni-view",{staticClass:"product-list__bottom-empty"})],1)],1)},n=[]},a73a:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.getDate=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(Date),new(Function.prototype.bind.apply(Date,t))},e.getRegExp=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(RegExp),new(Function.prototype.bind.apply(RegExp,t))},i("f7a5"),i("3efd"),i("23f4"),i("7d2f"),i("5c47"),i("9c4e"),i("ab80")},a79e:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.showcase-header-1[data-v-1874eb69]{position:relative;width:100%;height:%?470?%;background-color:#fff\n /* 休息中 start */\n /* 休息中 end */\n /* 背景图片 start */\n /* 背景图片 end */\n /* 空白区域背景 start */\n /* 空白区域背景 end */\n /* 商家信息展示 start */\n /* 商家信息展示 end */\n /* 店铺标签 start */\n /* 店铺标签 end */}.showcase-header-1.no-tag[data-v-1874eb69]{height:%?440?%}.showcase-header-1.rest .store .store-data .store-logo[data-v-1874eb69]{position:relative}.showcase-header-1.rest .store .store-data .store-logo[data-v-1874eb69]::after{content:"休息中";position:absolute;left:%?0?%;bottom:%?0?%;padding:%?4?%;width:100%;font-size:%?20?%;background-color:rgba(0,0,0,.5);color:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.showcase-header-1 .bg-image[data-v-1874eb69]{position:absolute;left:0;top:0;width:100%;height:%?300?%;filter:blur(%?5?%);-webkit-filter:blur(%?5?%);z-index:1}.showcase-header-1 .empty-bg[data-v-1874eb69]{position:absolute;left:0;width:100%;z-index:2;height:%?100?%;background-color:#fff;border-radius:%?30?% %?30?% %?0?% %?0?%}.showcase-header-1 .store[data-v-1874eb69]{position:absolute;background-color:#fff;left:5%;width:90%;border-radius:%?15?%;z-index:3\n /* 商家数据 start */\n /* 商家数据 end */}.showcase-header-1 .store .store-data[data-v-1874eb69]{padding:%?20?%}.showcase-header-1 .store .store-data .store-logo[data-v-1874eb69]{width:%?100?%;height:%?100?%;border-radius:%?15?%;margin-right:%?20?%}.showcase-header-1 .store .store-data .store-info[data-v-1874eb69]{flex:1}.showcase-header-1 .store .store-data .store-info .store-title[data-v-1874eb69]{width:100%;font-size:%?36?%;font-weight:400}.showcase-header-1 .store .store-data .store-info .store-summary-info[data-v-1874eb69]{font-size:%?24?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .score[data-v-1874eb69], .showcase-header-1 .store .store-data .store-info .store-summary-info .start-price[data-v-1874eb69]{position:relative;margin-right:%?20?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .score[data-v-1874eb69]::after, .showcase-header-1 .store .store-data .store-info .store-summary-info .start-price[data-v-1874eb69]::after{content:"";position:absolute;top:50%;right:%?-16?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?6?%;height:%?6?%;border-radius:50%;background-color:#080808}.showcase-header-1 .store .store-data .store-info .store-summary-info .score[data-v-1874eb69]{display:flex;align-items:center;color:#ffca28}.showcase-header-1 .store .store-data .store-info .store-summary-info .score .value[data-v-1874eb69]{margin-left:%?4?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .delivery-price[data-v-1874eb69]{position:relative;margin-right:%?40?%}.showcase-header-1 .store .store-data .store-info .store-summary-info .delivery-price[data-v-1874eb69]::after{content:"";position:absolute;top:50%;right:%?-22?%;background-color:#aaa;width:%?2?%;height:80%;border-radius:%?20?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.showcase-header-1 .store .store-data .store-info .store-content[data-v-1874eb69]{width:-webkit-fit-content;width:fit-content;max-width:100%;padding:%?0?% %?8?%;border-radius:%?6?%;margin-top:%?6?%;font-size:%?24?%}.showcase-header-1 .store .store-data .store-notice[data-v-1874eb69]{width:100%;display:flex;align-items:center;color:#aaa;margin-top:%?20?%}.showcase-header-1 .store .store-data .store-notice .title[data-v-1874eb69]{width:2.5em}.showcase-header-1 .store .store-data .store-notice .value[data-v-1874eb69]{width:calc(100% - 2.5em)}.showcase-header-1 .store-tags[data-v-1874eb69]{padding:%?20?%;width:100%;border-radius:%?0?% %?0?% %?15?% %?15?%}.showcase-header-1 .store-tags .tags-wrapper[data-v-1874eb69]{display:flex;flex-wrap:nowrap}.showcase-header-1 .store-tags .tag[data-v-1874eb69]{flex-shrink:0;font-size:%?24?%;margin-right:%?10?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?6?%}.collect[data-v-1874eb69]{background:linear-gradient(90deg,#f68117 0,#ecbd2c)!important;color:#fff;display:inline-block;font-size:12px;padding:%?4?% %?10?%;border-radius:%?8?%;margin-left:%?15?%;width:%?120?%;text-align:center;height:%?30?%;line-height:%?30?%}',""]),t.exports=e},a7aa:function(t,e,i){"use strict";var a=i("675c"),n=i.n(a);n.a},a816:function(t,e,i){"use strict";var a=i("c846"),n=i.n(a);n.a},a884:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"tn-row-notice-class tn-row-notice",class:[t.backgroundColorClass],style:[t.noticeStyle]},[i("v-uni-view",{staticClass:"tn-row-notice__wrap"},[i("v-uni-view",{staticClass:"tn-row-notice__icon"},[t.leftIcon?i("v-uni-view",{staticClass:"tn-row-notice__icon--left",class:["tn-icon-"+t.leftIconName,t.fontColorClass],style:[t.fontStyle("leftIcon")],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickLeftIcon.apply(void 0,arguments)}}}):t._e()],1),i("v-uni-view",{staticClass:"tn-row-notice__content-box",attrs:{id:"tn-row-notice__content-box"}},[i("v-uni-view",{staticClass:"tn-row-notice__content",style:{animationDuration:t.animationDuration,animationPlayState:t.animationPlayState},attrs:{id:"tn-row-notice__content"}},[i("v-uni-text",{staticClass:"tn-row-notice__content--text",class:[t.fontColorClass],style:[t.fontStyle()],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t._v(t._s(t.showText))])],1)],1),i("v-uni-view",{staticClass:"tn-row-notice__icon"},[t.rightIcon?i("v-uni-view",{staticClass:"tn-row-notice__icon--right",class:["tn-icon-"+t.rightIconName,t.fontColorClass],style:[t.fontStyle("rightIcon")],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickRightIcon.apply(void 0,arguments)}}}):t._e(),t.closeBtn?i("v-uni-view",{staticClass:"tn-row-notice__icon--right",class:["tn-icon-close",t.fontColorClass],style:[t.fontStyle("close")],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e()],1)],1)],1):t._e()},n=[]},a88f:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2634")),o=a(i("2fdc"));i("64aa"),i("bd06"),i("bf0f"),i("2797"),i("c223"),i("f7a5"),i("fd3c"),i("8f71"),i("aa9c"),i("dc8a"),i("5ef2");var s=a(i("dc1f")),r=a(i("495e")),c=a(i("1858")),d=i("ba1f"),l=i("cf41"),u=i("815c"),f=i("9d0a"),p=a(i("ae59")),v=a(i("19c7")),h={props:{value:{type:Number,default:0},is_tuangouquan:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},operationFrom:{type:String,default:"list"},min:{type:Number,default:0},max:{type:Number,default:100},total:{type:Number,default:0},type:{type:Number,default:0},sid:{type:[String,Number],default:""},goodId:{type:[String,Number],default:""},optionId:{type:String,default:""},spellriceId:{type:[String,Number],default:""},tableId:{type:[String,Number],default:""},title:{type:String,default:""},goodPrice:{type:[String,Number],default:""},imageUrl:{type:String,default:""},desc:{type:String,default:""},is_api:{type:[String,Number],default:0},goodOldPrice:{type:[String,Number],default:0},good_code:{type:[String,Number],default:""},brand:{type:String,default:""},storeCode:{type:String,default:""},navType:{type:String,default:""},buy_limit:{type:Number,default:0}},components:{CubicBezier:v.default,CenterModal:r.default,NewSpecifications:c.default},onLoad:function(){console.log(this.options,"ahskjdfkasgdkjhfgaskjdgfkj")},mixins:[s.default],data:function(){return{currentValue:0,showChooseOptionsModal:!1,options:[],attrs:[],materials:[],specPrice:0,specMin:0,specMax:-1,material_limit:0,material_least_limit:0,specStoreGoodsNum:{},updateSpecGoodNum:!1,showBigImage:!1,showNewSpecifications:!1,not_need_choose_productList:[],need_choose_productList:[],loadData:!1,skuList:[],skuCn:[],skuCode:""}},computed:{isTangshi:function(){return this.tableId&&""!=this.tableId},specGoodNum:function(){var t=0;return this.showChooseOptionsModal&&1===this.type&&this.updateSpecGoodNum&&this.specStoreGoodsNum.hasOwnProperty(this.specOptionId)&&(t=this.specStoreGoodsNum[this.specOptionId]),t},specOptionId:function(){var t="";if("shoppingCart"===this.operationFrom)""!=this.optionId&&(t=this.optionId);else if("list"===this.operationFrom&&this.showChooseOptionsModal&&1===this.type){if(this.options.length){var e=this.options.findIndex((function(t){return!0===t.select}));t+=-1===e?"0":"".concat(this.options[e].id)}this.attrs.length>0&&(t.length>0&&(t+="_"),this.attrs.forEach((function(e,i){var a=e.label.findIndex((function(t){return!0===t.select}));t+="".concat(i,"s").concat(a,"v")})),t=t.slice(0,t.length-1)),this.materials.length>0&&("nx"==this.brand?(t.length>0&&(t+="_"),this.materials.map((function(e){e.label.forEach((function(e){!0===e.select&&(t+="".concat(e.id,"m1n"))}))}))):(t.length>0&&(t+="_"),this.materials.forEach((function(e){!0===e.select&&(t+="".concat(e.id,"m1n"))})),t=t.slice(0,t.length-1))),0===this.options.length&&t.length>0&&(t="0_"+t)}return t},specOptionCn:function(){var t=this,e=[];return this.showChooseOptionsModal&&1===this.type&&(this.specPrice=0,this.specMin=0,this.specMax=-1,this.options.length>0?this.options.filter((function(t){return!0===t.select})).forEach((function(i){e.push(i.title),t.specPrice+=i.price,i.min<t.specMin&&(t.specMin=i.min),-1!=i.max&&i.max>t.specMax&&(t.specMax=i.max)})):this.goodPrice&&(this.specPrice+=Number(this.goodPrice)),this.attrs.length>0&&this.attrs.forEach((function(t,i){t.label.filter((function(t){return!0===t.select})).forEach((function(t){e.push(t.title)}))})),this.materials.length>0&&("nx"==this.brand?this.materials.map((function(i){i.label.forEach((function(i){!0===i.select&&(e.push(i.name),t.specPrice+=i.price)}))})):this.materials.filter((function(t){return!0===t.select})).forEach((function(i){!0===i.select&&(e.push(i.title),t.specPrice+=i.price)})))),e.join("、")}},watch:{value:{handler:function(t){this.currentValue=t||0},immediate:!0}},methods:{isTab:function(){var t=getCurrentPages(),e=t[t.length-1],i=e.route;return"pages/index/index"===i},handleShowGoodsNum:function(){"special"!=this.navType&&this.$emit("input-num",{goodId:this.goodId,value:this.currentValue,options_id:this.specOptionId})},handleNumInputChangeEvent:function(t){if(!this.disabled){var e=t.detail.value||"0";e=Number(e),e<this.min&&(e=this.min),e>this.max&&(e=this.max),this.currentValue=e,this.updateValue("",e)}},handleAddEvent:function(){var t=this;if(this.disabled)return(0,f.showToast)({title:"不允许操作"});this.buy_limit>0&&this.currentValue>=this.buy_limit?(0,f.showToast)({title:"限购".concat(this.buy_limit,"份")}):this.currentValue>=this.max&&-1!=this.max||(0,u.debounce)((function(){t.handleShoppingCartGood("+").then((function(){uni.vibrateShort({success:function(){console.log("success")}}),t.updateValue("add"),t.$emit("add-num",t.currentValue)}))}),250)()},handleReduceEvent:function(){var t=this;if(this.disabled)return(0,f.showToast)({title:"不允许操作"});this.currentValue<=this.min||(0,u.debounce)((function(){t.handleShoppingCartGood("-").then((function(){t.updateValue("reduce"),t.$emit("reduce-num",t.currentValue)}))}),250)()},chooseOptionEvent:function(t){var e=this.options.findIndex((function(t){return!0===t.select}));e!==t&&this.options.map((function(e,i){e.select=i===t}))},chooseAttrEvent:function(t,e){var i=this.attrs[t].label,a=i.findIndex((function(t){return!0===t.select}));a!==e&&this.attrs[t].label.map((function(t,i){t.select=i===e}))},chooseMaterialAttrEvent:function(t,e){var i=this.materials[t].label,a=i.findIndex((function(t){return!0===t.select}));a!==e&&this.materials[t].label.map((function(t,i){t.select=i===e}))},chooseMaterialEvent:function(t){if(this.materials[t].select=!this.materials[t].select,this.material_limit>0){var e=0;if(this.materials.map((function(t){1==t.select&&(e+=1)})),2==e&&1==this.material_limit)return this.materials.forEach((function(t){t.select=!1})),void(this.materials[t].select=!0);e>this.material_limit&&((0,f.showToast)({title:"加料最多选择".concat(this.material_limit,"个")}),this.materials[t].select=!1)}},handleChooseMateriaLeastlimit:function(){if(this.material_least_limit>0){var t=0;if(this.materials.map((function(e){1==e.select&&(t+=1)})),t<this.material_least_limit)return(0,f.showToast)({title:"加料最少选择".concat(this.material_least_limit,"个")}),!1}return!0},handleMultiSpecAddEvent:function(){var t=this;if(this.disabled)return(0,f.showToast)({title:"不允许操作"});if(console.log("this.buy_limit",this.buy_limit),console.log("this.currentValue",this.currentValue),this.buy_limit>0&&this.currentValue>=this.buy_limit)(0,f.showToast)({title:"限购".concat(this.buy_limit,"份")});else{var e=this.handleChooseMateriaLeastlimit();e&&(this.specGoodNum>=this.specMax&&-1!=this.specMax||this.handleShoppingCartGood("+").then((function(){uni.vibrateShort({success:function(){console.log("success")}}),t._forceUpdateSpecShoppingCartNumData(),t.updateValue("add"),t.$emit("add-num",t.currentValue)})))}},handleMultiSpecReduceEvent:function(){var t=this;if(this.disabled)return(0,f.showToast)({title:"不允许操作"});this.specGoodNum<=this.specMin||this.handleShoppingCartGood("-").then((function(){t._forceUpdateSpecShoppingCartNumData(),t.updateValue("reduce"),t.$emit("reduce-num",t.currentValue)}))},initMaterial:function(){var t=this,e=this;(0,l.initMaterialApi)({sid:this.sid,goods_id:this.goodId,storeCode:this.storeCode}).then((function(i){console.log(i),i.data&&i.data&&(t.loadData=!0,"kfc"!=t.brand&&"mcd"!=t.brand||e.getMaterial(),"nx"==t.brand&&e.getMaterialAttrs())})).catch((function(t){console.log(t),(0,f.closeLoading)(),uni.showToast({title:t.msg,icon:"none"})}))},otherMaterial:function(){console.log("otherMaterial"),this.loadData=!0,this.getMaterial()},getMaterial:function(){var t=this;(0,l.getMaterialApi)({goods_id:this.goodId}).then((function(e){console.log(e),e.forEach((function(e){1==e.type?t.not_need_choose_productList.push(e):(e.has_choose_num=0,1==e.max_quantity?e.choose_text="单选":e.choose_text="选"+e.max_quantity+"份",e.comboProducts.forEach((function(t){1==e.comboProducts.length?(e.has_choose_num=1,t.choose_num=1,t.class="avctMod2"):(t.choose_num=0,t.class="")})),t.need_choose_productList.push(e))})),console.log("not_need_choose_productList",t.not_need_choose_productList),console.log("need_choose_productList",t.need_choose_productList),(0,f.closeLoading)(),"kfc"!=t.brand&&"mcd"!=t.brand||(t.showNewSpecifications=!0)})).catch((function(t){console.log(t)}))},getMaterialAttrs:function(){var t=this;(0,l.getMaterialApi)({goods_id:this.goodId}).then((function(e){console.log(e),e?(t.materials=[],e.map((function(e){var i={title:e.title,limit:1,label:[]};e.comboProducts.forEach((function(t,e){var a={id:t.id,price:Number(t.diff_price),name:t.name,select:0==e};i.label.push(a)})),t.materials.push(i)})),console.log(t.materials)):t.materials=[],t.showChooseOptionsModal=!0})).catch((function(t){console.log(t)})).finally((function(){t.$nextTick((function(){(0,f.closeLoading)()}))}))},initAttrs:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.initAttrsApi)({sid:t.sid,goods_id:t.goodId,storeCode:t.storeCode}).then((function(e){console.log("res",e),t.attrs=e})));case 1:case"end":return e.stop()}}),e)})))()},handleSpecClickEvent:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.buy_limit>0&&t.currentValue>=t.buy_limit)){e.next=3;break}return(0,f.showToast)({title:"限购".concat(t.buy_limit,"份")}),e.abrupt("return");case 3:if(!t.is_api||"mcdonalds"!=t.brand){e.next=11;break}return(0,f.showLoading)({mask:!0}),console.log("is_api"),console.log(t.goodId),t.initMaterial(),e.abrupt("return",!1);case 11:if(!t.is_api||"kfc"!=t.brand){e.next=19;break}return(0,f.showLoading)({mask:!0}),console.log("is_api"),console.log(t.goodId),t.initMaterial(),e.abrupt("return",!1);case 19:if(!t.is_api||"lk"!=t.brand){e.next=27;break}return console.log("lk"),(0,f.showLoading)({mask:!0}),e.next=24,t.initAttrs();case 24:(0,f.closeLoading)(),e.next=44;break;case 27:if(!t.is_api||"sbk"!=t.brand){e.next=32;break}return uni.navigateTo({url:"/store-page/milkTeaSpecification/milkTeaSpecification?sid="+t.sid+"&storeCode="+t.storeCode+"&goodId="+t.goodId+"&goodPrice="+t.goodPrice}),e.abrupt("return",!1);case 32:if(!t.is_api||"nx"!=t.brand){e.next=38;break}return(0,f.showLoading)({mask:!0}),t.initMaterial(),e.abrupt("return",!1);case 38:if(!t.is_api||t.brand){e.next=44;break}return console.log("is_api"),(0,f.showLoading)({mask:!0}),e.next=43,t.otherMaterial();case 43:return e.abrupt("return",!1);case 44:t.$emit("spec-click"),(0,f.showLoading)({mask:!0}),(0,l.getGoodSpecInfoApi)({sid:t.sid,goodsId:t.goodId}).then((function(e){console.log(e);var i=e.attrs,a=e.materials,n=e.options,o=e.material_limit,s=e.material_least_limit,r=e.skuList;t.skuList=r,t.material_limit=o,t.material_least_limit=s,t.attrs=i?i.map((function(t){return{title:t.name,label:t.label.map((function(t,e){return{title:t,select:0===e}}))}})):[],t.options=n?n.map((function(t,e){return{id:t.id,title:t.name,price:Number(t.price),min:0,max:t.total,select:0===e}})):[],t.materials=a?a.map((function(t){return{id:t.id,title:t.name,price:Number(t.price),select:!1}})):[],t.getSpecGoodNumData(),t.showChooseOptionsModal=!0})).catch((function(e){console.error("[productSpecOperation]获取商品规格信息失败",e),t.showChooseOptionsModal=!1,t.material_limit=0,t.material_least_limit=0,t.options=[],t.attrs=[],t.materials=[]})).finally((function(){t.$nextTick((function(){(0,f.closeLoading)()}))}));case 47:case"end":return e.stop()}}),e)})))()},getSpecGoodNumData:function(){var t=this;(0,d.getStoreShoppingCartSpecGoodNumApi)({sid:this.sid,goodsId:this.goodId,tableId:this.tableId}).then((function(e){console.log("更新购物车",e);var i=e.cartOptions;if(t.updateSpecGoodNum=!1,t.specStoreGoodsNum={},p.default.object(i)){var a=Object.keys(i),n={};a.forEach((function(t){n[t]=i[t].num})),t.specStoreGoodsNum=Object.assign({},n)}t._forceUpdateSpecShoppingCartNumData()})).catch((function(e){console.error("[productSpecOperation]获取多规格商品数量数据失败",e),t.specStoreGoodsNum={}}))},_forceUpdateSpecShoppingCartNumData:function(){var t=this;this.updateSpecGoodNum=!1,this.$nextTick((function(){t.updateSpecGoodNum=!0}))},handleShoppingCartGood:function(t){var e=this;return new Promise((function(i,a){e._addGoodsToCart(t).then((function(t){e.getSpecGoodNumData(),i(),(0,f.closeLoading)()})).catch((function(t){console.error("[productSpecOperation]添加到购物车失败",t),(0,f.showToast)({title:t.msg}),a()})).finally((function(){e.$nextTick((function(){}))}))}))},_addGoodsToCart:function(t){return this.isTangshi?(0,d.addTangshiGoodToCartApi)({sid:this.sid,goodsId:this.goodId,optionId:this.specOptionId,sign:t,tableId:this.tableId,num:1}):(0,d.addGoodToCartApi)({sid:this.sid,goodsId:this.goodId,spellriceId:this.spellriceId,optionId:this.specOptionId,sign:t,tableId:this.tableId,num:1})},updateValue:function(t){this.$emit("input",this.currentValue),this.$emit("change",{type:t,value:this.currentValue})},close:function(){console.log("cccclose"),this.showNewSpecifications=!1,this.need_choose_productList=[],this.not_need_choose_productList=[]},addCart:function(){this.showNewSpecifications=!1,this.need_choose_productList=[],this.not_need_choose_productList=[],this.$emit("change",{value:this.currentValue})},removeThumbnail:function(t){if(!t)return"";var e=t.indexOf("?imageMogr2/thumbnail/");return-1!==e?t.substring(0,e):t}}};e.default=h},a89f:function(t,e,i){var a=i("3934");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("13c10f62",a,!0,{sourceMap:!1,shadowMode:!1})},a8eb:function(t,e,i){"use strict";i.r(e);var a=i("af03"),n=i("9a08");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5d0d");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"05455b58",null,!1,a["a"],void 0);e["default"]=r.exports},a9e5:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitAndPay=e.projectList=e.getSPDetail=e.getPayType=e.getCatOrderListApi=e.getCatOrderDetailApi=e.cancelCatOrderApi=void 0;var n=a(i("7653"));e.getSPDetail=function(t){return n.default.post("api/user.product.washPet/detail",t)};e.getPayType=function(t){return n.default.post("api/user.dict.pay/list",t)};e.submitAndPay=function(t){return n.default.post("api/user.order.washPet/submitAndPay",t)};e.projectList=function(t){return n.default.post("api/user.product.washPet/list",t)};e.getCatOrderListApi=function(t){return n.default.post("api/user.order.washPet/list",t)};e.getCatOrderDetailApi=function(t){return n.default.post("api/user.order.washPet/detail",t)};e.cancelCatOrderApi=function(t){return n.default.post("api/user.order.washPet/cancel",t)}},aa4c:function(t,e,i){"use strict";var a=i("4494"),n=i.n(a);n.a},aa81:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default,tnTabs:i("37fc").default,tnLoadMore:i("9266").default,tnPopup:i("1fbf").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{navbarBack:!1,"custom-navbar":!0,leftSlot:!0,transparentNavbar:t.showNavBg,navbarBgColor:"#fff"},on:{getNavBarInfoHeight:function(e){arguments[0]=e=t.$handleEvent(e),t.getNavBarInfoHeight.apply(void 0,arguments)}},scopedSlots:t._u([{key:"left",fn:function(){return[i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[t.showBack?i("v-uni-view",{staticStyle:{display:"inline-block","margin-right":"30rpx"}},[i("v-uni-text",{staticClass:"tn-icon-left",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navBack()}}})],1):t._e(),i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{background:"#F3F3F3","border-radius":"32rpx",height:"64rpx",padding:"20rpx 20rpx 20rpx 0"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPage("/circle-page/blogger/index?self=1")}}},[t.userInfo&&t.userInfo.data?i("v-uni-image",{staticStyle:{width:"54rpx",height:"54rpx","border-radius":"50%"},attrs:{src:t.userInfo.data.avatar,mode:"aspectFill"}}):i("v-uni-image",{staticStyle:{width:"54rpx",height:"54rpx","border-radius":"50%"},attrs:{src:t.icon[0],mode:"aspectFill"}}),i("v-uni-text",{staticClass:"ftw500 ft14 ml5"},[t._v("主页")])],1),i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[i("v-uni-image",{staticStyle:{width:"44rpx",height:"44rpx","margin-left":"30rpx"},attrs:{src:t.icon[1],mode:"aspectFill"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPage("/circle-page/news/index?uid="+t.uid)}}})],1)],1)]},proxy:!0}])},[i("v-uni-view",{staticStyle:{background:"#F5F5F6"}},[t.loadingStatePage?i("loading"):t._e(),i("v-uni-view",{staticClass:"top-bg"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.icon[2],mode:"widthFix"}})],1),i("v-uni-view",{staticClass:"tn-padding flex",staticStyle:{position:"relative","z-index":"2"}},[i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{flex:"1","border-radius":"35rpx",background:"#F1F1F1",padding:"17rpx 30rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPage("/circle-page/search-detail/search-detail?id="+t.circleData.category[t.currentTab].id)}}},[i("v-uni-image",{staticStyle:{width:"36rpx",height:"36rpx"},attrs:{src:t.icon[3],mode:"widthFix"}}),i("v-uni-text",{staticClass:"ftw400",staticStyle:{color:"#999999","font-size":"30rpx","margin-left":"17rpx"}},[t._v("搜索你感兴趣的内容吧")])],1),i("v-uni-view",{staticStyle:{"min-width":"140rpx","text-align":"center","font-weight":"bold","font-size":"30rpx",background:"#FFCA28","border-radius":"70rpx",padding:"20rpx 28rpx","margin-left":"18rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.openCre.apply(void 0,arguments)}}},[t._v("发动态")])],1),i("v-uni-view",{staticClass:"boxs"},[i("v-uni-view",{staticClass:"centent-mod"},[i("v-uni-view",{staticStyle:{width:"100%"},style:{position:t.tabsBoxFixed?"fixed":"static",top:t.navHeight-6+"px",zIndex:t.tabsBoxFixed?999:1,backgroundColor:t.tabsBoxFixed?"#ffff":""}},[i("v-uni-view",{staticClass:"tabs tn-padding-right",staticStyle:{"background-color":"white"}},[i("v-uni-view",{staticStyle:{width:"calc(100% - 128rpx)"}},[i("tn-tabs",{attrs:{list:t.listTab,gutter:33,bold:!0,current:t.circleTab,name:"title",activeColor:"#000",inactiveColor:"gray",activeItemStyle:{fontSize:"34rpx"},inactiveItemStyle:{fontSize:"32rpx"},bardiyStyle:{backgroundColor:"#FFCA28",borderRadius:"20rpx",width:"30%"},diyIfBar:!0,showBar:!1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeCircle.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticStyle:{display:"flex","align-items":"center","font-size":"28rpx","justify-content":"end"}},[i("v-uni-view",{staticClass:"tn-margin-left-sm tn-color-gray ftw500 ft14",staticStyle:{color:"#999999"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/circle-page/circle/list")}}},[i("v-uni-text",[t._v("全部")]),i("v-uni-image",{staticStyle:{width:"13rpx",height:"22rpx","margin-left":"15rpx"},attrs:{src:t.icon[4],mode:""}})],1)],1)],1)],1),i("v-uni-view",{staticStyle:{"background-color":"white","border-radius":"0rpx 0rpx 20rpx 20rpx"}},[i("v-uni-view",{staticClass:"grid-container"},t._l(t.circleData.category,(function(e,a){return i("v-uni-view",{key:a,staticClass:"grid-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.navPage("/circle-page/circle/index?type="+a+"&title="+e.title+"&num="+e.tie_num+"&img="+e.image)}}},[a<6?i("v-uni-view",{staticClass:"flex"},[i("v-uni-image",{staticStyle:{width:"90rpx",height:"90rpx","border-radius":"16rpx"},attrs:{src:e.image,mode:""}}),i("v-uni-view",{staticClass:"flex column center ml10"},[i("v-uni-text",{staticStyle:{"font-size":"30rpx","font-weight":"500","margin-bottom":"10rpx"}},[t._v(t._s(e.title))]),i("v-uni-text",{staticStyle:{"font-size":"22rpx","font-weight":"500",color:"#999999"}},[t._v(t._s(e.tie_num+"动态"))])],1)],1):t._e()],1)})),1)],1),i("v-uni-view",{staticClass:"mt12",staticStyle:{"background-color":"white","border-radius":"20rpx 20rpx 0 0","padding-bottom":"80rpx"}},[i("v-uni-view",{staticStyle:{width:"100%"},style:{position:t.tabsBoxFixed?"fixed":"static",top:t.navHeight-6+"px",zIndex:t.tabsBoxFixed?999:1,backgroundColor:t.tabsBoxFixed?"#ffff":""}},[i("v-uni-view",{staticClass:"tabs tn-padding-right"},[i("v-uni-view",{staticStyle:{width:"100%"}},[i("tn-tabs",{attrs:{list:t.tabs2,gutter:33,bold:!0,current:t.current,name:"title",activeColor:"#000",inactiveColor:"#999999",activeItemStyle:{fontSize:"34rpx"},inactiveItemStyle:{fontSize:"32rpx"},bardiyStyle:{backgroundColor:"var(--theme-general-color)",borderRadius:"20rpx",width:"30%"},diyIfBar:!0,showBar:!1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.seleTab2.apply(void 0,arguments)}}})],1)],1)],1),t.listData.length>0?i("v-uni-view",{staticClass:"tn-padding tn-padding-top-xs mt15"},t._l(t.listData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-item",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toPage("/circle-page/detail/index?id="+e.id)}}},[i("v-uni-view",{staticClass:"tn-flex tn-color-black",staticStyle:{"justify-content":"space-between"}},[i("v-uni-view",{staticClass:"tn-flex tn-flex-center"},[i("v-uni-image",{staticStyle:{width:"80rpx",height:"80rpx","border-radius":"50%"},attrs:{src:e.member.avatar,mode:"aspectFill"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toPage("/circle-page/blogger/index?id="+e.uid)}}}),i("v-uni-view",{staticClass:"tn-margin-left-sm"},[i("v-uni-view",{staticClass:"tn-text-bold"},[i("v-uni-text",[t._v(t._s(e.member.nickname))])],1),i("span",{staticStyle:{color:"#999999","font-size":"22rpx"}},[t._v(t._s(t.timestampFormat(e.time)))])],1),i("v-uni-view",{staticClass:"tn-margin-left-sm",staticStyle:{position:"absolute",right:"30rpx"}},[e.isfollow&&!e.isself?i("v-uni-view",{staticClass:"user-btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.saveFollow(e,a)}}},[t._v("已关注")]):t._e(),e.isfollow||e.isself?t._e():i("v-uni-view",{staticClass:"user-btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.saveFollow(e,a)}}},[t._v("+ 关注")]),e.isself?i("v-uni-view",{staticClass:"user-btn delete-btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.delBlog(e.id)}}},[t._v("删除")]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"tn-color-black"},[i("v-uni-view",{staticClass:"tn-margin-top-sm tn-margin-bottom-sm",staticStyle:{height:"auto","max-height":"223rpx","font-size":"30rpx",position:"relative",overflow:"hidden","line-height":"45rpx","text-overflow":"ellipsis","-webkit-line-clamp":"5",display:"-webkit-box","-webkit-box-orient":"vertical",color:"#006fff"}},[i("v-uni-text",{staticStyle:{color:"#5088E2","background-color":"#fff","padding-right":"14rpx"}},[t._v("#"+t._s(e.cate_name)+"#")]),i("v-uni-text",{staticStyle:{color:"#000000"}},[t._v(t._s(e.details))])],1),e.cate_name.length+e.details.length>114?i("v-uni-view",{staticStyle:{width:"100%",height:"20px",display:"flex","justify-content":"flex-start",color:"#27a0ea","margin-bottom":"10rpx"}},[i("v-uni-text",[t._v("[查看全文]")])],1):t._e(),e.imgs.length>0?i("v-uni-view",{},[i("image-group",{attrs:{preview:!1,data:e.imgs}})],1):t._e(),e.video_url?i("v-uni-view",{staticStyle:{width:"auto",height:"auto",position:"relative"}},[i("v-uni-video",{staticStyle:{width:"370rpx",height:"520rpx"},attrs:{direction:0,"object-fit":"cover",id:"myVideo"+a,src:e.video_url},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.videoErrorCallback.apply(void 0,arguments)}}}),i("v-uni-view",{staticStyle:{width:"370rpx",height:"520rpx",position:"absolute",top:"0rpx",left:"0rpx"}})],1):t._e()],1),e.storeInfo?i("v-uni-view",{staticClass:"flex space",staticStyle:{padding:"54rpx 0rpx 0rpx 0rpx","line-height":"38rpx"}},[i("v-uni-view",{staticClass:"flex",staticStyle:{flex:"4"}},[i("v-uni-view",{staticStyle:{width:"44rpx"}},[i("v-uni-image",{staticStyle:{width:"34rpx",height:"34rpx","margin-left":"4rpx"},attrs:{src:t.icon[9],mode:""}})],1),i("v-uni-view",{staticStyle:{"margin-left":"2rpx"}},[i("v-uni-text",[t._v(t._s(e.storeInfo.title))])],1)],1),i("v-uni-view",{staticClass:"ml10"},[t._v(t._s(t._f("distanceValue")(e.store_distance)))])],1):t._e(),i("v-uni-view",{staticClass:"commt"},[i("v-uni-view",{staticClass:"tn-color-gray flex alcenter end"},[i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{"margin-right":"90rpx"}},[i("v-uni-image",{staticStyle:{width:"36rpx",height:"36rpx","margin-right":"12rpx"},attrs:{src:t.icon[7],mode:""}}),i("v-uni-text",{staticStyle:{"font-size":"30rpx","font-weight":"400",color:"#151515"}},[t._v(t._s(e.views))])],1),i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{"margin-right":"90rpx"}},[i("v-uni-image",{staticStyle:{width:"36rpx",height:"36rpx","margin-right":"12rpx"},attrs:{src:t.icon[5],mode:""}}),i("v-uni-text",{staticStyle:{"font-size":"30rpx","font-weight":"400",color:"#151515"}},[t._v(t._s(e.comment_num))])],1),i("v-uni-view",{staticClass:"flex alcenter"},[i("v-uni-image",{staticStyle:{width:"36rpx",height:"36rpx","margin-right":"12rpx"},attrs:{src:t.icon[6],mode:""}}),i("v-uni-text",{staticStyle:{"font-size":"30rpx","font-weight":"400",color:"#151515"}},[t._v(t._s(e&&e.like_num?e.like_num:"0"))])],1)],1),i("v-uni-view",{staticClass:"iconItem tn-flex tn-flex-center"})],1)],1)})),1):i("v-uni-view",{staticClass:"notData"},[t.loadingState?[i("tn-load-more",{attrs:{showMoreLine:!1,showLoadText:!1,loadingIconColor:"#f5e63e",status:"loading"}})]:[t._v("暂无动态")]],2)],1)],1)],1),void 0,i("tn-popup",{attrs:{zIndex:9999999,mode:"bottom",borderRadius:25},model:{value:t.showCreate,callback:function(e){t.showCreate=e},expression:"showCreate"}},[i("v-uni-view",{staticClass:"tn-padding",staticStyle:{"margin-bottom":"20rpx","max-height":"70vh"}},[t._l(t.circleData.category,(function(e,a){return i("v-uni-view",{key:a,staticClass:"createList",style:{marginTop:0!=a?"30rpx":""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.seleFb(e)}}},[e.image?i("v-uni-image",{staticClass:"img",attrs:{src:e.image,mode:"widthFix"}}):t._e(),i("v-uni-view",{staticClass:"cente"},[i("v-uni-text",{staticClass:"tn-text-bold"},[t._v(t._s(e.title))]),i("v-uni-view",{staticStyle:{"font-size":"22rpx","font-weight":"500",color:"#999999","margin-top":"10rpx"}},[t._v(t._s(e.tie_num+"动态"))])],1),i("v-uni-text",{staticClass:"tn-icon-right"})],1)})),t.showBack?t._e():i("v-uni-view",{staticStyle:{width:"100%",height:"110rpx","padding-bottom":"env(safe-area-inset-bottom) !important","margin-bottom":"35rpx"}})],2)],1)],2)],1)},o=[]},aab1:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5c47"),i("2c10"),i("5ef2");var a=i("9a0a"),n=i("0b25"),o={options:{virtualHost:!0},props:{config:[Array,Object]},data:function(){return{userInfo:{uid:"",avatar:"",nickname:""},platform:{logo:"",name:""}}},created:function(){this.getUserInfo(),this.getUniacidInfo(),console.log("-*----------------",this.config)},methods:{goToImage:function(t){var e=t.match(/tel:/);if(-1===t.indexOf("webview"))uni.navigateTo({url:t}),e?navPage(t.split("tel:")[1],"phone"):uni.navigateTo({url:t,fail:function(t){console.error("[navigateTo]跳转页面失败",t)}});else{var i=this.emoveWebviewPrefix(t);uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(i))})}},getUserInfo:function(){var t=this;(0,a.getUserInfoApi)().then((function(e){var i=e.userInfo,a={};i.hasOwnProperty("avatar")&&(a["avatar"]=i.avatar),i.hasOwnProperty("mobile")&&(a["mobile"]=i.mobile),i.hasOwnProperty("nickname")&&(a["nickname"]=i.nickname),i.hasOwnProperty("uid")&&(a["uid"]=i.uid),t.userInfo=a,t.userAccount.redpacket=i.redpacketTotal,t.userAccount.balance=i.credit2,t.userAccount.integral=i.credit1})).catch((function(t){console.error("[mine-page]获取用户信息失败",t),showToast({title:"获取用户信息失败"})}))},getUniacidInfo:function(){var t=this;(0,n.getUniacidInfoApi)().then((function(e){t.platform.name=e.name,t.platform.logo=e.logo}))}},computed:{}};e.default=o},aabc:function(t,e,i){"use strict";var a=i("00f9"),n=i.n(a);n.a},ab26:function(t,e,i){"use strict";var a=i("4590"),n=i.n(a);n.a},ab27:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"image-group",style:[1==t.datatile?{width:"100vw",left:"-30rpx"}:{},{marginBottom:t.marginBottom?t.marginBottom+"rpx":"0rpx",marginTop:t.marginTop?t.marginTop+"rpx":"0rpx"}]},[1===t.showType?i("v-uni-view",{staticClass:"one"},[i("tn-lazy-load",{attrs:{src:t.data[0].url||t.data[0],imgMode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[0].link||"",0)}}})],1):t._e(),2===t.showType?i("v-uni-view",{staticClass:"two"},t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"image"},[i("tn-lazy-load",{staticClass:"image",attrs:{imgMode:"widthFix",src:e.url||e},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goToImage(e.link||"",a)}}})],1)})),1):t._e(),3===t.showType?i("v-uni-view",{staticClass:"three"},[i("v-uni-view",{staticClass:"left"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[0].url||t.data[0]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[0].link||"",0)}}})],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[1].url||t.data[1]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[1].link||"",1)}}})],1),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[2].url||t.data[2]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[2].link||"",2)}}})],1)],1)],1):t._e(),4===t.showType?i("v-uni-view",{staticClass:"four"},[i("v-uni-view",{staticClass:"left"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[0].url||t.data[0]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[0].link||"",0)}}})],1),i("v-uni-view",{staticClass:"middle"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[3].url||t.data[3]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[3].link||"",3)}}})],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[1].url||t.data[1]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[1].link||"",1)}}})],1),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[2].url||t.data[2]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[2].link||"",2)}}})],1)],1)],1):t._e(),5===t.showType?i("v-uni-view",{staticClass:"five"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[0].url||t.data[0]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[0].link||"",0)}}})],1),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[1].url||t.data[1]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[1].link||"",1)}}})],1)],1),i("v-uni-view",{staticClass:"middle"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[2].url||t.data[2]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[2].link||"",2)}}})],1),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[3].url||t.data[3]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[3].link||"",3)}}})],1)],1),i("v-uni-view",{staticClass:"right"},[i("tn-lazy-load",{attrs:{imgMode:"widthFix",src:t.data[4].url||t.data[4]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[4].link||"",4)}}})],1)],1):t._e(),6===t.showType?i("v-uni-view",{staticClass:"two-50"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.data[0].url||t.data[0],imgMode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[0].link||"",0)}}})],1)],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.data[1].url||t.data[1],imgMode:"widthFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToImage(t.data[1].link||"",1)}}})],1)],1)],1):t._e(),7===t.showType?i("v-uni-view",{staticClass:"three-pre"},t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"image"},[i("tn-lazy-load",{staticClass:"image",attrs:{imgMode:"widthFix",src:e.url||e},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goToImage(e.link||"",a)}}})],1)})),1):t._e()],1)},o=[]},abf0:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnPopup:i("1fbf").default,tnButton:i("70bc").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{nativeOn:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e)}}},[i("tn-popup",{attrs:{mode:"bottom",borderRadius:20,zIndex:999999,closeBtn:!0},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("v-uni-view",{staticClass:"pop-item"},[i("v-uni-view",{staticClass:"top-item"},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-xxl"},[t._v(t._s(t.goodsDetail.name))])],1),i("v-uni-scroll-view",{staticStyle:{height:"60vh","margin-top":"30rpx"},attrs:{"scroll-y":"true"}},[i("v-uni-view",[i("v-uni-view",{staticClass:"tn-text-sm"},[t._v(t._s(t.desc?t.desc:""))]),t._l(t.not_need_choose_productList,(function(e,a){return t.not_need_choose_productList&&t.not_need_choose_productList.length>0?i("v-uni-view",{staticClass:"combo1 tn-border-bottom tn-margin-top"},[i("v-uni-text",{staticClass:"tn-color-gray tn-text-sm"},[t._v("已包含")]),i("v-uni-view",{staticClass:"mods"},[t._l(e.comboProducts,(function(e,a){return i("v-uni-view",{key:t.idx,staticClass:"for-itm"},[i("v-uni-image",{staticClass:"img tn-margin-bottom-sm",attrs:{src:e["image"],mode:"aspectFill"}}),i("v-uni-text",[t._v(t._s(a["name"]))])],1)})),i("v-uni-view",{staticClass:"for-itm"})],2)],1):t._e()})),t._l(t.need_choose_productList,(function(e,a){return i("v-uni-view",{staticClass:"combo1 tn-margin-top"},[i("v-uni-text",{staticClass:"tn-color-gray tn-text-sm"},[t._v("选择套餐内"+t._s(e.title)+"("+t._s(e.choose_text)+")")]),i("v-uni-view",{staticClass:"mods"},[t._l(e.comboProducts,(function(n,o){return i("v-uni-view",{staticClass:"for-itm for-itm2 tn-bg-white",class:n.class,on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.chooseItem(e.max_quantity,a,o)}}},[i("v-uni-image",{staticClass:"img tn-margin-bottom-sm",attrs:{src:n.image,mode:"aspectFill"}}),i("v-uni-text",[t._v(t._s(n.name))]),n.diff_price>0?i("v-uni-view",{staticClass:"tn-text-bold tn-text-xl"},[t._v("+"+t._s(t.CurrencyUnit)+t._s(n.diff_price))]):t._e(),0==t.idx?i("v-uni-view",{staticClass:"tn-bg-orange btn_dz tn-margin-top"},[t._v("定制")]):t._e()],1)})),i("v-uni-view",{staticClass:"for-itm"})],2)],1)}))],2)],1)],1),t.shopCart?i("v-uni-view",{staticClass:"tn-text-center tn-padding-sm tn-border-top"},[i("tn-button",{attrs:{size:"lg",width:"90%",backgroundColor:"#faad13",shape:"round"}},[t._v(t._s(t.CurrencyUnit)),i("span",{staticClass:"tn-text-bold tn-text-xxl"},[t._v(t._s(99))]),t._v("加入购物车")])],1):i("v-uni-view",{staticClass:"shopCart"},[i("v-uni-view",{staticClass:"cart-item"},[i("v-uni-view",{staticClass:"for-mod"},t._l(t.selectedGoods,(function(e,a){return i("v-uni-view",{key:a,staticClass:"for-img"},[i("v-uni-image",{staticClass:"img",attrs:{src:e.image}}),i("v-uni-text",{staticClass:"tn-icon-close-fill close",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.remove(e)}}})],1)})),1),i("v-uni-view",{staticClass:"botoom-mod"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-xl tn-color-white"},[t._v(t._s(t.CurrencyUnit)+t._s(t.totalPrice().total))]),i("v-uni-text",{staticStyle:{"text-decoration":"line-through",color:"gray"}},[t._v(t._s(t.CurrencyUnit)+t._s(t.totalPrice().old_price))])],1),i("v-uni-view",{staticClass:"tn-text-sm"},[i("v-uni-text",{staticClass:"tn-color-orange",staticStyle:{"margin-left":"10rpx"}},[t._v(t._s(t.totalPrice().discount)+"折")]),t._v("•"),i("v-uni-text",{staticClass:"tn-color-gray"},[t._v("限1份")])],1)],1),i("tn-button",{staticClass:"tn-text-bold",attrs:{shape:"round",backgroundColor:"#f8dc4e",width:"220rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addToCar("+")}}},[t._v("加入购物车")])],1)],1)],1)],1)],1)},o=[]},ac1f:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var a={props:{couponNum:{type:Number,default:0},couponMoney:{type:Number,default:0}},methods:{subCoupon:function(){this.$emit("subCoupon")}}};e.default=a},ac79:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default,tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.id)}}},[i("v-uni-view",{staticClass:"top-info",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navStore(e.sid,e.pageShowType,e.is_haodian,e.custom_links)}}},[i("v-uni-view",{staticClass:"store-avatar"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:e.storeInfo.image}})],1),e.storeInfo.business?i("v-uni-view",{staticClass:"business-tag theme-business-tag"},[t._v("营业")]):t._e()],1),i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(e.storeInfo.title))]),1==e.is_clothes&&3==e.orderStatus?i("v-uni-view",{staticClass:"order-status",class:[t.orderStatusColorClass(e.orderStatus,e.isPay)]},[t._v("待上门取件")]):1==e.is_clothes&&4==e.orderStatus?i("v-uni-view",{staticClass:"order-status",class:[t.orderStatusColorClass(e.orderStatus,e.isPay)]},[t._v(t._s(e.delivery_status_cn))]):e.custom_status_text?i("v-uni-view",{staticClass:"order-status",class:[t.orderStatusColorClass(e.orderStatus,e.isPay)]},[t._v(t._s(e.custom_status_text))]):i("v-uni-view",{staticClass:"order-status",class:[t.orderStatusColorClass(e.orderStatus,e.isPay)]},[t._v(t._s(t._f("orderStatusValue")(e.orderStatus,e.isPay,e.orderType)))])],1),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",{staticClass:"order-type theme-orderType"},[t._v(t._s(t._f("orderTypeValue")(e.orderType,e.zitiType)))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[1===e.goodsInfo.length?i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.goodsInfo[0].image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.goodsInfo[0].title))]),i("v-uni-view",{staticClass:"num"},[t._v("数量: "+t._s(e.goodsInfo[0].num))])],1)],1):i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},[i("v-uni-view",{staticClass:"tn-flex-row-center"},t._l(e.goodsInfo,(function(e,a){return i("v-uni-view",{key:a,staticClass:"product-item"},[i("v-uni-view",{staticClass:"item-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"item-num"},[t._v("x "+t._s(e.num))])],1),i("v-uni-view",{staticClass:"item-title tn-text-ellipsis-1"},[t._v(t._s(e.title))])],1)})),1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.orderPrice))])],1),i("v-uni-view",{staticClass:"order-count tn-color-gray--dark"},[t._v("共"+t._s(e.goodsCount)+"件")])],1)],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.createTime))])],1),i("v-uni-view",{staticClass:"operation-btn tn-flex-center-end"},[1===e.isPay&&5===e.orderStatus&&0==e.isComment?i("v-uni-view",{staticClass:"btn again-order theme-operation-btn",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navAppraiseOrder(e.id)}}},[t._v("去评价")]):t._e(),[5,6].includes(e.orderStatus)?i("v-uni-view",{staticClass:"btn again-order theme-operation-btn",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navAnotherOrder(e.sid,e.id,"",e.storeInfo.custom_links||"")}}},[t._v("再来一单")]):t._e(),0===e.isPay&&e.orderStatus<5?i("v-uni-view",{staticClass:"btn to-pay theme-operation-btn",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.payOrder(e.id)}}},[t._v("立即支付")]):t._e(),1===e.orderStatus?i("v-uni-view",{staticClass:"btn tn-bg-gray theme-operation-btn-out",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.cancelOrder(e.id,e.ontouch_order_id,e.consumer_is_can_applyrefund,e.isPay,e.refund_status)}}},[0==e.isPay?i("v-uni-text",[t._v("取消支付")]):t._e(),1==e.isPay&&1==e.refund_status?i("v-uni-text",[t._v("退款申请中")]):t._e(),1==e.isPay&&0==e.refund_status?i("v-uni-text",[t._v("取消订单")]):t._e()],1):t._e()],1)],1)})),t.qrcode_box_show?i("v-uni-view",{staticClass:"expansion"},[i("v-uni-view",{staticClass:"expansion_box"},[i("v-uni-view",{staticClass:"expansion_box_title"},[t._v("取餐二维码")]),i("v-uni-view",{staticClass:"expansion_box_img"},[i("img",{attrs:{src:t.order_qrcode,mode:"widthFix"}})])],1),i("v-uni-view",{staticClass:"expansion_close"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230912165851ec7463500.png",alt:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.expansion_close.apply(void 0,arguments)}}})])],1):t._e(),i("pay-select-modal",{attrs:{"order-id":t.currentOrderId,"order-type":"takeout"},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.successPayEvent.apply(void 0,arguments)},fail:function(e){arguments[0]=e=t.$handleEvent(e),t.failPayEvent.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelPayEvent.apply(void 0,arguments)}},model:{value:t.showPaySelectModal,callback:function(e){t.showPaySelectModal=e},expression:"showPaySelectModal"}})],2)},o=[]},adab:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5ef2"),i("f7a5");var a=i("419c"),n={options:{virtualHost:!0},props:{config:[Array,Object]},data:function(){return{showComponent:!0,data:[],currentSwiperIndex:0}},computed:{bgImage:function(){return 1===+this.config.status?this.config.bgImage:""}},beforeMount:function(){this.init()},methods:{toPage:function(t){console.log(t,"=============");var e=t,i=e.indexOf("?"),n=e.slice(0,-1!==i?i:void 0);"/pages/index/pages/template-1"!=n?(0,a.navPage)(t):this.$emit("handoffTabbar",t)},init:function(){},handleSwiperChangeEvent:function(t){this.currentSwiperIndex=t.detail.current}}};e.default=n},ade3:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.REFRESH_STORE_EVENT=void 0;e.REFRESH_STORE_EVENT="refresh_store"},ae28:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"categorys theme-goods-categorys"},[t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item tn-flex-center tn-bg-gray--light",class:a===t.currentSelectIndex?"select theme-categorys-select":"",staticStyle:{"flex-wrap":"wrap"},style:[t.itemStyle(a)],attrs:{id:"item-"+t.id},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.categoryClickEvent(a)}}},[e.description?i("v-uni-view",{staticClass:"itemDescribe theme-itemDescribe"},[t._v(t._s(e.description))]):t._e(),e.thumb?i("v-uni-view",{staticClass:"itemIconBox"},[i("v-uni-image",{staticClass:"itemIcon",attrs:{src:e.thumb}})],1):t._e(),i("v-uni-view",{staticClass:"itemTitle"},[t._v(t._s(e.title))]),1==e.is_mandatory?i("v-uni-view",{staticStyle:{color:"#ff9900"}},[t._v("(必选)")]):t._e(),a===t.currentSelectIndex?i("v-uni-view",{staticClass:"select-line theme-select-line",style:[{backgroundColor:t.avctColor?t.avctColor:t.themeBgColor}]}):t._e()],1)})),i("v-uni-view",{staticClass:"tn-bg-gray--light",style:[{borderTopRightRadius:t.currentSelectIndex===t.data.length-1?"15rpx":"0rpx",height:t.bottomEmptyAreaRectInfo.height+"px"}]})],2)},n=[]},ae30:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\r\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \r\n */\r\n/**\r\n * author: Di (微信小程序开发工程师)\r\n * organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)\r\n * 垂直微信小程序开发交流社区\r\n *\r\n * github地址: https://github.com/icindy/wxParse\r\n *\r\n * for: 微信小程序富文本解析\r\n * detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184\r\n */.wxParse[data-v-1bc97790]{width:100%;font-family:Helvetica,sans-serif;font-size:%?30?%;color:#666;line-height:1.8}.wxParse uni-view[data-v-1bc97790]{word-break:hyphenate}.wxParse .inline[data-v-1bc97790]{display:inline;margin:0;padding:0}.wxParse .div[data-v-1bc97790]{margin:0;padding:0}.wxParse .h1 .text[data-v-1bc97790]{font-size:2em;margin:.67em 0}.wxParse .h2 .text[data-v-1bc97790]{font-size:1.5em;margin:.83em 0}.wxParse .h3 .text[data-v-1bc97790]{font-size:1.17em;margin:1em 0}.wxParse .h4 .text[data-v-1bc97790]{margin:1.33em 0}.wxParse .h5 .text[data-v-1bc97790]{font-size:.83em;margin:1.67em 0}.wxParse .h6 .text[data-v-1bc97790]{font-size:.67em;margin:2.33em 0}.wxParse .h1 .text[data-v-1bc97790],\r\n.wxParse .h2 .text[data-v-1bc97790],\r\n.wxParse .h3 .text[data-v-1bc97790],\r\n.wxParse .h4 .text[data-v-1bc97790],\r\n.wxParse .h5 .text[data-v-1bc97790],\r\n.wxParse .h6 .text[data-v-1bc97790],\r\n.wxParse .b[data-v-1bc97790],\r\n.wxParse .strong[data-v-1bc97790]{font-weight:bolder}.wxParse .p[data-v-1bc97790]{margin:1em 0}.wxParse .i[data-v-1bc97790],\r\n.wxParse .cite[data-v-1bc97790],\r\n.wxParse .em[data-v-1bc97790],\r\n.wxParse .var[data-v-1bc97790],\r\n.wxParse .address[data-v-1bc97790]{font-style:italic}.wxParse .pre[data-v-1bc97790],\r\n.wxParse .tt[data-v-1bc97790],\r\n.wxParse .code[data-v-1bc97790],\r\n.wxParse .kbd[data-v-1bc97790],\r\n.wxParse .samp[data-v-1bc97790]{font-family:monospace}.wxParse .pre[data-v-1bc97790]{overflow:auto;background:#f5f5f5;padding:%?16?%;white-space:pre;margin:1em %?0?%}.wxParse .code[data-v-1bc97790]{display:inline;background:#f5f5f5}.wxParse .big[data-v-1bc97790]{font-size:1.17em}.wxParse .small[data-v-1bc97790],\r\n.wxParse .sub[data-v-1bc97790],\r\n.wxParse .sup[data-v-1bc97790]{font-size:.83em}.wxParse .sub[data-v-1bc97790]{vertical-align:sub}.wxParse .sup[data-v-1bc97790]{vertical-align:super}.wxParse .s[data-v-1bc97790],\r\n.wxParse .strike[data-v-1bc97790],\r\n.wxParse .del[data-v-1bc97790]{text-decoration:line-through}.wxParse .strong[data-v-1bc97790],\r\n.wxParse .s[data-v-1bc97790]{display:inline}.wxParse .a[data-v-1bc97790]{color:#00bfff}.wxParse .video[data-v-1bc97790]{text-align:center;margin:%?22?% 0}.wxParse .video-video[data-v-1bc97790]{width:100%}.wxParse .img[data-v-1bc97790]{display:inline-block;width:0;height:0;max-width:100%;overflow:hidden}.wxParse .blockquote[data-v-1bc97790]{margin:%?10?% 0;padding:%?22?% 0 %?22?% %?22?%;font-family:Courier,Calibri,宋体;background:#f5f5f5;border-left:%?6?% solid #dbdbdb}.wxParse .blockquote .p[data-v-1bc97790]{margin:0}.wxParse .ul[data-v-1bc97790], .wxParse .ol[data-v-1bc97790]{display:block;margin:1em 0;padding-left:%?33?%}.wxParse .ol[data-v-1bc97790]{list-style-type:disc}.wxParse .ol[data-v-1bc97790]{list-style-type:decimal}.wxParse .ol>weixin-parse-template[data-v-1bc97790],.wxParse .ul>weixin-parse-template[data-v-1bc97790]{display:list-item;align-items:baseline;text-align:match-parent}.wxParse .ol>.li[data-v-1bc97790],.wxParse .ul>.li[data-v-1bc97790]{display:list-item;align-items:baseline;text-align:match-parent}.wxParse .ul .ul[data-v-1bc97790], .wxParse .ol .ul[data-v-1bc97790]{list-style-type:circle}.wxParse .ol .ol .ul[data-v-1bc97790], .wxParse .ol .ul .ul[data-v-1bc97790], .wxParse .ul .ol .ul[data-v-1bc97790], .wxParse .ul .ul .ul[data-v-1bc97790]{list-style-type:square}.wxParse .u[data-v-1bc97790]{text-decoration:underline}.wxParse .hide[data-v-1bc97790]{display:none}.wxParse .del[data-v-1bc97790]{display:inline}.wxParse .figure[data-v-1bc97790]{overflow:hidden}.wxParse .table[data-v-1bc97790]{width:100%}.wxParse .thead[data-v-1bc97790], .wxParse .tfoot[data-v-1bc97790], .wxParse .tr[data-v-1bc97790]{display:flex;flex-direction:row}.wxParse .tr[data-v-1bc97790]{width:100%;display:flex;border-right:%?2?% solid #e0e0e0;border-bottom:%?2?% solid #e0e0e0}.wxParse .th[data-v-1bc97790],\r\n.wxParse .td[data-v-1bc97790]{display:flex;width:%?1276?%;overflow:auto;flex:1;padding:%?11?%;border-left:%?2?% solid #e0e0e0}.wxParse .td[data-v-1bc97790]:last{border-top:%?2?% solid #e0e0e0}.wxParse .th[data-v-1bc97790]{background:#f0f0f0;border-top:%?2?% solid #e0e0e0}',""]),t.exports=e},ae3b:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.postDrawSubmitApi=e.getEatmergeDataInfoApi=e.getEatmergeDataApi=void 0;var n=a(i("7653"));e.getEatmergeDataApi=function(t){return n.default.get("api/user.spellrice.Spellrice/list",t)};e.getEatmergeDataInfoApi=function(t){return n.default.get("api/user.spellrice.Spellrice/detail",t)};e.postDrawSubmitApi=function(t){return n.default.post("api/user.draw.draw/draw",t)}},ae5f:function(t,e,i){var a=i("feb4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("2a6f8fc4",a,!0,{sourceMap:!1,shadowMode:!1})},ae83:function(t,e,i){"use strict";var a=i("7740"),n=i.n(a);n.a},ae98:function(t,e,i){"use strict";i.r(e);var a=i("ac1f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},aefe:function(t,e,i){"use strict";i.r(e);var a=i("90f7"),n=i("8692");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"506f3a46",null,!1,a["a"],void 0);e["default"]=r.exports},af03:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showComponent?i("v-uni-view",{staticClass:"brand-store tn-shadow theme-home-brandStore"},[i("v-uni-view",{staticClass:"top tn-color-orange",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/store-page/brand-list/index")}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(t.config.title||"品牌优选"))]),i("v-uni-view",{staticClass:"sub-title"},[t._v(t._s(t.config.desc||"上上之选, 精致每一餐"))])],1),i("v-uni-view",{staticClass:"right"},[t._v("更多"),i("v-uni-text",{staticClass:"icon tn-icon-right"})],1)],1),i("v-uni-view",{staticClass:"store-list"},t._l(t.data,(function(t,e){return i("v-uni-view",{key:e,staticClass:"data"},[i("simple-store-list-item",{attrs:{store:t}})],1)})),1)],1):t._e()},n=[]},af4b:function(t,e,i){"use strict";i.r(e);var a=i("0807"),n=i("b718");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5852");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"24d7672c",null,!1,a["a"],void 0);e["default"]=r.exports},af51:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getOrderCommentPageInfoApi=e.getCutTImeData=e.cutOffSwit=e.confirmOrderApi=e.confirmErranderOrderApi=e.cancelTcOrderApi=e.cancelOrderApi=e.cancelErranderOrderApi=e.addOrderCommentApi=void 0;var n=a(i("7653"));e.getOrderCommentPageInfoApi=function(t){var e=t.id,i=t.order_type;return n.default.get("api/user.order.comment/getPageParams",{id:e,order_type:i})};e.addOrderCommentApi=function(t){var e=t.id,i=t.deliverScore,a=t.goodsQuality,o=t.note,s=t.thumbs,r=t.order_type;return n.default.post("api/user.order.comment/create",{id:e,deliverScore:i||0,goods_quality:a||0,note:o||"",thumbs:s||[],order_type:r||"takeout"})};e.cancelTcOrderApi=function(t){return n.default.post("/api/user.mealRedpacket.meal_redpacket_order/cancelOrder",{order_id:t})};e.cancelOrderApi=function(t){return n.default.post("api/user.order.order/cancel",{id:t})};e.confirmOrderApi=function(t){return n.default.post("api/user.order.order/end",{id:t})};e.cancelErranderOrderApi=function(t){return n.default.post("api/user.order.errander.errander/cancel",{id:t})};e.confirmErranderOrderApi=function(t){return n.default.post("api/user.order.errander.errander/confirm",{id:t})};e.cutOffSwit=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n.default.get("api/user.order.cut_time/getOpen?sid="+t,{})};e.getCutTImeData=function(){return n.default.get("api/user.order.cut_time/list",{})}},af88:function(t,e,i){"use strict";i.r(e);var a=i("5feb"),n=i("66a7");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("ff3a");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"2403f2fa",null,!1,a["a"],void 0);e["default"]=r.exports},afa5:function(t,e,i){var a=i("e9ea");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("2626d00e",a,!0,{sourceMap:!1,shadowMode:!1})},b025:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"shop_index_box"},[t.config.bgImage?i("v-uni-image",{staticClass:"shop_index_topBg",attrs:{src:t.config.bgImage,mode:"aspectFill"}}):t._e(),i("v-uni-view",{staticClass:"shop_index_card"},[i("v-uni-view",{staticClass:"center_box"},[i("v-uni-view",{staticClass:"userInof"},[i("v-uni-view",{staticClass:"userInof_left"},[t.userInfo.avatar?i("v-uni-image",{attrs:{src:t.userInfo.avatar}}):i("v-uni-image",{attrs:{src:t.platform.logo,mode:"aspectFill"}}),i("v-uni-text",{staticClass:"userInof_left_nickName"},[t._v(t._s(t.userInfo.nickname||t.platform.name))])],1),i("v-uni-view",{staticClass:"userInof_right"},[t._v("uid:"+t._s(t.userInfo.uid))])],1),i("v-uni-view",{staticClass:"topnav_box"},t._l(t.config.topList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"topnav_item"},[i("v-uni-view",{staticClass:"topnav_item_center",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goToImage(e.url||"")}}},[i("v-uni-view",{staticClass:"topnav_item_img_box"},[i("v-uni-image",{attrs:{src:e.image}})],1),i("v-uni-view",{staticClass:"topnav_item_title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"topnav_item_note"},[t._v(t._s(e.note))])],1)],1)})),1),i("v-uni-view",{staticClass:"user_vip_box"},[i("v-uni-view",{staticClass:"user_vip_box_left"},[i("v-uni-view",{staticClass:"user_vip_box_left_center"},[i("v-uni-view",{staticClass:"user_vip_box_left_center_title"},[t._v("加入会员")]),i("v-uni-view",{staticClass:"user_vip_box_left_center_note"},[t._v("享受折扣.优惠券")])],1)],1),i("v-uni-view",{staticClass:"user_vip_box_right"},[i("v-uni-view",{staticClass:"user_vip_box_right_btn"},[t._v("立即加入"),i("v-uni-text",{staticClass:"tn-icon-right-arrow"})],1)],1)],1),i("v-uni-view",{staticClass:"bottomnav_box"},t._l(t.config.bottomList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"bottomnav_item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goToImage(e.url||"")}}},[i("v-uni-image",{staticClass:"bottomnav_item_leftImg",attrs:{src:e.image}}),i("v-uni-view",{staticClass:"bottomnav_item_textInfo"},[i("v-uni-view",{staticClass:"bottomnav_item_textInfo_title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"bottomnav_item_textInfo_note"},[t._v(t._s(e.note))])],1)],1)})),1)],1)],1)],1)},n=[]},b0d7:function(t,e,i){"use strict";i.r(e);var a=i("44d2"),n=i("c06c");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("4bbe6");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"289e4d23",null,!1,a["a"],void 0);e["default"]=r.exports},b128:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(null==t)throw new TypeError("Cannot destructure "+t)},i("7a76"),i("c9b5")},b1ec:function(t,e,i){var a=i("10af");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("297183c5",a,!0,{sourceMap:!1,shadowMode:!1})},b1fa:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("b7c7")),o=a(i("fcf3")),s=a(i("9b1b"));i("64aa"),i("bf0f"),i("2797"),i("c223"),i("5c47"),i("a1c1");var r=i("5da0"),c={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var t=(0,s.default)((0,s.default)({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),e="";for(var i in t){var a=this.toLine(i);e+=a+":"+t[i]+";"}return e},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.duration&&(this.durationTime=t.duration),this.animation=(0,r.createAnimation)(Object.assign(this.config,t),this)},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var i in t)try{var a;if("object"===(0,o.default)(t[i]))(a=this.animation)[i].apply(a,(0,n.default)(t[i]));else this.animation[i](t[i])}catch(s){console.error("方法 ".concat(i," 不存在"))}return this.animation.step(e),this}},run:function(t){this.animation&&this.animation.run(t)},open:function(){var t=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var e=this.styleInit(!1),i=e.opacity,a=e.transform;"undefined"!==typeof i&&(this.opacity=i),this.transform=a,this.$nextTick((function(){t.timer=setTimeout((function(){t.animation=(0,r.createAnimation)(t.config,t),t.tranfromInit(!1).step(),t.animation.run(),t.$emit("change",{detail:t.isShow})}),20)}))},close:function(t){var e=this;this.animation&&this.tranfromInit(!0).step().run((function(){e.isShow=!1,e.animationData=null,e.animation=null;var t=e.styleInit(!1),i=t.opacity,a=t.transform;e.opacity=i||1,e.transform=a,e.$emit("change",{detail:e.isShow})}))},styleInit:function(t){var e=this,i={transform:""},a=function(t,a){"fade"===a?i.opacity=e.animationType(t)[a]:i.transform+=e.animationType(t)[a]+" "};return"string"===typeof this.modeClass?a(t,this.modeClass):this.modeClass.forEach((function(e){a(t,e)})),i},tranfromInit:function(t){var e=this,i=function(t,i){var a=null;"fade"===i?a=t?0:1:(a=t?"-100%":"0","zoom-in"===i&&(a=t?.8:1),"zoom-out"===i&&(a=t?1.2:1),"slide-right"===i&&(a=t?"100%":"0"),"slide-bottom"===i&&(a=t?"100%":"0")),e.animation[e.animationMode()[i]](a)};return"string"===typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((function(e){i(t,e)})),this.animation},animationType:function(t){return{fade:t?1:0,"slide-top":"translateY(".concat(t?"0":"-100%",")"),"slide-right":"translateX(".concat(t?"0":"100%",")"),"slide-bottom":"translateY(".concat(t?"0":"100%",")"),"slide-left":"translateX(".concat(t?"0":"-100%",")"),"zoom-in":"scaleX(".concat(t?1:.8,") scaleY(").concat(t?1:.8,")"),"zoom-out":"scaleX(".concat(t?1:1.2,") scaleY(").concat(t?1:1.2,")")}},animationMode:function(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};e.default=c},b217:function(t,e,i){"use strict";i.r(e);var a=i("3eff"),n=i("3d64");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("719c"),i("2e85");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0a43619c",null,!1,a["a"],void 0);e["default"]=r.exports},b245:function(t,e,i){"use strict";i.r(e);var a=i("1c57"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},b2f4:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.pop-item[data-v-4ff61c22]{padding:%?30?% %?30?% 0 %?30?%}.pop-item .top-item[data-v-4ff61c22]{display:flex;justify-content:space-between}.pop-item .top-item .icon[data-v-4ff61c22]{width:%?40?%;height:%?40?%;font-size:%?24?%;line-height:1;border-radius:50%;background-color:#ffca28;font-weight:700}.pop-item .combo1 .mods[data-v-4ff61c22]{display:flex;justify-content:space-between;flex-wrap:wrap;padding:%?20?%}.pop-item .combo1 .mods .for-itm[data-v-4ff61c22]{width:32%;display:flex;flex-direction:column;align-items:center;margin-bottom:%?30?%}.pop-item .combo1 .mods .for-itm .img[data-v-4ff61c22]{width:%?150?%;height:%?150?%!important}.pop-item .combo1 .mods .for-itm .btn_dz[data-v-4ff61c22]{width:65%;text-align:center;padding:%?5?% %?10?%;color:#000!important;border-radius:%?10?%}.pop-item .combo1 .mods .for-itm2[data-v-4ff61c22]{background-color:#f0f0f0;padding:%?15?% %?10?%;border-radius:%?20?%;border:1px solid #fff}.pop-item .combo1 .mods .for-itm2 .text[data-v-4ff61c22]{display:inline-block;width:95%;text-align:left}.pop-item .combo1 .mods .for-itm2 .radio-mod[data-v-4ff61c22]{width:100%;display:flex;align-items:center;justify-content:space-between}.pop-item .combo1 .mods .avctMod[data-v-4ff61c22]{border:1px solid #f5d532}.pop-item .combo1 .mods .avctMod2[data-v-4ff61c22]{background-color:#eaeaea!important}.shopCart[data-v-4ff61c22]{padding:0 %?30?%;margin-bottom:%?40?%}.shopCart .cart-item[data-v-4ff61c22]{background-color:#2a2b2d;border-radius:%?50?%}.shopCart .cart-item .for-mod[data-v-4ff61c22]{display:flex;align-items:center;padding:%?20?% %?15?%}.shopCart .cart-item .for-mod .for-img[data-v-4ff61c22]{position:relative;margin-right:%?30?%}.shopCart .cart-item .for-mod .for-img .img[data-v-4ff61c22]{width:%?100?%;height:%?100?%;border-radius:50%;background-color:#fff}.shopCart .cart-item .for-mod .for-img .close[data-v-4ff61c22]{position:absolute;top:0;right:%?-2?%;color:grey}.shopCart .cart-item .botoom-mod[data-v-4ff61c22]{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #484848;padding:%?10?%}.shopCart .cart-item .botoom-mod .price[data-v-4ff61c22]{margin-left:%?20?%}',""]),t.exports=e},b35a:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.sendToFriendApi=e.refundTicketApi=e.numInfoApi=e.getCouponDetailsApi=e.getBeUsedTicketListApi=e.getBeCollectedTicketListApi=e.collectedTicketApi=void 0;var n=a(i("7653"));e.getBeCollectedTicketListApi=function(t){var e=t.page,i=t.psize,a=t.sid;return n.default.get("api/user.channel.coupon/list",{page:e||1,psize:i||20,sid:a})};e.getBeUsedTicketListApi=function(t){var e=t.status,i=t.page,a=t.psize,o=t.sid;return n.default.get("api/user.member.coupon/list",{status:e||1,page:i||1,psize:a||20,sid:o||""})};e.collectedTicketApi=function(t){var e=t.sid;return n.default.post("api/user.channel.coupon/receive",{sid:e})};e.refundTicketApi=function(t){return n.default.post("api/user.tuangouquan.order/refund",t)};e.getCouponDetailsApi=function(t){var e=t.id;return n.default.get("api/user.tuangouquan.order/detail",{coupon_id:e})};e.sendToFriendApi=function(t){return n.default.post("api/user.member.coupon/sendToFriend",t)};e.numInfoApi=function(){return n.default.get("api/user.member.coupon/numInfo")}},b43b:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getBargainSettingByAgentApi=e.getBargainGodsInfoApi=e.getBargainGodsApi=e.getAddBargainApi=void 0;var n=a(i("7653"));e.getBargainGodsApi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.get("api/user.bargain.goods/index",t)};e.getBargainGodsInfoApi=function(t){return n.default.get("api/user.bargain.goods/index",t)};e.getAddBargainApi=function(t){return n.default.post("api/user.bargain.goods/cart",t)};e.getBargainSettingByAgentApi=function(){return n.default.get("api/user.bargain.goods/getBargainSettingByAgent")}},b461:function(t,e,i){"use strict";i.r(e);var a=i("80db"),n=i("7cdd");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("787c");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6a8ecf09",null,!1,a["a"],void 0);e["default"]=r.exports},b465:function(t,e,i){"use strict";i.r(e);var a=i("ae28"),n=i("0b5b");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5ac0");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"2285a575",null,!1,a["a"],void 0);e["default"]=r.exports},b4ba:function(t,e,i){"use strict";i.r(e);var a=i("9b4e"),n=i("8cbc");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1a12f82f",null,!1,a["a"],void 0);e["default"]=r.exports},b5100:function(t,e,i){"use strict";i.r(e);var a=i("31de"),n=i("e119");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("35ef");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"78527322",null,!1,a["a"],void 0);e["default"]=r.exports},b52a:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.image-group[data-v-6fe03864]{position:relative;width:100%\n /* 一张图片 start */\n /* 一张图片 end */\n /* 两张图片 start */\n /* 两张图片 end */\n /* 三张图片 start */\n /* 三张图片 end */\n /* 四张图片 start */\n /* 四张图片 end */\n /* 五张图片 start */\n /* 五张图片 end */\n /* 两张50%的图片 start */\n /* 两张50%的图片 end */\n /* 三张平均分配图片 start */\n /* 三张平均分配图片 end */}.image-group .one[data-v-6fe03864]{width:100%;border-radius:%?10?%}.image-group .two[data-v-6fe03864]{width:100%;display:flex;justify-content:space-between}.image-group .two .image[data-v-6fe03864]{border-radius:%?10?%}.image-group .two .image[data-v-6fe03864]:first-child{width:65%}.image-group .two .image[data-v-6fe03864]:last-child{width:33%}.image-group .three[data-v-6fe03864]{width:100%;display:flex;justify-content:space-between}.image-group .three .left[data-v-6fe03864]{width:65%;height:100%;border-radius:%?10?%}.image-group .three .right[data-v-6fe03864]{width:33%;height:100%;display:flex;flex-direction:column;justify-content:space-between}.image-group .three .right .image[data-v-6fe03864]{height:48%;border-radius:%?10?%}.image-group .four[data-v-6fe03864]{width:100%;display:flex;justify-content:space-between}.image-group .four .left[data-v-6fe03864]{width:46%;height:100%;border-radius:%?10?%}.image-group .four .middle[data-v-6fe03864]{width:25%;height:100%;border-radius:%?10?%}.image-group .four .right[data-v-6fe03864]{width:25%;height:100%;display:flex;flex-direction:column;justify-content:space-between}.image-group .four .right .image[data-v-6fe03864]{height:47%;border-radius:%?10?%}.image-group .five[data-v-6fe03864]{width:100%;display:flex;justify-content:space-between}.image-group .five .left[data-v-6fe03864]{width:46%;height:100%;display:flex;flex-direction:column;justify-content:space-between}.image-group .five .left .image[data-v-6fe03864]{height:47%;border-radius:%?10?%}.image-group .five .middle[data-v-6fe03864]{width:25%;height:100%;display:flex;flex-direction:column;justify-content:space-between}.image-group .five .middle .image[data-v-6fe03864]{height:47%;border-radius:%?10?%}.image-group .five .right[data-v-6fe03864]{width:25%;height:100%;border-radius:%?10?%}.image-group .two-50[data-v-6fe03864]{width:100%;display:flex;justify-content:space-between}.image-group .two-50 .image[data-v-6fe03864]{border-radius:%?10?%}.image-group .two-50 .left[data-v-6fe03864],\n.image-group .two-50 .right[data-v-6fe03864]{width:49%}.image-group .three-pre[data-v-6fe03864]{width:100%;display:flex;justify-content:space-between}.image-group .three-pre .image[data-v-6fe03864]{width:calc(100% / 3 - %?10?%);border-radius:%?10?%}',""]),t.exports=e},b531:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view")},n=[]},b533:function(t,e,i){"use strict";i.r(e);var a=i("e524"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},b547:function(t,e,i){var a=i("be32");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("84852e20",a,!0,{sourceMap:!1,shadowMode:!1})},b549:function(t,e,i){var a=i("2e58");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("614e42ee",a,!0,{sourceMap:!1,shadowMode:!1})},b574:function(t,e,i){"use strict";i.r(e);var a=i("287c"),n=i("ccaa");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("cf50");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"2e92531b",null,!1,a["a"],void 0);e["default"]=r.exports},b5aa:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f");var n=a(i("2f0f")),o=a(i("495e")),s=i("419c"),r=i("262c"),c={props:{value:{type:Boolean,default:!1},currentLocation:{type:Boolean,default:!1}},components:{CenterModal:o.default},mixins:[n.default],data:function(){return{showAuthorizationLocationModal:!1,openSystemLocationScope:!0,openAppLocationScope:!0}},computed:{tipsContent:function(){return this.openAppLocationScope?this.openSystemLocationScope?" ":"若需使用平台,平台需要获取您的位置信息,请确认您的手机系统定位设置已经开启":"若需使用平台,平台需要获取您的位置信息,请授权当前小程序使用您的位置信息"},confirmText:function(){return this.openSystemLocationScope?this.openAppLocationScope?"确 认":"授 权":"选择地址"}},watch:{value:{handler:function(t){t&&this.checkLocationInfo()},immediate:!0}},created:function(){},methods:{checkLocationInfo:function(){var t=this;this.checkHasPositionInfo(this.currentLocation).then((function(){t._resetJudgeLocationModal(),t.successEmits()})).catch((function(e){null!==e&&void 0!==e&&e.closeSystemLocation?t.openSystemLocationScope=!1:t.openSystemLocationScope=!0,null!==e&&void 0!==e&&e.closeAppLocation?t.openAppLocationScope=!1:t.openAppLocationScope=!0,t.showAuthorizationLocationModal=!0}))},handleCancelEvent:function(){this.successEmits(),this._resetJudgeLocationModal()},handleConfirmEvent:function(){var t=this;if(!this.openSystemLocationScope)return this._resetJudgeLocationModal(),this.successEmits(),(0,s.navPage)("/system-page/choose-address/index");this.openAppLocationScope||this._openScopeSettingPage().then((function(){t.successEmits()})).catch((function(){t.$emit("fail")})).finally((function(){t._resetJudgeLocationModal()}))},successEmits:function(){var t=(0,r.getLocationInfoFromCache)();this.$emit("success",{lat:t.lat||1,lng:t.lng||1,address:t.address||[]})},_resetJudgeLocationModal:function(){this.openSystemLocationScope=!1,this.openAppLocationScope=!1,this.showAuthorizationLocationModal=!1,this.$emit("input",!1)}}};e.default=c},b69e:function(t,e,i){"use strict";var a=i("1ce3"),n=i.n(a);n.a},b718:function(t,e,i){"use strict";i.r(e);var a=i("5328"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},b731:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("74ff")),o={name:"tn-column-notice",mixins:[n.default],props:{textSize:{type:Number,default:26},list:{type:Array,default:function(){return[]}},show:{type:Boolean,default:!0},playStatus:{type:String,default:"play"},mode:{type:String,default:"horizontal"},leftIcon:{type:Boolean,default:!0},leftIconName:{type:String,default:"sound"},leftIconSize:{type:Number,default:34},rightIcon:{type:Boolean,default:!1},rightIconName:{type:String,default:"right"},rightIconSize:{type:Number,default:26},closeBtn:{type:Boolean,default:!1},radius:{type:Number,default:0},padding:{type:String,default:"18rpx 24rpx"},autoplay:{type:Boolean,default:!0},duration:{type:Number,default:2e3}},computed:{fontStyle:function(){var t=this;return function(e){var i={};return t.fontColorStyle&&(i.color=t.fontColorStyle),t.fontSizeStyle&&(i.fontSize=t.fontColorStyle),"leftIcon"===e&&t.leftIconSize&&(i.fontSize=t.leftIconSize+"rpx"),"rightIcon"===e&&t.rightIconSize&&(i.fontSize=t.rightIconSize+"rpx"),"close"===e&&(i.fontSize="24rpx"),i}},noticeStyle:function(){var t={};return t.backgroundColor=this.backgroundColorStyle?this.backgroundColorStyle:"transparent",this.padding&&(t.padding=this.padding),t},swiperStyle:function(){var t={};return t.height=this.fontSize?this.fontSize+6+this.fontUnit:"32rpx",t.lineHeight=t.height,t},vertical:function(){return"horizontal"!==this.mode}},data:function(){return{}},watch:{},methods:{click:function(t){this.$emit("click",t)},close:function(){this.$emit("close")},clickLeftIcon:function(){this.$emit("clickLeft")},clickRightIcon:function(){this.$emit("clickRight")},change:function(t){var e=t.detail.current;this.$emit("updateIndex",e),e===this.list.length-1&&this.$emit("end")}}};e.default=o},b733:function(t,e,i){var a=i("18ae");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("2302bd3e",a,!0,{sourceMap:!1,shadowMode:!1})},b761:function(t,e,i){"use strict";var a=i("898c"),n=i.n(a);n.a},b780:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitOrderApi=e.getOrderPreInfoApi=e.getOrderListApi=e.getOrderDetailApi=e.getLogisticsApi=e.getJieLongConfigApi=e.confirmOrderApi=e.commentOrderApi=e.cancelOrderApi=e.applyAfterSaleApi=void 0;var n=a(i("7653"));e.getOrderPreInfoApi=function(t){return n.default.post("api/user.order.mall_order_create/indexBefore",t)};e.submitOrderApi=function(t){return n.default.post("api/user.order.mall_order_create/createOrder",t)};e.getOrderListApi=function(t){return n.default.get("api/user.order.mall_order/index?page="+t.page+"&limit=10&status=0")};e.getOrderDetailApi=function(t){return n.default.get("api/user.order.mall_order/orderDetail?id="+t)};e.getLogisticsApi=function(t){return n.default.get("api/user.order.mall_order/logistics?id="+t)};e.cancelOrderApi=function(t){return n.default.post("api/user.order.mall_order/cancelOrder",{id:t})};e.confirmOrderApi=function(t){return n.default.post("api/user.order.mall_order/confirmOrder",{id:t})};e.commentOrderApi=function(t){return n.default.post("api/user.order.mall_order/commentOrder",t)};e.applyAfterSaleApi=function(t){return n.default.post("api/user.order.mall_order/applyAfterSale",t)};e.getJieLongConfigApi=function(t){return n.default.get("api/user.order.mall_order/jielongConfig?id="+t)}},b7b0:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"mover"},[i("v-uni-view",[i("v-uni-view",[i("span",[t._v("热映")]),t._v("电影")]),i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toPath("/cinema-page/index")}}},[t._v("更多"),i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1),i("v-uni-view",[i("v-uni-scroll-view",{staticClass:"scroll_c",attrs:{"scroll-x":!0}},t._l(t.movieList.slice(0,10),(function(e,a){return i("v-uni-view",{key:a,staticClass:"scroll_item"},[i("v-uni-image",{attrs:{src:e.pic}}),i("v-uni-view",[t._v(t._s(e.name))]),i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toPath("/cinema-page/index")}}},[t._v("特惠购票")])],1)})),1)],1)],1)],1)},n=[]},b7e2:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("b7c7"));i("64aa"),i("bd06"),i("c223"),i("bf0f"),i("2797"),i("aa9c"),i("fd3c");var o=a(i("a71b")),s=i("d55c"),r=i("419c"),c=i("e0a2"),d={components:{Empty:o.default},props:{config:{type:[Array,Object],default:function(){return[]}},type:{type:String,default:function(){return"home"}},storeId:{type:[Number,String],default:function(){return""}}},data:function(){return{icon:[c.staticUrl+"api/images/20250804/images_175429650526671.png",c.staticUrl+"api/images/20250807/images_175453599632707.png"],cateList:[],allGoods:[],goodsList:[],chooseIndex:0,goodsListLeft:[],goodsListRight:[],currentPage:1,currentIds:null,isLoading:!1,isLoadStoreAll:!1}},filters:{distanceValue:function(t){if(!t)return"";if("string"===typeof t){if(-1!=t.findIndex("m"))return t;t=Number(t)}return t<1e3?(t=t.toFixed(1),"".concat(t,"m")):(t=(t/1e3).toFixed(1),"".concat(t,"km"))}},created:function(){this.init()},methods:{loadMoreGoodsData:function(){var t=this;if(!this.isLoading&&!this.isLoadStoreAll)if(this.isLoading=!0,"store"==this.type){var e={page:this.currentPage+1,page_size:15,store_id:this.storeId};(0,s.getStoreTieListApi)(e).then((function(e){if(e.list.length>0){t.currentPage++;var i=[].concat((0,n.default)(t.goodsList),(0,n.default)(e.list)),a=[],o=[];e.list.forEach((function(e,i){var n=t.goodsListLeft.length+a.length,s=t.goodsListRight.length+o.length;n<=s?a.push(e):o.push(e)})),t.goodsListLeft=[].concat((0,n.default)(t.goodsListLeft),a),t.goodsListRight=[].concat((0,n.default)(t.goodsListRight),o),t.goodsList=i}else t.isLoadStoreAll=!0;t.isLoading=!1})).catch((function(){t.isLoading=!1}))}else{var i={page:this.currentPage+1,page_size:15};(0,s.tieStoreListApi)(i).then((function(e){if(e.list.length>0){t.currentPage++;var i=[].concat((0,n.default)(t.goodsList),(0,n.default)(e.list)),a=[],o=[];e.list.forEach((function(e,i){var n=t.goodsListLeft.length+a.length,s=t.goodsListRight.length+o.length;n<=s?a.push(e):o.push(e)})),t.goodsListLeft=[].concat((0,n.default)(t.goodsListLeft),a),t.goodsListRight=[].concat((0,n.default)(t.goodsListRight),o),t.goodsList=i}else t.isLoadStoreAll=!0;t.isLoading=!1})).catch((function(){t.isLoading=!1}))}},init:function(){var t=this;"store"!==this.type&&(this.cateList=[{id:-1,title:"推荐",info:"精品推荐"}].concat((0,n.default)(this.config.cateList)),this.config.cateList.forEach((function(e){var i;(i=t.allGoods).push.apply(i,(0,n.default)(e.goods))}))),this.getGoodsList()},toDetail:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,r.navPage)("/circle-page/detail/index?id=".concat(e.id))},getGoodsList:function(t){var e=this;if("store"==this.type){console.log("optionsData.sid",this.storeId);var i={page:1,page_size:15,store_id:this.storeId};(0,s.getStoreTieListApi)(i).then((function(t){var i=(0,n.default)(t.list);e.goodsList=t.list;var a=[],o=[];t.list.forEach((function(t,e){a.length<=o.length?a.push(t):o.push(t)})),e.goodsListLeft=[].concat(a),e.goodsListRight=[].concat(o),e.goodsList=i,console.log("this.goodsListLeft11",e.goodsListLeft.length,e.goodsListRight.length)}))}else{(0,s.tieStoreListApi)({page:1,page_size:15}).then((function(t){var i=(0,n.default)(t.list);e.goodsList=t.list;var a=[],o=[];t.list.forEach((function(t,e){a.length<=o.length?a.push(t):o.push(t)})),e.goodsListLeft=[].concat(a),e.goodsListRight=[].concat(o),e.goodsList=i,console.log("this.goodsListLeft11",e.goodsListLeft.length,e.goodsListRight.length)}))}},handleChoose:function(t,e){this.goodsList=[],this.currentPage=1;var i=t.goods,a=void 0===i?null:i;this.currentIds=a?a.map((function(t){return t.id})).join(","):null,this.getGoodsList(a||this.allGoods),this.chooseIndex=e}}};e.default=d},b7f2:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("e838");var n=i("78b4"),o=i("419c"),s=(a(i("5c73")),{name:"store-information",options:{virtualHost:!0},props:{config:[Array,Object],sid:[Number,String]},data:function(){return{storInfo:{}}},mounted:function(){this.getInfo()},methods:{openTel:function(t){console.log(t);var e=String(t);uni.makePhoneCall({phoneNumber:e,success:function(t){console.log("电话拨打成功",t)},fail:function(t){console.error("电话拨打失败",t)}})},openMap:function(t,e){t=parseFloat(t),e=parseFloat(e),uni.openLocation({latitude:t,longitude:e,success:function(t){console.log(t)},fail:function(t){console.error("地图打开失败",t)}})},navPage:o.navPage,navBack:o.navBack,getInfo:function(){var t=this;this.config.sid&&(0,n.getBrandStoreListApi)({system_brand_id:this.config.sid,keywords:""}).then((function(e){if(console.log(e,"品牌门店列表==========",t.sid),t.sid)for(var i=0;i<e.length;i++)e[i].id===t.sid&&(t.storInfo=e[i]);else t.storInfo=e[0],t.$emit("changIdUpdata",e[0].id);console.log(t.storInfo)})).catch((function(t){console.log(t)}))}}});e.default=s},b9cb:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"paotui tn-shadow"},[i("v-uni-view",{staticClass:"map",style:{height:t.config.coordinate.map?"220px":"80rpx",border:t.config.coordinate.map?"2px solid #fff":""}},[t.config.coordinate.map?i("v-uni-map",{staticStyle:{width:"100%",height:"220px",position:"relative"},attrs:{latitude:t.latitude,longitude:t.longitude,markers:t.currentPositionMarker}},[i("v-uni-cover-view",{attrs:{slot:"callout"},slot:"callout"},[i("v-uni-cover-view",{staticStyle:{background:"#fff",padding:"10rpx 40rpx","border-radius":"88rpx",display:"flex","flex-direction":"column","align-items":"center"},attrs:{"marker-id":1}},[i("v-uni-cover-view",{staticStyle:{display:"flex"}},[i("v-uni-cover-view",{staticStyle:{"font-size":"25rpx",color:"var(--theme-general-color)"}},[t._v(t._s(t.config.coordinate.time)+"分钟")]),i("v-uni-cover-view",{staticStyle:{"font-size":"25rpx",color:"black"}},[t._v("内接单")])],1),i("v-uni-cover-view",{staticStyle:{"font-size":"22rpx",color:"gray"}},[t._v("附近有"+t._s(t.deliveryerNum)+"名骑手")])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"from_top"},[t._v("同城急送 又快又省")])],1),i("v-uni-view",{staticClass:"from"},[i("v-uni-view",{staticClass:"from_btns"},t._l(t.config.coordinate.type,(function(e,a){return i("v-uni-view",{key:e.id,staticStyle:{padding:"0 20rpx","white-space":"nowrap","margin-right":"10px",position:"relative"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.select(e,a)}}},[i("v-uni-view",{style:{color:a==t.selectIndex?"#000000":"#a2a2a2"}},[t._v(t._s(e.title))]),a==t.selectIndex?i("v-uni-view",{staticClass:"tn-icon-tabs-smile selectIcon"}):t._e()],1)})),1),i("v-uni-view",{staticClass:"from_address"},[i("v-uni-view",{staticClass:"qu",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.selectAddress.apply(void 0,arguments)}}},[i("v-uni-view",{staticStyle:{"border-radius":"50%",border:"2px solid #2cb264",padding:"2px","margin-right":"10px"}}),i("v-uni-view",{staticStyle:{display:"flex",flex:"8","align-items":"center"}},[t.deliveryInfo.delivery.address?t._e():i("v-uni-view",{staticStyle:{display:"flex","flex-direction":"column"}},[t.formatted_address?i("v-uni-text",[t._v(t._s(t.formatted_address))]):i("v-uni-text",[t._v("填写取件地址")]),t.formatted_address&&!t.isFind?i("v-uni-text",{staticStyle:{"font-size":"25rpx",color:"var(--theme-general-color)"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.completeAddressInfo.apply(void 0,arguments)}}},[t._v("请完善地址信息")]):t._e()],1),i("v-uni-view",[t._v(t._s(t.deliveryInfo.delivery.address))])],1),i("v-uni-view",{staticStyle:{flex:"2",color:"#a2a2a2",padding:"5px 10px","border-radius":"88px",border:"1px solid #a2a2a2","text-align":"center"}},[t._v("地址簿")])],1),i("v-uni-view",{staticClass:"qu",staticStyle:{"margin-top":"10px"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.selectClothesAddress.apply(void 0,arguments)}}},[i("v-uni-view",{staticStyle:{"border-radius":"50%",border:"2px solid #ffba17",padding:"2px","margin-right":"10px"}}),i("v-uni-view",{staticStyle:{display:"flex",flex:"8","align-items":"center"}},[t.deliveryInfo.sendAddress.address?t._e():i("v-uni-view",[t._v("填写送件地址")]),i("v-uni-view",[t._v(t._s(t.deliveryInfo.sendAddress.address))])],1),i("v-uni-view",{staticStyle:{flex:"2",color:"#a2a2a2",padding:"5px 10px","border-radius":"88px",border:"1px solid #a2a2a2","text-align":"center"}},[t._v("地址簿")])],1)],1),i("v-uni-view",{staticClass:"from_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[t._v("去下单")])],1),i("v-uni-view",{staticClass:"from_text"},t._l(t.config.coordinate.describe,(function(e,a){return i("v-uni-view",{key:e.id,staticClass:"text"},[i("v-uni-text",[t._v(t._s(e.title))])],1)})),1),i("judge-location",{attrs:{"current-location":t.current_location},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.handleLocationAuthSuccess.apply(void 0,arguments)}},model:{value:t.checkHasLocationPermission,callback:function(e){t.checkHasLocationPermission=e},expression:"checkHasLocationPermission"}}),i("address-select-modal",{attrs:{data:t.addressList,bottom:t.bottom,"default-address-id":t.currentSelectAddressId},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleAddressClickEvent.apply(void 0,arguments)},edit:function(e){arguments[0]=e=t.$handleEvent(e),t.addEditAddressEvent.apply(void 0,arguments)},add:function(e){arguments[0]=e=t.$handleEvent(e),t.addEditAddressEvent.apply(void 0,arguments)}},model:{value:t.showChooseAddressModal,callback:function(e){t.showChooseAddressModal=e},expression:"showChooseAddressModal"}}),i("address-select-modal",{attrs:{data:t.addressList,bottom:t.bottom,"default-address-id":t.currentSelectSendAddressId},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSendAddressClickEvent.apply(void 0,arguments)},edit:function(e){arguments[0]=e=t.$handleEvent(e),t.addEditSendAddressEvent.apply(void 0,arguments)},add:function(e){arguments[0]=e=t.$handleEvent(e),t.addEditSendAddressEvent.apply(void 0,arguments)}},model:{value:t.showChooseSendAddressModal,callback:function(e){t.showChooseSendAddressModal=e},expression:"showChooseSendAddressModal"}})],1)},n=[]},ba1f:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.updateGoodCartApi=e.getStoreShoppingCartSpecGoodNumApi=e.clearStoreShoppingCartApi=e.addTangshiGoodToCartApi=e.addGoodToCartApi=e._zfbdataPurchaseGoods=void 0;var n=a(i("7653"));e.getStoreShoppingCartSpecGoodNumApi=function(t){var e=t.sid,i=t.goodsId,a=t.tableId;return n.default.get("api/user.store.goods/cartOption",{sid:e,goods_id:i,table_id:a||""})};e.addGoodToCartApi=function(t){var e=t.sid,i=t.goodsId,a=t.spellriceId,o=t.optionId,s=t.sign,r=t.type,c=t.tableId,d=t.num,l=t.activity_id,u=t.miniProgramPath;return console.log(o),n.default.post("api/user.store.goods/cart",{sid:e,goods_id:i,spellrice_id:a||"",option_id:o||"",sign:s,type:r||"",table_id:c||"",activity_id:l||0,num:d,miniProgramPath:u||""})};e.addTangshiGoodToCartApi=function(t){var e=t.sid,i=t.goodsId,a=t.optionId,o=t.sign,s=t.type,r=t.tableId,c=t.num;return n.default.post("api/user.store.table/cart",{sid:e,goods_id:i,option_id:a||"",sign:o,type:s||"",table_id:r||"",num:c})};e.updateGoodCartApi=function(t){var e=t.goodsId,i=t.sid,a=t.num,o=t.options_id;return n.default.post("api/user.store.goods/updateCart",{sid:i,goods_id:e,num:a,options_id:o})};e.clearStoreShoppingCartApi=function(t){var e=t.sid;return n.default.get("api/user.store.goods/truncate",{sid:e})};e._zfbdataPurchaseGoods=function(t){var e=t.sign,i=t.goodsId;console.log("增长分析埋点中加减购物车的商品ID: ",i);var a="+"===e?0:1;my.reportCustomEvent("1045127",{bizType:"cloudappevent",spu_id:i,action_type:a,action_num:1,is_goods_page:0})}},ba49:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLineProgress:i("e985").default,tnModal:i("c9f6").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"redpacket-ticket",class:[{small:"small"===t.size}]},[i("v-uni-view",{staticClass:"ticket-left"},[i("v-uni-view",{staticClass:"ticket-info"},[t.data.image?i("v-uni-view",{staticClass:"ticket-image tn-shadow"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.data.image,mode:"aspectFill"}})],1):t._e(),i("v-uni-view",[t.data.is_multiple?t._e():i("v-uni-view",{staticClass:"ticket-title"},[t._v(t._s(t.data.title))]),t.data.is_multiple?i("v-uni-view",{staticClass:"ticket-title"},[t._v(t._s(t.data.text))]):t._e(),t._t("endtime",[t.data.endtime?i("v-uni-view",{staticClass:"ticket-endtime"},[t._v("有效期至"),i("v-uni-text",{staticClass:"tn-margin-left-xs"},[t._v(t._s(t.data.endtime))])],1):0===t.data.endtime?i("v-uni-view",{staticClass:"ticket-endtime"},[t._v("该券已过期")]):i("v-uni-view",{staticClass:"ticket-endtime"},[t._v("不限使用时间")])])],2)],1),i("v-uni-view",{staticClass:"ticket-condition"},[t.data.text&&"tuangouquan"==t.data.type&&!t.data.is_multiple?i("v-uni-view",{staticClass:"condition-value"},[t._v(t._s(t.data.text))]):t._e(),t.data.condition?i("v-uni-view",{staticClass:"condition-value"},[t._v("满"+t._s(t.formatConditionPrice(t.data.condition))+"可直接立减")]):t._e(),t.data.limit?i("v-uni-view",{staticClass:"condition-limit"},[t._v(t._s(t.data.limit))]):t._e()],1),i("v-uni-view",{staticStyle:{display:"flex","flex-direction":"row","justify-content":"space-between"}},["tuangouquan"==t.data.type&&1==t.data.status&&0!=t.data.endtime?i("v-uni-view",{staticClass:"operation-btn",attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.sendToFriendBox(t.data.id)}}},[t._v("赠送好友")]):t._e()],1)],1),i("v-uni-view",{staticClass:"ticket-right"},[i("v-uni-view",{staticClass:"ticket-price"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"integer"},[t._v(t._s(t._f("splitNumber")(t.data.discount,"integer")))]),i("v-uni-view",{staticClass:"decimal"},[t._v(t._s(t._f("splitNumber")(t.data.discount,"decimal")))])],1),t.data.percent?i("v-uni-view",{staticClass:"ticket-progress"},[i("tn-line-progress",{attrs:{percent:t.data.percent,activeColor:t.themeBgColor}},[i("v-uni-text",{staticClass:"progress-text tn-color-black"},[t._v("已抢"+t._s(t.data.percent)+"%")])],1)],1):t._e(),2!=t.data.status&&3!=t.data.status&&0!=t.data.endtime?i("v-uni-view",{staticClass:"operation-btn",class:[{"tn-bg-gray":t.isCollectedAll}],style:[{display:1==t.data.get&&0==t.data.is_show_use_now?"none":"block"}],attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleBtnClickEvent.apply(void 0,arguments)}}},[t._v(t._s(t.data.get?"立即使用":t.isCollectedAll?"已抢完":"立即领券"))]):t._e(),"tuangouquan"==t.data.type&&1==t.data.status&&0!=t.data.endtime&&0!=t.data.is_show_refund?i("v-uni-view",{staticClass:"operation-btn",attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.refund.apply(void 0,arguments)}}},[t._v("售后退款")]):t._e(),"tuangouquan"==t.data.type&&1==t.data.status&&0!=t.data.endtime&&0!=t.data.is_show_offline?i("v-uni-view",{staticClass:"operation-btn",attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.WriteOff(t.data.id)}}},[t._v("团券核销")]):t._e()],1),i("tn-modal",{attrs:{title:"赠送好友",custom:"true"},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[i("v-uni-view",{staticClass:"modal_box"},[i("v-uni-view",{staticClass:"modal_title"},[i("v-uni-view",{staticClass:"modal_title_text"},[t._v("赠送好友")])],1),i("v-uni-view",{staticClass:"modal_content"},[i("v-uni-view",{staticClass:"modal_content_item"},[i("v-uni-view",{staticClass:"modal_content_item_title"},[t._v("uid")]),i("v-uni-view",{staticClass:"modal_content_item_input"},[i("v-uni-input",{attrs:{type:"number",placeholder:"请输入uid"},model:{value:t.friend_uid,callback:function(e){t.friend_uid=e},expression:"friend_uid"}})],1)],1),i("v-uni-view",{staticClass:"modal_content_item"},[i("v-uni-view",{staticClass:"modal_content_item_title"},[t._v("手机号")]),i("v-uni-view",{staticClass:"modal_content_item_input"},[i("v-uni-input",{attrs:{type:"number",placeholder:"请输入好友手机号"},model:{value:t.friend_mobile,callback:function(e){t.friend_mobile=e},expression:"friend_mobile"}})],1)],1),i("v-uni-view",{staticClass:"modal_content_btn"},[i("v-uni-view",{staticClass:"modal_content_btn_item cancel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showModal=!1}}},[t._v("取消")]),i("v-uni-view",{staticClass:"modal_content_btn_item confirm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sendToFriend.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)],1)],1)},o=[]},ba72:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"search-box tn-flex-row-center tn-bg-gray--light theme-search-input",class:[t.searchBoxClass]},[t.leftIcon?i("v-uni-view",{staticClass:"search-box__left-icon"},[i("v-uni-text",{class:["tn-icon-"+t.leftIcon]})],1):t._e(),i("v-uni-view",{staticClass:"search-box__input"},[i("v-uni-input",{staticClass:"input",attrs:{disabled:t.disabled,type:"text",placeholder:t.placholder},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputChangeEvent.apply(void 0,arguments)}},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1),t.buttonText&&t.showbtn?i("v-uni-view",{staticClass:"search-box__btn theme-search-btn",style:[t.themeBtnStyle],attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.btnClickEvent.apply(void 0,arguments)}}},[t._v(t._s(t.buttonText))]):t._e()],1)},n=[]},bc05:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"nav-list four-pre",staticStyle:{position:"relative"},style:[{backgroundImage:"url("+t.config.bgImg+")",backgroundRepeat:"no-repeat",backgroundSize:"100% auto"},1===t.config.tile?{position:"relative",width:"100vw",left:"-30rpx"}:{}]},[i("v-uni-image",{staticStyle:{width:"100%",height:"500rpx"},attrs:{src:t.config.bgImg,mode:"widthFix"}}),t._l(t.config.pictureHotZoneList,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticStyle:{position:"absolute"},style:{width:2*e.w+"rpx",height:2*e.h+"rpx",top:2*e.x+"rpx",left:2*e.y-10+"rpx",borderRadius:2*e.lt+"rpx "+2*e.rt+"rpx "+2*e.rb+"rpx "+2*e.lb+"rpx"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toPage(e.link)}}})]}))],2)},n=[]},bc32:function(t,e,i){var a=i("e377");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("d2bf4e7c",a,!0,{sourceMap:!1,shadowMode:!1})},bc40:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("dc1f")),o=a(i("55a4")),s={props:{value:{type:[String,Number],default:0}},components:{SearchBox:o.default},mixins:[n.default],data:function(){return{navs:["下单","评价","商家"],currentNavIndex:0,searchValue:"",oldSearchValue:""}},watch:{value:{handler:function(t){this.currentNavIndex=t},immediate:!0}},methods:{switchNavEvent:function(t){t!==this.currentNavIndex&&(this.$emit("input",t),this.$emit("change",t))},handleSearchBtnClickEvent:function(){this.oldSearchValue!==this.searchValue&&(this.oldSearchValue=this.searchValue,this.$emit("search",this.searchValue))}}};e.default=s},bc85:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-scroll-view",{staticStyle:{width:"100%","white-space":"nowrap"},attrs:{"scroll-x":"true"}},[i("v-uni-view",{staticClass:"tn-flex"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a},[1==e.time_status?i("v-uni-view",{staticClass:"item-mod",style:{color:a==t.curridx?"#fff":"#000",backgroundColor:a==t.curridx?"#ff8935":"#fff"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.seleTime(a,e.id)}}},[i("p",{staticClass:"tn-text-sm tn-margin-bottom-xs"},[t._v("约"),0!=e.date?i("span",{staticClass:"tn-text-xl"},[t._v(t._s(" "+e.date+" "))]):t._e(),i("span",{staticClass:"tn-text-xl"},[t._v(t._s(" "+e.send_time+" "))]),t._v("送达")]),i("v-uni-view",{staticClass:"tn-margin-bottom-xs"},[0!=e.date?i("span",[t._v(t._s(e.date))]):t._e(),t._v(t._s(e.cut_time)+"截单")]),i("v-uni-view",{},[0==e.time_status||0==e.is_countdown?i("v-uni-view",{staticClass:"tn-text-sm"},[t._v(t._s(e.remark))]):t._e(),1==e.time_status&&1==e.is_countdown?i("v-uni-view",{staticClass:"tn-text-sm"},[t._v("距截单:"+t._s(e.remainingTime.hour)+"小时"+t._s(e.remainingTime.minutes)+"分"+t._s(e.remainingTime.second)+"秒")]):t._e()],1)],1):t._e()],1)})),1)],1)],1)},n=[]},bdcc:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"order-page"},[i("v-uni-view",{staticClass:"navbar tn-shadow",style:[t.navBarStyle]},[i("v-uni-view",{staticClass:"navbar__title tn-flex-center",style:[t.navbarContentStyle]},[t._v("订单")])],1),i("v-uni-view",{staticClass:"page",style:[{top:t.navBarInfo.height+"px"}]},[i("v-uni-view",{staticClass:" top"},[i("v-uni-view",{staticClass:"top_detail"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-text",[t._v("余额:")]),i("v-uni-text",[t._v(t._s(t.balance)+"元")])],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-button",{staticClass:"btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toRecharge.apply(void 0,arguments)}}},[t._v("充值")])],1)],1)],1),i("v-uni-view",{staticClass:"mid"},[i("v-uni-view",{staticClass:"mid_title"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-text",[t._v("托盘绑定列表("+t._s(t.list_num)+")")])],1),i("v-uni-view",{staticClass:"right"},[t.list_num>0?i("v-uni-button",{staticClass:"btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toOrderDetail.apply(void 0,arguments)}}},[t._v("查看订单")]):t._e()],1)],1),t.list_num>0?i("v-uni-view",{staticClass:"mid_list"},t._l(t.plate_list,(function(e,a){return i("v-uni-view",{staticClass:"mid_list_item"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-text",{staticClass:"plate_index"},[t._v("餐盘"+t._s(a+1)+":"+t._s(e))])],1),i("v-uni-view",{staticClass:"right"})],1)})),1):t._e(),0==t.list_num?i("v-uni-view",{staticClass:"mid_not_list"},[i("v-uni-text",[t._v("暂无绑定,请扫描托盘上的二维码")])],1):t._e(),i("v-uni-view",{staticClass:"mid_button"},[i("v-uni-button",{staticClass:"btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.scan_button.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-scan",staticStyle:{"margin-left":"10rpx"}}),i("v-uni-text",[t._v("扫码绑定托盘")])],1)],1)],1),i("v-uni-view",{staticClass:"mid"},[i("v-uni-view",{staticClass:"mid_title"},[i("v-uni-text",[t._v("绑定说明")])],1),i("v-uni-view",{staticClass:"mid_not_list2"},[i("v-uni-view",{staticClass:"description"},[i("v-uni-view",{staticClass:"left"}),i("v-uni-view",{staticClass:"right"},[i("v-uni-text",[t._v("餐盘绑定后,就可前往打菜区自助打餐。")])],1)],1),i("v-uni-view",{staticClass:"description"},[i("v-uni-view",{staticClass:"left"}),i("v-uni-view",{staticClass:"right"},[i("v-uni-text",[t._v("停止打菜后15分钟系统自动解绑餐盘,并结束订单,你也可以手动操作主动进行解绑。")])],1)],1),i("v-uni-view",{staticClass:"description"},[i("v-uni-view",{staticClass:"left"}),i("v-uni-view",{staticClass:"right"},[i("v-uni-text",[t._v("餐后请将餐盘放到餐具回收区,以被防他人误用(建议主动解绑),解绑后系统自动结算扣款。")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"mid"},[i("v-uni-view",{staticClass:"mid_title"},[i("v-uni-text",{staticStyle:{"font-weight":"bold"}},[t._v("用餐流程说明")])],1),i("img",{staticStyle:{height:"400rpx"},attrs:{src:"https://qny.wdsp666.com/uploads/images/2023112810392476ba25145.",alt:""}})],1),t.expansion_show?i("v-uni-view",{staticClass:"expansion"},[i("v-uni-view",{staticClass:"expansion_box"},[i("v-uni-view",{staticClass:"line1"},[t._v("余额不足提醒")]),i("v-uni-view",{staticClass:"line2"},[t._v(t._s(t.err_msg))]),i("v-uni-view",{staticClass:"line4",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toRecharge.apply(void 0,arguments)}}},[t._v("立即充值")])],1),i("v-uni-view",{staticClass:"expansion_close"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230912165851ec7463500.png",alt:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.expansion_close.apply(void 0,arguments)}}})])],1):t._e()],1)],1)},n=[]},be32:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 顶部背景图 */.top-bg[data-v-33612dee]{position:fixed;left:0;top:0;width:100%;background-color:#fff}.grid-container[data-v-33612dee]{padding:%?30?% %?20?%;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr);gap:%?35?%}.grid-item[data-v-33612dee]{display:flex}.txt-item .tips[data-v-33612dee]{background-color:hsla(0,0%,94.5%,.8);padding:%?5?% %?20?%;border-radius:20px}.txt-item .tips .tips-txt[data-v-33612dee]{color:#7fffd4;font-weight:700;padding-right:%?10?%}.txt-item .tips-message[data-v-33612dee]{flex:1;align-self:flex-start;margin-top:%?20?%}.boxs[data-v-33612dee]{position:relative}.boxs .bg-mbl[data-v-33612dee]{box-shadow:inset 0 0 6px hsla(0,0%,100%,.2);padding-top:%?160?%;color:#fff}.boxs .top-mod[data-v-33612dee]{justify-content:flex-start}.boxs .top-mod .center[data-v-33612dee]{margin-left:%?20?%;margin-right:%?20?%;flex:1}.boxs .top-mod .avctImg[data-v-33612dee]{width:%?130?%;height:%?130?%;border-radius:%?20?%}.boxs .notice[data-v-33612dee]{margin-top:%?20?%;display:flex;align-items:center}.boxs .notice .text[data-v-33612dee]{overflow:hidden;text-overflow:ellipsis;margin-left:%?10?%}.boxs .scrol_Mod[data-v-33612dee]{margin:%?20?% 0}.boxs .scrol_Mod .mod-item[data-v-33612dee]{display:inline-block;width:%?135?%;height:%?125?%;margin-right:%?20?%;border-radius:%?20?%;background-color:hsla(0,0%,51%,.25)}.boxs .list-item[data-v-33612dee]{padding-bottom:%?30?%;margin-bottom:%?30?%;border-bottom:1px solid #ededed}.boxs .list-item .user-btn[data-v-33612dee]{background-color:var(--theme-general-color);color:var(--general-color-text);height:%?50?%;border-radius:%?50?%;padding:%?0?% %?20?%;line-height:%?50?%;font-weight:700;text-align:center}.boxs .list-item .delete-btn[data-v-33612dee]{margin-top:5px;background-color:#facec9!important;color:#ff5d6c!important}.boxs .centent-mod[data-v-33612dee]{border-radius:%?20?% %?20?% 0 0;overflow:hidden}.boxs .centent-mod .headlines[data-v-33612dee]{padding:%?20?% %?30?% %?10?% %?30?%}.boxs .centent-mod .headlines .itm-mod[data-v-33612dee]{display:flex;align-items:center;justify-content:space-between;border-radius:%?50?% 0 %?50?% 0;color:#000;padding:%?10?% %?20?%;background-color:#fcf9b3;position:relative}.boxs .centent-mod .headlines .itm-mod .sort-img[data-v-33612dee]{position:relative}.boxs .centent-mod .headlines .itm-mod .sort-img .sort[data-v-33612dee]{position:absolute;top:50%;left:45%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-weight:700;color:#be954a}.boxs .centent-mod .headlines .itm-mod .img[data-v-33612dee]{width:%?60?%;height:%?60?%;margin-right:%?10?%;border-radius:%?16?%}.boxs .centent-mod .headlines .itm-mod .icon[data-v-33612dee]{position:absolute;width:%?90?%;height:%?100?%;top:%?-6.5?%;right:%?-2?%}.boxs .centent-mod .headlines .itm-mod .text[data-v-33612dee]{flex:1;font-size:%?32?%}.boxs .centent-mod .tabs[data-v-33612dee]{width:100%;display:flex;justify-content:space-between;font-size:%?40?%}.boxs .centent-mod .classTab[data-v-33612dee]{padding:%?15?% %?30?% %?16?% %?30?%}.boxs .centent-mod .classTab .mod-item[data-v-33612dee]{display:inline-block;border:1px solid #fff;margin-right:%?20?%;border-radius:%?15?%;padding:%?0?% %?5?%;color:grey;font-size:%?26?%;background-color:#f3f3f3}.boxs .centent-mod .classTab .seleItem[data-v-33612dee]{border:1px solid #3bc2f9!important;color:#3bc2f9!important;background-color:#dcf1f9!important}.boxs .centent-mod .notData[data-v-33612dee]{width:100%;height:%?300?%;display:flex;align-items:center;justify-content:center;color:#c2c2c2}.btn[data-v-33612dee]{padding:0;background-color:initial;line-height:1}.btn[data-v-33612dee]::after{content:none}.commt[data-v-33612dee]{margin-top:%?34?%}.iconItem .icon[data-v-33612dee]{width:%?50?%;height:%?50?%}\n/* 悬浮按钮 */.side-btn[data-v-33612dee]{bottom:%?300?%;right:%?75?%;position:fixed;z-index:9999;-webkit-animation:suspension-data-v-33612dee 3s ease-in-out infinite;animation:suspension-data-v-33612dee 3s ease-in-out infinite}.side-btn .btn-bg[data-v-33612dee]{position:absolute;width:%?90?%;height:%?90?%;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.side-btn .btn-bg uni-image[data-v-33612dee]{width:100%;height:100%}@-webkit-keyframes suspension-data-v-33612dee{0%,\n 100%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-.8rem);transform:translateY(-.8rem)}}@keyframes suspension-data-v-33612dee{0%,\n 100%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-.8rem);transform:translateY(-.8rem)}}.createList[data-v-33612dee]{display:flex;align-items:center;justify-content:space-between;border-radius:%?25?%;background-color:#f9f9f9;padding:%?20?% %?30?%}.createList .img[data-v-33612dee]{width:%?80?%;height:%?80?%;margin-right:%?20?%;border-radius:%?16?%}.createList .cente[data-v-33612dee]{flex:1}.msgNum[data-v-33612dee]{position:absolute;top:%?-10?%;right:%?-10?%;font-size:%?16?%;color:red;width:%?32?%;height:%?32?%;background-color:red;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.8);transform:scale(.8)}',""]),t.exports=e},bfe2:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goods-list"},[i("v-uni-view",{staticClass:"list-left",style:[t.categoryListWrapperStyle]},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[i("category-list",{ref:"categoryRef",attrs:{data:t.categoryList,"sticky-height":t.stickyDistance,height:t.height,avctColor:t.avctColor},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryChangeEvent.apply(void 0,arguments)}},model:{value:t.currentCategoryIndex,callback:function(e){t.currentCategoryIndex=e},expression:"currentCategoryIndex"}})],1)],1),i("v-uni-view",{staticClass:"list-right",style:{"padding-top":t.fixListPadding+"px"}},[t.showConpon?i("coupon-list",{attrs:{"coupon-num":t.couponNum,"coupon-money":t.couponMoney},on:{subCoupon:function(e){arguments[0]=e=t.$handleEvent(e),t.changCoupon.apply(void 0,arguments)}}}):t._e(),1==t.pageShowType?i("products-list",{attrs:{data:t.goodsList,"sticky-height":t.stickyDistance,sid:t.sid,"spellrice-id":t.spellriceId,"table-id":t.tableId,"is-rest":t.isRest,delivery_type:t.delivery_type,paddingtop:t.paddingtop,avctColor:t.avctColor,showloadStatu:t.showload,showloadStatu2:t.showloadNext,brand:t.brand,navType:t.navType,refreshCategoryTitleRectInfo:t.refreshCategoryTitleRectInfo},on:{"update-category-index":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductListUpdateCategoryIndexEvent.apply(void 0,arguments)},"init-finish":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductListInitFinishEvent.apply(void 0,arguments)},"good-num-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductListGoodNumChangeEvent.apply(void 0,arguments)}}}):t._e(),2==t.pageShowType?i("products-list-once",{attrs:{currentCategoryIndex:t.currentCategoryIndex,data:t.goodsList,"sticky-height":t.stickyDistance,sid:t.sid,"spellrice-id":t.spellriceId,"table-id":t.tableId,"is-rest":t.isRest,paddingtop:t.paddingtop,delivery_type:t.delivery_type,avctColor:t.avctColor,showloadStatu:t.showload,showloadStatu2:t.showloadNext,brand:t.brand,navType:t.navType,refreshCategoryTitleRectInfo:t.refreshCategoryTitleRectInfo},on:{"init-finish":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductListInitFinishEvent.apply(void 0,arguments)},"good-num-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductListGoodNumChangeEvent.apply(void 0,arguments)},"category-next":function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryNextEvent.apply(void 0,arguments)},"chang-tabs":function(e){arguments[0]=e=t.$handleEvent(e),t.changTabs.apply(void 0,arguments)}}}):t._e()],1)],1)},n=[]},c04c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showComponent?i("v-uni-view",{staticClass:"custom-swiper",style:1==t.tile?"width: 100vw; left: -30rpx;":""},[i("img",{staticClass:"brother",attrs:{src:t.data[0].image,mode:"widthFix"}}),i("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:!0,circular:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSwiperChangeEvent.apply(void 0,arguments)}}},t._l(t.data,(function(e,a){return i("v-uni-swiper-item",{key:a,staticClass:"swiper-item",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}},[i("v-uni-view",{staticClass:"image"},[i("v-uni-image",{staticStyle:{width:"100%",height:"100%"},attrs:{mode:"scaleToFill",src:e.image}})],1)],1)})),1),i("v-uni-view",{staticClass:"indicator tn-flex-row-center"},t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"indicator__item",class:[{cur:a===t.currentSwiperIndex}]})})),1)],1):t._e()},n=[]},c06c:function(t,e,i){"use strict";i.r(e);var a=i("43d0"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},c070:function(t,e,i){var a=i("0810");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6a8f4743",a,!0,{sourceMap:!1,shadowMode:!1})},c099:function(t,e,i){var a=i("3fb4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6bc62776",a,!0,{sourceMap:!1,shadowMode:!1})},c0f2:function(t,e,i){"use strict";var a=i("92f8"),n=i.n(a);n.a},c231:function(t,e,i){"use strict";i.r(e);var a=i("dab8"),n=i("e497");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("aabc");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"aeb206d6",null,!1,a["a"],void 0);e["default"]=r.exports},c36c:function(t,e,i){"use strict";i.r(e);var a=i("0009"),n=i("5dba");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5bb3");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7140fc93",null,!1,a["a"],void 0);e["default"]=r.exports},c386:function(t,e,i){"use strict";i.r(e);var a=i("e50a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},c3ba:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.status?i("v-uni-view",{staticClass:"seckill"},[i("v-uni-view",{staticClass:"header",staticStyle:{"background-image":"url(https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/sec-back.jpg)"}},[i("v-uni-text",{staticClass:"left"},[t._v("限时秒杀")]),i("v-uni-view",{staticClass:"countdown"},[i("v-uni-text",{staticClass:"countdown-label"},[t._v(t._s(3==t.data_info.current_time_slot.status?"距本场开始":"距本场结束"))]),i("v-uni-text",{staticClass:"countdown-num"},[t._v(t._s(t.formatNum(t.hours)))]),i("v-uni-text",{staticClass:"countdown-colon"},[t._v(":")]),i("v-uni-text",{staticClass:"countdown-num"},[t._v(t._s(t.formatNum(t.minutes)))]),i("v-uni-text",{staticClass:"countdown-colon"},[t._v(":")]),i("v-uni-text",{staticClass:"countdown-num"},[t._v(t._s(t.formatNum(t.seconds)))])],1)],1),i("Product",{attrs:{data:t.data_info}}),i("v-uni-view",{staticClass:"bottom",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toPath.apply(void 0,arguments)}}},[t._v("查看更多>")])],1):t._e()},n=[]},c3ef:function(t,e,i){"use strict";var a=i("b549"),n=i.n(a);n.a},c433:function(t,e,i){"use strict";i.r(e);var a=i("9fd2"),n=i("4310");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("06f0");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"ef8ef386",null,!1,a["a"],void 0);e["default"]=r.exports},c484:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.brand-store[data-v-05455b58]{position:relative;width:100%;margin-top:%?20?%;border-radius:%?20?%;padding:%?30?% %?20?%\n /* 顶部标题 start */\n /* 顶部标题 end */\n /* 商店列表 start */\n /* 商店列表 end */}.brand-store .top[data-v-05455b58]{width:100%;display:flex;align-items:center;justify-content:space-between}.brand-store .top .left[data-v-05455b58]{display:flex;align-items:flex-end;flex:1}.brand-store .top .left .title[data-v-05455b58]{font-size:%?34?%;font-weight:500}.brand-store .top .left .sub-title[data-v-05455b58]{font-size:%?24?%;margin-left:%?16?%}.brand-store .top .right[data-v-05455b58]{width:16%;font-size:%?24?%;text-align:right}.brand-store .top .right .icon[data-v-05455b58]{margin-left:%?4?%}.brand-store .store-list[data-v-05455b58]{width:100%;display:flex;flex-wrap:wrap}.brand-store .store-list .data[data-v-05455b58]{width:calc(50% - %?12?%);margin-top:%?20?%}.brand-store .store-list .data[data-v-05455b58]:nth-child(2n){margin-left:%?20?%}',""]),t.exports=e},c5b3:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2634")),o=a(i("2fdc"));i("64aa"),i("5c47");var s=a(i("74ff")),r={mixins:[s.default],name:"tn-tabs",props:{list:{type:Array,default:function(){return[]}},name:{type:String,default:"name"},count:{type:String,default:"count"},current:{type:Number,default:0},isScroll:{type:Boolean,default:!0},height:{type:Number,default:80},top:{type:Number,default:0},itemWidth:{type:[String,Number],default:"auto"},duration:{type:Number,default:.3},activeColor:{type:String,default:"#01BEFF"},inactiveColor:{type:String,default:"#080808"},activeItemStyle:{type:Object,default:function(){return{}}},inactiveItemStyle:{type:Object,default:function(){return{}}},showBar:{type:Boolean,default:!0},diyIfBar:{type:Boolean,default:!1},barWidth:{type:Number,default:40},barHeight:{type:Number,default:6},barBgColor:{type:String,default:"#000"},barStyle:{type:Object,default:function(){return{}}},bardiyStyle:{type:Object,default:function(){return{}}},gutter:{type:Number,default:30},badgeOffset:{type:Array,default:function(){return[20,22]}},bold:{type:Boolean,default:!1}},data:function(){return{id:this.$tn.uuid(),scrollLeft:0,tabQueryInfo:[],componentWidth:0,scrollBarLeft:0,componentLeft:0,currentIndex:this.current,barMoveFirst:!0,isInitialized:!1}},computed:{tabBarStyle:function(){var t={width:this.$tn.string.getLengthUnitValue(this.barWidth),height:this.$tn.string.getLengthUnitValue(this.barHeight),borderRadius:"".concat(this.barHeight/2,"rpx"),backgroundColor:this.activeColor,opacity:this.barMoveFirst?0:1,transform:"translate(".concat(this.scrollBarLeft,"px, -100%)"),transitionDuration:this.barMoveFirst?"0s":"".concat(this.duration,"s")};return Object.assign(t,this.barStyle),t},tabItemStyle:function(){var t=this;return function(e){var i={width:t.$tn.string.getLengthUnitValue(t.itemWidth),height:t.$tn.string.getLengthUnitValue(t.height),lineHeight:t.$tn.string.getLengthUnitValue(t.height),fontSize:t.fontSizeStyle||"28rpx",padding:t.isScroll?"0 ".concat(t.gutter,"rpx"):"",flex:t.isScroll?"auto":"1",transitionDuration:"".concat(t.duration,"s")};return e===t.current?(t.bold&&(i.fontWeight="bold"),i.color=t.activeColor,Object.assign(i,t.activeItemStyle)):(i.color=t.inactiveColor,Object.assign(i,t.inactiveItemStyle)),i}}},watch:{list:function(t,e){var i=this;this.isInitialized?(t.length!==e.length&&(this.currentIndex=0),this.$nextTick((function(){i.init()}))):this.isInitialized=!0},current:{handler:function(t){var e=this;this.currentIndex=t,this.$nextTick((function(){e.scrollByIndex()}))},immediate:!0},scrollBarLeft:{handler:function(t){console.log("val",t)},immediate:!0}},mounted:function(){this.init()},methods:{init:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){var i;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t._tGetRect("#"+t.id);case 2:i=e.sent,t.componentLeft=i.left,t.componentWidth=i.width,t.getTabRect();case 6:case"end":return e.stop()}}),e)})))()},clickTab:function(t,e){t===this.currentIndex&&"更多订单"!=e.name||(this.currentIndex=t,this.$emit("change",t))},getTabRect:function(){for(var t=this,e=uni.createSelectorQuery().in(this),i=0;i<this.list.length;i++)e.select("#tn-tabs__scroll-view__item-".concat(i)).fields({size:!0,rect:!0});e.exec((function(e){t.tabQueryInfo=e,t.scrollByIndex()}))},scrollByIndex:function(){var t=this,e=this.tabQueryInfo[this.currentIndex];if(e){var i=e.width,a=e.left-this.componentLeft,n=a-(this.componentWidth-i)/2;this.scrollLeft=n<0?0:n;var o=e.left+e.width/2-this.componentLeft;this.scrollBarLeft=o-uni.upx2px(this.barWidth)/2,this.barMoveFirst&&setTimeout((function(){t.barMoveFirst=!1}),100)}}}};e.default=r},c5e9:function(t,e,i){"use strict";var a=i("7b3b"),n=i.n(a);n.a},c621:function(t,e,i){var a=i("b2f4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("baffa3d6",a,!0,{sourceMap:!1,shadowMode:!1})},c680:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.store-show-simple[data-v-0225c48f]{position:relative;width:100%;border-radius:%?10?%;background-color:#fff\n /* 商家主图 start */\n /* 商家主图 end */\n /* 商家头像 start */\n /* 商家头像 end */\n /* 商家信息 start */\n /* 商家信息 end */}.store-show-simple .main-image[data-v-0225c48f]{width:100%;height:%?140?%;border-radius:%?10?% %?10?% %?0?% %?0?%}.store-show-simple .store-image[data-v-0225c48f]{position:absolute;right:%?20?%;top:%?84?%;width:%?64?%;height:%?64?%;border-radius:%?10?%;border:%?2?% solid #fff}.store-show-simple .store-info[data-v-0225c48f]{width:100%;padding:%?10?% %?20?%}.store-show-simple .store-info .store-name[data-v-0225c48f]{width:100%}.store-show-simple .store-info .store-desc[data-v-0225c48f]{font-size:%?22?%;width:100%;margin-top:%?6?%}',""]),t.exports=e},c6a7:function(t,e,i){"use strict";i.r(e);var a=i("c5b3"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},c717:function(t,e,i){"use strict";i.r(e);var a=i("b9cb"),n=i("294b");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9a8e");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"2d5f8cc4",null,!1,a["a"],void 0);e["default"]=r.exports},c77f:function(t,e,i){var a=i("3848");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("00c5ba8c",a,!0,{sourceMap:!1,shadowMode:!1})},c7e8:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-lazy-load[data-v-ef8ef386]{width:100%;height:100%;border-radius:inherit}.tn-lazy-load__item[data-v-ef8ef386]{width:100%;height:100%;border-radius:inherit;overflow:hidden}.tn-lazy-load__item__content[data-v-ef8ef386]{width:100%;height:100%;border-radius:inherit}.tn-lazy-load__item__image[data-v-ef8ef386]{display:block;width:100%;height:100%;border-radius:inherit;-webkit-transform:transition3d(0,0,0);transform:transition3d(0,0,0);will-change:transform}.image-group[data-v-ef8ef386]{position:relative;width:100%;display:flex;flex-wrap:wrap}.image-group .image-box[data-v-ef8ef386]{position:relative;flex-shrink:0;height:%?0?%;padding-bottom:0;margin-right:%?10?%;margin-top:%?10?%;border-radius:%?15?%;box-sizing:initial}.image-group .image-box.two[data-v-ef8ef386]{width:calc(100% / 2 - %?10?%)}.image-group .image-box.four[data-v-ef8ef386]{width:calc(100% / 2 - %?10?%)}.image-group .image-box .image[data-v-ef8ef386]{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:inherit}',""]),t.exports=e},c82a:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("dc1f")),o=i("419c"),s=i("b35a"),r={props:{data:{type:Object,default:function(){return{}}},size:{type:String,default:""}},mixins:[n.default],data:function(){return{showModal:!1,current_id:0,friend_uid:"",friend_mobile:""}},mounted:function(){console.log("--------------",this.data)},computed:{isCollectedAll:function(){var t=!1;return this.data.percent&&100===this.data.percent&&(t=!0),t}},filters:{splitNumber:function(t,e){if(t||(t="0.00"),isNaN(t)&&"integer"===e)return t;switch("string"===typeof t&&(t=Number(t)),t=t.toFixed(2),e){case"integer":return t.split(".")[0]+".";case"decimal":return t.split(".")[1]}}},methods:{sendToFriendBox:function(t){this.showModal=!0,this.current_id=t},sendToFriend:function(){var t=this;this.friend_uid||this.friend_mobile?(0,s.sendToFriendApi)({id:this.current_id,to_uid:this.friend_uid,to_mobile:this.friend_mobile}).then((function(e){console.log(e),uni.showToast({title:"赠送成功"}),setTimeout((function(){t.$emit("reload_data",!0)}),1e3)})).catch((function(t){console.error("[ticket]领取优惠卷失败"),uni.showToast({title:t.msg,icon:"none"})})):uni.showToast({title:"请输入uid或手机号",icon:"none"})},handleBtnClickEvent:function(){this.$emit("click")},formatConditionPrice:function(t){return t?("string"===typeof t&&(t=Number(t)),t.toFixed(2)):"0.00"},refund:function(){var t=this;uni.showModal({title:"售后退款",content:"确定提交申请退款吗?",success:function(e){e.confirm&&(0,s.refundTicketApi)({order_id:t.data.tuangouquan_order_id}).then((function(e){console.log(e),uni.showToast({title:"退款成功"}),setTimeout((function(){t.$emit("reload_data",!0)}),1500)})).catch((function(t){console.error("[ticket]领取优惠卷失败"),uni.showToast({title:t.msg,icon:"none"})}))}})},WriteOff:function(t){(0,o.navPage)("/store-page/tuangouquan/couponCenter/couponQrCode?id=".concat(t))}}};e.default=r},c82d:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnScrollList:i("0d07").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showComponent?i("v-uni-view",{staticClass:"nav-icon tn-shadow",style:{paddingBottom:"20rpx"}},[t.data.length?i("tn-scroll-list",{attrs:{"indicator-active-color":t.$isTheme()?"var(--theme-general-color)":t.vuex_themeBgColor,"indicator-width":120,"indicator-bar-width":30,indicator:1==t.rows&&t.listLeg/(1==t.config.type?4:5)>1||2==t.rows&&t.listLeg/(1==t.config.type?4:5)>2||3==t.rows&&t.listLeg/(1==t.config.type?4:5)>3}},t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-data"},t._l(e,(function(e,a){return i("v-uni-view",{key:a,staticClass:"data-item",class:{wu:2===t.config.type},style:{marginBottom:t.config.margin_bottom+"rpx"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goToNav(e.link)}}},[i("v-uni-view",{staticClass:"item--icon"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.icon,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"item--title"},[t._v(t._s(e.title))])],1)})),1)})),1):t._e()],1):t._e()},o=[]},c846:function(t,e,i){var a=i("6964");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("5779969a",a,!0,{sourceMap:!1,shadowMode:!1})},c9f6:function(t,e,i){"use strict";i.r(e);var a=i("f8f5"),n=i("4a33");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("df63");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"56192e3f",null,!1,a["a"],void 0);e["default"]=r.exports},ca92:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"ad-store-show-1 tn-shadow theme-home-storeList",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPage.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"popularity-tag tn-cool-bg-15"},[i("v-uni-text",{staticClass:"tn-icon-fire-fill"}),t._v("人气推荐")],1),i("v-uni-view",{staticClass:"store-info"},[i("v-uni-view",{staticClass:"left-image"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.image}})],1)],1),i("v-uni-view",{staticClass:"store-avatar"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.logo}})],1)],1)],1),i("v-uni-view",{staticClass:"right-info"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(t.store.title))]),i("v-uni-view",{staticClass:"store-info-base"},[i("v-uni-view",{staticClass:"base-info"},[i("v-uni-view",{staticClass:"score"},[i("v-uni-view",{staticClass:"icon tn-icon-star-fill"}),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.store.score))])],1),i("v-uni-view",{staticClass:"month-sale"},[t._v("月销热度 "+t._s(t.store.sailed))]),2!=t.store.delivery_type?i("v-uni-view",{staticClass:"delivery-price"},[t._v(t._s(t.store.deliveryPrice?"配送费"+t.CurrencyUnit+t.store.deliveryPrice:"免配送费"))]):t._e()],1),2!=t.store.delivery_type?i("v-uni-view",{staticClass:"delivery-time"},[t._v(t._s(t.store.deliveryTime)+"分钟")]):t._e()],1),i("v-uni-view",{staticClass:"store-notice theme-store-notice"},[i("v-uni-view",{staticClass:"notice-left"},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-text-zgs",staticStyle:{"line-height":"0.6em"}})],1),i("v-uni-view",{staticClass:"data tn-text-ellipsis-1"},[t._v(t._s(t.store.content))])],1),i("v-uni-view",{staticClass:"notice-right"},[t._v("进店"),i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1),i("v-uni-view",{staticClass:"product-data"},[i("v-uni-view",{staticClass:"product-left"},[i("v-uni-view",{staticClass:"product-item"},[i("v-uni-view",{staticClass:"mask"}),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.goods[0]?t.store.goods[0].image:"https://qny.wdsp666.com/福袋背景图/agent/20c11314d8c0dbd8e933d8d71acb77e.png"}})],1),t.store.goods[0]?i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",{staticClass:"info-price"},[i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{staticClass:"price-unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"price-value"},[t._v(t._s(t.store.goods[0].price))])],1),t.store.goods[0].oldPrice&&0!==t.storeConfig.isShowGoodsOldPrice?i("v-uni-view",{staticClass:"price old"},[i("v-uni-view",{staticClass:"price-unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"price-value"},[t._v(t._s(t.store.goods[0].oldPrice))])],1):t._e()],1),i("v-uni-view",{staticClass:"info-title tn-text-ellipsis-1"},[t._v(t._s(t.store.goods[0].title))])],1):t._e(),t.store.goods[0]?t._e():i("v-uni-view",{staticClass:"item-info"},[t._v("暂无商品")])],1)],1),i("v-uni-view",{staticClass:"product-right"},[i("v-uni-view",{staticClass:"product-item"},[i("v-uni-view",{staticClass:"mask"}),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.goods[1]?t.store.goods[1].image:"https://qny.wdsp666.com/福袋背景图/agent/20c11314d8c0dbd8e933d8d71acb77e.png"}})],1),t.store.goods[1]?i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",{staticClass:"info-title tn-text-ellipsis-1"},[t._v(t._s(t.store.goods[1].title))])],1):t._e(),t.store.goods[1]?t._e():i("v-uni-view",{staticClass:"item-info"},[t._v("暂无商品")])],1),i("v-uni-view",{staticClass:"product-item"},[i("v-uni-view",{staticClass:"mask"}),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.store.goods[2]?t.store.goods[2].image:"https://qny.wdsp666.com/福袋背景图/agent/20c11314d8c0dbd8e933d8d71acb77e.png"}})],1),t.store.goods[2]?i("v-uni-view",{staticClass:"item-info"},[t.store.goods[2].title?i("v-uni-view",{staticClass:"info-title tn-text-ellipsis-1"},[t._v(t._s(t.store.goods[2].title))]):t._e()],1):t._e(),t.store.goods[2]?t._e():i("v-uni-view",{staticClass:"item-info"},[t._v("暂无商品")])],1)],1)],1)],1)],1)],1)},o=[]},cb6a:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return new Promise((function(e,i){t&&t.length||e()}))},i("bf0f");i("9d0a")},cc4d:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.rich-content[data-v-44a7b044]{width:100%}.rich-content .rich-text[data-v-44a7b044]{width:100%}.rich-content .rich-text img[data-v-44a7b044]{width:100%}',""]),t.exports=e},cc81:function(t,e,i){"use strict";(function(t){e["a"]=function(e){(e.options.wxs||(e.options.wxs={}))["wxs"]=function(e){function i(e,i,a){if(a>0){var n=t().getTime(),o=function(){t().getTime()-n>a?i&&i():e.requestAnimationFrame(o)};o()}else i&&i()}function a(t,e,i){i.currentIndex=t,e.callMethod("changeSwiperIndex",{index:t})}function n(t,e,a,n){var o=n.currentIndex,s=n.list,r=n.itemData.direction,c=n.touchRelactive||{x:0,y:0},d=JSON.parse(JSON.stringify(s));if("horizontal"===r){var l=n.itemData.itemWidth;a.setStyle({transform:"translate3d(-"+l+"px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});var u=Math.floor((l-Math.abs(e.pageX-c.x))/l*250);i(a,(function(){for(var t=s.length-1;t>=0;t--){var e=t-1<0?s.length-1:t-1;n.itemsInstance[t].setStyle({transform:"translate3d("+d[e].translateX+"px, 0px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}else if("vertical"===r){var f=n.itemData.itemHeight;a.setStyle({transform:"translate3d(0px, -"+f+"px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});u=Math.floor((f-Math.abs(e.pageY-c.y))/f*250);i(a,(function(){for(var t=s.length-1;t>=0;t--){var e=t-1<0?s.length-1:t-1;n.itemsInstance[t].setStyle({transform:"translate3d(0px, "+d[e].translateY+"px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}}function o(t,e,a,n){var o=n.currentIndex,s=n.list,r=n.itemData.direction,c=n.touchRelactive||{x:0,y:0},d=JSON.parse(JSON.stringify(s));if("horizontal"===r){var l=n.itemData.itemWidth;n.itemsInstance[t].setStyle({transform:"translate3d(0px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});var u=Math.floor((l-Math.abs(e.pageX-c.x))/l*250);i(a,(function(){for(var t=0;t<s.length;t++){var e=t+1>s.length-1?0:t+1;n.itemsInstance[t].setStyle({transform:"translate3d("+d[e].translateX+"px, 0px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}else if("vertical"===r){var f=n.itemData.itemHeight;n.itemsInstance[t].setStyle({transform:"translate3d(0px, 0px, 0px) scale(1)","z-index":s[o].zIndex+1,opacity:s[o].opacity});u=Math.floor((f-Math.abs(e.pageY-c.y))/f*250);i(a,(function(){for(var t=0;t<s.length;t++){var e=t+1>s.length-1?0:t+1;n.itemsInstance[t].setStyle({transform:"translate3d(0px, "+d[e].translateY+"px, 0px) scale("+d[e].scale+")","z-index":d[e].zIndex,opacity:d[e].opacity}),n.list[t]=d[e]}}),u)}}function s(t,e){t.itemsInstance&&(!0===e?t.itemsInstance.forEach((function(t,e){t.hasClass("tn-stack-swiper__item__transition")||t.addClass("tn-stack-swiper__item__transition")})):t.itemsInstance.forEach((function(t,e){t.hasClass("tn-stack-swiper__item__transition")&&t.removeClass("tn-stack-swiper__item__transition")})))}return e.exports={itemDataObserver:function(t,e,i,a){var n=i.getState();n.itemData=t},listObserver:function(t,e,i,a){var n=i.getState(),o=n.itemData;n.itemsInstance=i.selectAllComponents(".tn-stack-swiper__item"),n.list=t||[],n.list.forEach((function(t,e){var i=n.itemsInstance[e];t&&i&&("horizontal"===o.direction?i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity}):"vertical"===o.direction&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity}))}))},swiperIndexChange:function(t,e,i,a){var o=i.getState();e<0||"undefined"==typeof e||o.currentIndex==t?(e<0||"undefined"==typeof e)&&(o.currentIndex=0):(o.currentIndex=t,t>e||e==o.list.length-1&&0==t?n(0,{pageX:0},o.itemsInstance[e],o):t<e||0==e&&o.list.length)},autoplayFlagChange:function(t,e,i,a){var n=i.getState();s(n,!0===t)},touchStart:function(t,e){var i=t.instance,a=i.getDataset(),n=e.getState(),o=n.itemData;if(a.index==n.currentIndex){var r=t.changedTouches[0];r&&(n.touchRelactive={x:r.pageX,y:r.pageY},n.touchId=r.identifier,"horizontal"===o.direction?n.itemAnimationWidth=o.itemWidth*(a.switchrate/100):"vertical"===o.direction&&(n.itemAnimationHeight=o.itemHeight*(a.switchrate/100)),s(n,!1),n.touching=!0,e.callMethod("changeTouchState",{touching:!0}),e.callMethod("clearAutoPlayTimer"))}},touchMove:function(t,e){var i=t.instance,a=i.getDataset(),n=e.getState(),o=n.itemData;if(a.index==n.currentIndex&&n.touching){var s=t.changedTouches[0];if(s&&n.touchId==s.identifier){var r={x:s.pageX,y:s.pageY};n.direction||(n.direction=function(t,e,i){if("horizontal"===i){if(Math.abs(e.y-t.y)<=30&&Math.abs(e.x-t.x)>10){if(e.x-t.x>0)return"right";if(e.x-t.x<0)return"left"}}else if("vertical"===i&&Math.abs(e.x-t.x)<=30&&Math.abs(e.y-t.y)>10){if(e.y-t.y>0)return"down";if(e.y-t.y<0)return"up"}return""}(n.touchRelactive,r,o.direction)),function(t,e,i){var a=i.itemData,n=(i.itemsInstance,i.list),o=i.currentIndex,s=i.touchRelactive;if("horizontal"===a.direction){var r=i.itemAnimationWidth,c=t.x-s.x;if(t.x>a.windowWidth||t.x<0)return;if("left"==i.direction)e.setStyle({transform:"translate3d("+c+"px, 0px, 0px)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(c)>r&&i.itemsInstance.forEach((function(t,e){if(e!=o){var i=0==e?n.length-1:e-1,s=(Math.abs(c)-r)/(a.itemWidth-r),d=n[e].translateX-(n[e].translateX-n[i].translateX)*s,l=n[e].scale+(n[i].scale-n[e].scale)*s,u=n[e].opacity+(n[i].opacity-n[e].opacity)*s;t.setStyle({transform:"translate3d("+d+"px, 0px, 0px) scale("+l+")","z-index":n[e].zIndex,opacity:u})}}));else if("right"==i.direction){var d=0==o?n.length-1:o-1;i.itemsInstance[d].setStyle({transform:"translate3d(-"+(a.itemWidth-c)+"px, 0px, 0px) scale(1)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(c)<r&&i.itemsInstance.forEach((function(t,e){if(e!=d){var i=e==n.length-1?0:e+1,a=Math.abs(c)/r,o=n[e].translateX+(n[i].translateX-n[e].translateX)*a,s=n[e].scale-(n[e].scale-n[i].scale)*a,l=n[e].opacity-(n[e].opacity-n[i].opacity)*a;t.setStyle({transform:"translate3d("+o+"px, 0px, 0px) scale("+s+")","z-index":n[e].zIndex,opacity:l})}}))}}else if("vertical"===a.direction){var l=i.itemAnimationHeight,u=t.y-s.y;if(t.y>a.windowHeight||t.y<0)return;if("up"==i.direction)e.setStyle({transform:"translate3d(0px, "+u+"px, 0px)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(u)>l&&i.itemsInstance.forEach((function(t,e){if(e!=o){var i=0==e?n.length-1:e-1,s=(Math.abs(u)-l)/(a.itemHeight-l),r=n[e].translateY-(n[e].translateY-n[i].translateY)*s,c=n[e].scale+(n[i].scale-n[e].scale)*s,d=n[e].opacity+(n[i].opacity-n[e].opacity)*s;t.setStyle({transform:"translate3d(0px, "+r+"px, 0px) scale("+c+")","z-index":n[e].zIndex,opacity:d})}}));else if("down"==i.direction){d=0==o?n.length-1:o-1;i.itemsInstance[d].setStyle({transform:"translate3d(0px, -"+(a.itemHeight-u)+"px, 0px) scale(1)","z-index":n[o].zIndex+1,opacity:n[o].opacity}),Math.abs(u)<l&&i.itemsInstance.forEach((function(t,e){if(e!=d){var i=e==n.length-1?0:e+1,a=Math.abs(u)/l,o=n[e].translateY+(n[i].translateY-n[e].translateY)*a,s=n[e].scale-(n[e].scale-n[i].scale)*a,r=n[e].opacity-(n[e].opacity-n[i].opacity)*a;t.setStyle({transform:"translate3d(0px, "+o+"px, 0px) scale("+s+")","z-index":n[e].zIndex,opacity:r})}}))}}}(r,i,n)}}},touchEnd:function(t,e){var i=t.instance,r=i.getDataset(),c=e.getState(),d=c.itemData,l=c.list,u=c.touchRelactive;if(r.index==c.currentIndex&&c.touching){var f=t.changedTouches[0];if(f&&c.touchId==f.identifier){if(s(c,!0),"horizontal"===d.direction){var p=c.itemAnimationWidth;if("left"==c.direction)if(Math.abs(f.pageX-u.x)<p)l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex})}));else{var v=c.currentIndex+1>l.length-1?0:c.currentIndex+1;n(0,f,i,c),a(v,e,c)}else if("right"==c.direction)if(Math.abs(f.pageX-u.x)<p){var h=0==c.currentIndex?l.length-1:c.currentIndex-1;c.itemsInstance[h].setStyle({transform:"translate3d(-"+d.itemWidth+"px, 0px, 0px) scale(1)","z-index":l[c.currentIndex].zIndex+1,opacity:l[c.currentIndex].opacity}),l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d("+t.translateX+"px, 0px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}))}else{v=c.currentIndex-1<0?l.length-1:c.currentIndex-1;o(v,f,i,c),a(v,e,c)}}else if("vertical"===d.direction){var g=c.itemAnimationHeight;if("up"==c.direction)if(Math.abs(f.pageY-u.y)<g)l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}));else{v=c.currentIndex+1>l.length-1?0:c.currentIndex+1;n(0,f,i,c),a(v,e,c)}else if("down"==c.direction)if(Math.abs(f.pageY-u.y)<g){h=0==c.currentIndex?l.length-1:c.currentIndex-1;c.itemsInstance[h].setStyle({transform:"translate3d(0px, -"+d.itemHeight+"px, 0px) scale(1)","z-index":l[c.currentIndex].zIndex+1,opacity:l[c.currentIndex].opacity}),l.forEach((function(t,e){var i=c.itemsInstance[e];t&&i&&i.setStyle({transform:"translate3d(0px, "+t.translateY+"px, 0px) scale("+t.scale+")","z-index":t.zIndex,opacity:t.opacity})}))}else{v=c.currentIndex-1<0?l.length-1:c.currentIndex-1;o(v,f,i,c),a(v,e,c)}}c.touchRelactive=null,c.touching=!1,c.direction=null,c.touchId=null,e.callMethod("changeTouchState",{touching:!1}),e.callMethod("setAutoPlay")}}}},e.exports}({exports:{}})}}).call(this,i("a73a")["getDate"])},ccaa:function(t,e,i){"use strict";i.r(e);var a=i("8667"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},cd58:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.shopping-cart[data-v-4a7625bc]{position:relative;width:100%;height:%?100?%;border-radius:%?200?%;overflow:hidden;display:flex;z-index:99998\n /* 购物车信息 start */\n /* 购物车信息 end */\n /* 操作按钮 start */\n /* 操作按钮 end */\n /* 店铺休息中 start */\n /* 店铺休息中 end */}.shopping-cart .cart-info[data-v-4a7625bc]{position:relative;width:72%;height:100%;background-color:#080808;color:#fff;display:flex;align-items:center;z-index:inherit;border-radius:%?200?% %?0?% %?0?% %?200?%\n /* 购物车价格 start */\n /* 购物车价格 end */}.shopping-cart .cart-info .cart-icon[data-v-4a7625bc]{position:relative;margin-left:%?40?%;font-size:%?50?%}.shopping-cart .cart-info .cart-icon .cart-good-num[data-v-4a7625bc]{position:absolute;top:%?-6?%;right:%?-10?%;line-height:1;padding:%?4?%;min-width:%?32?%;font-size:%?24?%;border-radius:50%}.shopping-cart .cart-info .cart-price[data-v-4a7625bc]{margin-left:%?50?%\n /* 商品价格 start */\n /* 商品价格 end */\n /* 配送价格 start */\n /* 配送价格 end */}.shopping-cart .cart-info .cart-price .product-price[data-v-4a7625bc]{display:flex;align-items:flex-end}.shopping-cart .cart-info .cart-price .product-price .price[data-v-4a7625bc]{display:flex;align-items:flex-end;font-size:%?40?%}.shopping-cart .cart-info .cart-price .product-price .price .unit[data-v-4a7625bc],\n.shopping-cart .cart-info .cart-price .product-price .price .value[data-v-4a7625bc]{line-height:1;vertical-align:bottom}.shopping-cart .cart-info .cart-price .product-price .price .unit[data-v-4a7625bc]{font-size:%?28?%}.shopping-cart .cart-info .cart-price .product-price .price.old[data-v-4a7625bc]{font-size:%?28?%;text-decoration:line-through;margin-left:%?10?%}.shopping-cart .cart-info .cart-price .delivery-price[data-v-4a7625bc]{font-size:%?24?%;margin-top:%?4?%}.shopping-cart .cart-info .cart-price .delivery-price .price[data-v-4a7625bc]{margin-left:%?4?%}.shopping-cart .operation-btn[data-v-4a7625bc]{position:relative;width:28%;height:100%;z-index:inherit;border-radius:%?0?% %?200?% %?200?% %?0?%}.shopping-cart .cart-is_rest[data-v-4a7625bc]{position:relative;width:100%;height:100%;background-color:#080808;border-radius:%?200?%;font-size:%?40?%}\n/* 购物车商品列表 start */.product-list[data-v-4a7625bc]{\n /* 顶部操作按钮信息 start */\n /* 顶部操作按钮信息 end */\n /* 购物车商品展示 start */\n /* 购物车商品展示 end */}.product-list__top-operation[data-v-4a7625bc]{padding:%?20?% %?30?%}.product-list__content[data-v-4a7625bc]{width:100%;height:%?660?%;padding:%?30?%}.product-list__content .product-item[data-v-4a7625bc]{width:100%;display:flex;padding:%?30?% %?0?%;border-bottom:%?1?% solid #f3f2f7\n /* 商品内容 start */\n /* 商品内容 end */}.product-list__content .product-item[data-v-4a7625bc]:last-child{border-bottom:none}.product-list__content .product-item .item-image[data-v-4a7625bc]{width:%?100?%;height:%?100?%;border-radius:%?15?%}.product-list__content .product-item .item-info[data-v-4a7625bc]{flex:1;width:100%;padding-left:%?20?%}.product-list__content .product-item .item-info .item-title[data-v-4a7625bc]{font-size:%?32?%;font-weight:500}.product-list__content .product-item .item-info .item-spec[data-v-4a7625bc]{font-size:%?24?%}.product-list__content .product-item .item-info .item-operation[data-v-4a7625bc]{display:flex;align-items:center;justify-content:space-between;margin-top:%?10?%}.product-list__content .product-item .item-info .item-price[data-v-4a7625bc]{font-size:%?34?%}.product-list__bottom-empty[data-v-4a7625bc]{width:100%;height:%?80?%}\n/* 购物车商品列表 end */',""]),t.exports=e},cd94:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.bottom-area-content[data-v-3f33965a]{padding-bottom:%?140?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?140?%)!important;padding-bottom:calc(env(safe-area-inset-bottom) + %?140?%)!important}.products-list[data-v-3f33965a]{position:relative;width:100%}.products-list .item[data-v-3f33965a]{padding:0 %?20?%;padding-right:%?30?%\n /* 分类商品容器 start */\n /* 分类商品容器 end */}.products-list .item .item-title[data-v-3f33965a]{position:-webkit-sticky;position:sticky;padding:%?15?% %?0?%;z-index:2333;background-color:#fff}.products-list .item .item-goods[data-v-3f33965a]{position:relative;width:100%}.products-list .item .item-goods .good[data-v-3f33965a]{display:flex;margin-bottom:%?20?%\n /* 商品主图 start */\n /* 商品主图 end */\n /* 商品信息 start */\n /* 商品信息 end */}.products-list .item .item-goods .good .good-image[data-v-3f33965a]{width:%?196?%;height:%?196?%;border-radius:%?15?%;border-width:%?1?%;border-style:solid}.products-list .item .item-goods .good .good-info[data-v-3f33965a]{flex:1;margin-left:%?20?%\n /* 商品价格 start */\n /* 商品价格 end */}.products-list .item .item-goods .good .good-info .good-title[data-v-3f33965a]{width:100%;font-size:%?34?%;font-weight:500}.products-list .item .item-goods .good .good-info .good-month-sale[data-v-3f33965a]{font-size:%?24?%}.products-list .item .item-goods .good .good-info .good-content[data-v-3f33965a]{width:-webkit-fit-content;width:fit-content;max-width:100%;font-size:%?22?%;border-radius:%?6?%;padding:%?0?% %?8?%;line-height:1.4em;margin-top:%?8?%}.products-list .item .item-goods .good .good-info .good-price .price[data-v-3f33965a]{display:flex;align-items:flex-end;font-size:%?36?%;line-height:1;font-weight:700}.products-list .item .item-goods .good .good-info .good-price .price .unit[data-v-3f33965a]{font-size:%?24?%;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.products-list .item .item-goods .good .good-info .good-price .price.old[data-v-3f33965a]{text-decoration:line-through;font-size:%?24?%;font-weight:400;margin-left:%?10?%}.products-list .item .item-goods .good .good-info .good-price .price.old .unit[data-v-3f33965a]{-webkit-transform:translateY(%?0?%);transform:translateY(%?0?%)}[data-v-3f33965a] .tnloads .tn-load-more__line{display:none}.scrTab-item[data-v-3f33965a]{display:inline-block;white-space:pre-wrap;margin-right:%?10?%;border-radius:%?40?%;margin-bottom:%?10?%;background-color:#f5f5f5;color:#9c9c9c;text-align:center}.scrTab-item uni-text[data-v-3f33965a]{display:block;padding:%?15?%;font-size:%?20?%;min-width:%?90?%;max-width:%?120?%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scrTab-item-active[data-v-3f33965a]{background:#fef8db;color:#dd8b3e}.scrTab-box[data-v-3f33965a]{position:relative}.scrTab-box .icon-down-box[data-v-3f33965a]{position:absolute;right:-.1rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}',""]),t.exports=e},cddc:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-avatar-group[data-v-2e92531b]{display:flex;flex-direction:row}.tn-avatar-group__item[data-v-2e92531b]{position:relative}',""]),t.exports=e},cdf0:function(t,e,i){"use strict";i.r(e);var a=i("f3fd"),n=i("5589");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("2227");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"59c150a5",null,!1,a["a"],void 0);e["default"]=r.exports},cdfd:function(t,e,i){var a=i("ffa0");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("5e0b158e",a,!0,{sourceMap:!1,shadowMode:!1})},ce7e:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("aa9c");var a={props:{data:{type:Array,default:function(){return[]}},preview:{type:Boolean,default:!1},isLazy:{type:Boolean,default:!1}},data:function(){return{}},computed:{imageClass:function(){var t=[];return 1===this.data.length&&t.push("one"),2===this.data.length&&t.push("two"),4===this.data.length&&(console.log("--------",this.data.length),t.push("four")),t.join(" ")}},methods:{previewImage:function(t){if(console.log(this.data,t),this.preview){var e=[];1===this.data.length?(e=[this.data],uni.previewImage({urls:this.data})):(e=this.data,uni.previewImage({current:t,urls:e}))}}}};e.default=a},cede:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getTuangouquanOrderListApi=e.deleteOrderApi=void 0;var n=a(i("7653"));e.getTuangouquanOrderListApi=function(t){return n.default.get("api/user.tuangouquan.order/list",t)};e.deleteOrderApi=function(t){return n.default.post("api/user.tuangouquan.order/delete",t)}},cf41:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.postGoodsCollectApi=e.initMaterialApi=e.initAttrsApi=e.getSpecialOfferGoodsApi=e.getProductInfoAndSkuInfoApi=e.getMaterialApi=e.getListByRandomApi=e.getGoodsDetailsApi=e.getGoodSpecInfoApi=e.getApiGoodsDetailApi=e._zfbdataBrowseGoods=void 0;var n=a(i("7653"));e.getGoodSpecInfoApi=function(t){var e=t.sid,i=t.goodsId,a=t.type,o=t.activity_id;return n.default.get("api/user.store.goods/material",{sid:e,type:a,activity_id:o,goods_id:i})};e._zfbdataBrowseGoods=function(t){var e=t.goodsId;console.log("增长分析埋点中商品访问的商品ID: ",e),my.reportCustomEvent("1045131",{bizType:"cloudappevent",spu_id:e})};e.getGoodsDetailsApi=function(t){return n.default.get("api/user.store.goods/detail",t)};e.getApiGoodsDetailApi=function(t){return n.default.get("api/user.store.goods/getApiGoodsDetail",t)};e.initMaterialApi=function(t){return n.default.get("api/user.store.goods/initMaterial",t)};e.getMaterialApi=function(t){return n.default.get("api/user.store.goods/getMaterial",t)};e.initAttrsApi=function(t){return n.default.get("api/user.store.goods/initAttrs",t)};e.getProductInfoAndSkuInfoApi=function(t){return n.default.get("api/user.store.goods/getProductInfoAndSkuInfo",t)};e.getSpecialOfferGoodsApi=function(t){return n.default.get("api/user.store.goods/getSpecialOfferGoods",t)};e.getListByRandomApi=function(t){return n.default.get("api/user.store.goods/getListByRandom",t)};e.postGoodsCollectApi=function(t){return n.default.get("api/user.member.goods_favorite/operate",t)}},cf50:function(t,e,i){"use strict";var a=i("5ed7"),n=i.n(a);n.a},cfc4:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.cart-list[data-v-7dcd6618]{margin-top:%?14?%}.cartPart[data-v-7dcd6618]{position:fixed;bottom:%?0?%;left:%?0?%;width:100%;padding:%?36?% %?26?% %?50?% %?26?%;box-sizing:border-box;background:#fff;z-index:99999;height:%?200?%;display:flex;justify-content:space-between;align-items:center;box-shadow:0 -.5px 1px rgba(0,0,0,.1)}.cartPart .left[data-v-7dcd6618]{display:flex;justify-content:space-around;align-items:center;flex-direction:column}.cartPart .left .leftTop[data-v-7dcd6618]{display:flex;justify-content:center;align-items:center}.cartPart .left .leftTop .allTip[data-v-7dcd6618]{color:#333;font-size:%?26?%}.cartPart .left .totalSaller[data-v-7dcd6618]{color:#333;font-size:%?24?%;margin-top:%?10?%}.priceInfo[data-v-7dcd6618]{display:flex;justify-content:flex-end;align-items:flex-end;flex-direction:column;margin:%?0?% %?10?%}.priceInfo .tip[data-v-7dcd6618]{font-size:%?32?%;color:#333}.priceInfo .allTip[data-v-7dcd6618]{font-size:%?24?%;color:#333}.priceInfo .allTip .spSaleInfo[data-v-7dcd6618]{font-size:%?28?%;color:#f8414d;margin:%?6?% %?4?% %?0?% %?4?%}.wrapper[data-v-7dcd6618]{width:100%;padding:%?30?%}\n/* 购物车item start */.cart-item[data-v-7dcd6618]{padding:%?30?%;border-radius:%?15?%\n /* 休息中 start */\n /* 休息中 end */\n /* 店铺信息 start */\n /* 店铺信息 end */\n /* 清空按钮 start */\n /* 清空按钮 end */\n /* 商品信息 start */\n /* 商品信息 end */\n /* 其他费用信息 start */\n /* 其他费用信息 end */\n /* 结算操作 start */\n /* 结算操作 end */}.cart-item.rest .store-image[data-v-7dcd6618]{position:relative}.cart-item.rest .store-image[data-v-7dcd6618]::after{content:"休息中";position:absolute;left:%?0?%;bottom:%?0?%;width:100%;padding:%?4?%;font-size:%?20?%;background-color:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.cart-item .item-top[data-v-7dcd6618]{padding-bottom:%?20?%}.cart-item .item-content[data-v-7dcd6618]{padding:%?20?% %?0?%}.cart-item .store-info[data-v-7dcd6618]{width:72%}.cart-item .store-image[data-v-7dcd6618]{width:%?80?%;height:%?80?%;border-radius:%?8?%}.cart-item .store-title[data-v-7dcd6618]{width:80%;height:auto;margin-left:%?20?%;font-size:%?32?%}.cart-item .clear-store-btn[data-v-7dcd6618]{margin-left:%?20?%}.cart-item .good-data[data-v-7dcd6618]{margin-top:%?40?%}.cart-item .good-data .good-image[data-v-7dcd6618]{width:%?120?%;height:%?120?%;border-radius:%?15?%}.cart-item .good-data .good-info[data-v-7dcd6618]{flex:1;margin-left:%?16?%}.cart-item .good-data .good-info .good-title[data-v-7dcd6618]{font-size:%?36?%}.cart-item .good-data .good-info .good-option[data-v-7dcd6618]{font-size:%?24?%;margin-top:%?8?%}.cart-item .good-data .good-info .good-price-num[data-v-7dcd6618]{margin-top:%?14?%}.cart-item .good-data .good-info .good-price-num .through[data-v-7dcd6618]{text-decoration:line-through}.cart-item .good-data .good-info .good-price-num .price[data-v-7dcd6618]{display:flex;font-weight:700}.cart-item .cart-other-price[data-v-7dcd6618]{margin-top:%?20?%;font-size:%?26?%}.cart-item .cart-submit[data-v-7dcd6618]{margin-top:%?30?%}.cart-item .cart-submit .final-price[data-v-7dcd6618]{font-size:%?32?%;font-weight:500}.cart-item .cart-submit .operation-btn[data-v-7dcd6618]{padding:%?14?% %?24?%;border-radius:%?15?%}.cart-item + .cart-item[data-v-7dcd6618]{margin-top:%?30?%}\n/* 购物车item end */',""]),t.exports=e},cfc4d:function(t,e,i){"use strict";i.r(e);var a=i("ef4f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},cfe6:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-checkbox-group[data-v-75edc608]{display:inline-flex;flex-wrap:wrap}.tn-checkbox-group[data-v-75edc608]::after{content:" ";display:table;clear:both}',""]),t.exports=e},cfea:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2634")),o=a(i("2fdc"));i("64aa"),i("fd3c");var s={name:"tn-stack-swiper",props:{list:{type:Array,default:function(){return[]}},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:500},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},switchRate:{type:Number,default:30},scaleRate:{type:Number,default:.1},translateRate:{type:Number,default:16},opacityRate:{type:Number,default:10},direction:{type:String,default:"horizontal"}},data:function(){return{autoplayTimer:null,windowWidth:0,swiperItemWidth:0,swiperItemHeight:0,swiperIndex:-1,touching:!0,swiperList:[],autoplayFlag:!1}},computed:{itemData:function(){return{windowWidth:this.windowWidth,itemWidth:this.swiperItemWidth,itemHeight:this.swiperItemHeight,direction:this.direction,autoplaying:this.autoplayFlag}}},watch:{list:function(t){var e=this;this.swiperList=[],this.$nextTick((function(){e.initSwiperRectInfo()}))},autoplay:function(t){t?this.setAutoPlay():this.clearAutoPlayTimer()}},created:function(){this.autoplayFlag=this.autoplay},mounted:function(){var t=this;this.$nextTick((function(){t.initSwiperRectInfo()}))},destroyed:function(){this.clearAutoPlayTimer()},methods:{initSwiperRectInfo:function(){var t=this;return(0,o.default)((0,n.default)().mark((function e(){var i,a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t._tGetRect(".tn-stack-swiper__item");case 2:if(i=e.sent,i&&i.width&&i.height){e.next=6;break}return setTimeout((function(){t.initSwiperRectInfo()}),50),e.abrupt("return");case 6:t.swiperItemWidth=i.width,t.swiperItemHeight=i.height,a=uni.getSystemInfoSync(),t.windowWidth=a.windowWidth,t.swiperIndex=0,t.swiperList=t.list.map((function(e,i){var a=1-t.scaleRate*i;return"horizontal"===t.direction?e.translateX=i*t.translateRate*.01*t.swiperItemWidth:"vertical"===t.direction&&(e.translateY=i*t.translateRate*.01*t.swiperItemHeight),e.opacity=1-i*t.opacityRate*.01,e.zIndex=t.list.length-i,e.scale=a<=0?0:a,e})),t.setAutoPlay();case 13:case"end":return e.stop()}}),e)})))()},setAutoPlay:function(){var t=this;this.autoplay&&(this.clearAutoPlayTimer(),this.autoplayFlag=!0,this.autoplayTimer=setInterval((function(){t.swiperIndex=t.swiperIndex+1>t.swiperList.length-1?0:t.swiperIndex+1}),this.interval))},clearAutoPlayTimer:function(){null!=this.autoplayTimer&&(this.autoplayFlag=!1,clearInterval(this.autoplayTimer))},changeSwiperIndex:function(t){this.swiperIndex=t.index,this.$emit("change",{index:t.index})},changeTouchState:function(t){this.touching=t.touching},printLog:function(t){console.log("log",t)}}};e.default=s},d16d:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.v-line-title[data-v-cdb8d6ca]{position:relative}.v-line-title .title[data-v-cdb8d6ca]{position:relative;margin-left:%?34?%;font-size:inherit\n /* 竖线 */}.v-line-title .title .line[data-v-cdb8d6ca]{position:absolute;width:%?10?%;height:90%;border-radius:%?60?%;left:%?-16?%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}',""]),t.exports=e},d195:function(t,e,i){"use strict";i.r(e);var a=i("dc39"),n=i("427f");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("fe60");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"e16b97e4",null,!1,a["a"],void 0);e["default"]=r.exports},d1cb:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={loading:i("8c27").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e)}}},[i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(e.order_type_text))]),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.icon[0],mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.product_name))]),e.phoneRecharge&&e.phoneRecharge.card_pin?i("v-uni-view",{staticClass:"create-time mt5"},[t._v("PIN: "+t._s(e.phoneRecharge.card_pin))]):t._e()],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[e.pay_amount?i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(e.pay_amount.currency))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.pay_amount.val))])],1):t._e()],1)],1),e.phoneRecharge&&e.phoneRecharge.card_expired?i("v-uni-view",{staticClass:"create-time mb5"},[t._v("PIN过期时间: "+t._s(e.phoneRecharge.card_expired))]):t._e(),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.create_time))])],1)],1)}))],2)},o=[]},d240:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.searchExpressApi=e.orderStatusListApi=e.orderNoticeApi=e.getVisaOrderListApi=e.getVisaOrderDetailApi=e.getTakeoutOrderListApi=e.getTakeoutOrderDetailApi=e.getSpecialDeliveryStatusApi=e.getRefundReasonApi=e.getPaybillOrderListApi=e.getPaybillOrderDetailApi=e.getOrderwuliuApi=e.getOrderMapPathApi=e.getOrderIdByOutTradeNoApi=e.getErranderOrderListApi=e.getErranderOrderDetailApi=e.getChannelApi=e.getAllOrderListApi=e.getAirportPickupDetail=e.cancelOrderApi=e.applyRefundApi=void 0;var n=a(i("7653"));e.getTakeoutOrderListApi=function(t){var e=t.page,i=t.psize,a=t.status_index;return n.default.get("api/user.order.order/list",{page:e,psize:i,status_index:a})};e.getAllOrderListApi=function(){return n.default.get("api/user.order.order/allOrderList")};e.getTakeoutOrderDetailApi=function(t){var e=t.id,i=t.type;return n.default.get("api/user.order.order/detail",{id:e,type:i})};e.getErranderOrderListApi=function(t){var e=t.page,i=t.psize;return n.default.get("api/user.order.errander.errander/viList",{page:e,psize:i})};e.getErranderOrderDetailApi=function(t){var e=t.id;return n.default.get("api/user.order.errander.errander/detail",{id:e})};e.getVisaOrderListApi=function(t){return n.default.post("api/user.visa.order/list",t)};e.getVisaOrderDetailApi=function(t){return n.default.post("api/user.visa.order/detail",t)};e.getAirportPickupDetail=function(t){return n.default.post("api/user.airportTransfer.order/detail",t)};e.getPaybillOrderListApi=function(t){var e=t.page,i=t.psize;return n.default.get("api/user.order.paybill/list",{page:e,psize:i})};e.getPaybillOrderDetailApi=function(t){var e=t.id;return n.default.get("api/user.order.paybill/detail",{id:e})};e.getOrderMapPathApi=function(t){return n.default.post("api/user.order.order/mapPath",t)};e.getSpecialDeliveryStatusApi=function(t){return n.default.post("api/user.order.order/getSpecialDeliveryStatus",t)};e.getOrderIdByOutTradeNoApi=function(t){return n.default.post("api/user.order.order/getOrderIdByOutTradeNo",t)};e.getOrderwuliuApi=function(t){return n.default.post("api/user.order.order/wuliu",t)};e.getChannelApi=function(t){return n.default.get("api/user.order.order/getChannel?id="+t)};e.getRefundReasonApi=function(){return n.default.get("api/user.order.order/getRefundReason")};e.applyRefundApi=function(t){return n.default.post("api/user.order.order/applyRefund",t)};e.cancelOrderApi=function(t){return n.default.post("api/user.order.order/cancel",t)};e.orderNoticeApi=function(t){return n.default.post("api/user.order.order/orderNotice",t)};e.orderStatusListApi=function(t){return n.default.get("api/user.order.order/orderStatusList?id="+t)};e.searchExpressApi=function(t){return n.default.post("api/user.order.order/searchExpress",t)}},d27f:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("aa9c"),i("4626"),i("5ac7");var a={name:"tn-checkbox",props:{name:{type:[String,Number],default:""},value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledLabel:{type:Boolean,default:!1},shape:{type:String,default:""},activeColor:{type:String,default:""},size:{type:Number,default:0},iconName:{type:String,default:"success"},iconSize:{type:Number,default:0},labelSize:{type:Number,default:0}},computed:{isDisabled:function(){return this.disabled?this.disabled:!!this.parent&&this.parentData.disabled},isDisabledLabel:function(){return this.disabledLabel?this.disabledLabel:!!this.parent&&this.parentData.disabledLabel},checkboxSize:function(){return this.size?this.size:this.parent?this.parentData.size:34},elAvtiveColor:function(){return this.activeColor?this.activeColor:this.parent?this.parentData.activeColor:"#01BEFF"},elShape:function(){return this.shape?this.shape:this.parent?this.parentData.shape:"square"},iconClass:function(){var t="";return t+=" tn-checkbox__icon-wrap--"+this.elShape,this.checkValue&&(t+=" tn-checkbox__icon-wrap--checked"),this.isDisabled&&(t+=" tn-checkbox__icon-wrap--disabled"),this.value&&this.isDisabled&&(t+=" tn-checkbox__icon-wrap--disabled--checked"),t},iconStyle:function(){var t={};return this.elAvtiveColor&&this.checkValue&&!this.isDisabled&&(t.borderColor=this.elAvtiveColor,t.backgroundColor=this.elAvtiveColor),t.color=this.checkValue?"#FFFFFF":"transparent",t.width=this.checkboxSize+"rpx",t.height=t.width,t.fontSize=(this.iconSize?this.iconSize:this.parent?this.parentData.iconSize:20)+"rpx",t},checkboxStyle:function(){var t={};return this.parent&&this.parentData.width&&(t.flex="0 0 ".concat(this.parentData.width)),this.parent&&this.parentData.wrap&&(t.width="100%",t.flex="0 0 100%"),t},labelClass:function(){var t="";return this.isDisabled&&(t+=" tn-checkbox__label--disabled"),t}},data:function(){return{checkValue:!1,parentData:{value:null,max:null,disabled:null,disabledLabel:null,shape:null,activeColor:null,size:null,width:null,wrap:null,iconSize:null}}},watch:{value:function(t){this.checkValue=t}},created:function(){this.updateParentData(),this.parent&&this.parent.children.push(this)},methods:{updateCheckValue:function(){this.checkValue=this.parent&&this.parentData.value.includes(this.name)||!0===this.value,this.parent&&this.value&&!this.parentData.value.includes(this.name)&&(this.parentData.value.push(this.name),this.parent.initValue(this.parentData.value))},updateParentData:function(){this.getParentData("tn-checkbox-group"),this.updateCheckValue()},onClickLabel:function(){this.isDisabled||this.isDisabledLabel||this.setValue()},toggle:function(){this.isDisabled||this.setValue()},emitEvent:function(){var t=this;this.$emit("change",{name:this.name,value:!this.checkValue}),this.parent&&(this.checkValue=!this.checkValue,setTimeout((function(){t.parent.emitEvent&&t.parent.emitEvent()}),80))},setValue:function(){if(this.parent)if(!0===this.checkValue)this.emitEvent();else{if(this.parentData.value.length>=this.parentData.max)return this.$t.message.toast("最多可选".concat(this.parent.max,"项"));this.emitEvent()}else this.emitEvent(),this.$emit("input",!this.checkValue)}}};e.default=a},d2f4:function(t,e,i){"use strict";var a=i("fa28"),n=i.n(a);n.a},d2f9:function(t,e,i){"use strict";var a=i("067a"),n=i.n(a);n.a},d30e:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 订单列表item start */.order-item[data-v-4be3688b]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-4be3688b]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-4be3688b]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-4be3688b]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-4be3688b]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-4be3688b]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-4be3688b]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-4be3688b]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-4be3688b]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-4be3688b]{font-size:%?34?%;padding-left:%?40?%;color:#ffca28}.order-item .top-info .top-right .order-type[data-v-4be3688b]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-4be3688b]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-4be3688b]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-4be3688b]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-4be3688b]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-4be3688b]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-4be3688b]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-4be3688b]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-4be3688b]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-4be3688b]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-4be3688b]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-4be3688b]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-4be3688b]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-4be3688b]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-4be3688b]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-4be3688b]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-4be3688b]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-4be3688b]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-4be3688b]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-4be3688b]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-4be3688b]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-4be3688b]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-4be3688b]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-4be3688b]{width:100%}.expansion .expansion_box .line4[data-v-4be3688b]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-4be3688b]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-4be3688b]{width:%?60?%;height:%?60?%}',""]),t.exports=e},d340:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-input[data-v-4a3a2be0]{display:flex;flex-direction:row;position:relative;flex:1}.tn-input__input[data-v-4a3a2be0]{font-size:%?28?%;color:#080808;flex:1}.tn-input__textarea[data-v-4a3a2be0]{width:auto;font-size:%?28?%;color:#080808;padding:%?10?% 0;line-height:normal;flex:1}.tn-input--border[data-v-4a3a2be0]{border-radius:%?6?%;border:%?2?% solid rgba(0,0,0,.1)}.tn-input--error[data-v-4a3a2be0]{border-color:#e83a30!important}.tn-input__right-icon[data-v-4a3a2be0]{line-height:1}.tn-input__right-icon .icon[data-v-4a3a2be0]{color:#aaa}.tn-input__right-icon__item[data-v-4a3a2be0]{margin-left:%?10?%}.tn-input__right-icon__clear .icon[data-v-4a3a2be0]{font-size:%?32?%}.tn-input__right-icon__select[data-v-4a3a2be0]{transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.tn-input__right-icon__select .icon[data-v-4a3a2be0]{font-size:%?26?%}.tn-input__right-icon__select--reverse[data-v-4a3a2be0]{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}',""]),t.exports=e},d36c:function(t,e,i){"use strict";i.r(e);var a=i("9065"),n=i("cfc4d");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("d2f4");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1874eb69",null,!1,a["a"],void 0);e["default"]=r.exports},d423:function(t,e,i){"use strict";var a=i("8a76"),n=i.n(a);n.a},d431:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("6fbe")),o=a(i("0853")),s=a(i("6e90")),r={props:{value:{type:Boolean,default:!1},data:{type:Object,default:function(){return{title:"",content:""}}}},mixins:[n.default],components:{uParse:o.default,BrilliantTitle:s.default},data:function(){return{currentSwiperIndex:0}},watch:{data:{handler:function(t){},immediate:!0}},created:function(){this.initCustomNavBarInfo()},methods:{handleSwiperChangeEvent:function(t){this.currentSwiperIndex=t.detail.current},handleOrderEvent:function(){this.$emit("ordering")}}};e.default=r},d574:function(t,e,i){"use strict";i.r(e);var a=i("0243"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d613:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[i("BottomModal",{on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClose.apply(void 0,arguments)}},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("v-uni-view",{staticClass:"modal__title"},[t._v(t._s(t.sky_activity_name))]),i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"modal__redpacket-list"},[t._l(t.sky_land_tuangouquan_list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"redpacket-item"},[i("v-uni-view",{staticClass:"alpay-logotype-bg"},[i("v-uni-text",{staticClass:"tn-icon-alipay"})],1),e.use_days_limit_text?i("v-uni-view",{staticClass:"claimed-watermark"},[i("v-uni-image",{staticClass:"image",attrs:{src:"https://qny.wdsp666.com/images/1/2022/11/jA3J7OQvWqVMdVLII3Moz3V3vV7vm3.png?imageMogr2/thumbnail/750x",mode:"aspectFill"}})],1):t._e(),i("v-uni-view",{staticClass:"redpacket-title"},[t._v("团购券")]),i("v-uni-view",{staticClass:"redpacket-price"},[i("img",{staticClass:"redpacket-price__content",staticStyle:{width:"100rpx",height:"100rpx",position:"relative",top:"15rpx","border-radius":"20rpx"},attrs:{src:e.good.thumb,mode:"aspectFill"}})]),i("v-uni-view",{staticClass:"redpacket-right-container"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"company"},[i("v-uni-view",{staticClass:"company-name"},[t._v(t._s(e.store.title))])],1),i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.good.title))]),i("v-uni-view",{staticClass:"condition",staticStyle:{color:"red","font-size":"28rpx"}},[t._v(t._s(e.good.price)+"元")])],1),e.use_days_limit_text?i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"to-use"},[t._v("去使用")]),i("v-uni-view",{staticClass:"expired-date"},[t._v(t._s(e.use_days_limit_text)+" 过期")])],1):t._e()],1)],1)})),t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"redpacket-item"},[i("v-uni-view",{staticClass:"alpay-logotype-bg"},[i("v-uni-text",{staticClass:"tn-icon-alipay"})],1),e.use_days_limit_text?i("v-uni-view",{staticClass:"claimed-watermark"},[i("v-uni-image",{staticClass:"image",attrs:{src:"https://qny.wdsp666.com/images/1/2022/11/jA3J7OQvWqVMdVLII3Moz3V3vV7vm3.png?imageMogr2/thumbnail/750x",mode:"aspectFill"}})],1):t._e(),i("v-uni-view",{staticClass:"redpacket-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"redpacket-price"},[i("v-uni-view",{staticClass:"redpacket-price__content",class:{"multi-price":e.discount.length>1}},[i("v-uni-view",{staticClass:"price-value"},[t._v(t._s(e.discount))]),i("v-uni-view",{staticClass:"price-unit"},[t._v("元")])],1)],1),i("v-uni-view",{staticClass:"redpacket-right-container"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"company"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"company-name"},[t._v(t._s(e.image_title))])],1),i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.description))]),i("v-uni-view",{staticClass:"condition"},[t._v("订单满"+t._s(e.condition)+"元可用")])],1),e.use_days_limit_text?i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"to-use"},[t._v("去使用")]),i("v-uni-view",{staticClass:"expired-date"},[t._v(t._s(e.use_days_limit_text)+" 过期")])],1):t._e()],1)],1)}))],2),i("v-uni-view",{staticClass:"modal__receive-btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.onReceive.apply(void 0,arguments)}}},[t._v("一键领取")]),i("v-uni-view",{staticClass:"modal__view-collect",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/redpacket/index")}}},[t._v("查看已领取卡劵")])],1)],1)],1)},n=[]},d6c3:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-avatar[data-v-1c66f6a5]{display:inline-flex;margin:0;padding:0;text-align:center;align-items:center;justify-content:center;background-color:#e6e6e6;white-space:nowrap;position:relative;width:%?64?%;height:%?64?%;z-index:1}.tn-avatar--sm[data-v-1c66f6a5]{width:%?48?%;height:%?48?%}.tn-avatar--lg[data-v-1c66f6a5]{width:%?96?%;height:%?96?%}.tn-avatar--xl[data-v-1c66f6a5]{width:%?128?%;height:%?128?%}.tn-avatar--square[data-v-1c66f6a5]{border-radius:%?10?%}.tn-avatar--circle[data-v-1c66f6a5]{border-radius:%?5000?%}.tn-avatar--shadow[data-v-1c66f6a5]{position:relative}.tn-avatar--shadow[data-v-1c66f6a5]::after{content:" ";display:block;background:inherit;-webkit-filter:blur(%?10?%);filter:blur(%?10?%);position:absolute;width:100%;height:100%;top:%?10?%;left:%?10?%;z-index:-1;opacity:.4;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:inherit;-webkit-transform:scale(1);transform:scale(1)}.tn-avatar__img[data-v-1c66f6a5]{width:100%;height:100%}.tn-avatar__img--square[data-v-1c66f6a5]{border-radius:%?10?%}.tn-avatar__img--circle[data-v-1c66f6a5]{border-radius:%?5000?%}.tn-avatar__text[data-v-1c66f6a5]{display:flex;flex-direction:row;align-items:center;justify-content:center}',""]),t.exports=e},d6d0:function(t,e,i){"use strict";i.r(e);var a=i("b025"),n=i("5a92");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("39e1");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"2ee3eaf0",null,!1,a["a"],void 0);e["default"]=r.exports},d7db:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{id:0}},props:{config:{type:Object,default:function(){return{coordinate:{address:"广州",latitude:39.9,longitude:116.39}}}}},methods:{}};e.default=a},d879:function(t,e,i){"use strict";i.r(e);var a=i("2290"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d89d:function(t,e,i){"use strict";i.r(e);var a=i("e246"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d8ee:function(t,e,i){"use strict";i.r(e);var a=i("247f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d9b0:function(t,e,i){var a=i("6720");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6404658e",a,!0,{sourceMap:!1,shadowMode:!1})},da59:function(t,e,i){"use strict";var a=i("c77f"),n=i.n(a);n.a},dab8:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnNoticeBar:i("ee42").default,tnPopup:i("1fbf").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"showcase-header-1",style:[{paddingTop:t.navBarInfo.height+"px"}]},[i("v-uni-view",{staticClass:"tn-padding-sm",staticStyle:{display:"flex","align-items":"center","justify-content":"space-between"}},[i("v-uni-view",{staticClass:"store"},[i("v-uni-view",{staticClass:"store-title"},[t.is_favorite?i("v-uni-text",{staticClass:"tn-icon-star-fill tn-color-yellow theme-star-avct",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.favorite.apply(void 0,arguments)}}}):i("v-uni-text",{staticClass:"tn-icon-star",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.favorite.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"tn-margin-left-xs tn-text-bold"},[t._v(t._s(t.store_title||""))]),t.is_api_shop||t.is_system_brand?i("v-uni-view",{staticClass:"sequence_button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sequence.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-sequence"}),i("v-uni-text",[t._v("切换")])],1):t._e()],1),i("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[i("v-uni-text",{staticClass:"tn-icon-location tn-text-md"}),i("v-uni-view",{staticClass:"tn-color-gray tn-text-sm tn-margin-left-sm"},[t._v("距离您"+t._s(t.data.storeInfo.distance||0)+"km")])],1)],1),i("v-uni-view",{staticClass:"store-logo"},[i("tn-lazy-load",{attrs:{src:t.store_logo}})],1)],1),i("v-uni-view",{staticClass:"notices"},[i("tn-notice-bar",{staticStyle:{flex:"1"},attrs:{fontColor:"gray",mode:"horizontal",list:[t.data.storeInfo.notice],padding:"0rpx"}}),i("v-uni-view",{staticClass:"upOrter tn-text-sm tn-margin-left-sm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openMore=!0}}},[t._v("点击查看"),i("v-uni-text",{staticClass:"tn-icon-down tn-margin-left-xs"})],1)],1),i("tn-popup",{attrs:{mode:"center",closeBtn:!0,zIndex:199999,borderRadius:30,width:"80%"},model:{value:t.openMore,callback:function(e){t.openMore=e},expression:"openMore"}},[i("v-uni-view",{staticClass:"tn-padding-xl"},[i("v-uni-view",{staticClass:"tn-text-center tn-margin-bottom-xl tn-text-bold"},[t._v("活动优惠")]),i("v-uni-text",{staticClass:"tn-text-bold"},[t._v("门店描述")]),i("v-uni-view",{staticClass:"tn-margin-top-sm tn-margin-bottom"},[i("v-uni-view",{staticClass:"store-content tn-text-ellipsis-1 theme-store-notice"},[t._v(t._s(t.data.storeInfo.content))])],1),i("v-uni-text",{staticClass:"tn-text-bold"},[t._v("优惠活动")]),t.data.activity&&t.data.activity.labels.length>0?i("v-uni-view",{staticClass:"tn-margin-top-sm preferential"},t._l(t.data.activity.labels,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tag"},[t._v(t._s(e.title))])})),1):i("v-uni-view",{staticClass:"tn-margin-top-sm preferential tn-text-sm tn-color-gray"},[t._v("暂无优惠")])],1)],1)],1)},o=[]},dae0:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{}},filters:{orderStatusValue:function(t,e,i){switch(t){case 1:return 1!==e?"待付款":2===i?"待确认":"待接单";case 2:return"已确认";case 3:return"待配送";case 4:return"配送中";case 5:return"已完成";case 6:return"已取消";default:return""}},orderStatusValueTow:function(t,e,i,a){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return 3==i&&n?6!=t?"商家备货中":"已取消":1==t?1!==e?"待付款":2===i?"待确认":"待接单":2==t?2===i||3===i?"商家备货中":"商家备货中,等待骑手接单":3==t?"待配送":4==t?7==a?"待取货":"配送中":5==t?"已完成":6==t?"已取消":void 0},orderTypeValue:function(t,e){switch(t){case 1:return"外卖";case 2:return 1===e?"自提":"店内";case 3:return"店内";default:return""}}},computed:{orderStatusColorClass:function(){return function(t,e){var i="gray";switch(t){case 1:i=1===e?"orangeyellow":"red";break;case 2:i="orangered";break;case 3:i="blue";break;case 4:i="bluepurple";break;case 5:i="green--dark";break}return"tn-color-".concat(i)}},creditshopOrderStatus:function(){return function(t,e){var i="gray";if(0===e)i="red";else switch(t){case 0:i="blue";break;case 1:i=1===e?"orangeyellow":"red";break;case 2:i="green--dark";break;case 3:i="red";break}return"tn-color-".concat(i)}},mallOrderStatusColorClass:function(){return function(t){var e="gray";switch(t){case"nopay":e="orangeyellow";break;case"noget":e="orangered";break;case"nosend":e="blue";break;case"refund_finish":e="bluepurple";break;case"refund_ing":e="green--dark";break;case"cancel":e="red";break}return"tn-color-".concat(e)}}}};e.default=a},db04:function(t,e,i){"use strict";var a=i("bb80"),n=i("c435"),o=i("9e70"),s=i("f298"),r=i("862c"),c=a(s),d=a("".slice),l=Math.ceil,u=function(t){return function(e,i,a){var s,u,f=o(r(e)),p=n(i),v=f.length,h=void 0===a?" ":o(a);return p<=v||""===h?f:(s=p-v,u=c(h,l(s/h.length)),u.length>s&&(u=d(u,0,s)),t?f+u:u+f)}};t.exports={start:u(!1),end:u(!0)}},dbd7:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{store:{type:Object,default:function(){return{}}}},data:function(){return{}},methods:{previewImage:function(t,e){uni.previewImage({current:e,urls:t})},callMobileContact:function(){uni.makePhoneCall({phoneNumber:this.store.mobile})}}};e.default=a},dc39:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"custom-switch theme-custom-switch"},[i("v-uni-view",{staticClass:"box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleToggle(!t.open)}}},[i("v-uni-view",{staticClass:"item",class:{"active theme-switch-active":!t.open}},[t._v(t._s(t.leftText))]),i("v-uni-view",{staticClass:"item ml-10",class:{"active theme-switch-active":t.open}},[t._v(t._s(t.rightText))])],1)],1)},n=[]},dc4e:function(t,e,i){"use strict";i.r(e);var a=i("8ef1"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},dcaf:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"v-line-title"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-view",{staticClass:"line theme-v-line-title",style:[{backgroundColor:this.avctColor?this.avctColor:this.themeBgColor}]}),this._t("default")],2)],1)},n=[]},dcc2:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnNoticeBar:i("ee42").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.showComponent&&0==t.model?i("v-uni-view",{staticClass:"notice-bar tn-shadow theme-home-notice"},[i("v-uni-view",{staticClass:"ui-BG radius-lg mt-3",staticStyle:{"padding-bottom":"10rpx"}},[i("v-uni-view",{staticClass:"notice-wrapper notice-wrapper-alipay",class:{"notice-all":t.noticeUnfold},attrs:{id:"firstList"}},t._l(t.noticeListData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"notice-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handlerNoticeClick(a)}}},[i("v-uni-view",{staticClass:"item-title",class:["tn-main-gradient-"+t.getNoticeTitleBgValue(a)]},[t._v(t._s(e.slice(0,5)))]),i("v-uni-view",{staticClass:"item-content tn-text-ellipsis"},[t._v(t._s(t.noticeListDescriptionData[a]))])],1)})),1),t.noticeListData&&Object.keys(t.noticeListData).length>=2?i("v-uni-view",{staticClass:"notice__show-more",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.noticeUnfold=!t.noticeUnfold}}},[t.noticeUnfold?i("v-uni-view",[t._v("收起公告")]):i("v-uni-view",[t._v("查看更多")])],1):t._e()],1)],1):i("v-uni-view",{staticClass:"bg_box tn-shadow ",style:{backgroundImage:"url("+(t.config.noticeList[0].thumb&&t.config.noticeList[0].thumb?t.config.noticeList[0].thumb:t.defaultBg)+")"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handlerNoticeClick(0)}}},[i("v-uni-view",{staticClass:"block"}),i("tn-notice-bar",{staticClass:"tips",staticStyle:{"font-size":"28rpx"},attrs:{leftIcon:!1,list:t.list,mode:"horizontal",duration:1e3*t.config.sec,mode:"vertical"}})],1)},o=[]},df3d:function(t,e,i){"use strict";var a=i("82f4"),n=i.n(a);n.a},df4a:function(t,e,i){var a=i("d30e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("7d0c9fec",a,!0,{sourceMap:!1,shadowMode:!1})},df63:function(t,e,i){"use strict";var a=i("052c"),n=i.n(a);n.a},dff1:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 订单列表item start */.order-item[data-v-354d1c2a]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-354d1c2a]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-354d1c2a]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-354d1c2a]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-354d1c2a]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-354d1c2a]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-354d1c2a]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-354d1c2a]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-354d1c2a]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-354d1c2a]{font-size:%?34?%;padding-left:%?40?%}.order-item .top-info .top-right .order-type[data-v-354d1c2a]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-354d1c2a]{position:relative;margin-top:%?20?%;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-354d1c2a]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-354d1c2a]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-354d1c2a]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-354d1c2a]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-354d1c2a]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-354d1c2a]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-354d1c2a]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-354d1c2a]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-354d1c2a]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-354d1c2a]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-354d1c2a]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-354d1c2a]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-354d1c2a]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-354d1c2a]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-354d1c2a]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-354d1c2a]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-354d1c2a]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-354d1c2a]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-354d1c2a]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-354d1c2a]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-354d1c2a]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-354d1c2a]{width:100%}.expansion .expansion_box .line4[data-v-354d1c2a]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-354d1c2a]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-354d1c2a]{width:%?60?%;height:%?60?%}',""]),t.exports=e},e022:function(t,e,i){"use strict";var a=i("a89f"),n=i.n(a);n.a},e05d:function(t,e,i){"use strict";i.r(e);var a=i("eb5c"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},e119:function(t,e,i){"use strict";i.r(e);var a=i("5cb7"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},e172:function(t,e,i){"use strict";i.r(e);var a=i("fb71"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},e246:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c");var a=i("d55c"),n=i("419c"),o={options:{virtualHost:!0},props:{config:[Array,Object]},data:function(){return{showComponent:!0,data:[],currentSwiperIndex:0,tile:null}},created:function(){this.init(),console.log(1)},methods:{init:function(){this.config&&this.config.tile&&(this.tile=this.config.tile),this.config&&1===+this.config.status&&this.config.banner&&this.config.banner.length>0?this.data=this.config.banner.map((function(t){return{id:t.id,image:t.image,link:t.url||t.wxapp_link}})):this.getSwiperData()},getSwiperData:function(){var t=this;(0,a.getDIYSwiperDataApi)().then((function(e){e.slides&&e.slides.length>0?(t.showComponent=!0,t.data=e.slides.map((function(t){return{id:t.id,title:t.title,image:t.thumb,link:t.link||t.wxapp_link}}))):(t.data=[],t.showComponent=!1)})).catch((function(){t.data=[],t.showComponent=!1}))},handleSwiperChangeEvent:function(t){this.currentSwiperIndex=t.detail.current},navPage:n.navPage,navMiniProgram:n.navMiniProgram}};e.default=o},e357:function(t,e,i){"use strict";var a=i("530c"),n=i.n(a);n.a},e377:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.category[data-v-78d8cb21]{margin-top:%?20?%;padding:%?10?% 0}.scroll-view[data-v-78d8cb21]{white-space:nowrap}.cate-item[data-v-78d8cb21]{font-size:%?36?%;display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;margin-right:%?30?%;color:#666;position:relative}.active[data-v-78d8cb21]{font-weight:700;color:#000;z-index:11}.select[data-v-78d8cb21]{position:absolute;left:0;bottom:%?26?%;width:100%;height:%?16?%;border-radius:88px;background:linear-gradient(90deg,var(--theme-general-color),#fff)}.goods-list[data-v-78d8cb21]{display:flex}.item-goods[data-v-78d8cb21]{background-color:#fff;border-radius:8px;color:#333;flex-grow:1;margin:10px 0}.item-goods__desc[data-v-78d8cb21]{flex:1}.item-goods__img[data-v-78d8cb21]{width:100%;position:relative;padding-top:100%;border-radius:5px;overflow:hidden}.item-goods__content[data-v-78d8cb21]{position:relative;padding:5px}.item-goods__title[data-v-78d8cb21]{line-height:1.6;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.item-goods .icon[data-v-78d8cb21]{background-color:#f25370;color:#fff;border-radius:50%;border:1px solid #fff;display:inline-flex;position:absolute;right:5px;top:0}.item-goods__img img[data-v-78d8cb21]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}',""]),t.exports=e},e3c1:function(t,e,i){"use strict";i.r(e);var a=i("2414"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},e466:function(t,e,i){"use strict";var a=i("3b05"),n=i.n(a);n.a},e496:function(t,e,i){"use strict";var a=i("1e4f6"),n=i.n(a);n.a},e497:function(t,e,i){"use strict";i.r(e);var a=i("0d40"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},e4de:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5ef2");var a={props:{value:{type:Boolean,default:!1},mode:{type:Object,default:{}},show:{type:Boolean,default:!1}},data:function(){return{openModal:!1}},methods:{closeModal:function(){this.$emit("input",!1),this.$emit("close")},removeThumbnail:function(t){if(!t)return"";var e=t.indexOf("?imageMogr2/thumbnail/");return-1!==e?t.substring(0,e):t}},watch:{value:{handler:function(t){this.openModal=t},immediate:!0}}};e.default=a},e50a:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("9b1b")),o=a(i("b7c7"));i("64aa"),i("5ef2"),i("f7a5"),i("c223"),i("bf0f"),i("8f71"),i("bd06"),i("fd3c"),i("2797"),i("5c47"),i("a1c1"),i("aa77"),i("4100"),i("18f7"),i("de6c"),i("22b6");var s=a(i("6fbe")),r=a(i("dc1f")),c=a(i("a5f1")),d=a(i("fe4b")),l=a(i("93e2")),u=a(i("5a43")),f=a(i("280f")),p=a(i("97f4")),v=a(i("4541")),h=a(i("a8eb")),g=a(i("4c81")),m=a(i("709c")),b=a(i("0d84")),_=a(i("af88")),w=a(i("558f")),x=a(i("36c6")),y=a(i("a71b")),C=a(i("ebf3")),k=a(i("0901")),S=a(i("7caf")),I=a(i("29f8")),T=a(i("4885")),P=a(i("0ab8")),E=a(i("269b")),z=a(i("c717")),M=a(i("13de")),A=a(i("7ab6")),O=a(i("d6d0")),D=a(i("8c80")),L=a(i("4a08")),B=i("419c"),$=i("815c"),N=i("262c"),F=i("a69d"),R=i("d55c"),j=i("a2b9"),U=a(i("6f23")),G=i("d55c"),q=i("1106"),H=a(i("2f73")),V=a(i("5d4b")),Y=i("8d6e"),W=i("0b25"),X=a(i("5c73")),J={options:{virtualHost:!0},props:{user_address_auth_min:{type:Number,default:0}},components:{StoreListItem:c.default,AdStoreItemTemplate1:d.default,AdStoreItemTemplate3:l.default,HomeSkeleton:u.default,SearchBox:f.default,NavIcon:p.default,ImageGroup:v.default,BrandStore:h.default,GodPrice:g.default,NoticeBarNew:m.default,CustomSwiper:b.default,Empty:y.default,TechnicalSupport:C.default,JudgeLocation:M.default,HomeAdSwiper:_.default,HomeRedpacket:w.default,HomeSkyLandRedpacket:x.default,EatMerge:I.default,DemandSpecialOffer:T.default,GoodsWaterfall:E.default,DiyRichText:k.default,Recommend:P.default,mapCom:U.default,deliveryTime:A.default,Mover:H.default,PictureHotZone:V.default,DiyForm:S.default,ShopIndex:O.default,StoreInformation:D.default,SeckillProduct:L.default,PaoTui:z.default},mixins:[s.default,r.default],created:function(){this.initCustomNavBarInfo()},data:function(){return{navbarBgOpacity:0,topImageBanner:{status:!1,bgImage:"",banner:[],height:0},specialOffer:{},BannerimageHeight:"",currentSwiperIndex:0,searchBoxRectInfo:{distanceTop:0},showSkeleton:!1,locationInfo:{lat:0,lng:0,address:"",expireTime:0},locationSuccessFlag:!1,diyPageData:[],indexSearchStyle:0,is_positioning:0,customText:"",customLink:"",shoppingCartCount:0,adStoreData:[],storeData:[],isLoadStoreAll:!1,storeListPage:1,storePageSize:15,loadingStoreStatus:"nomore",showHomeAdSwiper:!1,homeAdSwiperData:{status:0,showSetting:1,data:[]},storeConfig:{},showHomeRedpacket:!1,homeRedpacketData:{status:0,topImage:"",bgColor:"",data:[]},sky_land_redpacket_show:!1,sky_land_redpacket_list:[],sky_land_redpacket_uid:0,sky_activity_name:"天降红包",sky_land_tuangouquan_list:[],showRedpacketType:"default",diyRichTextContent:"",defaultAgentTitle:"",brandId:"",brandInfoId:"",outData:!0,stackSwipt:!1,tabs:["附近商家","我的关注","会员店铺","附近外卖"],tabIndex:0,titleConfig:null,contactType:"none",mobile:"",plugid:"",alipayContactConfig:{tntInstId:"",scene:""},scene_is_index_show:0,scene_icon:"",storeAdImage:[],storage_location_address:"",updateInfo:!1}},computed:{homePageNavbarStyle:function(){var t,e,i,a,n,o={};return o.backgroundColor="rgba(255, 255, 255, ".concat(this.navbarBgOpacity,")"),o.color=this.navbarBgOpacity>.5?null!==(t=this.titleConfig)&&void 0!==t&&t.index_search_scroll_text_color?null===(e=this.titleConfig)||void 0===e?void 0:e.index_search_scroll_text_color:"#000":null!==(i=this.titleConfig)&&void 0!==i&&i.index_search_text_color?null===(a=this.titleConfig)||void 0===a?void 0:a.index_search_text_color:"#000",o.backgroundColor=this.navbarBgOpacity>.5?(null===(n=this.titleConfig)||void 0===n?void 0:n.bgColor)||o.backgroundColor:"transparent",o},homePageNavbarWrapperStyle:function(){var t={};return t.top="".concat(this.boundingInfo.top,"px"),t.height="".concat(this.boundingInfo.height,"px"),t.width="".concat(this.boundingInfo.left,"px"),t},showAdStore:function(){var t=this;return function(e){if(0===e||!t.adStoreData||0===t.adStoreData.length)return!1;var i=t.adStoreData.length;return e%2===0&&e/2-1<i}},adStore:function(){var t=this;return function(e){var i=e/2-1;return i>=t.adStoreData.length?{}:t.adStoreData[i]}}},mounted:function(){var t=this;this.updateAddressInfo(),uni.$on("updateBranchId",(function(e){t.brandId=e,t.brandInfoId=e,console.log("监听到事件来自 updateBranchId ,携带参数为:"+e)}))},methods:{clickSuspensionButton:function(t){1==t.type&&(0,B.navPage)(t.url)},getSceneInfo:function(){var t=this;(0,Y.getHelpSceneInfoApi)().then((function(e){console.log(e);var i=e.scene;t.scene_is_index_show=i.is_index_show,t.scene_icon=i.icon||"",1==i.is_scene||(t.contactType="none"),console.log(t.contactType)})).catch((function(e){console.error("[help-index]客服信息获取失败",e),t.contactType="none"}))},callMobileContact:function(){uni.makePhoneCall({phoneNumber:this.mobile})},goPages:function(t){var e=t,i=e.indexOf("?"),a=e.slice(0,-1!==i?i:void 0);"/pages/index/pages/template-1"!=a?this.navPage(t):this.handoffTabbar(t)},toTemplate1:function(t){console.log("跳转到模板1",t),this.handoffTabbar("/pages/index/pages/template-1")},changIdUpdata:function(t){console.log("获取了品牌门店信息",t),this.brandId=t},handoffTabbar:function(t){console.log(t),this.$emit("handoffTabbar",t)},refreshFormByIndex:function(t,e){this.diyPageData[e].config.fromList=t},getAbnormalOrder:function(){(0,q.getAbnormalOrderApi)().then((function(t){console.log("getAbnormalOrderApi",t),t.data&&uni.showModal({title:"订单未支付",content:"您有订单未支付,请前往订单详情进行支付!",confirmText:"前往支付",showCancel:!0,success:function(t){t.confirm&&(0,B.navPage)("/tray-page/order/orderDetail")}})}))},handleClose:function(){this.showHomeRedpacket=!this.showHomeRedpacket,this.showRedpacketType="sky"},updateAddressInfo:function(){var t,e,i,a,n,o,s,r=(0,N.getLocationInfoFromCache)(),c=r.expireTime||0,d=!1;if(0!=c){var l=(new Date).getTime();d=l>c}(console.log("is_expire",d),console.log("location.expireTime",r.expireTime),d||0!=this.user_address_auth_min&&!r.expireTime)&&(console.log("xxxxxxxx_here"),(0,N.clearCacheLocationInfo)(),this.locationSuccessFlag=!1,this.locationInfo={lat:0,lng:0,address:""},(null===(i=this.$refs)||void 0===i||null===(a=i.judgeLocationRef)||void 0===a?void 0:a.checkLocationInfo)&&this.$refs.judgeLocationRef.checkLocationInfo(),console.log("定位信息过期"));r&&(console.log(this.locationInfo,"+++",r),console.log("this.$refs?.PaoTui",null===(n=this.$refs)||void 0===n?void 0:n.PaoTui),null!==(o=this.$refs)&&void 0!==o&&o.PaoTui&&null!==(s=this.$refs)&&void 0!==s&&s.PaoTui[0].formatted_address&&(this.updateInfo=!0),this.locationInfo.lat!=r.lat&&this.locationInfo.lng!=r.lng&&(r.lat&&(this.locationInfo.lat=r.lat),r.lng&&(this.locationInfo.lng=r.lng),r.address&&(this.locationInfo.address=r.address),this.locationSuccessFlag&&this.refreshPageData()));this.locationSuccessFlag||(null===(t=this.$refs)||void 0===t||null===(e=t.judgeLocationRef)||void 0===e?void 0:e.checkLocationInfo)&&this.$refs.judgeLocationRef.checkLocationInfo()},handleLocationAuthSuccess:function(t){var e=this;console.log("location",t),this.locationSuccessFlag||(this.locationSuccessFlag=!0,t.address&&(this.storage_location_address=t.address),this.locationInfo.lat=t.lat,this.locationInfo.lng=t.lng,t.address.length<=0&&(0,F.getDefaultAgentApi)().then((function(t){e.defaultAgentTitle=t.title||""})),(0,F.getNearAddressPoisApi)({latitude:t.lat,longitude:t.lng}).then((function(t){e.locationInfo.address=t.address,(0,N.setLocationInfoToCache)(e.locationInfo),e.refreshPageData()})).catch((function(){e.locationInfo.lat=e.locationInfo.lat||"",e.locationInfo.lng=e.locationInfo.lng||"",e.locationInfo.address=e.locationInfo.address||"",e.locationInfo.lat&&e.locationInfo.lng&&e.refreshPageData()})))},refreshPageData:function(){this._resetPageData(),this.getHomePageDIYData(this.getStoreListData),this.getStartPageData(),this.getShoppingCartCount(),this.getAdStoreData(),this._getJqRedpacket(),(0,N.getUserInfoFromCache)()&&this.getAbnormalOrder(),this.getSceneInfo()},_getJqRedpacket:function(){var t=this;(0,G.getRedpacketApi)().then((function(e){if(e.redpackets&&e.redpackets.length>0||e.tuangouquan&&e.tuangouquan.length>0){if(console.log("获取天降红包成功",e),t.sky_land_redpacket_uid=e.uid,t.sky_land_redpacket_list=e.redpackets,t.sky_land_tuangouquan_list=e.tuangouquan,t.sky_activity_name=e.activity_name,uni.getStorageSync("redpacket_data")){var i=uni.getStorageSync("redpacket_data");t.sky_land_redpacket_list=[].concat((0,o.default)(i),(0,o.default)(e.redpackets))}t.$nextTick((function(){t.showRedpacketType="sky",t.sky_land_redpacket_show=!0}))}else uni.getStorageSync("redpacket_data")&&(t.showRedpacketType="sky",t.sky_land_redpacket_show=!0,t.sky_land_redpacket_list=uni.getStorageSync("redpacket_data"))})).catch((function(){console.log("获取天降红包失败")}))},getIndexSearchStyleInfo:function(){var t=this;(0,R.getIndexSearchStyleInfoApi)().then((function(e){console.log("getIndexSearchStyleInfoApi",e),t.indexSearchStyle=e.index_search_style,t.is_positioning=e.is_positioning,t.customText=e.custom_text,t.customLink=e.custom_link}))},getHomePageDIYData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.getIndexSearchStyleInfo(),this.showSkeleton=!0,this.getStoreAdImageApi(),(0,R.getDIYPageDataApi)().then((function(i){var a=i.data,n=i.custom_enjoy_title,o=i.custom_enjoy_image;t.$emit("setEnjoyInfo",{title:n,image:o}),t.diyPageData=[],a&&t.$nextTick((function(){var i,n,o;if(t.diyPageData=JSON.parse(a),console.log(t.diyPageData,"获取diyPageData"),t.specialOffer=t.diyPageData.filter((function(t){return"SpecialOffer"===t.name})),console.log("specialOfferspecialOfferspecialOfferspecialOffer",t.specialOffer),t.topImageBanner.status=!1,t.topImageBanner.bgImage="",t.topImageBanner.banner=[],t.topImageBanner.time=2,t.diyRichTextContent=(null===(i=t.diyPageData.filter((function(t){return"RichText"===t.name}))[0])||void 0===i||null===(n=i.config)||void 0===n?void 0:n.content)||"",-1!=t.diyPageData.findIndex((function(t){return"TopImageBanner"==t.name}))){var s=t.diyPageData.filter((function(t){return"TopImageBanner"===t.name}))[0].config;t.topImageBanner.status=s.status||!1,t.topImageBanner.bgImage=s.bgImage||"",t.topImageBanner.style=s.style||0,t.topImageBanner.time=s.time,t.topImageBanner.height=s.height||0,t.topImageBanner.banner=(s.banner||[]).map((function(t){return{image:t.image||t,image2:t.image2||t,url:t.url||""}}))}-1!=t.diyPageData.findIndex((function(t){return"suspensionButton"==t.name}))&&t.diyPageData.filter((function(t){return"suspensionButton"===t.name})).forEach((function(t){var e=t.config,i=2*e.width,a=2*e.height,n=2*e.height,o=2*e.font_size,s=e.font_color,r=e.color,c=2*e.top.replace("rpx",""),d=2*e.left.replace("rpx",""),l={width:i+"rpx",height:a+"rpx",lineHeight:n+"rpx",borderRadius:"50%",textAlign:"center"};2==e.image_type?(l.backgroundColor=r,l.color=s,l.fontSize=o+"rpx",l.position="fixed",l.top=c+"rpx",l.left=d+"rpx",l.zIndex=999):(l.position="fixed",l.top=c+"rpx",l.left=d+"rpx",l.zIndex=999),2==t.config.type&&1==t.config.image_type&&(l.backgroundImage="url("+t.config.image+")",l.backgroundSize="100% 100%"),console.log("suspensionButtonStyle",l),t.suspensionButtonStyle=l})),t.titleConfig=(null===(o=t.diyPageData.filter((function(t){return"titleConfig"===t.name}))[0])||void 0===o?void 0:o.config)||null,console.log("this.titleConfig",t.titleConfig),console.log(t.diyPageData,t.topImageBanner,"this.diyPageData","this.topImageBanner"),t.$nextTick((function(){t.getImageHeight(0)})),e&&e()}))})).catch((function(){console.error("[home-page]获取DIY页面数据失败"),t.diyPageData=[],e&&e()})).finally((function(){uni.stopPullDownRefresh(),t.showSkeleton=!1})),(0,W.getInternationalDefaultSet)().then((function(t){X.default.commit("updateCurrencyUnit",t.currency)}))},getShoppingCartCount:function(){var t=this;(0,j.getShoppingCartCountApi)().then((function(e){t.shoppingCartCount=e.cartTotal})).catch((function(e){console.error("[home-page]获取购物车商品数量失败",e),t.shoppingCartCount=0}))},loadMoreStoreData:function(){var t,e,i,a,n=this;this.isLoadStoreAll||(this.getShowStoreList(this.diyPageData)?(0,$.debounce)((function(){0!=n.storeData.length&&n.storeListPage++,n.getStoreListData()}),20)():Array.isArray(this.$refs.goodsW)?null===(t=this.$refs)||void 0===t||null===(e=t.goodsW[0])||void 0===e||e.loadMoreGoodsData():null===(i=this.$refs)||void 0===i||null===(a=i.goodsW)||void 0===a||a.loadMoreGoodsData())},getStoreListData:function(){var t=this;if(this.getShowStoreList(this.diyPageData)){this.loadingStoreStatus="loading";var e=this.diyPageData.find((function(t){return"MerchantList"===t.name&&1===+t.config.status}))||null,i={page:this.storeListPage,psize:this.storePageSize,order_by:"displayorder",from:"home"};if(e&&e.config){var a=e.config,o=a.isRecommend,s=void 0===o?0:o,r=a.isStick,c=void 0===r?0:r,d=a.isChooseCid,l=void 0===d?0:d,u=a.isShowGoodsBanner,f=void 0===u?0:u,p=a.cids,v=void 0===p?[]:p;i=(0,n.default)((0,n.default)({},i),{},{is_recommend:s,is_stick:c,isShowGoodsBanner:f,cids:1===+l?v:[],tabIndex:this.tabIndex})}this.storeConfig=(null===e||void 0===e?void 0:e.config)||{},(0,G.getDIYStoreListDataApi)(i).then((function(e){var i=e.stores;i&&i.length>0?(t.storeData=t.storeData.concat(i.map((function(t){var e;return{id:t.id,title:t.title,logo:t.logo||"",content:t.content,score:Number(t.score||0),sailed:t.sailed,isRest:(null===t||void 0===t?void 0:t.is_rest)||0,isInBusiness:(null===t||void 0===t?void 0:t.is_in_business)||0,label:"",deliveryTime:(null===t||void 0===t?void 0:t.delivery_time)||0,distance:(null===t||void 0===t?void 0:t.distance)||0,sendPrice:(null===t||void 0===t?void 0:t.send_price)||0,deliveryPrice:(null===t||void 0===t?void 0:t.delivery_price)||0,deliveryFreePrice:(null===t||void 0===t?void 0:t.delivery_free_price)||0,freeDeliveryFee:(null===t||void 0===t?void 0:t.free_deliveryfee)||0,activityLabels:(null===t||void 0===t||null===(e=t.activity)||void 0===e?void 0:e.labels)||[],delivery_title:(null===t||void 0===t?void 0:t.delivery_title)||"闪电侠配送",rest_reserve_cn:(null===t||void 0===t?void 0:t.rest_reserve_cn)||"",address_type:(null===t||void 0===t?void 0:t.address_type)||0,isShowGoodsBanner:(null===t||void 0===t?void 0:t.isShowGoodsBanner)||0,commend_goods:(null===t||void 0===t?void 0:t.commend_goods)||[],delivery_fee_mode:t.delivery_fee_mode,is_haodian:t.is_haodian,custom_links:t.custom_links,vip_is_open:t.vip_is_open||0,store_diy_page_id:t.store_diy_page_id||0,show_store_info:t.show_store_info||"",discountCardInfo:t.discountCardInfo,delivery_type:t.delivery_type,tuangouquanInfo:t.tuangouquanInfo||[],pageShowType:t.pageShowType||[]}}))),t.loadingStoreStatus="loadmore",i.length<t.pageSize&&t.storeIsLoadAll()):t.storeIsLoadAll()})).catch((function(){t.storeIsLoadAll(),t.storeData=[]}))}},getAdStoreData:function(){var t=this;(0,G.getDIYStoreListAdStoreDataApi)().then((function(e){if(e.brandStores&&e.brandStores.length>0){t.adStoreData=e.brandStores.map((function(t){return{id:t.id,title:t.title,logo:t.logo,image:t.thumb,content:t.content,deliveryTime:t.delivery_time,deliveryPrice:t.delivery_price,score:Number(t.score||"0"),sailed:t.sailed,adType:t.showcsstype,is_stick:t.is_stick,is_haodian:t.is_haodian,custom_links:t.custom_links,pageShowType:t.pageShowType,delivery_type:t.delivery_type,goods:t.goods.map((function(t){return{id:t.id,image:t.thumb,title:t.title,price:Number(t.price).toFixed(2),oldPrice:(Number(t.old_price)>Number(t.price)?Number(t.old_price):Number(t.price)).toFixed(2),discount:t.discount}}))}}));var i=t.adStoreData.filter((function(t){return t.id>0}));i.sort((function(){return.5-Math.random()})),t.adStoreData=i}else t.adStoreData=[]})).catch((function(){t.adStoreData=[]}))},storeIsLoadAll:function(){this.isLoadStoreAll=!0,this.loadingStoreStatus="nomore"},getStartPageData:function(){var t=this;Promise.all([(0,G.getStartPageDataApi)(1),(0,G.getStartPageDataApi)(2)]).then((function(e){var i,a,n,o,s,r=e[0],c=e[1];t.homeAdSwiperData.status=(null===r||void 0===r||null===(i=r.params)||void 0===i?void 0:i.status)||0,t.homeAdSwiperData.showSetting=(null===r||void 0===r?void 0:r.showSetting)||1,console.log("启动图数据",r),t.homeAdSwiperData.data=r.data?Object.values(r.data):[],t.homeRedpacketData.status=Number(null===c||void 0===c||null===(a=c.params)||void 0===a?void 0:a.status),t.homeRedpacketData.topImage=null===c||void 0===c||null===(n=c.page)||void 0===n?void 0:n.image,t.homeRedpacketData.bgColor=null===c||void 0===c||null===(o=c.page)||void 0===o||null===(s=o.sharemodal)||void 0===s?void 0:s.backgroundColor,t.homeRedpacketData.data=(null===c||void 0===c?void 0:c.redpackets)&&Object.values(c.redpackets).sort((function(){return Math.random()>.5?-1:1})).slice(0,3),t.homeAdSwiperData.status?t.showHomeAdSwiper=!0:t.homeRedpacketData.status&&(t.showHomeRedpacket=!0)}))},handleAdSwipeStartPageEvent:function(){this.homeRedpacketData.status?this.showHomeRedpacket=!0:this.showRedpacketType="sky"},resetStoreListData:function(){(this.storeData.length>0||!0===this.isLoadStoreAll)&&(this.adStoreData=[],this.storeData=[],this.isLoadStoreAll=!1,this.loadingStoreStatus="nomore",this.getAdStoreData())},_resetPageData:function(){var t=this;this.diyPageData=[],this.storeListPage=1,this.$nextTick((function(){t.resetStoreListData()}))},swiperChangeEvent:function(t){var e=this;this.currentSwiperIndex=t.detail.current,this.$nextTick((function(){e.getImageHeight(t.detail.current)}))},swiperChangeEvent2:function(t){this.currentSwiperIndex=t.detail.current},getImageHeight:function(t){var e=this;setTimeout((function(){var i=e.$refs["wrap".concat(t)][0];e.BannerimageHeight=i.$el.offsetHeight}),300)},_handlePageShowEvent:function(){this.updateAddressInfo(),this.getShoppingCartCount(),this.getStorInfo()},getStorInfo:function(){var t=this,e="storeUesrInfo";this.diyPageData.map((function(t,i){"storeUesrInfo"==t.name&&(e="storeUesrInfo"+i)}));var i="storeInformation";this.diyPageData.map((function(t,e){"storeInformation"==t.name&&(i="storeInformation"+e)})),this.$refs[e]&&this.$nextTick((function(){t.$refs[e][0].getInfo()})),this.$refs[i]&&this.$nextTick((function(){t.$refs[i][0].getInfo()}))},_handleScrollEvent:function(t){var e=t.scrollTop,i=this.navBarInfo.height-this.boundingInfo.top;if(this.topImageBanner.status){var a=e/i;a>1&&(a=1),a<.1&&(a=0),this.navbarBgOpacity=a}},closeSkyLandRedpacket:function(){this.sky_land_redpacket_show=!1},getShowTopTitle:function(t){var e=t.find((function(t){return"MerchantList"===t.name}));return e.config.titleStyle?e.config.titleStyle:1},getShowStoreList:function(t,e){if(2!==e||this.outData){var i=t.find((function(t){return"MerchantList"===t.name}));return!!i&&1==i.config.type}},changTime:function(t){uni.setStorageSync("currTimeId",t)},changeTabIndex:function(t){this.tabIndex=t,this.storeListPage=1,this.storeData=[],this.isLoadStoreAll=!1,this.loadingStoreStatus="nomore",this.getStoreListData()},getStoreAdImageApi:function(){var t=this;(0,R.getStoreAdImageApi)().then((function(e){console.log("storeAdImage",e);var i=[];if(e&&e.list&&e.list.length>0){var a=e.list,n=e.storeListNum;a.forEach((function(t){if(0==t.is_random)i[t.position_index-1]=t;else{var e=Math.floor(Math.random()*n);i[e]=t}}))}t.storeAdImage=i,console.log("storeAdImage",t.storeAdImage)}))},showAdImage:function(t){return!!this.storeAdImage[t]},refreshAddress:function(){console.log("refreshAddress"),this.updateInfo=!1},navPage:B.navPage}};e.default=J},e524:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("aa9c");var a={name:"tn-radio",props:{name:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},disabledLabel:{type:Boolean,default:!1},shape:{type:String,default:""},activeColor:{type:String,default:""},size:{type:Number,default:0},iconSize:{type:Number,default:0},labelSize:{type:Number,default:0}},computed:{isDisabled:function(){return this.disabled?this.disabled:!!this.parentData.disabled&&this.parentData.disabled},isDisabledLabel:function(){return this.disabledLabel?this.disabledLabel:!!this.parentData.disabledLabel&&this.parentData.disabledLabel},elSize:function(){return this.size?this.size:this.parentData.size?this.parentData.size:34},elActiveColor:function(){return this.activeColor?this.activeColor:this.parentData.activeColor?this.parentData.activeColor:"#01BEFF"},elShape:function(){return this.shape?this.shape:this.parentData.shape?this.parentData.shape:"circle"},iconClass:function(){var t="";return t+=" tn-radio__icon-wrap--"+this.elShape,this.parentData.value===this.name&&(t+=" tn-radio__icon-wrap--checked"),this.isDisabled&&(t+=" tn-radio__icon-wrap--disabled"),this.parentData.value===this.name&&this.isDisabled&&(t+=" tn-radio__icon-wrap--disabled--checked"),t},iconStyle:function(){var t={};return this.elActiveColor&&this.parentData.value===this.name&&!this.isDisabled&&(t.borderColor=this.elActiveColor,t.backgroundColor=this.elActiveColor),t.color=this.parentData.value===this.name?"#FFFFFF":"transparent",t.width=this.elSize+"rpx",t.height=t.width,t.fontSize=(this.iconSize?this.iconSize:this.parentData.iconSize?this.parentData.iconSize:20)+"rpx",t},radioStyle:function(){var t={};return this.parent&&this.parentData.width&&(t.flex="0 0 ".concat(this.parentData.width)),this.parent&&this.parentData.wrap&&(t.width="100%",t.flex="0 0 100%"),t}},data:function(){return{parentData:{value:null,disabled:null,disabledLabel:null,shape:null,activeColor:null,size:null,width:null,wrap:null,iconSize:null}}},created:function(){this.updateParentData(),this.parent.children.push(this)},methods:{updateParentData:function(){this.getParentData("tn-radio-group")},onClickLabel:function(){this.isDisabledLabel||this.isDisabled||this.setRadioCheckedStatus()},toggle:function(){this.isDisabled||this.setRadioCheckedStatus()},emitEvent:function(){this.parentData.value!==this.name&&this.$emit("change",this.name)},setRadioCheckedStatus:function(){this.emitEvent(),this.parent&&(this.parent.setValue(this.name),this.parentData.value=this.name)}}};e.default=a},e557:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2634")),o=a(i("2fdc")),s=a(i("b7c7"));i("bf0f"),i("2797"),i("8f71"),i("aa9c"),i("64aa"),i("bd06"),i("c223"),i("f7a5"),i("fd3c"),i("aa77");var r=a(i("dc1f")),c=i("419c"),d=i("d55c"),l=(i("b43b"),i("ba1f")),u=a(i("ebf3")),f=a(i("495e")),p=i("9d0a"),v=i("cf41"),h=i("f9ce"),g={components:{CenterModal:f.default,TechnicalSupport:u.default},mixins:[r.default],options:{virtualHost:!0},props:{config:[Array,Object]},data:function(){return{cateList:[],allGoods:[],goodsList:[],chooseIndex:0,goodsInfo:null,showChooseOptionsModal:!1,options:[],attrs:[],materials:[],specPrice:0,specMin:0,specMax:-1,specStoreGoodsNum:{},updateSpecGoodNum:!1,showBigImage:!1,operationFrom:"list",goodPrice:0}},created:function(){this.init()},computed:{specGoodNum:function(){var t=0;return this.showChooseOptionsModal&&this.updateSpecGoodNum&&this.goodsInfo&&1===+this.goodsInfo.specOptions&&this.specStoreGoodsNum.hasOwnProperty(this.specOptionId)&&(t=this.specStoreGoodsNum[this.specOptionId]),t},specOptionCn:function(){var t=this,e=[];return this.showChooseOptionsModal&&this.goodsInfo&&1===+this.goodsInfo.specOptions&&(this.specPrice=0,this.specMin=0,this.specMax=-1,this.options.length>0?this.options.filter((function(t){return!0===t.select})).forEach((function(i){e.push(i.title),t.specPrice+=i.price,i.min<t.specMin&&(t.specMin=i.min),-1!=i.max&&i.max>t.specMax&&(t.specMax=i.max)})):this.goodPrice&&(this.specPrice+=Number(this.goodPrice)),this.attrs.length>0&&this.attrs.forEach((function(t,i){t.label.filter((function(t){return!0===t.select})).forEach((function(t){e.push(t.title)}))})),this.materials.length>0&&this.materials.filter((function(t){return!0===t.select})).forEach((function(i){!0===i.select&&(e.push(i.title),t.specPrice+=i.price)}))),e.join("、")},specOptionId:function(){var t="";if("shoppingCart"===this.operationFrom)""!=this.optionId&&(t=this.optionId);else if("list"===this.operationFrom&&this.showChooseOptionsModal){if(this.options.length){var e=this.options.findIndex((function(t){return!0===t.select}));t+=-1===e?"0":"".concat(this.options[e].id)}this.attrs.length>0&&(t.length>0&&(t+="_"),this.attrs.forEach((function(e,i){var a=e.label.findIndex((function(t){return!0===t.select}));t+="".concat(i,"s").concat(a,"v")})),t=t.slice(0,t.length-1)),this.materials.length>0&&(t.length>0&&(t+="_"),this.materials.forEach((function(e){!0===e.select&&(t+="".concat(e.id,"m1n"))})),t=t.slice(0,t.length-1)),0===this.options.length&&t.length>0&&(t="0_"+t)}return t}},methods:{init:function(){var t=this;if(this.config&&1===+this.config.status){var e=this.config.icon;this.cateList=[{id:-1,title:"全部",thumb:e}].concat((0,s.default)(this.config.cateList)),this.config.cateList.forEach((function(e){var i;(i=t.allGoods).push.apply(i,(0,s.default)(e.goods))})),this.getGoodsList(this.allGoods)}console.log("++++",this.showChooseOptionsModal)},getGoodsList:function(t){var e=this,i={page:1,limit:20,ids:t.map((function(t){return t.id})).join(",")};(0,d.getGoodsListDataApi)(i).then((function(t){e.goodsList=t.lists}))},handleChoose:function(t,e){var i=t.goods,a=void 0===i?null:i;this.getGoodsList(a||this.allGoods),this.chooseIndex=e},getTitle:function(t,e){var i=this.allGoods.find((function(e){return+e.id===+t}));return i?i.title:e},getDesc:function(t,e){var i=this.allGoods.find((function(e){return+e.id===+t}));return i?i.desc:e},getType:function(t){var e=this.allGoods.find((function(e){return+e.id===+t}));return e?e.type:1},getProgressStyle:function(t){return 1===this.getType(t)?"type"+Math.floor(5*Math.random()+0):"type99"},addGoodsList:function(t){var e=this;return(0,o.default)((0,n.default)().mark((function i(){return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if((0,h.checkUserIsLogin)().then((function(){})).catch((function(){(0,p.showToast)({title:"请先登录",callback:function(){(0,c.navPage)("/user-info-page/login/login")}})})),1!=t.is_tuangouquan){i.next=6;break}return(0,c.navPage)("/store-page/tuangouquan/detail?sid=".concat(t.sid,"&id=").concat(t.id)),i.abrupt("return");case 6:e.getGoodsInfo(t.id);case 7:case"end":return i.stop()}}),i)})))()},getGoodsInfo:function(t){console.log("++++++++",this.showChooseOptionsModal);var e=this;(0,d.getGoodssDetailApi)(t).then((function(t){if(t.data)var i=t.data;else i=t;1==i.is_attrs||1==i.is_options||1==i.is_materials?i.specOptions=1:i.specOptions=0,e.goodsInfo=i,e.handleSpecClickEvent()}))},handleSpecClickEvent:function(){var t=this,e=this.goodsInfo.sid,i=this.goodsInfo.id;0!==this.goodsInfo.specOptions?((0,p.showLoading)({mask:!0}),(0,v.getGoodSpecInfoApi)({sid:e,goodsId:i}).then((function(e){console.log(e);var i=e.attrs,a=e.materials,n=e.options;t.attrs=i?i.map((function(t){return{title:t.name,label:t.label.map((function(t,e){return{title:t,select:0===e}}))}})):[],t.options=n?n.map((function(t,e){return{id:t.id,title:t.name,price:Number(t.price),min:0,max:t.total,select:0===e}})):[],t.materials=a?a.map((function(t){return{id:t.id,title:t.name,price:Number(t.price),select:!1}})):[],t.showChooseOptionsModal=!0})).catch((function(e){console.error("[productSpecOperation]获取商品规格信息失败",e),t.showChooseOptionsModal=!1,t.options=[],t.attrs=[],t.materials=[]})).finally((function(){t.$nextTick((function(){(0,p.closeLoading)()}))}))):this.addGoodsListOption(this.goodsInfo.sid,this.goodsInfo.id)},handleMultiSpecAddEvent:function(){var t=this;if(this.disabled)return(0,p.showToast)({title:"不允许操作"});this.specGoodNum>=this.specMax&&-1!=this.specMax||(0,l.addGoodToCartApi)({sid:this.goodsInfo.sid,goodsId:this.goodsInfo.id,optionId:this.specOptionId,sign:"+",tableId:"",num:1}).then((function(){0===t.specGoodNum?t.specStoreGoodsNum[t.specOptionId]=1:t.specStoreGoodsNum[t.specOptionId]++,1==t.goodsInfo.is_haodian?(0,c.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t.goodsInfo.sid)):2==t.goodsInfo.is_haodian&&t.goodsInfo.custom_links?(0,c.navPage)("".concat(t.goodsInfo.custom_links)):(t.goodsInfo.pageShowType,(0,c.navPage)("/store-page/product-showcase/template-1?sid=".concat(t.goodsInfo.sid)))})).catch((function(t){console.error("[addGoodToCartApi]添加到购物车失败",t),(0,p.showToast)({title:t.msg}),reject()}))},addGoodsListOption:function(t,e){var i=this;return(0,o.default)((0,n.default)().mark((function a(){var o;return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return i,uni.showLoading({}),a.prev=2,a.next=5,(0,l.addGoodToCartApi)({goodsId:e,sid:t,num:1,optionId:"",sign:"+",spellrice_id:"",table_id:"",type:""});case 5:o=a.sent,o&&(1==i.goodsInfo.is_haodian?(0,c.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(i.goodsInfo.sid)):2==i.goodsInfo.is_haodian&&i.goodsInfo.custom_links?(0,c.navPage)("".concat(i.goodsInfo.custom_links)):(i.goodsInfo.pageShowType,(0,c.navPage)("/store-page/product-showcase/template-1?sid=".concat(t,"&goods_id=").concat(e)))),a.next=12;break;case 9:a.prev=9,a.t0=a["catch"](2),uni.showToast({icon:"error",title:a.t0.msg});case 12:uni.hideLoading();case 13:case"end":return a.stop()}}),a,null,[[2,9]])})))()},navPage:c.navPage}};e.default=g},e610:function(t,e,i){"use strict";i.r(e);var a=i("e8c9"),n=i("212b");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("a816");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"33cb414a",null,!1,a["a"],void 0);e["default"]=r.exports},e69c:function(t,e,i){"use strict";var a=i("290a"),n=i.n(a);n.a},e6c5:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("473f"),i("bf0f");var n=a(i("495e")),o=a(i("644f")),s=(i("d55c"),{props:{value:{type:Boolean,default:!1},data:{type:Object,default:function(){return{}}}},components:{CenterModal:n.default,RedpacketTicket:o.default},data:function(){return{showModal:!1,topImage:"",bgColor:"",redpacketData:[],isShowPopup:!0,list:[{use_days_limit_text:1,title:5,discount:"222",condition:"111"}],screenHeight:0}},computed:{redpacketListStyle:function(){var t={};return this.bgColor&&(t.backgroundColor=this.bgColor),t}},watch:{value:{handler:function(t){t&&this.handleFormatData(),this.showModal=t},immediate:!0}},mounted:function(){this.getSystemInfo()},methods:{handleFormatData:function(){this.topImage=this.data.topImage,this.bgColor=this.data.bgColor,this.redpacketData=this.data.data.map((function(t){return{id:t.id,image:t.image,title:t.name,endtime:t.remarks,limit:null!==t&&void 0!==t&&t.endtime?"有效期至 ".concat(t.endtime):"不限使用时间",condition:t.full,discount:t.reduce,btnText:t.btnText,pagePath:t.pagePath,but_name:t.but_name}}))},getSystemInfo:function(){var t=this;uni.getSystemInfo({success:function(e){console.log(e),t.screenHeight=e.windowHeight}})},handleModalCloseEvent:function(){this.$emit("input",!1),this.$emit("close")},ticketClickEvent:function(t){uni.navigateTo({url:"".concat(this.redpacketData[t].pagePath)})}}});e.default=s},e6fc:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticStyle:{"margin-top":"20rpx"}},[e("v-uni-view",{style:{height:this.config.height?this.config.height+"px":"10px",width:"100%"}})],1)},n=[]},e76c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.openModal?i("v-uni-view",{staticClass:"ImgModal"},[i("v-uni-view",{staticClass:"ImgModal__content"},[i("v-uni-image",{staticClass:"ImgModal__content__img",staticStyle:{width:"100%",height:"600rpx"},attrs:{mode:"aspectFill",src:t.openModal?t.removeThumbnail(t.mode.image):""}}),i("v-uni-view",{staticClass:"tn-text-bold",staticStyle:{"margin-top":"20rpx","font-size":"36rpx"}},[t._v(t._s(t.mode.title))]),i("v-uni-view",{staticClass:"tn-text-bold desc",staticStyle:{"margin-top":"20rpx",color:"#FFA726"}},[t._v(t._s(t.mode.content))]),i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.mode.price))])],1),i("v-uni-view",{staticClass:"ImgModal__content__close tn-icon-close-circle",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.closeModal()}}})],1)],1):t._e()},n=[]},e7c8:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.ImgModal[data-v-51387a22]{width:100%;height:100%;position:fixed;top:0;left:0;right:0;border:0;background-color:rgba(0,0,0,.4);transition:.25s linear;transition-property:opacity;opacity:1;z-index:999989}.ImgModal__content[data-v-51387a22]{top:22%;width:calc(100% - 60px);height:auto;position:relative;box-sizing:border-box;background-color:#fff;padding:15px 15px;border-radius:15px;margin:auto}.ImgModal__content__close[data-v-51387a22]{position:relative;bottom:%?-150?%;margin:0 auto;align-content:center;text-align:center;color:#fff;font-size:%?60?%}.price[data-v-51387a22]{display:flex;align-items:flex-end;font-size:%?36?%;line-height:1;font-weight:700;margin-top:%?60?%}.price .unit[data-v-51387a22]{font-size:%?24?%;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.price.old[data-v-51387a22]{text-decoration:line-through;font-size:%?24?%;font-weight:400;margin-left:%?10?%}.price.old .unit[data-v-51387a22]{-webkit-transform:translateY(%?0?%);transform:translateY(%?0?%)}',""]),t.exports=e},e7df:function(t,e,i){var a=i("c7e8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6c542806",a,!0,{sourceMap:!1,shadowMode:!1})},e7f3:function(t,e,i){"use strict";i.r(e);var a=i("570a"),n=i("736c");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("fb43");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"286a2cf0",null,!1,a["a"],void 0);e["default"]=r.exports},e81f:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("74ff")),o={name:"tn-notice-bar",mixins:[n.default],props:{textSize:{type:Number,default:26},list:{type:Array,default:function(){return[]}},show:{type:Boolean,default:!0},playStatus:{type:String,default:"play"},mode:{type:String,default:"horizontal"},leftIcon:{type:Boolean,default:!0},leftIconName:{type:String,default:"sound"},leftIconSize:{type:Number,default:34},rightIcon:{type:Boolean,default:!1},rightIconName:{type:String,default:"right"},rightIconSize:{type:Number,default:26},closeBtn:{type:Boolean,default:!1},radius:{type:Number,default:0},padding:{type:String,default:"18rpx 24rpx"},autoplay:{type:Boolean,default:!0},duration:{type:Number,default:2e3},speed:{type:Number,default:160},circular:{type:Boolean,default:!0},autoHidden:{type:Boolean,default:!0}},computed:{showNotice:function(){return!(!1===this.show||this.autoHidden&&0===this.list.length)}},data:function(){return{}},methods:{click:function(t){this.$emit("click",t)},close:function(){this.$emit("close")},clickLeftIcon:function(){this.$emit("clickLeft")},clickRightIcon:function(){this.$emit("clickRight")},end:function(){this.$emit("end")},updateIndex:function(t){this.$emit("updateIndex",t)}}};e.default=o},e871:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5ef2"),i("f7a5"),i("20f3"),i("4626"),i("5ac7");var n=a(i("74ff")),o={mixins:[n.default],name:"tn-button",behaviors:["wx://form-field-button"],props:{index:{type:[Number,String],default:0},shape:{type:String,default:"default"},shadow:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:""},size:{type:String,default:""},fontBold:{type:Boolean,default:!1},padding:{type:String,default:"0 30rpx"},margin:{type:String,default:""},plain:{type:Boolean,default:!1},border:{type:Boolean,default:!0},borderBold:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},formType:{type:String,default:""},openType:{type:String,default:""},blockRepeatClick:{type:Boolean,default:!1}},computed:{buttonClass:function(){var t="";switch(this.shape){case"icon":case"round":t+=" tn-round";break}if(this.shadow)if(""!==this.backgroundColorClass&&-1!=this.backgroundColorClass.indexOf("tn-bg")){var e=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-shadow-".concat(e)}else t+=" tn-shadow-blur";if(this.fontBold&&(t+=" tn-text-bold"),this.plain&&(t+=" tn-btn--plain",this.border&&(t+=" tn-border-solid",this.borderBold&&(t+=" tn-bold-border"),""!==this.backgroundColor&&this.backgroundColor.includes("tn-bg")))){var i=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-border-".concat(i)}return t},buttonStyle:function(){var t={};switch(this.size){case"sm":t.padding="0 20rpx",t.fontSize="22rpx",t.height=this.height||"48rpx";break;case"lg":t.padding="0 40rpx",t.fontSize="32rpx",t.height=this.height||"80rpx";break;default:t.padding="0 30rpx",t.fontSize="28rpx",t.height=this.height||"64rpx"}return this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),t.width="icon"===this.shape?t.height:this.width,t.padding="icon"===this.shape?"0":t.padding,this.fontColorStyle&&(t.color=this.fontColorStyle),this.backgroundColorClass||(this.plain?t.borderColor=this.backgroundColorStyle||"#080808":t.background=this.backgroundColorStyle||"#FFFFFF"),this.shadow&&!this.backgroundColorClass&&(-1!=this.backgroundColorStyle.indexOf("#")?t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"#000000","10"):-1==this.backgroundColorStyle.indexOf("rgb")&&-1==this.backgroundColorStyle.indexOf("rgba")&&this.backgroundColorStyle||(t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"rgba(0, 0, 0, 0.1)"))),t}},data:function(){return{clickTime:0,clickIntervalTime:200}},methods:{handleClick:function(){var t=this;if(!this.disabled){if(this.blockRepeatClick){var e=(new Date).getTime();if(e-this.clickTime<=this.clickIntervalTime)return;this.clickTime=e,setTimeout((function(){t.clickTime=0}),this.clickIntervalTime)}this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})}},handleGetUserInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("getuserinfo",i)},handleContact:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("contact",i)},handleGetPhoneNumber:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("getphonenumber",i)},handleError:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.detail,i=void 0===e?{}:e;this.$emit("error",i)}}};e.default=o},e8c9:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"store-info"},[i("v-uni-view",{staticClass:"list-card user-info tn-margin-top"},[i("v-uni-view",{staticClass:"list__top"},[i("v-uni-view",{staticClass:"top-title"},[t._v("门店实景")])],1),i("v-uni-view",{staticClass:"list__wrapper tn-shadow"},[i("v-uni-view",{staticClass:"list__item"},[i("v-uni-view",{staticClass:"images"},t._l(t.store.images,(function(e,a){return i("v-uni-image",{key:a,staticClass:"image",attrs:{src:e,mode:"aspectFill"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.previewImage(t.store.images,a)}}})})),1)],1)],1)],1),i("v-uni-view",{staticClass:"list-card user-info tn-margin-top"},[i("v-uni-view",{staticClass:"list__top"},[i("v-uni-view",{staticClass:"top-title"},[t._v("营业资质")])],1),i("v-uni-view",{staticClass:"list__wrapper tn-shadow"},[i("v-uni-view",{staticClass:"list__item"},[i("v-uni-view",{staticClass:"images"},[t._l(t.store.qualification,(function(e,a){return[e?i("v-uni-image",{key:a+"_0",staticClass:"image",attrs:{src:e,mode:"aspectFill"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.previewImage(t.store.qualification,t.index)}}}):t._e()]}))],2)],1)],1)],1),i("v-uni-view",{staticClass:"list-card user-info tn-margin-top"},[i("v-uni-view",{staticClass:"list__wrapper tn-shadow"},[i("v-uni-view",{staticClass:"list__item"},[i("v-uni-view",{staticClass:"item-data between"},[i("v-uni-view",{staticClass:"item--left tn-flex-row-center"},[t._v("商家电话:"),i("span",{on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.callMobileContact.apply(void 0,arguments)}}},[t._v(t._s(t.store.mobile))])])],1)],1),i("v-uni-view",{staticClass:"list__item"},[i("v-uni-view",{staticClass:"item-data between"},[i("v-uni-view",{staticClass:"item--left tn-flex-row-center"},[t._v("地址: "+t._s(t.store.address))])],1)],1),i("v-uni-view",{staticClass:"list__item"},[i("v-uni-view",{staticClass:"item-data between"},[i("v-uni-view",{staticClass:"item--left tn-flex-row-center"},[t._v("营业时间: "+t._s(t.store.business_hours_cn))])],1)],1)],1)],1)],1)},n=[]},e9ea:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-rate[data-v-687316f3]{display:inline-flex;align-items:center;margin:0;padding:0}.tn-rate__wrap__icon[data-v-687316f3]{position:relative;box-sizing:border-box}.tn-rate__wrap__icon--half[data-v-687316f3]{position:absolute;top:0;left:0;display:inline-block;overflow:hidden;width:50%}',""]),t.exports=e},e9f1:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return this.content?e("div",{staticClass:"rich-content"},[e("v-uni-rich-text",{staticClass:"rich-text",attrs:{nodes:this.format_content}})],1):this._e()},n=[]},ea48:function(t,e,i){"use strict";i.r(e);var a=i("5f85"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},eb5c:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("aa9c"),i("64aa");var n=i("419c"),o=i("38f3"),s=i("af51"),r=a(i("34cae")),c=a(i("a5f1")),d=a(i("6fbe")),l=a(i("dc1f")),u=(a(i("8c27")),i("9d0a")),f={options:{virtualHost:!0},components:{StoreListItem:c.default,PaySelectModal:r.default},mixins:[d.default,l.default],data:function(){return{type:-1,navbarBgOpacity:0,orderId:0,showSelectPayWayModal:!1,canBuy:!1,tcRedEnvelope:[],mealRedpacket:{},jlRedEnvelope:[],shopData:[],loadingShow:!1,is_show:!1}},onPageScroll:function(t){var e=t.scrollTop,i=this.navBarInfo.height-this.boundingInfo.top,a=e/i;a>1&&(a=1),a<.1&&(a=0),this.navbarBgOpacity=a},computed:{homePageNavbarStyle:function(){var t={};return t.backgroundColor="rgba(255, 255, 255, ".concat(this.navbarBgOpacity,")"),t}},created:function(){this.initCustomNavBarInfo()},onLoad:function(){this.getMealRedpacketIndex()},methods:{cancellationOrder:function(){(0,s.cancelTcOrderApi)(this.orderId).then((function(t){})).catch((function(t){console.error("[order-cancel]取消订单失败",t),(0,u.showToast)({title:"取消订单失败, 请重试"})}))},cancelPayEvent:function(){this.cancellationOrder()},failPayEvent:function(){this.cancellationOrder()},successPayEvent:function(){0==this.type&&(this.canBuy=!0,uni.showModal({title:"提示",content:"恭喜您开通会员,获得专属红包福利!快去下单吧!",showCancel:!1,success:function(t){t.confirm&&(0,n.navPage)("/pages/index/index","reLaunch")}})),1==this.type&&uni.showModal({title:"提示",content:"您已成功购买加量红包,快去下单吧!",showCancel:!1,success:function(t){t.confirm&&(0,n.navPage)("/pages/index/index","reLaunch")}})},createOrderJl:function(t,e){var i=this;this.canBuy?(0,u.showToast)({title:"需先开通会员才可购买加量红包"}):(this.type=1,(0,o.createOrderJlRedpacket)({mealRedpacket_id:e,dosages_index:t}).then((function(t){i.orderId=t.data.id,setTimeout((function(){i.$nextTick((function(){i.showSelectPayWayModal=!0}))}),150)})).catch((function(t){console.error("创建加量红包订单失败",t)})))},createOrderTc:function(t){var e=this;this.canBuy?(this.type=0,(0,o.createOrderTcRedpacket)({mealRedpacket_id:t}).then((function(t){e.orderId=t.data.id,setTimeout((function(){e.$nextTick((function(){e.showSelectPayWayModal=!0}))}),150)})).catch((function(t){console.error("创建套餐红包订单失败",t)}))):(0,u.showToast)({title:"本月次数已用完"})},getMealRedpacketIndex:function(){var t=this;this.loadingShow=!0,(0,o.getMealRedpacket)().then((function(e){for(var i in t.is_show=!0,e.mealRedpacket.data.redpackets){var a=e.mealRedpacket.data.redpackets[i];t.tcRedEnvelope.push(a)}t.mealRedpacket=e.mealRedpacket,t.jlRedEnvelope=e.dosages,t.canBuy=e.can_buy_meal_redpacket;var n=e.exchanges.stores;if(n&&n.length>0){for(var o=[],s=0;s<n.length;s++){var r,c,d,l,u,f,p,v,h,g,m,b=Number((null===(r=n[s])||void 0===r?void 0:r.delivery_price)||0);1===(null===(c=n[s])||void 0===c?void 0:c.free_deliveryfee)&&(b=0);a={id:n[s].id,title:n[s].title,logo:n[s].logo||"",content:n[s].content,score:Number(n[s].score||0),sailed:n[s].sailed,isRest:(null===(d=n[s])||void 0===d?void 0:d.is_rest)||0,isInBusiness:(null===(l=n[s])||void 0===l?void 0:l.is_in_business)||0,label:"",deliveryTime:(null===(u=n[s])||void 0===u?void 0:u.delivery_time)||0,distance:(null===(f=n[s])||void 0===f?void 0:f.distance)||0,sendPrice:(null===(p=n[s])||void 0===p?void 0:p.send_price)||0,deliveryPrice:b,activityLabels:(null===(v=n[s])||void 0===v||null===(h=v.activity)||void 0===h?void 0:h.labels)||[],delivery_title:(null===(g=n[s])||void 0===g?void 0:g.delivery_title)||"闪电侠配送",rest_reserve_cn:(null===(m=n[s])||void 0===m?void 0:m.rest_reserve_cn)||""};o.push(a)}t.shopData=o}})).catch((function(e){t.redPackets=[]})).finally((function(){t.loadingShow=!1}))},reloadMealRedPacket:function(){this.tcRedEnvelope=[],this.mealRedpacket={},this.jlRedEnvelope=[],this.shopData=[],this.getMealRedpacketIndex()}}};e.default=f},ebc4:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{wxsProps:{"change:autoplayFlag":"autoplayFlag","change:currentIndex":"swiperIndex","change:itemData":"itemData","change:list":"swiperList"},staticClass:"tn-stack-swiper-class tn-stack-swiper",style:{width:t.$tn.string.getLengthUnitValue(t.width),height:t.$tn.string.getLengthUnitValue(t.height)},attrs:{list:t.swiperList,itemData:t.itemData,currentIndex:t.swiperIndex,autoplayFlag:t.autoplayFlag,"change:list":t.wxs.listObserver,"change:itemData":t.wxs.itemDataObserver,"change:currentIndex":t.wxs.swiperIndexChange,"change:autoplayFlag":t.wxs.autoplayFlagChange}},[t._l(t.list,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticClass:"tn-stack-swiper__item",class:["tn-stack-swiper__item--"+t.direction],attrs:{"data-index":a,"data-switchRate":t.switchRate},on:{touchstart:function(e){e=t.$handleWxsEvent(e),t.wxs.touchStart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.wxs.touchMove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.wxs.touchEnd(e,t.$getComponentDescriptor())}}},[i("v-uni-image",{staticClass:"tn-stack-swiper__image",attrs:{src:e.image}}),i("v-uni-view",{staticClass:"discount-continer"},[i("v-uni-view",{staticClass:"tn-margin-left-xs tn-flex-row"},[i("v-uni-view",{staticClass:"tn-bg-white tn-padding-xs discount-left"},[i("v-uni-text",{staticClass:"tn-icon-shop-fill tn-color-red tn-margin-right-xs"}),i("v-uni-text",[t._v(t._s(e.discount||0)+"折")])],1),i("v-uni-view",{staticClass:"tn-bg-red tn-color-white tn-padding-xs discount-right"},[i("v-uni-text",{staticClass:"tn-text-xs tn-margin-left-xs"},[t._v("RM")]),i("v-uni-text",{staticClass:"tn-margin-right-xs"},[t._v(t._s(e.price))]),i("v-uni-text",{staticClass:"tn-text-xs",staticStyle:{"text-decoration":"line-through"}},[t._v("RM"+t._s(e.oldPrice))])],1)],1),i("v-uni-view",{staticClass:"discount-title"},[t._v(t._s(e.title))])],1)],1)]}))],2)},n=[]},ebf3:function(t,e,i){"use strict";i.r(e);var a=i("b531"),n=i("7970");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("efd3");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"16d159ee",null,!1,a["a"],void 0);e["default"]=r.exports},ecb49:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"search-box tn-color-grey",style:[t.searchBoxStyle]},[0==t.indexSearchStyle?i("v-uni-view",{staticClass:"search-box__icon"},[i("v-uni-text",{staticClass:"tn-icon-search"})],1):t._e(),0==t.indexSearchStyle?i("v-uni-view",{staticClass:"search-box__notice"},[t._v("搜索")]):t._e(),1==t.indexSearchStyle?i("v-uni-view",{staticClass:"search-box__notice"}):t._e(),1==t.indexSearchStyle?i("v-uni-view",{staticClass:"search-box__icon tn-margin-right-sm"},[i("v-uni-text",{staticClass:"tn-icon-search tn-text-xl"})],1):t._e()],1)},n=[]},ee42:function(t,e,i){"use strict";i.r(e);var a=i("7f8de"),n=i("02d8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("e496");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"71ec44de",null,!1,a["a"],void 0);e["default"]=r.exports},ef4f:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=a(i("6fbe")),o=i("78b4"),s={props:{data:{type:Object,default:function(){return{}}},table_name:[String,Number]},mixins:[n.default],data:function(){return{is_favorite:!1}},created:function(){this.initCustomNavBarInfo(),this.getOrderDinnerStoreId()},watch:{"data.storeInfo":{handler:function(t){this.is_favorite=t.is_favorite},deep:!0}},methods:{getOrderDinnerStoreId:function(){var t=uni.getStorageSync(_this.brand+"_storeCode")||"";(0,o.getOrderDinnerStoreIdApi)({type:"mcdonalds",storeCode:t}).then((function(t){console.log("res",t)}))},favorite:function(){var t=this;this.is_favorite=!this.is_favorite,console.log(this.is_favorite?1:2),(0,o.postStoreCollectApi)({sid:this.data.storeInfo.id,type:this.is_favorite?1:2}).then((function(e){console.log("rrrr",e,t.is_favorite)}))}}};e.default=s},efd3:function(t,e,i){"use strict";var a=i("04b1"),n=i.n(a);n.a},f004:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("fd3c"),i("5c47"),i("2c10"),i("5ef2"),i("4626"),i("5ac7"),i("a1c1");var a=i("419c"),n={options:{virtualHost:!0},props:{data:{type:Array,default:function(){return[]}},type:{type:[String,Number],default:""},datatile:{type:[String,Number],default:0},marginTop:{type:[String,Number],default:0},marginBottom:{type:[String,Number],default:0}},data:function(){return{imageNum:0,showType:-1}},watch:{data:{handler:function(t){this._setShowType()}}},created:function(){this._setShowType()},methods:{goToImage:function(t,e){if(t){var i=t.match(/tel:/);if(console.log("isTel",i),-1===t.indexOf("webview")){if(-1!==t.indexOf("miniProgram"))return t.includes("/pages/index/pages/template-1")?void this.$emit("handoffTabbar",t):void(0,a.navPage)(t);if(!i)return t.includes("/pages/index/pages/template-1")?void this.$emit("handoffTabbar",t):void uni.navigateTo({url:t});(0,a.navPage)(t.split("tel:")[1],"phone"),i?(0,a.navPage)(t.split("tel:")[1],"phone"):uni.navigateTo({url:t,fail:function(t){console.error("[navigateTo]跳转页面失败",t)}})}else{var n=this.emoveWebviewPrefix(t);uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(n))})}}else{var o=this.data.map((function(t){return t.url}));this.previewImage(o,e)}},emoveWebviewPrefix:function(t){return t.replace(/^webview:/,"")},previewImage:function(t,e){uni.previewImage({current:e,urls:t})},_setShowType:function(){this.type?this.showType=Number(this.type):this.data&&this.data.length>0&&(this.showType=this.data.length)},navPage:a.navPage}};e.default=n},f065:function(t,e,i){"use strict";i.r(e);var a=i("716f"),n=i("7fb8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9e5e"),i("d2f9");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1bc97790",null,!1,a["a"],void 0);e["default"]=r.exports},f122:function(t,e,i){var a=i("909c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("37163ee9",a,!0,{sourceMap:!1,shadowMode:!1})},f1f2:function(t,e,i){"use strict";i.r(e);var a=i("c82a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},f298:function(t,e,i){"use strict";var a=i("497b"),n=i("9e70"),o=i("862c"),s=RangeError;t.exports=function(t){var e=n(o(this)),i="",r=a(t);if(r<0||r===1/0)throw new s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(i+=e);return i}},f2ac:function(t,e,i){"use strict";var a=i("1950"),n=i.n(a);n.a},f2b9:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"tn-rate-class tn-rate",attrs:{id:t.elId},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)}}},t._l(t.count,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tn-rate__wrap",class:[t.elClass]},[i("v-uni-view",{staticClass:"tn-rate__wrap__icon",class:["tn-icon-"+((t.allowHalf&&t.halfIcon?t.activeIndex>a+1:t.activeIndex>a)?t.elActionIcon:t.elInactionIcon)],style:[t.iconStyle(a)],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click(a+1,e)}}},[t.showHalfIcon(a)?i("v-uni-view",{staticClass:"tn-rate__wrap__icon--half",class:["tn-icon-"+t.elActionIcon],style:[t.halfIconStyle]}):t._e()],1)],1)})),1)},n=[]},f2e5:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.signInApi=e.postEexchange=e.getUserIntegral=e.getCreditshopOrderList=e.getCreditshopOrderDetail=e.getCommodityDetail=e.getClass=void 0;var n=a(i("7653"));e.getUserIntegral=function(){return n.default.get("api/user.creditshop.creditshop/getUserCreditShop",{})};e.signInApi=function(){return n.default.post("api/user.creditshop.creditshop/CreditShopSign",{})};e.getClass=function(t){var e=t.page,i=t.cid;return n.default.get("api/user.creditshop.creditshop/getGoodsByCid",{page:e,cid:i})};e.getCommodityDetail=function(t){var e=t.goods_id;return n.default.get("api/user.creditshop.creditshop/getGoodsDetail",{goods_id:e})};e.getCreditshopOrderList=function(t){var e=t.page,i=t.psize,a=t.status_index;return n.default.get("api/user.creditshop.CreditshopOrder/getOrderList",{page:e,psize:i,status_index:a})};e.getCreditshopOrderDetail=function(t){var e=t.id;return n.default.get("api/user.creditshop.CreditshopOrder/getOrderDetail",{id:e})};e.postEexchange=function(t){var e=t.goods_id,i=t.options_index;return n.default.post("api/user.creditshop.creditshop_order/creditExchange",{goods_id:e,options_index:i})}},f3fd:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnModal:i("c9f6").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"mine-page theme-mine-page",staticStyle:{"padding-bottom":"160rpx"},style:{background:2==t.page_type&&t.diy_mine_nav_lists.length>0?"linear-gradient(180deg, rgba(252, 217, 98, 0.4) 0%, rgba(232, 232, 232, 0.4) 100%)":""}},[4==t.page_type&&t.diy_mine_nav_lists.length>0?[i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle]},[i("v-uni-view",{staticClass:"navbar__setting",style:[t.navbarContentStyle]})],1),i("v-uni-view",{staticClass:"bg",staticStyle:{position:"fixed",top:"0",left:"0",width:"100%",height:"500rpx",background:"linear-gradient(180deg, rgba(249, 88, 56, 1) 70%, rgba(239, 28, 35, 0) 100%)"}}),i("v-uni-view",{staticClass:"user-info tn-flex-row-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/user-info-page/user-info/index?is_invited="+t.is_invited+"&invited="+t.invited)}}},[i("v-uni-view",{staticClass:"avatar"},[i("v-uni-view",{staticClass:"avatar-shadow"},[t.userInfo.avatar?i("v-uni-view",{staticClass:"user-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[t.is_foodie_svip?i("v-uni-view",{staticClass:"crown"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230913162820b33ca7935.png",alt:""}})]):t._e(),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.userInfo.avatar}})],1)],1):i("v-uni-view",{staticClass:"default-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"image",attrs:{src:t.platform.logo,mode:"aspectFill"}})],1)],1)],1),i("v-uni-view",{staticClass:"user-data tn-flex-center"},[i("v-uni-view",{staticClass:"data-left"},[i("v-uni-view",{staticClass:"nickname"},[i("v-uni-view",{staticClass:"tn-flex tn-flex-col-center"},[i("v-uni-view",{staticClass:"user_nickname tn-text-ellipsis-1",staticStyle:{"margin-right":"10rpx",color:"#FFFFFF"}},[t._v(t._s(t.userInfo.nickname||t.platform.name))]),t.user.is_service?i("v-uni-view",[i("v-uni-text",{staticStyle:{color:"#FFC929","font-size":"13px","background-color":"#000000",padding:"5rpx 15rpx","border-radius":"16px"}},[t._v("服务商")])],1):t._e()],1),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("吃货SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.foodie_svip_deadline))]):t._e(),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.svip_endtime))]):t._e()],1),t.userInfo.uid?i("v-uni-view",{staticClass:"uid tn-flex-row-center"},[i("v-uni-view",{staticClass:"value",staticStyle:{color:"#FFFFFF"}},[t._v("邀请码:"+t._s(t.userInfo.uid||""))]),i("v-uni-view",{staticStyle:{"font-size":"13px","margin-left":"10rpx",padding:"5rpx 15rpx","border-radius":"16px",border:"1px solid #FFFFFF",color:"#FFFFFF"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.copyToClipBoard(t.userInfo.uid)}}},[t._v("复制")])],1):t._e()],1),i("v-uni-view",{staticClass:"data-right tn-flex-center-end",staticStyle:{color:"#FFFFFF","font-size":"24px","font-weight":"bold"}},[i("v-uni-text",{staticClass:"tn-icon-align"})],1)],1)],1),i("v-uni-view",{staticClass:"btn_box",staticStyle:{"border-radius":"12px"}},[i("v-uni-view",{staticClass:"tn-flex",staticStyle:{"justify-content":"space-between","align-items":"center"}},[i("v-uni-view",{staticClass:"tn-flex"},[i("v-uni-view",{staticStyle:{"font-size":"14px"}},[t._v("预估收益:")]),i("v-uni-view",{staticStyle:{"font-size":"16px"}},[t._v(t._s(t.CurrencyUnit)+t._s(t.user.wait_income))])],1),i("v-uni-view",{staticStyle:{"font-size":"13px",padding:"10rpx 20rpx","border-radius":"12px",border:"1px solid #000000"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/spread-page/spread/withdraw")}}},[t._v("立即提现")])],1),i("v-uni-view",{staticClass:"tn-flex",staticStyle:{margin:"auto",width:"90%","margin-top":"30rpx","justify-content":"space-between","align-items":"center","text-align":"center"}},[i("v-uni-view",[i("v-uni-view",{staticStyle:{"font-size":"20px"}},[t._v("8")]),i("v-uni-view",{staticStyle:{"font-size":"14px"}},[t._v("我邀的店")])],1),i("v-uni-view",{staticStyle:{width:"1px",height:"40px","background-color":"rgba(0, 0, 0, 0.1)"}}),i("v-uni-view",[i("v-uni-view",{staticStyle:{"font-size":"20px"}},[t._v(t._s(t.user.today_income))]),i("v-uni-view",{staticStyle:{"font-size":"14px"}},[t._v("今日收益")])],1),i("v-uni-view",{staticStyle:{width:"1px",height:"40px","background-color":"rgba(0, 0, 0, 0.1)"}}),i("v-uni-view",[i("v-uni-view",{staticStyle:{"font-size":"20px"}},[t._v(t._s(t.user.month_income))]),i("v-uni-view",{staticStyle:{"font-size":"14px"}},[t._v("本月收益")])],1)],1),i("v-uni-view",{staticStyle:{"margin-top":"30rpx",color:"#D1404E"}},[t._v("邀商家免费入驻,售出商品即可赚取佣金")])],1),i("v-uni-view",{staticClass:"btn_box"},[i("v-uni-view",{staticStyle:{"font-size":"14px","font-weight":"bold"}},[t._v("我的订单")]),i("v-uni-view",{staticClass:"tn-flex",staticStyle:{"justify-content":"space-between","align-items":"center","margin-top":"30rpx"}},[i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index?status_index=0")}}},[i("v-uni-view",{staticClass:"tn-icon-pay",staticStyle:{"font-size":"26px"}}),i("v-uni-view",{staticClass:"btn_wz"},[t._v("待付款")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index?status_index=1")}}},[i("v-uni-view",{staticClass:"tn-icon-delivery",staticStyle:{"font-size":"26px"}}),i("v-uni-view",{staticClass:"btn_wz"},[t._v("待收/待用")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index?status_index=2")}}},[i("v-uni-view",{staticClass:"tn-icon-comment",staticStyle:{"font-size":"26px"}}),i("v-uni-view",{staticClass:"btn_wz"},[t._v("待评论")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index?status_index=3")}}},[i("v-uni-view",{staticClass:"tn-icon-refund",staticStyle:{"font-size":"26px"}}),i("v-uni-view",{staticClass:"btn_wz"},[t._v("退款/售后")])],1)],1)],1),i("v-uni-view",{staticClass:"btn_box"},[i("v-uni-view",{staticClass:"tn-flex tn-flex-wrap"},[i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%","margin-bottom":"30rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/spread-page/spread/poster")}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"22px",height:"25px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/邀请赚钱1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("邀请赚钱")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%","margin-bottom":"30rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/spread-page/spread/myTeam")}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"24.62px",height:"19.72px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/我的团队1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("我的团队")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%","margin-bottom":"30rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.contactShow=!0}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"21px",height:"20px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/我的导师1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("我的导师")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%","margin-bottom":"30rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index?status_index=teamOrder")}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"18px",height:"20px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/团队订单1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("团队订单")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/my-comment/index")}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"18.2px",height:"20px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/我的评论1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("我的评论")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/address-list/index")}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"19.7px",height:"19.72px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/收货地址1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("收货地址")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/ticket/index?index=1")}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"20.4px",height:"20.43px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/优惠券1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("优惠券")])],1),i("v-uni-view",{staticStyle:{"text-align":"center",width:"25%"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/help-center/index")}}},[i("v-uni-view",{staticClass:"btn_img",staticStyle:{height:"30px",width:"30px",margin:"auto"}},[i("v-uni-image",{staticStyle:{width:"20px",height:"20px"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/agent/客服帮助1.png"}})],1),i("v-uni-view",{staticClass:"btn_wz"},[t._v("客服帮助")])],1)],1)],1),i("v-uni-view",{staticClass:"tn-flex",staticStyle:{width:"95%",margin:"auto","margin-top":"20rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/spread-page/spread/poster_goods")}}},[i("v-uni-image",{staticStyle:{width:"95vw",height:"29vw"},attrs:{src:"https://qny.wdsp666.com/uploads/images/20240926140038f3cc71875.jpg"}})],1),t._l(t.diy_mine_nav_img_lists,(function(e){return i("v-uni-view",{key:e},[i("img",{staticClass:"mine_nav_img tn-shadow",attrs:{src:e.thumb,alt:"",mode:"widthFix"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}})])}))]:t._e(),3==t.page_type&&t.diy_mine_nav_lists.length>0?[i("v-uni-view",{staticClass:"bg theme-mine-topbg"},[i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle]},[i("v-uni-view",{staticClass:"navbar__setting",style:[t.navbarContentStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/system-setting/index")}}},[i("v-uni-text",{staticClass:"tn-icon-set-fill"})],1),i("v-uni-view",{staticClass:"navbar__title",style:[t.navbarContentStyle]},[i("v-uni-text",[t._v("个人中心")])],1),i("v-uni-view",{staticStyle:{width:"286px",height:"286px","border-radius":"50%",background:"rgba(255, 255, 255, 0.2)",position:"absolute",top:"-180px",right:"-100px"}})],1),i("v-uni-view",{staticClass:"user-info tn-flex-row-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/user-info-page/user-info/index?is_invited="+t.is_invited+"&invited="+t.invited)}}},[i("v-uni-view",{staticClass:"avatar"},[i("v-uni-view",{staticClass:"avatar-shadow",staticStyle:{border:"2px solid rgba(112, 112, 112, 1)"}},[t.userInfo.avatar?i("v-uni-view",{staticClass:"user-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[t.is_foodie_svip?i("v-uni-view",{staticClass:"crown"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230913162820b33ca7935.png",alt:""}})]):t._e(),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.userInfo.avatar}})],1)],1):i("v-uni-view",{staticClass:"default-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"image",attrs:{src:t.platform.logo,mode:"aspectFill"}})],1)],1)],1),i("v-uni-view",{staticClass:"user-data tn-flex-center"},[i("v-uni-view",{staticClass:"data-left"},[i("v-uni-view",{staticClass:"nickname"},[i("v-uni-view",{staticClass:"user_nickname tn-text-ellipsis-1"},[t._v(t._s(t.userInfo.nickname||t.platform.name))]),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("吃货SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.foodie_svip_deadline))]):t._e(),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.svip_endtime))]):t._e()],1),t.userInfo.uid?i("v-uni-view",{staticClass:"uid tn-flex-row-center"},[i("v-uni-view",{staticClass:"value"},[t._v("uid: "+t._s(t.userInfo.uid||""))]),i("v-uni-view",{staticClass:"copy-btn theme-mine-copy-btn",style:[t.themeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.copyToClipBoard(t.userInfo.uid)}}},[t._v("复制uid")])],1):t._e()],1),i("v-uni-view",{staticClass:"data-right tn-flex-center-end"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1)],1),1==t.mealRedpacket.status?i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around",staticStyle:{width:"calc(100% - 60rpx)",padding:"28rpx 30rpx",display:"flex","justify-content":"space-between",background:"linear-gradient(90deg, rgba(248, 225, 184, 1) 0%, rgba(255, 209, 59, 1) 100%)","border-radius":"16rpx 16rpx 0rpx 0rpx",margin:"22rpx 30rpx 0rpx 30rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/user-info-page/becomeMember/becomeMember")}}},[i("v-uni-view",{staticStyle:{display:"flex","align-items":"center",color:"rgba(145, 98, 43, 1)"}},[i("v-uni-text",{staticClass:"tn-icon-vip-fill",staticStyle:{color:"rgb(233,162,57)","font-size":"45rpx","padding-right":"10rpx"}}),t._v(t._s(t.mealRedpacket.canBuy?"开通会员享受更多红包":"您已开通超级会员。"))],1),i("v-uni-view",{staticStyle:{color:"rgba(145, 98, 43, 1)"}},[t._v(t._s(t.mealRedpacket.canBuy?"去开通":"领取会员红包")),i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1):t._e()],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around tn-shadow",staticStyle:{"flex-wrap":"wrap",width:"calc(100% - 60rpx)",padding:"37rpx 30rpx","background-color":"#fff","border-radius":"16rpx",margin:"22rpx 30rpx 0rpx 30rpx"}},[i("v-uni-view",{staticClass:"tn-flex-center-around",staticStyle:{width:"100%","justify-content":"space-between","padding-bottom":"36rpx"}},[i("v-uni-view",[t._v("我的账户")]),t.balance_agency_chain_is_open?t._e():i("v-uni-view",{staticStyle:{color:"rgba(154, 154, 154, 1)","font-size":"24rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toBalanceList()}}},[t._v("余额明细"),i("v-uni-text",{staticClass:"tn-icon-right",staticStyle:{color:"rgba(154, 154, 154, 1)","font-size":"24rpx"}})],1)],1),i("v-uni-view",{staticClass:"tn-flex-center-around",staticStyle:{width:"100%"}},[0==t.is_open?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toBalanceList()}}},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(t.userAccount.balance)||0))]),i("v-uni-view",{staticClass:"text"},[t._v("余额")])],1):t._e(),0==t.vuex_appType?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center"},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(t.userAccount.integral)||0))]),i("v-uni-view",{staticClass:"text"},[t._v("积分")])],1):t._e(),i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/redpacket/index")}}},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.userAccount.redpacket||0))]),i("v-uni-view",{staticClass:"text"},[t._v("红包")])],1)],1)],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around tn-shadow",staticStyle:{"flex-wrap":"wrap",width:"calc(100% - 60rpx)",padding:"37rpx 0rpx","background-color":"#fff","border-radius":"16rpx",margin:"22rpx 30rpx 0rpx 30rpx"}},[i("v-uni-view",{staticClass:"tn-flex-center-around",staticStyle:{width:"calc(100% - 30rpx)","justify-content":"space-between",padding:"0rpx 15rpx 0rpx 15rpx"}},[i("v-uni-view",[t._v("订单")])],1),i("v-uni-view",{staticClass:"card",staticStyle:{padding:"0rpx 11rpx",width:"100%",margin:"0rpx"}},[i("v-uni-view",{staticClass:"card-wrapper tn-flex-wrap"},[i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/order-page/shopping-cart/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-basket-fill icon_huangse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("购物车")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-order-fill icon_qingse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("我的订单")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-comment-fill icon_huangse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("待评论")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-refund icon_lanse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("退款售后")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around tn-shadow",staticStyle:{"flex-wrap":"wrap",width:"calc(100% - 60rpx)",padding:"37rpx 0rpx","background-color":"#fff","border-radius":"16rpx",margin:"22rpx 30rpx 0rpx 30rpx"}},[i("v-uni-view",{staticClass:"tn-flex-center-around",staticStyle:{width:"calc(100% - 30rpx)","justify-content":"space-between",padding:"0rpx 15rpx 0rpx 15rpx"}},[i("v-uni-view",[t._v("更多功能")])],1),i("v-uni-view",{staticClass:"card",staticStyle:{padding:"0rpx 11rpx",width:"100%",margin:"0rpx"}},[i("v-uni-view",{staticClass:"card-wrapper tn-flex-wrap"},t._l(t.diy_mine_nav_lists,(function(e,a){return i("v-uni-view",{key:a,staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-image",{staticStyle:{width:"55rpx",height:"55rpx"},attrs:{src:e.thumb}})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v(t._s(e.title))])],1)})),1)],1)],1),t._l(t.diy_mine_nav_img_lists,(function(e){return i("v-uni-view",{key:e},[i("img",{staticClass:"mine_nav_img tn-shadow",attrs:{src:e.thumb,alt:"",mode:"widthFix"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}})])}))]:t._e(),2==t.page_type&&t.diy_mine_nav_lists.length>0?[i("v-uni-view",{staticClass:"bg"},[i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle]},[i("v-uni-view",{staticClass:"navbar__setting",style:[t.navbarContentStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/system-setting/index")}}},[i("v-uni-text",{staticClass:"tn-icon-set-fill"})],1)],1),i("v-uni-view",{staticClass:"user-info tn-flex-row-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/user-info-page/user-info/index?is_invited="+t.is_invited+"&invited="+t.invited)}}},[i("v-uni-view",{staticClass:"avatar"},[i("v-uni-view",{staticClass:"avatar-shadow"},[t.userInfo.avatar?i("v-uni-view",{staticClass:"user-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[t.is_foodie_svip?i("v-uni-view",{staticClass:"crown"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230913162820b33ca7935.png",alt:""}})]):t._e(),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.userInfo.avatar}})],1)],1):i("v-uni-view",{staticClass:"default-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"image",attrs:{src:t.platform.logo,mode:"aspectFill"}})],1)],1)],1),i("v-uni-view",{staticClass:"user-data tn-flex-center"},[i("v-uni-view",{staticClass:"data-left"},[i("v-uni-view",{staticClass:"nickname"},[i("v-uni-view",{staticClass:"user_nickname tn-text-ellipsis-1"},[t._v(t._s(t.userInfo.nickname||t.platform.name))]),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("吃货SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.foodie_svip_deadline))]):t._e(),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.svip_endtime))]):t._e()],1),t.userInfo.uid?i("v-uni-view",{staticClass:"uid tn-flex-row-center"},[i("v-uni-view",{staticClass:"value"},[t._v("uid: "+t._s(t.userInfo.uid||""))]),i("v-uni-view",{staticClass:"copy-btn",staticStyle:{"background-color":"rgba(159, 232, 252, 1)"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.copyToClipBoard(t.userInfo.uid)}}},[t._v("复制uid")])],1):t._e()],1),i("v-uni-view",{staticClass:"data-right tn-flex-center-end"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1)],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around",staticStyle:{"flex-wrap":"wrap",width:"calc(100% - 60rpx)",padding:"0rpx 30rpx","background-color":"rgba(1, 1, 1, 0)","border-radius":"16rpx",margin:"22rpx 30rpx 0rpx 30rpx"}},[i("v-uni-view",{staticClass:"tn-flex-center-around",staticStyle:{width:"100%"}},[0==t.is_open?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-list/index")}}},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(t.userAccount.balance)||0))]),i("v-uni-view",{staticClass:"text"},[t._v("余额")])],1):t._e(),0==t.vuex_appType?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center"},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(t.userAccount.integral)||0))]),i("v-uni-view",{staticClass:"text"},[t._v("积分")])],1):t._e(),i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/redpacket/index")}}},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.userAccount.redpacket||0))]),i("v-uni-view",{staticClass:"text"},[t._v("红包")])],1)],1)],1),1==t.mealRedpacket.status?i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around",staticStyle:{width:"calc(100% - 60rpx)",padding:"28rpx 30rpx",display:"flex","justify-content":"space-between",background:"linear-gradient(90deg, rgba(248, 225, 184, 1) 0%, rgba(255, 209, 59, 1) 100%)","border-radius":"16rpx",margin:"22rpx 30rpx 0rpx 30rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navPage("/user-info-page/becomeMember/becomeMember")}}},[i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[i("v-uni-text",{staticClass:"tn-icon-vip-fill",staticStyle:{color:"rgb(233,162,57)","font-size":"45rpx","padding-right":"10rpx"}}),t._v(t._s(t.mealRedpacket.canBuy?"开通会员享受更多红包":"您已开通超级会员。"))],1),i("v-uni-view",{staticStyle:{color:"rgba(145, 98, 43, 1)"}},[t._v(t._s(t.mealRedpacket.canBuy?"去开通":"领取会员红包")),i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1):t._e()],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around tn-shadow",staticStyle:{"flex-wrap":"wrap",width:"calc(100% - 60rpx)",padding:"37rpx 0rpx","background-color":"#fff","border-radius":"16rpx",margin:"22rpx 30rpx 0rpx 30rpx"}},[i("v-uni-view",{staticClass:"tn-flex-center-around",staticStyle:{width:"calc(100% - 30rpx)","justify-content":"space-between",padding:"0rpx 15rpx 0rpx 15rpx"}},[i("v-uni-view",[t._v("订单")])],1),i("v-uni-view",{staticClass:"card",staticStyle:{padding:"0rpx 11rpx",width:"100%",margin:"0rpx"}},[i("v-uni-view",{staticClass:"card-wrapper tn-flex-wrap"},[i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/order-page/shopping-cart/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-basket-fill icon_huangse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("购物车")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-order-fill icon_qingse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("我的订单")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-comment-fill icon_huangse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("待评论")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 4)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index")}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-text",{staticClass:"tn-icon-refund icon_lanse"})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v("退款售后")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around tn-shadow",staticStyle:{"flex-wrap":"wrap",width:"calc(100% - 60rpx)",padding:"37rpx 0rpx","background-color":"#fff","border-radius":"16rpx",margin:"22rpx 30rpx 0rpx 30rpx"}},[i("v-uni-view",{staticClass:"tn-flex-center-around",staticStyle:{width:"calc(100% - 30rpx)","justify-content":"space-between",padding:"0rpx 15rpx 0rpx 15rpx"}},[i("v-uni-view",[t._v("更多功能")])],1),i("v-uni-view",{staticClass:"card",staticStyle:{padding:"0rpx 11rpx",width:"100%",margin:"0rpx"}},[i("v-uni-view",{staticClass:"card-wrapper tn-flex-wrap"},t._l(t.diy_mine_nav_lists,(function(e,a){return i("v-uni-view",{key:a,staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{width:"calc(100% / 5)",padding:"6rpx 0rpx 10rpx 0rpx"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}},[i("v-uni-view",{staticClass:"icon",staticStyle:{"font-size":"55rpx"}},[i("v-uni-image",{staticStyle:{width:"55rpx",height:"55rpx"},attrs:{src:e.thumb}})],1),i("v-uni-view",{staticClass:"title",staticStyle:{"font-size":"27rpx"}},[t._v(t._s(e.title))])],1)})),1)],1)],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around tn-shadow",staticStyle:{"flex-wrap":"wrap",width:"calc(100% - 60rpx)",padding:"0rpx 40rpx","background-color":"#fff","border-radius":"16rpx",margin:"22rpx 30rpx 100rpx 30rpx"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"110rpx",display:"flex","justify-content":"space-between","align-items":"center","border-bottom":"solid #F6F6F6 2rpx"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/help-center/index")}}},[i("v-uni-view",{staticStyle:{height:"110rpx",display:"flex","align-items":"center"}},[i("v-uni-view",{staticStyle:{display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"center"}},[i("v-uni-view",{staticClass:"tn-icon-service-simple-fill",staticStyle:{width:"100%","font-size":"42rpx"}})],1),t._v("客服")],1),i("v-uni-view",{staticClass:"tn-icon-right",staticStyle:{color:"#CBCBCB"}})],1),i("v-uni-view",{staticStyle:{width:"100%",height:"110rpx",display:"flex","justify-content":"space-between","align-items":"center"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/help-center/index")}}},[i("v-uni-view",{staticStyle:{height:"110rpx",display:"flex","align-items":"center"}},[i("v-uni-view",{staticStyle:{display:"flex","flex-wrap":"wrap","align-items":"center","justify-content":"center"}},[i("v-uni-view",{staticClass:"tn-icon-help",staticStyle:{width:"100%","font-size":"42rpx"}})],1),t._v("问题")],1),i("v-uni-view",{staticClass:"tn-icon-right",staticStyle:{color:"#CBCBCB"}})],1)],1),t._l(t.diy_mine_nav_img_lists,(function(e){return i("v-uni-view",{key:e},[i("img",{staticClass:"mine_nav_img tn-shadow",attrs:{src:e.thumb,alt:"",mode:"widthFix"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}})])}))]:t._e(),1==t.page_type||0==t.diy_mine_nav_lists.length?[t.isLogin?i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle]},[i("v-uni-view",{staticClass:"navbar__setting",style:[t.navbarContentStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/system-setting/index")}}},[i("v-uni-text",{staticClass:"tn-icon-set-fill"})],1)],1):t._e(),t.isLogin?t._e():i("v-uni-view",{staticClass:"navbar",style:[t.navBarStyle]},[i("v-uni-view",{staticClass:"navbar__setting",style:[t.navbarContentStyle]},[i("v-uni-text",{})],1)],1),i("v-uni-view",{staticClass:"bg",staticStyle:{position:"fixed",top:"0",left:"0",width:"100%",height:"800rpx","background-image":"var(--theme-mine-topbg1)","z-index":"-10"}}),t.isLogin?i("v-uni-view",{},[i("v-uni-view",{staticClass:"user-info tn-flex-row-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/user-info-page/user-info/index?is_invited="+t.is_invited+"&invited="+t.invited)}}},[i("v-uni-view",{staticClass:"avatar"},[i("v-uni-view",{staticClass:"avatar-shadow"},[t.userInfo.avatar?i("v-uni-view",{staticClass:"user-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[t.is_foodie_svip?i("v-uni-view",{staticClass:"crown"},[i("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230913162820b33ca7935.png",alt:""}})]):t._e(),i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:t.userInfo.avatar}})],1)],1):i("v-uni-view",{staticClass:"default-avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"image",attrs:{src:t.platform.logo,mode:"aspectFill"}})],1)],1)],1),i("v-uni-view",{staticClass:"user-data tn-flex-center"},[i("v-uni-view",{staticClass:"data-left"},[i("v-uni-view",{staticClass:"nickname"},[i("v-uni-view",{staticClass:"user_nickname tn-text-ellipsis-1"},[t._v(t._s(t.userInfo.nickname||t.platform.name))]),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip"},[i("v-uni-view",{staticClass:"foodie_svip_text"},[t._v("吃货SVIP")])],1):t._e(),t.is_foodie_svip&&!t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.foodie_svip_deadline))]):t._e(),t.is_svip?i("v-uni-view",{staticClass:"foodie_svip_deadline"},[t._v(t._s(t.svip_endtime))]):t._e(),t.isDiscountExpired||"main"!=t.cardType||"enterprise"!=t.cType?t._e():i("v-uni-view",{staticClass:"invite_card",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.myQrCode.apply(void 0,arguments)}}},[t._v("邀请企业员工")])],1),t.userInfo.uid?i("v-uni-view",{staticClass:"uid tn-flex-row-center"},[i("v-uni-view",{staticClass:"value"},[t._v("uid: "+t._s(t.userInfo.uid||""))]),i("v-uni-view",{staticClass:"copy-btn theme-mine-copy-btn",style:[t.themeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.copyToClipBoard(t.userInfo.uid)}}},[t._v("复制uid")])],1):t._e()],1),i("v-uni-view",{staticClass:"data-right tn-flex-center-end"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1)],1),i("v-uni-view",{staticClass:"user-account-info tn-flex-center-around"},[0==t.is_open?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toBalanceList()}}},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(t.userAccount.balance)||0))]),i("v-uni-view",{staticClass:"text"},[t._v("余额")])],1):t._e(),t.is_open&&!t.is_only_brand?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toBalanceList()}}},[i("v-uni-view",{staticClass:"value",staticStyle:{"font-size":"24rpx"}},[t._v("点击查询余额")]),i("v-uni-view",{staticClass:"text"},[t._v("余额")])],1):t._e(),t.is_open&&t.is_only_brand?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-recharge/index?brand_id="+t.only_brand_id)}}},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(t.only_brand_balance)||0))]),i("v-uni-view",{staticClass:"text"},[t._v("余额")])],1):t._e(),0==t.vuex_appType?i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center"},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.formatPrice(t.userAccount.integral)||0))]),i("v-uni-view",{staticClass:"text"},[t._v("积分")])],1):t._e(),i("v-uni-view",{staticClass:"info-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/redpacket/index")}}},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.userAccount.redpacket||0))]),i("v-uni-view",{staticClass:"text"},[t._v("红包")])],1)],1)],1):i("v-uni-view",{staticClass:"card tn-shadow",staticStyle:{"background-color":"white","border-radius":"20rpx",padding:"40rpx 20rpx",margin:"10rpx 30rpx 30rpx 30rpx",display:"flex","flex-direction":"column","align-items":"center","font-size":"32rpx"}},[i("v-uni-view",{staticStyle:{"margin-bottom":"30rpx"}},[t._v("您暂未登录,点击下方登录按钮")]),i("v-uni-view",{staticStyle:{"background-color":"#ffca28","border-radius":"50rpx",padding:"15rpx 40rpx",color:"white"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/user-info-page/login/login?from=expireLogin")}}},[t._v("登录/注册")])],1),t.balance_agency_chain_is_open?i("v-uni-view",{staticClass:"card tn-shadow"},[i("v-uni-view",{staticClass:"card-wrapper tn-flex-wrap balance_agency_chain"},[i("v-uni-view",{staticClass:"line1"},[i("v-uni-view",{staticClass:"left"},[t._v("账户总余额")]),i("v-uni-view",{staticClass:"mid"}),i("v-uni-view",{staticClass:"right",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-list/agency_list")}}},[i("v-uni-text",[t._v("查看")])],1)],1),i("v-uni-view",{staticClass:"line2"},[i("v-uni-view",{staticClass:"left"},[t._v(t._s(t.CurrencyUnit)+t._s(t.user_balance.credit2))]),i("v-uni-view",{staticClass:"mid"}),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-recharge/index?agentid="+t.user_balance.agentid)}}},[t._v("充值")])],1)],1)],1)],1):t._e(),t.isShowCard?i("v-uni-view",{staticClass:"partner-center"},[i("v-uni-view",{staticClass:"partner-center-content"},[i("v-uni-view",{staticClass:"title-content"},[i("v-uni-view",{staticClass:"title-content-detail"},[i("v-uni-view",{staticClass:"partner-center-title"},[i("v-uni-text",{staticClass:"title1"},[t._v("合伙人中心")]),i("v-uni-text",{staticClass:"title2"},[t._v(t._s(t.cardInfo.spread_group_name))])],1),i("v-uni-view",{staticClass:"tips",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/spread-page/spread/index")}}},[t._v("详情"),i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1)],1),i("v-uni-view",{staticClass:"data-content"},[i("v-uni-view",{staticClass:"data-item"},[i("v-uni-view",{staticClass:"data-item-value color-green"},[t._v(t._s(t.cardInfo.down))]),i("v-uni-view",{staticClass:"data-item-title"},[t._v("我的团队")])],1),i("v-uni-view",{staticClass:"data-item"},[i("v-uni-view",{staticClass:"data-item-value color-blue"},[t._v(t._s(t.cardInfo.orderCount))]),i("v-uni-view",{staticClass:"data-item-title"},[t._v("推广订单")])],1),i("v-uni-view",{staticClass:"data-item"},[i("v-uni-view",{staticClass:"data-item-value color-orange"},[t._v(t._s(t.cardInfo.todayCommision))]),i("v-uni-view",{staticClass:"data-item-title"},[t._v("今日佣金")])],1),i("v-uni-view",{staticClass:"data-item"},[i("v-uni-view",{staticClass:"data-item-value color-red"},[t._v(t._s(t.cardInfo.totalCommision))]),i("v-uni-view",{staticClass:"data-item-title"},[t._v("返佣总额")])],1)],1)],1)],1):t._e(),t.isDiscountExpired?i("v-uni-view",{staticClass:"cardBuy"},[i("v-uni-view",{staticClass:"left"},[i("img",{staticStyle:{position:"absolute",top:"0",left:"0",width:"54%","z-index":"-1"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/Rectangle850.png",alt:"",mode:"widthFix"}}),i("v-uni-view",[i("img",{staticStyle:{width:"80%"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/Group%201533210076.png",mode:"widthFix",alt:""}}),i("v-uni-view",{staticStyle:{color:"#6C3C1A","font-size":"30rpx","font-weight":"600","margin-bottom":"15rpx","margin-top":"15rpx"}},[t._v("专享外卖"),i("span",[t._v(t._s(t.personPrice))]),t._v("折")]),i("v-uni-view",{staticStyle:{color:"#fff",padding:"10rpx 10rpx 10rpx 25rpx","border-radius":"8px 20px 20px 8px",background:"linear-gradient(180deg, #F76700 0%, #FF8F40 100%)","max-width":"fit-content"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/equityCard/index?type=individual")}}},[t._v("立即抢购->")])],1)],1),i("v-uni-view",{staticClass:"right"},[i("img",{staticStyle:{position:"absolute",top:"20rpx",right:"-8rpx",width:"54%","z-index":"-1"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/Rectangle851.png",alt:"",mode:"widthFix"}}),i("v-uni-view",[i("img",{staticStyle:{width:"80%"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/Group%201533210075.png",mode:"widthFix",alt:""}}),i("v-uni-view",{staticStyle:{color:"#6C3C1A","font-size":"30rpx","font-weight":"600","margin-bottom":"15rpx","margin-top":"10rpx"}},[t._v("堂食"+t._s(t.enterprisePrice)+"折")]),i("v-uni-view",{staticStyle:{color:"#fff",padding:"10rpx 10rpx 10rpx 25rpx","border-radius":"8px 20px 20px 8px",background:"linear-gradient(180deg, #208DF9 0%, #64C3FF 100%)","max-width":"fit-content"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/equityCard/index?type=enterprise")}}},[t._v("立即抢购->")])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"card tn-shadow"},[i("v-uni-view",{staticClass:"card-wrapper tn-flex-wrap"},[t.balance_agency_chain_is_open?t._e():i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toRechargeList()}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-pay"})],1),i("v-uni-view",{staticClass:"title"},[t._v("余额充值")])],1),t.balance_agency_chain_is_open?t._e():i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toBalanceList()}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-calendar"})],1),i("v-uni-view",{staticClass:"title"},[t._v("余额明细")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/faviate/index")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-like-lack"})],1),i("v-uni-view",{staticClass:"title"},[t._v("我的收藏")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/address-list/index")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-location"})],1),i("v-uni-view",{staticClass:"title"},[t._v("我的地址")])],1),t.redPacketByStudentNo?i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/formRedpacket/formRedpacket")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-lucky-money"})],1),i("v-uni-view",{staticClass:"title"},[t._v("领餐补券")])],1):t._e(),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/order/index")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-order"})],1),i("v-uni-view",{staticClass:"title"},[t._v("我的订单")])],1),t.is_refund&&!t.balance_agency_chain_is_open?i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-recharge/refund")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-order"})],1),i("v-uni-view",{staticClass:"title"},[t._v("余额退款")])],1):t._e(),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{position:"relative"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/ticket/index?index=0")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-gift"})],1),i("v-uni-view",{staticClass:"title"},[t._v("领券中心")]),t.waitReceiveNum>0?i("v-uni-view",{staticClass:"tips_num"},[t._v(t._s(t.waitReceiveNum))]):t._e()],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",staticStyle:{position:"relative"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/ticket/index?index=1")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-ticket"})],1),i("v-uni-view",{staticClass:"title"},[t._v("代金劵")]),t.noUseNum>0?i("v-uni-view",{staticClass:"tips_num"},[t._v(t._s(t.noUseNum))]):t._e()],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/redpacket/index")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-lucky-money"})],1),i("v-uni-view",{staticClass:"title"},[t._v("我的红包")])],1),t.balance_agency_chain_is_open?i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/balance-list/card_list")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-vip"})],1),i("v-uni-view",{staticClass:"title"},[t._v("会员卡")])],1):t._e()],1)],1),i("v-uni-view",{staticClass:"card tn-shadow"},[i("v-uni-view",{staticClass:"card-wrapper tn-flex-wrap"},[t.diy_mine_nav_lists.length>0?t._l(t.diy_mine_nav_lists,(function(e,a){return i("v-uni-view",{key:a,staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-image",{staticStyle:{width:"55rpx",height:"55rpx"},attrs:{src:e.thumb}})],1),i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title))])],1)})):[i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/tray-page/order/tray-order-list")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-inventory"})],1),i("v-uni-view",{staticClass:"title"},[t._v("自助订单")])],1),t.isShowCard?i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/spread-page/spread/index")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-share-triangle"})],1),i("v-uni-view",{staticClass:"title"},[t._v("分销中心")])],1):t._e(),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/system-page/help-center/index")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-help"})],1),i("v-uni-view",{staticClass:"title"},[t._v("帮助中心")])],1),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/reservation-page/reservation/myreserv")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-empty-coupon"})],1),i("v-uni-view",{staticClass:"title"},[t._v("我的预约")])],1),1!=t.ios_audit?i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/shoppingunit/index")}}},[i("v-uni-view",{staticClass:"flex alcenter center",staticStyle:{"font-size":"60rpx"}},[i("v-uni-image",{staticStyle:{width:"56rpx",height:"56rpx",margin:"26rpx 0 6rpx 4rpx"},attrs:{src:t.icon[0],mode:""}})],1),i("v-uni-view",{staticClass:"title"},[t._v("商户入驻")])],1):t._e(),i("v-uni-view",{staticClass:"card-item tn-flex-column tn-flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.navPage("/plugin-page/invoice/order_invoicing")}}},[i("v-uni-view",{staticClass:"icon"},[i("v-uni-text",{staticClass:"tn-icon-empty-coupon"})],1),i("v-uni-view",{staticClass:"title"},[t._v("开票助手")])],1)]],2)],1),0==t.diy_mine_nav_lists.length?i("v-uni-view",{staticClass:"list-card user-info tn-margin-top"},[i("v-uni-view",{staticClass:"list__wrapper tn-shadow"},[i("v-uni-view",{staticClass:"list__item",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.WeChatTo("kefu")}}},[i("v-uni-view",{staticClass:"item-data between"},[i("v-uni-view",{staticClass:"item--left tn-flex-row-center"},[i("v-uni-view",{staticClass:"icon tn-icon-tel-circle-fill"}),t._v("联系客服")],1),i("v-uni-view",{staticClass:"item--arrow"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1)],1)],1)],1):t._e(),t._l(t.diy_mine_nav_img_lists,(function(e){return i("v-uni-view",{key:e},[i("img",{staticClass:"mine_nav_img tn-shadow",attrs:{src:e.thumb,alt:"",mode:"widthFix"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage(e.link)}}})])}))]:t._e(),i("center-modal",{attrs:{"confirm-text":"绑定"},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.openRechargeCardModal=!t.openRechargeCardModal},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.submitBind.apply(void 0,arguments)}},model:{value:t.openRechargeCardModal,callback:function(e){t.openRechargeCardModal=e},expression:"openRechargeCardModal"}},[i("v-uni-view",{staticStyle:{display:"flex","flex-direction":"row"}},[i("v-uni-input",{staticClass:"input",staticStyle:{flex:"4"},attrs:{placeholder:"请输入要绑定的卡号"},model:{value:t.card_no,callback:function(e){t.card_no=e},expression:"card_no"}}),i("v-uni-text",{staticClass:"btn",staticStyle:{flex:"1","background-color":"#FFCA28","text-align":"center","border-radius":"10rpx",color:"#fff"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.scan_button.apply(void 0,arguments)}}},[t._v("扫码")])],1)],1),i("tn-modal",{attrs:{custom:!0,padding:"12px",radius:"50"},model:{value:t.contactShow,callback:function(e){t.contactShow=e},expression:"contactShow"}},[i("v-uni-view",{staticClass:"custom-modal-content"},[t.user.parentServiceUserInfo?i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"box_title"},[i("v-uni-view",{staticClass:"avatar",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goQrCode.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{src:t.user.parentServiceUserInfo.avatar?t.user.parentServiceUserInfo.avatar:t.platform.logo}})],1),i("v-uni-view",{staticClass:"title"},[t._v("加微"+t._s(t.user.parentServiceUserInfo.contact_wechat)+t._s(t.user.parentServiceUserInfo.nickname))])],1),i("v-uni-view",{staticClass:"box_content"},[i("v-uni-view",{staticClass:"box_content_line1"},[t._v("请加导师微信,也可以邀请你加入代理群。任何问题都可以咨询导师")]),i("v-uni-view",{staticClass:"box_content_lin2"},[i("v-uni-view",{staticClass:"box_content_line2_left",staticStyle:{flex:"2"}},[t._v("电话号码:"+t._s(t.user.parentServiceUserInfo.contact_mobile))]),i("v-uni-view",{staticClass:"box_content_line2_right"},[i("v-uni-view",{staticClass:"box_content_line2_button",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.copyToClipBoard(t.user.parentServiceUserInfo.contact_mobile)}}},[t._v("复制")])],1)],1),i("v-uni-view",{staticClass:"box_content_lin2"},[i("v-uni-view",{staticClass:"box_content_line2_left",staticStyle:{flex:"2"}},[t._v("微信号码:"+t._s(t.user.parentServiceUserInfo.contact_wechat))]),i("v-uni-view",{staticClass:"box_content_line2_right"},[i("v-uni-view",{staticClass:"box_content_line2_button",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.copyToClipBoard(t.user.parentServiceUserInfo.contact_wechat)}}},[t._v("复制")])],1)],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"box_title"},[i("v-uni-view",{staticClass:"title"},[t._v("设置我的联系方式")])],1),i("v-uni-view",{staticClass:"box_content"},[i("v-uni-view",{staticClass:"box_content_line1"},[t._v("带领好团队,做好推广工作,帮助团队疑问解答")]),i("v-uni-view",{staticClass:"box_content_lin2"},[i("v-uni-view",{staticClass:"box_content_line2_left"},[t._v("电话号码:")]),i("v-uni-view",{staticClass:"box_content_line2_right",staticStyle:{flex:"3"}},[i("v-uni-input",{staticClass:"box_content_line2_input",attrs:{placeholder:"请输入电话号码"},model:{value:t.contact_mobile,callback:function(e){t.contact_mobile=e},expression:"contact_mobile"}})],1)],1),i("v-uni-view",{staticClass:"box_content_lin2"},[i("v-uni-view",{staticClass:"box_content_line2_left"},[t._v("微信号码:")]),i("v-uni-view",{staticClass:"box_content_line2_right",staticStyle:{flex:"3"}},[i("v-uni-input",{staticClass:"box_content_line2_input",attrs:{placeholder:"请输入微信号码"},model:{value:t.contact_wechat,callback:function(e){t.contact_wechat=e},expression:"contact_wechat"}})],1)],1)],1)],1),i("v-uni-view",{staticClass:"box_submit"},[i("v-uni-view",{staticClass:"submit_button",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.setContact.apply(void 0,arguments)}}},[t._v("立即提交")])],1)],1)],1),i("tn-modal",{attrs:{custom:!0},model:{value:t.showBrandSelect,callback:function(e){t.showBrandSelect=e},expression:"showBrandSelect"}},[i("v-uni-scroll-view",{staticClass:"custom-modal-content",staticStyle:{height:"1000rpx","overflow-y":"auto"},attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"tn-icon tn-icon-about-fill"},[t._v("品牌列表")]),t.is_close_credit?t._l(t.brandList,(function(e,a){return"platform"!=e.type?i("v-uni-view",{staticClass:"store_item"},[i("v-uni-view",{staticClass:"row1"},[i("v-uni-image",{attrs:{src:e.logo,mode:"aspectFit"}}),t._v(t._s(e.title))],1),i("v-uni-view",{staticClass:"row2"},[i("v-uni-view",[t._v("当前余额(元)")]),i("v-uni-view",[t._v(t._s(e.balance))])],1),i("v-uni-view",{staticClass:"row3"},[i("v-uni-view",{staticClass:"btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toRecharge(e)}}},[t._v(t._s(t.btn_text))])],1)],1):t._e()})):t._l(t.brandList,(function(e,a){return i("v-uni-view",{staticClass:"store_item"},[i("v-uni-view",{staticClass:"row1"},[i("v-uni-image",{attrs:{src:e.logo,mode:"aspectFit"}}),t._v(t._s(e.title))],1),i("v-uni-view",{staticClass:"row2"},[i("v-uni-view",[t._v("当前余额(元)")]),i("v-uni-view",[t._v(t._s(e.balance))])],1),i("v-uni-view",{staticClass:"row3"},[i("v-uni-view",{staticClass:"btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toRecharge(e)}}},[t._v(t._s(t.btn_text))])],1)],1)}))],2)],1),i("tn-modal",{attrs:{custom:!0},model:{value:t.myQrCodeModel,callback:function(e){t.myQrCodeModel=e},expression:"myQrCodeModel"}},[i("v-uni-view",{staticClass:"custom-modal-content"},[i("v-uni-view",{staticClass:"tn-icon tn-icon-about-fill"},[t._v("邀请二维码")]),i("img",{staticStyle:{width:"100%"},attrs:{src:t.myQrCodeImg,alt:"",mode:"widthFix"}})],1)],1)],2)},o=[]},f44a:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getinfoData=e.getStorCity=e.getBgimages=void 0;var n=a(i("7653"));e.getBgimages=function(t){return n.default.get("api/user.store.store/getBgInfo",t)};e.getinfoData=function(t){return n.default.get("api/user.store.store/memberStoreInfo",t)};e.getStorCity=function(t){return n.default.get("api/user.store.store/getStoreListByCity",t)}},f64d:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnRate:i("0c2b").default,tnLazyLoad:i("b461").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"store-appraise tn-safe-area-inset-bottom--lg"},[i("v-uni-view",{staticClass:"store-info tn-flex-row-center"},[i("v-uni-view",{staticClass:"store-score tn-color-orange tn-margin-right"},[t._v(t._s(t.storeInfo.storeScore))]),i("v-uni-view",{staticClass:"store-score-star tn-margin-right"},[i("v-uni-view",{staticClass:"title tn-color-gray"},[t._v("商家评分")]),i("v-uni-view",{staticClass:"value tn-margin-top-xs"},[i("tn-rate",{attrs:{disabled:!0,size:36,"active-color":t.themeBgColor,gutter:0},model:{value:t.storeInfo.storeScore,callback:function(e){t.$set(t.storeInfo,"storeScore",e)},expression:"storeInfo.storeScore"}})],1)],1),i("v-uni-view",{staticClass:"taste-score tn-margin-right"},[i("v-uni-view",{staticClass:"title tn-color-gray"},[t._v("口味")]),i("v-uni-view",{staticClass:"value tn-margin-top-xs"},[t._v(t._s(t.formatPrice(t.storeInfo.goodsScore,1)))])],1),i("v-uni-view",{staticClass:"package-score tn-margin-right-lg"},[i("v-uni-view",{staticClass:"title tn-color-gray"},[t._v("包装")]),i("v-uni-view",{staticClass:"value tn-margin-top-xs"},[t._v(t._s(t.formatPrice(t.storeInfo.packageScore,1)))])],1),i("v-uni-view",{staticClass:"delivery-score tn-margin-left-lg"},[i("v-uni-view",{staticClass:"title tn-color-gray"},[t._v("配送满意度")]),i("v-uni-view",{staticClass:"value tn-margin-top-xs"},[t._v(t._s(t.storeInfo.deliveryScore)+"%")])],1)],1),i("v-uni-view",{staticClass:"comments"},[t.comment.length>0?t._l(t.comment,(function(e,a){return i("v-uni-view",{key:a,staticClass:"comment tn-border-bottom tn-border-gray--light"},[i("v-uni-view",{staticClass:"top-info tn-flex"},[i("v-uni-view",{staticClass:"avatar tn-border-gray--light"},[i("tn-lazy-load",{attrs:{src:e.avatar}})],1),i("v-uni-view",{staticClass:"info tn-margin-left-xs"},[i("v-uni-view",{staticClass:"nickname"},[t._v(t._s(e.nickname))]),i("v-uni-view",{staticClass:"addtime tn-color-gray"},[t._v(t._s(e.addtime))])],1)],1),i("v-uni-view",{staticClass:"comment-score tn-margin-top-xs"},[i("tn-rate",{attrs:{disabled:!0,size:28,"active-color":t.themeBgColor,gutter:0},model:{value:e.scores,callback:function(i){t.$set(e,"scores",i)},expression:"item.scores"}})],1),e.note?i("v-uni-view",{staticClass:"comment-content tn-margin-top"},[t._v(t._s(e.note))]):t._e(),e.images&&e.images.length>0?i("v-uni-view",{staticClass:"comment-images tn-margin-top-xs"},[i("image-group",{attrs:{data:e.images}})],1):t._e(),e.reply.reply?i("v-uni-view",{staticClass:"comment-reply tn-bg-gray--light tn-color-gray--dark"},[i("v-uni-view",{staticClass:"reply-title"},[t._v("商家回复("+t._s(e.reply.time)+")")]),i("v-uni-view",{staticClass:"reply-content"},[t._v(t._s(e.reply.reply))])],1):t._e()],1)})):t._e(),0===t.comment.length&&t.isLoadAll?i("empty",{attrs:{tips:"暂无评论",icon:"empty-message"}}):t._e()],2)],1)},o=[]},f66e:function(t,e,i){var a=i("87a2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("13e907ce",a,!0,{sourceMap:!1,shadowMode:!1})},f682:function(t,e,i){"use strict";i.r(e);var a=i("2ae8"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},f6fd:function(t,e,i){"use strict";i.r(e);var a=i("374e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},f7d1:function(t,e,i){"use strict";var a=i("89e2"),n=i.n(a);n.a},f7fc:function(t,e,i){"use strict";i.r(e);var a=i("93d1"),n=i("b533");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5298");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6aa156a8",null,!1,a["a"],void 0);e["default"]=r.exports},f81a:function(t,e,i){"use strict";var a=i("c621"),n=i.n(a);n.a},f875:function(t,e,i){"use strict";i.r(e);var a=i("18a0"),n=i("35a8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("e022");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"59c1b44c",null,!1,a["a"],void 0);e["default"]=r.exports},f8b9:function(t,e,i){"use strict";i.r(e);var a=i("6b9d"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},f8eb:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-btn[data-v-1b9df1f2]{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;text-align:center;text-decoration:none;overflow:visible;-webkit-transform:translate(%?0?%,%?0?%);transform:translate(%?0?%,%?0?%);border-radius:%?12?%;margin:0}.tn-btn--plain[data-v-1b9df1f2]{background-color:initial!important;background-image:none}.tn-btn--plain.tn-round[data-v-1b9df1f2]{border-radius:%?1000?%!important}',""]),t.exports=e},f8f5:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnPopup:i("1fbf").default,tnButton:i("70bc").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.value?i("v-uni-view",{staticClass:"tn-modal-class tn-modal"},[i("tn-popup",{attrs:{mode:"center",popup:!1,borderRadius:t.radius,width:t.width,zoom:t.zoom,safeAreaInsetBottom:t.safeAreaInsetBottom,maskCloseable:t.maskCloseable,zIndex:t.zIndex,closeBtn:t.showCloseBtn},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},[i("v-uni-view",{staticClass:"tn-modal__box",class:[t.backgroundColorClass],style:[t.boxStyle]},[t.custom?i("v-uni-view",[t._t("default")],2):i("v-uni-view",[t.title&&""!==t.title?i("v-uni-view",{staticClass:"tn-modal__box__title"},[t._v(t._s(t.title))]):t._e(),i("v-uni-view",{staticClass:"tn-modal__box__content",class:[t.fontColorClass,t.contentClass],style:t.contentStyle},[t._v(t._s(t.content))]),t.button&&t.button.length?i("v-uni-view",{staticClass:"tn-modal__box__btn-box",class:[2!=t.button.length?"tn-flex-direction-column":""]},[t._l(t.button,(function(e,a){return[i("tn-button",{key:a+"_0",class:[t.button.length>2?"tn-margin-bottom":""],style:{width:2!=t.button.length?"80%":"46%"},attrs:{width:"100%",height:"68rpx",fontSize:26,backgroundColor:e.backgroundColor||"",fontColor:e.fontColor||"",plain:e.plain||!1,shape:e.shape||"round"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick(a)}}},[t._v(t._s(e.text))])]}))],2):t._e()],1)],1)],1)],1):t._e()},o=[]},f9ce:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.checkUserIsLogin=void 0,i("bf0f");var a=i("262c");e.checkUserIsLogin=function(){return new Promise((function(t,e){var i=(0,a.getTokenFromCache)();return i?t():e()}))}},fa28:function(t,e,i){var a=i("a79e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("011973c8",a,!0,{sourceMap:!1,shadowMode:!1})},fa58:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("5c47"),i("a1c1"),i("5ef2");var n=a(i("495e")),o=i("419c"),s={props:{value:{type:Boolean,default:!1},data:{type:Object,default:function(){return{}}}},components:{CenterModal:n.default},data:function(){return{showModal:!1,adBannerData:[],currentBannerIndex:0}},watch:{value:{handler:function(t){t&&this.handleFormatData(),this.showModal=t},immediate:!0}},methods:{handleFormatData:function(){this.adBannerData=this.data.data.map((function(t,e){return{id:t.id||e,image:t.imgUrl,url:t.pagePath}}))},handleBannerSwiperChangeEvent:function(t){var e=t.detail;this.currentBannerIndex=e.current},handleModalCloseEvent:function(){this.$emit("input",!1),this.$emit("close")},emoveWebviewPrefix:function(t){return t.replace(/^webview:/,"")},tiao:function(t){if(-1===t.url.indexOf("webview"))-1!==t.url.indexOf("miniProgram")?(0,o.navPage)(t.url):uni.navigateTo({url:t.url});else{var e=this.emoveWebviewPrefix(t.url);uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(e))})}},navPage:o.navPage}};e.default=s},fac2:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("01a2"),i("e39c");var a=i("d55c"),n=i("419c"),o={options:{virtualHost:!0},props:{config:[Array,Object],leftImage:{type:String,default:""}},data:function(){return{showComponent:!0,data:[],noticeListData:[],noticeListDescriptionData:[],noticTitleBg:["blue","aquablue","indigo","orangeyellow","purplered"],noticeUnfold:!1,model:1,list:[],defaultBg:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/gonggao/gonggao.png",status:""}},watch:{data:{handler:function(t){t&&(this.noticeListData=this.data.map((function(t){return t.title})),this.noticeListDescriptionData=this.data.map((function(t){return t.description})),0==this.status?this.list=this.data.map((function(t){return t.description})):this.list=this.config.noticeList.map((function(t){return t.description})))},immediate:!0}},created:function(){this.init()},methods:{getBgFun:function(t){var e=t.split("/");return"/static/images/".concat(e[e.length-1])},init:function(){this.model=this.config.model,this.status=this.config.status,this.config&&1===+this.config.status&&this.config.noticeList.length>0?(this.showComponent=!0,this.data=this.config.noticeList.map((function(t){return{id:t.id,title:t.title,link:t.link||"",wxapp_link:t.wxapp_link||"",description:t.description||""}}))):this.getNoticeData()},getNoticeData:function(){var t=this;(0,a.getDIYNoticeDataApi)().then((function(e){e.notices&&e.notices.length>0?(t.showComponent=!0,t.data=e.notices.map((function(t){return{id:t.id,title:t.title,link:t.link,wxapp_link:t.wxapp_link,description:t.description}}))):(t.showComponent=!1,t.data=[])})).catch((function(){t.showComponent=!1,t.data=[]}))},handlerNoticeClick:function(t){var e;0===this.status?e=this.data[t]:(e=this.config.noticeList[t],console.log(e)),(0,n.navPage)("/system-page/notice/detail?id=".concat(e.id))},getNoticeTitleBgValue:function(t){var e=this.noticTitleBg[t%5];return e}}};e.default=o},fb33:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".cubicbezier__wrap[data-v-29bf5bbe]{position:relative}.ani__cb-x[data-v-29bf5bbe]{\n\n\nposition:absolute;left:0;top:0;display:inline-block;z-index:1008;\ntransition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.5s;transition-timing-function:cubic-bezier(0,0,0,0)}.ani__cb-y[data-v-29bf5bbe]{\ndisplay:inline-block;\ntransition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.5s;transition-timing-function:cubic-bezier(.3,-.2,1,0)}\n\n\n\n",""]),t.exports=e},fb43:function(t,e,i){"use strict";var a=i("b1ec"),n=i.n(a);n.a},fb71:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var a={options:{virtualHost:!0},name:"tn-scroll-list",props:{indicator:{type:Boolean,default:!0},indicatorWidth:{type:[String,Number],default:50},indicatorBarWidth:{type:[String,Number],default:20},indicatorColor:{type:String,default:"#E6E6E6"},indicatorActiveColor:{type:String,default:"#01BEFF"},indicatorStyle:{type:Object,default:function(){return{}}}},computed:{barStyle:function(){var t={},e=this.scrollInfo.scrollLeft,i=this.scrollInfo.scrollWidth,a=uni.upx2px(this.indicatorWidth)-uni.upx2px(this.indicatorBarWidth),n=e/(i-this.scrollWidth)*a;return t.transform="translateX(".concat(n,"px)"),t.width="".concat(this.indicatorBarWidth,"rpx"),t.backgroundColor=this.indicatorActiveColor,t},lineStyle:function(){var t={};return t.width="".concat(this.indicatorWidth,"rpx"),t.backgroundColor=this.indicatorColor,t}},data:function(){return{scrollInfo:{scrollLeft:0,scrollWidth:0},scrollWidth:0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{init:function(){this.getComponentWidth()},scrollHandler:function(t){this.scrollInfo=t.detail},scrollToUpperHandler:function(){this.$emit("left"),this.scrollInfo.scrollLeft=0},scrollToLowerHandler:function(){this.$emit("right")},getComponentWidth:function(){var t=this;this._tGetRect(".tn-scroll-list").then((function(e){e?t.scrollWidth=e.width:setTimeout((function(){t.getComponentWidth()}),10)}))}}};e.default=a},fb8c:function(t,e,i){var a=i("7815");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("712216f1",a,!0,{sourceMap:!1,shadowMode:!1})},fbb3:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={cubicBezier:i("19c7").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"product-spec-number-box theme-product-spec-number",class:[{disabled:t.disabled}],style:[{"--theme_bg_color":t.themeBgColor,"--theme_font_color":t.themeFontColor}]},[0!==t.max||t.total>0||-1==t.total?[1===t.type?i("v-uni-view",{staticClass:"operation__spec theme-operation-spec",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleSpecClickEvent()}}},[t._v("选规格"),t.currentValue>0?i("v-uni-view",{staticClass:"num tn-bg-red theme-currentValue"},[t._v(t._s(t.currentValue))]):t._e()],1):t.disabled?t._e():i("v-uni-view",{staticClass:"operation__add tn-flex-center"},[0!=t.currentValue?i("v-uni-view",{staticClass:"icon tn-icon-reduce tn-flex-center theme-operation-decrease",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleReduceEvent.apply(void 0,arguments)}}}):t._e(),0!=t.currentValue?i("v-uni-view",{staticClass:"num tn-bg-gray--light",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleShowGoodsNum()}}},[i("v-uni-input",{staticClass:"input",attrs:{type:"number",value:t.currentValue,disabled:!0}})],1):t._e(),i("cubic-bezier",{attrs:{left:80,bottom:t.isTab()?280:130},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleAddEvent.apply(void 0,arguments)}},scopedSlots:t._u([{key:"badge",fn:function(){return[i("v-uni-image",{staticStyle:{width:"100rpx",height:"100rpx","border-radius":"100%"},attrs:{src:t.imageUrl,mode:"aspectFill"}})]},proxy:!0}],null,!1,1136686775)},[i("v-uni-view",{staticClass:"icon tn-icon-add tn-flex-center theme-operation-spec",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150}})],1)],1)]:[i("v-uni-view",{staticClass:"sold-out tn-color-gray"},[t._v("已售完")])],t.showChooseOptionsModal?[i("center-modal",{attrs:{"cancel-text":" ","confirm-text":" ","content-no-top":!0,"content-no-padding":!0,"wrapper-width":"90%"},model:{value:t.showChooseOptionsModal,callback:function(e){t.showChooseOptionsModal=e},expression:"showChooseOptionsModal"}},[i("v-uni-view",{staticClass:"spec-choose-modal theme-spec-choose-modal"},[0===t.attrs.length&&0===t.options.length&&0===t.materials.length?i("v-uni-view",[i("v-uni-image",{staticClass:"goods-image",attrs:{src:t.imageUrl,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"good-title"},[t._v(t._s(t.title))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(t.desc))])],1):t._e(),t.attrs.length>0||t.options.length>0||t.materials.length>0?i("v-uni-view",{staticClass:"small-box"},[i("v-uni-image",{staticClass:"goods-image-small",attrs:{src:t.imageUrl,mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showBigImage=!0}}}),i("v-uni-view",{staticClass:"goods-name-small"},[i("v-uni-view",{staticClass:"good-title"},[t._v(t._s(t.title))]),i("v-uni-view",{staticClass:"desc"},[t._v(t._s(t.desc))])],1)],1):t._e(),i("v-uni-view",{staticClass:"content-wrapper"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[t.options.length>0?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v("规格")]),i("v-uni-view",{staticClass:"content-select"},t._l(t.options,(function(e,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{"select theme-select-item":e.select}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseOptionEvent(a)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red theme-price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1)})),1)],1)]:t._e(),t.attrs.length>0?t._l(t.attrs,(function(e,a){return i("v-uni-view",{key:a,staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"content-select"},t._l(e.label,(function(e,n){return i("v-uni-view",{key:n,staticClass:"select-item tn-border-gray--light",class:[{"select theme-select-item":e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseAttrEvent(a,n)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))])],1)})),1)],1)})):t._e(),t.materials.length>0&&"nx"==t.brand?t._l(t.materials,(function(e,a){return i("v-uni-view",{key:a,staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"content-select"},t._l(e.label,(function(e,n){return i("v-uni-view",{key:n,staticClass:"select-item tn-border-gray--light",class:[{"select theme-select-item":e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseMaterialAttrEvent(a,n)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.name))]),e.price>0?i("v-uni-view",{staticClass:"item-price tn-color-red theme-price"},[t._v("RM"+t._s(e.price))]):t._e()],1)})),1)],1)})):t._e(),t.materials.length>0&&"nx"!=t.brand?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[t._v("加料")]),i("v-uni-view",{staticClass:"content-select"},t._l(t.materials,(function(e,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{"select theme-select-item":e.select}],style:[{"--theme-color":t.themeBgColor}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.chooseMaterialEvent(a)}}},[i("v-uni-view",{staticClass:"item-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red theme-price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1)})),1)],1)]:t._e()],2)],1),i("v-uni-view",{staticClass:"select-attr-value tn-bg-gray--light theme-select-attr-value"},[i("v-uni-view",{staticClass:"title"},[t._v("已选规格:")]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.specOptionCn))])],1),i("v-uni-view",{staticClass:"price-num-wrapper"},[i("v-uni-view",{staticClass:"price-value tn-flex-row-end"},[i("v-uni-view",{staticClass:"title"},[t._v("总计")]),i("v-uni-view",{staticClass:"price tn-color-red",style:t.is_tuangouquan?"text-decoration:line-through;color:#aaa!important;font-size:14px!important;;font-weight:400!important;":""},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(t.specPrice.toFixed(2)))])],1),t.is_tuangouquan?i("v-uni-view",{staticStyle:{"margin-left":"10rpx","font-size":"14px"}},[t._v("代金券抵扣后 :"),i("v-uni-text",{staticStyle:{color:"red","font-size":"20px"}},[t._v(t._s(t.CurrencyUnit)+"0")])],1):t._e()],1),i("v-uni-view",{staticClass:"num-select"},[t.disabled?t._e():i("v-uni-view",{staticClass:"operation__add tn-flex-center"},[0!==t.specMax?[0!=t.specGoodNum?i("v-uni-view",{staticClass:"icon tn-icon-reduce tn-flex-center theme-operation-decrease",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleMultiSpecReduceEvent.apply(void 0,arguments)}}}):t._e(),0!=t.specGoodNum?i("v-uni-view",{staticClass:"num tn-bg-gray--light",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleShowGoodsNum()}}},[i("v-uni-input",{staticClass:"input",attrs:{type:"number",value:t.specGoodNum,disabled:!0}})],1):t._e(),i("cubic-bezier",{attrs:{left:80,bottom:t.isTab()?280:130},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleMultiSpecAddEvent.apply(void 0,arguments)}},scopedSlots:t._u([{key:"badge",fn:function(){return[i("v-uni-image",{staticStyle:{width:"100rpx",height:"100rpx","border-radius":"100%"},attrs:{src:t.imageUrl,mode:"aspectFill"}})]},proxy:!0}],null,!1,1136686775)},[i("v-uni-view",{staticClass:"icon tn-icon-add tn-flex-center theme-operation-spec",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150}})],1)]:[i("v-uni-view",{staticClass:"sold-out tn-color-gray"},[t._v("已售完")])]],2)],1)],1)],1)],1)]:t._e(),i("center-modal",{attrs:{"cancel-text":" ","confirm-text":" ","content-no-top":!0,"content-no-padding":!0,"wrapper-width":"100%"},model:{value:t.showBigImage,callback:function(e){t.showBigImage=e},expression:"showBigImage"}},[i("v-uni-image",{staticStyle:{width:"100%",display:"block"},attrs:{src:t.showBigImage?t.removeThumbnail(t.imageUrl):"",mode:"widthFix"}})],1),t.showNewSpecifications?[t.loadData?i("new-specifications",{attrs:{show:t.showNewSpecifications,goodId:t.goodId,sid:t.sid,goodPrice:t.goodPrice,parent_not_need_choose_productList:t.not_need_choose_productList,parent_need_choose_productList:t.need_choose_productList,good_old_price:t.goodOldPrice,desc:t.desc,good_code:t.good_code},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},addCart:function(e){arguments[0]=e=t.$handleEvent(e),t.addCart.apply(void 0,arguments)}}}):t._e()]:t._e()],2)},o=[]},fc7f:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var n=a(i("dc1f")),o=a(i("dae0")),s=a(i("44ca")),r=a(i("34cae")),c=i("419c"),d=(a(i("8c27")),i("d240")),l=(i("262c"),i("e0a2")),u={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:r.default},mixins:[n.default,o.default,s.default],data:function(){return{currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{goto:function(t){(0,c.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,a){1==i?(0,c.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&a?(0,c.navPage)("".concat(a)):(0,c.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,c.navPage)("/order-page/visa-order-detail/index?order_sn=".concat(t))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,d.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},a=JSON.stringify(i);e.open_lock_string=a;var n=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:n}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:a})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,a,n){var o=this;if(1!=n)if(0!=a)if(1==i){var s="once";e&&(s="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,c.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+s)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,d.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=u},fcf31:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2634")),o=a(i("2fdc"));i("bf0f"),i("2797"),i("8f71"),i("aa9c"),i("64aa"),i("bd06"),i("c223"),i("f7a5"),i("fd3c"),i("aa77");var s=a(i("dc1f")),r=i("419c"),c=i("d55c"),d=i("815c"),l=a(i("ebf3")),u=a(i("495e")),f=a(i("8c27")),p=i("cf41"),v=i("b43b"),h=i("9d0a"),g=i("ba1f"),m={components:{TechnicalSupport:l.default,loading:f.default,CenterModal:u.default},mixins:[s.default],options:{virtualHost:!0},props:{diyData:{type:Object,default:{}}},data:function(){return{showComponent:!0,data:[],goodsInfo:null,showChooseOptionsModal:!1,options:[],attrs:[],materials:[],specPrice:0,specMin:0,specMax:-1,specStoreGoodsNum:{},updateSpecGoodNum:!1,showBigImage:!1,operationFrom:"list",goodPrice:0}},created:function(){this.getGodGoodsData()},mounted:function(){console.log(this.diyData)},computed:{specGoodNum:function(){var t=0;return this.showChooseOptionsModal&&this.updateSpecGoodNum&&this.goodsInfo&&1===this.goodsInfo.specOptions&&this.specStoreGoodsNum.hasOwnProperty(this.specOptionId)&&(t=this.specStoreGoodsNum[this.specOptionId]),t},specOptionCn:function(){var t=this,e=[];return this.showChooseOptionsModal&&this.goodsInfo&&1===this.goodsInfo.specOptions&&(this.specPrice=0,this.specMin=0,this.specMax=-1,this.options.length>0?this.options.filter((function(t){return!0===t.select})).forEach((function(i){e.push(i.title),t.specPrice+=i.price,i.min<t.specMin&&(t.specMin=i.min),-1!=i.max&&i.max>t.specMax&&(t.specMax=i.max)})):this.goodPrice&&(this.specPrice+=Number(this.goodPrice)),this.attrs.length>0&&this.attrs.forEach((function(t,i){t.label.filter((function(t){return!0===t.select})).forEach((function(t){e.push(t.title)}))})),this.materials.length>0&&this.materials.filter((function(t){return!0===t.select})).forEach((function(i){!0===i.select&&(e.push(i.title),t.specPrice+=i.price)}))),e.join("、")},specOptionId:function(){var t="";if("shoppingCart"===this.operationFrom)""!=this.optionId&&(t=this.optionId);else if("list"===this.operationFrom&&this.showChooseOptionsModal){if(this.options.length){var e=this.options.findIndex((function(t){return!0===t.select}));t+=-1===e?"0":"".concat(this.options[e].id)}this.attrs.length>0&&(t.length>0&&(t+="_"),this.attrs.forEach((function(e,i){var a=e.label.findIndex((function(t){return!0===t.select}));t+="".concat(i,"s").concat(a,"v")})),t=t.slice(0,t.length-1)),this.materials.length>0&&(t.length>0&&(t+="_"),this.materials.forEach((function(e){!0===e.select&&(t+="".concat(e.id,"m1n"))})),t=t.slice(0,t.length-1)),0===this.options.length&&t.length>0&&(t="0_"+t)}return t}},methods:{getGodGoodsData:function(){var t=this;(0,c.getDIYGodGoodsDataApi)(this.diyData.sids||"",this.diyData.max_num||9,this.diyData.sort_method||"random",this.diyData.is_recommend||0).then((function(e){console.log("神价格2~3",e),e.bargains&&e.bargains.length>0?(t.showComponent=!0,t.data=e.bargains.map((function(t){var e=0;return e=1==t.is_attrs||1==t.is_options||1==t.is_materials?1:0,{id:t.goods_id,tag:"new"==t.poi_user_type?"新人价":"今日价",title:t.title,image:t.thumb,thumb:t.thumb,price:t.price,discountPrice:t.discount_price,discount_price:t.discount_price,sid:t.sid,goods_id:t.goods_id,pageShowType:t.pageShowType,is_haodian:t.is_haodian,specOptions:e}}))):(t.showComponent=!1,t.data=[])})).catch((function(){t.showComponent=!1,t.data=[]}))},formatPrice:d.formatPrice,navPage:r.navPage,addGoodsList:function(t,e,i){var a=this;return(0,o.default)((0,n.default)().mark((function o(){var s;return(0,n.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return uni.showLoading({}),a.goodsInfo=i,n.prev=2,n.next=5,(0,v.getAddBargainApi)({sid:t,goods_id:e,option_id:"",sign:"+"});case 5:s=n.sent,s&&(1==a.goodsInfo.is_haodian?(0,r.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==a.goodsInfo.is_haodian&&a.goodsInfo.custom_links?(0,r.navPage)("".concat(a.goodsInfo.custom_links)):(a.goodsInfo.pageShowType,(0,r.navPage)("/store-page/product-showcase/template-1?sid=".concat(t)))),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](2),uni.showToast({icon:"error",title:n.t0.msg});case 12:uni.hideLoading();case 13:case"end":return n.stop()}}),o,null,[[2,9]])})))()},chooseOptionEvent:function(t){var e=this.options[t].id,i=this.options.find((function(t){return!0===t.select}));i&&i.id===e||this.options.forEach((function(t){t.id===e?t.select=!0:t.select=!1}))},chooseAttrEvent:function(t,e){var i=this.attrs[t].label,a=i.findIndex((function(t){return!0===t.select}));a!==e&&this.attrs[t].label.map((function(t,i){t.select=i===e}))},chooseMaterialEvent:function(t){this.materials[t].select=!this.materials[t].select},confirmButton:function(t,e,i){var a=this;console.log("xxxxx",t,i);i.avaliable_order_limit<=0?uni.showModal({title:"提示",content:"您已超过当日特价活动下单最多次数限制,如继续下单会以原价下单,是否继续?",showCancel:!0,cancelText:"取消",confirmText:"确认",success:function(n){n.confirm&&(a.goodPrice=i.price,a.handleSpecClickEvent(t,e,i))}}):(this.goodPrice=i.discount_price,this.handleSpecClickEvent(t,e,i))},handleSpecClickEvent:function(t,e,i){var a=this;0!==i.specOptions?(this.goodsInfo=i,(0,h.showLoading)({mask:!0}),(0,p.getGoodSpecInfoApi)({sid:t,goodsId:e}).then((function(t){console.log(t);var e=t.attrs,i=t.materials,n=t.options;a.attrs=e?e.map((function(t){return{title:t.name,label:t.label.map((function(t,e){return{title:t,select:0===e}}))}})):[],a.options=n?n.map((function(t,e){return{id:t.id,title:t.name,price:Number(t.price),min:0,max:t.total,select:0===e}})):[],a.materials=i?i.map((function(t){return{id:t.id,title:t.name,price:Number(t.price),select:!1}})):[],a.showChooseOptionsModal=!0})).catch((function(t){console.error("[productSpecOperation]获取商品规格信息失败",t),a.showChooseOptionsModal=!1,a.options=[],a.attrs=[],a.materials=[]})).finally((function(){a.$nextTick((function(){(0,h.closeLoading)()}))}))):this.addGoodsList(t,e,i)},handleMultiSpecAddEvent:function(){var t=this;if(this.disabled)return(0,h.showToast)({title:"不允许操作"});this.specGoodNum>=this.specMax&&-1!=this.specMax||(0,g.addGoodToCartApi)({sid:this.goodsInfo.sid,goodsId:this.goodsInfo.goods_id,optionId:this.specOptionId,sign:"+",tableId:"",num:1}).then((function(){0===t.specGoodNum?t.specStoreGoodsNum[t.specOptionId]=1:t.specStoreGoodsNum[t.specOptionId]++,1==t.goodsInfo.is_haodian?(0,r.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t.goodsInfo.sid)):2==t.goodsInfo.is_haodian&&t.goodsInfo.custom_links?(0,r.navPage)("".concat(t.goodsInfo.custom_links)):(t.goodsInfo.pageShowType,(0,r.navPage)("/store-page/product-showcase/template-1?sid=".concat(t.goodsInfo.sid)))})).catch((function(t){console.error("[addGoodToCartApi]添加到购物车失败",t),(0,h.showToast)({title:t.msg}),reject()}))},handleMultiSpecReduceEvent:function(){var t=this;if(this.disabled)return(0,h.showToast)({title:"不允许操作"});this.specGoodNum<=this.specMin||(0,g.addGoodToCartApi)({sid:this.goodsInfo.sid,goodsId:this.goodsInfo.goods_id,optionId:this.specOptionId,sign:"-",tableId:"",num:1}).then((function(){t.specStoreGoodsNum[t.specOptionId]--,1==t.goodsInfo.is_haodian?(0,r.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t.goodsInfo.sid)):2==t.goodsInfo.is_haodian&&t.goodsInfo.custom_links?(0,r.navPage)("".concat(t.goodsInfo.custom_links)):(t.goodsInfo.pageShowType,(0,r.navPage)("/store-page/product-showcase/template-1?sid=".concat(t.goodsInfo.sid)))})).catch((function(t){console.error("[addGoodToCartApi]添加到购物车失败",t),(0,h.showToast)({title:t.msg}),reject()}))},handleShoppingCartGood:function(t){var e=this;return new Promise((function(i,a){(0,h.showLoading)({}),e._addGoodsToCart(t).then((function(t){i(),(0,h.closeLoading)()})).catch((function(t){console.error("[productSpecOperation]添加到购物车失败",t),(0,h.showToast)({title:t.msg}),a()})).finally((function(){e.$nextTick((function(){}))}))}))}}};e.default=m},fdd1:function(t,e,i){"use strict";i.r(e);var a=i("423b"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},fde3:function(t,e,i){"use strict";i.r(e);var a=i("bdcc"),n=i("5453");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("71df");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"1862005e",null,!1,a["a"],void 0);e["default"]=r.exports},fe135:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"store-nav"},[i("v-uni-view",{staticClass:"nav-wrapper"},t._l(t.navs,(function(e,a){return i("v-uni-view",{key:a,staticClass:"nav-item",class:[{select:a===t.currentNavIndex}],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.switchNavEvent(a)}}},[t._v(t._s(e)),a===t.currentNavIndex?i("v-uni-view",{staticClass:"bottom-line theme-bottom-line",style:[{backgroundColor:t.themeBgColor}]}):t._e()],1)})),1),i("v-uni-view",{staticClass:"search"},[i("search-box",{attrs:{size:"small",placholder:"请输入商品名称"},on:{"search-btn-click":function(e){arguments[0]=e=t.$handleEvent(e),t.handleSearchBtnClickEvent.apply(void 0,arguments)}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1)],1)},n=[]},fe4b:function(t,e,i){"use strict";i.r(e);var a=i("ca92"),n=i("a328");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("ab26");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7af16e34",null,!1,a["a"],void 0);e["default"]=r.exports},fe60:function(t,e,i){"use strict";var a=i("51be"),n=i.n(a);n.a},fea7:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("262c"),n=i("d55c"),o={name:"technical-support",options:{virtualHost:!0},props:{bottom:{type:Boolean,default:!1}},created:function(){this.getCopyRight()},data:function(){return{copyright:""}},methods:{getCopyRight:function(){var t=this,e=(0,a.getCopyRightCache)();e?this.copyright=e:(0,n.getCopyRightApi)().then((function(e){(0,a.setCopyRightCache)(e.copyright),t.copyright=e.copyright}))}}};e.default=o},feb3:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={tnLazyLoad:i("b461").default,tnLoadMore:i("9266").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"products-list sgpl-products-list theme-products-list"},[t._l(t.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item"},[i("v-uni-view",{staticClass:"item-title sgpl-item-title",style:[t.categoryTitleStyle],attrs:{id:"sgpl-item-title-"+a}},[i("v-line-title",{attrs:{avctColor:t.avctColor}},[i("v-uni-view",{staticClass:"tn-text-ellipsis-1"},[t._v(t._s(e.title))])],1)],1),e.goods&&e.goods.length>0?i("v-uni-view",{staticClass:"item-goods",style:{paddingTop:t.paddingtop?t.pdtop+"px":""}},t._l(e.goods,(function(e,n){return i("v-uni-view",{key:n,staticClass:"good"},[i("v-uni-view",{staticClass:"good-image tn-border-gray--light",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.Good(e,n)}}},[i("tn-lazy-load",{attrs:{src:e.image}})],1),i("v-uni-view",{staticClass:"good-info",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage("/store-page/goodsDetail/index?sid="+t.sid+"&id="+e.id)}}},[i("v-uni-view",{staticClass:"good-title",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage("/store-page/goodsDetail/index?sid="+t.sid+"&id="+e.id)}}},[t._v(t._s(e.title))]),e.content?i("v-uni-view",{staticClass:"good-content tn-text-ellipsis-1",class:t.avctColor?"":"theme-store-notice",style:{background:t.avctColor?"#e9ffed":"",color:t.avctColor?t.avctColor:"",border:t.avctColor?"1px solid #d1ffda":""}},[t._v(t._s(e.content))]):t._e(),i("v-uni-view",{staticClass:"tn-flex-center-between tn-margin-top-xs"},[i("v-uni-view",{staticClass:"good-price tn-flex-row-end"},[i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.price))]),e.is_tuangouquan?i("v-uni-view",{staticClass:"unit",staticStyle:{"margin-left":"10rpx"}},[t._v("券后价")]):t._e()],1),e.oldPrice?i("v-uni-view",{staticClass:"price old tn-color-gray"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.oldPrice))])],1):t._e(),e.buy_limit&&e.buy_limit>0?i("v-uni-view",{staticStyle:{"font-size":"24rpx","margin-left":"10rpx",color:"red"}},[i("v-uni-view",[t._v("限购"+t._s(e.buy_limit)+"件")])],1):t._e()],1)],1),i("v-uni-view",{staticClass:"tn-flex-center-between tn-margin-top-xs theme-product-box",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),function(){}.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"good-month-sale tn-color-gray"},[t._v("已售"+t._s(e.sailed))]),i("product-spec-number-box",{ref:"goods",refInFor:!0,attrs:{value:e.num,min:e.min,max:e.max,is_tuangouquan:e.is_tuangouquan,type:e.specOptions,"image-url":e.image?e.image:e.thumb,desc:e.content,sid:t.sid,"good-id":e.id,"spellrice-id":t.spellriceId,"table-id":t.tableId,title:e.title,"good-price":e.price,disabled:t.isRest,is_api:e.is_api,"good-old-price":e.oldPrice,good_code:e.good_code,brand:e.brand,storeCode:e.storeCode,navType:t.navType,buy_limit:e.buy_limit},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductNumChangeEvent(e,a,n)},"input-num":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductInputUpdaeEvent(e,a,n)}}})],1)],1)],1)})),1):t._e(),i("v-uni-view",{staticClass:"tnloads tn-padding-bottom-xl"},[t.showloadStatu?i("tn-load-more",{staticClass:"tn-margin-top",attrs:{status:"loading",loadingIconColor:"#ffca28",loadText:t.loadText2}}):t._e(),t.showloadStatu2?i("tn-load-more",{staticClass:"tn-margin-top",attrs:{status:"loading",loadingIconColor:"#ffca28",loadText:t.loadText}}):t._e()],1)],1)})),i("v-uni-view",{staticClass:"bottom-area-content"}),i("img-modal",{attrs:{mode:t.modalmode},model:{value:t.modalShow,callback:function(e){t.modalShow=e},expression:"modalShow"}}),i("center-modal",{attrs:{"confirm-text":"修改"},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.openInputGoodsNumModal=!t.openInputGoodsNumModal},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.submitUpdateCart.apply(void 0,arguments)}},model:{value:t.openInputGoodsNumModal,callback:function(e){t.openInputGoodsNumModal=e},expression:"openInputGoodsNumModal"}},[i("v-uni-input",{staticClass:"input",attrs:{type:"digit",placeholder:"请输入商品数量"},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1)],2)},o=[]},feb4:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.custom-tabbar[data-v-533cee12]{position:fixed;left:0;bottom:0;width:100%;height:%?110?%;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom)!important;padding-bottom:env(safe-area-inset-bottom)!important;box-sizing:initial;z-index:39999;box-shadow:%?0?% %?2?% %?20?% %?0?% rgba(0,0,0,.05)}.custom-tabbar .tabbar[data-v-533cee12]{\n /* 背景 start */\n /* 背景 end */\n /* data数据 start */\n /* data数据 end */}.custom-tabbar .tabbar__bg[data-v-533cee12]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:hsla(0,0%,100%,.5);background-color:#fff;backdrop-filter:blur(%?20?%);-webkit-backdrop-filter:blur(%?20?%);z-index:39998}.custom-tabbar .tabbar__data[data-v-533cee12]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:inherit;display:flex;align-items:center;justify-content:space-around;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom)!important;padding-bottom:env(safe-area-inset-bottom)!important}.custom-tabbar .tabbar__data .data__item[data-v-533cee12]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1e2124}.custom-tabbar .tabbar__data .data__item.select[data-v-533cee12]{color:#ffca28}.custom-tabbar .tabbar__data .data__item .item__icon[data-v-533cee12]{font-size:%?42?%;width:%?50?%;height:%?50?%;margin-bottom:%?4?%}.custom-tabbar .tabbar__data .data__item .item__icon--icon[data-v-533cee12]{text-align:center}.custom-tabbar .tabbar__data .data__item .item__icon--image[data-v-533cee12]{width:100%;height:100%}.custom-tabbar .tabbar__data .data__item .item__icon.circle[data-v-533cee12]{width:%?100?%;height:%?100?%;border-radius:50%;background-color:#fff;box-shadow:%?0?% %?-12?% %?12?% %?2?% rgba(0,0,0,.02);display:flex;justify-content:center;align-items:center;margin-top:%?-54?%}.custom-tabbar .tabbar__data .data__item .item__icon.circle .item__icon--image[data-v-533cee12]{width:%?72?%;height:%?72?%}.custom-tabbar .tabbar__data .data__item .item__to-top[data-v-533cee12]{font-size:%?52?%;justify-content:center;display:flex;flex-direction:column}.custom-tabbar .tabbar__data .data__item .item__to-top .item__title[data-v-533cee12]{font-size:%?26?%;display:block}',""]),t.exports=e},ff3a:function(t,e,i){"use strict";var a=i("15fe"),n=i.n(a);n.a},ff5a:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var a={name:"tn-rate",props:{value:{type:Number,default:0},count:{type:Number,default:5},minCount:{type:Number,default:0},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},size:{type:Number,default:32},activeIcon:{type:String,default:"star-fill"},inactiveIcon:{type:String,default:"star"},activeColor:{type:String,default:"#01BEFF"},inactiveColor:{type:String,default:"#AAAAAA"},gutter:{type:Number,default:10},colors:{type:Array,default:function(){return[]}},icons:{type:Array,default:function(){return[]}}},computed:{showHalfIcon:function(t){var e=this;return function(t){return e.allowHalf&&Math.ceil(e.activeIndex)===t+1&&e.halfIcon}},elActionIcon:function(){var t=this.icons.length;if(t&&t<=this.count){var e=Math.round(Math.ceil(this.activeIndex)/Math.round(this.count/t));return e<1?this.icons[0]:e>t?this.icons[t-1]:this.icons[e-1]}return this.activeIcon},elInactionIcon:function(){var t=this.icons.length;if(t&&t<=this.count){var e=Math.round(Math.ceil(this.activeIndex)/Math.round(this.count/t));return e<1?this.icons[0]:e>t?this.icons[t-1]:this.icons[e-1]}return this.inactiveIcon},elActionColor:function(){var t=this.colors.length;if(t&&t<=this.count){var e=Math.round(Math.ceil(this.activeIndex)/Math.round(this.count/t));return e<1?this.colors[0]:e>t?this.colors[t-1]:this.colors[e-1]}return this.activeColor},iconStyle:function(){var t=this;return function(e){var i={};return i.fontSize=t.$tn.string.getLengthUnitValue(t.size),i.padding="0 ".concat(t.$tn.string.getLengthUnitValue(t.gutter/2)),t.allowHalf&&t.halfIcon?i.color=t.activeIndex>e+1?t.elActionColor:t.inactiveColor:i.color=t.activeIndex>e?t.elActionColor:t.inactiveColor,i}},halfIconStyle:function(){var t={};return t.fontSize=this.$tn.string.getLengthUnitValue(this.size),t.padding="0 ".concat(this.$tn.string.getLengthUnitValue(this.gutter/2)),t.color=this.elActionColor,t}},data:function(){return{elId:this.$tn.uuid(),elClass:this.$tn.uuid(),starBoxLeft:0,activeIndex:this.value,starWidth:0,starWidthArr:[],halfIcon:!1}},watch:{value:function(t){this.activeIndex=t,this.allowHalf&&t%1===.5?this.halfIcon=!0:this.halfIcon=!1},size:function(){var t=this;this.$nextTick((function(){t.getElRectById(),t.getElRectByClass()}))}},mounted:function(){this.getElRectById(),this.getElRectByClass(),console.log("aaaaaaa",this.value),this.halfIcon=this.value%1===.5},methods:{getElRectById:function(){var t=this;this._tGetRect("#"+this.elId).then((function(e){t.starBoxLeft=e.left}))},getElRectByClass:function(){var t=this;this._tGetRect("."+this.elClass).then((function(e){t.starWidth=e.width;for(var i=0;i<t.count;i++)t.starWidthArr[i]=(i+1)*t.starWidth}))},touchMove:function(t){if(!this.disabled&&t.changedTouches[0]){var e=t.changedTouches[0].pageX,i=e-this.starBoxLeft;i<=0&&(this.activeIndex=0);var a=Math.ceil(i/this.starWidth);if(this.allowHalf){var n=this.starWidthArr[a-1]-this.starWidth/2;i<n?(this.halfIcon=!0,a-=.5):this.halfIcon=!1}this.activeIndex=a>this.count?this.count:a,this.activeIndex<this.minCount&&(this.activeIndex=this.minCount),this.emitEvent()}},click:function(t,e){if(!this.disabled){if(this.allowHalf){if(!e.changedTouches[0])return;var i=e.changedTouches[0].pageX,a=i-this.starBoxLeft,n=this.starWidthArr[t-1]-this.starWidth/2;this.halfIcon=a<n}1==t?this.allowHalf&&this.allowHalf?.5===this.activeIndex&&this.halfIcon||1===this.activeIndex&&!this.halfIcon?this.activeIndex=0:this.activeIndex=this.halfIcon?.5:1:1==this.activeIndex?this.activeIndex=0:this.activeIndex=1:this.activeIndex=this.allowHalf&&this.halfIcon?t-.5:t,this.activeIndex<this.minCount&&(this.activeIndex=this.minCount),this.emitEvent()}},emitEvent:function(){this.$emit("change",this.activeIndex),this.$emit("input",this.activeIndex)}}};e.default=a},ff5b:function(t,e,i){"use strict";var a=i("4226"),n=i.n(a);n.a},ffa0:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.titleBox[data-v-6d5dad48]{display:flex;align-items:center;justify-content:center;color:#d31c1c;font-size:%?32?%;padding:%?32?% 0}.titleBox .text[data-v-6d5dad48]{display:flex;align-items:center;justify-content:center}.titleBox .line[data-v-6d5dad48]{width:%?124?%;height:1px;background:#ff6262;margin:0 %?22?%}.content[data-v-6d5dad48]{display:flex;flex-wrap:wrap}.content .col[data-v-6d5dad48]{width:calc(50% - %?10?%);margin-bottom:%?20?%;display:flex;justify-content:space-between;box-shadow:0 3px 20px 1px rgba(0,0,0,.12);background:linear-gradient(301deg,#fff7f7,#f82b19);padding:%?17?% %?11?%;color:#fff;position:relative;border-radius:%?20?%;position:relative}.content .col[data-v-6d5dad48]::after{content:"";position:absolute;width:%?84?%;height:%?84?%;bottom:0;left:50%;margin-left:%?-70?%;background:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/lucky/prowIcon.png);background-size:contain}.content .col .top[data-v-6d5dad48]{width:%?160?%;font-size:%?32?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content .col .center[data-v-6d5dad48]{font-size:%?25?%;padding:%?7?% %?5?%;background:hsla(0,0%,100%,.2);border-radius:%?6?%}.content .col .bottom[data-v-6d5dad48]{position:absolute;bottom:0;left:0;background:#fae120;font-size:%?36?%;color:#222;padding:%?10?% %?32?% %?10?% %?12?%;border-radius:%?0?% %?10?% 0 0;font-weight:900}.content .col .bottom > uni-text[data-v-6d5dad48]{font-size:%?25?%}.content .col .foodIcon[data-v-6d5dad48]{height:%?150?%;width:%?150?%}.content .col[data-v-6d5dad48]:nth-child(2n + 1){margin-right:%?20?%}.tsContent .col[data-v-6d5dad48]{flex-shrink:0;margin-right:%?18?%;flex-direction:column;width:%?216?%;height:%?213?%;box-sizing:border-box;padding:%?10?%;background:linear-gradient(1turn,#fdb4b4,#f82b19);box-shadow:0 3px 20px 1px rgba(0,0,0,.12)}.tsContent .col[data-v-6d5dad48]::after{height:0}.tsContent .col .title[data-v-6d5dad48]{font-size:%?30?%;color:#fff;text-align:center;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tsContent .col .foodIconBox[data-v-6d5dad48]{position:relative;width:100%}.tsContent .col .foodIconBox .foodIcon[data-v-6d5dad48]{width:100%;height:%?140?%;border-radius:%?10?%}.tsContent .col .foodIconBox .qg[data-v-6d5dad48]{position:absolute;top:%?-1?%;left:%?-1?%;background:#5ac459;font-size:%?25?%;color:#fff;padding:%?6?% %?8?%;border-radius:%?10?% 0 %?10?% 0}.tsContent .col .foodIconBox .priceBox[data-v-6d5dad48]{position:absolute;right:0;bottom:4px;background-size:contain;text-align:center;padding:%?4?% %?10?%;background:#fff;border-radius:%?10?% 0 %?10?% 0;border:1px solid #f7f7f7}.tsContent .col .foodIconBox .priceBox .price[data-v-6d5dad48]{font-size:%?32?%;color:#d31c1c;font-weight:900}.tsContent .col .foodIconBox .priceBox .price > uni-text[data-v-6d5dad48]{font-size:%?20?%}.tsContent .col[data-v-6d5dad48]:nth-child(3n){margin-right:0}\n/* 选择区域 start */.content-wrapper[data-v-6d5dad48]{padding:%?30?%;width:100%;height:%?500?%}.content-wrapper .content-data[data-v-6d5dad48]{width:100%\n /* 可选项 start */\n /* 可选项 end */}.content-wrapper .content-data .content-title[data-v-6d5dad48]{font-size:%?24?%}.content-wrapper .content-data .content-select[data-v-6d5dad48]{display:flex;flex-wrap:wrap}.content-wrapper .content-data .content-select .select-item[data-v-6d5dad48]{display:flex;align-items:center;border-radius:%?15?%;margin-right:%?12?%;margin-top:%?20?%}.content-wrapper .content-data .content-select .select-item .item-title[data-v-6d5dad48],\n.content-wrapper .content-data .content-select .select-item .item-price[data-v-6d5dad48]{line-height:1;padding:%?12?% %?20?%}.content-wrapper .content-data .content-select .select-item .item-title[data-v-6d5dad48]{padding-right:%?24?%}.content-wrapper .content-data .content-select .select-item .item-price[data-v-6d5dad48]{border-radius:%?0?%;border-left-width:%?1?%;border-left-style:solid;border-color:inherit}.content-wrapper .content-data .content-select .select-item.select[data-v-6d5dad48]{border-color:var(--theme-color)!important;color:var(--theme-color)}.content-wrapper .content-data + .content-data[data-v-6d5dad48]{margin-top:%?24?%}\n/* 选择区域 end */\n/* 选中规格属性加料弹框 start */.spec-choose-modal[data-v-6d5dad48]{width:100%;padding-top:%?24?%\n /* 商品操作 start */\n /* 商品操作 end */\n /* 选择区域 start */\n /* 选择区域 end */\n /* 已选择规格 start */\n /* 已选择规格 end */\n /* 价格、数量信息 start */\n /* 价格、数量信息 end */}.spec-choose-modal.disabled .operation__add .icon[data-v-6d5dad48]{background-color:#aaa;color:#fff}.spec-choose-modal .operation__spec[data-v-6d5dad48]{padding:%?6?% %?20?%;border-radius:%?15?%;position:relative;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.spec-choose-modal .operation__spec .num[data-v-6d5dad48]{position:absolute;top:0;right:0;-webkit-transform:translate(10%,-50%);transform:translate(10%,-50%);line-height:1;padding:%?4?% %?10?%;border-radius:%?200?%}.spec-choose-modal .operation__spec .num .input[data-v-6d5dad48]{color:#000}.spec-choose-modal .operation__add[data-v-6d5dad48]{height:%?46?%}.spec-choose-modal .operation__add .icon[data-v-6d5dad48]{width:%?46?%;height:%?46?%;font-size:%?30?%;line-height:1;border-radius:50%;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.spec-choose-modal .operation__add .num[data-v-6d5dad48]{width:%?50?%;height:100%;margin:%?0?% %?5?%}.spec-choose-modal .operation__add .num .input[data-v-6d5dad48]{width:100%;height:100%;padding:%?0?%;background-color:initial;color:#000;text-align:center}.spec-choose-modal .small-box[data-v-6d5dad48]{display:flex;align-items:center;padding-left:%?30?%}.spec-choose-modal .goods-image[data-v-6d5dad48]{width:100%;border-top-left-radius:%?15?%;border-top-right-radius:%?15?%;margin-top:%?-25?%;max-height:%?750?%}.spec-choose-modal .goods-name-small[data-v-6d5dad48]{height:1rem;display:flex;flex-direction:column;justify-content:space-around}.spec-choose-modal .goods-image-small[data-v-6d5dad48]{width:%?100?%;height:%?100?%;border-radius:%?10?%}.spec-choose-modal .good-title[data-v-6d5dad48]{font-size:%?34?%;font-weight:500;padding:%?0?% %?30?%}.spec-choose-modal .desc[data-v-6d5dad48]{padding:%?0?% %?30?%;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1}.spec-choose-modal .content-wrapper[data-v-6d5dad48]{padding:%?30?%;width:100%;height:%?500?%}.spec-choose-modal .content-wrapper .content-data[data-v-6d5dad48]{width:100%\n /* 可选项 start */\n /* 可选项 end */}.spec-choose-modal .content-wrapper .content-data .content-title[data-v-6d5dad48]{font-size:%?24?%}.spec-choose-modal .content-wrapper .content-data .content-select[data-v-6d5dad48]{display:flex;flex-wrap:wrap}.spec-choose-modal .content-wrapper .content-data .content-select .select-item[data-v-6d5dad48]{display:flex;align-items:center;border-radius:%?15?%;margin-right:%?12?%;margin-top:%?20?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-6d5dad48],\n.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-6d5dad48]{line-height:1;padding:%?12?% %?20?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-6d5dad48]{padding-right:%?24?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-6d5dad48]{border-radius:%?0?%;border-left-width:%?1?%;border-left-style:solid;border-color:inherit}.spec-choose-modal .content-wrapper .content-data .content-select .select-item.select[data-v-6d5dad48]{border-color:var(--theme-color)!important;color:var(--theme-color)}.spec-choose-modal .content-wrapper .content-data + .content-data[data-v-6d5dad48]{margin-top:%?24?%}.spec-choose-modal .select-attr-value[data-v-6d5dad48]{width:100%;padding:%?10?% %?30?%;display:flex}.spec-choose-modal .select-attr-value .value[data-v-6d5dad48]{flex:1;padding-left:%?20?%}.spec-choose-modal .price-num-wrapper[data-v-6d5dad48]{width:100%;padding:%?30?%;display:flex;justify-content:space-between}.spec-choose-modal .price-num-wrapper .price-value .title[data-v-6d5dad48]{font-size:%?32?%}.spec-choose-modal .price-num-wrapper .price-value .price[data-v-6d5dad48]{margin-left:%?12?%;display:flex;align-items:flex-end}.spec-choose-modal .price-num-wrapper .price-value .price .unit[data-v-6d5dad48]{font-size:%?32?%;line-height:1;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.spec-choose-modal .price-num-wrapper .price-value .price .value[data-v-6d5dad48]{font-size:%?46?%;line-height:1;font-weight:700;margin-left:%?4?%}\n/* 选中规格属性加料弹框 end */',""]),t.exports=e},ffa4:function(t,e,i){var a=i("63f4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("3e336922",a,!0,{sourceMap:!1,shadowMode:!1})},ffc8:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("2797"),i("e966"),i("dd2b");var a=i("af51"),n={name:"deliveryTime",data:function(){return{curridx:0,list:[],timer:null}},mounted:function(){this.getListData()},beforeDestroy:function(){clearInterval(this.timer)},destroyed:function(){console.log("destroyed")},methods:{seleTime:function(t,e){this.curridx=t,this.$emit("changClick",e)},getListData:function(){var t=this;(0,a.getCutTImeData)().then((function(e){console.log("截单列表",e),t.list=e,t.curridx=0;var i=uni.getStorageSync("currTimeId");i&&t.list.forEach((function(e,a){e.id==i&&(t.curridx=a)})),t.$emit("changClick",e[t.curridx].id),t.list&&t.list.length>0&&(t.handleFormatTime(),t.countDown())})).catch((function(t){console.log(t)}))},duibiTime:function(t){var e=new Date,i=e.getHours()+":"+(e.getMinutes()<9?"0"+e.getMinutes():e.getMinutes()),a=t,n=i.split(":"),o=a.split(":");if(e.setHours(n[0],n[1])>e.setHours(o[0],o[1]))return!0},countDown:function(){var t=this;this.timer=setInterval((function(){t.handleFormatTime()}),1e3)},handleFormatTime:function(){var t=this;this.list.forEach((function(e,i){var a=e.pre_day,n=e.cut_time,o=n.split(":"),s=parseInt(o[0]),r=parseInt(o[1]);s=0==a?s:s+24*a;var c=new Date,d=c.getHours(),l=c.getMinutes(),u=c.getSeconds(),f={};s>d?(f.hour=s-d-1,r>l?(f.minutes=r-l,f.second=60-u):(f.minutes=r-l+60,f.second=60-u)):(f.hour=s-d==0?0:s-d-1+24,r>l?(f.minutes=r-l,f.second=60-u):(f.minutes=r-l+60,f.second=60-u)),e.remainingTime=f,t.list.splice(i,1,e)}))}}};e.default=n}}]);
|