Files
cloud-chip.cn/storage/framework/views/1d856a721bacf5700d599ae513cfc39a.php
T
2026-08-08 18:27:38 +08:00

91 lines
6.7 KiB
PHP

<?php $__env->startSection('title', '管理后台登录 - 深圳市云创芯电子有限公司'); ?>
<?php $__env->startSection('content'); ?>
<section class="px-4 py-12 sm:px-6 lg:px-8 lg:py-16">
<div class="mx-auto max-w-md">
<div class="rounded-lg border border-line bg-surface p-6 shadow-soft sm:p-8">
<div class="mb-6 flex items-center gap-3">
<span class="inline-flex h-11 w-11 items-center justify-center rounded-lg bg-primary-soft text-primary">
<?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'lock','size' => 24]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'lock','size' => 24]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
</span>
<div>
<h1 class="text-2xl font-bold tracking-tight text-fg">管理后台登录</h1>
<p class="text-sm text-muted">仅限具备后台权限的账户使用。</p>
</div>
</div>
<form method="POST" action="<?php echo e(url('/admin/login')); ?>" class="space-y-5">
<?php echo csrf_field(); ?>
<div>
<label for="email" class="mb-1.5 block text-sm font-medium text-fg">邮箱</label>
<input id="email" name="email" type="email" value="<?php echo e(old('email')); ?>" required autofocus class="w-full rounded-lg border border-line bg-surface px-3 py-2.5 text-sm text-fg placeholder:text-muted focus:border-primary focus:outline-none focus:shadow-[0_0_0_3px_var(--color-primary-soft)]">
</div>
<div>
<label for="password" class="mb-1.5 block text-sm font-medium text-fg">密码</label>
<input id="password" name="password" type="password" required class="w-full rounded-lg border border-line bg-surface px-3 py-2.5 text-sm text-fg placeholder:text-muted focus:border-primary focus:outline-none focus:shadow-[0_0_0_3px_var(--color-primary-soft)]">
</div>
<div>
<label for="captcha" class="mb-1.5 block text-sm font-medium text-fg">图形验证码</label>
<div class="flex items-center gap-3">
<input id="captcha" name="captcha" type="text" required autocomplete="off" maxlength="4" class="w-36 rounded-lg border border-line bg-surface px-3 py-2.5 text-sm uppercase tracking-widest text-fg placeholder:text-muted focus:border-primary focus:outline-none focus:shadow-[0_0_0_3px_var(--color-primary-soft)]">
<img src="<?php echo e(url('/captcha')); ?>?r=<?php echo e(time()); ?>" alt="图形验证码" title="看不清?点击刷新" id="captcha-img" onclick="this.src='<?php echo e(url('/captcha')); ?>?r='+Date.now()" class="h-11 cursor-pointer rounded-lg border border-line">
</div>
<p class="mt-1.5 text-xs text-muted">看不清?点击图片可刷新。连续输错 5 次将临时锁定 10 分钟。</p>
</div>
<div class="flex items-center gap-2">
<input type="checkbox" id="remember" name="remember" class="h-4 w-4 rounded border-line accent-primary">
<label for="remember" class="text-sm text-fg">记住我</label>
</div>
<button type="submit" class="inline-flex w-full items-center justify-center gap-2 rounded-lg bg-primary px-5 py-2.5 text-sm font-semibold text-white transition hover:bg-primary-hover">
<?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'lock','size' => 20,'class' => 'text-white']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'lock','size' => 20,'class' => 'text-white']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?> 进入后台
</button>
<p class="text-center text-sm text-muted">
<a href="<?php echo e(url('/')); ?>" class="font-medium text-primary hover:text-primary-hover">返回网站首页</a>
</p>
</form>
</div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /www/wwwroot/cloud-chip.cn/resources/views/auth/admin-login.blade.php ENDPATH**/ ?>