Workorder.vue 1.9 KB

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