1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
| <template>
| <view class="todo-list">
| <ul>
| <HItem :todoItem="todoList"/>
| </ul>
| </view>
| </template>
|
| <script>
|
| import HItem from '../../components/ZWDB/HItem.vue';
| export default {
| props: {
| todoList: {
| type: Array,
| default: () => []
| }
| },
| components: {
| HItem
| },
| data() {
| return {
| }
| },
| methods: {
| addMission() {
|
| }
| }
| }
| </script>
|
| <style scoped>
| .todo-list {
| padding: 20px;
| background: #fafafa;
| border-top: 1px solid #e5e5e5;
| }
| .todo-list ul {
| list-style: none;
| margin: 0;
| padding: 0;
| }
| .todo-list li {
| margin-bottom: 5px;
| }
| </style>
|
|