| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <template>
- <view class="">
- <Cell v-for="item in toolsList" :key="item.id" :title="item.name" :more="'x'+ item.num"></Cell>
- </view>
- </template>
- <script>
- import Cell from '@/components/Cell.vue'
- export default{
- components:{
- Cell
- },
- data(){
- return{
- toolsList:[
- {
- id: 1,
- name:'钳子',
- num:1
- },
- {
- id: 2,
- name:'梅花尺',
- num:1
- },
- {
- id: 3,
- name:'螺丝',
- num:1
- }
- ]
- }
- }
- }
- </script>
- <style>
- </style>
|