Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SQL_Mou
NewTruckTerminalSyetem
Commits
fdd52891
Commit
fdd52891
authored
Aug 16, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
65131e46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
44 deletions
+7
-44
index.html
public/index.html
+7
-0
sidebar.vue
src/components/sidebar/sidebar.vue
+0
-44
No files found.
public/index.html
View file @
fdd52891
...
@@ -6,6 +6,13 @@
...
@@ -6,6 +6,13 @@
<meta
name=
"author"
content=
"火星科技 http://mars3d.cn "
>
<meta
name=
"author"
content=
"火星科技 http://mars3d.cn "
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<script
src=
"https://cdn.bootcss.com/eruda/1.5.8/eruda.min.js"
></script>
<script>
eruda
.
init
();
console
.
log
(
'
控制台打印信息
'
);
</script>
<!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
<!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
...
...
src/components/sidebar/sidebar.vue
deleted
100644 → 0
View file @
65131e46
<
template
>
<div
class=
"menutree"
>
<div>
<label
v-for=
"menu in data"
:key=
"menu.index"
>
<el-submenu
:index=
"String(menu.id)"
v-if=
"menu.children!=''"
>
<template
slot=
"title"
>
<i
:class=
"'iconfont ' + menu.icon"
style=
"margin-right:10px;color:rgb(3,156,205);"
></i>
<span>
{{
menu
.
name
}}
</span>
</
template
>
<label>
<menutree
:data=
"menu.children"
></menutree>
</label>
</el-submenu>
<el-menu-item
:index=
"menu.path"
v-else
class=
"itemChilren"
>
<i
:class=
"'iconfont ' + menu.icon"
style=
"margin-right:10px;color:rgb(3,156,205);"
></i>
<span
slot=
"title"
>
{{menu.name}}
</span>
</el-menu-item>
</label>
</div>
</div>
</template>
<
script
>
import
menutree
from
"
./sidebar
"
;
export
default
{
name
:
"
menutree
"
,
data
()
{
return
{
};
},
components
:
{
menutree
:
menutree
},
props
:
[
"
data
"
],
mounted
()
{},
methods
:
{
getImgUrl
(
icon
)
{
return
require
(
"
@/assets/
"
+
icon
);
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment