mirror of
https://github.com/Dichgrem/Vue.git
synced 2025-12-17 22:12:00 -05:00
style:apart_css
This commit is contained in:
@@ -75,21 +75,7 @@
|
||||
.tdItem-acts a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["todos"],
|
||||
|
||||
methods: {
|
||||
delTodo(item) {
|
||||
this.$emit("delTodo", item)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.tdList {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
@@ -106,3 +92,15 @@ export default {
|
||||
color: gray;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["todos"],
|
||||
|
||||
methods: {
|
||||
delTodo(item) {
|
||||
this.$emit("delTodo", item)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user