monthReport.vue 927 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <view class="">
  3. <view class="cu-list menu-avatar">
  4. <view class="cu-item deviceTypeItem" v-for="(item,index) in deviceType" :key="index" @tap="goReportDetail">
  5. <view class="cu-avatar round" style="background-image:url(../../../static/month-report-icon.png)"></view>
  6. <view class="content">
  7. <view class="title">虹泾总部园2020-04月报</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. deviceType: json.deviceType,
  24. };
  25. },
  26. onLoad: function(option) {
  27. },
  28. methods: {
  29. goReportDetail() {
  30. uni.navigateTo({
  31. url: '/pages/analyse/monthDetail/monthDetail',
  32. });
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss">
  38. </style>