Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
周远喜
mes-ui
Commits
af2df87a
Commit
af2df87a
authored
Apr 20, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
54395375
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
4 deletions
+49
-4
basic.vue
layouts/basic.vue
+5
-4
layout.vue
pages/go/layout.vue
+44
-0
No files found.
layouts/basic.vue
View file @
af2df87a
...
...
@@ -20,15 +20,16 @@
<MenuItem
name=
"6"
to=
"/go/model"
>
<Icon
type=
"ios-analytics"
></Icon>
建模
</MenuItem>
<MenuItem
name=
"
6
"
to=
"/go/pictrue"
>
<MenuItem
name=
"
7
"
to=
"/go/pictrue"
>
<Icon
type=
"ios-analytics"
></Icon>
图片
</MenuItem>
<MenuItem
name=
"8"
to=
"/go/layout"
>
<Icon
type=
"ios-analytics"
></Icon>
布局
</MenuItem>
</Menu>
</Header>
<Content>
<Card
class=
"hp100"
>
<Content>
<nuxt
/>
</Card>
</Content>
</Layout>
</
template
>
...
...
pages/go/layout.vue
0 → 100644
View file @
af2df87a
<
template
>
<Layout>
<Sider>
<h1>
之二十侧栏
</h1>
</Sider>
<Content>
<h2>
这是内容区
</h2>
</Content>
</Layout>
</
template
>
<
script
>
export
default
{
layout
:
"basic"
,
data
()
{
return
{
color
:
"#000000"
,
bgcolor
:
"red"
}
},
methods
:{
change
(
v
){
console
.
log
(
v
)
let
rgb
=
(
v
.
replace
(
"rgba("
,
""
).
replace
(
")"
)).
split
(
","
);
this
.
bgcolor
=
`rgba(
${
255
-
rgb
[
0
]}
,
${
255
-
rgb
[
1
]}
,
${
255
-
rgb
[
2
]}
,1)`
}
},
components
:
{
}
}
</
script
>
<
style
lang=
"less"
>
#color{
.item{
margin: 20px 0;
padding: 10px;
line-height: 300%;
border: 1px solid #eee;
}
}
</
style
>
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