<template>
    <div>
        <div class="layout-cont flow-cont">
            <div style="background: #ee0a24">确定样本量或者抽样样</div>
            <div><img src="@/assets/down-arrow.png"></div>
            <div style="background: #ff9328">选择随机抽样方法</div>
            <div><img src="@/assets/down-arrow.png"></div>
            <div style="background: #63c689">对批中产品编号</div>
            <div><img src="@/assets/down-arrow.png"></div>
            <div style="background: #0fb32e">生成随机样本单元号</div>
            <div><img src="@/assets/down-arrow.png"></div>
            <div style="background: #5883f0">按样本单元编号取出产品</div>
            <div><img src="@/assets/down-arrow.png"></div>
            <div style="background: #646566">管理并检验样本单元</div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "FlowChart"
    }
</script>

<style scoped lang="less">
    .flow-cont {
        width: 100%;
        padding:20px 30px;
        color: #ffffff;
        font-weight: bold;

        > div {
            width: 130px;
            height: 130px;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            border-radius: 50%;
            align-items: center;
            display: flex;
            justify-content: center;
            text-align: center;
            padding: 10px;
            font-size: 14px;
            margin: 0 auto;
        }

        > div:nth-child(2n-1) {
            background: #07c160;
        }

        > div:nth-child(2n) {
            width: 25px;
            height: 25px;
            padding: 0;
            margin: 0 auto;
        }

        img {
            width: 100%;
        }
    }
</style>
