Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit082c58e

Browse files
committed
修改
1 parent6e2d88f commit082c58e

File tree

18 files changed

+462
-521
lines changed

18 files changed

+462
-521
lines changed

‎.vscode/setting.json‎

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
11
{
2-
"eslint.validate": [
3-
"javascript",
4-
"javascriptreact",
5-
"vue"
6-
],
7-
"vetur.validation.template":false,
8-
"vetur.format.defaultFormatter.html":"prettyhtml",
9-
"vetur.format.defaultFormatter.css":"prettier",
10-
"vetur.format.defaultFormatter.postcss":"prettier",
11-
"vetur.format.defaultFormatter.scss":"prettier",
12-
"vetur.format.defaultFormatter.less":"prettier",
13-
"vetur.format.defaultFormatter.stylus":"stylus-supremacy",
14-
"vetur.format.defaultFormatter.js":"prettier",
15-
"vetur.format.defaultFormatter.ts":"prettier",
16-
"vetur.format.defaultFormatter.sass":"sass-formatter",
17-
"vetur.format.options.tabSize":2,
18-
"vetur.format.options.useTabs":false,
19-
"vetur.format.defaultFormatterOptions": {
20-
"js-beautify-html": {
21-
"wrap_attributes":"auto",
22-
"wrap_line_length":0,
23-
"semi":false,
24-
"singleQuote":true
2+
"eslint.validate": ["javascript","javascriptreact","vue"],
3+
"vetur.validation.template":false,
4+
"vetur.format.defaultFormatter.html":"prettyhtml",
5+
"vetur.format.defaultFormatter.css":"prettier",
6+
"vetur.format.defaultFormatter.postcss":"prettier",
7+
"vetur.format.defaultFormatter.scss":"prettier",
8+
"vetur.format.defaultFormatter.less":"prettier",
9+
"vetur.format.defaultFormatter.stylus":"stylus-supremacy",
10+
"vetur.format.defaultFormatter.js":"prettier",
11+
"vetur.format.defaultFormatter.ts":"prettier",
12+
"vetur.format.defaultFormatter.sass":"sass-formatter",
13+
"vetur.format.options.tabSize":4,
14+
"vetur.format.options.useTabs":false,
15+
"vetur.format.defaultFormatterOptions": {
16+
"js-beautify-html": {
17+
"wrap_attributes":"auto",
18+
"wrap_line_length":0,
19+
"semi":false,
20+
"singleQuote":true
21+
}
22+
},
23+
"editor.formatOnSave":true,
24+
"editor.formatOnType":false,
25+
"editor.formatOnPaste":true,
26+
"editor.wordWrap":"off",
27+
"editor.detectIndentation":false,
28+
"editor.codeActionsOnSave": {
29+
"source.fixAll.eslint":true
2530
}
26-
},
27-
"editor.formatOnSave":true,
28-
"editor.formatOnType":false,
29-
"editor.formatOnPaste":true,
30-
"editor.wordWrap":"off",
31-
"editor.detectIndentation":false,
32-
"editor.codeActionsOnSave": {
33-
"source.fixAll.eslint":true
34-
}
35-
}
31+
}

