OrderSpare.vue 512 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <view class="">
  3. <Cell v-for="item in toolsList" :key="item.id" :title="item.name" :more="'x'+ item.num"></Cell>
  4. </view>
  5. </template>
  6. <script>
  7. import Cell from '@/components/Cell.vue'
  8. export default{
  9. components:{
  10. Cell
  11. },
  12. data(){
  13. return{
  14. toolsList:[
  15. {
  16. id: 1,
  17. name:'钳子',
  18. num:1
  19. },
  20. {
  21. id: 2,
  22. name:'梅花尺',
  23. num:1
  24. },
  25. {
  26. id: 3,
  27. name:'螺丝',
  28. num:1
  29. }
  30. ]
  31. }
  32. }
  33. }
  34. </script>
  35. <style>
  36. </style>