webpackJsonp([34],{dERw:function(t,a){},nV1L:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("bzW+"),i=e("Qie6"),c={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"卡券赠送",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"卡券赠送",path:""}],tabListData:[{tabId:"1",tabName:"卡券列表",icon:"iconqiaquan"},{tabId:"2",tabName:"卡券记录",icon:"iconwodeqiaquan-"}],activeBrand:"",activeGroup:""}},computed:{},methods:{changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("cardList");break;case"2":this.changeRoute("cardRecord")}},showTab:function(t){this.activeTab=t,this.activeSelTab=t,this.tabListData.forEach(function(a){a.tabId==t&&(a.onlyIconActive=!1),a.children&&a.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0),e.children&&e.children.forEach(function(e){e.tabId==t&&(a.onlyIconActive=!0)})})})}},watch:{$route:{handler:function(t,a){},deep:!0},activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:n.a,commonDetailLeft:i.a}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])])],1)},staticRenderFns:[]};var s=e("VU/8")(c,o,!1,function(t){e("dERw")},"data-v-7b423504",null);a.default=s.exports}});