‎src/App.vue‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ export default {
1414
</script>
1515

1616
<style>
17+
body,
18+
td,
19+
th {
20+
font-family:'Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB',
21+
'Microsoft YaHei','微软雅黑',Arial,sans-serif;
22+
}
1723
</style>

‎src/components/mavon_editor.vue‎

Whitespace-only changes.

‎src/components/nav.vue‎

Lines changed: 99 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,42 @@
22
<divclass="nav">
33
<divclass="nav-content">
44
<divclass="nav-rows">
5-
<divclass="row-col-1">
6-
<router-linkto="/">
7-
<imgclass="logo"
8-
src="../assets/avat.jpg"
9-
alt="">
10-
</router-link>
11-
</div>
12-
<divclass="row-col-2">
13-
<ul>
14-
<liclass="item">
15-
<router-linkto="/">首页</router-link>
16-
</li>
17-
<liclass="item">
18-
<router-linkto="/article">文章</router-link>
19-
</li>
20-
<liclass="item">
21-
<router-linkto="/">归档</router-link>
22-
</li>
23-
<liclass="item">
24-
<router-linkto="/">项目</router-link>
25-
</li>
26-
<liclass="item">
27-
<router-linkto="/">历程</router-link>
28-
</li>
29-
<liclass="item">
30-
<router-linkto="/">留言</router-link>
31-
</li>
32-
<liclass="item">
33-
<router-linkto="/">关于</router-link>
34-
</li>
35-
</ul>
36-
</div>
37-
<divclass="row-col-3">
38-
<divclass="nav-right">
39-
<el-buttonsize="small"
40-
type="primary">登录</el-button>
41-
<el-buttonsize="small"
42-
type="danger">注册</el-button>
43-
</div>
44-
</div>
5+
<el-row>
6+
<el-col:span="3">
7+
<router-linkto="/">
8+
<imgclass="logo"
9+
src="../assets/avat.jpg"
10+
alt="">
11+
</router-link>
12+
</el-col>
13+
<el-col:span="16">
14+
<ul>
15+
<liclass="item">
16+
<router-linkto="/">首页</router-link>
17+
</li>
18+
<liclass="item">
19+
<router-linkto="/article">文章</router-link>
20+
</li>
21+
<liclass="item">
22+
<router-linkto="/">归档</router-link>
23+
</li>
24+
<liclass="item">
25+
<router-linkto="/">留言</router-link>
26+
</li>
27+
<liclass="item">
28+
<router-linkto="/">关于</router-link>
29+
</li>
30+
</ul>
31+
</el-col>
32+
<el-col:span="4">
33+
<divclass="nav-right">
34+
<el-buttonsize="small"
35+
type="primary">登录</el-button>
36+
<el-buttonsize="small"
37+
type="danger">注册</el-button>
38+
</div>
39+
</el-col>
40+
</el-row>
4541
</div>
4642
</div>
4743
</div>
@@ -58,98 +54,84 @@ export default {
5854

5955
<style scoped>
6056
.nav {
61-
position:fixed;
62-
top:0;
63-
left:0;
64-
z-index:1000;
65-
width:100%;
66-
height:60px;
67-
border-bottom:1pxsolid#eee;
68-
background-color:#fff;
57+
position:fixed;
58+
top:0;
59+
left:0;
60+
z-index:1000;
61+
width:100%;
62+
height:60px;
63+
border-bottom:1pxsolid#eee;
64+
background-color:#fff;
6965
}
7066
.nav-content {
71-
width:1200px;
72-
height:100%;
73-
margin:0auto;
67+
width:1200px;
68+
height:100%;
69+
margin:0auto;
7470
}
7571
.nav-rows {
76-
position:relative;
77-
height:100%;
78-
-webkit-box-sizing:border-box;
79-
box-sizing:border-box;
80-
margin-left:-10px;
81-
margin-right:-10px;
82-
}
83-
.row-col-1 {
84-
padding:010px;
85-
width:calc(15%-20px);
86-
float:left;
72+
position:relative;
73+
height:100%;
74+
-webkit-box-sizing:border-box;
75+
box-sizing:border-box;
76+
margin-left:-10px;
77+
margin-right:-10px;
8778
}
8879
.logo {
89-
height:60px;
90-
width:60px;
91-
border-radius:50%;
92-
}
93-
.row-col-2 {
94-
padding:010px;
95-
width:calc(67%-20px);
96-
float:left;
80+
height:60px;
81+
width:60px;
82+
border-radius:50%;
9783
}
84+
9885
.item {
99-
float:left;
100-
height:60px;
101-
line-height:60px;
102-
border-bottom:2pxsolidtransparent;
103-
color:#909399;
104-
font-size:14px;
105-
padding:020px;
106-
transition: border-color0.3s, background-color0.3s,color0.3s;
107-
box-sizing:border-box;
86+
float:left;
87+
height:60px;
88+
line-height:60px;
89+
border-bottom:2pxsolidtransparent;
90+
color:#909399;
91+
font-size:14px;
92+
padding:020px;
93+
transition: border-color0.3s, background-color0.3s,color0.3s;
94+
box-sizing:border-box;
10895
}
10996
.item>a:hover {
110-
cursor:pointer;
111-
}
112-
.row-col-3 {
113-
padding:010px;
114-
width:calc(18%-20px);
115-
float:left;
97+
cursor:pointer;
11698
}
11799
.nav-right {
118-
position:relative;
119-
padding-top:15px;
120-
text-align:right;
100+
position:relative;
101+
padding-top:15px;
102+
text-align:right;
121103
}
122104
.login-button {
123-
line-height:1;
124-
padding:9px15px;
125-
font-size:12px;
126-
border-radius:3px;
127-
color:#fff;
128-
background-color:#409eff;
129-
border-color:#409eff;
130-
margin:0;
131-
outline:0;
132-
display:inline-block;
133-
white-space:nowrap;
134-
cursor:pointer;
135-
border:1pxsolid#dcdfe6;
136-
box-sizing:border-box;
137-
text-align:center;
105+
line-height:1;
106+
padding:9px15px;
107+
font-size:12px;
108+
border-radius:3px;
109+
color:#fff;
110+
background-color:#409eff;
111+
border-color:#409eff;
112+
margin:0;
113+
outline:0;
114+
display:inline-block;
115+
white-space:nowrap;
116+
cursor:pointer;
117+
border:1pxsolid#dcdfe6;
118+
box-sizing:border-box;
119+
text-align:center;
138120
}
139121
.register-button {
140-
line-height:1;
141-
margin-left:10px;
142-
padding:9px15px;
143-
font-size:12px;
144-
border-radius:3px;
145-
color:#fff;
146-
background-color:#f56c6c;
147-
border-color:#f56c6c;
148-
outline:0;
149-
display:inline-block;
150-
white-space:nowrap;
151-
cursor:pointer;
152-
border:1pxsolid#dcdfe6;
153-
box-sizing:border-box;
122+
line-height:1;
123+
margin-left:10px;
124+
padding:9px15px;
125+
font-size:12px;
126+
border-radius:3px;
127+
color:#fff;
128+
background-color:#f56c6c;
129+
border-color:#f56c6c;
130+
outline:0;
131+
display:inline-block;
132+
white-space:nowrap;
133+
cursor:pointer;
134+
border:1pxsolid#dcdfe6;
135+
box-sizing:border-box;
154136
}
155137
</style>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp