index.vue 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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" @click="Workordertodone">
  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" @click="Immediatecollection">
  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. Immediatecollection(){
  140. uni.navigateTo({
  141. url: '/pages/index/Immediatecollection/Immediatecollection'
  142. })
  143. },
  144. Workordertodone() {
  145. uni.navigateTo({
  146. url: '/pages/index/Workordertodone/Workordertodone'
  147. })
  148. },
  149. Onlinewarranty() {
  150. uni.navigateTo({
  151. url: '/pages/index/Onlinewarranty/Onlinewarranty'
  152. })
  153. },
  154. Inspectionrecord() {
  155. uni.navigateTo({
  156. url: '/pages/index/Inspectionrecord/Inspectionrecord'
  157. })
  158. },
  159. Withholdingrecord() {
  160. uni.navigateTo({
  161. url: '/pages/index/Withholdingrecord/Withholdingrecord'
  162. })
  163. },
  164. }
  165. }
  166. </script>
  167. <style lang="scss">
  168. * {
  169. margin: 0;
  170. padding: 0;
  171. list-style: none;
  172. text-decoration: none;
  173. }
  174. .Homepage_header {
  175. width: 750rpx;
  176. height: 200rpx;
  177. background-color: #5c8fff;
  178. border-radius: 0px 0px 16px 16px;
  179. position: relative;
  180. display: flex;
  181. align-items: center;
  182. justify-content: center;
  183. }
  184. .Homepage_suspension {
  185. width: 650rpx;
  186. height: 200rpx;
  187. background-color: #fff;
  188. display: flex;
  189. align-items: center;
  190. justify-content: space-between;
  191. position: absolute;
  192. top: 100rpx;
  193. }
  194. .Suspension {
  195. width: 650rpx;
  196. // height: 200rpx;
  197. display: flex;
  198. align-items: center;
  199. justify-content: space-around;
  200. }
  201. .pending {
  202. width: 750rpx;
  203. height: 350rpx;
  204. // background-color: #ccc;
  205. display: flex;
  206. align-items: center;
  207. justify-content: center;
  208. position: relative;
  209. top: 50rpx;
  210. }
  211. .pending_middle {
  212. width: 650rpx;
  213. // height: 100px;
  214. // background-color: #fff;
  215. }
  216. .all {
  217. width: 100%;
  218. display: flex;
  219. align-items: center;
  220. justify-content: space-between;
  221. }
  222. .work {
  223. // padding-left: 20rpx;
  224. // padding-top: 2rpx;
  225. }
  226. .wait {
  227. width: 650rpx;
  228. display: flex;
  229. align-items: center;
  230. background-color: #fff;
  231. justify-content: space-around;
  232. padding-top: 30rpx;
  233. text-align: center;
  234. line-height: 60rpx;
  235. margin-top: 10rpx;
  236. }
  237. .immediately {
  238. display: flex;
  239. // padding-top: 2rpx;
  240. }
  241. .equipment {
  242. width: 750rpx;
  243. // height: 200rpx;
  244. display: flex;
  245. align-items: center;
  246. justify-content: center;
  247. position: relative;
  248. top: 20rpx;
  249. }
  250. .arrears {
  251. // width: 750rpx;
  252. // height: 350rpx;
  253. display: flex;
  254. flex: 1;
  255. align-items: center;
  256. justify-content: center;
  257. position: relative;
  258. top: 50rpx;
  259. }
  260. .type {
  261. display: flex;
  262. align-items: center;
  263. justify-content: space-around;
  264. text-align: center;
  265. flex: 1;
  266. margin-top: 10rpx;
  267. font-size: 30rpx;
  268. }
  269. tr {
  270. background-color: #fff;
  271. }
  272. </style>