| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import { getReportingCount } from '@/api/reporting/reporting.js' |
| | | import { |
| | | getReportingCount |
| | | } from '@/api/reporting/reporting.js' |
| | | |
| | | export default { |
| | | data(){ |
| | |
| | | }, |
| | | |
| | | onShow() { |
| | | this.getCount(uni.getStorageSync("siteInfo").id); |
| | | this.getCount(uni.getStorageSync("siteInfo").houseCode); |
| | | }, |
| | | |
| | | methods:{ |
| | |
| | | }, |
| | | |
| | | getCount(code){ |
| | | getReportingCount({houseCode:code}).then(res=>{ |
| | | getReportingCount({ |
| | | houseCode: code |
| | | }).then(res => { |
| | | console.log(res); |
| | | this.count = res.data; |
| | | }) |
| | |
| | | width:100%; |
| | | height:100%; |
| | | } |
| | | |
| | | .top{ |
| | | width:100%; |
| | | height:659rpx; |
| | |
| | | position: fixed; |
| | | top:0; |
| | | left:0; |
| | | |
| | | .top-img{ |
| | | width:100%; |
| | | height:659rpx; |
| | | } |
| | | } |
| | | |
| | | .container{ |
| | | width:100%; |
| | | padding: 0 30rpx; |
| | |
| | | top:40rpx; |
| | | left:0; |
| | | z-index: 100; |
| | | |
| | | .serve-box{ |
| | | width:100%; |
| | | height:213rpx; |
| | |
| | | padding: 0 60rpx 0 40rpx; |
| | | box-sizing: border-box; |
| | | } |
| | | |
| | | .f-48{ |
| | | font-size:48rpx; |
| | | } |
| | | |
| | | .c-blue{ |
| | | color:#677CF8; |
| | | |
| | | } |
| | | |
| | | .c-green{ |
| | | color:#30D17C; |
| | | } |
| | | |
| | | .ml-40{ |
| | | margin-left:40rpx; |
| | | } |
| | | |
| | | .site-box{ |
| | | width:100%; |
| | | padding:30rpx; |
| | | box-sizing: border-box; |
| | | border-radius: 4rpx; |
| | | |
| | | .c-aa{ |
| | | color:#aaa; |
| | | } |
| | | |
| | | .address{ |
| | | width:60%; |
| | | margin-left:25rpx; |
| | | } |
| | | } |
| | | |
| | | .nav{ |
| | | width:100%; |
| | | .nav-item,.nav-item-bg,.nav-item-inner{ |
| | | |
| | | .nav-item, |
| | | .nav-item-bg, |
| | | .nav-item-inner { |
| | | width:330rpx; |
| | | height:167rpx; |
| | | } |
| | | |
| | | .nav-item{ |
| | | position: relative; |
| | | margin-top:30rpx; |
| | | } |
| | | |
| | | .nav-item-inner{ |
| | | padding:30rpx 30rpx 0; |
| | | position: absolute; |
| | |
| | | left:0; |
| | | |
| | | } |
| | | |
| | | .item-btn{ |
| | | width:125rpx; |
| | | height:42rpx; |
| | |
| | | margin:0; |
| | | border:none; |
| | | } |
| | | |
| | | .item-btn::after{ |
| | | border:none; |
| | | } |