index.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <view class="analyse-wrapper" style="height: 100%">
  3. <view class="justify-center align-center text-center">
  4. <u-image src="@/static/images/analyse/analyse-bg.png" width="100%" height="273rpx" :showLoading="false" :fade="false"></u-image>
  5. </view>
  6. <view class="cu-list menu-avatar padding-lr-sm padding-top-sm" style="height: calc(100% - 8.53125rem)">
  7. <view class="cu-item mb10" @tap="goMonthReport()">
  8. <view class="cu-avatar">
  9. <image class="image-bg" src="@/static/images/analyse/yb-icon.png" />
  10. </view>
  11. <view class="content">
  12. <view class="">月报</view>
  13. </view>
  14. <view class="nav-right">
  15. <view class="text-grey">
  16. <text class="icon iconfont mr5 ml20">&#xe629;</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="cu-item mb10" @tap="goBuildingCheck()">
  21. <view class="cu-avatar">
  22. <image class="image-bg" src="@/static/images/analyse/build-icon.png" />
  23. </view>
  24. <view class="content">
  25. <view class="">建筑体检</view>
  26. </view>
  27. <view class="nav-right">
  28. <view class="text-grey">
  29. <text class="icon iconfont mr5 ml20">&#xe629;</text>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. data() {
  39. return {};
  40. },
  41. methods: {
  42. goMonthReport() {
  43. // uni.navigateTo({
  44. // url: '/pages/analyse/monthReport/monthReport',
  45. // });
  46. },
  47. goBuildingCheck() {
  48. // uni.navigateTo({
  49. // url: '/pages/analyse/buildingCheck/buildingCheck',
  50. // });
  51. },
  52. },
  53. };
  54. </script>
  55. <style lang="scss">
  56. //消息页面
  57. .image-bg {
  58. width: 100%;
  59. height: 100%;
  60. }
  61. //分析页面
  62. .analyse-wrapper {
  63. .cu-list.menu-avatar .cu-item {
  64. border-radius: 5px;
  65. padding: 30rpx 0;
  66. box-shadow: 1px 1px 4px rgb(26 26 26 / 10%);
  67. .cu-avatar {
  68. background-color: rgba(0, 0, 0, 0);
  69. left: 26rpx;
  70. }
  71. .content {
  72. left: 130rpx;
  73. font-size: 32rpx;
  74. }
  75. }
  76. }
  77. </style>