first add files
This commit is contained in:
41
templates/about.html
Normal file
41
templates/about.html
Normal file
@@ -0,0 +1,41 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}关于我们{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="about">
|
||||
<div class="container">
|
||||
<h2>关于捌壹智能</h2>
|
||||
<p>{{ company.about }}</p>
|
||||
|
||||
<h3>我们的使命</h3>
|
||||
<p>通过创新技术推动企业数字化转型,为客户创造长期价值。</p>
|
||||
|
||||
<h3>我们的愿景</h3>
|
||||
<p>成为全球领先的数字技术解决方案提供商,用科技改变世界。</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="team">
|
||||
<div class="container">
|
||||
<h2>领导团队</h2>
|
||||
<div class="team-grid">
|
||||
<div class="team-member">
|
||||
<h3>张明</h3>
|
||||
<p class="position">创始人 & CEO</p>
|
||||
<p>人工智能专家,拥有15年行业经验。</p>
|
||||
</div>
|
||||
<div class="team-member">
|
||||
<h3>李华</h3>
|
||||
<p class="position">技术总监</p>
|
||||
<p>大数据和云计算领域专家。</p>
|
||||
</div>
|
||||
<div class="team-member">
|
||||
<h3>王芳</h3>
|
||||
<p class="position">市场总监</p>
|
||||
<p>数字营销和品牌战略专家。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
43
templates/base.html
Normal file
43
templates/base.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ company.name }} - {% block title %}{% endblock %}</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap"
|
||||
rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1><a href="{{ url_for('index') }}">{{ company.name }}</a></h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="{{ url_for('index') }}">首页</a></li>
|
||||
<li><a href="{{ url_for('about') }}">关于我们</a></li>
|
||||
<li><a href="{{ url_for('services') }}">服务</a></li>
|
||||
<li><a href="{{ url_for('contact') }}">联系我们</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>© 2023 {{ company.name }}. 保留所有权利。</p>
|
||||
<div class="footer-links">
|
||||
<a href="#">隐私政策</a>
|
||||
<a href="#">使用条款</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
49
templates/contact.html
Normal file
49
templates/contact.html
Normal file
@@ -0,0 +1,49 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}联系我们{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="contact">
|
||||
<div class="container">
|
||||
<h2>联系我们</h2>
|
||||
|
||||
{% if success %}
|
||||
<div class="success-message">
|
||||
<p>感谢您的留言!我们会尽快与您联系。</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="contact-grid">
|
||||
<div class="contact-info">
|
||||
<h3>联系方式</h3>
|
||||
<p><strong>地址:</strong>{{ company.contact.address }}</p>
|
||||
<p><strong>电话:</strong>{{ company.contact.phone }}</p>
|
||||
<p><strong>邮箱:</strong>{{ company.contact.email }}</p>
|
||||
|
||||
<h3>工作时间</h3>
|
||||
<p>周一至周五: 9:00 - 18:00</p>
|
||||
<p>周六至周日: 休息</p>
|
||||
</div>
|
||||
|
||||
<div class="contact-form">
|
||||
<h3>发送消息</h3>
|
||||
<form method="POST" action="{{ url_for('contact') }}">
|
||||
<div class="form-group">
|
||||
<label for="name">姓名</label>
|
||||
<input type="text" id="name" name="name" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">邮箱</label>
|
||||
<input type="email" id="email" name="email" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="message">消息</label>
|
||||
<textarea id="message" name="message" rows="5" required></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn">发送消息</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
33
templates/index.html
Normal file
33
templates/index.html
Normal file
@@ -0,0 +1,33 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}首页{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="hero">
|
||||
<div class="container">
|
||||
<h2>{{ company.slogan }}</h2>
|
||||
<p>领先的数字技术解决方案提供商</p>
|
||||
<a href="{{ url_for('services') }}" class="btn">了解我们的服务</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="features">
|
||||
<div class="container">
|
||||
<h2>我们的优势</h2>
|
||||
<div class="feature-grid">
|
||||
<div class="feature">
|
||||
<h3>创新技术</h3>
|
||||
<p>采用最前沿的人工智能和大数据技术,为客户提供卓越的解决方案。</p>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<h3>专业团队</h3>
|
||||
<p>由经验丰富的技术专家和行业顾问组成的团队,确保项目高质量交付。</p>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<h3>客户至上</h3>
|
||||
<p>我们始终将客户需求放在首位,提供个性化的服务和解决方案。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
40
templates/login.html
Normal file
40
templates/login.html
Normal file
@@ -0,0 +1,40 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container mt-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<div class="card shadow">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title text-center mb-4">Login</h3>
|
||||
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
{% for category, message in messages %}
|
||||
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
|
||||
{{ message }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<form method="POST" action="{{ url_for('login') }}">
|
||||
<div class="mb-3">
|
||||
<label for="username" class="form-label">Username</label>
|
||||
<input type="text" class="form-control" id="username" name="username" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="password" class="form-label">Password</label>
|
||||
<input type="password" class="form-control" id="password" name="password" required>
|
||||
</div>
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
38
templates/services.html
Normal file
38
templates/services.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}我们的服务{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="services">
|
||||
<div class="container">
|
||||
<h2>我们的服务</h2>
|
||||
<p class="subtitle">我们提供全方位的数字技术解决方案,助力您的业务增长</p>
|
||||
|
||||
<div class="services-grid">
|
||||
{% for service in company.services %}
|
||||
<div class="service">
|
||||
<h3>{{ service.name }}</h3>
|
||||
<p>{{ service.description }}</p>
|
||||
<a href="{{ url_for('contact') }}" class="btn">咨询详情</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="case-studies">
|
||||
<div class="container">
|
||||
<h2>成功案例</h2>
|
||||
<div class="case-grid">
|
||||
<div class="case">
|
||||
<h3>某大型零售企业AI客服系统</h3>
|
||||
<p>通过我们的自然语言处理技术,客户服务效率提升60%。</p>
|
||||
</div>
|
||||
<div class="case">
|
||||
<h3>金融机构风险管理系统</h3>
|
||||
<p>大数据分析帮助客户识别并减少了30%的欺诈交易。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user