(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["carRental-list"],{"0009":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=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=[]},"02f1":function(t,e,i){"use strict";var o=i("300d"),n=i.n(o);n.a},"0762":function(t,e,i){"use strict";i.r(e);var o=i("e153"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"0807":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=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=[]},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 o={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=o},1205:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var o=i("e0a2"),n={name:"TemplateLoading",props:{auto:{type:Boolean,default:!0},zindex:{type:Number},showMask:{type:Boolean,default:!1}},data:function(){return{UNIACID:(0,o.getTicketAcid)(),loading_logo:uni.getStorageSync("LOADING_LOGO")}},methods:{}};e.default=n},1287:function(t,e,i){"use strict";i.r(e);var o=i("48da"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"18eb":function(t,e,i){"use strict";var o=i("5dd3"),n=i.n(o);n.a},"1a84":function(t,e,i){"use strict";i.r(e);var o=i("b397"),n=i("1287");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("a438");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"d96f376c",null,!1,o["a"],void 0);e["default"]=r.exports},"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}},"1e2b":function(t,e,i){"use strict";i("6a54");var o=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=o(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)}},"1f36":function(t,e,i){"use strict";i.r(e);var o=i("e76c"),n=i("39c9");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("18eb");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"51387a22",null,!1,o["a"],void 0);e["default"]=r.exports},"1fbf":function(t,e,i){"use strict";i.r(e);var o=i("6197"),n=i("84ae");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("47c3");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"ef46d0a4",null,!1,o["a"],void 0);e["default"]=r.exports},"213b":function(t,e,i){"use strict";var o=i("c59f"),n=i.n(o);n.a},"265b":function(t,e,i){"use strict";i.r(e);var o=i("dcaf"),n=i("50b3");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("e466");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"cdb8d6ca",null,!1,o["a"],void 0);e["default"]=r.exports},"27b7":function(t,e,i){"use strict";var o=i("bd73"),n=i.n(o);n.a},"29cd":function(t,e,i){var o=i("c86c");e=o(!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-72e45521]{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-72e45521]{position:relative;width:100%}.products-list .item[data-v-72e45521]{\n /* 分类商品容器 start */\n /* 分类商品容器 end */}.products-list .item .item + .item[data-v-72e45521]{padding:%?20?% %?0?% 0 %?0?%}.products-list .item .item-title[data-v-72e45521]{position:-webkit-sticky;position:sticky;padding:%?2?% %?0?%;z-index:33;background-color:#f6f7f8;height:34px;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.products-list .item .item-title.item[data-v-72e45521]:first-child{background-color:#fff}.products-list .item .item-goods[data-v-72e45521]{position:relative;width:100%}.products-list .item .item-goods .good[data-v-72e45521]{display:flex;position:relative;margin-bottom:%?20?%;height:115px;padding:%?20?% %?30?% %?20?% %?20?%;background-color:#fff\n /* 商品主图 start */\n /* 商品主图 end */\n /* 商品信息 start */\n /* 商品信息 end */}.products-list .item .item-goods .good .good-image[data-v-72e45521]{width:%?148?%;height:%?106?%;border-radius:%?10?%;border:1px solid #f2f2f2}.products-list .item .item-goods .good .good-info[data-v-72e45521]{flex:1;margin-left:%?20?%\n /* 商品价格 start */\n /* 商品价格 end */}.products-list .item .item-goods .good .good-info .good-title[data-v-72e45521]{width:100%;font-family:Source Han Sans CN;font-weight:700;font-size:%?28?%;color:#151515;line-height:%?48?%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.products-list .item .item-goods .good .good-info .good-month-sale[data-v-72e45521]{font-size:%?24?%}.products-list .item .item-goods .good .good-info .good-content[data-v-72e45521]{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-72e45521]{display:flex;align-items:flex-end;font-size:%?36?%;line-height:1;font-weight:700;flex-direction:column}.products-list .item .item-goods .good .good-info .good-price .price .unit[data-v-72e45521]{font-family:Source Han Sans CN;font-weight:700;font-size:%?22?%;color:#ff5326;line-height:%?22?%}.products-list .item .item-goods .good .good-info .good-price .price .avg[data-v-72e45521]{font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#9d9d9d;line-height:%?48?%}.products-list .item .item-goods .good .good-info .good-price .price .value[data-v-72e45521]{font-family:Source Han Sans CN;font-weight:700;font-size:%?36?%;color:#ff5326;line-height:%?36?%}[data-v-72e45521] .tnloads .tn-load-more__line{display:none}',""]),t.exports=e},"2f5b":function(t,e,i){var o=i("c86c");e=o(!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/* 胶囊*/.tn-custom-nav-bar__back[data-v-63640e0a]{width:100%;height:100%;position:relative;display:flex;justify-content:space-evenly;align-items:center;box-sizing:border-box;background-color:rgba(0,0,0,.15);border-radius:%?1000?%;border:%?1?% solid hsla(0,0%,100%,.5);color:#fff;font-size:18px}.tn-custom-nav-bar__back .icon[data-v-63640e0a]{display:block;flex:1;margin:auto;text-align:center}.tn-custom-nav-bar__back[data-v-63640e0a]:before{content:" ";width:%?1?%;height:110%;position:absolute;top:22.5%;left:0;right:0;margin:auto;-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;box-sizing:border-box;opacity:.7;background-color:#fff}@-webkit-keyframes img-data-v-63640e0a{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-1turn)}}@keyframes img-data-v-63640e0a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@-webkit-keyframes spin-data-v-63640e0a{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn)}}@keyframes spin-data-v-63640e0a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes spin-reverse-data-v-63640e0a{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(0deg)}}@keyframes spin-reverse-data-v-63640e0a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.loader-wrapper[data-v-63640e0a]{position:absolute;top:0;width:100%;height:100vh;z-index:10;overflow:hidden}.loader-wrapper2[data-v-63640e0a]{position:absolute;width:100%;height:100%;z-index:10;overflow:hidden}.loader[data-v-63640e0a]{display:flex;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:3px solid transparent;border-top-color:#00ffc6;-webkit-animation:spin-data-v-63640e0a 1.7s linear infinite;animation:spin-data-v-63640e0a 1.7s linear infinite;z-index:11}.mask[data-v-63640e0a]{width:100%;height:100%}.showMask[data-v-63640e0a]{background-color:#fff}.loader[data-v-63640e0a]:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:#fff00d;-webkit-animation:spin-reverse-data-v-63640e0a 5.6s linear infinite;animation:spin-reverse-data-v-63640e0a 5.6s linear infinite}.loader[data-v-63640e0a]:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:#fbbd12;-webkit-animation:spin-data-v-63640e0a 2.3s linear infinite;animation:spin-data-v-63640e0a 2.3s linear infinite}.logo-loading[data-v-63640e0a]{font-size:%?120?%;color:#01beff;margin:auto;align-items:center;display:table-cell;vertical-align:middle;text-align:center;-webkit-animation:img-data-v-63640e0a 1.7s linear infinite;animation:img-data-v-63640e0a 1.7s linear infinite}.diyLoadingLogo[data-v-63640e0a]{width:%?90?%;height:%?90?%;-webkit-animation:img-data-v-63640e0a 1.7s linear infinite;animation:img-data-v-63640e0a 1.7s linear infinite;margin:auto}',""]),t.exports=e},"300d":function(t,e,i){var o=i("4dc2");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("1de0662a",o,!0,{sourceMap:!1,shadowMode:!1})},"38f3":function(t,e,i){"use strict";i("6a54");var o=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=o(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,o=t.psize;return n.default.get("api/user.member.redpacket/list",{status:e||0,page:i||1,psize:o||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")}},"39c9":function(t,e,i){"use strict";i.r(e);var o=i("e4de"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"3b05":function(t,e,i){var o=i("d16d");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("93045724",o,!0,{sourceMap:!1,shadowMode:!1})},"3b2f":function(t,e,i){"use strict";i.r(e);var o=i("f964"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"3da0":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var o={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)},a=[]},"3fb4":function(t,e,i){var o=i("c86c");e=o(!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},"431c":function(t,e,i){"use strict";i.r(e);var o=i("f3fd"),n=i("0762");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("27b7");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"662bcc85",null,!1,o["a"],void 0);e["default"]=r.exports},"45b3":function(t,e,i){var o=i("c86c");e=o(!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-popup[data-v-ef46d0a4]{display:block;position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden}.tn-popup__content[data-v-ef46d0a4]{display:block;position:absolute;transition:all .25s linear}.tn-popup__content--visible[data-v-ef46d0a4]{-webkit-transform:translateZ(0)!important;transform:translateZ(0)!important}.tn-popup__content--visible.tn-popup--center[data-v-ef46d0a4]{-webkit-transform:scale(1);transform:scale(1);opacity:1}.tn-popup__content__center_box[data-v-ef46d0a4]{min-width:%?100?%;min-height:%?100?%;display:block;position:relative}.tn-popup__content__scroll-view[data-v-ef46d0a4]{width:100%;height:100%}.tn-popup__content__center--animation-zoom[data-v-ef46d0a4]{-webkit-transform:scale(1.15);transform:scale(1.15)}.tn-popup__scroll_view[data-v-ef46d0a4]{width:100%;height:100%}.tn-popup--left[data-v-ef46d0a4]{top:0;bottom:0;left:0;background-color:#fff}.tn-popup--right[data-v-ef46d0a4]{top:0;bottom:0;right:0;background-color:#fff}.tn-popup--top[data-v-ef46d0a4]{left:0;right:0;top:0;background-color:#fff}.tn-popup--bottom[data-v-ef46d0a4]{left:0;right:0;bottom:0;background-color:#fff}.tn-popup--center[data-v-ef46d0a4]{display:flex;flex-direction:column;bottom:0;top:0;left:0;right:0;justify-content:center;align-items:center;opacity:0}.tn-popup__close[data-v-ef46d0a4]{position:absolute}.tn-popup__close--top-left[data-v-ef46d0a4]{top:%?30?%;left:%?30?%}.tn-popup__close--top-right[data-v-ef46d0a4]{top:%?30?%;right:%?30?%}.tn-popup__close--bottom-left[data-v-ef46d0a4]{bottom:%?30?%;left:%?30?%}.tn-popup__close--bottom-right[data-v-ef46d0a4]{bottom:%?30?%;right:%?30?%}.tn-popup__mask[data-v-ef46d0a4]{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:0}.tn-popup__mask--show[data-v-ef46d0a4]{opacity:1}',""]),t.exports=e},"47c3":function(t,e,i){"use strict";var o=i("a547"),n=i.n(o);n.a},48073:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.openModal?i("v-uni-view",{staticClass:"bottom-modal",style:[t.modalStyle]},[t.mask?i("v-uni-view",{staticClass:"bottom-modal__mask",class:[{transparent:t.transparentMask}],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("mask")}}}):t._e(),i("v-uni-view",{staticClass:"bottom-modal__wrapper theme-bottom-modal-wrapper",class:[{"no-padding":t.noPadding,"tn-shadow":t.transparentMask}],style:[t.wrapperStyle]},[t.closeBtn?i("v-uni-view",{staticClass:"bottom-modal__close-btn",style:[t.closeBtnStyle],on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.closeModal("btn")}}},[i("v-uni-text",{staticClass:"tn-icon-close"})],1):t._e(),t._t("default")],2)],1):t._e()},n=[]},"48da":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var o={props:{couponNum:{type:Number,default:0},couponMoney:{type:Number,default:0}},methods:{subCoupon:function(){this.$emit("subCoupon")}}};e.default=o},"4dc2":function(t,e,i){var o=i("c86c");e=o(!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-426c4302]{position:relative;width:100%;display:flex;background-color:#fff}.goods-list .skeleton-wrapper[data-v-426c4302]{position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;z-index:99}.goods-list .skeleton-wrapper--right[data-v-426c4302]{left:%?160?%;width:calc(100% - %?160?%)}.goods-list .skeleton-wrapper--right .skeleton-content[data-v-426c4302]{padding-left:0}.goods-list .skeleton-wrapper--right .skeleton-right[data-v-426c4302]{padding-left:%?20?%}.goods-list .skeleton-content[data-v-426c4302]{display:flex;padding:%?20?%}.goods-list .skeleton-left[data-v-426c4302]{width:%?160?%;flex-shrink:0}.goods-list .skeleton-right[data-v-426c4302], .goods-list .skeleton-tc[data-v-426c4302]{flex:1;padding-left:%?20?%}.goods-list .skeleton-item[data-v-426c4302]{background:#fff;border-radius:%?8?%}.goods-list .skeleton-category[data-v-426c4302]{height:%?90?%;margin-bottom:%?20?%;background:#f5f5f5;-webkit-animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite;animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite}.goods-list .skeleton-product[data-v-426c4302], .goods-list .skeleton-product-tc[data-v-426c4302]{display:flex;padding:%?20?%;margin-bottom:%?20?%;background:#fff;border-radius:%?12?%}.goods-list .skeleton-product__img[data-v-426c4302], .goods-list .skeleton-product-tc__img[data-v-426c4302]{width:%?160?%;height:%?160?%;background:#f5f5f5;border-radius:%?8?%;-webkit-animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite;animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite}.goods-list .skeleton-product__content[data-v-426c4302], .goods-list .skeleton-product-tc__content[data-v-426c4302]{flex:1;margin-left:%?20?%;display:flex;flex-direction:column;justify-content:space-between}.goods-list .skeleton-product__title[data-v-426c4302], .goods-list .skeleton-product-tc__title[data-v-426c4302]{height:%?40?%;width:80%;background:#f5f5f5;border-radius:%?4?%;margin-bottom:%?16?%;-webkit-animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite;animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite}.goods-list .skeleton-product__title-sub[data-v-426c4302], .goods-list .skeleton-product-tc__title-sub[data-v-426c4302]{height:%?32?%;width:60%;background:#f5f5f5;border-radius:%?4?%;-webkit-animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite;animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite}.goods-list .skeleton-product__bottom[data-v-426c4302], .goods-list .skeleton-product-tc__bottom[data-v-426c4302]{display:flex;justify-content:space-between;align-items:center;margin-top:%?20?%}.goods-list .skeleton-product__price[data-v-426c4302], .goods-list .skeleton-product-tc__price[data-v-426c4302]{height:%?40?%;width:%?120?%;background:#f5f5f5;border-radius:%?4?%;-webkit-animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite;animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite}.goods-list .skeleton-product__btn[data-v-426c4302], .goods-list .skeleton-product-tc__btn[data-v-426c4302]{height:%?56?%;width:%?56?%;background:#f5f5f5;border-radius:50%;-webkit-animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite;animation:skeleton-blink-data-v-426c4302 1.5s ease-in-out infinite}@-webkit-keyframes skeleton-blink-data-v-426c4302{0%{opacity:1}50%{opacity:.4}100%{opacity:1}}@keyframes skeleton-blink-data-v-426c4302{0%{opacity:1}50%{opacity:.4}100%{opacity:1}}.goods-list .list-left[data-v-426c4302]{position:-webkit-sticky;position:sticky;width:%?160?%;flex-shrink:0;overflow-x:hidden}.goods-list .list-right[data-v-426c4302]{flex-grow:1;background:#f6f7f8;margin-top:18px}.goods-list .scroll-view[data-v-426c4302]{overflow-y:scroll}',""]),t.exports=e},"4e61":function(t,e,i){"use strict";i.r(e);var o=i("9afc"),n=i("8859");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("63ae");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"72e45521",null,!1,o["a"],void 0);e["default"]=r.exports},"50b3":function(t,e,i){"use strict";i.r(e);var o=i("5ed5"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},5328:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var n=o(i("74ff")),a={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=a},5852:function(t,e,i){"use strict";var o=i("703c"),n=i.n(o);n.a},"5bb3":function(t,e,i){"use strict";var o=i("71a5"),n=i.n(o);n.a},"5cd3":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var o={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=o},"5dba":function(t,e,i){"use strict";i.r(e);var o=i("5cd3"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"5dd3":function(t,e,i){var o=i("e7c8");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("4f3ef392",o,!0,{sourceMap:!1,shadowMode:!1})},"5ddb":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.vehicleCateListApi=e.submitAndPayApi=e.orderListApi=e.orderDetailApi=e.getListApi=e.getIdCardListApi=e.getDictApi=e.getDetailApi=e.addIdCardApi=void 0;var n=o(i("7653"));e.getDictApi=function(t){return n.default.post("api/user.product.carRental/dict",t)};e.getListApi=function(t){return n.default.post("api/user.product.carRental/list",t)};e.getDetailApi=function(t){return n.default.post("api/user.product.carRental/detail",t)};e.getIdCardListApi=function(t){return n.default.post("api/user.member.mine/idCardList",t)};e.addIdCardApi=function(t){return n.default.post("api/user.member.mine/addIdCard",t)};e.submitAndPayApi=function(t){return n.default.post("api/user.order.carRental/submitAndPay",t)};e.orderListApi=function(t){return n.default.post("api/user.order.carRental/list",t)};e.orderDetailApi=function(t){return n.default.post("api/user.order.carRental/detail",t)};e.vehicleCateListApi=function(t){return n.default.post("api/user.product.carRental/vehicleCateList",t)}},"5ed5":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("dc1f")),a={mixins:[n.default],props:{avctColor:{type:String,default:""}},data:function(){return{}}};e.default=a},6197:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.visibleSync?i("v-uni-view",{staticClass:"tn-popup-class tn-popup",style:[t.customStyle,t.popupStyle,{zIndex:t.elZIndex-1}],attrs:{"hover-stop-propagation":!0}},[i("v-uni-view",{staticClass:"tn-popup__mask",class:[{"tn-popup__mask--show":t.showPopup&&t.mask}],style:{zIndex:t.elZIndex-2},attrs:{"hover-stop-propagation":!0},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),function(){}.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.maskClick.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"tn-popup__content",class:["center"!==t.mode?t.backgroundColorClass:"",t.safeAreaInsetBottom?"tn-safe-area-inset-bottom":"","tn-popup--"+t.mode,t.showPopup?"tn-popup__content--visible":"",t.zoom&&"center"===t.mode?"tn-popup__content__center--animation-zoom":""],style:[t.contentStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:[function(e){arguments[0]=e=t.$handleEvent(e),t.modeCenterClose.apply(void 0,arguments)},function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}]}},["center"===t.mode?i("v-uni-view",{staticClass:"tn-popup__content__center_box",class:[t.backgroundColorClass],style:[t.centerStyle],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[t.closeBtn?i("v-uni-view",{staticClass:"tn-popup__close",class:["tn-icon-"+t.closeBtnIcon,"tn-popup__close--"+t.closeBtnPosition],style:[t.closeBtnStyle,{zIndex:t.elZIndex}],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),i("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view"},[t._t("default")],2)],1):i("v-uni-scroll-view",{staticClass:"tn-popup__content__scroll-view",attrs:{"scroll-y":!0}},[t._t("default")],2),"center"!==t.mode&&t.closeBtn?i("v-uni-view",{staticClass:"tn-popup__close",class:["tn-popup__close--"+t.closeBtnPosition],style:{zIndex:t.elZIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[i("v-uni-view",{class:["tn-icon-"+t.closeBtnIcon],style:[t.closeBtnStyle]})],1):t._e()],1)],1):t._e()},n=[]},"63ae":function(t,e,i){"use strict";var o=i("c6149"),n=i.n(o);n.a},"65c2":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("c223");var n=o(i("74ff")),a={mixins:[n.default],name:"tn-popup",props:{value:{type:Boolean,default:!1},mode:{type:String,default:"left"},mask:{type:Boolean,default:!0},length:{type:[Number,String],default:"auto"},width:{type:String,default:""},height:{type:String,default:""},zoom:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseable:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){return{}}},borderRadius:{type:Number,default:0},zIndex:{type:Number,default:0},closeBtn:{type:Boolean,default:!1},boxBg:{type:String,default:"#ffffff"},closeBtnIcon:{type:String,default:"close"},closeBtnPosition:{type:String,default:"top-right"},closeIconColor:{type:String,default:"#AAAAAA"},closeIconSize:{type:Number,default:30},negativeTop:{type:Number,default:0},marginTop:{type:Number,default:0},popup:{type:Boolean,default:!0}},computed:{popupStyle:function(){var t={};return"top"!==this.mode&&"left"!==this.mode&&"right"!==this.mode||!this.marginTop||(t.marginTop=this.$tn.string.getLengthUnitValue(this.marginTop,"px")),t},contentStyle:function(){var t={};if("left"===this.mode||"right"===this.mode?t={width:this.width?this.$tn.string.getLengthUnitValue(this.width):this.$tn.string.getLengthUnitValue(this.length),height:"100%",transform:"translate3D(".concat("left"===this.mode?"-100%":"100%",", 0px, 0px)")}:"top"!==this.mode&&"bottom"!==this.mode||(t={width:"100%",height:this.height?this.$tn.string.getLengthUnitValue(this.height):this.$tn.string.getLengthUnitValue(this.length),transform:"translate3D(0px, ".concat("top"===this.mode?"-100%":"100%",", 0px)")}),t.zIndex=this.elZIndex,this.borderRadius){switch(this.mode){case"left":t.borderRadius="0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0");break;case"top":t.borderRadius="0 0 ".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx");break;case"right":t.borderRadius="".concat(this.borderRadius,"rpx 0 0 ").concat(this.borderRadius,"rpx");break;case"bottom":t.borderRadius="".concat(this.borderRadius,"rpx ").concat(this.borderRadius,"rpx 0 0");break}t.overflow="hidden"}return this.backgroundColorStyle&&"center"!==this.mode&&(t.backgroundColor=this.backgroundColorStyle),t},centerStyle:function(){var t={};return t.width=this.width?this.$tn.string.getLengthUnitValue(this.width):this.$tn.string.getLengthUnitValue(this.length),t.height=this.height?this.$tn.string.getLengthUnitValue(this.height):"auto",t.zIndex=this.elZIndex,t.backgroundColor=this.boxBg,this.negativeTop&&(t.marginTop="-".concat(this.$tn.string.getLengthUnitValue(this.negativeTop))),this.borderRadius&&(t.borderRadius="".concat(this.borderRadius,"rpx"),t.overflow="hidden"),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),t},closeBtnStyle:function(){var t={};return this.closeIconColor&&(t.color=this.closeIconColor),this.closeIconSize&&(t.fontSize=this.closeIconSize+"rpx"),t},elZIndex:function(){return this.zIndex?this.zIndex:this.$tn.zIndex.popup}},data:function(){return{timer:null,visibleSync:!1,showPopup:!1,closeFromInner:!1}},watch:{value:function(t){if(t){if(this.visibleSync)return void(this.visibleSync=!1);this.open()}else this.closeFromInner||this.close();this.closeFromInner=!1}},mounted:function(){this.value&&this.open()},methods:{maskClick:function(){this.maskCloseable&&this.close()},open:function(){this.change("visibleSync","showPopup",!0)},close:function(){this.closeFromInner=!0,this.change("showPopup","visibleSync",!1)},modeCenterClose:function(){"center"==this.mode&&this.maskCloseable&&this.close()},change:function(t,e,i){var o=this;!0===this.popup&&this.$emit("input",i),this[t]=i,this.timer=i?setTimeout((function(){o[e]=i,o.$emit(i?"open":"close"),clearTimeout(o.timer)}),10):setTimeout((function(){o[e]=i,o.$emit(i?"open":"close"),clearTimeout(o.timer)}),250)}}};e.default=a},"65c3":function(t,e,i){var o=i("c86c");e=o(!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},"65db":function(t,e,i){"use strict";i.r(e);var o=i("1205"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},6646:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("dc8a");var n=o(i("74ff")),a={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=a},"680d":function(t,e,i){"use strict";i.r(e);var o=i("6aad"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"6aad":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var o={options:{virtualHost:!0},props:{value:{type:Boolean,default:!1},closeBtn:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:""},noPadding:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},closeMask:{type:Boolean,default:!0},transparentMask:{type:Boolean,default:!1}},data:function(){return{openModal:!0}},computed:{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)),t}},watch:{value:{handler:function(t){this.openModal=t},immediate:!0}},methods:{closeModal:function(t){("mask"!==t||this.closeMask)&&(this.$emit("cancel"),this.$emit("input",!1),this.$emit("close"))}}};e.default=o},"6b78":function(t,e,i){var o=i("c86c");e=o(!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},"6ce5":function(t,e,i){var o=i("c86c");e=o(!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-19c59e9b]{position:fixed;left:0;top:0;width:100%;z-index:19990;background-color:#fff}.top-navbar .store-title[data-v-19c59e9b]{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-19c59e9b]{position:relative;width:100%}\n/* 头部商家展示位 end */\n/* 店铺信息导航 start */.store-nav[data-v-19c59e9b]{position:-webkit-sticky;position:sticky;width:100%;z-index:99}\n/* 店铺信息导航 end */\n/* 商品展示信息 start */.goods-info[data-v-19c59e9b]{position:relative;width:100%;top:%?180?%}\n/* 商品展示信息 end */\n/* 店铺评价信息 start */.store-appraise[data-v-19c59e9b]{position:relative;width:100%}\n/* 店铺评价信息 end */\n/* 店铺信息信息 start */.store-info[data-v-19c59e9b]{position:relative;width:100%}\n/* 店铺信息信息 end */\n/* 购物车 start */.shopping-cart[data-v-19c59e9b]{position:fixed;left:0;bottom:0;width:100%;z-index:99998;transition:bottom .25s ease;padding-bottom:env(safe-area-inset-bottom)!important;background-color:#fff;box-shadow:0 %?6?% %?20?% rgba(0,0,0,.5)}.shopping-cart.hidden[data-v-19c59e9b]{bottom:%?-200?%}.shopping-cart2[data-v-19c59e9b]{position:fixed;bottom:%?0?%;left:0;width:100%;z-index:99998;transition:bottom .25s ease}.shopping-cart2.hidden[data-v-19c59e9b]{bottom:%?-200?%}\n/* 购物车 end */\n/* 膨胀红包 */.expansion[data-v-19c59e9b]{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-19c59e9b]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .line1[data-v-19c59e9b]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .line2[data-v-19c59e9b]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .line3[data-v-19c59e9b]{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-19c59e9b]{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-19c59e9b]{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-19c59e9b]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .left .price .price_detail .price_unit[data-v-19c59e9b]{font-size:%?31?%}.expansion .expansion_box .line3 .left .price .price_detail .price_num[data-v-19c59e9b]{font-size:%?46?%;font-weight:700}.expansion .expansion_box .line3 .left .price .price_description[data-v-19c59e9b]{font-size:%?21?%}.expansion .expansion_box .line3 .mid[data-v-19c59e9b]{width:%?56?%;height:%?32?%;align-self:center}.expansion .expansion_box .line3 .mid img[data-v-19c59e9b]{width:100%;height:100%}.expansion .expansion_box .line3 .right[data-v-19c59e9b]{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-19c59e9b]{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-19c59e9b]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .right .price .price_detail .price_unit[data-v-19c59e9b]{font-size:%?34?%}.expansion .expansion_box .line3 .right .price .price_detail .price_num[data-v-19c59e9b]{font-size:%?69?%;font-weight:700}.expansion .expansion_box .line3 .right .price .price_description[data-v-19c59e9b]{font-size:%?22?%;margin-top:%?12?%}.expansion .expansion_box .line4[data-v-19c59e9b]{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-19c59e9b]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-19c59e9b]{width:%?60?%;height:%?60?%}.write-off-vouchers[data-v-19c59e9b]{position:relative}.write-off-vouchers .bg-img[data-v-19c59e9b]{width:%?621?%;height:%?301?%}.write-off-vouchers .mods[data-v-19c59e9b]{position:absolute;top:0;left:0;width:100%;height:100%}.write-off-vouchers .mods .storeImg[data-v-19c59e9b]{width:%?120?%;height:%?120?%}.sequence_button[data-v-19c59e9b]{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?%}.title[data-v-19c59e9b]{font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#959595;line-height:%?42?%}.value[data-v-19c59e9b]{font-family:Source Han Sans CN;font-weight:700;font-size:%?30?%;color:#151515;line-height:%?42?%}.header[data-v-19c59e9b]{margin-top:%?-90?%;position:relative;width:100%}.banner[data-v-19c59e9b]{width:100%;height:%?360?%;object-fit:cover}\n/* 弹窗样式 */.popup-mask[data-v-19c59e9b]{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.15);z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.popup-content[data-v-19c59e9b]{width:100vw;background:#f8f8f8;min-height:100vh;position:relative}.popup-navbar[data-v-19c59e9b]{display:flex;align-items:center;height:%?88?%;padding:0 %?32?%;background:#fff;border-bottom:%?1?% solid #eee}.popup-title[data-v-19c59e9b]{flex:1;text-align:center;font-size:%?36?%;font-weight:700}.flight-card[data-v-19c59e9b]{margin-top:%?24?%;background:#fff;border-radius:%?20?%;box-shadow:0 %?4?% %?24?% rgba(0,0,0,.08);padding:%?24?%}.flight-header[data-v-19c59e9b]{display:flex;align-items:center;margin-bottom:%?24?%}.flight-airport[data-v-19c59e9b]{font-size:%?24?%;color:#222;margin-bottom:%?8?%}[data-v-19c59e9b] .bottom-modal__wrapper.no-padding{background-color:#fff!important}.tabs[data-v-19c59e9b]{width:100%;display:flex;justify-content:space-between;font-size:%?32?%}.tabs .tab-item[data-v-19c59e9b]{flex:1;text-align:center;font-weight:700;color:#888;position:relative}.tabs .tab-item.active[data-v-19c59e9b]{color:#222}.tabs .tab-item.active .tab-underline[data-v-19c59e9b]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:%?-16?%;width:%?60?%;height:%?8?%;background:#ffd100;border-radius:%?4?%}.form[data-v-19c59e9b]{margin-top:%?30?%}.form .form-item[data-v-19c59e9b]{display:flex;align-items:center;padding:%?20?% 0;border-bottom:1px solid #f0f0f0;font-size:%?32?%;color:#b3b3b3}.form .form-item .icon[data-v-19c59e9b]{width:%?60?%;height:%?60?%;margin-right:%?39?%}.form .form-item .arrow[data-v-19c59e9b]{margin-left:%?20?%;width:%?16?%;height:%?29?%;margin-top:%?6?%}.btn-query[data-v-19c59e9b]{margin:%?40?% 0;background:#ffd100;color:#222;text-align:center;border-radius:%?20?%;font-size:%?36?%;padding:%?24?% 0;font-weight:700}',""]),t.exports=e},"6fd2":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=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=[]},"703c":function(t,e,i){var o=i("6b78");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("7f7eeb16",o,!0,{sourceMap:!1,shadowMode:!1})},"71a5":function(t,e,i){var o=i("65c3");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("264816c2",o,!0,{sourceMap:!1,shadowMode:!1})},"73e1":function(t,e,i){"use strict";var o=i("29d8");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(o)},"74ff":function(t,e,i){i("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$tn.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$tn.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$tn.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$tn.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$tn.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},7831:function(t,e,i){"use strict";i.r(e);var o=i("6646"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"787c":function(t,e,i){"use strict";var o=i("c099"),n=i.n(o);n.a},"78b4":function(t,e,i){"use strict";i("6a54");var o=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.getDeliveryCostApi=e.getCodeInfoByCodeApi=e.getClassChild=e.getCategorys=e.getBrandStoreListApi=e.getBrandMasterApi=e.getBrandGoodsApi=e.getBrandApi=e.delCommentApi=void 0,i("5c47"),i("af8f");var n=o(i("7653"));e.getStoreInfoApi=function(t){var e=t.sid,i=t.table_id,o=t.storeCode,a=t.brand;return n.default.get("api/user.store.store/index",{sid:e,table_id:i,storeCode:o,brand:a})};e.getDeliveryCostApi=function(t){return n.default.post("api/user.takeout.delivery/list",t)};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,o=t.orderId,a=t.cid,s=t.child_id,r=t.page,d=t.is_api_shop,l=t.storeCode,c=t.api_brand,u=t.order_type,f=t.encrypted_data,p=t.write_off_type,h=t.is_promotion,g=t.goodsC,v=t.chrid,m=t.is_takeout,b=t.version,y=t.psize,_=t.slide,w=t.offset;return n.default.get("api/user.store.goods/goods",{sid:e,child_id:s||"",search:i||"",order_id:o||"",cid:a||"",page:r||1,is_api_shop:d||"",storeCode:l||"",api_brand:c||"",order_type:u||"",encrypted_data:f||"",write_off_type:p||"",is_promotion:h||-1,goodsC:g,chrid:v||"",is_takeout:m>=0?m:-1,version:b||"",psize:y||"",slide:_||"",offset:w||""})};e.getStoreShoppingCartDataApi=function(t){var e=t.sid,i=t.tableId,o=t.encrypted_data,a=t.is_takeout;return n.default.get("api/user.store.goods/cartIndex",{sid:e,table_id:i||"",encrypted_data:o||"",is_takeout:a>=0?a:-1})};e.getStoreCommentListApi=function(t){var e=t.sid,i=t.type,o=t.note,a=t.page,s=t.pSize;return n.default.get("api/user.store.store/comment",{sid:e,type:i||"",note:o||0,page:a,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,o=t.tableId,a=t.clear;return n.default.get("api/user.store.table/goods",{sid:e,search:i||"",table_id:o,clear:a||!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,o=t.storeCode;return n.default.get("api/user.member.favorite/operate",{sid:e,type:i,storeCode:o})};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 o=i("8bdb"),n=i("db04").start,a=i("73e1");o({target:"String",proto:!0,forced:a},{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},"7c5c":function(t,e,i){var o=i("c86c");e=o(!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},"7cdd":function(t,e,i){"use strict";i.r(e);var o=i("1138"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"80db":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=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=[]},8105:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("b7c7"));i("64aa"),i("fd3c"),i("8f71"),i("bf0f"),i("bd06"),i("f7a5"),i("d4b5"),i("c223"),i("795c"),i("c9b5"),i("ab80"),i("aa9c"),i("3efd"),i("e838"),i("5c47"),i("a1c1"),i("4626"),i("5ac7"),i("01a2"),i("e39c"),i("f3f7"),i("18f7"),i("de6c");var a=o(i("a71b")),s=o(i("431c")),r=o(i("4e61")),d=o(i("1a84")),l=i("78b4"),c=(i("9d0a"),getApp()),u={props:{data:{type:Array,default:function(){return[]}},showloadNext:{type:Boolean,default:!1},showloadNext1:{type:Boolean,default:!1},storeData:{type:[Object,Boolean,Array],default:!1},pageShowType:{type:[Number,String],default:1},classType:{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},is_renovate:{type:Boolean,default:!1},is_top:{type:Boolean,default:!1},isNextCategory:{type:Boolean,default:!1},paddingtop:{type:Boolean,default:!1},navType:{type:String,default:""},storeShow:{type:Object,default:function(){return{}}},brand:{type:String,default:""},defaultCategoryId:{type:String,default:""},default_display_selection:{type:Number},categoryGoodsNum:{type:Array,default:function(){return[]}},refreshCategoryTitleRectInfo:{type:Boolean,default:!1},order:{type:Object,default:function(){return{}}},isEmpty:{type:Boolean,default:!1}},components:{Empty:a.default,CategoryList:s.default,ProductsList:r.default,CouponList:d.default},data:function(){return{isClick:!1,categoryList:[],goodsList:[],currentCategoryIndex:0,oldCategoryIndex:0,scrollTopInfo:[],showConpon:!1,nextCategory:!1,count:0,showload:!1,showloadNext2:!1,showSkeleton:!1,isLoading:!1,disabledCategoryIds:[],scrollTopInfoList:[],scrollTopIndex:0,currentCategory:0}},computed:{fixListPadding:function(){if(3!==this.classType)return 0;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,e;return null===(t=this.storeData)||void 0===t||null===(e=t.coupons)||void 0===e?void 0:e.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){var e=this;t&&t.length>0&&(this.disabledCategoryIds=t.filter((function(t){return!t.goods_count||0===t.goods_count})).map((function(t){return t.id})),this._splitData(t),this.$nextTick((function(){e.showSkeleton=!1})))},immediate:!0,deep:!0},categoryList:{handler:function(t){},immediate:!0,deep:!0},categoryIndex:{handler:function(t,e){this.currentCategoryIndex=t,console.log("🚀🚀🚀🚀触发父组件切换上一个分类===4",this.currentCategoryIndex),this.oldCategoryIndex=e}},stickyDistance:{handler:function(t,e){},immediate:!0}},methods:{handleCategoryNextEvent:function(t){var e=this;if(this.isReachBottom&&(this.isNextCategory&&(this.nextCategory=!0),!(this.currentCategoryIndex>=this.categoryList.length-1)&&(this.nextCategory=!this.nextCategory,!(t>15&&this.nextCategory)))){this.showload=!0;var i=setTimeout((function(){e.currentCategoryIndex+=1,console.log("🚀🚀🚀🚀触发父组件切换上一个分类===13",e.currentCategoryIndex),e.$emit("category-change",e.categoryList[e.currentCategoryIndex].id,e.currentCategoryIndex),e.nextCategory=!1,e.showload=!1,clearTimeout(i)}),500)}},handleCategoryTopEvent:function(t,e){console.log("🚀🚀🚀🚀触发父组件切换上一个分类2",e,this.is_top)},handRequireCategoryEvent:function(t){t>=0&&(this.handleProductListUpdateCategoryIndexEvent(t),this.handleCategoryChangeEvent(t))},handleProductListUpdateCategoryIndexEvent:function(t){if(this.scrollTopIndex==t&&t>0)return!1;this.scrollTopIndex=t,this.currentCategoryIndex=this.currentCategory+t},handleProductListUpdateCategoryIndexEventA: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}));c.globalData.position=(0,n.default)(i),this.scrollTopInfo=(0,n.default)(i),this.scrollTopInfoList=(0,n.default)(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){var i=this;this.isClick=!0,this.scrollTopInfo=this.scrollTopInfoList.slice(this.currentCategoryIndex);var o=this.scrollTopInfo.map((function(t){return t-i.scrollTopInfoList[i.currentCategoryIndex]}));c.globalData.position=(0,n.default)(o),this.scrollTopInfo=o,console.log("🚀🚀🚀🚀12",this.currentCategoryIndex,t),this.isLoading=!0,this.currentCategoryIndex=t,this.currentCategory=t,this.$emit("category-change",this.categoryList[this.currentCategoryIndex].id,t),setTimeout((function(){i.isLoading=!1}),500),setTimeout((function(){i.isClick=!1}),150)},_splitData:function(t){var e=JSON.parse(JSON.stringify(t)),i=new Date,o=0===i.getDay()?7:i.getDay(),n=+"".concat(i.getHours().toString().padStart(2,"0"),".").concat(i.getMinutes().toString().padStart(2,"0"));if(this.searchComdId&&1==this.pageShowType)t:for(var a=0;a=i&&n<=a&&(e=!0)}else e=!0;return e?{id:t.id,title:t.title,thumb:t.thumb,is_mandatory:t.is_mandatory,description:t.description,is_showtime:t.is_showtime,week:t.week,start_time:t.start_time,end_time:t.end_time,goods_count:t.goods_count}:null})).filter((function(t){return null!==t}));var d=new Set(this.categoryList.map((function(t){return t.id})));this.goodsList=e.filter((function(t){return d.has(t.id)})),console.log("this.goodsList",this.goodsList)},changCoupon:function(){var t=this;(0,l.postStoreCouponApi)({sid:this.storeData.sid}).then((function(e){uni.showToast({title:"领取成功",icon:"none"}),t.showConpon=!1}))},handleSearchPromotion:function(t){this.$emit("searchPromotion",t)},handleLoadMore:function(){this.$emit("load-more")}}};e.default=u},"84ae":function(t,e,i){"use strict";i.r(e);var o=i("65c2"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},8859:function(t,e,i){"use strict";i.r(e);var o=i("9a0e"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"89e2":function(t,e,i){var o=i("7c5c");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("391bde4e",o,!0,{sourceMap:!1,shadowMode:!1})},"8c0a":function(t,e,i){var o=i("2f5b");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("27fc7364",o,!0,{sourceMap:!1,shadowMode:!1})},"8c27":function(t,e,i){"use strict";i.r(e);var o=i("987c"),n=i("65db");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("b044");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"63640e0a",null,!1,o["a"],void 0);e["default"]=r.exports},"8e7f":function(t,e,i){"use strict";i.r(e);var o=i("6fd2"),n=i("a1339");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"1351480c",null,!1,o["a"],void 0);e["default"]=r.exports},9139:function(t,e,i){var o=i("c86c");e=o(!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-d96f376c]{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},9266:function(t,e,i){"use strict";i.r(e);var o=i("3da0"),n=i("7831");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("f7d1");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"1da58fe4",null,!1,o["a"],void 0);e["default"]=r.exports},"949e":function(t,e,i){var o=i("c86c");e=o(!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-662bcc85]{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-662bcc85]{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-662bcc85]{width:90%;height:auto;padding:%?10?%}.itemIconBox .itemIcon[data-v-662bcc85]{width:%?50?%;height:%?50?%}.itemTitle[data-v-662bcc85]{width:90%;height:auto;color:#151515;font-size:%?26?%;font-weight:500}.categorys[data-v-662bcc85]{width:100%;background-color:#fff}.categorys .item[data-v-662bcc85]{position:relative;padding:%?20?% %?15?%}.categorys .item.select[data-v-662bcc85]{background-color:#fff!important;color:#080808!important}.categorys .item .select-line[data-v-662bcc85]{position:absolute;top:50%;right:%?-8?%;height:50%;width:%?10?%;border-radius:%?30?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.item.disabled[data-v-662bcc85]{opacity:.5;pointer-events:none}',""]),t.exports=e},"95ee":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goods-list"},[t.showSkeleton?i("v-uni-view",{staticClass:"skeleton-wrapper"},[i("v-uni-view",{staticClass:"skeleton-content"},[1==t.pageShowType||2==t.pageShowType?i("v-uni-view",{staticClass:"skeleton-left"},t._l(8,(function(t){return i("v-uni-view",{key:t,staticClass:"skeleton-item skeleton-category"})})),1):t._e(),1==t.pageShowType||2==t.pageShowType?i("v-uni-view",{staticClass:"skeleton-right"},t._l(6,(function(t){return i("v-uni-view",{key:t,staticClass:"skeleton-item skeleton-product"},[i("v-uni-view",{staticClass:"skeleton-product__img"}),i("v-uni-view",{staticClass:"skeleton-product__content"},[i("v-uni-view",{staticClass:"skeleton-product__title"}),i("v-uni-view",{staticClass:"skeleton-product__title-sub"}),i("v-uni-view",{staticClass:"skeleton-product__bottom"},[i("v-uni-view",{staticClass:"skeleton-product__price"}),i("v-uni-view",{staticClass:"skeleton-product__btn"})],1)],1)],1)})),1):t._e(),3==t.pageShowType?i("v-uni-view",{staticClass:"skeleton-tc"}):t._e()],1)],1):t._e(),2!==t.pageShowType&&1!==t.pageShowType||!t.isLoading?t._e():i("v-uni-view",{staticClass:"skeleton-wrapper skeleton-wrapper--right"},[i("v-uni-view",{staticClass:"skeleton-content"},[i("v-uni-view",{staticClass:"skeleton-right"},t._l(6,(function(t){return i("v-uni-view",{key:t,staticClass:"skeleton-item skeleton-product"},[i("v-uni-view",{staticClass:"skeleton-product__img"}),i("v-uni-view",{staticClass:"skeleton-product__content"},[i("v-uni-view",{staticClass:"skeleton-product__title"}),i("v-uni-view",{staticClass:"skeleton-product__title-sub"}),i("v-uni-view",{staticClass:"skeleton-product__bottom"},[i("v-uni-view",{staticClass:"skeleton-product__price"}),i("v-uni-view",{staticClass:"skeleton-product__btn"})],1)],1)],1)})),1)],1)],1),1==t.pageShowType||2==t.pageShowType?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,categoryGoodsNum:t.categoryGoodsNum,disabledCategoryIds:t.disabledCategoryIds},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):t._e(),1==t.pageShowType||2==t.pageShowType?i("v-uni-view",{staticClass:"list-right",staticStyle:{width:"calc(100% - 160rpx)"}},[t.showConpon&&t.couponNum>0?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(),[i("products-list",{attrs:{currentCategoryIndex:t.currentCategoryIndex,order:t.order,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,isClick:t.isClick},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)},"load-more":function(e){arguments[0]=e=t.$handleEvent(e),t.handleLoadMore.apply(void 0,arguments)},"category-top":function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryTopEvent.apply(void 0,arguments)}}})]],2):t._e()],1)},n=[]},"987c":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{class:1==this.auto?"loader-wrapper":"loader-wrapper2",style:{zIndex:this.zindex?this.zindex:""}},[e("v-uni-view",{class:this.showMask?"showMask mask":"mask"},[e("v-uni-view",{staticClass:"loader"},[this.loading_logo?e("v-uni-image",{staticClass:"diyLoadingLogo",attrs:{src:this.loading_logo}}):e("v-uni-view",{staticClass:"logo-loading tn-icon-logo-shangpu tn-text-shadow-aquablue"})],1)],1)],1)},n=[]},9897:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getWxTemplateIdDataApi=e.getAlipayTemplateIdDataApi=void 0;var n=o(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")}},"9a0e":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("d4b5"),i("5c47"),i("aa9c"),i("bf0f"),i("2797");var n=o(i("265b")),a=o(i("495e")),s=o(i("2cbd")),r=i("ba1f"),d=i("1db2"),l=i("9d0a"),c=o(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},isClick:{type:Boolean,default:!1},order:{type:Object,default:function(){return{}}},currentCategoryIndex:{type:String,default:0}},components:{VLineTitle:n.default,ProductSpecNumberBox:s.default,ImgModal:c.default,CenterModal:a.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,clientYStart:0,clientYEnd:0,showTopTip:!1,topTipTimeout:null}},computed:{categoryTitleStyle:function(){var t={};return t.top="".concat(this.categoryTitleTopInfo[0]-this.productsListRectInfo.top+this.stickyHeight-uni.upx2px(22),"px"),t.top=this.stickyHeight+"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&&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:{goPay:function(t){console.log("data",this.data);var e=this.order;e.pid=t.id,e.id=t.id,e=encodeURIComponent(JSON.stringify(e)),uni.navigateTo({url:"/carRental/pay?data="+e})},initScrollListener:function(){"undefined"!==typeof uni&&uni.$on?uni.$on("onReachBottom",this.handleReachBottom):"undefined"!==typeof window&&window.addEventListener("scroll",this.handleWindowScroll,!0)},handleReachBottom:function(){this.$emit("load-more")},handleWindowScroll:function(){var t=window.scrollY||document.documentElement.scrollTop,e=window.innerHeight||document.documentElement.clientHeight,i=document.documentElement.scrollHeight;t+e+10>=i&&this.$emit("load-more")},seleTabs:function(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,l.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,l.showToast)({title:t.msg})}))},handleProductNumChangeEvent:function(t,e,i){var o=this.data[e],n=o.goods[i];this.$emit("good-num-change",{type:"add"===t.type?"+":"-",cid:o.id,goodId:n.id})},_getCategoryTitleRectInfo:function(){var t=this,e=(0,d.createQuery)(this);e.selectAll(".sgpl-products-list").boundingClientRect((function(e){t.productsListRectInfo.top=e[0].top})).exec(),e.selectAll(".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[0].height;for(var i=0,o=0;o0?i("v-uni-view",{key:o,staticClass:"item"},[i("v-uni-view",{staticClass:"item-title sgpl-item-title",style:[t.categoryTitleStyle,{backgroundColor:o==t.currentCategoryIndex?"#fff":"#F6F7F8"}],attrs:{id:"sgpl-item-title-"+o}},[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,o){return i("v-uni-view",{key:o,staticClass:"good",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goPay(e)}}},[i("v-uni-view",{staticClass:"good-image tn-border-gray--light"},[i("tn-lazy-load",{attrs:{src:e.image}})],1),e.label?i("v-uni-view",{staticStyle:{position:"absolute",top:"0",left:"0",color:"#fff","background-color":"#ff6a65","border-radius":"15rpx",padding:"5rpx 10rpx","font-size":"14px"}},[t._v(t._s(e.label))]):t._e(),i("v-uni-view",{staticClass:"good-info flex column space",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goPay(e)}}},[i("v-uni-view",{},[i("v-uni-view",{staticClass:"good-title",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goPay(e)}}},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"ft12 ftw500",staticStyle:{"margin-top":"16rpx"}},[i("v-uni-view",[t._v(t._s(e.group_name||"")),e.group_name?i("span",{staticStyle:{color:"#E5E5E5",margin:"0 10rpx"}},[t._v("|")]):t._e(),t._v(t._s(e.seat_num||"")),e.seat_num?i("span",{staticStyle:{color:"#E5E5E5",margin:"0 14rpx"}},[t._v("|")]):t._e(),t._v(t._s(e.door_num||"")),e.door_num?i("span",{staticStyle:{color:"#E5E5E5",margin:"0 14rpx"}},[t._v("|")]):t._e(),t._v(t._s(e.drive_type||"")),e.drive_type?i("span",{staticStyle:{color:"#E5E5E5",margin:"0 14rpx"}},[t._v("|")]):t._e(),t._v(t._s(e.engine_type||""))])],1)],1),i("v-uni-view",{staticClass:"good-price tn-flex-center-end tn-margin-top-xs theme-product-box",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goPay(e)}}},[i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"flex alend"},[i("v-uni-view",{staticClass:"unit"},[t._v("总价")]),i("v-uni-view",{staticClass:"unit ml4",staticStyle:{"font-size":"22rpx"}},[t._v(t._s(" "+e.currency+" "))]),i("v-uni-view",{staticClass:"value ml4"},[t._v(t._s(e.price+" "))]),i("v-uni-view",{staticClass:"unit ml4"},[t._v("起")])],1),e.avg_price_text?i("v-uni-view",{staticClass:"avg"},[t._v(t._s(e.avg_price_text))]):t._e()],1)],1)],1)],1)})),1):t._e()],1):t._e()})),i("v-uni-view",{staticClass:"tnloads tn-padding-bottom-xl"},[t.showloadStatu2?i("tn-load-more",{staticClass:"tn-margin-top",attrs:{status:"loading",loadingIconColor:"#ffca28",loadText:t.loadText}}):t._e()],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)},a=[]},"9d0a":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.showToast=e.showModal=e.showLoading=e.closeLoading=void 0;e.showToast=function(t){var e=t.title,i=t.icon,o=t.mask,n=t.callback;uni.showToast({icon:i||"none",title:e,mask:o||!0}),setTimeout((function(){n&&n()}),1500)};e.showModal=function(t){var e=t.title,i=t.content,o=t.showCancel,n=t.cancelText,a=t.confirmText,s=t.callback;uni.showModal({title:e||"操作提示",content:i,showCancel:o||!1,cancelText:n||"取消",confirmText:a||"确认",success:function(t){t.confirm&&s&&s(!0),t.cancel&&s&&s(!1)}})};e.showLoading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.title,i=void 0===e?"":e,o=t.mask,n=void 0!==o&&o;uni.showLoading({title:i,mask:n})};e.closeLoading=function(){uni.hideLoading()}},a1339:function(t,e,i){"use strict";i.r(e);var o=i("db14"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},a438:function(t,e,i){"use strict";var o=i("f747"),n=i.n(o);n.a},a547:function(t,e,i){var o=i("45b3");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("02fcab87",o,!0,{sourceMap:!1,shadowMode:!1})},a96b:function(t,e,i){"use strict";i.r(e);var o=i("8105"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},af4b:function(t,e,i){"use strict";i.r(e);var o=i("0807"),n=i("b718");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("5852");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"24d7672c",null,!1,o["a"],void 0);e["default"]=r.exports},b044:function(t,e,i){"use strict";var o=i("8c0a"),n=i.n(o);n.a},b0d0:function(t,e,i){var o=i("c86c");e=o(!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-modal[data-v-69544bca]{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:99998\n /* mask */\n /* close-btn */\n /* wrapper */}.bottom-modal__mask[data-v-69544bca]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;-webkit-animation:showMask-data-v-69544bca .25s ease .1s forwards;animation:showMask-data-v-69544bca .25s ease .1s forwards}.bottom-modal__mask.transparent[data-v-69544bca]{background-color:transparent}.bottom-modal__close-btn[data-v-69544bca]{position:absolute;top:%?30?%;right:%?30?%;z-index:99999}.bottom-modal__wrapper[data-v-69544bca]{position:absolute;left:0;bottom:0;width:100%;background-color:#fff;border-radius:%?20?% %?20?% %?0?% %?0?%;padding:%?40?%;padding-top:%?60?%;padding-bottom:%?40?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?40?%);padding-bottom:calc(env(safe-area-inset-bottom) + %?40?%);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-animation:showWrapper-data-v-69544bca .25s ease .1s forwards;animation:showWrapper-data-v-69544bca .25s ease .1s forwards;z-index:99999;overflow:hidden}.bottom-modal__wrapper.no-padding[data-v-69544bca]{padding:%?0?%;padding-bottom:%?40?%;padding-bottom:calc(constant(safe-area-inset-bottom) + %?40?%);padding-bottom:calc(env(safe-area-inset-bottom) + %?40?%)}@-webkit-keyframes showMask-data-v-69544bca{0%{opacity:0}100%{opacity:1}}@keyframes showMask-data-v-69544bca{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes showWrapper-data-v-69544bca{0%{-webkit-transform:scaleY(0);transform:scaleY(0)}100%{-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes showWrapper-data-v-69544bca{0%{-webkit-transform:scaleY(0);transform:scaleY(0)}100%{-webkit-transform:scaleY(1);transform:scaleY(1)}}',""]),t.exports=e},b397:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=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=[]},b461:function(t,e,i){"use strict";i.r(e);var o=i("80db"),n=i("7cdd");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("787c");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"6a8ecf09",null,!1,o["a"],void 0);e["default"]=r.exports},b718:function(t,e,i){"use strict";i.r(e);var o=i("5328"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},bd73:function(t,e,i){var o=i("949e");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("b0e13cc4",o,!0,{sourceMap:!1,shadowMode:!1})},c05a:function(t,e,i){"use strict";var o=i("db1f"),n=i.n(o);n.a},c099:function(t,e,i){var o=i("3fb4");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("6bc62776",o,!0,{sourceMap:!1,shadowMode:!1})},c36c:function(t,e,i){"use strict";i.r(e);var o=i("0009"),n=i("5dba");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("5bb3");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"7140fc93",null,!1,o["a"],void 0);e["default"]=r.exports},c59f:function(t,e,i){var o=i("6ce5");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("49bd5976",o,!0,{sourceMap:!1,shadowMode:!1})},c6149:function(t,e,i){var o=i("29cd");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("4ac8993a",o,!0,{sourceMap:!1,shadowMode:!1})},c904:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var o={loading:i("8c27").default,uniPopup:i("029e").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{"navbar-title":"选车","custom-navbar":!0,leftSlot:!0,navbarBack:3!==t.storeInfo.class_type&&t.showNavbarBack,backUrl:t.bakurl,"wrapper-begin-navbar":!1,"enable-safe-area-bottom":!1,navbarBgColor:"var(--theme-general-color)"}},[t.loadingShow?i("loading",{attrs:{zindex:99999}}):t._e(),i("v-uni-view",{staticClass:"theme-template-1",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("v-uni-view",{staticClass:"store-nav theme-store-nav shadow",staticStyle:{padding:"30rpx","background-color":"white",height:"290rpx","box-shadow":"0 8px 16px rgba(0, 0, 0, 0.08)"},style:[{top:t.navBarInfo.height+"px"}],attrs:{id:"nav_"+t.componentId}},[i("v-uni-view",{staticClass:"flex alcenter space pd10",staticStyle:{background:"#F7F7F7","border-radius":"12rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPop.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flex alcenter space",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:" flex column center alcenter"},[i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{width:"250rpx"}},[i("v-uni-text",{staticClass:"value",staticStyle:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis","margin-left":"4rpx",flex:"4"}},[t._v(t._s(t.order.address_name))])],1),i("v-uni-text",[t._v(t._s(t.order.pick_time.split("-")[1]+"-"+t.order.pick_time.split("-")[2]))])],1),i("v-uni-image",{staticStyle:{width:"35rpx",height:"8rpx",margin:"0 4rpx"},attrs:{src:t.icon[0]}}),i("v-uni-view",{staticClass:" flex column center alcenter"},[i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{width:"250rpx"}},[i("v-uni-text",{staticClass:"value",staticStyle:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis","margin-left":"4rpx",flex:"4"}},[t._v(t._s(t.order.return?t.order.return.address_name:""))])],1),i("v-uni-text",[t._v(t._s(t.order.return_time.split("-")[1]+"-"+t.order.return_time.split("-")[2]))])],1)],1),i("v-uni-image",{staticStyle:{width:"35rpx",height:"37rpx","margin-left":"30rpx"},attrs:{src:t.icon[1]}})],1),t.labelList.length>0?i("v-uni-view",{staticClass:"mt15 flex",staticStyle:{"overflow-x":"auto"}},t._l(t.labelList,(function(e,o){return i("v-uni-view",{staticClass:"ft13 ftw500 ml20",staticStyle:{"border-radius":"14rpx",padding:"10rpx 20rpx"},style:{background:t.selectLabel==e.id?"#FFCA28":"#F7F7F7",color:t.selectLabel==e.id?"#151515":"#707070"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.select(e)}}},[i("v-uni-text",[t._v(t._s(e.label_name))])],1)})),1):t._e()],1),i("v-uni-view",{staticClass:"goods-info ",style:[t.currentNavStyle(0),{top:t.navBarInfo.height+"px"}]},[0!==t.goodsData.length?[i("goods-list",{ref:"goodsList",attrs:{pageShowType:1,data:t.goodsData,order:t.order,defaultCategoryId:t.defaultCategoryId,classType:t.storeInfo.class_type,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,storeShow:t.storeInfo.storeInfo.storeShow,"category-index":t.categoryIndex,"is-reach-bottom":t.isReachBottom,"is-next-category":t.isNextCategory,is_renovate:t.is_renovate,is_top:t.is_top,searchComdId:t.chrid,showloadNext:t.showloadNext,showloadNext1:t.showloadNext1,loadText:t.loadText,brand:t.brand,default_display_selection:Number("storeInfo.storeInfo.default_display_selection"),categoryGoodsNum:t.categoryGoodsNum,refreshCategoryTitleRectInfo:t.refreshCategoryTitleRectInfo},on:{changTabsId:function(e){arguments[0]=e=t.$handleEvent(e),t.changTabs.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)},searchPromotion:function(e){arguments[0]=e=t.$handleEvent(e),t.searchPromotion.apply(void 0,arguments)},"good-num-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleGoodsListGoodNumChangeEvent.apply(void 0,arguments)},"load-more":function(e){arguments[0]=e=t.$handleEvent(e),t.handleLoadMore.apply(void 0,arguments)}}})]:t._e(),0==t.goodsData.length?[i("empty",{attrs:{icon:"empty-data",tips:"暂无数据"}})]:t._e()],2),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("uni-popup",{ref:"passportConfirmPopup",attrs:{type:"top"},on:{maskClick:function(e){arguments[0]=e=t.$handleEvent(e),t.maskClick.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"plr10",staticStyle:{width:"100%","background-color":"white",position:"absolute"},style:[{top:t.navBarInfo.height+"px"}]},[i("v-uni-view",{staticClass:"flex column plr20 pd20",staticStyle:{width:"100%","border-radius":"20rpx","background-color":"white"}},[i("v-uni-view",{staticClass:"form"},[t.visit?i("v-uni-view",{staticClass:"form-item alcenter",style:{borderBottom:t.switchValue?"0px solid #f0f0f0":"1px solid #f0f0f0"}},[i("v-uni-view",{},[i("v-uni-view",{staticClass:"title mb5"},[t._v("取车城市")]),i("v-uni-picker",{attrs:{range:t.cityList,value:t.cityIndex},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCityChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flex alcenter"},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.city))]),i("v-uni-image",{staticClass:"arrow",staticStyle:{width:"14rpx",height:"14rpx",margin:"0rpx 20rpx 0rpx 10rpx"},attrs:{src:t.icon[2]}})],1)],1)],1),i("v-uni-view",{staticClass:"ml20 flex space alcenter",staticStyle:{flex:"1"}},[i("v-uni-view",{on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.selectAddress("")}}},[i("v-uni-view",{staticClass:"title mb5"},[t._v("取车地点")]),t.address1.address?i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{width:"300rpx"}},[i("v-uni-text",{staticClass:"value",staticStyle:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis","margin-left":"4rpx",flex:"4"}},[t._v(t._s(t.address1.address))]),i("v-uni-image",{staticClass:"arrow",staticStyle:{"margin-left":"0"},attrs:{src:t.icon[5]}})],1):i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{width:"300rpx"}},[i("v-uni-text",[t._v("您在哪里取车")]),i("v-uni-image",{staticClass:"arrow",attrs:{src:t.icon[5]}})],1)],1),i("v-uni-view",{staticClass:"flex end column"},[i("v-uni-view",{staticClass:"title mb5"},[t._v("异地还车")]),i("v-uni-switch",{staticStyle:{transform:"scale(0.8)"},attrs:{checked:t.switchValue,color:"#FFCC33"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.switch1Change.apply(void 0,arguments)}}})],1)],1)],1):t._e(),t.visit&&t.switchValue?i("v-uni-view",{staticClass:"form-item alcenter",staticStyle:{"padding-top":"0"}},[i("v-uni-view",{},[i("v-uni-view",{staticClass:"title mb5"},[t._v("还车城市")]),i("v-uni-picker",{attrs:{range:t.cityList,value:t.cityIndex1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCityChange1.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flex alcenter"},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(t.city1))]),i("v-uni-image",{staticClass:"arrow",staticStyle:{width:"14rpx",height:"14rpx",margin:"0rpx 20rpx 0rpx 10rpx"},attrs:{src:t.icon[2]}})],1)],1)],1),i("v-uni-view",{staticClass:"ml20 flex space alcenter",staticStyle:{flex:"1"}},[i("v-uni-view",{on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.selectAddress("returnCar")}}},[i("v-uni-view",{staticClass:"title mb5"},[t._v("还车地点")]),t.deliveryInfo.delivery.address?i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{width:"300rpx"}},[i("v-uni-text",{staticClass:"value",staticStyle:{"white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis","margin-left":"4rpx",flex:"4"}},[t._v(t._s(t.deliveryInfo.delivery.address))]),i("v-uni-image",{staticClass:"arrow",staticStyle:{"margin-left":"0"},attrs:{src:t.icon[5]}})],1):i("v-uni-view",{staticClass:"flex alcenter",staticStyle:{width:"300rpx"}},[i("v-uni-text",[t._v("您在哪里还车")]),i("v-uni-image",{staticClass:"arrow",attrs:{src:t.icon[5]}})],1)],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"form-item space",staticStyle:{flex:"1","justify-content":"space-between",padding:"50rpx 0"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.chooseTime.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flex column"},[i("v-uni-text",{class:[t.startDate?"value":"title"],staticStyle:{"font-size":"30rpx"}},[t._v(t._s(t.startDate?t.startDate+"\n"+t.startTime:"取车时间"))])],1),i("v-uni-view",{staticClass:"ft12 ml10 mr10 flex center",staticStyle:{"border-radius":"23rpx",border:"1px solid #D9D9D9",padding:"4rpx 14rpx"}},[i("v-uni-text",{staticStyle:{"text-align":"start"}},[t._v(t._s(t.defTime?t.defTime:t.startDate&&t.endDate?t.diffTime(t.startDate,t.endDate):0))])],1),i("v-uni-view",{staticClass:"flex column"},[i("v-uni-text",{class:[t.endDate?"value":"title"],staticStyle:{"font-size":"30rpx","text-align":"end"}},[t._v(t._s(t.endDate?t.endDate+"\n"+t.endTime:"还车时间"))])],1)],1)],1),i("v-uni-view",{staticClass:"btn-query",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.chooseCar()}}},[t._v("去选车")])],1)],1)],1),i("address-select-modal",{attrs:{data:t.addressList,"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"}})],1)],1)},a=[]},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")},d16d:function(t,e,i){var o=i("c86c");e=o(!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},da399:function(t,e,i){"use strict";i.r(e);var o=i("95ee"),n=i("a96b");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("02f1");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"426c4302",null,!1,o["a"],void 0);e["default"]=r.exports},db04:function(t,e,i){"use strict";var o=i("bb80"),n=i("c435"),a=i("9e70"),s=i("f298"),r=i("862c"),d=o(s),l=o("".slice),c=Math.ceil,u=function(t){return function(e,i,o){var s,u,f=a(r(e)),p=n(i),h=f.length,g=void 0===o?" ":a(o);return p<=h||""===g?f:(s=p-h,u=d(g,c(s/g.length)),u.length>s&&(u=l(u,0,s)),t?f+u:u+f)}};t.exports={start:u(!1),end:u(!0)}},db14:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("495e")),a={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=a},db1f:function(t,e,i){var o=i("b0d0");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("61c6eb68",o,!0,{sourceMap:!1,shadowMode:!1})},dc1f:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},computed:{themeBgColor:function(){return this.$isTheme()?"--theme-general-color":this.vuex_themeBgColor||""},themeOpacityBgColor:function(){return this.vuex_themeBgColor?"".concat(this.vuex_themeBgColor,"7F"):""},themeFontColor:function(){return this.$isTheme()?"--general-color-text":this.vuex_themeFontColor||""},themeBtnStyle:function(){var t={};return this.vuex_themeBgColor&&(t.backgroundColor=this.vuex_themeBgColor),this.vuex_themeFontColor&&(t.color=this.vuex_themeFontColor),this.$isTheme()&&(t.backgroundColor="var(--theme-general-color)",t.color="--general-color-text"),t},themeLineBtnStyle:function(){var t={};return this.vuex_themeBgColor&&(t.border="1rpx solid ".concat(this.vuex_themeBgColor),t.color=this.vuex_themeBgColor),this.$isTheme()&&(t.border="1rpx solid var(--theme-general-color)",t.color="var(--theme-general-color)"),t}}}},dcaf:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=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=[]},e153:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("4626"),i("5ac7"),i("5c47"),i("473f"),i("bf0f"),i("aa77");var n=o(i("dc1f")),a=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},categoryGoodsNum:{type:Array,default:function(){return[]}},disabledCategoryIds:{type:Array,default:function(){return[]}}},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 o=t.data.length;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;console.log("111",t),t&&t.length>0&&this.stickyHeight&&setTimeout((function(){e._initBottomEmptyAreaRectInfo()}),150)},immediate:!0}},created:function(){this.id=this.$tn.uuid()},methods:{categoryClickEvent:function(t){console.log("🚀 ~ categoryClickEvent ~ index:",t),this.disabledCategoryIds.includes(this.data[t].id)||t!==this.currentSelectIndex&&(this.$emit("input",t),this.$emit("change",t,this.currentSelectIndex),console.log("钱钱钱钱钱钱钱",this.categoryGoodsNum,this.currentSelectIndex))},_initBottomEmptyAreaRectInfo:function(){var t=this;if(this.height){var e=(0,a.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),o=t.height-i;t.bottomEmptyAreaRectInfo.height=o<0?100:o})).exec()}else setTimeout((function(){t._initBottomEmptyAreaRectInfo()}))},getCategoryGoodsNum:function(t){var e=this.categoryGoodsNum.find((function(e){return e.cid===t}));return e?e.num:null}}};e.default=s},e456:function(t,e,i){"use strict";i.r(e);var o=i("48073"),n=i("680d");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("c05a");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"69544bca",null,!1,o["a"],void 0);e["default"]=r.exports},e466:function(t,e,i){"use strict";var o=i("3b05"),n=i.n(o);n.a},e4de:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5ef2");var o={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=o},e76c:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=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 o=i("c86c");e=o(!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},f298:function(t,e,i){"use strict";var o=i("497b"),n=i("9e70"),a=i("862c"),s=RangeError;t.exports=function(t){var e=n(a(this)),i="",r=o(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}},f3fd:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var o={tnBadge:i("af4b").default},n=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,o){return i("v-uni-view",{key:o,staticClass:"item tn-flex-center tn-bg-gray--light",class:[o===t.currentSelectIndex?"select theme-categorys-select":"",t.disabledCategoryIds.includes(e.id)?"disabled":""],staticStyle:{"flex-wrap":"wrap",background:"#F6F7F8"},style:[t.itemStyle(o)],attrs:{id:"item-"+t.id},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.categoryClickEvent(o)}}},[t.getCategoryGoodsNum(e.id)?i("tn-badge",{attrs:{backgroundColor:"#ff0004",fontColor:"#ffffff",absolute:"true",top:"20",right:"20",radius:"32"}},[t._v(t._s(t.getCategoryGoodsNum(e.id)))]):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",style:{color:o===t.currentSelectIndex?"#FDBF00":"#151515"}},[t._v(t._s(e.title))]),e.description?i("v-uni-view",{staticClass:"itemTitle",staticStyle:{color:"#707070","font-size":"20rpx","margin-top":"4rpx"}},[t._v(t._s(e.description))]):t._e(),1==e.is_mandatory?i("v-uni-view",{staticStyle:{color:"#ff9900"}},[t._v("(必选)")]):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"}]}),t.data.length>10?i("v-uni-view",{staticClass:"tn-bg-gray--light",style:[{borderTopRightRadius:t.currentSelectIndex===t.data.length-1?"15rpx":"0rpx",height:"250rpx"}]}):t._e()],2)},a=[]},f747:function(t,e,i){var o=i("9139");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("8d8653b2",o,!0,{sourceMap:!1,shadowMode:!1})},f7d1:function(t,e,i){"use strict";var o=i("89e2"),n=i.n(o);n.a},f964:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("2634")),a=o(i("2fdc")),s=o(i("39d8"));i("f7a5"),i("d4b5"),i("c223"),i("bd06"),i("64aa"),i("fd3c"),i("aa9c"),i("795c"),i("c9b5"),i("bf0f"),i("ab80"),i("5c47"),i("a1c1"),i("2797");var r=o(i("e9ee")),d=i("5ddb"),l=o(i("6fbe")),c=o(i("da399")),u=o(i("8e7f")),f=o(i("8c27")),p=i("1db2"),h=i("9d0a"),g=i("419c"),v=(i("165b"),i("f9ce"),o(i("cb6a")),i("78b4")),m=(i("9897"),i("262c"),i("1e2b")),b=(i("38f3"),i("e0a2"),o(i("a71b"))),y=i("e0a2"),_=i("a69d"),w=getApp(),x={components:{AddressSelectModal:r.default,Empty:b.default,GoodsList:c.default,ShowcaseUpdateModal:u.default,loading:f.default},mixins:[l.default],data:function(){var t;return t={loads:!1,formData:{child:"",adults:4,flight_id:"",user_address_id:""},formData1:{child:"",adults:4,flight_id:"",date:"",time:""},showChooseAddressModal:!1,addressList:[]},(0,s.default)(t,"showChooseAddressModal",!1),(0,s.default)(t,"currentSelectAddressId",""),(0,s.default)(t,"deliveryInfo",{delivery:{address:"",username:"",mobile:"",deliveryTime:""}}),(0,s.default)(t,"address1",{address:"",username:"",mobile:"",deliveryTime:""}),(0,s.default)(t,"flightList",[]),(0,s.default)(t,"startDate",(new Date).toISOString().slice(0,10)),(0,s.default)(t,"endDate","9999-12-31"),(0,s.default)(t,"dateArray",[]),(0,s.default)(t,"timeArray",[]),(0,s.default)(t,"dateIndex",0),(0,s.default)(t,"timeIndex",0),(0,s.default)(t,"navbarBgColor","transparent"),(0,s.default)(t,"cityIndex",0),(0,s.default)(t,"cityList",[]),(0,s.default)(t,"cityIndex1",0),(0,s.default)(t,"city",""),(0,s.default)(t,"addressType",""),(0,s.default)(t,"switchValue",!1),(0,s.default)(t,"endDate",""),(0,s.default)(t,"startDate",""),(0,s.default)(t,"city1",""),(0,s.default)(t,"defMinDate",""),(0,s.default)(t,"startTime",""),(0,s.default)(t,"endTime",""),(0,s.default)(t,"defTime",""),(0,s.default)(t,"visit",!1),(0,s.default)(t,"maxDate",""),(0,s.default)(t,"minDate",""),(0,s.default)(t,"maxTime",""),(0,s.default)(t,"minTime",""),(0,s.default)(t,"showPicker",!1),(0,s.default)(t,"datetime",""),(0,s.default)(t,"rangetime",[]),(0,s.default)(t,"type","rangetime"),(0,s.default)(t,"value",""),(0,s.default)(t,"selectLabel",""),(0,s.default)(t,"icon",[y.staticUrl+"api/images/20250828/images_175636839556183.png",y.staticUrl+"api/images/20250828/images_175636840688763.png",y.staticUrl+"api/images/20250822/images_175582793829083.png",y.staticUrl+"api/images/20250825/images_175611162592513.png",y.staticUrl+"api/images/20250825/images_175611162265420.png",y.staticUrl+"api/images/20250506/images_1746512926.png"]),(0,s.default)(t,"optionsData",{sid:"",spellriceId:"",tableId:"",orderId:""}),(0,s.default)(t,"defaultCategoryId",""),(0,s.default)(t,"showWriteVouchers",!1),(0,s.default)(t,"vouchersList",[]),(0,s.default)(t,"searchValue",""),(0,s.default)(t,"storeInfo",{class_type:2,bgImage:"http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/store-title.jpg",table:{title:""},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,default_display_selection:null,multiple_cart_add_fee:null,storeShow:{},top_option_takeout:"外卖送",top_option_selfPickUp:"到店取",vip_is_open:0,vip_config:[],show_store_info:[],is_system_brand:0,delivery_type:null,selfpickup_type:null}}),(0,s.default)(t,"goodsData",[]),(0,s.default)(t,"searchData",[]),(0,s.default)(t,"isLogin",!0),(0,s.default)(t,"isRefreshData",!1),(0,s.default)(t,"currentNavIndex",0),(0,s.default)(t,"renderTemplateFlag",[!0,!1,!1]),(0,s.default)(t,"currentPageScrollPosition",0),(0,s.default)(t,"componentId",""),(0,s.default)(t,"navRectInitCount",0),(0,s.default)(t,"navRectInfo",{top:0,height:0,opacity:0}),(0,s.default)(t,"goodsPreviewRectInfo",{stickyDistance:0,height:0}),(0,s.default)(t,"showUpdateModal",!1),(0,s.default)(t,"updateInfo",{storeTitle:"每日优鲜11",storeContent:'平台已升级,请到支付宝搜索"大马生活"'}),(0,s.default)(t,"showOrderingInformationModal",!1),(0,s.default)(t,"deliveryModal",!1),(0,s.default)(t,"orderingInformation",{banner:[],data1:{title:"",content:""},data2:{title:"",content:""}}),(0,s.default)(t,"loadingShow",!1),(0,s.default)(t,"tagShow",!1),(0,s.default)(t,"pageShowType",2),(0,s.default)(t,"delivery_type",!1),(0,s.default)(t,"expansion_show",!1),(0,s.default)(t,"old_discount",0),(0,s.default)(t,"new_discount",0),(0,s.default)(t,"expansion_data",null),(0,s.default)(t,"new_description","无门槛"),(0,s.default)(t,"categoryId",""),(0,s.default)(t,"goodPage",1),(0,s.default)(t,"categoryIndex",0),(0,s.default)(t,"is_showGoods",!1),(0,s.default)(t,"is_firstShowGoods",!0),(0,s.default)(t,"isReachBottom",!1),(0,s.default)(t,"isNextCategory",!1),(0,s.default)(t,"showloadNext",!1),(0,s.default)(t,"showloadNext1",!1),(0,s.default)(t,"is_goods_render",!1),(0,s.default)(t,"chrid",""),(0,s.default)(t,"loadText",{}),(0,s.default)(t,"is_api_shop",!1),(0,s.default)(t,"storeCode",""),(0,s.default)(t,"brand",""),(0,s.default)(t,"cartId",0),(0,s.default)(t,"codeInfo",null),(0,s.default)(t,"table_name",""),(0,s.default)(t,"renshu",2),(0,s.default)(t,"showOrderingRenshuModal",!1),(0,s.default)(t,"isScan",!1),(0,s.default)(t,"bakurl",""),(0,s.default)(t,"showNavbarBack",!0),(0,s.default)(t,"is_show_switch",!0),(0,s.default)(t,"previous",""),(0,s.default)(t,"encrypted_data",""),(0,s.default)(t,"write_off_type","alipay"),(0,s.default)(t,"is_promotion",-1),(0,s.default)(t,"categoryGoodsNum",[]),(0,s.default)(t,"clientYStart",0),(0,s.default)(t,"clientYEnd",0),(0,s.default)(t,"lastScrollTop",0),(0,s.default)(t,"topScrollCount",0),(0,s.default)(t,"is_renovate",!1),(0,s.default)(t,"is_top",!1),(0,s.default)(t,"refreshCategoryTitleRectInfo",!1),(0,s.default)(t,"categoryGoods",[]),(0,s.default)(t,"is_takeout",-1),(0,s.default)(t,"storeDiscountData",null),(0,s.default)(t,"in_store_discount",null),(0,s.default)(t,"takeout_discount",null),(0,s.default)(t,"form",""),(0,s.default)(t,"cart_icon",""),(0,s.default)(t,"isPageActive",!0),(0,s.default)(t,"isPreloading",!1),(0,s.default)(t,"psizes",20),(0,s.default)(t,"offsets",0),(0,s.default)(t,"goChange",!1),(0,s.default)(t,"lastAutoLoadPage",1),(0,s.default)(t,"lastTriggerTop",0),(0,s.default)(t,"list",[]),(0,s.default)(t,"order",""),(0,s.default)(t,"cateList",[]),(0,s.default)(t,"labelList",[]),(0,s.default)(t,"dateTime",""),t},computed:{topNavbarStyle:function(){var t={};return t.height="".concat(this.navBarInfo.height,"px"),t.opacity=this.navRectInfo.opacity,t.zIndex=t.opacity>.28?2e4:19990,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}},onShareAppMessage:function(){var t=encodeURIComponent(JSON.stringify(this.order));return{title:"租车",path:"/carRental/list?data=".concat(t)}},onShareTimeline:function(){var t=encodeURIComponent(JSON.stringify(this.order));return{title:"租车",query:"data=".concat(t)}},onLoad:function(t){console.log("options",t),this.dateTime=uni.getStorageSync("selectedDateTime");var e=this.dateTime;if(e){var i,o,n,a;this.endDate=e.end.date,this.startDate=e.start.date,this.endTime=e.end.time,this.startTime=e.start.time;var s=null!==(i=null===e||void 0===e||null===(o=e.duration)||void 0===o?void 0:o.hours)&&void 0!==i?i:"",r=null!==(n=null===e||void 0===e||null===(a=e.duration)||void 0===a?void 0:a.days)&&void 0!==n?n:"";this.defTime=s&&r?"共".concat(r,"天").concat(s,"小时"):!s&&r?"共".concat(r,"天"):"共".concat(s,"小时")}if(t.data){var d=JSON.parse(decodeURIComponent(t.data));this.order=d,console.log("this.order",this.order),this.startDate=this.order.pick_time.split(" ")[0],this.startTime=this.order.pick_time.split(" ")[1],this.endDate=this.order.return_time.split(" ")[0],this.endTime=this.order.return_time.split(" ")[1],this.visit=1==this.order.is_to_door,this.visit&&(this.selectLabel=1),this.address1.address=this.order.address_name,this.switchValue=this.order.switchValue,this.city=this.order.pick_city,this.formData1.longitude=this.order.pick.longitude,this.formData1.latitude=this.order.pick.latitude,this.formData1.user_address_id=this.order.pick.address,this.switchValue&&(this.city1=this.order.return_city,this.formData.longitude=this.order.return.longitude,this.formData.latitude=this.order.return.latitude,this.formData.user_address_id=this.order.return.address,this.deliveryInfo.delivery.address=this.order.return.address_name)}this.getDict(),t.sid="1810597",this.vehicleCateList(),this.tagShow=!0,this.defaultCategoryId=t.cid;var l=uni.getStorageSync("shop");l&&(this.storeInfo.storeInfo={id:1810597,title:"许多鱼",logo:"http://101.32.52.224/uploads/images/e625W5u8jJ7Wte8z35CVWV3uecmMC6.jpg",content:"",score:0,sailed:0,isRest:0,isInBusiness:1,label:"",deliveryTime:0,distance:2961711,sendPrice:0,deliveryPrice:"15",deliveryFreePrice:0,freeDeliveryFee:0,activityLabels:[],delivery_title:"平台配送",rest_reserve_cn:"",address_type:0,isShowGoodsBanner:0,commend_goods:[],delivery_fee_mode:1,pageShowType:2,is_haodian:0,store_diy_page_id:0,tie_num:5,store_type:3}),this.handleStoreOptions(t),this.chrid=null!==t&&void 0!==t&&t.goods_id?t.goods_id:"",this.componentId=this.$tn.uuid(),this.initCustomNavBarInfo()},onShow:function(){this.isPageActive=!0;var t=uni.getStorageSync("selectedDateTime");if(t){var e,i,o,n;this.endDate=t.end.date,this.startDate=t.start.date,this.endTime=t.end.time,this.startTime=t.start.time;var a=null!==(e=null===t||void 0===t||null===(i=t.duration)||void 0===i?void 0:i.hours)&&void 0!==e?e:"",s=null!==(o=null===t||void 0===t||null===(n=t.duration)||void 0===n?void 0:n.days)&&void 0!==o?o:"";this.defTime=a&&s?"共".concat(s,"天").concat(a,"小时"):!a&&s?"共".concat(s,"天"):"共".concat(a,"小时")}},onReady:function(){var t=this;setTimeout((function(){t._getStoreNavRectInfo()}),150)},onUnload:function(){var t=this;this.isPageActive=!1,uni.removeStorageSync("shop"),this.$nextTick((function(){setTimeout((function(){t.loadingShow=!1}),1e3)}))},onPageScroll:function(t){uni.$emit("onPageScroll",t);var e=t.scrollTop;this.currentPageScrollPosition=e,this.lastScrollTop=e,this.handleScroll(e)},onReachBottom:function(){var t=this;console.log("🚀🚀🚀🚀触发父组件切换上一个分类===19",this.goodPage),this.isReachBottom=!0,this.is_firstShowGoods||(this.is_showGoods?this.isNextCategory=!this.isNextCategory:(this.showloadNext=!0,setTimeout((function(){t.showloadNext=!1}),500),this.goodPage++,this.getList(!1)))},methods:{chooseTime:function(){(0,g.navPage)("/carRental/chooseDate?minDate="+this.minDate+"&maxDate="+this.maxDate+"&maxTime="+this.maxTime+"&minTime="+this.minTime+"&startTime="+this.startTime+"&startDate="+this.startDate+"&endTime="+this.endTime+"&endDate="+this.endDate)},select:function(t){this.order.group_id="",this.selectLabel==t.id?(this.selectLabel="",this.order.label_id="",this.vehicleCateList("group_id"),this.categoryIndex=""):(this.selectLabel=t.id,this.order.label_id=this.selectLabel,this.vehicleCateList("group_id"))},maskClick:function(){var t=this.dateTime;if(t){var e,i,o,n;this.endDate=t.end.date,this.startDate=t.start.date,this.endTime=t.end.time,this.startTime=t.start.time;var a=null!==(e=null===t||void 0===t||null===(i=t.duration)||void 0===i?void 0:i.hours)&&void 0!==e?e:"",s=null!==(o=null===t||void 0===t||null===(n=t.duration)||void 0===n?void 0:n.days)&&void 0!==o?o:"";this.defTime=a&&s?"共".concat(s,"天").concat(a,"小时"):!a&&s?"共".concat(s,"天"):"共".concat(a,"小时")}this.address1.address=this.order.address_name,this.switchValue=this.order.switchValue,this.switchValue||(this.deliveryInfo.delivery.address=""),this.address1.address=this.order.address_name,this.switchValue=this.order.switchValue,this.city=this.order.pick_city,this.visit=1==this.order.is_to_door,console.log("this.order.is_to_door",this.order.is_to_door),this.formData1.longitude=this.order.pick.longitude,this.formData1.latitude=this.order.pick.latitude,this.formData1.user_address_id=this.order.pick.address,this.switchValue&&(this.city1=this.order.return_city,this.formData.longitude=this.order.return.longitude,this.formData.latitude=this.order.return.latitude,this.formData.user_address_id=this.order.return.address,this.deliveryInfo.delivery.address=this.order.return.address_name)},navPage:g.navPage,openPop:function(){this.$refs.passportConfirmPopup.open()},chooseCar:function(t){if(this.visit&&this.switchValue&&""===this.deliveryInfo.delivery.address)return uni.showModal({title:"提示",content:"请选择还车地点"}),!1;var e={pick_city:this.city,pick_time:this.startDate+" "+this.startTime,is_to_door:this.visit?1:2,return_time:this.endDate+" "+this.endTime,show_time:this.diffTime(this.startDate,this.endDate),address_name:this.address1.address,switchValue:this.switchValue},i={};this.switchValue?(e.return_city=this.city1,i={longitude:this.formData.longitude,latitude:this.formData.latitude,time:this.endDate+" "+this.endTime,address:this.formData.user_address_id,address_name:this.deliveryInfo.delivery.address}):i={longitude:this.formData1.longitude,latitude:this.formData1.latitude,time:this.endDate+" "+this.endTime,address:this.formData1.user_address_id,address_name:this.address1.address},e.return=i;var o={longitude:this.formData1.longitude,latitude:this.formData1.latitude,time:this.startDate+" "+this.startTime,address:this.formData1.user_address_id};e.pick=o,this.order=e,this.init(),this.vehicleCateList("group_id"),this.$refs.passportConfirmPopup.close()},init:function(){var t,e,i=this;this.order.label_id="",this.selectLabel="",this.categoryId=null!==(t=null===(e=this.goodsData[0])||void 0===e?void 0:e.id)&&void 0!==t?t:"",this.categoryIndex=this.cateList.findIndex((function(t){return t.group_id==i.categoryId}))},switch1Change:function(){this.switchValue=!this.switchValue},handleCityChange:function(t){this.cityIndex=t.detail.value,this.city=this.cityList[this.cityIndex]},handleCityChange1:function(t){this.cityIndex1=t.detail.value,this.city1=this.cityList[this.cityIndex1]},onShowDatePicker:function(t){this.type=t,this.showPicker=!0,this.value=this[t]},handleAddressClickEvent:function(t){var e=this.addressList[t];"returnCar"===this.addressType?(this.formData.user_address_id=e.id,this.deliveryInfo.delivery.address=e.address,this.deliveryInfo.delivery.username=e.username,this.deliveryInfo.delivery.mobile=e.mobile,this.currentSelectAddressId=e.id,this.formData.longitude=Number(e.latitude),this.formData.latitude=Number(e.longitude)):(this.formData1.user_address_id=e.id,this.address1.address=e.address,this.address1.username=e.username,this.address1.mobile=e.mobile,this.currentSelectAddressId=e.id,this.formData1.longitude=Number(e.latitude),this.formData1.latitude=Number(e.longitude))},getAddressList:function(){var t=this;if(1==this.loads)return!1;this.loads=!0,uni.showLoading(),(0,_.getUserAddressListApi)().then((function(e){uni.hideLoading(),t.loads=!1;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,longitude:t.location_x,latitude:t.location_y}})))})).catch((function(e){uni.hideLoading(),t.loads=!1,t.addressList=[],"请重新登录"==e.msg?t.isLogin=!1:uni.showModal({title:"提示",content:e.msg||"获取地址信息失败",showCancel:!1})}))},selectAddress:function(t){this.addressType=t,this.getAddressList(),this.showChooseAddressModal=!0},addEditAddressEvent:function(){this.currentSelectAddressId="",this.showChooseAddressModal=!1},initDateTimeArrays:function(){for(var t=[],e=new Date,i=0;i<30;i++){var o=new Date(e);o.setDate(e.getDate()+i),t.push(o.toISOString().slice(0,10))}this.dateArray=t,this.updateTimeArray()},getNextTwoDates:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=function(t){return t.toString().padStart(2,"0")},n=t?new Date(t.replace(/-/g,"/")):new Date;n.setHours(0,0,0,0);var a=e?Number(e.split(":")[0]):0,s=i?Number(i.split(":")[0]):23,r=new Date,d=r.getHours()>=s,l=r.getHours()+1<10?"0"+(r.getHours()+1):r.getHours()+1,c=d?"00:00":l+":00",u=new Date(n);u.setHours(18,0,0,0);var f=d?1:0,p=f+1,h=new Date(u);h.setDate(h.getDate()+f);var g=new Date(u);g.setDate(g.getDate()+p);var v=function(t){return"".concat(t.getFullYear(),"-").concat(o(t.getMonth()+1),"-").concat(o(t.getDate()))};this.endDate=v(g),this.startDate=v(h),this.endTime=r.getHours()+1 "+t.value),console.log("date => "+t.date)}},updateTimeArray:function(){for(var t=[],e=new Date,i=this.dateArray[this.dateIndex],o=i===e.toISOString().slice(0,10),n=o?e.getHours():0,a=o?30*Math.ceil(e.getMinutes()/30):0,s=n;s<24;s++)for(var r=0;r<60;r+=30)if(!(o&&s===n&&r0&&(t.switchValue||(t.city1=t.cityList[0],t.cityIndex1=t.cityList.findIndex((function(e){return e===t.order.return_city})),console.log("this.cityIndex1",t.cityIndex1,t.city1,t.cityList))),t.maxDate=null!==(n=null===e||void 0===e||null===(a=e.choose_time)||void 0===a||null===(s=a.date)||void 0===s?void 0:s.end)&&void 0!==n?n:"",t.minDate=null!==(r=null===e||void 0===e||null===(d=e.choose_time)||void 0===d||null===(l=d.date)||void 0===l?void 0:l.start)&&void 0!==r?r:"",t.maxTime=null!==(c=null===e||void 0===e||null===(u=e.choose_time)||void 0===u||null===(f=u.time)||void 0===f?void 0:f.end)&&void 0!==c?c:"",t.minTime=null!==(p=null===e||void 0===e||null===(h=e.choose_time)||void 0===h||null===(g=h.time)||void 0===g?void 0:g.start)&&void 0!==p?p:""})).catch((function(t){uni.hideLoading(),uni.showModal({title:"提示",content:t.msg||"获取地址信息失败",showCancel:!1})}))},vehicleCateList:function(t){var e=this;(0,d.vehicleCateListApi)({is_to_door:this.order.is_to_door,pick_time:this.order.pick_time,return_time:this.order.return_time}).then((function(i){e.cateList=i||[],"group_id"==t?e.getList(!0,!1,"group_id"):e.getList()})).catch((function(t){console.error("[order-list]获取订单列表数据失败",t),uni.showModal({title:"提示",content:t.msg,showCancel:!1})})).finally((function(){}))},getList:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.isReachBottom=!1,this.topScrollCount=0,this.is_renovate=!1,this.is_top=!1,this.isNextCategory=!1,e&&(this.loadingShow=!0),this.order.page_size=this.psizes,this.order.page=this.goodPage,this.order.slide=1,console.log("type",o),"group_id"===o&&(this.order.group_id=""),(0,d.getListApi)(this.order).then((function(e){if(!e.count)return t.loadingShow=!1,void(t.goodsData=[]);var n=e.list.map((function(t){var e,i,o,n,a,s,r,d,l,c,u,f,p,h,g,v,m,b,y,_,w,x,C,k,I;return{avg_price_text:null!==(e=null===t||void 0===t||null===(i=t.price_info)||void 0===i?void 0:i.avg_price_text)&&void 0!==e?e:"",cid:t.group_id,id:t.id,title:t.product_name||"",image:t.product_img||"",door_num:null!==(o=null===t||void 0===t||null===(n=t.product_attrs)||void 0===n?void 0:n.door_num)&&void 0!==o?o:"",drive_type:null!==(a=null===t||void 0===t||null===(s=t.product_attrs)||void 0===s?void 0:s.drive_type)&&void 0!==a?a:"",engine_type:null!==(r=null===t||void 0===t||null===(d=t.product_attrs)||void 0===d?void 0:d.engine_type)&&void 0!==r?r:"",seat_num:null!==(l=null===t||void 0===t||null===(c=t.product_attrs)||void 0===c?void 0:c.seat_num)&&void 0!==l?l:"",group_name:null!==(u=null===t||void 0===t||null===(f=t.product_attrs)||void 0===f?void 0:f.group_name)&&void 0!==u?u:"",sale_price_text:null!==(p=null===t||void 0===t?void 0:t.sale_price_text)&&void 0!==p?p:"",label:"",content:"",sailed:0,price:null!==(h=null===t||void 0===t||null===(g=t.price_info)||void 0===g||null===(v=g.total_price)||void 0===v?void 0:v.value)&&void 0!==h?h:0,currency:null!==(m=null===t||void 0===t||null===(b=t.price_info)||void 0===b||null===(y=b.total_price)||void 0===y?void 0:y.unit)&&void 0!==m?m:"",avg_price:null!==(_=null===t||void 0===t||null===(w=t.price_info)||void 0===w||null===(x=w.avg_price)||void 0===x?void 0:x.value)&&void 0!==_?_:0,avg_currency:null!==(C=null===t||void 0===t||null===(k=t.price_info)||void 0===k||null===(I=k.avg_price)||void 0===I?void 0:I.unit)&&void 0!==C?C:"",oldPrice:0,specOptions:0,num:0,min:0,max:0,is_tuangouquan:!1,is_api:0,good_code:"",brand:"",storeCode:"",bargain_price:"",buy_limit:0}}));n.length<15?t.showloadNext1=!0:t.showloadNext1=!1,n.length=0&&t=e[i]-e[0]&&t=e[e.length-1]-e[0]){o=e.length-1;this.$refs.goodsList.handleProductListUpdateCategoryIndexEvent(o)}if(!this.is_showGoods){var n=108*(this.psizes-6),a=Math.floor(t/n)+1;this.lastAutoLoadPage||(this.lastAutoLoadPage=1),a>this.lastAutoLoadPage&&(console.log("计算当前页数(下滑了多少个108*psizes)",this.lastAutoLoadPage),this.goodPage++,this.getList(!1),this.lastAutoLoadPage=a)}},submitStatusChang:function(t){},handleTouchStart:function(t){this.clientYStart=t.touches[0].clientY},handleTouchEnd:function(t){this.clientYEnd=t.changedTouches[0].clientY,this.clientYEnd-this.clientYStart<0&&(this.topScrollCount=0,this.is_top=!1,this.is_renovate=!1),this.clientYStart1&&(this.is_renovate=!0)),this.clientYStart=0},getOrderDinnerStoreId:function(){var t=this;return(0,a.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 i=t,e.abrupt("return",(0,v.getOrderDinnerStoreIdApi)({type:i.brand,storeCode:i.storeCode}).then((function(e){e.sid==t.optionsData.sid&&(t.is_api_shop=!0)})));case 2:case"end":return e.stop()}}),e)})))()},searchPromotion:function(t){var e=this;this.is_promotion=t,this.goodPage=1,this.categoryId="",this.is_showGoods=!1,this.goodsData=[],uni.pageScrollTo({scrollTop:0,duration:0}),this.$nextTick((function(){setTimeout((function(){e.getList()}),150)}))},handleCategoryChangeEvent:function(t,e,i){this.goChange=!0,this.isReachBottom=!1,this.topScrollCount=0,this.is_renovate=!1,this.is_top=!1,this.is_showGoods=!1,this.is_firstShowGoods=!0,this.categoryId=t,this.order.group_id=t,this.categoryIndex=e,this.goodPage=1;this.goodsData.forEach((function(t){t.goods=[]})),console.log("🚀🚀🚀🚀12",this.goodsData),uni.pageScrollTo({scrollTop:this.navRectInfo.top-this.navBarInfo.height,duration:0}),this.getList(!1)},getStoreInfo:function(){var t=this;this.getList(!1,null,!0),(0,v.getStoreInfoApi)({sid:this.optionsData.sid,table_id:this.optionsData.tableId,storeCode:this.StoreCode,brand:this.brand}).then((function(e){var i,o,n;t.isLogin=!0;var a,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.storeDiscount(),t.optionsData.tableId)&&(t.showOrderingRenshuModal=1==(null===r||void 0===r||null===(a=r.tangshi)||void 0===a?void 0:a.person_num_status),t.showOrderingRenshuModal&&t.codeInfo&&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.location_x=(null===r||void 0===r?void 0:r.location_x)||"",t.storeInfo.storeInfo.location_y=(null===r||void 0===r?void 0:r.location_y)||"",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.storeInfo.storeInfo.default_display_selection=(null===r||void 0===r||null===(i=r.data)||void 0===i?void 0:i.default_display_selection)||1,t.storeInfo.storeInfo.storeShow=(null===r||void 0===r?void 0:r.storeShow)||{},t.storeInfo.discountCardInfo=null===r||void 0===r?void 0:r.discountCardInfo,t.takeout_discount=(null===r||void 0===r||null===(o=r.discountCardInfo)||void 0===o?void 0:o.takeout_discount)||"10",t.in_store_discount=(null===r||void 0===r||null===(n=r.discountCardInfo)||void 0===n?void 0:n.in_store_discount)||10,t.is_api_shop&&(t.storeInfo.storeInfo.address=uni.getStorageSync(t.brand+"_address")),t.storeInfo.storeInfo.is_system_brand=(null===r||void 0===r?void 0:r.is_system_brand)||0,t.cart_icon=(null===r||void 0===r?void 0:r.cart_icon)||"",t.tagShow=!1})).catch((function(e){t.tagShow=!1,console.error("[store-template-1]获取店铺信息失败",e),"请重新登录"==e.msg?t.isLogin=!1:(0,h.showModal)({title:"提示",content:e.msg||"获取信息失败",callback:function(){(0,g.navBack)()}})}))},handleStoreOptions:function(t){var e=this;return(0,a.default)((0,n.default)().mark((function i(){var o;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.from&&(e.form=t.from),t.brand&&(e.brand=t.brand,e.storeCode=t.storeCode),o=t.sid||"",t.table_id&&(e.is_show_switch=!1,e.optionsData.tableId=t.table_id),t.is_scan&&(e.isScan=!0),e.optionsData.sid=o,e.optionsData.orderId=t.order_id||"",t.encrypted_data&&(e.encrypted_data=t.encrypted_data),t.write_off_type&&(e.write_off_type=t.write_off_type),i.next=11,e.getOrderDinnerStoreId();case 11:e.getPageData();case 12:case"end":return i.stop()}}),i)})))()},getPageData:function(){this.getStoreInfo()},getWriteVouchers:function(){var t=this;(0,v.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()}),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;this.loadingShow=!1,setTimeout((function(){t.loadingShow=!1}),1e3)},handleGoodsListGoodNumChangeEvent:function(t){t.type,t.cid,t.goodId},updateModalNavBackEvent:function(){(0,g.navBack)()},_getStoreNavRectInfo:function(){var t=this,e=(0,p.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()},storeDiscount:function(){var t=this;(0,m.getStoreDiscountApi)({sid:this.optionsData.sid}).then((function(e){e.length>0&&(t.storeDiscountData=e,t.deliveryModal=!0)}))},handleLoadMore:function(){2!=this.pageShowType&&1!=this.pageShowType||this.is_showGoods||this.loadingShow||(this.goodPage++,this.getList(!1))},changTabs:function(t,e){var i=this;0==t&&(this.is_showGoods=!1,this.goodPage=1),(0,v.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,write_off_type:this.write_off_type}).then((function(t){var e=t.result.goods.map((function(t){var e,i,o,n;return{cid:t.group_id,id:t.id,title:t.product_name||"",image:t.product_img||"",door_num:t.door_num||"",drive_type:t.drive_type||"",engine_type:t.engine_type||"",label:"",content:"",sailed:0,price:(null===t||void 0===t||null===(e=t.total_price)||void 0===e?void 0:e.value)||0,currency:(null===t||void 0===t||null===(i=t.total_price)||void 0===i?void 0:i.unit)||"",avg_price:(null===t||void 0===t||null===(o=t.avg_price)||void 0===o?void 0:o.value)||0,avg_currency:(null===t||void 0===t||null===(n=t.avg_price)||void 0===n?void 0:n.unit)||"",oldPrice:0,specOptions:0,num:0,min:0,max:0,is_tuangouquan:!1,is_api:0,good_code:"",brand:"",storeCode:"",bargain_price:"",buy_limit:0}}));if(e.length