{"ast":null,"code":"import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-7b7e5f8e\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"tabbar\"\n};\nconst _hoisted_2 = [\"src\"];\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_van_tabbar_item = _resolveComponent(\"van-tabbar-item\");\n const _component_van_tabbar = _resolveComponent(\"van-tabbar\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_component_van_tabbar, {\n modelValue: $setup.active,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.active = $event)\n }, {\n default: _withCtx(() => [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.tabbar, (item, index) => {\n return _openBlock(), _createBlock(_component_van_tabbar_item, {\n onClick: $event => $setup.changeEvnt(item),\n name: $setup.tabbar.name,\n key: index,\n to: item.to\n }, {\n icon: _withCtx(props => [_createElementVNode(\"img\", {\n src: props.active ? $setup.tabbar[index].icon.active : $setup.tabbar[index].icon.inactive\n }, null, 8 /* PROPS */, _hoisted_2)]),\n _: 2 /* DYNAMIC */\n }, 1032 /* PROPS, DYNAMIC_SLOTS */, [\"onClick\", \"name\", \"to\"]);\n }), 128 /* KEYED_FRAGMENT */))]),\n\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"modelValue\"])]);\n}","map":{"version":3,"names":["class","_createElementBlock","_hoisted_1","_createVNode","_component_van_tabbar","$setup","active","$event","_Fragment","_renderList","tabbar","item","index","_createBlock","_component_van_tabbar_item","onClick","changeEvnt","name","key","to","icon","_withCtx","props","_createElementVNode","src","inactive"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/components/Tabbar.vue"],"sourcesContent":["\n\t\n\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t\n\t\t\n\t
\n\n\n\n"],"mappings":";;;EACMA,KAAK,EAAC;AAAQ;;;;;uBAAnBC,mBAAA,CAaM,OAbNC,UAaM,GAZLC,YAAA,CAWaC,qBAAA;gBAXQC,MAAA,CAAAC,MAAM;+DAAND,MAAA,CAAAC,MAAM,GAAAC,MAAA;;sBACqC,MAA+B,E,kBAA9FN,mBAAA,CASkBO,SAAA,QAAAC,WAAA,CATqEJ,MAAA,CAAAK,MAAM,GAAtBC,IAAI,EAAEC,KAAK;2BAAlFC,YAAA,CASkBC,0BAAA;QATAC,OAAK,EAAAR,MAAA,IAAEF,MAAA,CAAAW,UAAU,CAACL,IAAI;QAAIM,IAAI,EAAEZ,MAAA,CAAAK,MAAM,CAACO,IAAI;QAAmCC,GAAG,EAAEN,KAAK;QACxGO,EAAE,EAAER,IAAI,CAACQ;;QACCC,IAAI,EAAAC,QAAA,CAAEC,KAAK,KACrBC,mBAAA,CAIW;UAJLC,GAAG,EAAiBF,KAAK,CAAChB,MAAM,GAAmBD,MAAA,CAAAK,MAAM,CAACE,KAAK,EAAEQ,IAAI,CAACd,MAAM,GAAmBD,MAAA,CAAAK,MAAM,CAACE,KAAK,EAAEQ,IAAI,CAACK"},"metadata":{},"sourceType":"module","externalDependencies":[]}