index.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. <template>
  2. <view class="content">
  3. <view class="Homepage_header">
  4. <view class="Homepage_suspension">
  5. <view class="Suspension">
  6. <view class="online" @click="Onlinewarranty">
  7. <view><img src="@/static/index/repair-online.svg" alt="" style="margin-left: 5rpx;"></view>
  8. <view style="font-size: 20rpx;">线上报修</view>
  9. </view>
  10. <view class="record" @click="Inspectionrecord">
  11. <view><img src="@/static/index/check-review.svg" alt="" style="margin-left: 5rpx;"></view>
  12. <view style="font-size: 20rpx;">巡检记录</view>
  13. </view>
  14. <view class="withholding" @click="Withholdingrecord">
  15. <view><img src="@/static/index/reduce-record.svg" alt="" style="margin-left: 5rpx;"></view>
  16. <view style="font-size: 20rpx;">扣缴记录</view>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="pending">
  22. <view class="pending_middle">
  23. <view class="all">
  24. <view class="work">
  25. <span style="font-size: 30rpx;">工单待办</span>
  26. </view>
  27. <view class="processing">
  28. <view class="immediately">
  29. <span style="font-size: 25rpx; color: #5c8fff; ">立即处理</span>
  30. <u-icon name="arrow-right" color="#5c8fff" size="16rpx"></u-icon>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="wait">
  35. <view>
  36. <view style="font-size: 30rpx;">待指派</view>
  37. <view style="text-align: center;">1</view>
  38. </view>
  39. <view>
  40. <view style="font-size: 30rpx;">待维修</view>
  41. <view style="text-align: center;">1</view>
  42. </view>
  43. <view>
  44. <view style="font-size: 30rpx;">已维修</view>
  45. <view style="text-align: center;">1</view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <view class="equipment">
  51. <view class="pending_middle">
  52. <view class="all">
  53. <view class="work">
  54. <span style="font-size: 30rpx;">设备异常</span>
  55. </view>
  56. <view class="processing">
  57. <view class="immediately">
  58. <span style="font-size: 25rpx; color: #5c8fff; ">立即查看</span>
  59. <u-icon name="arrow-right" color="#5c8fff" size="16rpx"></u-icon>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="wait">
  64. <view>
  65. <view style="font-size: 30rpx;">异常总数</view>
  66. <view style="text-align: center;">0</view>
  67. </view>
  68. <view>
  69. <view style="font-size: 30rpx;">空调异常</view>
  70. <view style="text-align: center;">0</view>
  71. </view>
  72. <view>
  73. <view style="font-size: 30rpx;">水表异常</view>
  74. <view style="text-align: center;">0</view>
  75. </view>
  76. <view>
  77. <view style="font-size: 30rpx;">电表异常</view>
  78. <view style="text-align: center;">0</view>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="arrears">
  84. <view class="pending_middle">
  85. <view class="all">
  86. <view class="work">
  87. <span style="font-size: 30rpx;">欠费待收</span>
  88. </view>
  89. <view class="processing">
  90. <view class="immediately">
  91. <span style="font-size: 25rpx; color: #5c8fff; ">立即催收</span>
  92. <u-icon name="arrow-right" color="#5c8fff" size="16rpx"></u-icon>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="type">
  97.  <table class="tr" style="width: 100%; border-color: #ccc; border-collapse: collapse;" border="1"
  98. cellspacing="0" cellpadding="0">
  99.           <tr>
  100.             <td>欠费类型</td>
  101.             <td>欠费租户数</td>
  102.              <td>累计欠费(元)</td>
  103.            
  104.           </tr>
  105.           <tr>
  106.             <td>水费</td>
  107.             <td>1.00</td>
  108.              <td>0.00</td>
  109.            
  110.           </tr>
  111. <tr>
  112.    <td>电费</td>
  113.    <td>1.00</td>
  114.    <td>0.00</td>
  115.  
  116. </tr>
  117. <tr>
  118.    <td>物业费</td>
  119.    <td>1.00</td>
  120.    <td>77796.00</td>
  121. </tr>
  122.  
  123. </table>
  124. </view>
  125. </view>
  126. </view>
  127. </view>
  128. </template>
  129. <script>
  130. export default {
  131. data() {
  132. return {
  133. tabbardata: 0,
  134. }
  135. },
  136. onLoad() {
  137. },
  138. methods: {
  139. Onlinewarranty(){
  140. uni.navigateTo({
  141. url: '/pages/index/Onlinewarranty/Onlinewarranty'
  142. })
  143. },
  144. Inspectionrecord(){
  145. uni.navigateTo({
  146. url: '/pages/index/Inspectionrecord/Inspectionrecord'
  147. })
  148. },
  149. Withholdingrecord(){
  150. uni.navigateTo({
  151. url: '/pages/index/Withholdingrecord/Withholdingrecord'
  152. })
  153. },
  154. }
  155. }
  156. </script>
  157. <style lang="scss">
  158. * {
  159. margin: 0;
  160. padding: 0;
  161. list-style: none;
  162. text-decoration: none;
  163. }
  164. .Homepage_header {
  165. width: 750rpx;
  166. height: 200rpx;
  167. background-color: #5c8fff;
  168. border-radius: 0px 0px 16px 16px;
  169. position: relative;
  170. display: flex;
  171. align-items: center;
  172. justify-content: center;
  173. }
  174. .Homepage_suspension {
  175. width: 650rpx;
  176. height: 200rpx;
  177. background-color: #fff;
  178. display: flex;
  179. align-items: center;
  180. justify-content: space-between;
  181. position: absolute;
  182. top: 100rpx;
  183. }
  184. .Suspension {
  185. width: 650rpx;
  186. // height: 200rpx;
  187. display: flex;
  188. align-items: center;
  189. justify-content: space-around;
  190. }
  191. .pending {
  192. width: 750rpx;
  193. height: 350rpx;
  194. // background-color: #ccc;
  195. display: flex;
  196. align-items: center;
  197. justify-content: center;
  198. position: relative;
  199. top: 50rpx;
  200. }
  201. .pending_middle {
  202. width: 650rpx;
  203. // height: 100px;
  204. // background-color: #fff;
  205. }
  206. .all {
  207. width: 100%;
  208. display: flex;
  209. align-items: center;
  210. justify-content: space-between;
  211. }
  212. .work {
  213. // padding-left: 20rpx;
  214. // padding-top: 2rpx;
  215. }
  216. .wait {
  217. width: 650rpx;
  218. display: flex;
  219. align-items: center;
  220. background-color: #fff;
  221. justify-content: space-around;
  222. padding-top: 30rpx;
  223. text-align: center;
  224. line-height: 60rpx;
  225. margin-top: 10rpx;
  226. }
  227. .immediately {
  228. display: flex;
  229. // padding-top: 2rpx;
  230. }
  231. .equipment {
  232. width: 750rpx;
  233. // height: 200rpx;
  234. display: flex;
  235. align-items: center;
  236. justify-content: center;
  237. position: relative;
  238. top: 20rpx;
  239. }
  240. .arrears {
  241. // width: 750rpx;
  242. // height: 350rpx;
  243. display: flex;
  244. flex: 1;
  245. align-items: center;
  246. justify-content: center;
  247. position: relative;
  248. top: 50rpx;
  249. }
  250. .type {
  251. display: flex;
  252. align-items: center;
  253. justify-content: space-around;
  254. text-align: center;
  255. flex: 1;
  256. margin-top: 10rpx;
  257. font-size: 30rpx;
  258. }
  259. tr {
  260. background-color: #fff;
  261. }
  262. </style>