You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
3.4 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. <template>
  2. <view class="content ">
  3. <up-navbar leftText=" " title="事务通" :safeAreaInsetTop="false" :autoBack="false">
  4. <template #left> <view class=""></view></template>
  5. </up-navbar>
  6. <view class="padding">
  7. <view class="banner1">
  8. <image src="@/static/images/homebanner.png" mode=""></image>
  9. </view>
  10. <view class="myhome">
  11. <view class="flex-b">
  12. <view class="h2">我的房屋</view>
  13. <view class="btn">关联房屋</view>
  14. </view>
  15. <!-- <view class="borderCard">
  16. <view class="text">房屋地址新疆首府公馆一期住宅1-1-101</view>
  17. <view class="text">房屋面积156.32</view>
  18. <view class="banner3">
  19. <image src="@/static/images/homebanner3.png" mode=""></image>
  20. </view>
  21. </view> -->
  22. <view class="borderCard" @click="$goPage('/pages/subPage/login/login')">
  23. <view class="flex">
  24. <view class="text2">立即登录</view>
  25. <u-icon name="arrow-right"></u-icon>
  26. </view>
  27. <view class="text3">登录成功即可关联房屋~</view>
  28. <view class="banner3">
  29. <image src="@/static/images/homebanner3.png" mode=""></image>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="severCon">
  34. <view class="h1pad">
  35. <view class="h1">服务</view>
  36. </view>
  37. <view class="banner2">
  38. <image src="@/static/images/homebanner2.png" mode=""></image>
  39. </view>
  40. </view>
  41. <view class="noticeCon">
  42. <view class="h1pad flex-b">
  43. <view class="h1">公示公告</view>
  44. <view class="more" @click="$goPage('/pages/subPage/notice/notice')">
  45. <view class="txt">更多</view>
  46. <view class="icon">
  47. <image src="@/static/images/arrRight.png" mode=""></image>
  48. </view>
  49. </view>
  50. </view>
  51. <notice/>
  52. </view>
  53. </view>
  54. </view>
  55. </template>
  56. <script setup>
  57. import { ref,reactive } from 'vue';
  58. import {onLoad,onReady} from "@dcloudio/uni-app"
  59. import notice from './comp/notice.vue'
  60. </script>
  61. <style lang="scss" scoped>
  62. .h1pad {
  63. padding: 30rpx 0 20rpx 0;
  64. }
  65. image {
  66. display: block;
  67. width: 100%;
  68. height: 100%;
  69. }
  70. .content {
  71. width: 100%;
  72. padding: 90rpx 0 100rpx 0;
  73. .banner1 {
  74. width: 100%;
  75. height: 260rpx;
  76. }
  77. .myhome {
  78. width: 100%;
  79. margin-top: 40rpx;
  80. background: #FFFFFF;
  81. box-shadow: 0px 0px 14rpx 0px rgba(0,0,0,0.06);
  82. border-radius: 20rpx;
  83. padding: 0 30rpx 30rpx 30rpx;
  84. .flex-b {
  85. width: 100%;
  86. height: 94rpx;
  87. .h2 {
  88. font-size: 36rpx;
  89. color: #333;
  90. font-weight: 700;
  91. }
  92. .btn {
  93. width: 132rpx;
  94. height: 44rpx;
  95. background: #DE3A26;
  96. border-radius: 22rpx;
  97. line-height: 44rpx;
  98. font-size: 24rpx;
  99. color: #fff;
  100. text-align: center;
  101. }
  102. }
  103. .borderCard {
  104. width: 100%;
  105. border-radius: 20rpx;
  106. border: 2rpx solid #EFEFEF;
  107. padding: 40rpx 20rpx 0 30rpx;
  108. .text {
  109. font-size: 28rpx;
  110. margin-bottom: 24rpx;
  111. }
  112. .text2 {
  113. font-size: 36rpx;
  114. font-weight: bold;
  115. }
  116. .text3 {
  117. color: #999;
  118. margin-top: 20rpx;
  119. }
  120. .banner3 {
  121. width: 255rpx;
  122. height: 142rpx;
  123. margin-left: auto;
  124. }
  125. }
  126. }
  127. .severCon {
  128. .banner2 {
  129. width: 100%;
  130. height: 180rpx;
  131. }
  132. }
  133. .noticeCon {
  134. .h1pad {
  135. .more {
  136. display: flex;
  137. align-items: center;
  138. .txt {
  139. font-size: 28rpx;
  140. color: #CCCCCC;
  141. }
  142. .icon {
  143. width: 12rpx;
  144. height: 22rpx;
  145. margin-left: 10rpx;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. </style>