This commit is contained in:
udf_admin@163.com
2020-04-22 22:20:14 +08:00
parent a2878bb6f4
commit 7bb7d9f7d8
3 changed files with 33 additions and 20 deletions
+24 -20
View File
@@ -1,5 +1,6 @@
<template>
<div class="hello">
<el-button type="primary">主要按钮</el-button>
<h1>{{ msg }}</h1>
<h2>Essential Links</h2>
<ul>
@@ -84,30 +85,33 @@
</template>
<script>
export default {
name: 'HelloWorld',
data () {
return {
msg: 'Welcome to Your Vue.js App'
export default {
name: 'HelloWorld',
data() {
return {
msg: 'Welcome to Your Vue.js App'
}
}
}
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
font-weight: normal;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
h1, h2 {
font-weight: normal;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
</style>