<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="{{asset('icon/faviconc.ico')}}" type="image/x-icon"/>
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>显示二维码 BsWAS</title>
    <!-- Styles -->
    <link href="{{ mix('css/app.css') }}" rel="stylesheet">
</head>
<body>
<div class="container-fluid " id="page">
    <div class="card ">
        <div class="card-body">
            <div class="align-content-center m-3">
                <h3 class="text-center text-dark">卸货队@{{ facilitator.name }}二维码</h3><br>
            </div>
            <div class="row">
                <div class="col text-center" style="float:left;">
                    <img id="img" class="img-thumbnail" style="margin-top: 20px" :src="qrCodeUrl" width="35%" alt=""/>
                    <p class="m-2 h1 text-center">@{{ facilitator.name }}</p>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="{{ mix('js/app.js') }}"></script>
<script>
    new Vue({
        el: "#page",
        data: {
            qrCodeUrl: '{!! $qrCodeUrl !!}',
            facilitator:{!! $facilitator !!},
        },
    });
</script>
</body>
</html>
