KunWeb/web/KunWeb/pay.php
2026-04-15 19:12:35 +08:00

93 lines
2.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>外包服务 - 赛事报名 | 坤班</title>
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/pay.css">
</head>
<body>
<!-- <div class="form-mask" id="formMask"></div> -->
<?php
$currentPath = getCurrentPurePath();
$db = new ciy\db();
$cate_id = new ciy\sql('www_list_cate');
$cate_id->where('name', '外包服务');
$cate_id->column("id");
$count = -1;
$id = $db->get1($cate_id);
$csql = new ciy\sql('www_list_art');
$csql->where('cateid', $id);
$csql->column("name,keyw");
$rows = $db->get($csql, $count);
include_once('wwpage/Kun_header.php');
?>
<!-- 主体内容 -->
<div class="pay-container">
<div class="event-list">
<h2>推荐赛事</h2>
<?php
foreach ($rows as $row) {
echo
'
<div class="event-item" data-event="' . $row['keyw'] . '">' . $row['name'] . '</div>
';
}
?>
<!-- <div class="event-item" data-event="ai-competition">AI工具开发大赛</div>
<div class="event-item" data-event="3d-model">3D建模挑战赛</div>
<div class="event-item" data-event="hardware-dev">硬件设备创新赛</div>
<div class="event-item" data-event="overseas">海内外技术对接赛</div> -->
</div>
<!-- 放表单 -->
<div class="form-area">
</div>
</div>
<div id="consult-fixed" class="consult-fixed">
<span>☁</span>
</div>
<div class="form-modal" id="formModal">
<div class="form-header">
<h3>业务需求提交</h3>
<button class="close-modal-btn" id="closeModalBtn">×</button>
</div>
<form class="business-form" id="businessForm">
<div class="form-item">
<label for="name">姓名:</label>
<input type="text" id="name" name="name" placeholder="请输入姓名" required>
</div>
<div class="form-item">
<label for="phone">电话:</label>
<input type="tel" id="phone" name="phone" placeholder="请输入手机号" required>
</div>
<div class="form-item">
<label for="demand">业务需求(非必填):</label>
<textarea id="demand" name="demand" rows="4" placeholder="请描述你的业务需求"></textarea>
</div>
<div class="form-btn-group">
<button type="submit" class="submit_btn">提交</button>
<button type="button" class="close-form-btn" id="closeFormBtn">取消</button>
</div>
</form>
</div>
<?php
include_once('wwpage/Kun_footer.php');
?>
<script src="/js/common.js"></script>
<script src="/js/pay.js"></script>
<script src="js/ask.js"></script>
</body>
</html>