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
6.7 KiB

3 months ago
{"ast":null,"code":"import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nimport _imports_0 from './Logo.png';\nimport _imports_1 from './tu.png';\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[7] || (_cache[7] = _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 }, {\n default: _withCtx(() => _cache[0] || (_cache[0] = [_createTextVNode(\"智能推荐\")])),\n _: 1 /* STABLE */\n }), _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 }, {\n default: _withCtx(() => _cache[2] || (_cache[2] = [_createTextVNode(\"item one\")])),\n _: 1 /* STABLE */\n }), _createVNode(_component_el_menu_item, {\n index: \"2-2\"\n }, {\n default: _withCtx(() => _cache[3] || (_cache[3] = [_createTextVNode(\"item two\")])),\n _: 1 /* STABLE */\n }), _createVNode(_component_el_menu_item, {\n index: \"2-3\"\n }, {\n default: _withCtx(() => _cache[4] || (_cache[4] = [_createTextVNode(\"item three\")])),\n _: 1 /* STABLE */\n })]),\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 }, {\n default: _withCtx(() => _cache[6] || (_cache[6] = [_createTextVNode(\"个人空间\")])),\n _: 1 /* STABLE */\n }), _cache[8] || (_cache[8] = _createElementVNode(\"div\", {\n class: \"tu\"\n }, [_createElementVNode(\"img\", {\n src: _imports_1,\n alt: \"tu\"\n })], -1 /* HOISTED */))]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"default-active\"]), _cache[9] || (_cache[9] = _createElementVNode(\"div\", {\n class: \"h-6\"\n }, null, -1 /* HOISTED */))], 64 /* STABLE_FRAGMENT */);\n}","map":{"version":3,"names":["_imports_0","_imports_1","_createElementBlock","_Fragment","_createVNode","_component_el_menu","_ctx","activeIndex","class","mode","onSelect","$setup","handleSelect","default","_withCtx","_createElementVNode","src","alt","_component_el_menu_item","index","_cache","_createTextVNode","_","_component_el_sub_menu","title","disabled"],"sources":["D:\\vue\\demo\\src\\components\\header.vue"],"sourcesContent":["<template>\r\n <el-menu\r\n :default-active=\"activeIndex\"\r\n class=\"el-menu-demo\"\r\n mode=\"horizontal\"\r\n @select=\"handleSelect\"\r\n background-color=\"#FFFFFF\"\r\n text-color=\"#000000\"\r\n active-text-color=\"#FEB2D7\"\r\n >\r\n <div class=\"logo\">\r\n <img src=\"./Logo.png\" alt=\"Logo\" />\r\n </div>\r\n <el-menu-item index=\"1\">智能推荐</el-menu-item>\r\n <el-sub-menu index=\"2\">\r\n <template #title></template>\r\n <e