Workorder.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <template>
  2. <view class="management">
  3. <view class="managelind">
  4. <view class="managename" @click="Tenantbill">
  5. <view class="managename1">
  6. <img :src='src1' alt="">
  7. </view>
  8. <view class="managename2">
  9. 租户账单
  10. </view>
  11. </view>
  12. <view class="managename" @click="Remotecontrol">
  13. <view class="managename1">
  14. <img :src='src2' alt="">
  15. </view>
  16. <view class="managename2">
  17. 远程管控
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. data() {
  26. return {
  27. src1: require('@/static/management/zd.png'),
  28. src2: require('@/static/management/yc.png'),
  29. }
  30. },
  31. methods: {
  32. Tenantbill(){
  33. uni.navigateTo({
  34. url: '/pages/Workorder/Tenantbill/Tenantbill'
  35. })
  36. },
  37. Remotecontrol(){
  38. uni.navigateTo({
  39. url: '/pages/Workorder/Remotecontrol/Remotecontrol'
  40. })
  41. },
  42. }
  43. }
  44. </script>
  45. <style>
  46. .management{}
  47. .managelind{
  48. display: flex;
  49. justify-content: space-around;
  50. align-items: center;
  51. width: 690rpx;
  52. min-height: 130rpx;
  53. margin: 20rpx auto;
  54. background: #fff;
  55. border-radius: 10px;
  56. }
  57. .managename{
  58. display: flex;
  59. flex-direction: column;
  60. align-items: center;
  61. justify-content: center;
  62. }
  63. .managename1 img{
  64. width: 40rpx;
  65. height: 40rpx;
  66. }
  67. .managename2{
  68. padding-top: 15rpx;
  69. color: #666;
  70. font-size: 20rpx;
  71. }
  72. </style>