Skip to content

Commit 3b998b8

Browse files
committed
update
1 parent 583ccaf commit 3b998b8

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

vuejs练习/基本使用/index.css

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
html,body,#editor{
1+
html, body, #editor {
22
margin: 0;
33
height: 100%;
4-
font-family: "Helvetica Neue", Arial, sans-serif;
4+
font-family: 'Helvetica Neue', Arial, sans-serif;
55
color: #333;
66
}
77

8-
textarea, #editor div{
8+
textarea, #editor div {
99
display: inline-block;
1010
width: 49%;
1111
height: 100%;
@@ -16,21 +16,17 @@ textarea, #editor div{
1616
padding: 0 20px;
1717
}
1818

19-
textarea{
19+
textarea {
2020
border: none;
2121
border-right: 1px solid #ccc;
2222
resize: none;
2323
outline: none;
2424
background-color: #f6f6f6;
2525
font-size: 14px;
26-
font-family: 'Monaco',Courier,monospace;
26+
font-family: 'Monaco', courier, monospace;
2727
padding: 20px;
2828
}
2929

30-
code{
30+
code {
3131
color: #f66;
32-
}
33-
34-
#editor div{
35-
background-color: #00d4b4;
3632
}

vuejs练习/基本使用/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>vuejs练习</title>
6-
6+
<link rel="stylesheet" type="text/css" href="index.css">
77
</head>
88
<body>
99
<div id="editor">
1010
<textarea v-model="input" debounce="300"></textarea>
1111
<div v-html="input | marked"></div>
1212
</div>
13-
14-
<script src='http://cdn.jsdelivr.net/vue/1.0.26/vue.min.js'></script>
13+
<script src='../vue.min.js'></script>
1514
<script src="index.js"></script>
16-
<link type="text/css" href="index.css">
1715
</body>
1816
</html>

vuejs练习/基本使用/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ new Vue({
44
input: '# hello'
55
},
66
filters: {
7-
marked: marked
7+
// marked: marked
88
}
99
})

0 commit comments

Comments
 (0)