<template>
    <div class="checkOperation">
        <div class="topMenu">
            <a-select default-value="lucy" style="width: 160px;margin-right:25px">
                <a-select-option value="jack">
                    巷道一
                </a-select-option>
                <a-select-option value="lucy">
                    巷道二
                </a-select-option>
            </a-select>
            <a-select default-value="a" style="width: 160px;margin-right:25px">
                <a-select-option value="a">
                    左货架
                </a-select-option>
                <a-select-option value="b">
                    右货架
                </a-select-option>
            </a-select>
            <a-select default-value="c" style="width: 160px">
                <a-select-option value="c">
                    外
                </a-select-option>
                <a-select-option value="d">
                    内
                </a-select-option>
            </a-select>
        </div>
        <div class="carousel-box">
            <a-carousel class="carousel" ref="carousel">
                <div class="carousel-page">
                    <p class="carousel-page-title">工单号：223333331123213</p>
                    <div class="carousel-page-content">
                        <div class="img-box">
                            <img
                                src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1931813381,2486401072&fm=26&gp=0.jpg"
                                alt="">
                            <p>操作前照片</p>
                        </div>
                        <div class="img-box">
                            <img
                                src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3139679339,2066283298&fm=26&gp=0.jpg"
                                alt="">
                            <p>操作后照片</p>
                        </div>
                    </div>
                    <div class="carousel-page-footer">
                        <div class="info-box">
                            <p>系统登记品规：xxxsxxxx</p>
                            <p>系统登记数量：23021</p>
                        </div>
                        <div class="status">
                            未核对
                        </div>
                        <div class="status-btn">
                            <a-button class="btn" type="danger">人工复核</a-button>
                            <a-button class="btn" type="primary" style="background:#29c12b;border-color:#29c12b;">核对正确
                            </a-button>
                        </div>
                    </div>
                </div>
                <!--2-->
                <div class="carousel-page">
                    <p class="carousel-page-title">工单号：223333331123213</p>
                    <div class="carousel-page-content">
                        <div class="img-box">
                            <img
                                src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1520587439,1746635941&fm=26&gp=0.jpg"
                                alt="">
                            <p>操作前照片</p>
                        </div>
                        <div class="img-box">
                            <img
                                src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=274465270,4254987731&fm=26&gp=0.jpg"
                                alt="">
                            <p>操作后照片</p>
                        </div>
                    </div>
                    <div class="carousel-page-footer">
                        <div class="info-box">
                            <p>系统登记品规：xxxsxxxx</p>
                            <p>系统登记数量：23021</p>
                        </div>
                        <div class="status">
                            未核对
                        </div>
                        <div class="status-btn">
                            <a-button class="btn" type="danger">人工复核</a-button>
                            <a-button class="btn" type="primary" style="background:#29c12b;border-color:#29c12b;">核对正确
                            </a-button>
                        </div>
                    </div>
                </div>
                <!--3-->
                <div class="carousel-page">
                    <p class="carousel-page-title">工单号：223333331123213</p>
                    <div class="carousel-page-content">
                        <div class="img-box">
                            <img
                                src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1520587439,1746635941&fm=26&gp=0.jpg"
                                alt="">
                            <p>操作前照片</p>
                        </div>
                        <div class="img-box">
                            <img
                                src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=274465270,4254987731&fm=26&gp=0.jpg"
                                alt="">
                            <p>操作后照片</p>
                        </div>
                    </div>
                    <div class="carousel-page-footer">
                        <div class="info-box">
                            <p>系统登记品规：xxxsxxxx</p>
                            <p>系统登记数量：23021</p>
                        </div>
                        <div class="status">
                            未核对
                        </div>
                        <div class="status-btn">
                            <a-button class="btn" type="danger">人工复核</a-button>
                            <a-button class="btn" type="primary" style="background:#29c12b;border-color:#29c12b;">核对正确
                            </a-button>
                        </div>
                    </div>
                </div>
            </a-carousel>
        </div>
        <div class="bottom-btn">
            <a-button class="btn" @click="prev()">＜上一个</a-button>
            <p>6行3列</p>
            <a-button class="btn" @click="next()">下一个＞</a-button>
        </div>

    </div>
</template>
<script>
export default {
    data() {
        return {}
    },
    methods: {
        prev() {
            this.$refs.carousel.prev();
        },
        next() {
            this.$refs.carousel.next();
        }
    }
}
</script>
<style lang="scss">
    .ant-carousel .slick-slide {
        color: #000000;
    }

    .checkOperation {
        .carousel-box {
            width: 900px;
            /*border: solid 1px blue;*/
            .carousel-page {
                display: flex;
                align-items: center;
                justify-content: left;

                &-title {
                    color: #009FE3;
                    font-size: 16px;
                    margin: 0;
                    padding: 15px 0 10px 25px;
                }

                &-content {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding-left: 25px;

                    .img-box {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: column;
                        font-size: 17px;
                        height: 400px;
                        width: 400px;

                        img {
                            width: 100%;
                            height: calc(100% - 25px)
                        }

                        p {
                            height: 25px;
                        }
                    }
                }

                &-footer {
                    .info-box {
                        color: #000000;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        p {
                            padding: 0 20px;
                            font-size: 18px;
                        }
                    }

                    .status {
                        text-align: center;
                        font-size: 21px;
                    }

                    .status-btn {
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .btn {
                            padding: 25px;
                            font-size: 17px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            line-height: 0;
                            margin: 15px 45px;
                        }
                    }
                }
            }
        }

        .bottom-btn {
            width: 900px;
            display: flex;
            align-items: center;
            justify-content: center;

            p {
                font-size: 18px;
                padding: 0;
                margin: 0;
            }

            .btn {
                margin: 25px;
            }
        }
    }

</style>
