linwei
2024-01-02 7a3001b9bb2c666e309cda895a27082653329f10
统计事件传housecode
1 files modified
32 ■■■■ changed files
subPackage/label/index.vue 32 ●●●● patch | view | raw | blame | history
subPackage/label/index.vue
@@ -54,8 +54,9 @@
</template>
<script>
    import { getReportingCount } from '@/api/reporting/reporting.js'
    import {
        getReportingCount
    } from '@/api/reporting/reporting.js'
    
    export default {
        data(){
@@ -116,7 +117,7 @@
        },
        
        onShow() {
            this.getCount(uni.getStorageSync("siteInfo").id);
            this.getCount(uni.getStorageSync("siteInfo").houseCode);
        },
        
        methods:{
@@ -136,7 +137,9 @@
            },
            
            getCount(code){
                  getReportingCount({houseCode:code}).then(res=>{
                getReportingCount({
                    houseCode: code
                }).then(res => {
                      console.log(res);
                      this.count = res.data;
                 })            
@@ -164,6 +167,7 @@
        width:100%;
        height:100%;
    }
    .top{
        width:100%;
        height:659rpx;
@@ -171,11 +175,13 @@
        position: fixed;
        top:0;
        left:0;
        .top-img{
            width:100%;
            height:659rpx;
        }
    }
    .container{
        width:100%;
        padding: 0 30rpx;
@@ -184,6 +190,7 @@
        top:40rpx;
        left:0;
        z-index: 100;
        .serve-box{
            width:100%;
            height:213rpx;
@@ -192,42 +199,55 @@
            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;
@@ -235,6 +255,7 @@
                left:0;
                
            }
            .item-btn{
                width:125rpx;
                height:42rpx;
@@ -246,6 +267,7 @@
                margin:0;
                border:none;
            }
            .item-btn::after{
                border:none;
            }