<template>
    <view class="container">
        <view class="title">巡检计划</view>
        <view class="item-box">
            <view hover-class="navigator-hover" class="item">
                <view class="label">待执行计划</view>
                <view class="count u-line-1">4</view>
            </view>

            <view hover-class="navigator-hover" class="item">
                <view class="label">进行中计划</view>
                <view class="count u-line-1">1</view>
            </view>

            <view hover-class="navigator-hover" class="item">
                <view class="label">巡检派工</view>
                <view class="count u-line-1">3</view>
            </view>
        </view>
    </view>
</template>

<script>
export default {
    name: 'patrolScheme',
    data() {
        return {
        };
    },
    created() {
        this.getDetail()
    },
    methods: {
        getDetail() {
            console.log('巡检计划暂时无接口')
        }
    }
}
</script>

<style lang="scss" scoped>
.container {
    width: 355px;
    height: 124px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    background: #FFFFFF;
    margin: 0 auto;
    margin-top: 10px;

    .title {
        line-height: 22px;
        font-size: 16px;
        font-family: PingFang SC-Medium, PingFang SC;
        font-weight: bold;
        color: #333333;
    }

    .item-box {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;

        .item {
            width: 105px;
            height: 72px;
            background: #EFF4FA;
            border-radius: 4px;
            padding: 10px;
            box-sizing: border-box;
            .label {
                line-height: 20px;
                font-size: 14px;
                font-family: PingFang SC-Regular, PingFang SC;
                color: #333333;
            }

            .count {
                line-height: 22px;
                font-size: 16px;
                font-family: PingFang SC-Medium, PingFang SC;
                font-weight: bold;
                color: #3874F6;
                margin-top: 10px;
            }
        }
    }
}
</style>
