inspectList.vue 949 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <view class="">
  3. <view class="cu-list menu-avatar">
  4. <view class="cu-item deviceTypeItem" v-for="(item,index) in inspectList" :key="index" >
  5. <view class="cu-avatar round" :style="`background-image:url(${item.imgUrl})`"></view>
  6. <view class="content">
  7. <view class="title">{{item.title}}</view>
  8. </view>
  9. <view class="nav-right num">
  10. <view>
  11. <text class="icon iconfont margin-right-xs margin-left-lg">&#xe629;</text>
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. import json from '../../data/json.js';
  20. export default {
  21. data() {
  22. return {
  23. inspectList: json.inspectList,
  24. };
  25. },
  26. onLoad:function(option){
  27. },
  28. methods: {
  29. // goDeviceType(){
  30. // uni.navigateTo({
  31. // url: '/pages/device-Manage/device-Manage',
  32. // });
  33. // }
  34. }
  35. }
  36. </script>
  37. <style lang="scss">
  38. </style>