276 lines
19 KiB
PHP
276 lines
19 KiB
PHP
|
|
|
|
<?php $__env->startSection('title', '联系我们 - 深圳市云创芯电子有限公司'); ?>
|
|
|
|
<?php $__env->startSection('content'); ?>
|
|
|
|
<section class="hero-aurora relative">
|
|
<div class="max-w-8xl mx-auto px-4 sm:px-6 lg:px-8 py-16 lg:py-24">
|
|
<div class="reveal max-w-2xl">
|
|
<span class="eyebrow">联系我们</span>
|
|
<h1 class="mt-4 text-3xl font-extrabold tracking-tight gradient-text sm:text-4xl lg:text-5xl">携手共创 TypeC 快速充电未来</h1>
|
|
<p class="mt-4 text-base leading-relaxed text-muted">无论是方案选型、样品申请还是技术合作,留下联系方式,我们的方案团队将在 1 个工作日内与你对接。</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
|
|
<section class="section px-4 sm:px-6 lg:px-8 -mt-10 lg:-mt-16">
|
|
<div class="mx-auto max-w-6xl">
|
|
<div class="grid gap-8 lg:grid-cols-5">
|
|
<!-- 左栏:联络方式 -->
|
|
<div class="reveal lg:col-span-2 glow-card rounded-2xl p-6 sm:p-8">
|
|
<h2 class="text-lg font-semibold text-fg">我们的联络方式</h2>
|
|
<p class="mt-1 text-sm text-muted">深圳市云创芯电子有限公司 · 专注于多口 TypeC 接口 IC。</p>
|
|
|
|
<ul class="mt-6 space-y-5">
|
|
<li class="flex items-start gap-3">
|
|
<?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'box','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']] + (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' => 'box','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']); ?>
|
|
<?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; ?>
|
|
<div>
|
|
<p class="text-sm font-medium text-muted">公司名称</p>
|
|
<p class="text-base font-semibold text-fg">深圳市云创芯电子有限公司</p>
|
|
</div>
|
|
</li>
|
|
<li class="flex items-start gap-3">
|
|
<?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'mail','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']] + (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' => 'mail','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']); ?>
|
|
<?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; ?>
|
|
<div>
|
|
<p class="text-sm font-medium text-muted">电子邮箱</p>
|
|
<a href="mailto:service@51chip.net" class="text-base font-semibold text-fg transition-colors hover:text-primary">service@51chip.net</a>
|
|
</div>
|
|
</li>
|
|
<li class="flex items-start gap-3">
|
|
<?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'phone','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']] + (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' => 'phone','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']); ?>
|
|
<?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; ?>
|
|
<div>
|
|
<p class="text-sm font-medium text-muted">联系电话</p>
|
|
<a href="tel:13510116819" class="text-base font-semibold text-fg transition-colors hover:text-primary">13510116819</a>
|
|
</div>
|
|
</li>
|
|
<li class="flex items-start gap-3">
|
|
<?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'pin','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']] + (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' => 'pin','size' => 22,'class' => 'mt-0.5 shrink-0 text-primary']); ?>
|
|
<?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; ?>
|
|
<div>
|
|
<p class="text-sm font-medium text-muted">地址</p>
|
|
<p class="text-base font-semibold text-fg">深圳市南山区科技园</p>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- 右栏:留言表单(服务端渲染,无需 JS 即可提交) -->
|
|
<div class="reveal lg:col-span-3 glow-card rounded-2xl p-6 sm:p-8">
|
|
<h2 class="text-lg font-semibold text-fg">商务合作表单</h2>
|
|
<p class="mt-1 text-sm text-muted">提交后我们会在 1 个工作日内回复。</p>
|
|
|
|
<?php if(session('success')): ?>
|
|
<div class="mt-6 rounded-lg border border-success bg-success-soft px-4 py-3 text-sm text-success">
|
|
<?php echo e(session('success')); ?>
|
|
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<form method="POST" action="<?php echo e(url('/contact')); ?>" class="mt-6 space-y-4" novalidate>
|
|
<?php echo csrf_field(); ?>
|
|
|
|
<div class="grid gap-4 sm:grid-cols-2">
|
|
<div>
|
|
<label for="name" class="mb-1.5 block text-sm font-medium text-fg">姓名 <span class="text-danger">*</span></label>
|
|
<input id="name" name="name" type="text" maxlength="40" value="<?php echo e(old('name')); ?>" required
|
|
class="w-full rounded-lg border <?php echo e($errors->has('name') ? 'border-danger' : 'border-line'); ?> bg-surface-2 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)]">
|
|
<?php $__errorArgs = ['name'];
|
|
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
|
if ($__bag->has($__errorArgs[0])) :
|
|
if (isset($message)) { $__messageOriginal = $message; }
|
|
$message = $__bag->first($__errorArgs[0]); ?>
|
|
<p class="mt-1 text-sm text-danger"><?php echo e($message); ?></p>
|
|
<?php unset($message);
|
|
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
|
endif;
|
|
unset($__errorArgs, $__bag); ?>
|
|
</div>
|
|
<div>
|
|
<label for="company" class="mb-1.5 block text-sm font-medium text-fg">公司</label>
|
|
<input id="company" name="company" type="text" maxlength="120" value="<?php echo e(old('company')); ?>"
|
|
class="w-full rounded-lg border <?php echo e($errors->has('company') ? 'border-danger' : 'border-line'); ?> bg-surface-2 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)]">
|
|
<?php $__errorArgs = ['company'];
|
|
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
|
if ($__bag->has($__errorArgs[0])) :
|
|
if (isset($message)) { $__messageOriginal = $message; }
|
|
$message = $__bag->first($__errorArgs[0]); ?>
|
|
<p class="mt-1 text-sm text-danger"><?php echo e($message); ?></p>
|
|
<?php unset($message);
|
|
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
|
endif;
|
|
unset($__errorArgs, $__bag); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="grid gap-4 sm:grid-cols-2">
|
|
<div>
|
|
<label for="phone" class="mb-1.5 block text-sm font-medium text-fg">电话</label>
|
|
<input id="phone" name="phone" type="text" maxlength="20" value="<?php echo e(old('phone')); ?>"
|
|
class="w-full rounded-lg border <?php echo e($errors->has('phone') ? 'border-danger' : 'border-line'); ?> bg-surface-2 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)]">
|
|
<?php $__errorArgs = ['phone'];
|
|
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
|
if ($__bag->has($__errorArgs[0])) :
|
|
if (isset($message)) { $__messageOriginal = $message; }
|
|
$message = $__bag->first($__errorArgs[0]); ?>
|
|
<p class="mt-1 text-sm text-danger"><?php echo e($message); ?></p>
|
|
<?php unset($message);
|
|
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
|
endif;
|
|
unset($__errorArgs, $__bag); ?>
|
|
</div>
|
|
<div>
|
|
<label for="email" class="mb-1.5 block text-sm font-medium text-fg">邮箱 <span class="text-danger">*</span></label>
|
|
<input id="email" name="email" type="email" maxlength="120" value="<?php echo e(old('email')); ?>" required
|
|
class="w-full rounded-lg border <?php echo e($errors->has('email') ? 'border-danger' : 'border-line'); ?> bg-surface-2 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)]">
|
|
<?php $__errorArgs = ['email'];
|
|
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
|
if ($__bag->has($__errorArgs[0])) :
|
|
if (isset($message)) { $__messageOriginal = $message; }
|
|
$message = $__bag->first($__errorArgs[0]); ?>
|
|
<p class="mt-1 text-sm text-danger"><?php echo e($message); ?></p>
|
|
<?php unset($message);
|
|
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
|
endif;
|
|
unset($__errorArgs, $__bag); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="subject" class="mb-1.5 block text-sm font-medium text-fg">主题 <span class="text-danger">*</span></label>
|
|
<input id="subject" name="subject" type="text" maxlength="80" value="<?php echo e(old('subject')); ?>" required
|
|
class="w-full rounded-lg border <?php echo e($errors->has('subject') ? 'border-danger' : 'border-line'); ?> bg-surface-2 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)]">
|
|
<?php $__errorArgs = ['subject'];
|
|
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
|
if ($__bag->has($__errorArgs[0])) :
|
|
if (isset($message)) { $__messageOriginal = $message; }
|
|
$message = $__bag->first($__errorArgs[0]); ?>
|
|
<p class="mt-1 text-sm text-danger"><?php echo e($message); ?></p>
|
|
<?php unset($message);
|
|
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
|
endif;
|
|
unset($__errorArgs, $__bag); ?>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="message" class="mb-1.5 block text-sm font-medium text-fg">需求描述 <span class="text-danger">*</span></label>
|
|
<textarea id="message" name="message" maxlength="1000" rows="4" required
|
|
class="w-full rounded-lg border <?php echo e($errors->has('message') ? 'border-danger' : 'border-line'); ?> bg-surface-2 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)]"><?php echo e(old('message')); ?></textarea>
|
|
<?php $__errorArgs = ['message'];
|
|
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
|
if ($__bag->has($__errorArgs[0])) :
|
|
if (isset($message)) { $__messageOriginal = $message; }
|
|
$message = $__bag->first($__errorArgs[0]); ?>
|
|
<p class="mt-1 text-sm text-danger"><?php echo e($message); ?></p>
|
|
<?php unset($message);
|
|
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
|
endif;
|
|
unset($__errorArgs, $__bag); ?>
|
|
</div>
|
|
|
|
<button type="submit" class="cta-glow inline-flex w-full items-center justify-center gap-2 rounded-lg px-5 py-3 text-sm font-semibold">
|
|
提交需求 <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'send','size' => 18]] + (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' => 'send','size' => 18]); ?>
|
|
<?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>
|
|
</form>
|
|
</div>
|
|
</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/contact.blade.php ENDPATH**/ ?>
|