You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.4 KiB
1 line
8.4 KiB
3 months ago
|
{"ast":null,"code":"import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\";\nimport _imports_0 from './Logo.png';\nimport _imports_1 from './tu.png';\nconst _hoisted_1 = {\n key: 0,\n class: \"tooltip-ball\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_menu_item = _resolveComponent(\"el-menu-item\");\n const _component_el_sub_menu = _resolveComponent(\"el-sub-menu\");\n const _component_el_menu = _resolveComponent(\"el-menu\");\n return _openBlock(), _createElementBlock(_Fragment, null, [_createVNode(_component_el_menu, {\n \"default-active\": _ctx.activeIndex,\n class: \"el-menu-demo\",\n mode: \"horizontal\",\n onSelect: $setup.handleSelect,\n \"background-color\": \"#FFFFFF\",\n \"text-color\": \"#000000\",\n \"active-text-color\": \"#FEB2D7\"\n }, {\n default: _withCtx(() => [_cache[8] || (_cache[8] = _createElementVNode(\"div\", {\n class: \"logo\"\n }, [_createElementVNode(\"img\", {\n src: _imports_0,\n alt: \"Logo\"\n })], -1 /* HOISTED */)), _createVNode(_component_el_menu_item, {\n index: \"1\",\n class: _normalizeClass({\n 'active-item': _ctx.activeIndex === '1'\n })\n }, {\n default: _withCtx(() => _cache[0] || (_cache[0] = [_createTextVNode(\"智能推荐\")])),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), _createVNode(_component_el_sub_menu, {\n index: \"2\"\n }, {\n title: _withCtx(() => _cache[1] || (_cache[1] = [_createTextVNode(\"社区互动\")])),\n default: _withCtx(() => [_createVNode(_component_el_menu_item, {\n index: \"2-1\",\n class: _normalizeClass({\n 'active-item': _ctx.activeIndex === '2-1'\n })\n }, {\n default: _withCtx(() => _cache[2] || (_cache[2] = [_createTextVNode(\"item one\")])),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), _createVNode(_component_el_menu_item, {\n index: \"2-2\",\n class: _normalizeClass({\n 'active-item': _ctx.activeIndex === '2-2'\n })\n }, {\n default: _withCtx(() => _cache[3] || (_cache[3] = [_createTextVNode(\"item two\")])),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), _createVNode(_component_el_menu_item, {\n index: \"2-3\",\n class: _normalizeClass({\n 'active-item': _ctx.activeIndex === '2-3'\n })\n }, {\n default: _withCtx(() => _cache[4] || (_cache[4] = [_createTextVNode(\"item three\")])),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"])]),\n _: 1 /* STABLE */\n }), _createVNode(_component_el_menu_item, {\n index: \"3\",\n disabled: \"\"\n }, {\n default: _withCtx(() => _cache[5] || (_cache[5] = [_createTextVNode(\"情感助手\")])),\n _: 1 /* STABLE */\n }), _createVNode(_component_el_menu_item, {\n index: \"4\",\n class: _normalizeClass({\n 'active-item': _ctx.activeIndex === '4'\n })\n }, {\n default: _withCtx(() => _cache[6] || (_cache[6] = [_createTextVNode(\"个人空间\")])),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"class\"]), _cache[9] || (_cache[9] = _createElementVNode(\"div\", {\n class: \"tu\"\n }, [_createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"tu\"\n })], -1 /* HOISTED */)), _ctx.activeIndex ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _cache[7] || (_cache[7] = [_createElementVNode(\"span\", null, \"提示信息\", -1 /* HOISTED */)]))) : _createCommentVNode(\"v-if\", true)]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"default-active\"]), _cache[10] || (_cache[10] = _createElementVNode(\"div\", {\n class: \"h-6\"\n }, null, -1 /* HOISTED */))], 64 /* STABLE_FRAGM
|