| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["alipay-order-orderMeal-orderMeal"],{"0179":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"md-card"},[a("v-uni-view",{staticClass:"md-name"},[t._v(t._s(t.shop.name))]),a("v-uni-view",{staticClass:"md-info"},[a("v-uni-view",{staticClass:"md-address",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.guideToShop.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"icon-box"},[a("i",{staticClass:"iconfont icon-a-map"})]),a("v-uni-view",{staticClass:"md-local"},[t._v(t._s(t.shop.address))])],1),a("v-uni-view",{staticClass:"md-action"},[a("i",{staticClass:"iconfont icon-phone",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.phoneToShop(t.shop.mobile)}}})])],1),a("v-uni-view",{staticClass:"split-line"},[a("v-uni-view",{staticClass:"line"})],1),a("v-uni-view",{staticClass:"label-title"},[t._v(t._s(t.$t("facePay.business")))]),a("v-uni-view",{staticClass:"md-time"},[t._v(t._s(t.$t("shop.startTime"))+":"+t._s(t.openTime))])],1)},o=[]},"02f4":function(t,e,a){"use strict";var i=a("9302"),o=a.n(i);o.a},"0775":function(t,e,a){"use strict";a.r(e);var i=a("4bad"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},"0927":function(t,e,a){"use strict";a.r(e);var i=a("44e3"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},"0959":function(t,e,a){"use strict";a.r(e);var i=a("ff50"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},"107ad":function(t,e,a){var i=a("8edf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("b1957112",i,!0,{sourceMap:!1,shadowMode:!1})},"128c":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={props:{},data:function(){return{shop:{}}},created:function(){},computed:{},methods:{gotoSelectMd:function(){this.$utils.toUrl("/pages/md/md-list?url=/alipay-order/orderMeal/orderMeal")}}}},"19b0":function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var i={uIcon:a("0852").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"u-image",style:[t.wrapStyle,t.backgroundStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.isError?t._e():a("v-uni-image",{staticClass:"u-image__image",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)},attrs:{src:t.src,mode:t.mode,"lazy-load":t.lazyLoad,"show-menu-by-longpress":t.showMenuByLongpress},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrorHandler.apply(void 0,arguments)},load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadHandler.apply(void 0,arguments)}}}),t.showLoading&&t.loading?a("v-uni-view",{staticClass:"u-image__loading",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius),backgroundColor:this.bgColor}},[t.$slots.loading?t._t("loading"):a("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})],2):t._e(),t.showError&&t.isError&&!t.loading?a("v-uni-view",{staticClass:"u-image__error",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)}},[t.$slots.error?t._t("error"):a("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})],2):t._e()],1)},n=[]},2617:function(t,e,a){"use strict";a.r(e);var i=a("27a7"),o=a("0927");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("2fa1");var s=a("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"24f57c18",null,!1,i["a"],void 0);e["default"]=r.exports},"27a7":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.is_show?a("v-uni-view",{staticClass:"login-modal"},[a("v-uni-view",{staticClass:"login-modal-bg",style:"background-image: url("+t.asyncImgs.common.login_bg+");"},[a("v-uni-view",[a("v-uni-button",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLogin.apply(void 0,arguments)}}},[t._v("去登录")])],1)],1)],1):t._e()},o=[]},"2fa1":function(t,e,a){"use strict";var i=a("3cc4"),o=a.n(i);o.a},3098:function(t,e,a){"use strict";a.r(e);var i=a("439b"),o=a("7b5a");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("b58f");var s=a("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"01f21bda",null,!1,i["a"],void 0);e["default"]=r.exports},3422:function(t,e,a){var i=a("3494");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("b70132f8",i,!0,{sourceMap:!1,shadowMode:!1})},3494:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".page-foot[data-v-01f21bda]{width:100%;min-height:%?112?%;background:#fff;position:fixed;left:0;bottom:0;z-index:1001;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.page-foot .foot-content[data-v-01f21bda]{width:100%;height:%?112?%;padding:0 %?24?% 0 %?32?%;display:flex;justify-content:space-between;align-items:center}.page-foot .choose-info[data-v-01f21bda]{flex:1;display:flex;align-items:center}.page-foot .choose-info .info-icon[data-v-01f21bda]{width:%?80?%;height:%?80?%;background:#f0250e;border-radius:50%;position:relative;display:flex;justify-content:center;align-items:center}.page-foot .choose-info .info-icon .iconfont[data-v-01f21bda]{color:#fff;font-size:%?46?%}.page-foot .choose-info .info-icon .choose-num[data-v-01f21bda]{width:%?32?%;height:%?32?%;background:#f84a33;border-radius:50%;font-size:%?22?%;font-family:PingFang SC;font-weight:600;color:#fff;display:flex;justify-content:center;align-items:center;position:absolute;right:%?-8?%;top:%?-8?%}.page-foot .choose-info .grey-icon[data-v-01f21bda]{background-color:#8c8c8c}.page-foot .choose-info .price-box[data-v-01f21bda]{margin-left:%?20?%;display:flex;align-items:baseline}.page-foot .choose-info .price-box .price[data-v-01f21bda]{font-size:4.8vw;font-weight:600;line-height:4.27vw;color:#191919}.page-foot .choose-info .price-box .price uni-text[data-v-01f21bda]:first-child{font-size:3.2vw}.page-foot .choose-info .price-box .origin-price[data-v-01f21bda]{margin-left:%?10?%;font-size:%?24?%;font-family:PingFang SC;font-weight:400;color:#8c8c8c}.page-foot .foot-btn[data-v-01f21bda]{width:%?224?%;height:%?80?%;background:#8c8c8c;border-radius:%?40?%;text-align:center;line-height:10.67vw;font-size:4.27vw;font-weight:600;color:#fffefe}.page-foot .can-pay[data-v-01f21bda]{background:#f0250e}",""]),t.exports=e},"361fe":function(t,e,a){"use strict";a.r(e);var i=a("8289"),o=a("c959");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("74077");var s=a("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"fd0c88f2",null,!1,i["a"],void 0);e["default"]=r.exports},"3cc4":function(t,e,a){var i=a("8a7c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("2c230750",i,!0,{sourceMap:!1,shadowMode:!1})},"439b":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page-foot",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFoot.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"foot-content"},[a("v-uni-view",{staticClass:"choose-info"},[a("v-uni-view",{staticClass:"info-icon",class:0==t.cartChoosedNum?"grey-icon":""},[a("i",{staticClass:"iconfont icon-a-zu139"}),t.cartChoosedNum>0?a("v-uni-view",{staticClass:"choose-num"},[t._v(t._s(t.cartChoosedNum))]):t._e()],1),a("v-uni-view",[a("v-uni-view",{staticClass:"price-box"},[a("v-uni-view",{staticClass:"price"},[a("v-uni-text",[t._v("¥")]),a("v-uni-text",[t._v(t._s(t.cartTotalPrice))])],1)],1),t.storeTableNum?a("v-uni-view",{staticClass:"price-box"},[a("v-uni-view",{staticClass:"origin-price"},[t._v("桌号:"+t._s(t.storeTableNum))])],1):t._e()],1)],1),a("v-uni-view",{staticClass:"foot-btn",class:{"can-pay":t.cartChoosedNum>0&&t.activeBtn},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleFootBtn.apply(void 0,arguments)}}},[t._v(t._s(t.$t("cart.toPay")))])],1)],1)},o=[]},"44e3":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("bf0f");var o=i(a("2634")),n=i(a("2fdc")),s={name:"login-modal",data:function(){return{}},props:{page:{type:Object}},computed:{is_show:function(){var t=uni.getStorageSync("token");return!t}},created:function(){this.$utils.isLogin(!1)||this.$utils.toUrl("/login/login/login_page","redirectTo")},methods:{goLogin:function(){var t=this;return(0,n.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$store.commit("setNoLoginTabarPath",t.reload()),t.$store.commit("setRouteType","redirectTo"),t.$utils.toUrl("/login/login/login_page","redirectTo");case 3:case"end":return e.stop()}}),e)})))()},getCode:function(){return new Promise((function(t){uni.login({provider:"weixin",success:function(e){t(e.code)}})}))},reload:function(){var t=getCurrentPages(),e=t[t.length-1].route,a=t[t.length-1].options,i=this.$u.queryParams(a);return"/".concat(e+i)}}};e.default=s},4777:function(t,e,a){"use strict";a.r(e);var i=a("e41b"),o=a("c2fd");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("9967");var s=a("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"02ccc186",null,!1,i["a"],void 0);e["default"]=r.exports},"4bad":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("e838");var i={props:{},data:function(){return{shop:{}}},created:function(){this.getMdInfo()},computed:{openTime:function(){var t,e;return null!==(t=this.shop)&&void 0!==t&&t.food_open_time?this.shop.food_open_time:null!==(e=this.shop)&&void 0!==e&&e.name?0==this.shop.open_status?this.$t("alipay.close"):0==this.shop.shop_time_type?"00:00-23:59":this.shop.start_time+"-"+this.shop.end_time:""}},methods:{getMdInfo:function(){var t=this,e={},a=uni.getStorageSync("storeMdData");a||(e["md_id"]=-1),this.$allrequest.alipay.getMdInfo(e).then((function(e){e.code||(t.shop=e.data)}))},phoneToShop:function(t){this.$utils.makePhoneCall(t)},guideToShop:function(){uni.openLocation({latitude:parseFloat(this.shop.latitude),longitude:parseFloat(this.shop.longitude)})}}};e.default=i},"525e":function(t,e,a){var i=a("7220");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("1bef9900",i,!0,{sourceMap:!1,shadowMode:!1})},"5cfe":function(t,e,a){"use strict";a.r(e);var i=a("0179"),o=a("0775");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("d9f4");var s=a("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"1a16e498",null,!1,i["a"],void 0);e["default"]=r.exports},"70c1":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d4b5");var o=i(a("9b1b")),n={props:{recommendList:{type:Array,default:[]}},data:function(){return{}},created:function(){},methods:{addBuy:function(t){var e;t=(0,o.default)({stamp:"recommend-".concat(t.id)},t),null!==(e=t)&&void 0!==e&&e.num?t.num++:t["num"]=1,this.$emit("recommendAddBuy",{item:t})},handleGoodItem:function(t){t["stamp"]="recommend-".concat(t.id),this.$utils.toUrl("/alipay-order/goods/goods?info=".concat(JSON.stringify(t)))}}};e.default=n},7220:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-722e0642] .u-form-item--right__content__slot > uni-view,[data-v-722e0642] .u-form-item--right__content__slot > div,[data-v-722e0642] .u-form-item--right__content__slot > span,[data-v-722e0642] .u-form-item--right__content__slot > uni-text{width:100%}.u-image[data-v-722e0642]{position:relative;transition:opacity .5s ease-in-out}.u-image__image[data-v-722e0642]{width:100%;height:100%}.u-image__loading[data-v-722e0642], .u-image__error[data-v-722e0642]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909399;font-size:%?46?%}',""]),t.exports=e},74077:function(t,e,a){"use strict";var i=a("7f76"),o=a.n(i);o.a},"75bf":function(t,e,a){var i=a("c551");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("74c70e8c",i,!0,{sourceMap:!1,shadowMode:!1})},"7b5a":function(t,e,a){"use strict";a.r(e);var i=a("9dea"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},"7f76":function(t,e,a){var i=a("ab1f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("77d48efe",i,!0,{sourceMap:!1,shadowMode:!1})},8289:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"shop-recommend"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t("alipay.recommend")))]),a("v-uni-scroll-view",{staticClass:"recommend-list",attrs:{"scroll-x":"true"}},t._l(t.recommendList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"recommend-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.handleGoodItem(e)}}},[a("v-uni-image",{staticClass:"recommend-item-banner",attrs:{src:e.goods_pic,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"recommend-item-name"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"old-price"},[t._v("¥"+t._s(e.original_price))]),a("v-uni-view",{staticClass:"price-section"},[a("v-uni-view",{staticClass:"price-info"},[a("v-uni-view",{staticClass:"new-price"},[a("v-uni-text",[t._v("¥")]),a("v-uni-text",[t._v(t._s(e.price))])],1)],1),a("v-uni-view",{staticClass:"add-buy",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.addBuy(e)}}},[a("v-uni-image",{attrs:{src:t.asyncImgs.alipay.white_add_icon,mode:""}})],1)],1)],1)})),1)],1)},o=[]},"89a1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAActJREFUWEftl08oQ3EAx7+/vfe2NWqSg1HksiIUJRdJFpLiQLLcyJ+Lixw0FtHKhUghV2oO5GDKSbGDsINMEbssTqQoxPb2ftpmq2fivbc1l/cur379vr/v5/d9f359CaWU4usSvPvgtxygNyeAEIoNJ30neWYwjYNgmgYT1iIxgLB5cKYtpcbf3Zh2G9iOcdFwHCAwYQG9Pkp6t78uwOmgXb0F0WfGp8UBPqyGRK3BCFJYrgzq7QnU703QcvY9aEpq/wYgRRXgxnZBMrKUAQAIuZ3gl3pFeskA7PAGmKpWxeYxYWC0WpSEZIDvE5WSBJf7IRyux+UqgJqAmoCagJpA+hOY7YTgccn/FTNdU2DbRpQeAREdfX9BYKgYeHmUDwANA9Y6DU1lM8DpZYPQBz94px3Ud6rsOJbtKFEg+R2QuJ7saSpAyhIgpXUgxlwIF/vA873kR5ESALZnAUxDX/RTe31CcNICencpCSJ5gJwC6BavRGahgzXwKwPpASAmM7RzZ2KA423w893pAQi7cDYXNGX1UcMQj4CjBfTSnRyArGrG6cDUWIHsfAieHVD/uSRz/FbN/r2chrcQqeebDlBfiuu5yRyp5j/V809xrpGwO63RpwAAAABJRU5ErkJggg=="},"8a7c":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".login-modal[data-v-24f57c18]{position:fixed;width:100%;height:100vh;top:0;left:0;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:99999}.login-modal-bg[data-v-24f57c18]{border-radius:3px;width:%?500?%;height:%?700?%;background-position:top;background-repeat:no-repeat;background-size:cover;position:relative}.login-modal-bg uni-view[data-v-24f57c18]{width:100%;position:absolute;bottom:%?50?%;left:0;text-align:center}.login-modal-bg uni-view uni-button[data-v-24f57c18]{background-color:#f82627;color:#fff;border-radius:5px;width:%?350?%;height:%?70?%;font-size:%?30?%;display:inline-flex;justify-content:center;align-items:center}",""]),t.exports=e},"8edf":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".no-data-section[data-v-02ccc186]{width:100%;height:100vh;position:fixed;left:0;top:0;z-index:1002;background:#fff}.no-data-section .no-data[data-v-02ccc186]{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:13vh}.no-data-section .no-data uni-image[data-v-02ccc186]{width:%?240?%;height:%?180?%;display:block;margin-bottom:%?40?%}.no-data-section .no-data uni-text[data-v-02ccc186]{font-size:%?28?%;font-family:PingFang SC;font-weight:400;color:#8c8c8c}.no-data-section .no-data .no-data-btn[data-v-02ccc186]{width:%?370?%;height:%?80?%;background:#f0250e;border-radius:%?40?%;display:flex;justify-content:center;align-items:center;font-size:%?32?%;font-family:PingFang SC;font-weight:600;color:#fff;margin-top:%?40?%}",""]),t.exports=e},9302:function(t,e,a){var i=a("b8c2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("2d41c34f",i,!0,{sourceMap:!1,shadowMode:!1})},9967:function(t,e,a){"use strict";var i=a("107ad"),o=a.n(i);o.a},"9dea":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{cartTotalPrice:{type:String,default:""},cartSelectData:{type:Array,default:[]},cartChoosedNum:{type:String,default:"0"},storeTableNum:{type:String,default:"0"},activeBtn:{type:Boolean,default:!0}},data:function(){return{}},created:function(){},computed:{},mounted:function(){},beforeDestroy:function(){},methods:{handleFootBtn:function(){this.cartSelectData.length&&0!=this.activeBtn&&this.$emit("handleFootBtn")},handleFoot:function(){this.cartSelectData.length&&this.$emit("handleFoot")},startPolling:function(){var t=this;setTimeout((function(){t.intervalPollingCartData()}),3e3)}}};e.default=i},a48d:function(t,e,a){"use strict";a.r(e);var i=a("d290"),o=a("b760");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("02f4");var s=a("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"70a7ad0a",null,!1,i["a"],void 0);e["default"]=r.exports},a4b3:function(t,e,a){"use strict";a.r(e);var i=a("19b0"),o=a("0959");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("e33f");var s=a("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"722e0642",null,!1,i["a"],void 0);e["default"]=r.exports},ab1f:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".shop-recommend[data-v-fd0c88f2]{width:100%;margin-top:3.73vw}.shop-recommend .title[data-v-fd0c88f2]{font-size:3.73vw;font-weight:600;color:#191919;padding-left:3.2vw}.shop-recommend .recommend-list[data-v-fd0c88f2]{width:100%;padding:0 3.2vw 4.27vw 3.2vw;margin-top:2.13vw;display:flex;flex-wrap:nowrap}.shop-recommend .recommend-list .recommend-item[data-v-fd0c88f2]{width:29.07vw;margin-right:3.2vw;flex-shrink:0}.shop-recommend .recommend-list .recommend-item .recommend-item-banner[data-v-fd0c88f2]{width:29.07vw;height:29.07vw;background:#f9f9f9;border-radius:2.13vw}.shop-recommend .recommend-list .recommend-item .recommend-item-name[data-v-fd0c88f2]{max-width:29.07vw;font-size:3.73vw;font-weight:600;color:#191919;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:1.33vw}.shop-recommend .recommend-list .recommend-item .price-section[data-v-fd0c88f2]{display:flex;align-items:center;justify-content:space-between;margin-top:1.5vw}.shop-recommend .recommend-list .recommend-item .price-section .price-info[data-v-fd0c88f2]{display:flex;align-items:baseline}.shop-recommend .recommend-list .recommend-item .price-section .price-info .new-price[data-v-fd0c88f2]{font-size:4.27vw;font-weight:600;color:#fd4b32}.shop-recommend .recommend-list .recommend-item .price-section .price-info .new-price uni-text[data-v-fd0c88f2]:first-child{font-size:2.93vw}.shop-recommend .recommend-list .recommend-item .price-section .add-buy[data-v-fd0c88f2]{width:5.87vw;height:5.87vw;background:#1fb6fd;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-shrink:0}.shop-recommend .recommend-list .recommend-item .price-section .add-buy uni-image[data-v-fd0c88f2]{width:5vw;height:5vw;background-size:100%;display:block}.shop-recommend .recommend-list .recommend-item .old-price[data-v-fd0c88f2]{font-size:2.93vw;font-weight:400;color:#999;margin-top:1.5vw;text-decoration:line-through}.shop-recommend .recommend-list .recommend-item[data-v-fd0c88f2]:last-child{margin-right:0}",""]),t.exports=e},b58f:function(t,e,a){"use strict";var i=a("3422"),o=a.n(i);o.a},b760:function(t,e,a){"use strict";a.r(e);var i=a("d532"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},b8c2:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-70a7ad0a] .u-form-item--right__content__slot > uni-view,[data-v-70a7ad0a] .u-form-item--right__content__slot > div,[data-v-70a7ad0a] .u-form-item--right__content__slot > span,[data-v-70a7ad0a] .u-form-item--right__content__slot > uni-text{width:100%}.bg[data-v-70a7ad0a]{background-position:50%;background-size:contain;background-repeat:no-repeat;background:#fff}.search-nav[data-v-70a7ad0a]{width:100%;font-family:PingFang SC;position:fixed;left:0;top:0;z-index:201}.search-nav .nav-head[data-v-70a7ad0a]{display:flex;align-items:center}.search-nav .nav-head .back-icon[data-v-70a7ad0a]{width:%?90?%;display:flex;justify-content:center;align-items:center}.search-nav .nav-head .content_text[data-v-70a7ad0a]{display:flex;flex-grow:1;justify-content:center;font-weight:400;font-size:%?34?%;color:#000}.search-nav .nav-head .right_text[data-v-70a7ad0a]{width:%?90?%}uni-page-body[data-v-70a7ad0a]{position:relative}.order-page[data-v-70a7ad0a]{display:flex;flex-direction:column;height:100vh}.order-page .page-head[data-v-70a7ad0a]{width:100%;position:relative}.order-page .page-head .md-section[data-v-70a7ad0a]{width:100%;height:%?124?%;background:#fff;padding:0 %?24?%;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.order-page .page-head .md-section .user_info[data-v-70a7ad0a]{display:flex;align-items:center}.order-page .page-head .md-section .user_info .right[data-v-70a7ad0a]{margin-left:%?20?%}.order-page .page-head .md-section .user_info .right .name[data-v-70a7ad0a]{font-weight:600;font-size:%?30?%;color:#262626}.order-page .page-head .md-section .user_info .right .prompt[data-v-70a7ad0a]{font-weight:400;font-size:%?24?%;color:#8c8c8c;margin-top:%?8?%}.order-page .page-head .md-section .md-info .md-name[data-v-70a7ad0a]{display:flex;align-items:center}.order-page .page-head .md-section .md-info .md-name uni-text[data-v-70a7ad0a]{font-size:%?30?%;font-weight:600;color:#262626}.order-page .page-head .md-section .md-info .md-distance[data-v-70a7ad0a]{display:flex;align-items:center;margin-top:%?8?%}.order-page .page-head .md-section .md-info .md-distance uni-text[data-v-70a7ad0a]{font-size:%?24?%;font-weight:400;color:#8c8c8c}.order-page .page-head .md-section .md-info .md-distance .iconfont[data-v-70a7ad0a]{color:#8c8c8c}.order-page .page-head .md-section .send-section[data-v-70a7ad0a]{width:%?88?%;height:%?48?%;background:#f2f2f2;border-radius:%?88?%;display:flex;align-items:center;justify-content:center}.order-page .page-head .md-section .send-section .left[data-v-70a7ad0a]{width:50%;height:100%;display:flex;justify-content:center;align-items:center;font-size:%?24?%;font-weight:400;color:#262626}.order-page .page-head .md-section .send-section .right[data-v-70a7ad0a]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:%?24?%;font-weight:400;color:#262626}.order-page .page-head .md-section .send-section .select[data-v-70a7ad0a]{background:#f60313;border-radius:%?88?%;color:#fff}.order-page .page-head .friends-collage-box[data-v-70a7ad0a]{width:100%;height:%?180?%;padding:%?24?%;display:flex;flex-direction:column;justify-content:space-between;background-color:#fff}.order-page .page-head .friends-collage-box .friends-list[data-v-70a7ad0a]{height:%?60?%;width:100%;display:flex;align-items:center;overflow-x:scroll;overflow-y:hidden}.order-page .page-head .friends-collage-box .friends-list .friend-item[data-v-70a7ad0a]{width:%?60?%;height:%?60?%;background:#fbeceb;border:1px solid #f1f1f1;border-radius:50%;margin-left:%?16?%;overflow:hidden}.order-page .page-head .friends-collage-box .friends-list .friend-item uni-image[data-v-70a7ad0a]{width:100%;height:100%;display:block}.order-page .page-head .friends-collage-box .friends-list .friend-item[data-v-70a7ad0a]:first-child{margin-left:0}.order-page .page-head .friends-collage-box .friends-list .add-collage-box[data-v-70a7ad0a]{width:%?60?%;height:%?60?%;background:#fbeceb;border:1px dashed #f60313;border-radius:50%;margin-left:%?16?%;display:flex;justify-content:center;align-items:center;position:relative}.order-page .page-head .friends-collage-box .friends-list .add-collage-box .iconfont[data-v-70a7ad0a]{color:#f0250e;font-size:%?36?%}.order-page .page-head .friends-collage-box .friends-list .add-collage-box uni-button[data-v-70a7ad0a]{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0}.order-page .page-head .friends-collage-box .friends-words[data-v-70a7ad0a]{font-size:%?26?%;font-weight:400;color:#8c8c8c}.order-page .page-head .swiper-section[data-v-70a7ad0a]{width:100%;padding:0 %?24?%}.order-page .sticky-box[data-v-70a7ad0a]{width:100%;margin-top:13.6vw}.order-page .sticky-box .tabs-section[data-v-70a7ad0a]{width:100%;height:12vw;padding:0 3.2vw;display:flex;align-items:center;background-color:#fff}.order-page .sticky-box .tabs-section .tab-item[data-v-70a7ad0a]{width:20vw;display:flex;font-size:4.27vw;font-weight:400;color:#191919}.order-page .sticky-box .tabs-section .tab-item .tab-name[data-v-70a7ad0a]{display:flex;flex-direction:column;align-items:center}.order-page .sticky-box .tabs-section .tab-item .tab-name .line[data-v-70a7ad0a]{width:5.33vw;height:.8vw;margin-top:.53vw}.order-page .sticky-box .tabs-section .tab-item .tab-name .active-line[data-v-70a7ad0a]{background:#1fb6fd}.order-page .sticky-box .tabs-section .tab-item .tab-msg[data-v-70a7ad0a]{font-size:2.93vw;font-weight:400;color:#999;margin-left:.8vw;line-height:4.5vw}.order-page .content-section[data-v-70a7ad0a]{flex:1;overflow:hidden;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}.order-page .content-section.content-section2[data-v-70a7ad0a]{height:auto;position:static;padding-bottom:0;flex:inherit}.order-page .content-section .order-shop-tab[data-v-70a7ad0a]{width:100%;height:%?90?%;padding:0 %?24?%;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.order-page .content-section .order-shop-tab .friends-collage[data-v-70a7ad0a]{width:%?128?%;height:%?50?%;border:1px solid #f60313;border-radius:%?64?%;font-size:%?24?%;font-weight:400;color:#f60313;text-align:center;line-height:%?50?%;position:relative}.order-page .content-section .order-shop-tab .friends-collage uni-button[data-v-70a7ad0a]{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0}.order-page .content-section .order-shop-tab .tab-box[data-v-70a7ad0a]{height:100%;display:flex;align-items:center}.order-page .content-section .order-shop-tab .tab-box .tab-item[data-v-70a7ad0a]{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-left:%?80?%}.order-page .content-section .order-shop-tab .tab-box .tab-item uni-text[data-v-70a7ad0a]{font-size:%?32?%;font-weight:400;color:#262626}.order-page .content-section .order-shop-tab .tab-box .tab-item .font-bold[data-v-70a7ad0a]{font-weight:600}.order-page .content-section .order-shop-tab .tab-box .tab-item .active-line[data-v-70a7ad0a]{width:%?40?%;height:%?6?%;background:#f60313;margin-top:%?6?%;opacity:0}.order-page .content-section .order-shop-tab .tab-box .tab-item .show[data-v-70a7ad0a]{opacity:1}.order-page .content-section .order-shop-tab .tab-box .tab-item[data-v-70a7ad0a]:first-child{margin-left:0}.order-page .content-section .order-select-section[data-v-70a7ad0a]{position:relative;width:100%;flex:1;overflow:hidden;display:flex;padding-bottom:%?140?%}.order-page .content-section .order-select-section .select-left-side[data-v-70a7ad0a]{width:21.33vw;background:#f2f2f2;height:100%}.order-page .content-section .order-select-section .select-left-side .classif-list[data-v-70a7ad0a]{width:100%;background-color:#fff}.order-page .content-section .order-select-section .select-left-side .classif-list .list-item-box[data-v-70a7ad0a]{width:100%;padding:%?27?% 0;display:flex;justify-content:center;background-color:#f2f2f2}.order-page .content-section .order-select-section .select-left-side .classif-list .list-item-box .item-content[data-v-70a7ad0a]{width:84%;text-align:center;font-size:%?26?%;font-weight:400;color:#8c8c8c}.order-page .content-section .order-select-section .select-left-side .classif-list .active-list-box[data-v-70a7ad0a]{background:#fff}.order-page .content-section .order-select-section .select-left-side .classif-list .top-raduis[data-v-70a7ad0a]{border-radius:0 %?20?% 0 0}.order-page .content-section .order-select-section .select-left-side .classif-list .bottom-raduis[data-v-70a7ad0a]{border-radius:0 0 %?20?% 0}.order-page .content-section .order-select-section .select-right-side[data-v-70a7ad0a]{flex:1;overflow:hidden;height:100%;box-sizing:border-box}.order-page .content-section .order-select-section .select-right-side uni-scroll-view[data-v-70a7ad0a]{height:100%;width:100%;overflow-y:hidden}.order-page .content-section .order-select-section .select-right-side uni-scroll-view.scroll[data-v-70a7ad0a]{overflow-y:auto}.order-page .content-section .order-select-section .select-right-side uni-scroll-view[data-v-70a7ad0a]::-webkit-scrollbar{width:0;height:0}.order-page .content-section .order-select-section .select-right-side .sku-detail-body[data-v-70a7ad0a]{padding:6.4vw %?24?% 0 %?24?%;width:100%;overflow:hidden}.order-page .content-section .order-select-section .select-right-side .sku-detail-body[data-v-70a7ad0a]:first-child{padding-top:%?8?%}.order-page .content-section .order-select-section .select-right-side .detail-item-title[data-v-70a7ad0a]{display:flex;align-items:flex-end;font-size:3.2vw;font-weight:400;line-height:4.27vw;color:#999;margin-bottom:%?28?%}.order-page .content-section .order-select-section .select-right-side .detail-item-title uni-text[data-v-70a7ad0a]:first-child{font-size:3.73vw;font-weight:600;color:#191919;margin-right:1.07vw}.order-page .content-section .order-select-section .select-right-side .popup-list-item[data-v-70a7ad0a]{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:6.4vw;width:100%}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info[data-v-70a7ad0a]{width:100%;display:flex;align-items:flex-start}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .good-pic[data-v-70a7ad0a]{width:%?192?%;height:%?192?%;background:#f2f2f2;border-radius:%?10?%;display:block;margin-right:%?20?%;flex-shrink:0}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .info-section[data-v-70a7ad0a]{flex:1}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .info-section .good-name[data-v-70a7ad0a]{font-size:%?30?%;font-family:PingFang SC;font-weight:600;line-height:%?40?%;color:#262626;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;\n /* 这里是超出几行省略 */overflow:hidden}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .info-section .good-sku[data-v-70a7ad0a]{max-width:40.27vw;font-size:3.2vw;font-weight:400;line-height:4.27vw;color:#999;margin-top:1.07vw;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .info-section .good-num[data-v-70a7ad0a]{font-size:%?24?%;font-weight:400;color:#8c8c8c;margin-top:%?10?%}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .info-section .good-select[data-v-70a7ad0a]{display:flex;justify-content:space-between;align-items:center;margin-top:%?10?%}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .info-section .good-price[data-v-70a7ad0a]{display:flex;align-items:baseline;font-size:%?24?%;font-weight:600;color:#f0250e}.order-page .content-section .order-select-section .select-right-side .popup-list-item .good-info .info-section .good-price uni-text[data-v-70a7ad0a]:nth-child(2){font-size:%?38?%}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info[data-v-70a7ad0a]{display:flex;align-items:center}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info .reduce[data-v-70a7ad0a]{width:%?44?%;height:%?44?%;background:#fff;border-radius:%?16?%;display:flex;justify-content:center;align-items:center;border:1px solid #f60313}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info .reduce uni-view[data-v-70a7ad0a]{width:%?24?%;height:%?4?%;background:#f0250e}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info .disabled[data-v-70a7ad0a]{background:#f1f1f1;border:0 none}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info .disabled uni-view[data-v-70a7ad0a]{background:#fff}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info .num[data-v-70a7ad0a]{font-size:3.73vw;font-weight:400;line-height:4.27vw;color:#191919;margin:0 2.93vw}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info .add[data-v-70a7ad0a]{width:%?44?%;height:%?44?%;background:#f60313;border-radius:%?16?%;display:flex;justify-content:center;align-items:center}.order-page .content-section .order-select-section .select-right-side .popup-list-item .action-info .add .iconfont[data-v-70a7ad0a]{color:#fff;font-weight:700;font-size:%?36?%}.order-page .content-section .order-select-section .select-right-side .popup-list-item .choose-sku[data-v-70a7ad0a]{width:%?100?%;height:%?44?%;background:#f60313;border-radius:%?16?%;text-align:center;line-height:%?44?%;font-size:%?24?%;font-weight:600;color:#fff;position:relative}.order-page .content-section .order-select-section .select-right-side .popup-list-item .choose-sku .attr-select-num[data-v-70a7ad0a]{width:%?32?%;height:%?32?%;background:#f84a33;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:%?20?%;font-family:PingFang SC;font-weight:600;color:#fff;position:absolute;right:%?-16?%;top:%?-16?%}.order-page .content-section .order-select-section .select-right-side .popup-list-item[data-v-70a7ad0a]:last-child{margin-bottom:0}.order-page .content-section .layout-column[data-v-70a7ad0a]{flex-direction:column;align-items:center}.order-page .content-section .layout-column .select-left-side[data-v-70a7ad0a]{width:100%;background:none}.order-page .content-section .layout-column .select-left-side .classif-list[data-v-70a7ad0a]{width:100vw;height:14.13vw;display:flex;justify-content:space-around;align-items:center;background-color:#fff}.order-page .content-section .layout-column .select-left-side .classif-list .list-item-box[data-v-70a7ad0a]{flex-shrink:0;width:auto;height:100%}.order-page .content-section .layout-column .select-left-side .classif-list .list-item-box .list-item[data-v-70a7ad0a]{width:100%;height:100%;padding:0;display:flex;justify-content:center;align-items:center;flex-direction:column}.order-page .content-section .layout-column .select-left-side .classif-list .list-item-box .list-item .item-inner[data-v-70a7ad0a]{display:flex;align-items:center}.order-page .content-section .layout-column .select-left-side .classif-list .list-item-box .list-item .active-line[data-v-70a7ad0a]{width:100%;height:%?4?%;background:#fa2c1b;margin-top:1.067vw;opacity:0}.order-page .content-section .layout-column .select-left-side .classif-list .list-item-box .list-item .show-line[data-v-70a7ad0a]{opacity:1}.order-page .content-section .layout-column .select-right-side[data-v-70a7ad0a]{flex:1;overflow:hidden}.order-page .content-section .layout-column .select-right-side .sku-detail-body[data-v-70a7ad0a]{width:100%}.order-page .content-section .layout-column .select-right-side .sku-detail-body .popup-list-item[data-v-70a7ad0a]{width:100%}.order-page .content-section .layout-column .select-right-side .sku-detail-body .popup-list-item .good-info[data-v-70a7ad0a]{width:100%}.order-page .content-section .layout-column .select-right-side .sku-detail-body .popup-list-item .good-info .info-section[data-v-70a7ad0a]{flex:1}.order-page .content-section .layout-column .select-right-side .sku-detail-body .popup-list-item .good-info .info-section .good-select[data-v-70a7ad0a]{width:100%}.shopCard[data-v-70a7ad0a]{padding-bottom:calc(env(safe-area-inset-bottom) + %?140?%)}.select-left-scroll[data-v-70a7ad0a]{height:100%;overflow-y:auto}.shop-card[data-v-70a7ad0a]{flex:1;overflow-y:auto}.facePay[data-v-70a7ad0a]{display:flex;align-items:center;justify-content:center;margin:0 %?24?% %?24?%;padding:%?14?% 0;border-radius:%?20?%;border:%?2?% solid #f8f8f8}.facePay uni-image[data-v-70a7ad0a]{margin-right:%?10?%;width:%?32?%;height:auto}.facePay uni-view[data-v-70a7ad0a]{font-size:%?28?%;color:#262626;font-weight:700}',""]),t.exports=e},c2fd:function(t,e,a){"use strict";a.r(e);var i=a("128c"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},c551:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".md-card[data-v-1a16e498]{width:100%;background:#fff;padding:%?36?% %?40?%;margin-top:%?24?%}.md-card .md-name[data-v-1a16e498]{width:100%;font-size:%?26?%;font-family:PingFang SC;font-weight:700;color:#262626}.md-card .md-info[data-v-1a16e498]{width:100%;padding-right:%?24?%;display:flex;justify-content:space-between;align-items:center}.md-card .md-info .md-address[data-v-1a16e498]{display:flex;align-items:center;margin-top:%?8?%}.md-card .md-info .md-address .iconfont[data-v-1a16e498]{color:#000;font-size:%?36?%}.md-card .md-info .md-address .md-local[data-v-1a16e498]{font-size:%?26?%;font-family:PingFang SC;font-weight:400;color:#262626;max-width:%?460?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;\n /* 这里是超出几行省略 */overflow:hidden}.md-card .md-info .md-action[data-v-1a16e498]{display:flex;justify-content:flex-end;align-items:center}.md-card .md-info .md-action .icon-box[data-v-1a16e498]{width:%?48?%;height:%?48?%;background:#fbeceb;border-radius:50%;display:flex;justify-content:center;align-items:center}.md-card .md-info .md-action .icon-box .iconfont[data-v-1a16e498]{color:#f0250e}.md-card .md-info .md-action .icon-box[data-v-1a16e498]:nth-child(2){margin-left:%?20?%}.md-card .md-info .md-action .iconfont[data-v-1a16e498]{color:#f0250e;font-size:%?40?%}.md-card .md-logo[data-v-1a16e498]{width:%?210?%;height:%?210?%;background:#f6f6f6;border-radius:%?16?%;margin-top:%?28?%;overflow:hidden}.md-card .md-logo uni-image[data-v-1a16e498]{width:100%;height:100%;display:block}.md-card .split-line[data-v-1a16e498]{width:100%;padding:%?46?% 0 %?36?% 0;display:flex;justify-content:flex-end}.md-card .split-line .line[data-v-1a16e498]{width:%?632?%;height:1px;background:#f6f6f6}.md-card .label-title[data-v-1a16e498]{font-size:%?26?%;font-family:PingFang SC;font-weight:700;color:#262626}.md-card .md-time[data-v-1a16e498]{font-size:%?26?%;font-family:PingFang SC;font-weight:400;color:#262626;margin-top:%?20?%}",""]),t.exports=e},c959:function(t,e,a){"use strict";a.r(e);var i=a("70c1"),o=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},d290:function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var i={uIcon:a("0852").default,uNoticeBar:a("db7a").default,uImage:a("a4b3").default,uSwiper:a("c184").default,loginModal:a("2617").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return 0==t.shenheStatus?i("v-uni-view",{staticClass:"order-page",style:{background:1==t.current?"#F2F2F2":"#fff"}},[i("v-uni-view",{staticClass:"bg"},[i("v-uni-view",{staticClass:"search-nav",style:{paddingTop:t.statusBarHeight+"px"}},[i("v-uni-view",{staticClass:"nav-head",style:{height:"80rpx"}},[i("v-uni-view",{staticClass:"back-icon",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$utils.goBack()}}},[i("u-icon",{attrs:{name:"arrow-left",size:"38rpx",color:"#000000"}})],1),i("v-uni-view",{staticClass:"content_text"},[t._v(t._s(t.pageData.food_page_title||"手机点餐"))]),i("v-uni-view",{staticClass:"right_text"})],1)],1),i("v-uni-view",{style:{paddingTop:t.statusBarHeight+"px",paddingBottom:"80rpx"}})],1),i("v-uni-view",{staticClass:"page-head"},[t.ts?i("u-notice-bar",{attrs:{"close-icon":!0,mode:"horizontal",speed:100,duration:"10000",list:["非营业时间下单,顺延到第二天营业时间发货"]},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.ts=!1}}}):t._e(),i("v-uni-view",{staticClass:"md-section"},[i("v-uni-view",{staticClass:"md-info"},[i("v-uni-view",{staticClass:"md-name",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeMd.apply(void 0,arguments)}}},[i("v-uni-text",[t._v(t._s(t.pageData.md_name||t.stores.name))])],1),1==t.showData.show_mch_address?i("v-uni-view",{staticClass:"md-distance"},[i("i",{staticClass:"iconfont icon-a-map"}),i("v-uni-text",[t._v(t._s(t.$t("diy.distance"))+t._s(t.pageData.distance))])],1):t._e()],1),1==t.showRight?i("v-uni-view",{staticClass:"user_info"},[i("u-image",{attrs:{width:"84rpx",height:"84rpx",src:t.user.avatar_url,shape:"circle"}}),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(t.user.nickname))]),i("v-uni-view",{staticClass:"prompt"},[t._v("快来帮我点餐~")])],1)],1):t._e()],1),t.cartSelectData.length&&!t.storeTableNum&&t.cartSelectData.length>1?i("v-uni-view",{staticClass:"friends-collage-box"},[i("v-uni-view",{staticClass:"friends-list"},[t._l(t.cartSelectData,(function(t,e){return i("v-uni-view",{key:e,staticClass:"friend-item"},[i("v-uni-image",{attrs:{src:t.avatar,mode:"aspectFill"}})],1)})),i("v-uni-view",{staticClass:"add-collage-box"},[i("i",{staticClass:"iconfont icon-add-select"}),i("v-uni-button",{attrs:{"open-type":"share"}})],1)],2),i("v-uni-view",{staticClass:"friends-words"},[t._v(t._s(t.$t("alipay.share")))])],1):t._e(),t.mch_id?i("v-uni-view",{staticClass:"facePay",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$utils.toUrl("/face-pay/face-pay/payOut?mch_id="+t.mch_id)}}},[i("v-uni-image",{attrs:{src:a("89a1"),mode:"widthFix"}}),i("v-uni-view",[t._v("当面付买单")])],1):t._e(),i("v-uni-view",{staticClass:"swiper-section"},[i("u-swiper",{attrs:{list:t.swiper_banners,height:"180","border-radius":"16"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSwiper.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{class:["content-section",1===t.current?"content-section2":""]},[i("v-uni-view",{class:["order-shop-tab"]},[i("v-uni-view",{staticClass:"tab-box"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tab-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.current=a}}},[i("v-uni-text",{class:a==t.current?"font-bold":""},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"active-line",class:a==t.current?"show":""})],1)})),1),t.storeTableNum||t.mch_id?t._e():i("v-uni-view",{staticClass:"friends-collage",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gotoSpellOrder.apply(void 0,arguments)}}},[i("v-uni-text",[t._v(t._s(t.$t("alipay.order")))])],1)],1),0==t.current?i("v-uni-view",{class:["order-select-section",2==t.diyData.styleType?"layout-column":""]},[i("v-uni-view",{staticClass:"select-left-side"},[i("v-uni-scroll-view",{staticClass:"select-left-scroll",attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"classif-list"},t._l(t.skuData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-item-box",class:[t.activeSkuList==a?"active-list-box":"",a==t.activeSkuList+1?"top-raduis":"",a==t.activeSkuList-1?"bottom-raduis":""],on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.handleClassifyItem(e,a)}}},[i("v-uni-view",{staticClass:"item-content"},[t._v(t._s(e.title))])],1)})),1)],1)],1),i("v-uni-view",{staticClass:"select-right-side"},[i("v-uni-scroll-view",{staticClass:"scroll-view scroll",attrs:{"scroll-y":!0,"scroll-into-view":t.scrollItem,"upper-threshold":2},on:{scrolltoupper:function(e){arguments[0]=e=t.$handleEvent(e),t.tabFixed=!1},scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scroll.apply(void 0,arguments)}}},t._l(t.skuData,(function(e,a){return i("v-uni-view",{key:a,staticClass:"sku-detail-body",attrs:{id:"sku"+e.id}},[i("v-uni-view",{staticClass:"detail-item-title"},[i("v-uni-text",[t._v(t._s(e.title))])],1),t._l(e.list,(function(a,o){return i("v-uni-view",{key:o,staticClass:"popup-list-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.gotoDetail(a,e)}}},[i("v-uni-view",{staticClass:"good-info"},[i("v-uni-image",{staticClass:"good-pic",attrs:{src:a.goods_pic,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"info-section"},[i("v-uni-view",{staticClass:"good-name"},[t._v(t._s(a.name))]),i("v-uni-view",{staticClass:"good-num"},[t._v(t._s(t.$t("shop.month"))+" "+t._s(a.sales||0))]),i("v-uni-view",{staticClass:"good-select"},[i("v-uni-view",{staticClass:"good-price"},[i("v-uni-text",[t._v("¥")]),i("v-uni-text",[t._v(t._s(t._f("priceBeforeZero")(a.price)))]),i("v-uni-text",[t._v(t._s(t._f("priceAfterZero")(a.price)))])],1),0==a.use_attr?i("v-uni-view",{staticClass:"action-info"},[a.select_num?[i("v-uni-view",{staticClass:"add",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.reduceOne(a)}}},[i("i",{staticClass:"iconfont icon-sami-select"})]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(a.select_num))])]:t._e(),i("v-uni-view",{staticClass:"add",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.addOneToBuy(a,e,o)}}},[i("i",{staticClass:"iconfont icon-add-select"})])],2):i("v-uni-view",{staticClass:"choose-sku",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.actionSelectSku(a,e)}}},[i("v-uni-text",[t._v(t._s(t.$t("alipay.sku")))]),a.select_num>0?i("v-uni-view",{staticClass:"attr-select-num"},[t._v(t._s(a.select_num))]):t._e()],1)],1)],1)],1)],1)}))],2)})),1)],1)],1):t._e()],1),1==t.current?i("v-uni-scroll-view",{staticClass:"shop-card",attrs:{"scroll-y":!0}},[i("shopCard",{staticClass:"shopCard"})],1):t._e(),t.showChoosePopup?i("choosedPopup",{attrs:{listData:t.cartSelectData,startUserId:t.startManId},on:{closePopup:function(e){arguments[0]=e=t.$handleEvent(e),t.showChoosePopup=!1},clearCartAll:function(e){arguments[0]=e=t.$handleEvent(e),t.clearCartAll.apply(void 0,arguments)},clearUserChoosed:function(e){arguments[0]=e=t.$handleEvent(e),t.clearUserChoosed.apply(void 0,arguments)},selectAddOne:function(e){arguments[0]=e=t.$handleEvent(e),t.selectAddOne.apply(void 0,arguments)},selectReduceOne:function(e){arguments[0]=e=t.$handleEvent(e),t.selectReduceOne.apply(void 0,arguments)}}}):t._e(),i("newSkuPopup",{ref:"sku-popup",attrs:{skuData:{},goodsInfo:t.cartGoodInfo,foodExtGoods:t.food_ext_goods,foodExtGoodsName:t.food_ext_goods_name},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.setAddgoodsToCart(e.data)}.apply(void 0,arguments)},closeSkuPopup:function(e){arguments[0]=e=t.$handleEvent(e),t.showSkuPopup=!t.showSkuPopup}}}),i("footBtn",{attrs:{cartSelectData:t.cartSelectData,cartTotalPrice:t.cartTotalPrice,cartChoosedNum:t.cartChoosedNum,storeTableNum:t.storeTableNum,activeBtn:t.activeBtn},on:{handleFoot:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFoot.apply(void 0,arguments)},handleFootBtn:function(e){arguments[0]=e=t.$handleEvent(e),t.handleFootBtn.apply(void 0,arguments)}}}),i("login-modal"),t.businessTime?t._e():i("noMdGoods"),i("transitionPage")],1):1==t.shenheStatus?i("Shenhe"):t._e()},n=[]},d532:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(a("5de6")),n=i(a("3471")),s=i(a("2634")),r=i(a("2fdc"));a("5ef2"),a("64aa"),a("d4b5"),a("dc8a"),a("c223"),a("bf0f"),a("2797"),a("5c47"),a("aa9c"),a("c9b5"),a("ab80"),a("dd2b"),a("aa77"),a("8f71");var d=i(a("2ba3")),c=i(a("361fe")),l=i(a("3098")),u=i(a("9198")),f=i(a("d5ed")),h=i(a("5cfe")),p=a("d58e"),g=i(a("4777")),v={components:{shopRecommend:c.default,footBtn:l.default,choosedPopup:u.default,shopCard:h.default,newSkuPopup:f.default,noMdGoods:g.default,Shenhe:d.default},data:function(){return{showData:{},activeBtn:!0,tabList:[{name:this.$t("alipay.orderMeal")},{name:this.$t("common.merchants"),msg:"故事"}],tabActive:0,swiper_banners:[],recommendList:[],chooseData:[],showChoosePopup:!1,skuData:[],scrollItem:"sku0",activeSkuList:0,skuInfo:{},showSkuPopup:!1,store:{},routeData:{},order_id:"",diyData:{},active:"shop",list:[{name:"点餐",value:"0"},{name:"商家",value:"1"}],current:0,longitude:"",latitude:"",mdData:{},pageData:{},cartGoodInfo:null,isFlag:!1,requestEnd:!1,goodsCanScroll:!1,tabPosition:null,tabFixed:!1,md_id:"",user:{nickname:"",avatar_url:""},food_ext_goods:"",food_ext_goods_name:"",scrollInfo:null,mch_id:void 0,ts:!0,showRight:!1}},mixins:[p.orderMealMixin],filters:{priceBeforeZero:function(t){return t||(t=""),t.indexOf(".")<0?"".concat(t,"."):t.substr(0,t.indexOf("."))},priceAfterZero:function(t){return t||(t=""),t.indexOf(".")<0?"00":t.substr(t.indexOf("."),t.length)}},computed:{businessTime:function(){var t=this.pageData;if(!t||!t.md)return!0;t.end_time;var e=t.start_time;try{if(!e||!e)return!0;var a=e.split(":"),i=e.split(":");a[0]=Number(a[0]),a[1]=Number(a[1]),i[0]=Number(i[0]),i[1]=Number(i[1]);var o=(new Date).getTime(),n=(new Date).setHours(a[0],a[1],0,0),s=0;if(i[0]<=a[0]){var r=new Date;r.setDate(r.getDate()+1),s=r.setHours(i[0],i[1],0,0)}else s=(new Date).setHours(i[0],i[1],0,0);return o>=n&&o<s}catch(d){return!0}},popupShowing:function(){var t=!1;return(this.showChoosePopup||this.showSkuPopup)&&(t=!0),t},navFontCss:function(){if(2!=this.diyData.styleType)return"";if(this.diyData.fontCss){var t=this.diyData.fontCss;return t.fontSize=2*t.fontNum+"rpx",t}}},beforeDestroy:function(){uni.removeStorageSync("mch_id"),uni.removeStorageSync("storeMdData")},onLoad:function(t){var e=this;return(0,r.default)((0,s.default)().mark((function a(){var i,o,n,r,d,c,l,u,f,h,p,g,v,m,b,w,_,y,x,k;return(0,s.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e.showData=uni.getStorageSync("mch_setting"),i=e.$utils.getStorage("orderMealOption"),e.$utils.removeStorage("orderMealOption"),uni.removeStorageSync("storeMdData"),!t.q&&!i){a.next=19;break}if(o=decodeURIComponent(t.q||i),n=o.indexOf("scene="),r=o.indexOf("id="),d=o.indexOf("mch_id="),c="",-1===r){a.next=17;break}return"",l=o.substr(o.indexOf("id=")+3),a.next=15,e.$allrequest.alipay.getQrcodeInfo({qrcode_id:l});case 15:u=a.sent,u.code||(f=u.data,h=f.food_table_num,p=f.md_id,g=f.status,g&&(e.storeTableNum=h,e.$utils.setStorage("food_table_num",h),p&&(e.md_id=p,e.$utils.setStorage("storeMdData",JSON.stringify({id:p})))));case 17:-1!==n&&(c=o.substr(o.indexOf("scene=")+6),t={scene:c},v=e.$utils.sceneDecode(decodeURIComponent(t.scene)),v.store_id&&e.$store.commit("setStoreId",v.store_id),v.md_id&&(e.md_id=v.md_id)),-1!==d?(0,m=o.substr(o.indexOf("mch_id=")+7),uni.setStorageSync("mch_id",m),e.mch_id=m):(uni.removeStorageSync("mch_id"),e.mch_id=void 0);case 19:if(e.$utils.isLogin(!1)){a.next=26;break}if(b="",Object.keys(t).length)for(w in t)b=b+w+"="+t[w]+"&";return b=b.substr(0,b.length-1),e.$store.commit("setNoLoginTabarPath","/alipay-order/orderMeal/orderMeal?".concat(b)),e.$store.commit("setRouteType","redirectTo"),a.abrupt("return");case 26:t.scene?(uni.removeStorageSync("flag_id"),e.storeFlagId="",e.storeTableNum="",x=e.$utils.sceneDecode(t.scene),_=x.md_id,y=x.food_table_num,null!==x&&void 0!==x&&x.mch_id?(uni.setStorageSync("mch_id",x.mch_id),e.mch_id=x.mch_id):(uni.removeStorageSync("mch_id"),e.mch_id=void 0)):(t.md_id&&(_=t.md_id),t.food_table_num&&(y=t.food_table_num),t.flag_id&&(e.setFlagIdToStorage(t.flag_id),e.storeFlagId=t.flag_id),null!==(k=t)&&void 0!==k&&k.mch_id?(uni.setStorageSync("mch_id",t.mch_id),e.mch_id=t.mch_id):(uni.removeStorageSync("mch_id"),e.mch_id=void 0)),e.$utils.setStorage("storeMdData",JSON.stringify({id:_})),uni.getStorageSync("mdBackUrl")&&(uni.removeStorageSync("mdBackUrl"),y=""),e.storeMdData&&(_=JSON.parse(e.storeMdData).id),y&&(e.storeTableNum=y,e.$utils.setStorage("food_table_num",y)),"-1"===_?(e.md_id=_,e.initData()):e.updateMdData(_,(function(){e.initData()})),e.routeData=t,e.storeFlagId&&e.spellOrderStatus(e.storeFlagId);case 34:case"end":return a.stop()}}),a)})))()},onHide:function(){this.clearIntervalPoll=!0},onUnload:function(){clearInterval(this.intervalPoll)},onShow:function(){var t=this;return(0,r.default)((0,s.default)().mark((function e(){var a,i,o;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.$utils.isLogin(!1)){e.next=2;break}return e.abrupt("return");case 2:if(uni.getStorageSync("flag_id")){e.next=10;break}return t.storeFlagId="",a=t.md_id||-1,t.storeMdData&&(a=JSON.parse(t.storeMdData).id),e.next=8,t.$allrequest.alipay.initGoodsCart({table_num:t.storeTableNum,md_id:a});case 8:i=e.sent,!i.code&&i.data.flag_id&&(o=i.data.flag_id,uni.setStorageSync("flag_id",o),t.storeFlagId=o,t.user.nickname=i.data.nickname,t.user.avatar_url=i.data.avatar_url,0==i.data.is_parent?t.activeBtn=!1:t.activeBtn=!0,i.data.nickname?t.showRight=!0:t.showRight=!1);case 10:clearInterval(t.intervalPoll),t.pollingCartData(),t.clearIntervalPoll=!1,t.startPolling();case 14:case"end":return e.stop()}}),e)})))()},watch:{cartSelectData:function(t){this.updateDataToView()},current:function(t){t||(this.tabFixed=!1,this.activeSkuList=0)}},onShareAppMessage:function(){var t=this;return(0,r.default)((0,s.default)().mark((function e(){var a,i,o;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=uni.getStorageSync("store_id"),i="/alipay-order/orderMeal/orderMeal?store_id=".concat(a),t.storeTableNum?i="/alipay-order/orderMeal/orderMeal?food_table_num=".concat(t.storeTableNum,"&md_id=").concat(t.storageMdId,"&store_id=").concat(a):t.storeFlagId&&(i="/alipay-order/orderMeal/orderMeal?flag_id=".concat(t.storeFlagId,"&shareId=").concat(t.startManId,"&md_id=").concat(t.storageMdId,"&store_id=").concat(a)),!t.isFlag||t.storeFlagId){e.next=8;break}return e.next=6,t.$allrequest.alipay.createStoreFlagId();case 6:o=e.sent,o.code||t.storeFlagId!=o.data.flag_id&&o.data.flag_id&&(t.setFlagIdToStorage(o.data.flag_id),t.storeFlagId=o.data.flag_id,i="/alipay-order/orderMeal/orderMeal?flag_id=".concat(t.storeFlagId,"&shareId=").concat(t.startManId||"0","&md_id=").concat(t.storageMdId,"&store_id=").concat(a));case 8:return t.mch_id&&(i+="&mch_id=".concat(t.mch_id)),e.abrupt("return",{title:"喊你一起点餐~",path:i,imageUrl:t.stores.store_share_logo,desc:t.stores.store_share_desc,success:function(t){uni.showToast({title:this.$t("home.success")})},fail:function(t){uni.showToast({title:this.$t("home.fail"),icon:"none"})}});case 10:case"end":return e.stop()}}),e)})))()},methods:{scroll:function(t){var e=this,a=t.detail.scrollTop,i=this.tabPosition,o=this.scrollInfo,n=i.top,s=i.height,r=n+s,d=function(t){var i=o[t],n=i.top,s=i.height,d=n-r-1;if(a>=d&&a<=d+s)return e.$nextTick((function(){e.activeSkuList=t})),"break"};for(var c in o){var l=d(c);if("break"===l)break}},handleSpell:function(){this.isFlag=!0},gotoSpellOrder:function(){var t=this;return(0,r.default)((0,s.default)().mark((function e(){var a,i;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a="/alipay-order/spellOrder/index?flag_id=".concat(t.storeFlagId,"&shareId=").concat(t.startManId||""),t.storeFlagId){e.next=6;break}return e.next=4,t.$allrequest.alipay.createStoreFlagId();case 4:i=e.sent,i.code||t.storeFlagId!=i.data.flag_id&&i.data.flag_id&&(t.setFlagIdToStorage(i.data.flag_id),t.storeFlagId=i.data.flag_id,a="/alipay-order/spellOrder/index?flag_id=".concat(t.storeFlagId,"&shareId=").concat(t.startManId||""));case 6:t.$utils.toUrl(a);case 7:case"end":return e.stop()}}),e)})))()},updateDataToView:function(){var t=this;this.skuData.forEach((function(e){e.list.forEach((function(e){e.select_num=0,e.user_num=0,e.other_num=0;for(var a=0;a<t.cartSelectData.length;a++)for(var i=0;i<t.cartSelectData[a].goods_list.length;i++)t.user_id==t.cartSelectData[a].user_id&&e.id==t.cartSelectData[a].goods_list[i].goods_id&&(e.cart_id=t.cartSelectData[a].goods_list[i].cart_id,e.user_num=e.user_num+t.cartSelectData[a].goods_list[i].num),t.user_id!=t.cartSelectData[a].user_id&&e.id==t.cartSelectData[a].goods_list[i].goods_id&&(e.cart_id=t.cartSelectData[a].goods_list[i].cart_id,e.other_num=e.other_num+t.cartSelectData[a].goods_list[i].num);e.select_num=e.user_num+e.other_num}))}))},startPolling:function(){var t=this;setTimeout((function(){t.intervalPollingCartData()}),3e3)},initData:function(){var t=this;return(0,r.default)((0,s.default)().mark((function e(){var a,i,o;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("getLocation");case 2:a=e.sent,a&&(i=a.longitude,o=a.latitude,t.longitude=i,t.latitude=o),t.getPageData();case 5:case"end":return e.stop()}}),e)})))()},getPageData:function(){var t=this,e=this.storageMdId,a=this.md_id,i=this.active,o=this.latitude,n=this.longitude;this.$allrequest.alipay.getOrderMealPageData({md_id:a||e,type:i,lat:o,lng:n}).then((function(e){if(t.requestEnd=!0,!e.code){t.pageData=e.data,t.swiper_banners=e.data.banner;var a=e.data.goods_list;a.forEach((function(t){t.list.forEach((function(t){t["select_num"]=0}))})),t.skuData=a,t.updateDataToView(),t.$nextTick((0,r.default)((0,s.default)().mark((function e(){var i;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a&&a.length&&(i={},a.forEach(function(){var e=(0,r.default)((0,s.default)().mark((function e(o,n){var r,d;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:r="#sku".concat(o.id),d=null,d=uni.createSelectorQuery().in(t),d.select(r).boundingClientRect((function(e){var o=e.top,s=e.height;i[n]={top:o,height:s},n==a.length-1&&(t.scrollInfo=i)})).exec();case 4:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}())),t.getTabPosition();case 2:case"end":return e.stop()}}),e)}))))}}))},getDiyData:function(){var t=this;uni.showLoading({title:this.$t("home.loading")}),this.$allrequest.diyNew.getDiySystemPages().then((function(e){if(e.code)uni.hideLoading();else{var a,i=e.data.list,o={};if(!i.length)return;if(i.forEach((function(t){t.template=JSON.parse(t.template),"orderMeal"==t.template.system_type&&(o=t)})),null===(a=o)||void 0===a||!a.id)return;var n=o.template.templates[0].params;t.diyData=n,uni.hideLoading()}})).catch((function(t){uni.hideLoading()}))},sendTypeChange:function(t){this.active=t,this.getPageData()},onClickSwiper:function(t){},tabChange:function(t,e){this.tabActive=e},recommendAddBuy:function(t){for(var e=Object.assign({},t.item),a=0;a<this.recommendList.length;a++)e.id==this.recommendList[a].id&&(this.recommendList[a]["select_num"]=e.select_num);this.chooseData.push(e)},handleFoot:function(){this.showChoosePopup=!this.showChoosePopup},dealRequestData:function(){var t=JSON.parse(JSON.stringify(this.chooseData));t.forEach((function(t){null!==t&&void 0!==t&&t.sku?t["attr"]=t.sku:t["attr"]=[],t["pic"]=t.goods_pic,t["select_num"]=1}));var e,a=[],i=[],o=(0,n.default)(t);try{var s=function(){var t=e.value;if(a.find((function(e){return e.id===t.id})))return i.push(t),"continue";a.push(t)};for(o.s();!(e=o.n()).done;)s()}catch(r){o.e(r)}finally{o.f()}return a.forEach((function(t){i.forEach((function(e){t.id==e.id&&t.attr.toString()==e.attr.toString()&&t.select_num++,t.id==e.id&&t.attr.toString()!=e.attr.toString()&&(a.push(e),i.splice(e,1))}))})),a},handleFootBtn:function(){if(uni.showToast({title:this.$t("home.loading"),duration:2e3,icon:"none"}),this.storeFlagId&&!this.storeTableNum&&this.cartSelectData.length>1&&this.$utils.toUrl("/alipay-order/spellOrder/index?flag_id=".concat(this.storeFlagId,"&shareId=").concat(this.startManId)),this.storeTableNum||this.cartSelectData.length<=1){var t={goods_list:[]},e=[];this.cartSelectData.forEach((function(t){t.goods_list.forEach((function(t){var a={};a["food_cart_id"]=t.cart_id,e.push(a)}))})),t.goods_list=e;var a={mch_list:JSON.stringify([t]),flag_id:this.storeFlagId,table_num:this.storeTableNum};this.$utils.toUrl("/alipay-order/order/order?order_info=".concat(JSON.stringify(a),"&mealType=").concat(this.active))}},clearChoosed:function(t){this.chooseData=[],this.skuData.forEach((function(t){t.list.forEach((function(t){t.select_num=0}))})),this.showChoosePopup=!1},clearUserChoosed:function(t){var e=this,a=t.user_id;this.emptyUserCart(a,(function(){e.showChoosePopup=!1}))},clearCartAll:function(){var t=this;this.emptyCart((function(){t.showChoosePopup=!1}))},selectAddOne:function(t){var e=this,a=JSON.parse(JSON.stringify(t.item));"string"!==typeof a.food_ext_goods&&(a.food_ext_goods=JSON.stringify(a.food_ext_goods));var i=a.attr_list;i.forEach((function(t){t["attr_id"]=t.id}));var o={attr:JSON.stringify(i),num:1,goods_id:a.goods_id,food_ext_goods:a.food_ext_goods};this.addGoodsToCart(o,(function(){e.pollingCartData((function(){e.updateDataToView()}))}))},selectReduceOne:function(t){var e=this;this.reduceOneCartNum(t,(function(){e.pollingCartData((function(){e.cartSelectData.length||(e.showChoosePopup=!1),e.updateDataToView()}))}))},addOneToBuy:function(t,e,a){if(t.num<=0)uni.showToast({title:this.$t("alipay.noCount"),icon:"none"});else{var i=Object.assign({},t),o=t.attr_group_list[0];o=[{attr_group_id:o.attr_group_id,attr_group_name:o.attr_group_name,attr_id:o.attr_list[0].attr_id,attr_name:o.attr_list[0].attr_name}];var n={attr:JSON.stringify(o),num:1,goods_id:t.id||t.goods_id};t.food_ext_goods?(this.food_ext_goods=t.food_ext_goods,this.cartGoodInfo=t,this.$refs["sku-popup"].showPopup(0,i)):(this.food_ext_goods="",this.setAddgoodsToCart(n))}},setAddgoodsToCart:function(t){var e=this;this.addGoodsToCart(t,(function(){e.showSkuPopup=!1,e.food_ext_goods="",e.food_ext_goods_name="",e.cartGoodInfo=null,e.$refs["sku-popup"].closePopup(),e.pollingCartData((function(){e.updateDataToView()}))}))},reduceOne:function(t){var e=this;if(!(t.select_num<=0)&&!(t.user_num<=0)){t.select_num--,t.user_num--,t.num<=0&&(t.num=0);var a={cart_id:t.cart_id,num:this.storeTableNum?t.user_num:t.select_num};this.reduceOneCartNum(a,(function(){e.pollingCartData((function(){e.updateDataToView()}))}))}},actionSelectSku:function(t,e){this.cartGoodInfo=t,t["stamp"]="skuBox-".concat(e.id,"-").concat(t.id),this.skuInfo=t,this.food_ext_goods=t.food_ext_goods,this.food_ext_goods_name=t.food_ext_goods_model?t.food_ext_goods_model.name:"",this.$refs["sku-popup"].showPopup()},chooseEnd:function(t){this.skuInfo=t.data,this.showSkuPopup=!1;var e=Object.assign({},t.data),a=e.stamp.split("-"),i=(0,o.default)(a,3),n=i[0],s=i[1],r=i[2];n&&"skuBox"==n&&this.skuData.forEach((function(t){if(t.id==s)for(var a=0;a<t.list.length;a++)if(t.list[a].id==r){t.list[a].select_num=e.select_num,t.list[a]["sku"]=e.sku;break}}));var d=this.chooseData.filter((function(t){return t.stamp!=e.stamp}));e["skuNum"]=e.select_num,delete e.select_num;for(var c=0;c<t.data.select_num;c++)d.push(e);this.chooseData=d},handleClassifyItem:function(t,e){var a=this;this.activeSkuList=e,e||(this.tabFixed=!0),setTimeout((function(){uni.pageScrollTo({duration:300,selector:"#sku"+t.id,complete:function(e){setTimeout((function(){a.scrollItem="sku"+t.id}),100)}})}),0)},gotoDetail:function(t,e){this.$utils.toUrl("/alipay-order/goods/goods?id=".concat(t.id))},gotoShop:function(){this.$utils.toUrl("/alipay-order/shop/shop")},changeMd:function(){if(!this.storeTableNum&&!this.mch_id&&!(this.cartSelectData.length>1)){uni.removeStorageSync("flag_id"),uni.removeStorageSync("food_table_num");var t="";if(Object.keys(this.routeData).length)for(var e in this.routeData)t=t+e+"="+this.routeData[e]+"&";t=t.substr(0,t.length-1),uni.setStorageSync("mdBackUrl","/alipay-order/orderMeal/orderMeal?".concat(t)),this.$utils.toUrl("/pages/md/md-list?url=/alipay-order/orderMeal/orderMeal?".concat(t))}},stickyFixed:function(){this.goodsCanScroll=!0},stickyUnFixed:function(){this.goodsCanScroll=!1},getTabPosition:function(){var t,e=this;t=uni.createSelectorQuery().in(this),t.select(".order-shop-tab").boundingClientRect((function(t){e.$nextTick((function(){e.tabPosition=t}))})).exec()}},onPageScroll:function(t){this.tabPosition&&this.tabPosition.top<=t.scrollTop&&(this.tabFixed||(this.tabFixed=!0))}};e.default=v},d9f4:function(t,e,a){"use strict";var i=a("75bf"),o=a.n(i);o.a},e33f:function(t,e,a){"use strict";var i=a("525e"),o=a.n(i);o.a},e41b:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"no-data-section"},[a("v-uni-view",{staticClass:"no-data"},[a("v-uni-image",{attrs:{src:"https://chidian.chixiaodian.com/web/uploads/images/store_1/2021-12-28/3a2e1913fc9c6f94ab9bd0fe3498b439425a2873.png",mode:""}}),a("v-uni-text",[t._v("附近暂无营业中的餐厅,您可手动选择")]),a("v-uni-view",{staticClass:"no-data-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gotoSelectMd.apply(void 0,arguments)}}},[t._v("选择门店")])],1)],1)},o=[]},ff50:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa");var i={name:"u-image",props:{src:{type:String,default:""},mode:{type:String,default:"aspectFill"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"auto"},shape:{type:String,default:"square"},borderRadius:{type:[String,Number],default:0},lazyLoad:{type:Boolean,default:!0},showMenuByLongpress:{type:Boolean,default:!0},loadingIcon:{type:String,default:"photo"},errorIcon:{type:String,default:"error-circle"},showLoading:{type:Boolean,default:!0},showError:{type:Boolean,default:!0},fade:{type:Boolean,default:!0},webp:{type:Boolean,default:!1},duration:{type:[String,Number],default:500},bgColor:{type:String,default:"#f3f4f6"}},data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{}}},watch:{src:{immediate:!0,handler:function(t){t?(this.isError=!1,this.loading=!0):(this.isError=!0,this.loading=!1)}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"50%":this.$u.addUnit(this.borderRadius),t.overflow=this.borderRadius>0?"hidden":"visible",this.fade&&(t.opacity=this.opacity,t.transition="opacity ".concat(Number(this.durationTime)/1e3,"s ease-in-out")),t}},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(){var t=this;if(this.loading=!1,this.isError=!1,this.$emit("load"),!this.fade)return this.removeBgColor();this.opacity=0,this.durationTime=0,setTimeout((function(){t.durationTime=t.duration,t.opacity=1,setTimeout((function(){t.removeBgColor()}),t.durationTime)}),50)},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};e.default=i}}]);
|