webpackJsonp([26],{381:function(i,e,t){function s(i){t(452)}var n=t(1)(t(450),t(455),s,"data-v-1cb09aa3",null);i.exports=n.exports},450:function(i,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=t(15),n=t.n(s),o=t(10),a=t(235);t(18);e.default={props:{editing:{type:Boolean,default:null},value:{type:Boolean,default:null},unit:{}},data:function(){return{showModel:!1,unanswered:!1,voiceReminding:!0,windowReminding:!0}},computed:n()({},t.i(o.a)({userConfig:function(i){return i.userConfig}})),watch:{value:function(i){this.showModel=i}},created:function(){if(this.userConfig.MALL)if(this.userConfig.MALL.setting){var i=this.userConfig.MALL.setting;this.unanswered=i.unanswered,this.voiceReminding=i.voiceReminding,this.windowReminding=i.windowReminding}else{var e=this.userConfig.MALL;this.unanswered=e.unanswered,this.voiceReminding=e.voiceReminding,this.windowReminding=e.windowReminding}this.showModel=this.value},mounted:function(){},methods:n()({},t.i(o.b)([a.a]),{save:function(){var i={};i.MALL={unanswered:this.unanswered,voiceReminding:this.voiceReminding,windowReminding:this.windowReminding},this.USERCONFIG_UPDATE(i),this.close()},close:function(){this.$emit("input",!1),this.$emit("close")}}),beforeDestroy:function(){}}},451:function(i,e,t){e=i.exports=t(378)(!1),e.push([i.i,"",""])},452:function(i,e,t){var s=t(451);"string"==typeof s&&(s=[[i.i,s,""]]),s.locals&&(i.exports=s.locals);t(379)("4a4d8bb4",s,!0)},455:function(i,e){i.exports={render:function(){var i=this,e=i.$createElement,t=i._self._c||e;return t("v-modal",{staticClass:"store-setting-model",on:{ok:i.save,close:i.close},model:{value:i.showModel,callback:function(e){i.showModel=e},expression:"showModel"}},[t("template",{attrs:{slot:"modal-header"},slot:"modal-header"},[t("h5",{staticClass:"modal-title"},[i._v("云店设置")]),i._v(" "),t("button",{staticClass:"close",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),e.stopPropagation(),i.close(e)}}},[t("span",[i._v("×")])])]),i._v(" "),t("template",{attrs:{slot:"modal-body"},slot:"modal-body"},[t("div",{staticClass:"list-group"},[t("div",{staticClass:"list-group-item list-group-item-action"},[t("div",{staticClass:"row align-items-center"},[t("div",{staticClass:"col-8"},[t("h5",{staticClass:"mb-1 text-primary"},[i._v("本机不接单")]),i._v(" "),t("small",[i._v("启用后，外卖订单将不会推送到本机")])]),i._v(" "),t("div",{staticClass:"col-4 text-right"},[t("v-switch",{attrs:{size:"md",color:"blue"},model:{value:i.unanswered,callback:function(e){i.unanswered=e},expression:"unanswered"}})],1)])]),i._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!i.unanswered,expression:"!unanswered"}],staticClass:"list-group-item list-group-item-action"},[t("div",{staticClass:"row align-items-center"},[t("div",{staticClass:"col-8"},[t("h5",{staticClass:"mb-1 text-primary"},[i._v("语音提醒")]),i._v(" "),t("small",[i._v("当有外卖订单时，播放提醒。")])]),i._v(" "),t("div",{staticClass:"col-4 text-right"},[t("v-switch",{attrs:{size:"md",color:"blue"},model:{value:i.voiceReminding,callback:function(e){i.voiceReminding=e},expression:"voiceReminding"}})],1)])]),i._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!i.unanswered,expression:"!unanswered"}],staticClass:"list-group-item list-group-item-action"},[t("div",{staticClass:"row align-items-center"},[t("div",{staticClass:"col-8"},[t("h5",{staticClass:"mb-1 text-primary"},[i._v("弹窗提醒")]),i._v(" "),t("small",[i._v("当有外卖订单时，在桌面上弹出提醒窗口。")])]),i._v(" "),t("div",{staticClass:"col-4 text-right"},[t("v-switch",{attrs:{size:"md",color:"blue"},model:{value:i.windowReminding,callback:function(e){i.windowReminding=e},expression:"windowReminding"}})],1)])])])])],2)},staticRenderFns:[]}}});