(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["order-page-submit-order-index","market-page-suborder-sub-order~order-page-one-touch-submit-order-index"],{"0d68":function(e,t,i){"use strict";var a=i("9e2d"),r=i.n(a);r.a},1487:function(e,t,i){var a=i("58d9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("51714932",a,!0,{sourceMap:!1,shadowMode:!1})},"14f2":function(e,t,i){var a=i("e549");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("07e8da74",a,!0,{sourceMap:!1,shadowMode:!1})},"1e2b":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.postMyQrCodeApi=t.postInterviewApi=t.postCreateOrderApi=t.postApplyApi=t.getStoreDiscountApi=t.getMemberCenterInfoApi=t.getInfoByUidApi=t.getCardListApi=void 0;var r=a(i("7653"));t.getCardListApi=function(e){return r.default.get("api/user.discountCard.card/index",e)};t.postCreateOrderApi=function(e){return r.default.post("api/user.discountCard.order/createOrder",e)};t.getInfoByUidApi=function(e){return r.default.get("api/user.discountCard.enterprise/infoByUid",e)};t.postApplyApi=function(e){return r.default.post("api/user.discountCard.enterprise/apply",e)};t.getMemberCenterInfoApi=function(e){return r.default.get("api/user.discountCard.card/memberCenterInfo",e)};t.getStoreDiscountApi=function(e){return r.default.get("api/user.discountCard.card/storeDiscount",e)};t.postMyQrCodeApi=function(e){return r.default.post("api/user.discountCard.member/myQrCode",e)};t.postInterviewApi=function(e){return r.default.post("api/user.discountCard.member/interview",e)}},"26bf":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.submitTangshiOrderApi=t.submitOrderApi=t.submitOneTouchOrderApi=t.getTuangouquanOrderAddApi=t.getTangshiOrderPreInfoApi=t.getTableShoppingCardApi=t.getRechargeFreChargeStatusApi=t.getOrderPreInfoApi=t.getOneTouchOrderPreInfoApi=t.getIngOrderApi=t.gemMealRedpacketBuildVirtual=t.addOrderApi=void 0;var r=a(i("7653"));t.gemMealRedpacketBuildVirtual=function(e){return r.default.get("api/user.mealRedpacket.meal_redpacket/mealRedpacket_build_virtual?sid="+e)};t.getOrderPreInfoApi=function(e){var t=e.sid,i=e.extra,a=e.fromzhitong,n=e.spellrice,o=e.addressId,s=e.spellrice_oid,d=e.spellrice_id,c=e.order_type,l=e.zitiType,u=e.is_api_shop,p=e.api_store_title,f=e.api_store_address,v=e.api_store_logo,h=e.storeCode,m=e.api_store_lat,_=e.api_store_lng,g=e.api_brand,y=e.table_id,b=e.predict_index,x=e.predictDayCn,w=e.use_tuangouquan_place_order_at_once_id,I=e.type,C=e.is_takeout;return r.default.post("api/user.order.orderCreate/index",{sid:t,extra:i||"",fromzhitong:a||0,spellrice:n||0,address_id:o||"",spellrice_oid:s||0,spellrice_id:d||0,order_type:c||1,zitiType:l||1,is_api_shop:u||"",api_store_title:p||"",api_store_address:f||"",api_store_logo:v||"",storeCode:h||"",api_store_lat:m||"",api_store_lng:_||"",api_brand:g||"",table_id:y||"",predict_index:b||0,predict_day_cn:x||"",type:I||"",use_tuangouquan_place_order_at_once_id:w||0,is_takeout:C>=0?C:-1})};t.getOneTouchOrderPreInfoApi=function(e){var t=e.sids,i=e.extra,a=e.fromzhitong,n=e.spellrice,o=e.addressId,s=e.spellrice_oid,d=e.spellrice_id,c=e.order_type,l=e.zitiType;return r.default.post("api/user.order.orderCreate/oneTouchIndex",{sids:t,extra:i||"",fromzhitong:a||0,spellrice:n||0,address_id:o||"",spellrice_oid:s||0,spellrice_id:d||0,order_type:c||1,zitiType:l||1})};t.submitOrderApi=function(e){var t=e.buy_add_mealredpacket_index,i=e.buy_mealredpacket,a=e.pre_mealredpacket_,n=e.buy_add_mealredpacket,o=e.pre_add_mealredpacket_,s=e.sid,d=e.note,c=e.fromzhitong,l=e.spellrice_oid,u=e.orderType,p=e.redpacketId,f=e.couponId,v=e.predictDayCn,h=e.predictIndex,m=e.addressId,_=e.memberChoice,g=e.zitiType,y=e.mobile,b=e.spellrice,x=e.spellrice_time,w=e.tuangouquan_id,I=e.cut_time_id,C=e.is_api_shop,k=e.api_store_title,S=e.api_store_address,E=e.api_store_logo,T=e.storeCode,A=e.api_store_lat,D=e.api_store_lng,P=e.api_brand,O=e.room_service_params,M=e.select_recharge_exemption_price,B=e.use_tuangouquan_place_order_at_once_id,z=e.type,R=e.is_clothes,F=e.send_address_id,j=e.imageSet,$=e.is_takeout;return r.default.post("api/user.order.orderCreate/submit",{buy_add_mealredpacket_index:t,buy_mealredpacket:i,pre_mealredpacket_:a,buy_add_mealredpacket:n,pre_add_mealredpacket_:o,sid:s,note:d||"",fromzhitong:c||"",spellrice_oid:l||0,order_type:u,redpacket_id:p||"",coupon_id:f||"",predict_day_cn:v||"",predict_index:h||0,address_id:m||"",type:z||"",member_choice:_||[],ziti_type:g||"",mobile:y||"",spellrice:b||0,spellrice_time:x||"",tuangouquan_id:w||0,cut_time_id:I||"",is_api_shop:C||"",api_store_title:k||"",api_store_address:S||"",api_store_logo:E||"",storeCode:T||"",api_store_lat:A||"",api_store_lng:D||"",api_brand:P||"",room_service_params:O||[],select_recharge_exemption_price:M||0,use_tuangouquan_place_order_at_once_id:B||0,is_clothes:R||0,send_address_id:F||0,imageSet:j||[],is_takeout:$>=0?$:-1})};t.submitOneTouchOrderApi=function(e){var t=e.buy_add_mealredpacket_index,i=e.buy_mealredpacket,a=e.pre_mealredpacket_,n=e.buy_add_mealredpacket,o=e.pre_add_mealredpacket_,s=e.sids,d=e.note,c=e.fromzhitong,l=e.spellrice_oid,u=e.orderType,p=e.predictDayCn,f=e.predictIndex,v=e.addressId,h=e.memberChoice,m=e.zitiType,_=e.mobile,g=e.spellrice,y=e.spellrice_time,b=e.coupons,x=e.redpackets,w=e.max_delivery_fee_sid;return r.default.post("api/user.order.orderCreate/oneTouchSubmit",{buy_add_mealredpacket_index:t,buy_mealredpacket:i,pre_mealredpacket_:a,buy_add_mealredpacket:n,pre_add_mealredpacket_:o,sids:s,note:d||"",fromzhitong:c||"",spellrice_oid:l||0,order_type:u,predict_day_cn:p||"",predict_index:f||0,address_id:v||"",member_choice:h||[],ziti_type:m||"",mobile:_||"",spellrice:g||0,spellrice_time:y||"",coupons:b||[],redpackets:x||[],max_delivery_fee_sid:w||0})};t.getTangshiOrderPreInfoApi=function(e){var t=e.sid,i=e.tableId;return r.default.post("api/user.store.table/create",{sid:t,table_id:i,coupon_id:0,redpacket_id:0,person_num:0,note:"",invoiceId:"invoiceId"})};t.getRechargeFreChargeStatusApi=function(e){var t=e.sid;return r.default.post("api/user.store.store/getRechargeFreChargeStatus",{sid:t})};t.submitTangshiOrderApi=function(e){var t=e.sid,i=e.tableId,a=e.couponId,n=e.redpacketId,o=e.personNum,s=e.note,d=e.isPindan,c=e.username,l=e.zitiType,u=e.mobile,p=e.tuangouquan_id;return r.default.post("api/user.store.table/submit",{sid:t,table_id:i,coupon_id:a||0,redpacket_id:n||0,person_num:o||0,note:s||"",invoiceId:"invoiceId",is_pindan:d||0,username:c||"",ziti_type:l,mobile:u||"",tuangouquan_id:p||0})};t.getTuangouquanOrderAddApi=function(e){var t=e.sid,i=e.id,a=e.num,n=e.finalPrice;return r.default.post("api/user.tuangouquan.order/submit",{sid:t,id:i,num:a||1,finalPrice:n})};t.getIngOrderApi=function(e){var t=e.sid,i=e.table_id;return r.default.post("api/user.store.table/getIngOrder",{sid:t,table_id:i})};t.addOrderApi=function(e){var t=e.sid,i=e.table_id;return r.default.post("api/user.store.table/addOrder",{sid:t,table_id:i})};t.getTableShoppingCardApi=function(e){return r.default.get("api/user.store.table/tableShoppingCard",e)}},"28e6":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"wrapper",staticStyle:{"padding-bottom":"0","min-height":"auto"}},[i("v-uni-view",{staticClass:"product-price-info"},[i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"store-name"},[i("v-uni-text",{staticClass:"tn-icon-shop tn-margin-right-xs"}),e._v(e._s(e.orderInfo.store.title))],1),i("v-uni-view",{staticClass:"product-list"},e._l(e.orderInfo.goods_list,(function(t,a){return i("v-uni-view",{key:a,staticClass:"product-item tn-bg-gray--light tn-color-black"},[i("v-uni-view",{staticClass:"item-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.goods_image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-1"},[t.bragin_num>0?i("v-uni-text",{staticClass:"red-box"},[e._v("含特价")]):e._e(),e._v(e._s(t.goods_title))],1),i("v-uni-view",{staticClass:"spec tn-text-ellipsis-1"},[e._v(e._s(t.goods_sku_text))]),i("v-uni-view",{staticClass:"price-num tn-flex-end-between"},[i("v-uni-view",{staticClass:"price tn-color-red"},[t.bragin_num>0?[i("v-uni-text",[e._v(e._s(e.CurrencyUnit)+e._s(t.goods_price))])]:i("v-uni-text",[e._v(e._s(e.CurrencyUnit)+e._s(t.goods_price))])],2),i("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(t.goods_num))])],1)],1)],1)})),1)],1),i("v-uni-view",{staticClass:"price-info"},[e.orderInfo.extra_fee?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("平台服务费")]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.extra_fee))])],1):e._e(),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("商品总价")]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.price))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("快递运费")]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.total_delivery_price))])],1)],1),i("v-uni-view",{staticClass:"total-price"},[i("v-uni-view",{staticClass:"title"},[e._v("合计")]),i("v-uni-view",{staticClass:"data tn-color-gray"},[i("v-uni-view",{staticClass:"sum"},[e._v("共计"+e._s(e.CurrencyUnit)+e._s(e.formatPrice(e.orderInfo.total_price)))]),i("v-uni-view",{staticClass:"discount"},[e._v("优惠"+e._s(e.CurrencyUnit)+e._s(e.formatPrice(e.orderInfo.discount_fee)))]),i("v-uni-view",{staticClass:"paid tn-color-black"},[e._v("实付"),i("v-uni-text",{staticClass:"tn-color-red",staticStyle:{"margin-left":"5rpx"}},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.total_price))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"note"},[e.optionsData.jielong_id?i("v-uni-view",{staticClass:"title"},[e._v("买家留言")]):i("v-uni-view",{staticClass:"title"},[e._v("备注")]),i("v-uni-view",{staticClass:"data"},[e.remarkInput?i("v-uni-textarea",{staticClass:"textarea",attrs:{focus:e.remarkFocus,placeholder:e.jielong.buyer_message_text?e.jielong.buyer_message_text:"请输入备注","placeholder-class":"tn-color-gray"},model:{value:e.orderInfo.note,callback:function(t){e.$set(e.orderInfo,"note",t)},expression:"orderInfo.note"}}):i("v-uni-view",{staticClass:"show-data",class:[{"tn-color-gray":!0}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.startInputRemarkData.apply(void 0,arguments)}}},[e._v(e._s(e.jielong.buyer_message_text?e.jielong.buyer_message_text:e.orderInfo.note||"请输入备注"))])],1)],1),i("v-uni-view",{staticClass:"settle-bar tn-safe-area-inset-bottom"},[i("v-uni-view",{staticClass:"price-info"},[i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[e._v(e._s(e.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.total_price))])],1),i("v-uni-view",{staticClass:"discount tn-color-gray"},[e._v("已优惠"+e._s(e.CurrencyUnit)+e._s(e.formatPrice(e.orderInfo.discount_fee)))])],1),i("v-uni-view",{staticClass:"submit-btn",class:[{"tn-bg-gray":!e.isSubmitOrder}],style:[e.themeBtnStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.submitOrder.apply(void 0,arguments)}}},[e._v("提交订单")])],1),i("time-select-modal",{attrs:{data:e.timeRange,"default-value":e.defaultSelectTime},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.handleChooseTimeModalConfirmEvent.apply(void 0,arguments)}},model:{value:e.showSelectTimeModal,callback:function(t){e.showSelectTimeModal=t},expression:"showSelectTimeModal"}}),i("pay-select-modal",{attrs:{"order-id":e.orderId,"order-type":"mall"},on:{success:function(t){arguments[0]=t=e.$handleEvent(t),e.successPayEvent.apply(void 0,arguments)},fail:function(t){arguments[0]=t=e.$handleEvent(t),e.failPayEvent.apply(void 0,arguments)},cancel:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelPayEvent.apply(void 0,arguments)}},model:{value:e.showSelectPayWayModal,callback:function(t){e.showSelectPayWayModal=t},expression:"showSelectPayWayModal"}}),i("address-select-modal",{attrs:{data:e.addressList,"default-address-id":e.currentSelectAddressId},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleAddressClickEvent.apply(void 0,arguments)},edit:function(t){arguments[0]=t=e.$handleEvent(t),e.addEditAddressEvent.apply(void 0,arguments)},add:function(t){arguments[0]=t=e.$handleEvent(t),e.addEditAddressEvent.apply(void 0,arguments)}},model:{value:e.showChooseAddressModal,callback:function(t){e.showChooseAddressModal=t},expression:"showChooseAddressModal"}})],1)],1)},r=[]},3326:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("fd3c"),i("8f71"),i("bf0f"),i("aa77"),i("bd06"),i("5c47"),i("a1c1"),i("aa9c"),i("af8f");var r=a(i("dc1f")),n=a(i("e456")),o={props:{value:{type:Boolean,default:!1},data:{type:Array,default:function(){return[]}},defaultValue:{type:String,default:""}},components:{BottomModal:n.default},mixins:[r.default],data:function(){return{showSelectModal:!1,dateData:[],timeData:[],currentSelectDateIndex:-1,currentSelectTime:null,currentSelectTimeIndex:null,weekArray:[],weekValue:"",timesArr:[],half:1,currentDateIndex:0}},computed:{},watch:{value:{handler:function(e){this.showSelectModal=e,e&&(this._resetData(),this.splitData())},immediate:!0},data:{handler:function(e){console.log("data_val",e),this.handleAppointTime(e)},immediate:!0}},methods:{test:function(){console.log(this.data)},setKeyValue:function(e,t){var i=this;this.currentSelectTimeIndex=-1,"weekValue"==e?(this.weekValue=t,this.timesArr=this.data.find((function(e){return e.date==t})).times.filter((function(e){return e.half==i.half})).map((function(e){return{time:e.start+"-"+e.end,status:e.status,half:e.half}})),this.currentDateIndex=this.weekArray.findIndex((function(e){return e.time==t}))):(this.half=t,this.timesArr=this.data.find((function(e){return e.date==i.weekValue})).times.filter((function(e){return e.half==t})).map((function(e){return{time:e.start+"-"+e.end,status:e.status,half:e.half}})))},handleAppointTime:function(e){var t=this,i=(new Date).toLocaleDateString().replace(/\//g,"-");this.timesArr=[],this.weekArray=e.map((function(e){return e.date==i&&(t.weekValue=e.date,t.timesArr=e.times.map((function(e){return{time:e.start+"-"+e.end,status:e.status,half:e.half}}))),{time:e.date,value:e.date_day,label:e.week_text}})),""==this.weekValue&&e.length>0&&this.setKeyValue("weekValue",e[0].date)},handleDateSelectEvent:function(e){this.currentSelectDateIndex=e,this.currentSelectTimeIndex=-1},handleTimeSelectEvent:function(e,t){console.log(e.time),0!=e.status&&(this.currentSelectTime=e.time,this.currentSelectTimeIndex=t,this.timeConfirmEvent())},splitData:function(){var e=this;this.data&&this.data.length>0&&(this.dateData=this.data.filter((function(e){return e.times&&e.times.length>0})).map((function(t){return e.timeData.push(t.times.map((function(e){return e.time}))),t.date})),this.setDefaultSelectTimeValue())},setDefaultSelectTimeValue:function(){var e=this;if(this.defaultValue){var t=this.dateData.findIndex((function(t){return-1!=e.defaultValue.search(t)}));if(-1!=t){this.currentSelectDateIndex=t;var i=this.timeData[t].findIndex((function(t){return-1!=e.defaultValue.search(t)}));-1!=i&&(this.currentSelectTimeIndex=i)}}},handleModalClose:function(){this.$emit("input",!1),this.$emit("close")},timeConfirmEvent:function(){console.log(this.weekValue,this.currentSelectTimeIndex);var e=this.weekValue+" "+this.timesArr[this.currentSelectTimeIndex].time;this.$emit("confirm",{date_time_text:e,date:this.weekValue,timeIndex:this.currentSelectTimeIndex,dateIndex:this.currentDateIndex,time:this.timesArr[this.currentSelectTimeIndex].time})},_resetData:function(){this.dateData=[],this.timeData=[],this.currentSelectDateIndex=-1,this.currentSelectTimeIndex=-1}}};t.default=o},"36b0":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 顶部背景 start */.top-bg[data-v-b92a5e06]{position:absolute;left:0;top:0;width:100%;height:%?600?%;background:linear-gradient(180deg,#ffca28,#ffca28 50%,rgba(255,202,40,0));z-index:1}\n/* 顶部背景 end */.wrapper[data-v-b92a5e06]{position:relative;margin-top:%?30?%;min-height:calc(100vh - %?50?%);padding:%?0?% %?30?%;padding-bottom:%?180?%;z-index:2}.redEnvelopeBox[data-v-b92a5e06]{width:100%;height:auto;display:flex;justify-content:flex-start;flex-wrap:nowrap;padding-left:%?10?%;padding-right:%?10?%;overflow-x:scroll;margin-top:%?20?%}.redEnvelopeBox .redEnvelopeItem[data-v-b92a5e06]{width:calc(100% / 3);height:auto;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;margin:%?15?%}.redEnvelopeBox .redEnvelopeItem_Bg[data-v-b92a5e06]{width:%?200?%;height:%?116?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/redEnvelopeBg1.png);display:flex;justify-content:center;align-items:center}.redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center[data-v-b92a5e06]{width:100%;height:%?83?%}.redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center_price[data-v-b92a5e06]{width:100%;height:%?50?%;font-size:%?48?%;text-align:center;line-height:%?50?%;color:#f74c37}.redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center_title[data-v-b92a5e06]{width:100%;height:%?33?%;font-size:%?26?%;text-align:center;line-height:%?33?%;color:#a77821}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar[data-v-b92a5e06]{width:100%;height:%?154?%;display:flex;align-items:center;justify-content:center}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg[data-v-b92a5e06]{width:%?201?%;height:%?154?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/redEnvelopeBg2.png)}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter[data-v-b92a5e06]{width:100%;height:%?98?%;color:#f74c37;display:flex;align-items:center;justify-content:center}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_price[data-v-b92a5e06]{font-size:%?38?%}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_ride[data-v-b92a5e06]{font-size:%?21?%;padding-right:%?7?%;padding-left:%?7?%}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_number[data-v-b92a5e06]{font-size:%?28?%}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemTitle[data-v-b92a5e06]{width:100%;height:%?57?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice[data-v-b92a5e06]{width:100%;height:%?34?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice .currentPrice[data-v-b92a5e06]{font-size:%?32?%;color:#f74c37}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice .originalPrice[data-v-b92a5e06]{font-size:%?26?%;padding-left:%?9?%;text-decoration:line-through;color:#707070}.redEnvelopeBox .redEnvelopeItem .activity[data-v-b92a5e06]{width:100%;height:%?60?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.redEnvelopeBox .redEnvelopeItem .activity .activityBg[data-v-b92a5e06]{width:auto;height:%?40?%;background-color:rgba(255,121,26,.2);display:flex;align-items:center;justify-content:center;padding-left:%?10?%;padding-right:%?10?%;color:#ff791a;border-radius:%?8?%;font-size:%?22?%}\n/* 订单类型 start */.order-type[data-v-b92a5e06]{position:relative;width:100%;z-index:2\n /* 骑手配送\\到店自取 start */\n /* 骑手配送\\到店自取 end */}.order-type__delivery[data-v-b92a5e06], .order-type__in-store[data-v-b92a5e06]{\n /* 地址 start */\n /* 地址 end */\n /* 配送时间 start */\n /* 配送时间 end */}.order-type__delivery .address-info[data-v-b92a5e06], .order-type__in-store .address-info[data-v-b92a5e06]{width:100%;padding-bottom:%?20?%;border-bottom:%?1?% solid #f3f2f7}.order-type__delivery .address-info .address-item .item-type[data-v-b92a5e06], .order-type__in-store .address-info .address-item .item-type[data-v-b92a5e06]{width:%?50?%;height:%?50?%;border-radius:50%;line-height:1}.order-type__delivery .address-info .address-item .item-data[data-v-b92a5e06], .order-type__in-store .address-info .address-item .item-data[data-v-b92a5e06]{flex:1;margin-left:%?20?%}.order-type__delivery .address-info .address-item .info-address[data-v-b92a5e06], .order-type__in-store .address-info .address-item .info-address[data-v-b92a5e06]{font-size:%?34?%}.order-type__delivery .address-info .address-item .info-user[data-v-b92a5e06], .order-type__in-store .address-info .address-item .info-user[data-v-b92a5e06]{margin-top:%?12?%}.order-type__delivery .address-info .address-item .item-right-icon[data-v-b92a5e06], .order-type__in-store .address-info .address-item .item-right-icon[data-v-b92a5e06]{margin-left:%?20?%}.order-type__delivery .address-info .address-item + .address-item[data-v-b92a5e06], .order-type__in-store .address-info .address-item + .address-item[data-v-b92a5e06]{margin-top:%?40?%}.order-type__delivery .address-info .address-item + .address-item .item-data[data-v-b92a5e06], .order-type__in-store .address-info .address-item + .address-item .item-data[data-v-b92a5e06]{position:relative}.order-type__delivery .address-info .address-item + .address-item .item-data[data-v-b92a5e06]::before, .order-type__in-store .address-info .address-item + .address-item .item-data[data-v-b92a5e06]::before{content:"";position:absolute;left:50%;top:%?-20?%;height:%?2?%;width:90%;background-color:#f8f7f8;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.order-type__delivery .address-info .icon[data-v-b92a5e06], .order-type__in-store .address-info .icon[data-v-b92a5e06]{width:%?50?%;height:%?50?%;font-size:%?42?%;border-radius:50%;margin:%?0?% %?20?%}.order-type__delivery .address-info .info[data-v-b92a5e06], .order-type__in-store .address-info .info[data-v-b92a5e06]{width:calc(100% - %?60?% - %?20?%)}.order-type__delivery .address-info .info .address[data-v-b92a5e06], .order-type__in-store .address-info .info .address[data-v-b92a5e06]{font-weight:700;font-size:%?30?%}.order-type__delivery .address-info .info .customer[data-v-b92a5e06], .order-type__in-store .address-info .info .customer[data-v-b92a5e06]{margin-top:%?10?%;font-size:%?26?%}.order-type__delivery .delivery-time[data-v-b92a5e06], .order-type__in-store .delivery-time[data-v-b92a5e06]{padding-top:%?30?%}.order-type__delivery .delivery-time .title[data-v-b92a5e06], .order-type__in-store .delivery-time .title[data-v-b92a5e06]{font-weight:500}.order-type__in-store[data-v-b92a5e06]{\n /* 预留电话 start */\n /* 预留电话 end */}.order-type__in-store .address-info[data-v-b92a5e06]{border-bottom:none;padding-bottom:%?20?%}.order-type__in-store .delivery-time[data-v-b92a5e06]{padding-top:%?0?%;padding-bottom:%?20?%;border-bottom:%?1?% solid #f3f2f7}.order-type__in-store .mobile-info[data-v-b92a5e06]{padding:%?14?%;border-radius:%?6?%;margin-top:%?20?%}.order-type__in-store .mobile-info .value[data-v-b92a5e06]{flex:1;padding-left:%?24?%}.order-type__in-store .mobile-info .value .input[data-v-b92a5e06]{width:100%;background-color:initial;padding:%?0?%;color:inherit}\n/* 订单类型 end */\n/* 到店自取类型 start */.in-store-type[data-v-b92a5e06]{margin-top:%?50?%;width:100%;display:flex;align-items:center;justify-content:space-between}.in-store-type .btn[data-v-b92a5e06]{width:calc(100% / 2 - %?10?%);padding:%?20?%;border-radius:%?15?%;background-color:#fff;border-width:%?1?%;border-style:solid}.in-store-type .btn.select[data-v-b92a5e06]{border-width:%?0?%;border-style:none}.in-store-type .btn.noselect[data-v-b92a5e06]{background-color:#b0b0b0!important;color:#fff!important;border:1px solid #b0b0b0!important}\n/* 到店自取类型 end */\n/* 商品价格信息 start */.product-price-info[data-v-b92a5e06]{margin-top:%?20?%;width:100%;border-radius:%?15?%\n /* 商品信息 start */\n /* 商品信息 end */\n /* 价格信息 start */\n /* 价格信息 end */\n /* 优惠信息 start */\n /* 优惠信息 end */\n /* 总计价格 start */\n /* 总计价格 end */}.product-price-info .red-box[data-v-b92a5e06]{display:inline-block;background-color:red;color:#fff;font-size:%?28?%;padding:%?4?%}.product-price-info .product-info[data-v-b92a5e06]{padding:%?40?% %?30?%;border-radius:%?15?% %?15?% %?0?% %?0?%;background:radial-gradient(circle at left bottom,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at right bottom,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat;border-bottom:%?1?% dashed #f3f2f7\n /* 商品列表 start */\n /* 商品列表 end */}.product-price-info .product-info .store-name[data-v-b92a5e06]{font-size:%?30?%}.product-price-info .product-info .product-list .product-item[data-v-b92a5e06]{margin-top:%?20?%;border-radius:%?8?%;padding:%?20?%;display:flex}.product-price-info .product-info .product-list .product-item .through[data-v-b92a5e06]{text-decoration:line-through}.product-price-info .product-info .product-list .product-item .item-image[data-v-b92a5e06]{width:%?120?%;height:%?120?%;border-radius:%?8?%}.product-price-info .product-info .product-list .product-item .item-info[data-v-b92a5e06]{flex:1;padding-left:%?20?%}.product-price-info .product-info .product-list .product-item .item-info .title[data-v-b92a5e06]{width:100%;font-size:%?32?%}.product-price-info .product-info .product-list .product-item .item-info .spec[data-v-b92a5e06]{font-size:%?22?%;color:#aaa;margin-top:%?4?%}.product-price-info .product-info .product-list .product-item .item-info .price-num[data-v-b92a5e06]{margin-top:%?8?%}.product-price-info .product-info .product-list .product-item .item-info .price-num .price[data-v-b92a5e06]{font-size:%?32?%;font-weight:500}.product-price-info .price-info[data-v-b92a5e06]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .price-info .item[data-v-b92a5e06]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .price-info .item .price[data-v-b92a5e06]{font-weight:700}.product-price-info .discount-info[data-v-b92a5e06]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat;margin-top:7.5px}.product-price-info .discount-info .item[data-v-b92a5e06]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .discount-info .item .data .icon[data-v-b92a5e06]{color:#080808}.product-price-info .total-price[data-v-b92a5e06]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?0?% %?30?% %?30?% %?30?%;border-radius:%?0?% %?0?% %?15?% %?15?%;background-color:#fff}.product-price-info .total-price .data[data-v-b92a5e06]{display:flex;align-items:center}.product-price-info .total-price .data .sum[data-v-b92a5e06],\n.product-price-info .total-price .data .discount[data-v-b92a5e06],\n.product-price-info .total-price .data .paid[data-v-b92a5e06]{margin-left:%?16?%}.product-price-info .total-price .data .paid[data-v-b92a5e06]{font-size:%?34?%}\n/* 商品价格信息 end */\n/* 附加费用 start */.surcharge-fee[data-v-b92a5e06]{width:100%;margin-top:%?30?%;padding:%?30?%;background-color:#fff;border-radius:%?15?%}.surcharge-fee .item[data-v-b92a5e06]{width:100%;padding:%?20?% %?0?%;display:flex;align-items:center;justify-content:space-between}.surcharge-fee .item .data[data-v-b92a5e06]{display:flex;align-items:center}.surcharge-fee .item .data .select[data-v-b92a5e06]{margin-left:%?10?%;width:%?40?%;height:%?40?%;border-radius:50%}.surcharge-fee .item .data .select .icon[data-v-b92a5e06]{margin-top:%?2?%}\n/* 附加费用 end */\n/* 备注 start */.note[data-v-b92a5e06]{width:100%;margin-top:%?30?%}.note .title[data-v-b92a5e06]{font-weight:700;font-size:%?32?%}.note .data[data-v-b92a5e06]{width:100%;height:%?200?%;margin-top:%?10?%;background-color:#fff;border-radius:%?15?%;padding:%?20?%}.note .data .textarea[data-v-b92a5e06],\n.note .data .show-data[data-v-b92a5e06]{width:100%;height:100%;padding:%?0?%}\n/* 备注 end */\n/* 结算/提交订单操作栏 start */.settle-bar[data-v-b92a5e06]{position:fixed;left:%?0?%;bottom:%?0?%;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;z-index:999;transition:bottom ease .25s}.settle-bar.hidden[data-v-b92a5e06]{bottom:%?-140?%}.settle-bar .price-info[data-v-b92a5e06]{padding-left:%?30?%}.settle-bar .price-info .price[data-v-b92a5e06]{display:flex;align-items:flex-end;font-size:%?42?%;font-weight:700}.settle-bar .price-info .price .unit[data-v-b92a5e06]{font-size:%?28?%;margin-right:%?6?%;-webkit-transform:translateY(%?-2?%);transform:translateY(%?-2?%)}.settle-bar .price-info .discount[data-v-b92a5e06]{font-size:%?24?%}.settle-bar .submit-btn[data-v-b92a5e06]{padding:%?40?%;font-size:%?32?%}\n/* 结算/提交订单操作栏 end */.redstyle[data-v-b92a5e06]{color:red!important}\n/* 选中规格属性加料弹框 start */.spec-choose-modal[data-v-b92a5e06]{width:100%;padding-top:%?24?%\n /* 商品操作 start */\n /* 商品操作 end */\n /* 选择区域 start */\n /* 选择区域 end */\n /* 已选择规格 start */\n /* 已选择规格 end */\n /* 价格、数量信息 start */\n /* 价格、数量信息 end */}.spec-choose-modal.disabled .operation__add .icon[data-v-b92a5e06]{background-color:#aaa;color:#fff}.spec-choose-modal .operation__spec[data-v-b92a5e06]{padding:%?6?% %?20?%;border-radius:%?15?%;position:relative;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.spec-choose-modal .operation__spec .num[data-v-b92a5e06]{position:absolute;top:0;right:0;-webkit-transform:translate(10%,-50%);transform:translate(10%,-50%);line-height:1;padding:%?4?% %?10?%;border-radius:%?200?%}.spec-choose-modal .operation__spec .num .input[data-v-b92a5e06]{color:#000}.spec-choose-modal .operation__add[data-v-b92a5e06]{height:%?46?%}.spec-choose-modal .operation__add .icon[data-v-b92a5e06]{width:%?46?%;height:%?46?%;font-size:%?30?%;line-height:1;border-radius:50%;background-color:var(--theme_bg_color);color:var(--theme_font_color)}.spec-choose-modal .operation__add .num[data-v-b92a5e06]{width:%?50?%;height:100%;margin:%?0?% %?5?%}.spec-choose-modal .operation__add .num .input[data-v-b92a5e06]{width:100%;height:100%;padding:%?0?%;background-color:initial;color:#000;text-align:center}.spec-choose-modal .small-box[data-v-b92a5e06]{display:flex;align-items:center;padding-left:%?30?%}.spec-choose-modal .goods-image[data-v-b92a5e06]{width:100%;border-top-left-radius:%?15?%;border-top-right-radius:%?15?%;margin-top:%?-25?%;max-height:%?750?%}.spec-choose-modal .goods-name-small[data-v-b92a5e06]{height:1rem;display:flex;flex-direction:column;justify-content:space-around}.spec-choose-modal .goods-image-small[data-v-b92a5e06]{width:%?100?%;height:%?100?%;border-radius:%?10?%}.spec-choose-modal .good-title[data-v-b92a5e06]{font-size:%?34?%;font-weight:500;padding:%?0?% %?30?%}.spec-choose-modal .desc[data-v-b92a5e06]{padding:%?0?% %?30?%;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1}.spec-choose-modal .content-wrapper[data-v-b92a5e06]{padding:%?30?%;width:100%;height:%?500?%}.spec-choose-modal .content-wrapper .content-data[data-v-b92a5e06]{width:100%\n /* 可选项 start */\n /* 可选项 end */}.spec-choose-modal .content-wrapper .content-data .content-title[data-v-b92a5e06]{font-size:%?24?%}.spec-choose-modal .content-wrapper .content-data .content-select[data-v-b92a5e06]{display:flex;flex-wrap:wrap}.spec-choose-modal .content-wrapper .content-data .content-select .select-item[data-v-b92a5e06]{display:flex;align-items:center;border-radius:%?15?%;margin-right:%?12?%;margin-top:%?20?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-b92a5e06],\n.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-b92a5e06]{line-height:1;padding:%?12?% %?20?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-title[data-v-b92a5e06]{padding-right:%?24?%}.spec-choose-modal .content-wrapper .content-data .content-select .select-item .item-price[data-v-b92a5e06]{border-radius:%?0?%;border-left-width:%?1?%;border-left-style:solid;border-color:inherit}.spec-choose-modal .content-wrapper .content-data .content-select .select-item.select[data-v-b92a5e06]{border-color:var(--theme-color)!important;color:var(--theme-color)}.spec-choose-modal .content-wrapper .content-data + .content-data[data-v-b92a5e06]{margin-top:%?24?%}.spec-choose-modal .select-attr-value[data-v-b92a5e06]{width:100%;padding:%?10?% %?30?%;display:flex}.spec-choose-modal .select-attr-value .value[data-v-b92a5e06]{flex:1;padding-left:%?20?%}.spec-choose-modal .price-num-wrapper[data-v-b92a5e06]{width:100%;padding:%?30?%;display:flex;justify-content:space-between}.spec-choose-modal .price-num-wrapper .price-value .title[data-v-b92a5e06]{font-size:%?32?%}.spec-choose-modal .price-num-wrapper .price-value .price[data-v-b92a5e06]{margin-left:%?12?%;display:flex;align-items:flex-end}.spec-choose-modal .price-num-wrapper .price-value .price .unit[data-v-b92a5e06]{font-size:%?32?%;line-height:1;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.spec-choose-modal .price-num-wrapper .price-value .price .value[data-v-b92a5e06]{font-size:%?46?%;line-height:1;font-weight:700;margin-left:%?4?%}\n/* 选中规格属性加料弹框 end */.address-item-clothes[data-v-b92a5e06]{padding:%?10?%;border-radius:8px;display:flex;align-items:center}.super-affordable[data-v-b92a5e06]{margin-top:%?20?%;border-radius:12px;background:#fff;position:relative;padding-top:%?20?%}.super-affordable-body[data-v-b92a5e06]{padding:%?30?%}.discounts[data-v-b92a5e06]{padding:%?20?% 0;margin-top:%?20?%;display:flex;overflow-x:auto}.discountBox[data-v-b92a5e06]{height:%?250?%;width:%?200?%;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border-radius:10px;border:.5px solid #dadada;box-shadow:0 0 4px 0 rgba(234,241,246,.25);flex:0 0 auto}.discountBox + .discountBox[data-v-b92a5e06]{margin-left:%?20?%}.discountNumEnterprise[data-v-b92a5e06]{position:absolute;top:%?-20?%;padding:%?10?% %?30?%;border-radius:0 10px;background:linear-gradient(180deg,#208df9,#64c3ff);color:#fff;font-size:%?24?%}.discountNumIndividual[data-v-b92a5e06]{position:absolute;top:%?-20?%;padding:%?10?% %?20?%;border-radius:0 10px;background:linear-gradient(180deg,#f76700,#ff8f40);color:#fff;font-size:%?24?%}.selectDataIndexIndividual[data-v-b92a5e06]{border:2px solid #f76700;background:linear-gradient(180deg,#fedada,#fdf3e3),#fff}',""]),e.exports=t},4226:function(e,t,i){var a=i("4dd1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("21bec7a9",a,!0,{sourceMap:!1,shadowMode:!1})},4372:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.openModal?i("v-uni-view",{staticClass:"center-modal",style:[e.modalStyle]},[i("v-uni-view",{staticClass:"center-modal__mask",on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t)},click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.closeModal.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"center-modal__wrapper",class:[{"no-padding":e.contentNoPadding}],style:[e.wrapperStyle]},[e.closeBtn?i("v-uni-view",{staticClass:"center-modal__close-btn",style:[e.closeBtnStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.closeModal.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-close"})],1):e._e(),e.showTitle?i("v-uni-view",{staticClass:"center-modal__title"},[e._v(e._s(e.title))]):e._e(),i("v-uni-view",{staticClass:"center-modal__content",class:[{"no-top":e.contentNoTop}]},[e._t("default")],2),e.showCancel||e.showConfirm?i("v-uni-view",{staticClass:"center-modal__operation-btn"},[e.showCancel?i("v-uni-view",{staticClass:"cancel-btn",attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.cancelEvent.apply(void 0,arguments)}}},[e._v(e._s(e.cancelText))]):e._e(),e.showConfirm?i("v-uni-view",{staticClass:"confirm-btn",style:[e.themeBtnStyle],attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.confirmEvent.apply(void 0,arguments)}}},[e._v(e._s(e.confirmText))]):e._e()],1):e._e()],1)],1):e._e()},r=[]},"44f0":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("bottom-modal",{attrs:{"close-btn":!1,"no-padding":!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.handleModalClose.apply(void 0,arguments)}},model:{value:e.showSelectModal,callback:function(t){e.showSelectModal=t},expression:"showSelectModal"}},[i("v-uni-view",{staticClass:"header-title tn-color-black theme-selectTime-head",style:[e.themeBtnStyle]},[e._v("请选择时间")]),i("v-uni-view",{staticClass:"select-wrapper",style:[{"--theme-color":e.themeBgColor}]},[i("v-uni-view",{staticClass:"date tn-bg-gray--light tn-color-black theme-selectTime-leftBg"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},e._l(e.dateData,(function(t,a){return i("v-uni-view",{key:a,staticClass:"date-item tn-flex-center",class:[{select:a===e.currentSelectDateIndex}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.handleDateSelectEvent(a)}}},[e._v(e._s(t))])})),1)],1),i("v-uni-view",{staticClass:"time"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},e._l(e.timeData[e.currentSelectDateIndex],(function(t,a){return i("v-uni-view",{key:a,staticClass:"time-item",class:[{select:a===e.currentSelectTimeIndex}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.handleTimeSelectEvent(a)}}},[i("v-uni-view",{staticClass:"value"},[e._v(e._s(t)),e.data[e.currentSelectDateIndex]["times"][a]["price"]?i("v-uni-text",[e._v(e._s("(配送费"+e.CurrencyUnit+e.data[e.currentSelectDateIndex]["times"][a]["price"]+")"))]):e._e()],1),a===e.currentSelectTimeIndex?i("v-uni-view",{staticClass:"select-icon"},[i("v-uni-text",{staticClass:"tn-icon-success"})],1):e._e()],1)})),1)],1)],1)],1)},r=[]},4917:function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.card-switch[data-v-76f8ca85]{position:relative;width:100%;background-color:#fff;border-radius:%?15?%\n /* 顶部导航 start */\n /* 顶部导航 end */\n /* 内容区域 start */\n /* 内容区域 end */}.card-switch .top-nav[data-v-76f8ca85]{width:100%;display:flex}.card-switch .top-nav .nav-item[data-v-76f8ca85]{position:relative;flex:1;width:100%;font-weight:700;padding:%?20?%;font-size:%?26?%\n /* 被选中的导航 start */\n /* 被选中的导航 end */}.card-switch .top-nav .nav-item[data-v-76f8ca85]:first-child{border-top-left-radius:%?15?%}.card-switch .top-nav .nav-item[data-v-76f8ca85]:last-child{border-top-right-radius:%?15?%}.card-switch .top-nav .nav-item .select[data-v-76f8ca85]{position:absolute;left:0;bottom:0;background-color:#fff;width:100%;padding:%?30?%;border-radius:%?15?% %?15?% %?0?% %?0?%}.card-switch .content-wrapper[data-v-76f8ca85]{position:relative;width:100%;padding:%?30?%}',""]),e.exports=t},"495e":function(e,t,i){"use strict";i.r(t);var a=i("4372"),r=i("7d42");for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("ff5b");var o=i("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"e21e205a",null,!1,a["a"],void 0);t["default"]=s.exports},"4c84":function(e,t,i){var a=i("36b0");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("6490a72a",a,!0,{sourceMap:!1,shadowMode:!1})},"4d51":function(e,t,i){"use strict";i.r(t);var a=i("77b7"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},"4dd1":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.center-modal[data-v-e21e205a]{position:fixed;left:0;top:0;width:100vw;height:100vh;z-index:99998\n /* mask */\n /* wrapper */\n /* close-btn */\n /* 标题 */\n /* 内容区域 */\n /* 操作按钮 */}.center-modal__mask[data-v-e21e205a]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;-webkit-animation:showMask-data-v-e21e205a .25s ease .1s forwards;animation:showMask-data-v-e21e205a .25s ease .1s forwards}.center-modal__wrapper[data-v-e21e205a]{position:absolute;left:50%;top:50%;width:80%;background-color:#fff;border-radius:%?15?%;padding:%?40?%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0);-webkit-animation:showWrapper-data-v-e21e205a .25s ease .1s forwards;animation:showWrapper-data-v-e21e205a .25s ease .1s forwards;z-index:99999}.center-modal__wrapper.no-padding[data-v-e21e205a]{padding:%?0?%}.center-modal__close-btn[data-v-e21e205a]{position:absolute;top:%?30?%;right:%?30?%;z-index:99999}.center-modal__title[data-v-e21e205a]{position:absolute;top:%?30?%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:%?38?%}.center-modal__content[data-v-e21e205a]{position:relative;width:100%;margin-top:%?60?%}.center-modal__content.no-top[data-v-e21e205a]{margin-top:%?0?%}.center-modal__operation-btn[data-v-e21e205a]{margin-top:%?40?%;display:flex;align-items:center}.center-modal__operation-btn .cancel-btn[data-v-e21e205a], .center-modal__operation-btn .confirm-btn[data-v-e21e205a]{flex:1;padding:%?20?%;border-radius:%?15?%;display:flex;align-items:center;justify-content:center}.center-modal__operation-btn .cancel-btn[data-v-e21e205a]{margin-right:%?20?%;background-color:#f3f2f7}@-webkit-keyframes showMask-data-v-e21e205a{0%{opacity:0}100%{opacity:1}}@keyframes showMask-data-v-e21e205a{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes showWrapper-data-v-e21e205a{0%{-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}100%{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}}@keyframes showWrapper-data-v-e21e205a{0%{-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}100%{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}}',""]),e.exports=t},5755:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("64aa"),i("fd3c"),i("8f71"),i("bf0f"),i("aa9c"),i("bd06"),i("5c47"),i("af8f"),i("c223");var r=a(i("dc1f")),n=a(i("e456")),o={props:{value:{type:Boolean,default:!1},data:{type:Array,default:function(){return[]}},defaultValue:{type:String,default:""},spellrice:{type:Number,default:0}},components:{BottomModal:n.default},mixins:[r.default],data:function(){return{showSelectModal:!1,dateData:[],timeData:[],currentSelectDateIndex:-1,currentSelectTimeIndex:-1}},computed:{},watch:{value:{handler:function(e){this.showSelectModal=e,e&&(this._resetData(),this.splitData())},immediate:!0}},methods:{handleDateSelectEvent:function(e){this.currentSelectDateIndex=e,this.currentSelectTimeIndex=-1},handleTimeSelectEvent:function(e){this.currentSelectTimeIndex=e,this.timeConfirmEvent()},splitData:function(){var e=this;this.data&&this.data.length>0&&(this.dateData=this.data.filter((function(e){return e.times&&e.times.length>0})).map((function(t){return e.timeData.push(t.times.map((function(e){return e.time}))),t.date})),this.setDefaultSelectTimeValue())},setDefaultSelectTimeValue:function(){var e=this;if(this.defaultValue){var t=this.dateData.findIndex((function(t){return-1!=e.defaultValue.search(t)}));if(-1!=t){this.currentSelectDateIndex=t;var i=this.timeData[t].findIndex((function(t){return-1!=e.defaultValue.search(t)}));-1!=i&&(this.currentSelectTimeIndex=i)}if(1==this.spellrice){var a=this.defaultValue.split(" ")[0],r=this.defaultValue.split(" ")[1].split("-")[1],n="".concat(a," ").concat(r);console.log("newTimeValue",n);var o=this.timeData[this.currentSelectDateIndex].findIndex((function(e){return-1!=n.search(e)}));-1!=o&&(this.currentSelectTimeIndex=o)}}},handleModalClose:function(){this.$emit("input",!1),this.$emit("close")},timeConfirmEvent:function(){var e="".concat(this.dateData[this.currentSelectDateIndex]," ").concat(this.timeData[this.currentSelectDateIndex][this.currentSelectTimeIndex]);this.$emit("confirm",{value:e,date:this.dateData[this.currentSelectDateIndex],timeIndex:this.currentSelectTimeIndex}),this.handleModalClose()},_resetData:function(){this.dateData=[],this.timeData=[],this.currentSelectDateIndex=-1,this.currentSelectTimeIndex=-1}}};t.default=o},"57d9":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("bottom-modal",{attrs:{"close-btn":!1,"no-padding":!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.handleModalClose.apply(void 0,arguments)}},model:{value:e.showSelectModal,callback:function(t){e.showSelectModal=t},expression:"showSelectModal"}},[i("v-uni-view",{staticClass:"header-title tn-color-black theme-selectTime-head",style:[e.themeBtnStyle],on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.test.apply(void 0,arguments)}}},[e._v("请选择上门服务时间")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-scroll-view",{staticClass:"date-scroll",attrs:{"scroll-x":!0}},[i("v-uni-view",{staticClass:"date"},e._l(e.weekArray,(function(t,a){return i("v-uni-view",{staticClass:"week-value tn-flex tn-flex-column tn-padding-xs tn-margin-xs tn-flex-col-center tn-flex-row-center date-item",class:e.weekValue===t.time?"select":"",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.setKeyValue("weekValue",t.time)}}},[i("v-uni-text",{staticClass:"tn-text-lg"},[e._v(e._s(t.value))]),i("v-uni-text",{staticClass:"tn-text-sm"},[e._v(e._s(t.label))])],1)})),1)],1),i("v-uni-view",{staticClass:"day_times"},[i("v-uni-view",{staticClass:"left",class:1===e.half?"active":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.setKeyValue("half",1)}}},[i("v-uni-text",[e._v("00:00-11:59")])],1),i("v-uni-view",{staticClass:"right",class:2===e.half?"active":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.setKeyValue("half",2)}}},[i("v-uni-text",[e._v("12:00-23:59")])],1)],1),i("v-uni-view",{staticClass:"times"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"time-select-content"},e._l(e.timesArr,(function(t,a){return i("v-uni-view",{key:a,staticClass:"time-item-box",class:[{select:t.time==e.currentSelectTime},{noPick:0===t.status}],on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.handleTimeSelectEvent(t,a)}}},[i("v-uni-text",[e._v(e._s(t.time))]),0===t.status?i("v-uni-text",[e._v("不可约")]):e._e(),1===t.status?i("v-uni-text",[e._v("可约")]):e._e()],1)})),1)],1)],1)],1)],1)},r=[]},"58d9":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.content[data-v-25ac657e]{min-height:%?500?%;width:100%;display:flex;flex-direction:column}.content .date-scroll[data-v-25ac657e]{width:100%;height:%?100?%;display:flex;flex-direction:row;align-items:center;overflow-x:auto;white-space:nowrap}.content .date-scroll .date[data-v-25ac657e]{display:flex;flex-direction:row;align-items:center;overflow-x:auto}.content .date-scroll .date .date-item[data-v-25ac657e]{width:%?120?%;height:%?100?%;display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0}.content .date-scroll .date .date-item.select[data-v-25ac657e]{background-color:#fff;color:#ff791a!important}.content .day_times[data-v-25ac657e]{width:100%;height:%?100?%;margin-top:%?20?%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-size:%?36?%;font-weight:bolder}.content .day_times .left[data-v-25ac657e]{color:#999;text-align:center;flex:1;border-right:%?1?% solid #f3f2f7}.content .day_times .right[data-v-25ac657e]{color:#999;text-align:center;flex:1}.content .day_times .active[data-v-25ac657e]{color:#ff791a}.content .times[data-v-25ac657e]{width:100%;height:%?500?%;display:flex;flex-direction:column}.content .times .scroll-view .time-select-content[data-v-25ac657e]{display:grid;grid-template-columns:repeat(3,1fr);justify-content:flex-start}.content .times .scroll-view .time-select-content .time-item-box[data-v-25ac657e]{width:%?200?%;height:%?100?%;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:%?10?%;background-color:#f5f5f5;margin-top:%?20?%;margin-left:%?20?%}.content .times .scroll-view .time-select-content .time-item-box.select[data-v-25ac657e]{color:#ff791a;border:1px solid #ff791a;background-color:rgba(255,121,26,.05)}.header-title[data-v-25ac657e]{padding:%?20?%;font-size:%?32?%}.noPick[data-v-25ac657e]{color:#d6d6d6!important}',""]),e.exports=t},"5f30":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("64aa");var r=a(i("dc1f")),n={props:{value:{type:Number,default:0},navData:{type:Array,default:function(){return[]}}},mixins:[r.default],data:function(){return{}},computed:{navCount:function(){return this.navData.length},navItemStyle:function(){var e=this;return function(t){var i={backgroundColor:"var(--theme-subOrder-OpacityBg)"};return e.navCount>1&&(t===e.value+1&&(i.borderBottomLeftRadius="30rpx"),t===e.value-1&&(i.borderBottomRightRadius="30rpx")),i}}},methods:{navSwitchEvent:function(e,t){this.value!==e&&(this.$emit("input",e),this.$emit("change",e),this.$emit("changeexpress",{index:e,item:t}))}}};t.default=n},6819:function(e,t,i){"use strict";i.r(t);var a=i("44f0"),r=i("f1a0");for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("9926");var o=i("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"75b1e056",null,!1,a["a"],void 0);t["default"]=s.exports},"69a5":function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var a={loading:i("8c27").default,deliveryTime:i("7ab6").default,tnImageUploadDrag:i("58eb").default,tnModal:i("c9f6").default},r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("custom-page",{attrs:{"custom-navbar":!0,"transparent-navbar":!0,"wrapper-bg-color":"#F3F2F7"}},[e.loadingShow?i("loading"):e._e(),i("v-uni-view",{staticClass:"theme-submit-order"},[i("v-uni-view",{staticClass:"top-bg theme-submit-order-topbg"}),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"order-type"},[e.isShowAddress?i("card-switch",{attrs:{"nav-data":e.orderTypeModeData},on:{changeexpress:function(t){arguments[0]=t=e.$handleEvent(t),e.orderTypeSwitchChangeEvent.apply(void 0,arguments)}},model:{value:e.orderTypeIndex,callback:function(t){e.orderTypeIndex=t},expression:"orderTypeIndex"}},[1==e.storeInfo.express_open&&1==e.is_express?i("v-uni-view",{staticClass:"order-type__delivery"},[i("v-uni-view",{staticClass:"address-info tn-flex-row-center",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.selectAddress.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"icon tn-cool-bg-13 tn-flex-center"},[i("v-uni-text",{staticClass:"tn-icon-location-fill"})],1),e.deliveryInfo.delivery.address?i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"address"},[e._v(e._s(e.deliveryInfo.delivery.address))]),i("v-uni-view",{staticClass:"customer"},[e._v(e._s(e.deliveryInfo.delivery.username)+"\n\t\t\t\t\t\t\t\t\t"+e._s(e.deliveryInfo.delivery.mobile))])],1):i("v-uni-view",{staticClass:"info tn-color-gray"},[e._v("请选择收货地址")])],1)],1):i("v-uni-view",[1==e.is_clothes?i("v-uni-view",{staticClass:"address-info"},[i("v-uni-view",{staticClass:"address-item-clothes",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.selectClothesAddress("accept")}}},[i("v-uni-view",{staticClass:"tn-flex-center"},[i("v-uni-text",{staticStyle:{padding:"5px","margin-right":"11px","background-color":"#3791f7","border-radius":"8px",color:"#fff"}},[e._v("取")])],1),i("v-uni-view",{staticStyle:{width:"100%",display:"flex","justify-content":"space-between","align-items":"center"}},[e.deliveryInfo.delivery.address?i("v-uni-view",[i("v-uni-view",[e._v(e._s(e.deliveryInfo.delivery.address))]),i("v-uni-view",{staticClass:"tn-color-gray"},[e._v(e._s(e.deliveryInfo.delivery.username)),i("v-uni-text",{staticClass:"tn-margin-left-xs"},[e._v(e._s(e.deliveryInfo.delivery.mobile))])],1)],1):i("v-uni-view",{staticClass:"tn-color-gray"},[i("span",[e._v("请选择地址")])]),i("v-uni-view",{staticClass:"tn-color-gray"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1)],1),1==e.is_show_send_address?i("v-uni-view",{staticClass:"address-item-clothes",staticStyle:{"margin-top":"20rpx"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.selectClothesAddress("send")}}},[i("v-uni-view",{staticClass:"tn-flex-center"},[i("v-uni-text",{staticStyle:{padding:"5px","margin-right":"11px","background-color":"#f79f33","border-radius":"8px",color:"#fff"}},[e._v("送")])],1),i("v-uni-view",{staticStyle:{width:"100%",display:"flex","justify-content":"space-between","align-items":"center"}},[e.deliveryInfo.sendAddress.address?i("v-uni-view",[i("v-uni-view",[e._v(e._s(e.deliveryInfo.sendAddress.address))]),i("v-uni-view",{staticClass:"tn-color-gray"},[e._v(e._s(e.deliveryInfo.sendAddress.username)),i("v-uni-text",{staticClass:"tn-margin-left-xs"},[e._v(e._s(e.deliveryInfo.sendAddress.mobile))])],1)],1):i("v-uni-view",{staticClass:"tn-color-gray"},[e._v("请选择地址")]),i("v-uni-view",{staticClass:"tn-color-gray"},[i("v-uni-text",{staticClass:"tn-icon-right"})],1)],1)],1):e._e(),e.isShowTime||1!=e.storeInfo.is_room_service_open?e._e():i("v-uni-view",{staticClass:"delivery-time tn-flex-center-between",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.chooseTime("delivery")}}},[i("v-uni-view",{staticClass:"title",staticStyle:{flex:"1"}},[e._v(e._s(e.time_title))]),i("v-uni-view",{staticClass:"value tn-color-orange",class:[e.redStyle?"redstyle":""],staticStyle:{flex:"4",display:"flex","justify-content":"space-between","align-items":"center"}},[i("v-uni-text",[e._v(e._s(e.room_service_time_text))]),i("v-uni-text",{staticClass:"tn-margin-left-xs tn-icon-right tn-color-gray"})],1)],1)],1):[1,3].includes(e.storeInfo.deliveryType)&&0===e.orderTypeIndex?i("v-uni-view",{staticClass:"order-type__delivery"},[i("v-uni-view",{staticClass:"address-info tn-flex-row-center",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.selectAddress.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"icon tn-cool-bg-13 tn-flex-center"},[i("v-uni-text",{staticClass:"tn-icon-location-fill"})],1),e.deliveryInfo.delivery.address?i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"address"},[e._v(e._s(e.deliveryInfo.delivery.address))]),i("v-uni-view",{staticClass:"customer"},[e._v(e._s(e.deliveryInfo.delivery.username)+"\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.deliveryInfo.delivery.mobile))])],1):i("v-uni-view",{staticClass:"info tn-color-gray"},[e._v("请选择地址")])],1),e.isShowTime||1==e.storeInfo.is_room_service_open?e._e():i("v-uni-view",{staticClass:"delivery-time tn-flex-center-between",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.chooseTime("delivery")}}},[1==e.optionsData.spellrice?i("v-uni-view",{staticClass:"title"},[e._v("拼饭起送时间")]):i("v-uni-view",{staticClass:"title"},[e._v(e._s(e.time_title))]),1==e.optionsData.spellrice?i("v-uni-view",{staticClass:"value tn-color-orange theme-submit-order-time"},[e._v(e._s(e.deliveryInfo.pinfan.time)),i("v-uni-text",{staticClass:"tn-margin-left-xs tn-icon-right tn-color-gray"})],1):i("v-uni-view",{staticClass:"value tn-color-orange",class:[e.redStyle?"redstyle":""]},[e._v(e._s(e.deliveryInfo.delivery.deliveryTime)),i("v-uni-text",{staticClass:"tn-margin-left-xs tn-icon-right tn-color-gray"})],1)],1),e.isShowTime||1!=e.storeInfo.is_room_service_open?e._e():i("v-uni-view",{staticClass:"delivery-time tn-flex-center-between",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.chooseTime("delivery")}}},[i("v-uni-view",{staticClass:"title",staticStyle:{flex:"1"}},[e._v(e._s(e.time_title))]),i("v-uni-view",{staticClass:"value tn-color-orange",class:[e.redStyle?"redstyle":""],staticStyle:{flex:"4",display:"flex","justify-content":"space-between","align-items":"center"}},[i("v-uni-text",[e._v(e._s(e.room_service_time_text))]),i("v-uni-text",{staticClass:"tn-margin-left-xs tn-icon-right tn-color-gray"})],1)],1),e.isShowTime?i("v-uni-view",{staticClass:"delivery-time"},[1==e.optionsData.spellrice?i("v-uni-view",{staticClass:"title"},[e._v("选择拼饭起送时间")]):i("v-uni-view",{staticClass:"title tn-margin-bottom-xs"},[e._v("选择配送时间3")]),i("deliveryTime",{on:{changClick:function(t){arguments[0]=t=e.$handleEvent(t),e.changTime.apply(void 0,arguments)}}})],1):e._e(),""!=e.special_delivery_status?i("v-uni-view",{staticStyle:{"font-size":"28rpx",color:"#FFCA28","font-weight":"700","margin-top":"10rpx"}},[e._v(e._s(e.special_delivery_status))]):e._e()],1):i("v-uni-view",{staticClass:"order-type__in-store"},[i("v-uni-view",{staticClass:"address-info tn-flex-row-center"},[i("v-uni-view",{staticClass:"icon tn-cool-bg-13 tn-flex-center"},[i("v-uni-text",{staticClass:"tn-icon-location-fill"})],1),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"address"},[e._v(e._s(e.is_api_shop?e.store_address:e.storeInfo.address))])],1)],1),1!=e.optionsData.spellrice?i("v-uni-view",{staticClass:"delivery-time tn-flex-center-between",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.chooseTime("inStore")}}},[i("v-uni-view",{staticClass:"title"},[e._v("自取时间")]),i("v-uni-view",{staticClass:"value tn-color-orange"},[e._v(e._s(e.deliveryInfo.inStore.deliveryTime)),i("v-uni-text",{staticClass:"tn-margin-left-xs tn-icon-right tn-color-gray"})],1)],1):i("v-uni-view",{staticClass:"delivery-time tn-flex-center-between",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.chooseTime("inStore")}}},[i("v-uni-view",{staticClass:"title"},[e._v("自取时间")]),i("v-uni-view",{staticClass:"value tn-color-orange"},[e._v(e._s(e.deliveryInfo.pinfan.time)),i("v-uni-text",{staticClass:"tn-margin-left-xs tn-icon-right tn-color-gray"})],1)],1),i("v-uni-view",{staticClass:"mobile-info tn-bg-gray--light tn-flex-row-center"},[i("v-uni-view",{staticClass:"title tn-color-red"},[e._v("预留电话")]),i("v-uni-view",{staticClass:"value tn-color-black"},[i("v-uni-input",{staticClass:"input",attrs:{type:"number",placeholder:"请输入预留电话号码"},model:{value:e.deliveryInfo.inStore.mobile,callback:function(t){e.$set(e.deliveryInfo.inStore,"mobile",t)},expression:"deliveryInfo.inStore.mobile"}})],1)],1)],1)],1)],1):e._e()],1),1==e.is_express?i("v-uni-view",[i("SubmitExpressOrder",{ref:"SubmitExpressOrder",attrs:{is_express:e.is_express,optionsData:e.optionsData,currentSelectAddressId:e.currentSelectAddressId},on:{hideAddress:function(t){arguments[0]=t=e.$handleEvent(t),e.handleHideAddress.apply(void 0,arguments)}}})],1):i("v-uni-view",{staticClass:"wrapper",staticStyle:{padding:"0"}},["到店自取"===e.orderTypeModeSelectCn?i("v-uni-view",{staticClass:"in-store-type"},[i("v-uni-view",{staticClass:"btn tn-flex-center",class:[{select:0===e.inStoreOrderTypeIndex,noselect:2==e.storeInfo.selfpickup_type}],style:[e.inStoreOrderTypeBtnStyle(0)],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.switchInStoreModeEvent(0)}}},[e._v("打包带走")]),i("v-uni-view",{staticClass:"btn tn-flex-center",class:[{select:1===e.inStoreOrderTypeIndex,noselect:1==e.storeInfo.selfpickup_type}],style:[e.inStoreOrderTypeBtnStyle(1)],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.switchInStoreModeEvent(1)}}},[e._v("店内用餐")])],1):e._e(),i("v-uni-view",{staticClass:"product-price-info"},[i("v-uni-view",{staticClass:"product-info"},[e.is_api_shop?i("v-uni-view",{staticClass:"store-name"},[i("v-uni-text",{staticClass:"tn-icon-shop tn-margin-right-xs"}),e._v(e._s(e.store_title))],1):i("v-uni-view",{staticClass:"store-name"},[i("v-uni-text",{staticClass:"tn-icon-shop tn-margin-right-xs"}),e._v(e._s(e.storeInfo.title))],1),i("v-uni-view",{staticClass:"product-list"},e._l(e.orderInfo.products,(function(t,a){return i("v-uni-view",{key:a},["88888"!=t.goods_id?i("v-uni-view",{staticClass:"product-item tn-bg-gray--light tn-color-black"},[i("v-uni-view",{staticClass:"item-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-1"},[t.discount_price0?i("v-uni-text",{staticStyle:{"margin-left":"5rpx","font-size":"18rpx"}},[e._v("(第"+e._s(t.discount_num)+"个开始恢复原价)")]):e._e()]:i("v-uni-text",[e._v(e._s(e.CurrencyUnit)+e._s(t.price))])],2),i("v-uni-view",{staticClass:"num"},[e._v("x"+e._s(t.num))])],1)],1)],1):e._e()],1)})),1)],1),i("v-uni-view",{staticClass:"price-info"},[e._l(e.orderInfo.extra_fee_detail,(function(t,a){return i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(t.name))]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(t.fee))])],1)})),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("商品总价"),e.cartData.discount_by_num_id>0&&e.cartData.discount_by_num_price>0?i("span",[e._v("(活动立减\n\t\t\t\t\t\t\t\t\t"+e._s(e.cartData.discount_by_num_price)+"元)")]):e._e()]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.orderPrice||0))])],1),0!==e.inStoreOrderTypeIndex&&0!==e.orderTypeIndex||!e.orderInfo.boxPrice?e._e():i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(e.box_price_cn))]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.boxPrice))])],1),0!==e.inStoreOrderTypeIndex&&0!==e.orderTypeIndex||!e.orderInfo.packingPrice?e._e():i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("打包费")]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.packingPrice))])],1),0!==e.inStoreOrderTypeIndex&&0!==e.orderTypeIndex||!e.orderInfo.packFee?e._e():i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(e.pack_fee_cn))]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.packFee))])],1),e.currentSelectAddressId&&e.orderInfo.deliveryFee>0&&2!==e.storeInfo.deliveryType&&0===e.orderTypeIndex?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("配送费")]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.deliveryFee))])],1):e._e(),0!==e.inStoreOrderTypeIndex&&0!==e.orderTypeIndex||!e.orderInfo.sysextra_fee?e._e():i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("平台附加费")]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.sysextra_fee))])],1),e._l(e.store_extra_fee_detail,(function(t,a){return[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(t.name))]),i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(t.fee))])],1)]})),e._l(e.activityList,(function(t,a){return["couponCollect"!==t.type&&"redPacket"!==t.type?i("v-uni-view",{key:a+"_0",staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(t.title))]),i("v-uni-view",{staticClass:"price tn-color-red"},[e._v(e._s(t.text))])],1):e._e()]}))],2),e.huangou_goods.length>0?[i("v-uni-view",{staticStyle:{width:"100%",height:"auto","background-color":"#fff","margin-top":"15rpx","border-radius":"11rpx",padding:"30rpx"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"40rpx",display:"flex","align-items":"center","justify-content":"flex-start","font-weight":"bold"}},[i("v-uni-text",{staticClass:"tn-icon-shopbag-fill",staticStyle:{"font-size":"48rpx",color:"#FFCA28","margin-right":"10rpx"}}),i("v-uni-text",[e._v("超值换购,最高可省"),i("v-uni-text",{staticStyle:{"font-size":"42rpx",color:"red"}},[i("v-uni-text",{staticStyle:{"font-size":"32rpx",color:"red"}},[e._v(e._s(e.CurrencyUnit))]),e._v(e._s(e.huangou_discount_price))],1)],1)],1),i("v-uni-scroll-view",{attrs:{"scroll-x":"true"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"auto",display:"flex","justify-content":"flex-start","flex-wrap":"nowrap"}},e._l(e.huangou_goods,(function(t,a){return i("v-uni-view",{staticStyle:{margin:"10rpx 4rpx","margin-top":"20rpx"}},[i("v-uni-text",{staticStyle:{position:"absolute",display:"inline-block",width:"110rpx",height:"40rpx","line-height":"40rpx","background-color":"#F15029","border-top-left-radius":"20rpx","border-bottom-right-radius":"20rpx","text-indent":"20rpx","font-size":"26rpx",color:"white"}},[e._v("省"+e._s(e.CurrencyUnit)+e._s(t.discount))]),i("v-uni-image",{staticStyle:{width:"214rpx",height:"214rpx","border-radius":"20rpx"},attrs:{src:t.image,mode:"aspectFill"}}),i("v-uni-view",[i("v-uni-text",{staticStyle:{overflow:"hidden",display:"-webkit-box","-webkit-line-clamp":"2","/* 设置最大显示行数 */-webkit-box-orient":"vertical","text-overflow":"ellipsis"}},[e._v(e._s(t.huangou_text))])],1),i("v-uni-view",{style:t.huangou_text.length<8?"margin-top:40rpx;":""},[i("v-uni-text",{staticStyle:{"font-size":"30rpx",color:"red","font-weight":"600"}},[i("v-uni-text",{staticStyle:{"font-size":"22rpx"}},[e._v(e._s(e.CurrencyUnit))]),e._v(e._s(t.discount_price))],1),i("v-uni-text",{staticStyle:{"text-decoration":"line-through","font-size":"20rpx",color:"#9B9B9B"}},[i("v-uni-text",[e._v(e._s(e.CurrencyUnit))]),e._v(e._s(t.old_price))],1),i("v-uni-text",{staticStyle:{display:"inline-block",width:"40rpx",height:"40rpx","background-color":"#F9CF2C","font-size":"40rpx","font-weight":"900","line-height":"40rpx","text-align":"center","border-radius":"10rpx",float:"right"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=e.$handleEvent(i),e.handleaddGoodsToCart(t)}}},[i("v-uni-text",[e._v("+")])],1)],1)],1)})),1)],1)],1)]:e._e(),e.virtuallyRedEnvelope&&e.virtuallyRedEnvelope.can_buy_meal_redpacket&&1==e.virtuallyRedEnvelope.is_show_in_order_page?[i("v-uni-view",{staticStyle:{width:"100%",height:"auto","background-color":"#fff","margin-top":"15rpx","border-radius":"11rpx",padding:"30rpx"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"40rpx",display:"flex","align-items":"center","justify-content":"flex-start","font-weight":"bold"}},[i("v-uni-text",{staticClass:"tn-icon-vip-fill",staticStyle:{"font-size":"48rpx",color:"#FFCA28","margin-right":"10rpx"}}),i("v-uni-text",[e._v("吃货会员红包")])],1),i("v-uni-view",{staticStyle:{width:"100%",height:"auto",display:"flex","align-items":"center","justify-content":"flex-start","flex-wrap":"wrap"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"60rpx",display:"flex","align-items":"center","justify-content":"flex-start"}},[e._v(e._s(e.virtuallyRedEnvelope.title))]),i("v-uni-view",{staticStyle:{width:"100%",height:"109rpx",display:"flex","justify-content":"space-between"}},[i("v-uni-view",{staticStyle:{width:"420rpx",height:"109rpx","background-repeat":"no-repeat","background-size":"100% 100%","background-image":"url('http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/tchbBg.png')",display:"flex","align-items":"center","justify-content":"center"}},[i("v-uni-view",{staticStyle:{width:"65%",height:"109rpx",display:"flex","align-items":"center","justify-content":"center",color:"#F74C37","font-weight":"bold","font-size":"35rpx"}},[e._v(e._s(e.virtuallyRedEnvelope.simple_discount_meal_redpackets_info.discount)+"元"),i("v-uni-text",{staticStyle:{"padding-left":"8rpx","padding-right":"8rpx"}},[e._v("X")]),e._v(e._s(e.virtuallyRedEnvelope.simple_discount_meal_redpackets_info.num)+"个")],1),i("v-uni-view",{staticStyle:{width:"35%",height:"109rpx",display:"flex","align-items":"center","justify-content":"center",color:"#fff"}},[e._v("无门槛")])],1),i("v-uni-view",{staticStyle:{width:"calc(100% - 450rpx)",height:"109rpx",display:"flex","align-items":"center","justify-content":"flex-end","font-size":"34rpx"}},[i("v-uni-text",{staticStyle:{color:"#e83a30","padding-right":"10rpx"}},[e._v(e._s(e.CurrencyUnit)+e._s(e.virtuallyRedEnvelope.new_person_price)),e.virtuallyRedEnvelope.new_person_price0?[i("v-uni-view",{staticStyle:{width:"100%",height:"auto","background-color":"#fff","margin-top":"15rpx","border-radius":"11rpx",padding:"30rpx"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"40rpx",display:"flex","align-items":"center","justify-content":"flex-start","font-weight":"bold"}},[i("v-uni-text",{staticClass:"tn-icon-vip-fill",staticStyle:{"font-size":"48rpx",color:"#FFCA28","margin-right":"10rpx"}}),i("v-uni-text",[e._v("吃霸王餐")])],1),i("v-uni-view",{staticStyle:{width:"100%",height:"auto",display:"flex","align-items":"center","justify-content":"flex-start","flex-wrap":"wrap"}},[i("v-uni-view",{staticStyle:{width:"100%",height:"109rpx",display:"flex","justify-content":"space-between"}},[i("v-uni-view",{staticStyle:{width:"100%",display:"flex","align-items":"center","justify-content":"flex-start"}},[e._v("充值消费"+e._s(e.rechargeFreChargeInfo.rechargeMul)+"倍("+e._s(e.CurrencyUnit)+e._s(e.recharge_exemption_price)+") 立享免单!")]),i("v-uni-view",{staticStyle:{width:"calc(100% - 450rpx)",height:"109rpx",display:"flex","align-items":"center","justify-content":"flex-end","font-size":"34rpx"}},[1==e.selectRechargeExemptionPrice?i("v-uni-text",{staticClass:"tn-icon-success-square-fill",staticStyle:{color:"#FFCA28"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.setRechargeExemptionPrice(0)}}}):i("v-uni-text",{staticClass:"tn-icon-square",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.setRechargeExemptionPrice(1)}}})],1)],1)],1)],1)]:e._e(),e.packageDataIndividual.length>0&&e.isDiscountExpired?i("v-uni-view",{staticClass:"super-affordable"},[i("v-uni-view",{staticStyle:{color:"#fff","border-radius":"12px 0",background:"linear-gradient(180deg, #F76700 0%, #FE3447 100%)",position:"absolute",top:"0",left:"0",padding:"8rpx 20rpx","font-size":"22rpx"}},[e._v("权益卡")]),i("v-uni-view",{staticClass:"super-affordable-body"},[i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[i("img",{staticStyle:{height:"30rpx",width:"30rpx"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/Frame1533211537.png",alt:""}}),i("v-uni-view",{staticStyle:{"font-size":"28rpx","margin-left":"10rpx"}},[e._v("钞食惠省钱卡")]),i("v-uni-view",{staticStyle:{"font-size":"22rpx",color:"#999"}},[e._v("(个人专享优惠)")])],1),e.is_takeout?i("v-uni-view",{staticStyle:{"font-size":"36rpx","font-weight":"600","margin-top":"20rpx"}},[e._v("使用省钱卡,本单再优惠"+e._s(Number((e.orderInfo.orderPrice-e.orderInfo.orderPrice*(Number(e.takeout_discount)/10)).toFixed(2)))+"元")]):e._e(),e.is_takeout?e._e():i("v-uni-view",{staticStyle:{"font-size":"36rpx","font-weight":"600","margin-top":"20rpx"}},[e._v("使用省钱卡,本单再优惠"+e._s(Number((e.orderInfo.orderPrice-e.orderInfo.orderPrice*(Number(e.in_store_discount)/10)).toFixed(2)))+"元")]),i("v-uni-scroll-view",{staticStyle:{"margin-top":"20rpx"},attrs:{"scroll-x":"true"}},[i("v-uni-view",{staticClass:"discounts"},e._l(e.packageDataIndividual,(function(t,a){return i("v-uni-view",{key:a,staticClass:"discountBox",class:e.selectDataIndexIndividual===t.id?"selectDataIndexIndividual":"",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.selectDiscountsIndividual(t.id)}}},[i("v-uni-view",{staticStyle:{"font-size":"28rpx"}},[e._v(e._s(t.month)+"个月")]),i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"},style:{color:e.selectDataIndexIndividual===t.id?"#FE3447":""}},[i("v-uni-text",[e._v(e._s(e.CurrencyUnit))]),i("v-uni-text",{staticStyle:{"font-size":"53rpx"}},[e._v(e._s(t.discountPrice))])],1),t.new_discount!=t.discountPrice?i("v-uni-view",{staticStyle:{"font-size":"24rpx",color:"#999","text-decoration":"line-through"}},[e._v(e._s(e.CurrencyUnit)+e._s(t.price))]):e._e(),t.price==t.discountPrice?i("v-uni-view",{staticStyle:{"font-size":"24rpx",color:"#999"}},[e._v("无折扣")]):e._e(),10!=t.new_discount?i("v-uni-view",{staticClass:"discountNumIndividual",style:{right:e.selectDataIndexIndividual===t.id?"-2px":"-0.5px"}},[e._v(e._s(t.new_discount)+"折优惠")]):e._e(),e.is_new&&1==t.month?i("v-uni-view",{staticClass:"discountNumIndividual",style:{right:e.selectDataIndexIndividual===t.id?"-2px":"-0.5px"}},[e._v("新用户首月9.9")]):e._e()],1)})),1)],1),i("v-uni-view",{staticStyle:{display:"flex","align-items":"center","justify-content":"space-between","margin-top":"20rpx"}},[i("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[i("img",{staticStyle:{height:"30rpx",width:"30rpx"},attrs:{src:"https://qny.wdsp666.com/福袋背景图/card/Frame1533211536.png",alt:""}}),i("v-uni-view",{staticStyle:{"font-size":"28rpx","margin-left":"10rpx"}},[e._v("企业卡")]),i("v-uni-view",{staticStyle:{"font-size":"22rpx",color:"#999"}},[e._v("(全体员工专享优惠)")])],1),i("v-uni-view",{staticStyle:{"font-size":"22rpx",color:"#999"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.navCard.apply(void 0,arguments)}}},[i("span",[e._v("查看详情")]),i("span",{staticClass:"tn-icon-right",staticStyle:{"margin-left":"10rpx"}})])],1)],1)],1):e._e(),i("v-uni-view",{staticClass:"discount-info"},[e.orderInfo.atOnceGoodsPrice>0?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("团购券")]),i("v-uni-view",{staticClass:"data tn-color-red"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderInfo.atOnceGoodsPrice))])],1):e._e(),i("v-uni-view",{staticClass:"item",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.selectCoupon.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"title"},[e._v("商家代金劵")]),-1===e.currentSelectCouponIndex?i("v-uni-view",{staticClass:"data",class:[e.couponData.length>0?"tn-color-red":"tn-color-gray"]},[e._v(e._s(0===e.couponData.length?"暂无可用代金劵":"有"+e.couponData.length+"张代金劵")),i("v-uni-text",{staticClass:"icon tn-icon-right tn-margin-left-xs"})],1):i("v-uni-view",{staticClass:"data tn-color-red"},[e._v("-"+e._s(e.CurrencyUnit)+e._s(e.couponData[e.currentSelectCouponIndex].discount)),i("v-uni-text",{staticClass:"icon tn-icon-right tn-margin-left-xs"})],1)],1),i("v-uni-view",{staticClass:"item",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.selectRedpacket.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"title"},[e._v("平台红包")]),-1===e.currentSelectRedpacketIndex?i("v-uni-view",{staticClass:"data",class:[e.redpacketData.length>0?"tn-color-red":"tn-color-gray"]},[e._v(e._s(0===e.redpacketData.length?"暂无可用红包":"有"+e.redpacketData.length+"个红包")),i("v-uni-text",{staticClass:"icon tn-icon-right tn-margin-left-xs"})],1):i("v-uni-view",{staticClass:"data tn-color-red"},[e._v("-"+e._s(e.CurrencyUnit)+e._s(e.redpacketData[e.currentSelectRedpacketIndex].discount)),i("v-uni-text",{staticClass:"icon tn-icon-right tn-margin-left-xs"})],1)],1)],1),i("v-uni-view",{staticClass:"total-price"},[i("v-uni-view",{staticClass:"title"},[e._v("合计")]),i("v-uni-view",{staticClass:"data tn-color-gray"},[i("v-uni-view",{staticClass:"sum"},[e._v("共计"+e._s(e.CurrencyUnit)+e._s(e.formatPrice(e.totalPrice)))]),i("v-uni-view",{staticClass:"discount"},[e._v("优惠"+e._s(e.CurrencyUnit)+e._s(e.formatPrice(e.discountPrice)))]),i("v-uni-view",{staticClass:"paid tn-color-black"},[e._v("实付"),i("v-uni-text",{staticClass:"tn-color-red",staticStyle:{"margin-left":"5rpx"}},[e._v(e._s(e.CurrencyUnit)+e._s(e.selectRechargeExemptionPrice?e.recharge_exemption_price||0:e.paidPrice||0))])],1)],1)],1)],2),2!=e.orderTypeIndex&&e.isShowMemberChoice&&e.surchargeFee.length>0&&1!=e.is_express?i("v-uni-view",{staticClass:"surcharge-fee"},e._l(e.surchargeFee,(function(t,a){return i("v-uni-view",{key:a,staticClass:"item",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.switchSurchargeFeeStatus(a)}}},[i("v-uni-view",{staticClass:"title"},[e._v(e._s(t.title))]),i("v-uni-view",{staticClass:"data"},[i("v-uni-view",{staticClass:"price"},[e._v(e._s(e.CurrencyUnit)+e._s(t.price))]),i("v-uni-view",{staticClass:"select tn-flex-center",class:[{"tn-bg-gray--disabled":!t.select}],style:[e.themeBtnStyle]},[i("v-uni-text",{staticClass:"icon tn-icon-success"})],1)],1)],1)})),1):e._e(),i("v-uni-view",{staticClass:"note"},[i("v-uni-view",{staticClass:"title"},[e._v("备注")]),i("v-uni-view",{staticClass:"data"},[e.remarkInput?i("v-uni-textarea",{staticClass:"textarea",attrs:{focus:e.remarkFocus,placeholder:"请输入备注","placeholder-class":"tn-color-gray"},on:{blur:function(t){arguments[0]=t=e.$handleEvent(t),e.remarkTextareaBlurEvent.apply(void 0,arguments)}},model:{value:e.orderInfo.note,callback:function(t){e.$set(e.orderInfo,"note",t)},expression:"orderInfo.note"}}):i("v-uni-view",{staticClass:"show-data",class:[{"tn-color-gray":!e.orderInfo.note}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.startInputRemarkData.apply(void 0,arguments)}}},[e._v(e._s(e.orderInfo.note||"请输入备注"))])],1)],1),e.storeInfo.is_room_service_open&&e.storeInfo.imageSet.length&&e.storeInfo.imageSet.length>0?i("v-uni-view",e._l(e.storeInfo.imageSet,(function(t,a){return i("v-uni-view",{staticClass:"note"},[i("v-uni-view",{staticClass:"title"},[1==t.require?i("v-uni-text",{staticClass:"tn-color-red"},[e._v("*")]):e._e(),e._v(e._s(t.title)+"\n\t\t\t\t\t\t\t(最多上传"+e._s(t.max)+"张)")],1),i("tn-image-upload-drag",{ref:e.imageUploadRef[a],refInFor:!0,attrs:{fileList:e.storeInfo.imageSet[a].fileList,action:e.action,maxCount:t.max,showProgress:!1,multiple:!1,width:230,height:230},on:{"on-success":function(t){arguments[0]=t=e.$handleEvent(t),e.successChange(t,a)},"on-remove":function(t){arguments[0]=t=e.$handleEvent(t),e.removeChange(t,a)}}})],1)})),1):e._e()],1),0==e.is_express?i("v-uni-view",{staticClass:"settle-bar tn-safe-area-inset-bottom"},[i("v-uni-view",{staticClass:"price-info"},[i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[e._v(e._s(e.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.selectRechargeExemptionPrice?e.recharge_exemption_price||0:e.paidPrice||0))])],1),i("v-uni-view",{staticClass:"discount tn-color-gray"},[e._v("已优惠"+e._s(e.CurrencyUnit)+e._s(e.formatPrice(e.discountPrice)))])],1),i("v-uni-view",{staticClass:"submit-btn theme-submit-order-submit-btnAct",class:[{"theme-submit-order-submit-btn":!e.isSubmitOrder}],style:{background:"var(--theme-general-color)",color:"var(--general-color-text)"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.submitOrder.apply(void 0,arguments)}}},[e._v("提交订单")])],1):e._e()],1),i("time-select-modal",{attrs:{data:e.timeRange,"default-value":e.defaultSelectTime,spellrice:e.optionsData.spellrice||0},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.handleChooseTimeModalConfirmEvent.apply(void 0,arguments)}},model:{value:e.showSelectTimeModal,callback:function(t){e.showSelectTimeModal=t},expression:"showSelectTimeModal"}}),i("room-service-time-select",{attrs:{data:e.storeInfo.appointment_times_arr,"default-value":e.defaultSelectTime},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.handleChooseRoomServiceTimeModalConfirmEvent.apply(void 0,arguments)}},model:{value:e.showRoomServiceSelectTimeModal,callback:function(t){e.showRoomServiceSelectTimeModal=t},expression:"showRoomServiceSelectTimeModal"}}),i("pay-select-modal",{attrs:{"order-id":e.orderId,"order-type":"takeout"},on:{success:function(t){arguments[0]=t=e.$handleEvent(t),e.successPayEvent.apply(void 0,arguments)},fail:function(t){arguments[0]=t=e.$handleEvent(t),e.failPayEvent.apply(void 0,arguments)},cancel:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelPayEvent.apply(void 0,arguments)}},model:{value:e.showSelectPayWayModal,callback:function(t){e.showSelectPayWayModal=t},expression:"showSelectPayWayModal"}}),i("pay-select-modal",{attrs:{"order-id":e.orderCardId,"order-type":"discount_card"},on:{success:function(t){arguments[0]=t=e.$handleEvent(t),e.successPayCardEvent.apply(void 0,arguments)},fail:function(t){arguments[0]=t=e.$handleEvent(t),e.failPayCardEvent.apply(void 0,arguments)},cancel:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelPayCardEvent.apply(void 0,arguments)}},model:{value:e.showSelectPayCardModal,callback:function(t){e.showSelectPayCardModal=t},expression:"showSelectPayCardModal"}}),i("redpacket-ticket-select",{attrs:{data:e.redpacketData},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleRedpacketClickEvent.apply(void 0,arguments)}},model:{value:e.showSelectRedpacketModal,callback:function(t){e.showSelectRedpacketModal=t},expression:"showSelectRedpacketModal"}},[i("v-uni-view",{attrs:{slot:"title"},slot:"title"},[e._v("请选择红包")])],1),i("redpacket-ticket-select",{attrs:{data:e.couponData},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleCouponClickEvent.apply(void 0,arguments)}},model:{value:e.showSelectCouponModal,callback:function(t){e.showSelectCouponModal=t},expression:"showSelectCouponModal"}},[i("v-uni-view",{attrs:{slot:"title"},slot:"title"},[e._v("请选择代金劵")])],1),i("address-select-modal",{attrs:{data:e.addressList,"default-address-id":e.currentSelectAddressId},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleAddressClickEvent.apply(void 0,arguments)},edit:function(t){arguments[0]=t=e.$handleEvent(t),e.addEditAddressEvent.apply(void 0,arguments)},add:function(t){arguments[0]=t=e.$handleEvent(t),e.addEditAddressEvent.apply(void 0,arguments)}},model:{value:e.showChooseAddressModal,callback:function(t){e.showChooseAddressModal=t},expression:"showChooseAddressModal"}}),i("address-select-modal",{attrs:{data:e.addressList,"default-address-id":e.currentSelectSendAddressId},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleSendAddressClickEvent.apply(void 0,arguments)},edit:function(t){arguments[0]=t=e.$handleEvent(t),e.addEditSendAddressEvent.apply(void 0,arguments)},add:function(t){arguments[0]=t=e.$handleEvent(t),e.addEditSendAddressEvent.apply(void 0,arguments)}},model:{value:e.showChooseSendAddressModal,callback:function(t){e.showChooseSendAddressModal=t},expression:"showChooseSendAddressModal"}}),i("center-modal",{attrs:{"cancel-text":"取消","confirm-text":"确认","wrapper-width":"80%"},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.showConcat=!1},cancel:function(t){arguments[0]=t=e.$handleEvent(t),e.showConcat=!1},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.handlePhoneNum.apply(void 0,arguments)}},model:{value:e.showConcat,callback:function(t){e.showConcat=t},expression:"showConcat"}},[i("v-uni-input",{staticClass:"input",attrs:{type:"number",placeholder:"请输入预留电话号码"},model:{value:e.deliveryInfo.inStore.mobile,callback:function(t){e.$set(e.deliveryInfo.inStore,"mobile",t)},expression:"deliveryInfo.inStore.mobile"}})],1),i("center-modal",{attrs:{"cancel-text":" ","confirm-text":" ","content-no-top":!0,"content-no-padding":!0,"wrapper-width":"90%"},model:{value:e.showChooseOptionsModal,callback:function(t){e.showChooseOptionsModal=t},expression:"showChooseOptionsModal"}},[i("v-uni-view",{staticClass:"spec-choose-modal",style:[{"--theme_bg_color":e.themeBgColor,"--theme_font_color":e.themeFontColor}]},[i("v-uni-view",{staticClass:"content-wrapper"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[e.options.length>0?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[e._v("规格")]),i("v-uni-view",{staticClass:"content-select"},e._l(e.options,(function(t,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{select:t.select}],style:[{"--theme-color":e.themeBgColor}],on:{click:function(i){i.stopPropagation(),arguments[0]=i=e.$handleEvent(i),e.chooseOptionEvent(a,t)}}},[i("v-uni-view",{staticClass:"item-title"},[e._v(e._s(t.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red"},[e._v(e._s(e.CurrencyUnit)+e._s(t.price))])],1)})),1)],1)]:e._e(),e.attrs.length>0?e._l(e.attrs,(function(t,a){return i("v-uni-view",{key:a,staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[e._v(e._s(t.title))]),i("v-uni-view",{staticClass:"content-select"},e._l(t.label,(function(t,r){return i("v-uni-view",{key:r,staticClass:"select-item tn-border-gray--light",class:[{select:t.select}],style:[{"--theme-color":e.themeBgColor}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.chooseAttrEvent(a,r)}}},[i("v-uni-view",{staticClass:"item-title"},[e._v(e._s(t.title))])],1)})),1)],1)})):e._e(),e.materials.length>0?[i("v-uni-view",{staticClass:"content-data"},[i("v-uni-view",{staticClass:"content-title tn-color-gray"},[e._v("加料")]),i("v-uni-view",{staticClass:"content-select"},e._l(e.materials,(function(t,a){return i("v-uni-view",{key:a,staticClass:"select-item tn-border-gray--light",class:[{select:t.select}],style:[{"--theme-color":e.themeBgColor}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.chooseMaterialEvent(a)}}},[i("v-uni-view",{staticClass:"item-title"},[e._v(e._s(t.title))]),i("v-uni-view",{staticClass:"item-price tn-color-red"},[e._v(e._s(e.CurrencyUnit)+e._s(t.price))])],1)})),1)],1)]:e._e()],2)],1),i("v-uni-view",{staticClass:"price-num-wrapper"},[i("v-uni-view",{staticClass:"price-value tn-flex-row-end"},[i("v-uni-view",{staticClass:"title"},[e._v("总计")]),i("v-uni-view",{staticClass:"price tn-color-red"},[i("v-uni-view",{staticClass:"unit"},[e._v(e._s(e.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.specPrice))])],1)],1),i("v-uni-view",{staticClass:"num-select"},[i("v-uni-view",{staticClass:"operation__add tn-flex-center"},[0!==e.specMax?[i("v-uni-view",{staticClass:"icon tn-icon-add tn-flex-center",attrs:{"hover-class":"tn-btn-hover-ani-class","hover-stay-time":150},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.handleMultiSpecAddEvent.apply(void 0,arguments)}}})]:[i("v-uni-view",{staticClass:"sold-out tn-color-gray"},[e._v("已售完")])]],2)],1)],1)],1)],1),i("tn-modal",{attrs:{custom:!0,zIndex:999999},model:{value:e.showCard,callback:function(t){e.showCard=t},expression:"showCard"}},[i("v-uni-view",{staticStyle:{"text-align":"center"}},[i("v-uni-view",{staticStyle:{"font-size":"36rpx"}},[e._v("是否购买超实惠省钱卡")]),i("v-uni-view",{staticStyle:{display:"flex","align-items":"center","justify-content":"space-between","margin-top":"40rpx","font-size":"20rpx"}},[i("v-uni-view",{staticStyle:{width:"46%",padding:"20rpx 0",background:"#dadada","border-radius":"88px"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeCard.apply(void 0,arguments)}}},[e._v("取消")]),i("v-uni-view",{staticStyle:{width:"46%",padding:"20rpx 0",background:"var(--theme-general-color)","border-radius":"88px"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}}},[e._v("确认")])],1)],1)],1)],1)],1)},n=[]},"6d7a":function(e,t,i){var a=i("4917");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("395eb334",a,!0,{sourceMap:!1,shadowMode:!1})},7341:function(e,t,i){"use strict";i.r(t);var a=i("bd34"),r=i("a16a");for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("f993e");var o=i("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"76f8ca85",null,!1,a["a"],void 0);t["default"]=s.exports},7497:function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.item-mod[data-v-5163c5ad]{padding:%?20?%;border-radius:%?20?%;border:1px solid #d4d4d4;margin-right:%?20?%}',""]),e.exports=t},"76f3":function(e,t,i){var a=i("97c6");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("06a0b6cc",a,!0,{sourceMap:!1,shadowMode:!1})},"77b7":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(i("39d8")),n=a(i("b7c7"));i("bd06"),i("aa9c"),i("bf0f"),i("2797"),i("64aa"),i("473f"),i("8f71"),i("c223"),i("f7a5"),i("5c47"),i("a1c1"),i("4626"),i("fd3c"),i("aa77"),i("dc8a"),i("d4b5"),i("0506"),i("dd2b");var o,s=a(i("dc1f")),d=a(i("7ab6")),c=a(i("7341")),l=a(i("34cae")),u=a(i("bbf7")),p=a(i("6819")),f=a(i("e9ee")),v=a(i("95b1")),h=a(i("bba3")),m=i("af51"),_=i("ba1f"),g=i("cf41"),y=i("815c"),b=i("f9ce"),x=i("d240"),w=a(i("8c27")),I=i("9d0a"),C=i("419c"),k=a(i("cb6a")),S=a(i("ae59")),E=a(i("495e")),T=i("ade3"),A=i("262c"),D=i("a69d"),P=i("26bf"),O=(i("9897"),i("78b4")),M=i("1e2b"),B=i("e0a2"),z={components:{CardSwitch:c.default,CenterModal:E.default,TimeSelectModal:p.default,deliveryTime:d.default,PaySelectModal:l.default,RedpacketTicketSelect:u.default,AddressSelectModal:f.default,loading:w.default,SubmitExpressOrder:v.default,RoomServiceTimeSelect:h.default},mixins:[s.default],data:function(){return{showConcat:!1,showChooseOptionsModal:!1,type:"",options:[],attrs:[],materials:[],isShowTime:0,optionsData:{sid:"",from:"",fromzhitong:0,spellrice:"",spellrice_oid:0,spellrice_id:0,cart_ids:0,jielong_id:0},isLogin:!0,isLoadData:!1,orderTypeIndex:0,inStoreOrderTypeIndex:1,remarkInput:!1,remarkFocus:!1,deliveryInfo:{delivery:{address:"",username:"",mobile:"",deliveryTime:""},inStore:{mobile:"",deliveryTime:""},pinfan:{time:"",spellrice_time:""},sendAddress:{address:"",username:"",mobile:"",deliveryTime:""}},storeInfo:{title:"",address:"",deliveryType:0,deliveryMode:0,goodsType:0,isRest:0,isInBusiness:0,deliveryPrice:0,deliveryFeeMode:1,express_open:0},orderInfo:{products:[],boxPrice:0,packingPrice:0,deliveryFee:0,packFee:0,totalPrice:0,discountPrice:0,paidPrice:0,sysextra_fee:0,send_price:0,note:"",deliveryTimes:{}},currTimeId:0,discountPrice:0,totalPrice:0,orderSubmitInfo:{redpacketId:0,couponId:0,memberChoice:[],predictDayCn:"",predictIndex:0},activityList:[],redpacketData:[],couponData:[],surchargeFee:[],timeRange:[],isShowMemberChoice:!1,showSelectTimeModal:!1,defaultSelectTime:"",selectTimeType:"",showSelectPayWayModal:!1,showSelectRedpacketModal:!1,showSelectCouponModal:!1,currentSelectAddressId:"",currentSelectSendAddressId:"",showChooseSendAddressModal:!1,addressList:[],showChooseAddressModal:!1,orderId:0,isSubmit:!1,loadingShow:!1,isShowSub:!1,spellrice:{},isShowAddress:!0,redStyle:!1,virtuallyRedEnvelope:"",selectJlIndex:-1,selectTcIndex:-1,pre_mealredpacket_:"",buy_mealredpacket:0,pre_add_mealredpacket_:"",buy_add_mealredpacket:0,purchaseRedEnvelopePrice:0,tuangouquan_id:0,store_extra_fee_detail:[],huangou_discount_price:0,huangou_goods:[],huangou_goods_item:{},is_express:0,cartData:{discount_by_num_price:null,discount_by_num_id:null},is_api_shop:!1,brand:"",storeCode:"",store_title:"",store_address:"",store_logo:"",store_lat:"",store_lng:"",pack_fee_cn:"包装费",box_price_cn:"餐盒费",time_title:"配送时间",showRoomServiceSelectTimeModal:!1,room_service_time_text:"",room_service_params:null,recharge_exemption_price:0,selectRechargeExemptionPrice:0,rechargeFreChargeInfo:{status:!1,rechargeMul:1},showRechargeExemptionPrice:!0,is_mall:0,use_tuangouquan_place_order_at_once_id:0,is_clothes:0,is_show_send_address:0,action:"".concat(B.BASE_URL,"api/upload/image"),isSetImage:!1,imageSet:[],selectDataIndexIndividual:null,is_new:!1,packageDataIndividual:[],showCard:!1,orderCardId:null,showSelectPayCardModal:!1,isDiscountExpired:!1,is_takeout:-1,takeout_discount:10,in_store_discount:10,is_card:0,storeDiscountData:[],finalDeliveryType:null,special_delivery_status:""}},computed:{inStoreOrderTypeBtnStyle:function(){var e=this;return function(t){var i={};return i.color=e.themeFontColor,t===e.inStoreOrderTypeIndex?i.backgroundColor=e.$isTheme()?"var(--theme-general-color)":e.themeBgColor:i.borderColor=e.$isTheme()?"var(--theme-general-color)":e.themeBgColor,i}},currentSelectRedpacketIndex:function(){var e,t=-1;return(null===(e=this.redpacketData)||void 0===e?void 0:e.length)>0&&(t=this.redpacketData.findIndex((function(e){return!0===e.select})),-1!=t&&(this.orderSubmitInfo.redpacketId=this.redpacketData[t].id)),t},currentSelectCouponIndex:function(){var e,t=-1;return(null===(e=this.couponData)||void 0===e?void 0:e.length)>0&&(t=this.couponData.findIndex((function(e){return!0===e.select})),-1!=t&&(this.orderSubmitInfo.couponId=this.couponData[t].id)),t},orderTypeModeData:function(){var e=this;console.log(this.storeInfo.deliveryType);var t=[];if(0!=this.storeInfo.deliveryType)switch(this.storeInfo.deliveryType){case 2:t=[4===this.storeInfo.goodsType?"到店消费":"堂食用餐","打包带走"],0==this.storeInfo.selfpickup_type?t=["堂食用餐","打包带走"]:1==this.storeInfo.selfpickup_type?(t=["打包带走"],this.inStoreOrderTypeIndex=0,this.getPageData()):2==this.storeInfo.selfpickup_type&&(t=["堂食用餐"]);break;case 3:0==this.storeInfo.selfpickup_type?t=1===this.storeInfo.deliveryMode?["商家自送","堂食用餐","打包带走"]:["骑手配送","堂食用餐","打包带走"]:1==this.storeInfo.selfpickup_type?t=1===this.storeInfo.deliveryMode?["商家自送","打包带走"]:["骑手配送","打包带走"]:2==this.storeInfo.selfpickup_type&&(t=1===this.storeInfo.deliveryMode?["商家自送","堂食用餐"]:["骑手配送","堂食用餐"]);break;default:t=[1===this.storeInfo.deliveryMode?"商家自送":"骑手配送"];break}if(1==this.storeInfo.express_open&&t.push("快递配送"),this.optionsData.jielong_id>0&&(this.is_express=1,t=["快递配送"]),this.is_mall&&(t=["快递配送"]),this.is_room_service_open&&this.room_service_tab_title&&t.forEach((function(i,a){"骑手配送"==i&&(t[a]=e.storeInfo.room_service_tab_title)})),null===this.finalDeliveryType){var i=t[0];i&&this.getFinalDeliveryTypeByText(i)}return t},orderTypeModeSelectCn:function(){return this.orderTypeModeData[this.orderTypeIndex]},paidPrice:function(){var e=Number(this.orderInfo.totalPrice),t=Number(this.orderInfo.discountPrice),i=this.orderInfo.paidPrice,a=Number(this.orderInfo.atOnceGoodsPrice);if(i+=a,this.surchargeFee.length>0){var r=this.surchargeFee.filter((function(e){return e.select})).reduce((function(e,t){return e+t.price}),0);i+=r}if(console.log(i,"priceprice"),this.rechargeFreChargeInfo.status&&(console.log(i,"priceprice"),this.recharge_exemption_price=(this.rechargeFreChargeInfo.rechargeMul*i).toFixed(2)),(2===this.storeInfo.deliveryType||2!==this.storeInfo.deliveryType&&1===this.orderTypeIndex)&&(i-=this.orderInfo.deliveryFee,e-=this.orderInfo.deliveryFee,1===this.inStoreOrderTypeIndex&&(i-=this.orderInfo.boxPrice+this.orderInfo.packFee+this.orderInfo.packingPrice,e-=this.orderInfo.boxPrice+this.orderInfo.packFee+this.orderInfo.packingPrice)),-1!==this.currentSelectRedpacketIndex){var n=this.redpacketData[this.currentSelectRedpacketIndex];i-=n.discount,t+=n.discount}if(-1!==this.currentSelectCouponIndex){var o=this.couponData[this.currentSelectCouponIndex];i-=o.discount,t+=o.discount}return this.totalPrice=e,this.discountPrice=t,(0,y.formatPrice)(i+this.purchaseRedEnvelopePrice)},isSubmitOrder:function(){var e;console.log(1);var t=!0;return 2!==this.storeInfo.deliveryType&&0===this.orderTypeIndex&&(this.currentSelectAddressId||(t=!1)),console.log(t),this.orderSubmitInfo.predictDayCn||(t=!1),"到店自取"!==this.orderTypeModeSelectCn||this.deliveryInfo.inStore.mobile||(t=!1),this.isShowSub&&(t=!1),"骑手配送"!==this.orderTypeModeSelectCn&&this.orderTypeModeSelectCn!=this.storeInfo.room_service_tab_title||0!=this.timeRange.length?this.redStyle=!1:(t=!1,this.deliveryInfo.delivery.deliveryTime="暂无可配送时间段",this.redStyle=!0),this.storeInfo.is_room_service_open&&this.storeInfo.room_service_tab_title&&(this.orderTypeModeSelectCn!==this.storeInfo.room_service_tab_title||this.room_service_time_text||(t=!1)),null===this.finalDeliveryType||(!this.is_clothes||null!==(e=this.room_service_params)&&void 0!==e&&e.date_time_text||(t=!1),console.log(t),t)},specPrice:function(){var e=0;return this.options.length>0?this.options.filter((function(e){return!0===e.select})).forEach((function(t){e+=t.price})):this.materials.length>0&&this.materials.filter((function(e){return!0===e.select})).forEach((function(t){!0===t.select&&(optionCn.push(t.title),e+=t.price)})),e},specOptionId:function(){var e="";if(this.options.length){var t=this.options.findIndex((function(e){return!0===e.select}));e+=-1===t?"0":"".concat(this.options[t].id)}return this.attrs.length>0&&(e.length>0&&(e+="_"),this.attrs.forEach((function(t,i){var a=t.label.findIndex((function(e){return!0===e.select}));e+="".concat(i,"s").concat(a,"v")})),e=e.slice(0,e.length-1)),this.materials.length>0&&(e.length>0&&(e+="_"),this.materials.forEach((function(t){!0===t.select&&(e+="".concat(t.id,"m1n"))})),e=e.slice(0,e.length-1)),0===this.options.length&&e.length>0&&(e="0_"+e),e}},watch:{orderTypeIndex:{handler:function(e){if(console.log("val",e),this.orderTypeModeData&&this.orderTypeModeData[e]){var t=this.orderTypeModeData[e];console.log("text",t),this.getFinalDeliveryTypeByText(t)}else console.log("orderTypeModeData 还没有赋值")},immediate:!0}},onLoad:function(e){var t=this,i=getApp();if(i.globalData.isAddAddress=!1,this.optionsData.sid=(null===e||void 0===e?void 0:e.sid)||"",(0,x.getSpecialDeliveryStatusApi)({sid:e.sid}).then((function(e){t.special_delivery_status=e.data})),this.optionsData.sid){(0,O.isShopBusinessApi)(this.optionsData.sid).then((function(e){0==e.length&&uni.showModal({title:"提示",content:"店铺未设置营业时间",showCancel:!1,success:function(e){e.confirm&&uni.navigateBack({delta:1,animationType:"pop-out",animationDuration:200})}})})),1===+e.orderType&&(this.orderTypeIndex=1),"poster_goods_mall"==e.orderType&&(this.is_mall=1),this.optionsData.from=(null===e||void 0===e?void 0:e.from)||"",this.optionsData.fromzhitong=(null===e||void 0===e?void 0:e.fromzhitong)||0,this.optionsData.spellrice=(null===e||void 0===e?void 0:e.spellrice)||0,this.optionsData.spellrice_oid=(null===e||void 0===e?void 0:e.spellrice_oid)||0,this.optionsData.spellrice_id=(null===e||void 0===e?void 0:e.spellrice_id)||0,this.optionsData.jielong_id=(null===e||void 0===e?void 0:e.jielong_id)||0,console.log(this.optionsData.jielong_id,"this.optionsData.jielong_id"),this.type=(null===e||void 0===e?void 0:e.type)||"";var a=(0,A.getSubmitOrderChooseAddressId)();if(a&&(this.currentSelectAddressId=a),e.brand&&e.storeCode){this.brand=e.brand,this.storeCode=e.storeCode;var r=uni.getStorageSync(this.brand+"_storeName")||"";r&&(r=r.replace("瑞幸咖啡","小鹿咖啡代购")),this.store_title=r||"",this.store_logo=uni.getStorageSync(this.brand+"_storeImage")||"",this.store_address=uni.getStorageSync(this.brand+"_address")||"",this.store_lat=uni.getStorageSync(this.brand+"_lat")||"",this.store_lng=uni.getStorageSync(this.brand+"_lng")||""}e.use_tuangouquan_place_order_at_once_id&&(this.use_tuangouquan_place_order_at_once_id=e.use_tuangouquan_place_order_at_once_id),this.getAddressList(),this.getRedEnvelope(),this.getCutInfo(),this.getCardList(),this.getMemberCenterInfo(),this.storeDiscount()}else(0,I.showModal)({title:"提示",content:"缺少参数",callback:function(){(0,C.navBack)()}})},onShow:function(){var e=this;(0,b.checkUserIsLogin)().then((function(){e.isLogin&&!e.isLoadData||(e.getRedEnvelope(),e.getAddressList())})).catch((function(){(0,I.showToast)({title:"请先登录"})}))},methods:(o={getFinalDeliveryTypeByText:function(e){console.log("text",e),"到店自取"!==e&&"到店消费"!==e&&"堂食用餐"!==e&&"打包带走"!==e||(this.finalDeliveryType=2),"商家自送"!==e&&"骑手配送"!==e&&e!==this.storeInfo.room_service_tab_title||(this.finalDeliveryType=1),"快递配送"===e&&(this.is_express=1)},setRechargeExemptionPrice:function(e){if(this.setTcIndex(-1,{},this.virtuallyRedEnvelope.new_person_price),this.virtuallyRedEnvelope.dosages&&-1!=this.selectJlIndex&&this.setJlIndex(-1,{},this.virtuallyRedEnvelope.dosages[this.selectJlIndex].price),this.tuangouquan_id=0,this.couponData.length>0&&this.couponData.forEach((function(e,t){e.select=!1})),this.redpacketData.forEach((function(e,t){e.select=!1})),!this.rechargeFreChargeInfo.status)return!1;this.selectRechargeExemptionPrice=e},getOrderDinnerStoreId:function(){},setTcIndex:function(e,t,i){this.selectRechargeExemptionPrice=0;var a=t;this.selectTcIndex=e;for(var r=[],n=0;n=d.condition&&this.redpacketData.push(d)}}else if(0==a[o].order_type_limit||2==a[o].order_type_limit){var c;d={id:a[o].id,title:a[o].title,remark:(null===(c=a[o])||void 0===c?void 0:c.remark)||"[大马生活专享]",discount:Number(a[o].discount),condition:Number(a[o].condition),day_cn:a[o].day_cn,select:!1,type:"virtuallyTc",pre_mealredpacket_:o};this.totalPrice>=d.condition&&this.redpacketData.push(d)}}else this.purchaseRedEnvelopePrice=0,this.buy_mealredpacket=0},setJlIndex:function(e,t,i){var a=t;this.selectJlIndex=e;var r=[];this.recharge_exemption_price=0;for(var n=0;n0||Object.keys(a).length>0)&&(e.setDefaultAddressInfo({id:a.id,address:a.address,username:a.realname,mobile:a.mobile}),e.currentSelectAddressId=a.id);var h=getApp();if(h.globalData.isAddAddress&&e.setDefaultAddressInfo(e.addressList[e.addressList.length-1]),e.deliveryInfo.inStore.mobile=(null===t||void 0===t?void 0:t.mobile)||"",e.orderInfo.boxPrice=Number(n.box_price)||0,e.orderInfo.packingPrice=Number(n.packing_price)||0,e.orderInfo.deliveryFee=Number(n.delivery_fee)||0,e.orderInfo.packFee=Number(n.pack_fee)||0,e.orderInfo.totalPrice=Number(n.total_fee_show)||0,e.orderInfo.discountPrice=Number(n.discount_fee)||0,e.orderInfo.paidPrice=Number(n.final_fee_show)||0,e.orderInfo.orderPrice=Number(n.price)||0,e.orderInfo.sysextra_fee=Number(n.sysextra_fee)||0,e.orderInfo.note||(e.orderInfo.note=n.note),e.orderInfo.extra_fee=Number(n.extra_fee)||0,e.orderInfo.deliveryTimes=n.deliveryTimes,e.orderInfo.products=o.data.reduce((function(e,t){return e.concat(t.filter((function(e){return e.num})).map((function(e){var t=Number(e.price),i=Number(e.caigou_discount_price),a=Number(e.total_discount_price),r=Number(e.num),n=0;return t==e.caigou_discount_price?n=0:(n=Math.floor((a-i*r)/(t-i)),n=r-n,n&&(n+=1)),console.log("discount_num",n),{title:e.title,image:e.thumb,spec:e.option_title,discount_price:Number(e.discount_price)||0,bargain_type:e.bargain_type,price:Number(e.price)||0,num:Number(e.num)||0,goods_id:e.goods_id,caigou_discount_price:Number(e.caigou_discount_price)||Number(e.price),discount_num:n}})))}),[]),null!==n&&void 0!==n&&null!==(i=n.activityed)&&void 0!==i&&i.list){var m=n.activityed.list;S.default.object(m)?(console.log(S.default.object(m),"testUtil.object(activityedListData)"),console.log(m,"activityedListData"),console.log(Object.keys(m),"Object.keys(activityedListData)"),e.activityList=Object.keys(m).map((function(e){var t=m[e];return{type:t.type,title:t.name,text:t.text}}))):(console.log(n.activityed.list,"order.activityed.list"),e.activityList=n.activityed.list.map((function(e){return{type:e.type,title:e.name,text:e.text}})))}if(0==e.optionsData.spellrice_oid&&1==e.optionsData.spellrice){var _,g,y,b,x,w;e.timeRange=c.times.map((function(e){return{date:e.days,times:e.times.map((function(e){return{time:e.sendtime,price:0}}))}}));var k=c.predict_index||0;e.deliveryInfo.pinfan.time="".concat(null===c||void 0===c||null===(_=c.times[0])||void 0===_?void 0:_.days," ").concat(null===c||void 0===c||null===(g=c.times[0])||void 0===g||null===(y=g.times[k])||void 0===y?void 0:y.endtime,"-").concat(null===c||void 0===c||null===(b=c.times[0])||void 0===b||null===(x=b.times[k])||void 0===x?void 0:x.sendtime),e.deliveryInfo.pinfan.spellrice_time=JSON.stringify(null===c||void 0===c||null===(w=c.times[0])||void 0===w?void 0:w.times[k])}else 0!=e.optionsData.spellrice_oid&&1==e.optionsData.spellrice?(e.timeRange=[{date:l,times:[{time:u,price:0}]}],e.deliveryInfo.pinfan.time="".concat(l,"-").concat(u),e.deliveryInfo.pinfan.spellrice_time=""):e.timeRange=Object.keys(n.deliveryTimes.times).map((function(e){var t=n.deliveryTimes.times[e];return{date:"".concat(t.days),times:t.times.map((function(e){return{time:e.time_cn,price:Number(e.total_delivery_price)}}))}}));if(e.deliveryInfo.delivery.deliveryTime="".concat(n.deliveryTimes.predict_year_day," ").concat(n.deliveryTimes.predict_time_cn),e.deliveryInfo.inStore.deliveryTime="".concat(n.deliveryTimes.predict_year_day," ").concat(n.deliveryTimes.predict_time_cn),e.orderSubmitInfo.predictDayCn=n.deliveryTimes.predict_year_day,e.orderSubmitInfo.predictIndex=e.orderSubmitInfo.predictIndex>0?e.orderSubmitInfo.predictIndex:0,0==e.optionsData.spellrice_oid&&1==e.optionsData.spellrice?c.days.length>0?e.orderSubmitInfo.predictDayCn=c.days[0]:(0,I.showModal)({title:"提示",content:"店铺拼饭时间点未设置或未开启活动",callback:function(){(0,C.navBack)()}}):0!=e.optionsData.spellrice_oid&&1==e.optionsData.spellrice&&(e.orderSubmitInfo.predictDayCn=t.spellrice_delivery_day),console.log(n,e.orderSubmitInfo,e.deliveryInfo),e.isShowMemberChoice=(null===t||void 0===t?void 0:t.isShowMemberChoice)||!1,e.surchargeFee=n.member_choice.map((function(e){return{title:e.name,price:Number(e.fee),select:!1}})),e.orderInfo.extra_fee_detail=n.extra_fee_detail,e.store_extra_fee_detail=n.store_extra_fee_detail,console.log("zzzhoahsioo",e.store_extra_fee_detail),e.redpacketData=s.map((function(e){return{id:e.id,title:e.title,remark:(null===e||void 0===e?void 0:e.remark)||"[大马生活专享]",discount:Number(e.discount),condition:Number(e.condition),day_cn:e.day_cn,select:!1}})),0==e.selectTcIndex)for(var E in e.virtuallyRedEnvelope.data){var T,A={id:e.virtuallyRedEnvelope.data[E].id,title:e.virtuallyRedEnvelope.data[E].title,remark:(null===(T=e.virtuallyRedEnvelope.data[E])||void 0===T?void 0:T.remark)||"[大马生活专享]",discount:Number(e.virtuallyRedEnvelope.data[E].discount),condition:Number(e.virtuallyRedEnvelope.data[E].condition),day_cn:e.virtuallyRedEnvelope.data[E].day_cn,select:!1,type:"virtuallyTc",pre_mealredpacket_:E};e.redpacketData.push(A)}if(-1!=e.selectJlIndex)for(var D in e.virtuallyRedEnvelope.dosages[e.selectJlIndex].redpackets){var P;A={id:e.virtuallyRedEnvelope.dosages[e.selectJlIndex].redpackets[D].id,title:e.virtuallyRedEnvelope.dosages[e.selectJlIndex].redpackets[D].title,remark:(null===(P=e.virtuallyRedEnvelope.dosages[e.selectJlIndex].redpackets[D])||void 0===P?void 0:P.remark)||"[大马生活专享]",discount:Number(e.virtuallyRedEnvelope.dosages[e.selectJlIndex].redpackets[D].discount),condition:Number(e.virtuallyRedEnvelope.dosages[e.selectJlIndex].redpackets[D].condition),day_cn:e.virtuallyRedEnvelope.dosages[e.selectJlIndex].redpackets[D].day_cn,select:!1,type:"virtuallyTc",pre_mealredpacket_:D};e.redpacketData.push(A)}e.couponData=d.map((function(e){return{id:e.id,title:e.title,discount:Number(e.discount),condition:Number(e.condition),day_cn:"限".concat(e.title,"使用"),select:!1}})),Number(t.tuangouquan_id)>0&&(console.log("他有团购券",t.tuangouquan_id),e.handleCouponClickEvent(0)),e.huangou_goods=t.huangou_goods,e.huangou_discount_price=t.huangou_discount_price,r.cn&&(r.cn.box_price&&(e.box_price_cn=r.cn.box_price),r.cn.pack_fee&&(e.pack_fee_cn=r.cn.pack_fee)),e.orderInfo.atOnceGoodsPrice=n.atOnceGoodsPrice||0,e.loadingShow=!1})).catch((function(t){e.isLoadData=!1,console.error("[submit-order]获取订单预信息失败",t),e.loadingShow=!1,(0,A.clearSubmitOrderChooseAddressId)(),(0,I.showModal)({title:"提示",content:t.msg||"获取订单预信息失败",callback:function(){(0,C.navBack)()}})}))},getAddressList:function(){var e=this;this.isSubmit||(0,D.getUserAddressListApi)().then((function(t){e.isLogin=!0;var i=t.addresses;i&&(e.addressList=i.map((function(e){return{id:e.id,username:e.realname,mobile:e.mobile,sex:e.sex,address:e.address+e.number,number:e.number}}))),e.getPageData()})).catch((function(t){console.error("[submit-order]获取地址列表失败",t),e.addressList=[],"请重新登录"==t.msg?e.isLogin=!1:(0,I.showModal)({title:"提示",content:t.msg||"获取商品信息失败",callback:function(){(0,C.navBack)()}})}))},setDefaultAddressInfo:function(e){this.currentSelectAddressId=e.id,this.deliveryInfo.delivery.address=e.address,this.deliveryInfo.delivery.username=e.username,this.deliveryInfo.delivery.mobile=e.mobile,this.currentSelectSendAddressId=e.id,this.deliveryInfo.sendAddress.address=e.address,this.deliveryInfo.sendAddress.username=e.username,this.deliveryInfo.sendAddress.mobile=e.mobile},switchInStoreModeEvent:function(e){2==this.storeInfo.selfpickup_type&&0==e||1==this.storeInfo.selfpickup_type&&1==e?console.log("不能切换"):e!==this.inStoreOrderTypeIndex&&(this.inStoreOrderTypeIndex=e,console.log(this.inStoreOrderTypeIndex),this.getPageData())},switchSurchargeFeeStatus:function(e){this.surchargeFee[e].select=!this.surchargeFee[e].select,this.orderSubmitInfo.memberChoice=this.surchargeFee.map((function(e){return{status:e.select}}))},chooseTime:function(e){switch(console.log(this.deliveryInfo.delivery.deliveryTime,"this.deliveryInfo.delivery.deliveryTime"),this.selectTimeType=e,e){case"delivery":this.defaultSelectTime=this.deliveryInfo.delivery.deliveryTime;break;case"inStore":this.defaultSelectTime=this.deliveryInfo.inStore.deliveryTime;break}1==this.storeInfo.is_room_service_open?(this.showRoomServiceSelectTimeModal=!0,console.log("上门服务选择时间")):("inStore"==e&&1==this.optionsData.spellrice&&(this.defaultSelectTime=this.deliveryInfo.pinfan.time),this.showSelectTimeModal=!0)},handleChooseTimeModalConfirmEvent:function(e){var t=e.value,i=e.date,a=e.timeIndex;switch(console.log(t,i,a),this.selectTimeType){case"delivery":this.deliveryInfo.delivery.deliveryTime=t;break;case"inStore":this.deliveryInfo.inStore.deliveryTime=t;break}if(this.orderSubmitInfo.predictDayCn=i,this.orderSubmitInfo.predictIndex=a,this.deliveryInfo.pinfan.time=t,0==this.optionsData.spellrice_oid&&1==this.optionsData.spellrice)for(var r=0;r0&&(e.storeDiscountData=t,e.takeout_discount=Math.min.apply(Math,(0,n.default)(e.storeDiscountData.map((function(e){return e.takeout_discount})))),e.in_store_discount=Math.min.apply(Math,(0,n.default)(e.storeDiscountData.map((function(e){return e.in_store_discount})))),e.changeCardList())}))})),(0,r.default)(o,"changeCardList",(function(){var e=this;this.packageDataIndividual=this.packageDataIndividual.map((function(t){var i=e.storeDiscountData.find((function(e){return e.discount_card_id===t.id}));return t.new_discount=i?e.is_takeout?i.takeout_discount:i.in_store_discount:10,t})),console.log("卡片数据",this.packageDataIndividual)})),(0,r.default)(o,"formatPrice",y.formatPrice),o)};t.default=z},"78b4":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.searchRecordApi=t.postTuangouquanReceive=t.postTuangouquanList=t.postTuangouquanDetail=t.postStoreCouponApi=t.postStoreCollectApi=t.myStoreApi=t.joinStoreVipApi=t.isShopBusinessApi=t.getStoreVipInfoApi=t.getStoreTangshiGoodsListApi=t.getStoreShoppingCartDataApi=t.getStoreInfoApi=t.getStoreGoodsListApi=t.getStoreCommentListApi=t.getOrderDinnerStoreListApi=t.getOrderDinnerStoreIdApi=t.getMyCommentListApi=t.getIsBrandStoreApi=t.getFaviateBrandStoreListApi=t.getCodeInfoByCodeApi=t.getClassChild=t.getCategorys=t.getBrandStoreListApi=t.getBrandMasterApi=t.getBrandGoodsApi=t.getBrandApi=t.delCommentApi=void 0,i("5c47"),i("af8f");var r=a(i("7653"));t.getStoreInfoApi=function(e){var t=e.sid,i=e.table_id,a=e.storeCode,n=e.brand;return r.default.get("api/user.store.store/index",{sid:t,table_id:i,storeCode:a,brand:n})};t.getStoreVipInfoApi=function(e){return r.default.get("api/user.store.store/storeVip",e)};t.joinStoreVipApi=function(e){return r.default.post("api/user.store.store/joinStoreVip",e)};t.getStoreGoodsListApi=function(e){var t=e.sid,i=e.search,a=e.orderId,n=e.cid,o=e.child_id,s=e.page,d=e.is_api_shop,c=e.storeCode,l=e.api_brand,u=e.order_type,p=e.encrypted_data,f=e.write_off_type,v=e.is_promotion,h=e.goodsC,m=e.chrid,_=e.is_takeout,g=e.version,y=e.psize,b=e.slide,x=e.offset;return r.default.get("api/user.store.goods/goods",{sid:t,child_id:o||"",search:i||"",order_id:a||"",cid:n||"",page:s||1,is_api_shop:d||"",storeCode:c||"",api_brand:l||"",order_type:u||"",encrypted_data:p||"",write_off_type:f||"",is_promotion:v||-1,goodsC:h,chrid:m||"",is_takeout:_>=0?_:-1,version:g||"",psize:y||"",slide:b||"",offset:x||""})};t.getStoreShoppingCartDataApi=function(e){var t=e.sid,i=e.tableId,a=e.encrypted_data,n=e.is_takeout;return r.default.get("api/user.store.goods/cartIndex",{sid:t,table_id:i||"",encrypted_data:a||"",is_takeout:n>=0?n:-1})};t.getStoreCommentListApi=function(e){var t=e.sid,i=e.type,a=e.note,n=e.page,o=e.pSize;return r.default.get("api/user.store.store/comment",{sid:t,type:i||"",note:a||0,page:n,psize:o})};t.getMyCommentListApi=function(e){var t=e.page,i=e.pSize;return r.default.get("api/user.store.store/myComment",{page:t,psize:i})};t.delCommentApi=function(e){return r.default.post("api/user.store.store/delComment",e)};t.getStoreTangshiGoodsListApi=function(e){var t=e.sid,i=e.search,a=e.tableId,n=e.clear;return r.default.get("api/user.store.table/goods",{sid:t,search:i||"",table_id:a,clear:n||!1})};t.postStoreCouponApi=function(e){var t=e.sid;return r.default.post("api/user.channel.coupon/receive",{sid:t})};t.postStoreCollectApi=function(e){var t=e.sid,i=e.type,a=e.storeCode;return r.default.get("api/user.member.favorite/operate",{sid:t,type:i,storeCode:a})};t.getCategorys=function(e){var t=e.template_id;return r.default.get("api/user.store.goods/plugin_categorys",{template_id:t})};t.getClassChild=function(e){var t=e.cid;return r.default.get("api/user.store.goods/plugin_goods",{cid:t})};t.getOrderDinnerStoreListApi=function(e){return r.default.get("api/user.store.store/getOrderDinnerStoreList",e)};t.getOrderDinnerStoreIdApi=function(e){return r.default.get("api/user.store.store/getOrderDinnerStoreId",e)};t.getBrandApi=function(e){return r.default.get("api/user.store.store/getBrand?sid="+e)};t.getCodeInfoByCodeApi=function(e){return r.default.get("api/user.store.store/getCodeInfo?code="+e,{})};t.searchRecordApi=function(e){return r.default.post("api/user.tuangouquan.write_off/searchRecords",e)};t.getIsBrandStoreApi=function(e){return r.default.get("api/user.store.store/getIsBrandStore?sid="+e)};t.getBrandStoreListApi=function(e){return r.default.post("api/user.store.store/getBrandStoreList",e)};t.getFaviateBrandStoreListApi=function(e){return r.default.get("api/user.store.store/getFaviateBrandStoreList",e)};t.getBrandMasterApi=function(e){return r.default.get("api/user.appointment.index/index?sid="+e)};t.getBrandGoodsApi=function(e){return r.default.get("api/user.appointment.index/goods?sid="+e)};t.myStoreApi=function(){return r.default.get("api/user.store.store/myStore")};t.postTuangouquanList=function(e){return r.default.post("api/user.tuangouquan.index/index",e)};t.postTuangouquanReceive=function(e){return r.default.post("api/user.tuangouquan.index/receive",e)};t.postTuangouquanDetail=function(e){return r.default.post("api/user.tuangouquan.index/detail",e)};t.isShopBusinessApi=function(e){return r.default.get("api/user.store.store/isShopBusiness?sid="+e)}},"7ab6":function(e,t,i){"use strict";i.r(t);var a=i("bc85"),r=i("87e4");for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("0d68");var o=i("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"5163c5ad",null,!1,a["a"],void 0);t["default"]=s.exports},"7bbf":function(e,t,i){"use strict";i.r(t);var a=i("b594"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},"7d42":function(e,t,i){"use strict";i.r(t);var a=i("98c1"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},"7f06":function(e,t,i){"use strict";var a=i("1487"),r=i.n(a);r.a},"84bf":function(e,t,i){"use strict";var a=i("a068"),r=i.n(a);r.a},"87e4":function(e,t,i){"use strict";i.r(t);var a=i("ffc8"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},9091:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("bottom-modal",{attrs:{"no-padding":!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.handleModalClose.apply(void 0,arguments)}},model:{value:e.showSelectModal,callback:function(t){e.showSelectModal=t},expression:"showSelectModal"}},[i("v-uni-view",{staticClass:"header-title tn-color-black",style:[e.themeBtnStyle]},[e._t("title")],2),i("v-uni-view",{staticClass:"redpacket-ticket-list"},[i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[e._l(e.data,(function(t,a){return i("v-uni-view",{key:a,staticClass:"redpacket-ticket-item tn-shadow",style:[{"--theme-color":e.themeOpacityBgColor}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.handleItemClickEvent(a)}}},[i("v-uni-view",{staticClass:"item-top tn-flex-row-center"},[i("v-uni-view",{staticClass:"item-top-left"},[i("v-uni-view",{staticClass:"item-title tn-color-orange"},[e._v(e._s(t.title))]),i("v-uni-view",{staticClass:"item-remark tn-color-gray"},[e._v(e._s(t.remark))])],1),i("v-uni-view",{staticClass:"item-top-right tn-flex-row-center"},[i("v-uni-view",{staticClass:"item-price tn-color-red"},[i("v-uni-view",{staticClass:"discount"},[i("v-uni-view",{staticClass:"unit"},[e._v(e._s(e.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(t.discount.toFixed(2)))])],1),i("v-uni-view",{staticClass:"condition"},[e._v("满"+e._s(t.condition.toFixed(2))+"可用")])],1),i("v-uni-view",{staticClass:"item-select tn-flex-center",class:[{select:t.select}]},[t.select?i("v-uni-text",{staticClass:"icon tn-icon-success"}):e._e()],1)],1)],1),i("v-uni-view",{staticClass:"item-bottom"},[e._v(e._s(t.day_cn))])],1)})),i("v-uni-view",{staticStyle:{width:"100%",height:"50rpx"}})],2)],1)],1)},r=[]},"95b1":function(e,t,i){"use strict";i.r(t);var a=i("28e6"),r=i("e0cb");for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("c0b3");var o=i("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"7c895aae",null,!1,a["a"],void 0);t["default"]=s.exports},"97c6":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 顶部背景 start */.top-bg[data-v-7c895aae]{position:absolute;left:0;top:0;width:100%;height:%?600?%;background:linear-gradient(180deg,#ffca28,#ffca28 50%,rgba(255,202,40,0));z-index:1}\n/* 顶部背景 end */.wrapper[data-v-7c895aae]{position:relative;margin-top:%?30?%;min-height:calc(100vh - %?50?%);padding:%?0?% 0;padding-bottom:%?180?%;z-index:2}.redEnvelopeBox[data-v-7c895aae]{width:100%;height:auto;display:flex;justify-content:flex-start;flex-wrap:nowrap;padding-left:%?10?%;padding-right:%?10?%;overflow-x:scroll;margin-top:%?20?%}.redEnvelopeBox .redEnvelopeItem[data-v-7c895aae]{width:calc(100% / 3);height:auto;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;margin:%?15?%}.redEnvelopeBox .redEnvelopeItem_Bg[data-v-7c895aae]{width:%?200?%;height:%?116?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/redEnvelopeBg1.png);display:flex;justify-content:center;align-items:center}.redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center[data-v-7c895aae]{width:100%;height:%?83?%}.redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center_price[data-v-7c895aae]{width:100%;height:%?50?%;font-size:%?48?%;text-align:center;line-height:%?50?%;color:#f74c37}.redEnvelopeBox .redEnvelopeItem_Bg .redEnvelopeItem_Bg_center_title[data-v-7c895aae]{width:100%;height:%?33?%;font-size:%?26?%;text-align:center;line-height:%?33?%;color:#a77821}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar[data-v-7c895aae]{width:100%;height:%?154?%;display:flex;align-items:center;justify-content:center}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg[data-v-7c895aae]{width:%?201?%;height:%?154?%;background-repeat:no-repeat;background-size:100% 100%;background-image:url(http://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/redEnvelopeBg2.png)}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter[data-v-7c895aae]{width:100%;height:%?98?%;color:#f74c37;display:flex;align-items:center;justify-content:center}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_price[data-v-7c895aae]{font-size:%?38?%}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_ride[data-v-7c895aae]{font-size:%?21?%;padding-right:%?7?%;padding-left:%?7?%}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemCar .redEnvelopeItemCarBg .redEnvelopeItemCarCenter_number[data-v-7c895aae]{font-size:%?28?%}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemTitle[data-v-7c895aae]{width:100%;height:%?57?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice[data-v-7c895aae]{width:100%;height:%?34?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice .currentPrice[data-v-7c895aae]{font-size:%?32?%;color:#f74c37}.redEnvelopeBox .redEnvelopeItem .redEnvelopeItemPrice .originalPrice[data-v-7c895aae]{font-size:%?26?%;padding-left:%?9?%;text-decoration:line-through;color:#707070}.redEnvelopeBox .redEnvelopeItem .activity[data-v-7c895aae]{width:100%;height:%?60?%;display:flex;align-items:center;justify-content:flex-start;padding-left:calc((100% - %?201?%) / 2)}.redEnvelopeBox .redEnvelopeItem .activity .activityBg[data-v-7c895aae]{width:auto;height:%?40?%;background-color:rgba(255,121,26,.2);display:flex;align-items:center;justify-content:center;padding-left:%?10?%;padding-right:%?10?%;color:#ff791a;border-radius:%?8?%;font-size:%?22?%}\n/* 订单类型 start */.order-type[data-v-7c895aae]{position:relative;width:100%;z-index:2\n /* 骑手配送\\到店自取 start */\n /* 骑手配送\\到店自取 end */}.order-type__delivery[data-v-7c895aae], .order-type__in-store[data-v-7c895aae]{\n /* 地址 start */\n /* 地址 end */\n /* 配送时间 start */\n /* 配送时间 end */}.order-type__delivery .address-info[data-v-7c895aae], .order-type__in-store .address-info[data-v-7c895aae]{width:100%;padding-bottom:%?20?%;border-bottom:%?1?% solid #f3f2f7}.order-type__delivery .address-info .icon[data-v-7c895aae], .order-type__in-store .address-info .icon[data-v-7c895aae]{width:%?50?%;height:%?50?%;font-size:%?42?%;border-radius:50%;margin:%?0?% %?20?%}.order-type__delivery .address-info .info[data-v-7c895aae], .order-type__in-store .address-info .info[data-v-7c895aae]{width:calc(100% - %?60?% - %?20?%)}.order-type__delivery .address-info .info .address[data-v-7c895aae], .order-type__in-store .address-info .info .address[data-v-7c895aae]{font-weight:700;font-size:%?30?%}.order-type__delivery .address-info .info .customer[data-v-7c895aae], .order-type__in-store .address-info .info .customer[data-v-7c895aae]{margin-top:%?10?%;font-size:%?26?%}.order-type__delivery .delivery-time[data-v-7c895aae], .order-type__in-store .delivery-time[data-v-7c895aae]{padding-top:%?30?%}.order-type__delivery .delivery-time .title[data-v-7c895aae], .order-type__in-store .delivery-time .title[data-v-7c895aae]{font-weight:500}.order-type__in-store[data-v-7c895aae]{\n /* 预留电话 start */\n /* 预留电话 end */}.order-type__in-store .address-info[data-v-7c895aae]{border-bottom:none;padding-bottom:%?20?%}.order-type__in-store .delivery-time[data-v-7c895aae]{padding-top:%?0?%;padding-bottom:%?20?%;border-bottom:%?1?% solid #f3f2f7}.order-type__in-store .mobile-info[data-v-7c895aae]{padding:%?14?%;border-radius:%?6?%;margin-top:%?20?%}.order-type__in-store .mobile-info .value[data-v-7c895aae]{flex:1;padding-left:%?24?%}.order-type__in-store .mobile-info .value .input[data-v-7c895aae]{width:100%;background-color:initial;padding:%?0?%;color:inherit}\n/* 订单类型 end */\n/* 到店自取类型 start */.in-store-type[data-v-7c895aae]{margin-top:%?50?%;width:100%;display:flex;align-items:center;justify-content:space-between}.in-store-type .btn[data-v-7c895aae]{width:calc(100% / 2 - %?10?%);padding:%?20?%;border-radius:%?15?%;background-color:#fff;border-width:%?1?%;border-style:solid}.in-store-type .btn.select[data-v-7c895aae]{border-width:%?0?%;border-style:none}.in-store-type .btn.noselect[data-v-7c895aae]{background-color:#b0b0b0!important;color:#fff!important;border:1px solid #b0b0b0!important}\n/* 到店自取类型 end */\n/* 商品价格信息 start */.product-price-info[data-v-7c895aae]{margin-top:%?20?%;width:100%;border-radius:%?15?%\n /* 商品信息 start */\n /* 商品信息 end */\n /* 价格信息 start */\n /* 价格信息 end */\n /* 优惠信息 start */\n /* 优惠信息 end */\n /* 总计价格 start */\n /* 总计价格 end */}.product-price-info .red-box[data-v-7c895aae]{display:inline-block;background-color:red;color:#fff;font-size:%?28?%;padding:%?4?%}.product-price-info .product-info[data-v-7c895aae]{padding:%?40?% %?30?%;border-radius:%?15?% %?15?% %?0?% %?0?%;background:radial-gradient(circle at left bottom,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at right bottom,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat;border-bottom:%?1?% dashed #f3f2f7\n /* 商品列表 start */\n /* 商品列表 end */}.product-price-info .product-info .store-name[data-v-7c895aae]{font-size:%?30?%}.product-price-info .product-info .product-list .product-item[data-v-7c895aae]{margin-top:%?20?%;border-radius:%?8?%;padding:%?20?%;display:flex}.product-price-info .product-info .product-list .product-item .through[data-v-7c895aae]{text-decoration:line-through}.product-price-info .product-info .product-list .product-item .item-image[data-v-7c895aae]{width:%?120?%;height:%?120?%;border-radius:%?8?%}.product-price-info .product-info .product-list .product-item .item-info[data-v-7c895aae]{flex:1;padding-left:%?20?%}.product-price-info .product-info .product-list .product-item .item-info .title[data-v-7c895aae]{width:100%;font-size:%?32?%}.product-price-info .product-info .product-list .product-item .item-info .spec[data-v-7c895aae]{font-size:%?22?%;color:#aaa;margin-top:%?4?%}.product-price-info .product-info .product-list .product-item .item-info .price-num[data-v-7c895aae]{margin-top:%?8?%}.product-price-info .product-info .product-list .product-item .item-info .price-num .price[data-v-7c895aae]{font-size:%?32?%;font-weight:500}.product-price-info .price-info[data-v-7c895aae]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .price-info .item[data-v-7c895aae]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .price-info .item .price[data-v-7c895aae]{font-weight:700}.product-price-info .discount-info[data-v-7c895aae]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat}.product-price-info .discount-info .item[data-v-7c895aae]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .discount-info .item .data .icon[data-v-7c895aae]{color:#080808}.product-price-info .total-price[data-v-7c895aae]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?0?% %?30?% %?30?% %?30?%;border-radius:%?0?% %?0?% %?15?% %?15?%;background-color:#fff}.product-price-info .total-price .data[data-v-7c895aae]{display:flex;align-items:center}.product-price-info .total-price .data .sum[data-v-7c895aae],\n.product-price-info .total-price .data .discount[data-v-7c895aae],\n.product-price-info .total-price .data .paid[data-v-7c895aae]{margin-left:%?16?%}.product-price-info .total-price .data .paid[data-v-7c895aae]{font-size:%?34?%}\n/* 商品价格信息 end */\n/* 附加费用 start */.surcharge-fee[data-v-7c895aae]{width:100%;margin-top:%?30?%;padding:%?30?%;background-color:#fff;border-radius:%?15?%}.surcharge-fee .item[data-v-7c895aae]{width:100%;padding:%?20?% %?0?%;display:flex;align-items:center;justify-content:space-between}.surcharge-fee .item .data[data-v-7c895aae]{display:flex;align-items:center}.surcharge-fee .item .data .select[data-v-7c895aae]{margin-left:%?10?%;width:%?40?%;height:%?40?%;border-radius:50%}.surcharge-fee .item .data .select .icon[data-v-7c895aae]{margin-top:%?2?%}\n/* 附加费用 end */\n/* 备注 start */.note[data-v-7c895aae]{width:100%;margin-top:%?30?%}.note .title[data-v-7c895aae]{font-weight:700;font-size:%?32?%}.note .data[data-v-7c895aae]{width:100%;height:%?200?%;margin-top:%?10?%;background-color:#fff;border-radius:%?15?%;padding:%?20?%}.note .data .textarea[data-v-7c895aae],\n.note .data .show-data[data-v-7c895aae]{width:100%;height:100%;padding:%?0?%}\n/* 备注 end */\n/* 结算/提交订单操作栏 start */.settle-bar[data-v-7c895aae]{position:fixed;left:%?0?%;bottom:%?0?%;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;z-index:999;transition:bottom ease .25s}.settle-bar.hidden[data-v-7c895aae]{bottom:%?-140?%}.settle-bar .price-info[data-v-7c895aae]{padding-left:%?30?%}.settle-bar .price-info .price[data-v-7c895aae]{display:flex;align-items:flex-end;font-size:%?42?%;font-weight:700}.settle-bar .price-info .price .unit[data-v-7c895aae]{font-size:%?28?%;margin-right:%?6?%;-webkit-transform:translateY(%?-2?%);transform:translateY(%?-2?%)}.settle-bar .price-info .discount[data-v-7c895aae]{font-size:%?24?%}.settle-bar .submit-btn[data-v-7c895aae]{padding:%?40?%;font-size:%?32?%}\n/* 结算/提交订单操作栏 end */.redstyle[data-v-7c895aae]{color:red!important}',""]),e.exports=t},9897:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getWxTemplateIdDataApi=t.getAlipayTemplateIdDataApi=void 0;var r=a(i("7653"));t.getWxTemplateIdDataApi=function(){return r.default.get("api/system.template.WxTemplate/templateList")};t.getAlipayTemplateIdDataApi=function(){return r.default.get("api/system.template.AliTemplate/templateList")}},"98c1":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("64aa");var r=a(i("dc1f")),n={props:{value:{type:Boolean,default:!1},title:{type:String,default:""},cancelText:{type:String,default:"取 消"},confirmText:{type:String,default:"确 认"},zIndex:{type:[String,Number],default:""},contentNoTop:{type:Boolean,default:!1},contentNoPadding:{type:Boolean,default:!1},wrapperWidth:{type:String,default:""},wrapperBgColor:{type:String,default:""},closeBtn:{type:Boolean,default:!0}},mixins:[r.default],data:function(){return{openModal:!1}},watch:{value:{handler:function(e){this.openModal=e},immediate:!0}},computed:{showTitle:function(){return" "!=this.title&&""!=this.title},showCancel:function(){return" "!=this.cancelText},showConfirm:function(){return" "!=this.confirmText},modalStyle:function(){var e={};return this.zIndex&&(e.zIndex=Number(this.zIndex-1)),e},closeBtnStyle:function(){var e={};return this.zIndex&&(e.zIndex=Number(this.zIndex)),e},wrapperStyle:function(){var e={};return this.zIndex&&(e.zIndex=Number(this.zIndex)),this.wrapperWidth&&(e.width=this.wrapperWidth),this.wrapperBgColor&&(e.backgroundColor=this.wrapperBgColor),e}},methods:{closeModal:function(){this.$emit("input",!1),this.$emit("close")},cancelEvent:function(){this.$emit("cancel")},confirmEvent:function(){this.$emit("confirm")}}};t.default=n},9926:function(e,t,i){"use strict";var a=i("14f2"),r=i.n(a);r.a},"9dac":function(e,t,i){"use strict";var a=i("4c84"),r=i.n(a);r.a},"9e2d":function(e,t,i){var a=i("7497");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("88561780",a,!0,{sourceMap:!1,shadowMode:!1})},a068:function(e,t,i){var a=i("a67b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("03206d3c",a,!0,{sourceMap:!1,shadowMode:!1})},a16a:function(e,t,i){"use strict";i.r(t);var a=i("5f30"),r=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(n);t["default"]=r.a},a67b:function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.header-title[data-v-2d65f920]{padding:%?26?%;font-size:%?32?%}\n/* 红包、代金券列表 start */.redpacket-ticket-list[data-v-2d65f920]{position:relative;width:100%;height:%?800?%}.redpacket-ticket-item[data-v-2d65f920]{width:calc(100% - %?60?%);margin:%?30?%;border-radius:%?15?%;background:linear-gradient(45deg,#fff,var(--theme-color) 400%)\n /* 红包、优惠卷信息 start */\n /* 红包、优惠卷信息 end */\n /* 优惠价格信息 start */\n /* 优惠价格信息 end */\n /* 选中框 start */\n /* 选中框 end */}.redpacket-ticket-item .item-top[data-v-2d65f920]{width:100%;padding:%?40?% %?30?%}.redpacket-ticket-item .item-top .item-top-left[data-v-2d65f920]{flex:1}.redpacket-ticket-item .item-bottom[data-v-2d65f920]{position:relative;width:100%;padding:%?30?%}.redpacket-ticket-item .item-bottom[data-v-2d65f920]::before{content:" ";position:absolute;width:90%;height:%?2?%;border-top:%?1?% dashed #e6e6e6;left:5%;top:%?-1?%}.redpacket-ticket-item .item-title[data-v-2d65f920]{font-size:%?36?%}.redpacket-ticket-item .item-remark[data-v-2d65f920]{margin-top:%?4?%}.redpacket-ticket-item .item-price .discount[data-v-2d65f920]{display:flex;align-items:flex-end}.redpacket-ticket-item .item-price .discount .unit[data-v-2d65f920]{font-size:%?28?%;line-height:1}.redpacket-ticket-item .item-price .discount .value[data-v-2d65f920]{line-height:1;font-size:%?60?%;font-weight:500;margin-top:%?18?%;margin-left:%?8?%}.redpacket-ticket-item .item-price .condition[data-v-2d65f920]{margin-top:%?8?%;font-size:%?24?%}.redpacket-ticket-item .item-select[data-v-2d65f920]{margin-left:%?20?%;width:%?40?%;height:%?40?%;border-radius:50%;background-color:#fff;border:%?1?% solid var(--theme-color)}.redpacket-ticket-item .item-select.select[data-v-2d65f920]{background-color:var(--theme-color)}.redpacket-ticket-item .item-select .icon[data-v-2d65f920]{margin-top:%?2?%}\n/* 红包、代金券列表 end */',""]),e.exports=t},ade3:function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.REFRESH_STORE_EVENT=void 0;t.REFRESH_STORE_EVENT="refresh_store"},af51:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getOrderCommentPageInfoApi=t.getCutTImeData=t.cutOffSwit=t.confirmOrderApi=t.confirmErranderOrderApi=t.cancelTcOrderApi=t.cancelOrderApi=t.cancelErranderOrderApi=t.addOrderCommentApi=void 0;var r=a(i("7653"));t.getOrderCommentPageInfoApi=function(e){var t=e.id,i=e.order_type;return r.default.get("api/user.order.comment/getPageParams",{id:t,order_type:i})};t.addOrderCommentApi=function(e){var t=e.id,i=e.deliverScore,a=e.goodsQuality,n=e.note,o=e.thumbs,s=e.order_type;return r.default.post("api/user.order.comment/create",{id:t,deliverScore:i||0,goods_quality:a||0,note:n||"",thumbs:o||[],order_type:s||"takeout"})};t.cancelTcOrderApi=function(e){return r.default.post("/api/user.mealRedpacket.meal_redpacket_order/cancelOrder",{order_id:e})};t.cancelOrderApi=function(e){return r.default.post("api/user.order.order/cancel",{id:e})};t.confirmOrderApi=function(e){return r.default.post("api/user.order.order/end",{id:e})};t.cancelErranderOrderApi=function(e){return r.default.post("api/user.order.errander.errander/cancel",{id:e})};t.confirmErranderOrderApi=function(e){return r.default.post("api/user.order.errander.errander/confirm",{id:e})};t.cutOffSwit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r.default.get("api/user.order.cut_time/getOpen?sid="+e,{})};t.getCutTImeData=function(){return r.default.get("api/user.order.cut_time/list",{})}},b594:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(i("dc1f")),n=a(i("e456")),o={props:{value:{type:Boolean,default:!1},data:{type:Array,default:function(){return[]}},defaultValue:{type:String,default:""}},components:{BottomModal:n.default},mixins:[r.default],data:function(){return{showSelectModal:!0,currentSelectIndex:-1}},watch:{value:{handler:function(e){this.showSelectModal=e,console.log(e,"红包插件")},immediate:!0}},methods:{handleItemClickEvent:function(e){this.$emit("click",e),this.handleModalClose()},handleModalClose:function(){this.$emit("input",!1),this.$emit("close")}}};t.default=o},b780:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.submitOrderApi=t.getOrderPreInfoApi=t.getOrderListApi=t.getOrderDetailApi=t.getLogisticsApi=t.getJieLongConfigApi=t.confirmOrderApi=t.commentOrderApi=t.cancelOrderApi=t.applyAfterSaleApi=void 0;var r=a(i("7653"));t.getOrderPreInfoApi=function(e){return r.default.post("api/user.order.mall_order_create/indexBefore",e)};t.submitOrderApi=function(e){return r.default.post("api/user.order.mall_order_create/createOrder",e)};t.getOrderListApi=function(e){return r.default.get("api/user.order.mall_order/index?page="+e.page+"&limit=10&status=0")};t.getOrderDetailApi=function(e){return r.default.get("api/user.order.mall_order/orderDetail?id="+e)};t.getLogisticsApi=function(e){return r.default.get("api/user.order.mall_order/logistics?id="+e)};t.cancelOrderApi=function(e){return r.default.post("api/user.order.mall_order/cancelOrder",{id:e})};t.confirmOrderApi=function(e){return r.default.post("api/user.order.mall_order/confirmOrder",{id:e})};t.commentOrderApi=function(e){return r.default.post("api/user.order.mall_order/commentOrder",e)};t.applyAfterSaleApi=function(e){return r.default.post("api/user.order.mall_order/applyAfterSale",e)};t.getJieLongConfigApi=function(e){return r.default.get("api/user.order.mall_order/jielongConfig?id="+e)}},ba1f:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.updateGoodCartApi=t.getStoreShoppingCartSpecGoodNumApi=t.clearStoreShoppingCartApi=t.addTangshiGoodToCartApi=t.addGoodToCartApi=t._zfbdataPurchaseGoods=void 0;var r=a(i("7653"));t.getStoreShoppingCartSpecGoodNumApi=function(e){var t=e.sid,i=e.goodsId,a=e.tableId;return r.default.get("api/user.store.goods/cartOption",{sid:t,goods_id:i,table_id:a||""})};t.addGoodToCartApi=function(e){var t=e.sid,i=e.goodsId,a=e.spellriceId,n=e.optionId,o=e.sign,s=e.type,d=e.tableId,c=e.num,l=e.activity_id,u=e.miniProgramPath;return console.log(n),r.default.post("api/user.store.goods/cart",{sid:t,goods_id:i,spellrice_id:a||"",option_id:n||"",sign:o,type:s||"",table_id:d||"",activity_id:l||0,num:c,miniProgramPath:u||""})};t.addTangshiGoodToCartApi=function(e){var t=e.sid,i=e.goodsId,a=e.optionId,n=e.sign,o=e.type,s=e.tableId,d=e.num;return r.default.post("api/user.store.table/cart",{sid:t,goods_id:i,option_id:a||"",sign:n,type:o||"",table_id:s||"",num:d})};t.updateGoodCartApi=function(e){var t=e.goodsId,i=e.sid,a=e.num,n=e.options_id;return r.default.post("api/user.store.goods/updateCart",{sid:i,goods_id:t,num:a,options_id:n})};t.clearStoreShoppingCartApi=function(e){var t=e.sid;return r.default.get("api/user.store.goods/truncate",{sid:t})};t._zfbdataPurchaseGoods=function(e){var t=e.sign,i=e.goodsId;console.log("增长分析埋点中加减购物车的商品ID: ",i);var a="+"===t?0:1;my.reportCustomEvent("1045127",{bizType:"cloudappevent",spu_id:i,action_type:a,action_num:1,is_goods_page:0})}},bba3:function(e,t,i){"use strict";i.r(t);var a=i("57d9"),r=i("ef50");for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("7f06");var o=i("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"25ac657e",null,!1,a["a"],void 0);t["default"]=s.exports},bbf7:function(e,t,i){"use strict";i.r(t);var a=i("9091"),r=i("7bbf");for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);i("84bf");var o=i("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"2d65f920",null,!1,a["a"],void 0);t["default"]=s.exports},bc85:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-scroll-view",{staticStyle:{width:"100%","white-space":"nowrap"},attrs:{"scroll-x":"true"}},[i("v-uni-view",{staticClass:"tn-flex"},e._l(e.list,(function(t,a){return i("v-uni-view",{key:a},[1==t.time_status?i("v-uni-view",{staticClass:"item-mod",style:{color:a==e.curridx?"#fff":"#000",backgroundColor:a==e.curridx?"#ff8935":"#fff"},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.seleTime(a,t.id)}}},[i("p",{staticClass:"tn-text-sm tn-margin-bottom-xs"},[e._v("约"),0!=t.date?i("span",{staticClass:"tn-text-xl"},[e._v(e._s(" "+t.date+" "))]):e._e(),i("span",{staticClass:"tn-text-xl"},[e._v(e._s(" "+t.send_time+" "))]),e._v("送达")]),i("v-uni-view",{staticClass:"tn-margin-bottom-xs"},[0!=t.date?i("span",[e._v(e._s(t.date))]):e._e(),e._v(e._s(t.cut_time)+"截单")]),i("v-uni-view",{},[0==t.time_status||0==t.is_countdown?i("v-uni-view",{staticClass:"tn-text-sm"},[e._v(e._s(t.remark))]):e._e(),1==t.time_status&&1==t.is_countdown?i("v-uni-view",{staticClass:"tn-text-sm"},[e._v("距截单:"+e._s(t.remainingTime.hour)+"小时"+e._s(t.remainingTime.minutes)+"分"+e._s(t.remainingTime.second)+"秒")]):e._e()],1)],1):e._e()],1)})),1)],1)],1)},r=[]},bd34:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"card-switch"},[e.navData.length>0?i("v-uni-view",{staticClass:"top-nav"},e._l(e.navData,(function(t,a){return i("v-uni-view",{key:a,staticClass:"nav-item tn-flex-center",style:[e.navItemStyle(a)],on:{click:function(i){i.stopPropagation(),arguments[0]=i=e.$handleEvent(i),e.navSwitchEvent(a,t)}}},[e._v(e._s(t)),e.navCount>1&&a===e.value?i("v-uni-view",{staticClass:"select tn-flex-center"},[e._v(e._s(t))]):e._e()],1)})),1):e._e(),i("v-uni-view",{staticClass:"content-wrapper"},[e._t("default")],2)],1)},r=[]},c0b3:function(e,t,i){"use strict";var a=i("76f3"),r=i.n(a);r.a},c91e:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("bd06"),i("aa9c"),i("64aa"),i("473f"),i("bf0f"),i("8f71"),i("4626"),i("fd3c"),i("d4b5"),i("5c47"),i("0506"),i("2797");var r=a(i("dc1f")),n=a(i("7341")),o=a(i("34cae")),s=a(i("bbf7")),d=a(i("6819")),c=a(i("e9ee")),l=i("af51"),u=i("815c"),p=(i("f9ce"),a(i("8c27"))),f=i("9d0a"),v=i("419c"),h=a(i("cb6a")),m=(a(i("ae59")),a(i("495e"))),_=i("ade3"),g=i("262c"),y=i("a69d"),b=i("26bf"),x=i("9897"),w=i("b780"),I={components:{CardSwitch:n.default,CenterModal:m.default,TimeSelectModal:d.default,PaySelectModal:o.default,RedpacketTicketSelect:s.default,AddressSelectModal:c.default,loading:p.default},mixins:[r.default],props:{optionsData:{sid:"",from:"",fromzhitong:0,spellrice:"",spellrice_oid:0,spellrice_id:0,cart_ids:0},is_express:0,currentSelectAddressId:""},data:function(){return{showConcat:!1,isLogin:!0,isLoadData:!1,orderTypeIndex:0,inStoreOrderTypeIndex:1,remarkInput:!1,remarkFocus:!1,deliveryInfo:{delivery:{address:"",username:"",mobile:"",deliveryTime:""},inStore:{mobile:"",deliveryTime:""},pinfan:{time:"",spellrice_time:""}},storeInfo:{title:"",address:"",deliveryType:0,deliveryMode:0,goodsType:0,isRest:0,isInBusiness:0},orderInfo:{products:[],boxPrice:0,packingPrice:0,deliveryFee:0,packFee:0,totalPrice:0,discountPrice:0,paidPrice:0,note:"",deliveryTimes:{}},discountPrice:0,totalPrice:0,orderSubmitInfo:{redpacketId:0,couponId:0,memberChoice:[],predictDayCn:"",predictIndex:0},activityList:[],redpacketData:[],couponData:[],surchargeFee:[],timeRange:[],isShowMemberChoice:!1,showSelectTimeModal:!1,defaultSelectTime:"",selectTimeType:"",showSelectPayWayModal:!1,showSelectRedpacketModal:!1,showSelectCouponModal:!1,currentSelectAddressId:"",addressList:[],showChooseAddressModal:!1,orderId:0,isSubmit:!1,loadingShow:!1,isShowSub:!1,spellrice:{},redStyle:!1,virtuallyRedEnvelope:"",selectJlIndex:-1,selectTcIndex:-1,pre_mealredpacket_:"",buy_mealredpacket:0,pre_add_mealredpacket_:"",buy_add_mealredpacket:0,purchaseRedEnvelopePrice:0,tuangouquan_id:0,store_extra_fee_detail:[],jielong:{},jielong_url:""}},computed:{inStoreOrderTypeBtnStyle:function(){var e=this;return function(t){var i={};return i.color=e.themeFontColor,t===e.inStoreOrderTypeIndex?i.backgroundColor=e.themeBgColor:i.borderColor=e.themeBgColor,i}},currentSelectRedpacketIndex:function(){var e,t=-1;return(null===(e=this.redpacketData)||void 0===e?void 0:e.length)>0&&(t=this.redpacketData.findIndex((function(e){return!0===e.select})),-1!=t&&(this.orderSubmitInfo.redpacketId=this.redpacketData[t].id)),t},currentSelectCouponIndex:function(){var e,t=-1;return(null===(e=this.couponData)||void 0===e?void 0:e.length)>0&&(t=this.couponData.findIndex((function(e){return!0===e.select})),-1!=t&&(this.orderSubmitInfo.couponId=this.couponData[t].id)),t},orderTypeModeData:function(){console.log(this.storeInfo.deliveryType);var e=[];if(0!=this.storeInfo.deliveryType)switch(this.storeInfo.deliveryType){case 2:e=[4===this.storeInfo.goodsType?"到店消费":"到店自取"];case 3:e=1===this.storeInfo.deliveryMode?["商家自送","到店自取"]:["骑手配送","到店自取"];default:e=[1===this.storeInfo.deliveryMode?"商家自送":"骑手配送"]}return 1==this.storeInfo.express_open&&e.push("快递配送"),e},orderTypeModeSelectCn:function(){return this.orderTypeModeData[this.orderTypeIndex]},paidPrice:function(){var e=Number(this.orderInfo.totalPrice),t=Number(this.orderInfo.discountPrice),i=this.orderInfo.paidPrice;if(this.surchargeFee.length>0){var a=this.surchargeFee.filter((function(e){return e.select})).reduce((function(e,t){return e+t.price}),0);i+=a}if((2===this.storeInfo.deliveryType||2!==this.storeInfo.deliveryType&&1===this.orderTypeIndex)&&(i-=this.orderInfo.deliveryFee,e-=this.orderInfo.deliveryFee,1===this.inStoreOrderTypeIndex&&(i-=this.orderInfo.boxPrice+this.orderInfo.packFee+this.orderInfo.packingPrice,e-=this.orderInfo.boxPrice+this.orderInfo.packFee+this.orderInfo.packingPrice)),-1!==this.currentSelectRedpacketIndex){var r=this.redpacketData[this.currentSelectRedpacketIndex];i-=r.discount,t+=r.discount}if(-1!==this.currentSelectCouponIndex){var n=this.couponData[this.currentSelectCouponIndex];i-=n.discount,t+=n.discount}return this.totalPrice=e,this.discountPrice=t,(0,u.formatPrice)(i+this.purchaseRedEnvelopePrice)},isSubmitOrder:function(){return!!this.currentSelectAddressId||0==this.jielong.is_address}},mounted:function(e){var t=(0,g.getSubmitOrderChooseAddressId)();t&&(this.currentSelectAddressId=t),this.getAddressList()},methods:{setTcIndex:function(e,t,i){var a=t;this.selectTcIndex=e;for(var r=[],n=0;n0&&void 0!==arguments[0]?arguments[0]:0,i=this;this.loadingShow=!0,(0,w.getOrderPreInfoApi)({sid:this.optionsData.sid,address_id:t||this.currentSelectAddressId,jielong_id:this.optionsData.jielong_id}).then((function(t){e.isLoadData=!0,i.orderInfo=t[0],e.loadingShow=!1,e.optionsData.jielong_id&&e.getJieLongConfig(e.optionsData.jielong_id)})).catch((function(t){e.isLoadData=!1,console.error("[submit-order]获取订单预信息失败",t),e.loadingShow=!1,(0,g.clearSubmitOrderChooseAddressId)(),(0,f.showModal)({title:"提示",content:t.msg||"获取订单预信息失败",callback:function(){(0,v.navBack)()}})}))},getAddressList:function(){var e=this;this.isSubmit||(0,y.getUserAddressListApi)().then((function(t){e.isLogin=!0;var i=t.addresses;i&&(e.addressList=i.map((function(e){return{id:e.id,username:e.realname,mobile:e.mobile,sex:e.sex,address:e.address+e.number,number:e.number}}))),e.getPageData()})).catch((function(t){console.error("[submit-order]获取地址列表失败",t),e.addressList=[],"请重新登录"==t.msg?e.isLogin=!1:(0,f.showModal)({title:"提示",content:t.msg||"获取商品信息失败",callback:function(){(0,v.navBack)()}})}))},setDefaultAddressInfo:function(e){this.currentSelectAddressId=e.id,this.deliveryInfo.delivery.address=e.address,this.deliveryInfo.delivery.username=e.username,this.deliveryInfo.delivery.mobile=e.mobile},switchInStoreModeEvent:function(e){2==this.storeInfo.selfpickup_type&&0==e||1==this.storeInfo.selfpickup_type&&1==e?console.log("不能切换"):e!==this.inStoreOrderTypeIndex&&(this.inStoreOrderTypeIndex=e,console.log(this.inStoreOrderTypeIndex))},switchSurchargeFeeStatus:function(e){this.surchargeFee[e].select=!this.surchargeFee[e].select,this.orderSubmitInfo.memberChoice=this.surchargeFee.map((function(e){return{status:e.select}}))},chooseTime:function(e){switch(this.selectTimeType=e,e){case"delivery":this.defaultSelectTime=this.deliveryInfo.delivery.deliveryTime;break;case"inStore":this.defaultSelectTime=this.deliveryInfo.inStore.deliveryTime;break}this.showSelectTimeModal=!0},handleChooseTimeModalConfirmEvent:function(e){var t=e.value,i=e.date,a=e.timeIndex;switch(console.log(t,i,a),this.selectTimeType){case"delivery":this.deliveryInfo.delivery.deliveryTime=t;break;case"inStore":this.deliveryInfo.inStore.deliveryTime=t;break}if(this.orderSubmitInfo.predictDayCn=i,this.orderSubmitInfo.predictIndex=a,this.deliveryInfo.pinfan.time=t,0==this.optionsData.spellrice_oid&&1==this.optionsData.spellrice)for(var r=0;r0&&(e.handleFormatTime(),e.countDown())})).catch((function(e){console.log(e)}))},duibiTime:function(e){var t=new Date,i=t.getHours()+":"+(t.getMinutes()<9?"0"+t.getMinutes():t.getMinutes()),a=e,r=i.split(":"),n=a.split(":");if(t.setHours(r[0],r[1])>t.setHours(n[0],n[1]))return!0},countDown:function(){var e=this;this.timer=setInterval((function(){e.handleFormatTime()}),1e3)},handleFormatTime:function(){var e=this;this.list.forEach((function(t,i){var a=t.pre_day,r=t.cut_time,n=r.split(":"),o=parseInt(n[0]),s=parseInt(n[1]);o=0==a?o:o+24*a;var d=new Date,c=d.getHours(),l=d.getMinutes(),u=d.getSeconds(),p={};o>c?(p.hour=o-c-1,s>l?(p.minutes=s-l,p.second=60-u):(p.minutes=s-l+60,p.second=60-u)):(p.hour=o-c==0?0:o-c-1+24,s>l?(p.minutes=s-l,p.second=60-u):(p.minutes=s-l+60,p.second=60-u)),t.remainingTime=p,e.list.splice(i,1,t)}))}}};t.default=r}}]);