<?php
defined('EM_ROOT') || exit('access denied!');
?>
<style>

</style>


<main class="">
    <div class="container">
        <!-- 页面标题 -->
        <div class="text-center mb-5">
            <h2 class="font-weight-bold text-dark">我的余额</h2>
            <p class="text-muted">实时显示您的账户可用余额</p>
        </div>

        <!-- 余额卡片 -->
        <div class="row justify-content-center">
            <div class="col-md-8 col-lg-6">
                <div class="card shadow-lg rounded-lg overflow-hidden transition-all duration-300 hover:shadow-xl">
                    <!-- 卡片头部 -->
                    <div class="card-header bg-primary text-white py-4">
                        <div class="d-flex justify-content-between align-items-center">
                            <h5 class="mb-0 font-weight-medium">账户余额详情</h5>
                            <span class="badge badge-light text-primary" id="updateTime">刚刚更新</span>
                        </div>
                    </div>

                    <!-- 卡片主体 -->
                    <div class="card-body p-5">
                        <div class="text-center">
                            <!-- 余额数值 -->
                            <div class="mb-2 text-muted">当前可用余额</div>
                            <div class="display-3 font-weight-bold text-dark mb-4" id="balance">
                                <?= $user['money'] ?>
                            </div>

                            <!-- 提示文字 -->
                            <p class="text-sm text-muted">
                                充值请联系网站客服
                            </p>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>

</main>

<script>
    $(function () {

    });
</script>
