1322 lines
46 KiB
HTML
1322 lines
46 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
|
||
<head>
|
||
<meta name="baidu-site-verification" content="codeva-oXWASlP547" />
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport"
|
||
content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||
|
||
<title>龙翔工程咨询集团 </title>
|
||
<script src="/resources/templates/default_v2/css/tailwindcss.css"></script>
|
||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> -->
|
||
<link rel="stylesheet" href="/resources/templates/default_v2/css/font-awesome.css">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||
<!-- 禁止百度转码 -->
|
||
<meta http-equiv="Cache-Control" content="no-siteapp">
|
||
<!-- uc强制竖屏 -->
|
||
<meta name="screen-orientation" content="portrait">
|
||
<!-- QQ强制竖屏 -->
|
||
<meta name="x5-orientation" content="portrait">
|
||
<title>龙翔工程咨询集团</title>
|
||
<meta name="Keywords" content="{dreamer-cms:global name=" keywords"/}" />
|
||
<meta name="Description" content="{dreamer-cms:global name=" describe"/}" />
|
||
<link rel="stylesheet" href="/resources/templates/default_v2/css/iconfont/iconfont.css">
|
||
<link rel="stylesheet" href="/resources/templates/default_v2/css/reset.css">
|
||
<link rel="stylesheet" href="/resources/templates/default_v2/css/animate.css">
|
||
<link rel="stylesheet" href="/resources/templates/default_v2/css/style.css">
|
||
<link rel="stylesheet" href="/resources/templates/default_v2/scripts/theme/default/layer.css">
|
||
<script src="/resources/templates/default_v2/scripts/jquery-1.11.3.min.js"></script>
|
||
<script src="/resources/templates/default_v2/scripts/jquery.SuperSlide.2.1.1.js"></script>
|
||
<script src="/resources/templates/default_v2/scripts/js.js"></script>
|
||
<script src="/resources/templates/default_v2/scripts/layer.js"></script>
|
||
<style>
|
||
.hero-section {
|
||
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1605152276897-4f618f831968?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
|
||
background-size: cover;
|
||
background-position: center;
|
||
}
|
||
|
||
.news-container {
|
||
display: flex;
|
||
height: 500px;
|
||
}
|
||
|
||
.news-image {
|
||
flex: 1;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
position: relative;
|
||
}
|
||
|
||
.news-image img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.news-list {
|
||
flex: 1;
|
||
height: 100%;
|
||
overflow-y: auto;
|
||
background: white;
|
||
position: relative;
|
||
}
|
||
|
||
.news-item {
|
||
padding: 16px;
|
||
border-bottom: 1px solid #eee;
|
||
transition: all 0.3s ease;
|
||
}
|
||
|
||
.news-item:hover {
|
||
background: #f8fafc;
|
||
}
|
||
|
||
.divider {
|
||
width: 1px;
|
||
background-color: #e5e7eb;
|
||
}
|
||
|
||
.page-item {
|
||
display: inline-block;
|
||
margin: 0 2px;
|
||
}
|
||
|
||
.page-link {
|
||
padding: 6px 12px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.page-link:hover {
|
||
background-color: #f1f5f9;
|
||
}
|
||
|
||
.page-link.active {
|
||
background-color: #3b82f6;
|
||
color: white;
|
||
}
|
||
|
||
.pagination-container {
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
background: white;
|
||
padding: 12px;
|
||
border-top: 1px solid #e5e7eb;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
.view-details {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
color: #3b82f6;
|
||
font-size: 0.875rem;
|
||
font-weight: 500;
|
||
transition: all 0.2s ease;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.view-details:hover {
|
||
color: #2563eb;
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.view-details i {
|
||
margin-left: 4px;
|
||
font-size: 0.75rem;
|
||
}
|
||
|
||
.service-card {
|
||
transition: all 0.3s ease;
|
||
}
|
||
|
||
.service-card:hover {
|
||
transform: translateY(-5px);
|
||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
/* .timeline-item:not(:last-child)::after {
|
||
下方竖线
|
||
content: '';
|
||
position: absolute;
|
||
left: 50%;
|
||
bottom: -20px;
|
||
transform: translateX(-50%);
|
||
width: 2px;
|
||
height: 20px;
|
||
background-color: #e5e7eb;
|
||
} */
|
||
|
||
.carousel {
|
||
position: relative;
|
||
height: 500px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.carousel-inner {
|
||
display: flex;
|
||
transition: transform 0.5s ease;
|
||
height: 100%;
|
||
}
|
||
|
||
.carousel-item {
|
||
min-width: 100%;
|
||
height: 100%;
|
||
position: relative;
|
||
}
|
||
|
||
.carousel-item img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
max-width: 100% ;
|
||
max-height: 100%;
|
||
}
|
||
|
||
.carousel-caption {
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
padding: 30px;
|
||
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
|
||
color: white;
|
||
}
|
||
|
||
.carousel-control {
|
||
position: absolute;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
width: 40px;
|
||
height: 40px;
|
||
background: rgba(0, 0, 0, 0.5);
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
color: white;
|
||
cursor: pointer;
|
||
z-index: 10;
|
||
}
|
||
|
||
.carousel-control.prev {
|
||
left: 20px;
|
||
}
|
||
|
||
.carousel-control.next {
|
||
right: 20px;
|
||
}
|
||
|
||
.carousel-indicators {
|
||
position: absolute;
|
||
bottom: 20px;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
display: flex;
|
||
gap: 10px;
|
||
z-index: 10;
|
||
}
|
||
|
||
.carousel-indicator {
|
||
width: 12px;
|
||
height: 12px;
|
||
border-radius: 50%;
|
||
background: rgba(255, 255, 255, 0.5);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.carousel-indicator.active {
|
||
background: white;
|
||
}
|
||
#timeline {
|
||
height: 235px;
|
||
}
|
||
</style>
|
||
</head>
|
||
|
||
<body class="font-sans text-gray-800">
|
||
<!-- 导航栏 -->
|
||
<head>
|
||
<script src="https://cdn.tailwindcss.com"></script>
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||
</head>
|
||
|
||
<div id="header" class="min_wrapper_1200">
|
||
<div class="pull-left">
|
||
<span class="item">
|
||
<i class="iconfont icondianhua"></i>
|
||
官方电话:<span class="phone">18063388133</span>
|
||
</span>
|
||
<!-- <span class="item">
|
||
<i class="iconfont iconicon-test"></i>
|
||
QQ技术交流群:
|
||
<span class="phone" style="margin-left: 6px;">
|
||
<a target="_blank" href="https://qm.qq.com/cgi-bin/qm/qr?k=Ba41Hjymx8sei97Y9EwcREEsgww0oYG4&jump_from=webapi&authKey=ddiBUR6Dopdxifg3KDh4B1oGblfyuWebDqFWj0KLYAZFTBqXLoAMmd7jnWrN6xxp" style="color: #fff;">597652651(QQ群)</a>
|
||
</span>
|
||
</span> -->
|
||
</div>
|
||
<div class="pull-right">
|
||
<!-- <a href="http://doc.iteachyou.cc" title="帮助文档" target="_blank">帮助文档</a>
|
||
<a href="http://wpa.qq.com/msgrd?v=3&uin=153095904&site=qq&menu=yes" target="_blank">授权咨询</a> -->
|
||
</div>
|
||
</div>
|
||
<div class="clearfix"></div>
|
||
<div id="nav">
|
||
<div class="pull-left" style="position: relative;
|
||
top: 20px;left:-100px">
|
||
<a href="/" title="龙翔工程咨询集团">
|
||
<img src="/resources/templates/default_v2/images/logo1.png" title="龙翔工程咨询集团" alt="龙翔工程咨询集团">
|
||
|
||
</a>
|
||
<div style="width: 500px;position: relative;
|
||
top: -60px;left:120px"><span class="text-xl font-bold text-blue-600" style="width: 1000px;">龙翔(山东)工程咨询管理有限公司</span></div>
|
||
|
||
</div>
|
||
<div class="pull-right">
|
||
<a class="item" href="/" title="首页">首页</a>
|
||
|
||
|
||
<a class="item" href="javascript:void(0);" title="公司概况" id="navtop_4ol61bbh">
|
||
<span id="topspan_4ol61bbh">公司概况</span>
|
||
<div class="item list">
|
||
|
||
<div style="width: 110px;" class="itemn Navson_6rztc072" url="/htmls/qiyejianjie/index.html">企业简介</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_mvpeun1s" url="/htmls/fengcaizhanshi/list-1.html">风采展示</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_lh171rwa" url="/htmls/qiyezizhi/list-1.html">企业资质</div>
|
||
|
||
</div>
|
||
</a>
|
||
|
||
|
||
|
||
|
||
<a class="item" href="javascript:void(0);" title="成功案例" id="navtop_he9g4d0j">
|
||
<span id="topspan_he9g4d0j">成功案例</span>
|
||
<div class="item list">
|
||
|
||
<div style="width: 110px;" class="itemn Navson_48385ou5" url="/htmls/zhengfu/list-1.html">全过程工程咨询</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_3m1s0813" url="/htmls/xiehui/list-1.html">工程咨询</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_0723u098" url="/htmls/qiye/list-1.html">造价咨询</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_5dwqhes7" url="/htmls/xuexiao/list-1.html">BIM咨询</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_v35683wr" url="/htmls/qita/list-1.html">工程监理</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_fjr7p75l" url="/htmls/zijinshenqing/list-1.html">资金申请</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_32n9y542" url="/htmls/kanchasheji/list-1.html">勘察设计</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_8q398bn8" url="/htmls/anquanzixun/list-1.html">安全咨询</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_10o2ipu3" url="/htmls/xinxihuazixun/list-1.html">信息化咨询</div>
|
||
|
||
</div>
|
||
</a>
|
||
|
||
|
||
|
||
|
||
<a class="item" href="javascript:void(0);" title="企业荣誉" id="navtop_yjug0grv">
|
||
<span id="topspan_yjug0grv">企业荣誉</span>
|
||
<div class="item list">
|
||
|
||
<div style="width: 110px;" class="itemn Navson_j87u4885" url="/htmls/zhengfulei/list-1.html">政府类</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_388rj7m2" url="/htmls/qiyelei/list-1.html">企业类</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_m0k4m6ng" url="/htmls/xinyongpingjialei/list-1.html">信用评价类</div>
|
||
|
||
</div>
|
||
</a>
|
||
|
||
|
||
|
||
|
||
<a class="item" href="javascript:void(0);" title="新闻中心" id="navtop_96nbp5pc">
|
||
<span id="topspan_96nbp5pc">新闻中心</span>
|
||
<div class="item list">
|
||
|
||
<div style="width: 110px;" class="itemn Navson_c44273d2" url="/htmls/gongsixinwen/list-1.html">招采信息</div>
|
||
|
||
<div style="width: 110px;" class="itemn Navson_zac9idyl" url="/htmls/gongsixinwen/list-1.html">公司新闻</div>
|
||
|
||
</div>
|
||
</a>
|
||
|
||
|
||
|
||
|
||
|
||
<a class="item" href="/htmls/guanyuwomen/index.html" title="联系我们" id="navtop_ir1k18x0">
|
||
<span id="topspan_ir1k18x0">联系我们</span>
|
||
</a>
|
||
|
||
|
||
<!-- <a class="demoCenter" >演示中心
|
||
<div class="demoCon">
|
||
<div class="demo">
|
||
<div class="whiteBg">
|
||
<div class="name">梦想家演示地址及账号</div>
|
||
<div class="infor">网站前台</div>
|
||
<table border="1">
|
||
<tr>
|
||
<th width="50%">演示网址</th>
|
||
<th width="25%">账号</th>
|
||
<th width="25%">密码</th>
|
||
</tr>
|
||
<tr>
|
||
<td><a href="http://cms.iteachyou.cc" target="_blank" style="color:#2a7efb;">http://cms.iteachyou.cc</a></td>
|
||
<td>无</td>
|
||
<td>无</td>
|
||
</tr>
|
||
</table>
|
||
<div class="infor">后台管理系统</div>
|
||
<table border="1">
|
||
<tr>
|
||
<th width="50%">演示网址</th>
|
||
<th width="25%">账号</th>
|
||
<th width="25%">密码</th>
|
||
</tr>
|
||
<tr>
|
||
<td><a href="http://cms.iteachyou.cc/admin" target="_blank" style="color:#2a7efb;">http://cms.iteachyou.cc/admin</a></td>
|
||
<td>wangjn</td>
|
||
<td>123456</td>
|
||
</tr>
|
||
</table>
|
||
<div class="showHow">
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</a> -->
|
||
<!-- <div class="demoCenter download" target="_blank">
|
||
<a href="https://gitee.com/isoftforce/dreamer_cms" target="_blank" style="color: #fff;" title="源码下载">源码下载</a>
|
||
</div> -->
|
||
</div>
|
||
</div>
|
||
<div class="clearfix"></div>
|
||
<style>
|
||
.download table{border-color:#eee !important;}
|
||
.download table tr th{background-color: #f7f7f7 !important;width: 33.3%;}
|
||
.download th span{color:#666666;font-weight: bold;}
|
||
</style>
|
||
<script>
|
||
jQuery(".itemn").click(function(){
|
||
window.location.href = jQuery(this).attr("url")
|
||
})
|
||
</script>
|
||
|
||
<!-- 轮播图 -->
|
||
<section class="carousel">
|
||
<!-- 加载状态 -->
|
||
<div id="carousel-loading" class="loading">
|
||
<div class="loading-spinner"></div>
|
||
</div>
|
||
|
||
<!-- 轮播内容 -->
|
||
<div id="carousel-inner" class="carousel-inner hidden">
|
||
<!-- 轮播项将通过JavaScript动态添加 -->
|
||
</div>
|
||
|
||
<!-- 控制按钮 -->
|
||
<div class="carousel-control prev" id="carousel-prev">
|
||
<i class="fas fa-chevron-left"></i>
|
||
</div>
|
||
<div class="carousel-control next" id="carousel-next">
|
||
<i class="fas fa-chevron-right"></i>
|
||
</div>
|
||
|
||
<!-- 指示器 -->
|
||
<div class="carousel-indicators" id="carousel-indicators">
|
||
<!-- 指示器将通过JavaScript动态添加 -->
|
||
</div>
|
||
</section>
|
||
|
||
<!-- 新闻动态 - 放在轮播图下方 -->
|
||
<section class="py-16 bg-gray-50">
|
||
<div class="container mx-auto px-6">
|
||
<div class="text-center mb-12">
|
||
<h2 class="text-3xl md:text-4xl font-bold mb-4">新闻动态</h2>
|
||
<div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div>
|
||
<p class="text-gray-600 max-w-3xl mx-auto">了解我们的最新动态和资讯</p>
|
||
</div>
|
||
|
||
<div class="news-container bg-white rounded-lg shadow-md overflow-hidden">
|
||
<!-- 左侧新闻图片 -->
|
||
|
||
<div class="news-image">
|
||
<img src="http://www.lxxmgl.net/resources/uploads/20250421/1914251209362374656.jpg" alt="新闻图片">
|
||
<div class="absolute bottom-0 left-0 right-0 p-6 bg-gradient-to-t from-black to-transparent text-white">
|
||
<div class="text-sm text-gray-300 mb-2">
|
||
<span>2025-03-19 17:32:09</span>
|
||
<!-- <span class="mx-2">|</span>
|
||
<span>公司新闻</span> -->
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-3">聚势谋远 智启未来 | 龙翔工程咨询集团与中建八局一公司青岛公司共探产业策划新生态</h3>
|
||
<a href="/htmls/gongsixinwen/20250421/1914251390816354304.html" class="view-details">
|
||
阅读更多 <i class="fas fa-arrow-right"></i>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 分割线 -->
|
||
<div class="divider"></div>
|
||
|
||
<!-- 右侧新闻列表 -->
|
||
<div class="news-list">
|
||
<div id="news-list-content">
|
||
<!-- News items will be dynamically inserted here -->
|
||
</div>
|
||
|
||
<div class="pagination-container">
|
||
<nav>
|
||
<ul class="pagination flex" id="pagination">
|
||
<!-- Pagination will be dynamically inserted here -->
|
||
</ul>
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
|
||
<!-- 关于我们 -->
|
||
<section class="py-20">
|
||
<div class="container mx-auto px-6">
|
||
<div class="text-center mb-16">
|
||
<h2 class="text-3xl md:text-4xl font-bold mb-4">关于我们</h2>
|
||
<div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div>
|
||
<p class="text-gray-600 max-w-3xl mx-auto">龙翔工程咨询集团
|
||
成立于2005年,是一家专业从事工程咨询、项目管理、造价咨询等服务的综合性咨询企业,公司始终以“全力塑造行业品牌”为追求目标,以着力提升公司专业化水准、精准化服务、标准化管理为切入点,脚踏实地,锐意进取,不断完善,勇于超越,努力以一流服务创一流业绩!</p>
|
||
</div>
|
||
<div class="flex flex-col md:flex-row items-center">
|
||
<div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
|
||
<img src="/resources/templates/default_v2/images/photo-1522071820081-009f0129c71c.avif"
|
||
alt="关于我们" class="rounded-lg shadow-xl">
|
||
</div>
|
||
<div class="md:w-1/2">
|
||
<h3 class="text-2xl font-bold mb-6">我们的使命与愿景</h3>
|
||
<p class="text-gray-600 mb-6">我们致力于通过专业咨询服务推动工程建设行业高质量发展,帮助客户实现项目价值最大化。我们的愿景是成为国内领先的工程咨询企业。</p>
|
||
<div class="mb-8">
|
||
<div class="flex items-start mb-4">
|
||
<div class="bg-blue-100 p-2 rounded-full mr-4">
|
||
<i class="fas fa-check text-blue-600"></i>
|
||
</div>
|
||
<div>
|
||
<h4 class="font-bold mb-1">20年行业经验</h4>
|
||
<p class="text-gray-600">深耕工程咨询行业20年,积累了丰富的项目经验</p>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-start mb-4">
|
||
<div class="bg-blue-100 p-2 rounded-full mr-4">
|
||
<i class="fas fa-check text-blue-600"></i>
|
||
</div>
|
||
<div>
|
||
<h4 class="font-bold mb-1">300+客户信赖</h4>
|
||
<p class="text-gray-600">服务超过300家企业客户,获得一致好评</p>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-start">
|
||
<div class="bg-blue-100 p-2 rounded-full mr-4">
|
||
<i class="fas fa-check text-blue-600"></i>
|
||
</div>
|
||
<div>
|
||
<h4 class="font-bold mb-1">80+专业团队</h4>
|
||
<p class="text-gray-600">拥有80多名注册咨询工程师、造价工程师等专业人才</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- <button class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium transition duration-300">了解更多</button> -->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- 服务项目 -->
|
||
<section class="py-20 bg-gray-50">
|
||
<div class="container mx-auto px-6">
|
||
<div class="text-center mb-16">
|
||
<h2 class="text-3xl md:text-4xl font-bold mb-4">我们的服务</h2>
|
||
<div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div>
|
||
<p class="text-gray-600 max-w-3xl mx-auto">我们提供全方位的工程咨询服务,助力项目顺利实施</p>
|
||
</div>
|
||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-project-diagram text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">全过程工程咨询</h3>
|
||
<p class="text-gray-600 mb-6">提供从项目前期策划到竣工验收的全过程咨询服务</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-tasks text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">项目管理服务</h3>
|
||
<p class="text-gray-600 mb-6">专业的项目管理团队,确保项目按计划顺利实施</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-calculator text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">工程造价咨询</h3>
|
||
<p class="text-gray-600 mb-6">专业的造价控制服务,优化项目投资效益</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-file-contract text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">工程监理服务</h3>
|
||
<p class="text-gray-600 mb-6">专业的工程监理团队,确保工程质量达标</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-search text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">工程评估审计</h3>
|
||
<p class="text-gray-600 mb-6">专业的工程评估与审计服务,确保项目合规性</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-shield-alt text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">安全咨询</h3>
|
||
<p class="text-gray-600 mb-6">专业安全咨询,护航工程零风险</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-desktop text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">信息化管理</h3>
|
||
<p class="text-gray-600 mb-6">智能信息化管理,赋能工程高效决策</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-building text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">招标采购咨询</h3>
|
||
<p class="text-gray-600 mb-6">精准招标策略,护航工程降本增效</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fal fa-city text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">勘察设计</h3>
|
||
<p class="text-gray-600 mb-6">精勘设计先行,赋能工程科学决策</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
<div class="service-card bg-white p-8 rounded-lg shadow-md">
|
||
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
||
<i class="fas fa-solid fa-user text-blue-600 text-2xl"></i>
|
||
</div>
|
||
<h3 class="text-xl font-bold mb-4">财务鉴证</h3>
|
||
<p class="text-gray-600 mb-6">精准鉴证保障,风险防控无忧</p>
|
||
<!-- <a href="#" class="text-blue-600 font-medium flex items-center">
|
||
了解更多 <i class="fas fa-arrow-right ml-2 text-sm"></i>
|
||
</a> -->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- 发展历程 -->
|
||
<section class="py-20">
|
||
<div class="container mx-auto px-6">
|
||
<div class="text-center mb-16">
|
||
<h2 class="text-3xl md:text-4xl font-bold mb-4">发展历程</h2>
|
||
<div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div>
|
||
<p class="text-gray-600 max-w-3xl mx-auto">从初创探索到行业标杆,多年深耕工程行业,以创新破局,用专业赋能,见证每一次突破与跨越。</p>
|
||
</div>
|
||
<div class="relative">
|
||
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
||
<div class="timeline-item relative">
|
||
<div class="bg-white p-6 rounded-lg shadow-md">
|
||
<div
|
||
class="bg-blue-600 w-12 h-12 rounded-full flex items-center justify-center text-white font-bold text-xl mb-4 mx-auto">
|
||
2005</div>
|
||
<h3 class="text-xl font-bold mb-3 text-center">公司成立</h3>
|
||
<p class="text-gray-600 text-center">龙翔项目管理有限公司成立、会计师事务所成立,公司在行业内崭露头角、树立品牌形象</p>
|
||
</div>
|
||
</div>
|
||
<div class="timeline-item relative">
|
||
<div class="bg-white p-6 rounded-lg shadow-md">
|
||
<div
|
||
class="bg-blue-600 w-12 h-12 rounded-full flex items-center justify-center text-white font-bold text-xl mb-4 mx-auto">
|
||
2015</div>
|
||
<h3 class="text-xl font-bold mb-3 text-center">蓬勃发展</h3>
|
||
<p class="text-gray-600 text-center">公司进入蓬勃发展的黄金时代,市场占有率高达30%,用户满意度较高</p>
|
||
</div>
|
||
</div>
|
||
<div class="timeline-item relative">
|
||
<div class="bg-white p-6 rounded-lg shadow-md">
|
||
<div class="bg-blue-600 w-12 h-12 rounded-full flex items-center justify-center text-white font-bold text-xl mb-4 mx-auto">2018</div>
|
||
<h3 class="text-xl font-bold mb-3 text-center">资质升级</h3>
|
||
<p class="text-gray-600 text-center">公司造价咨询资质升级为甲级;取得工程咨询资质;在省内外20多个城市设立分公司</p>
|
||
</div>
|
||
</div>
|
||
<div class="timeline-item relative">
|
||
<div class="bg-white p-6 rounded-lg shadow-md" id="timeline">
|
||
<div
|
||
class="bg-blue-600 w-12 h-12 rounded-full flex items-center justify-center text-white font-bold text-xl mb-4 mx-auto">
|
||
2019</div>
|
||
<h3 class="text-xl font-bold mb-3 text-center">多核驱动</h3>
|
||
<p class="text-gray-600 text-center">公司总部搬迁到青岛、并在北京成立集团管理中心,形成青岛、北京、海南、兰州、杭州五大集团管理中心辐射服务全国</p>
|
||
</div>
|
||
</div>
|
||
<div class="timeline-item relative">
|
||
<div class="bg-white p-6 rounded-lg shadow-md" id="timeline">
|
||
<div
|
||
class="bg-blue-600 w-12 h-12 rounded-full flex items-center justify-center text-white font-bold text-xl mb-4 mx-auto">
|
||
2020</div>
|
||
<h3 class="text-xl font-bold mb-3 text-center">转型升级</h3>
|
||
<p class="text-gray-600 text-center">公司转型成为工程项目全生命周期提供工程服务的专业化、数字化、平台化集团公司</p>
|
||
</div>
|
||
</div>
|
||
<div class="timeline-item relative">
|
||
<div class="bg-white p-6 rounded-lg shadow-md" id="timeline">
|
||
<div class="bg-blue-600 w-12 h-12 rounded-full flex items-center justify-center text-white font-bold text-xl mb-4 mx-auto">2023</div>
|
||
<h3 class="text-xl font-bold mb-3 text-center">战略纵深</h3>
|
||
<p class="text-gray-600 text-center">公司伴随“一带一路”走出中国,形成了植根山东、服务全国、辐射全球的服务网络</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</section>
|
||
<style>
|
||
#theewm{
|
||
position: relative;
|
||
right:-5px
|
||
}
|
||
</style>
|
||
<div id="footer" class="min_wrapper_1200">
|
||
<div class="wrapper_1200">
|
||
<ul class="list" style="text-align:center">
|
||
<li>
|
||
<div class="name">
|
||
|
||
公司概况
|
||
|
||
</div>
|
||
|
||
<a class="item" href="/htmls/qiyejianjie/index.html" title="企业简介">企业简介</a>
|
||
|
||
<a class="item" href="/htmls/fengcaizhanshi/list-1.html" title="风采展示">风采展示</a>
|
||
|
||
<a class="item" href="/htmls/qiyezizhi/list-1.html" title="企业资质">企业资质</a>
|
||
|
||
</li>
|
||
<li>
|
||
<div class="name">
|
||
|
||
企业荣誉
|
||
|
||
</div>
|
||
|
||
<a class="item" href="/htmls/zhengfulei/list-1.html" title="政府类">政府类</a>
|
||
|
||
<a class="item" href="/htmls/qiyelei/list-1.html" title="企业类">企业类</a>
|
||
|
||
<a class="item" href="/htmls/xinyongpingjialei/list-1.html" title="信用评价类">信用评价类</a>
|
||
|
||
</li>
|
||
<li>
|
||
<div class="name">
|
||
|
||
新闻中心
|
||
|
||
</div>
|
||
|
||
<a class="item" href="/htmls/gongsixinwen/list-1.html" title="招采信息">招采信息</a>
|
||
|
||
<a class="item" href="/htmls/gongsixinwen/list-1.html" title="公司新闻">公司新闻</a>
|
||
|
||
</li>
|
||
<li>
|
||
<div class="name">
|
||
|
||
成功案例
|
||
|
||
</div>
|
||
|
||
<a class="item" href="/htmls/zhengfu/list-1.html" title="全过程工程咨询">全过程工程咨询</a>
|
||
|
||
<a class="item" href="/htmls/xiehui/list-1.html" title="工程咨询">工程咨询</a>
|
||
|
||
<a class="item" href="/htmls/qiye/list-1.html" title="造价咨询">造价咨询</a>
|
||
|
||
<a class="item" href="/htmls/xuexiao/list-1.html" title="BIM咨询">BIM咨询</a>
|
||
|
||
<a class="item" href="/htmls/qita/list-1.html" title="工程监理">工程监理</a>
|
||
|
||
<a class="item" href="/htmls/zijinshenqing/list-1.html" title="资金申请">资金申请</a>
|
||
|
||
<a class="item" href="/htmls/kanchasheji/list-1.html" title="勘察设计">勘察设计</a>
|
||
|
||
<a class="item" href="/htmls/anquanzixun/list-1.html" title="安全咨询">安全咨询</a>
|
||
|
||
<a class="item" href="/htmls/xinxihuazixun/list-1.html" title="信息化咨询">信息化咨询</a>
|
||
|
||
</li>
|
||
<li>
|
||
<div class="name">联系方式</div>
|
||
<div class="item">全国热线 :<span>18063388133</span></div>
|
||
<!-- <div class="item">项目合作 :<span>153095904(QQ)</span></div> -->
|
||
<!-- <div class="item" style="">技术交流 :
|
||
<div style="width: 150px;float: right;">
|
||
<span style="display: block;">
|
||
<a target="_blank" href="https://qm.qq.com/cgi-bin/qm/qr?k=Ba41Hjymx8sei97Y9EwcREEsgww0oYG4&jump_from=webapi&authKey=ddiBUR6Dopdxifg3KDh4B1oGblfyuWebDqFWj0KLYAZFTBqXLoAMmd7jnWrN6xxp" style="color: #6aa6ff;">597652651(QQ群)</a>
|
||
</span>
|
||
</div>
|
||
</div> -->
|
||
</li>
|
||
<li>
|
||
<div class="name">关注我们</div>
|
||
<!-- <div class="official">
|
||
|
||
<div class="ewm">
|
||
<span class="iconfont iconweixin-copy"></span>官方微信
|
||
</div>
|
||
</div> -->
|
||
<div class="official1">
|
||
<!-- -->
|
||
<img src="/resources/templates/default_v2/images/official1.jpg" width="100" style="position: relative;right:-10px"/>
|
||
<!-- -->
|
||
<div class="ewm" style="color: blue;" id="theewm"><span class="iconfont iconxiaochengxu"></span>官方公众号</div>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<div class="clearfix"></div>
|
||
<div class="friendship">
|
||
<a>友情链接:</a>
|
||
|
||
<a href="">百度</a>
|
||
|
||
<a href="">腾讯会议</a>
|
||
|
||
</div>
|
||
<div class="copy">
|
||
<div class="pull-left">
|
||
Copyright © Dreamer CMS;龙翔工程咨询集团
|
||
|
||
<a target="_blank" style="color: #ccc;" href='http://www.beian.miit.gov.cn/'>鲁ICP备19064367号-10</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<style>
|
||
.official1{float:left;margin-right:18px;}
|
||
</style>
|
||
|
||
<script>
|
||
// var user = [[{dreamer-cms:list typeid="6j0r9qzq" pagenum="1" pagesize="1" cascade="true"/}]];
|
||
// Sample news data for engineering consulting company
|
||
|
||
const newsData = [
|
||
// {
|
||
// date: "2023-05-28",
|
||
// category: "行业动态",
|
||
// title: "2023年工程咨询行业发展论坛在京举行"
|
||
// },
|
||
// {
|
||
// date: "2023-05-10",
|
||
// category: "技术前沿",
|
||
// title: "BIM技术在大型工程项目中的应用研讨会圆满结束"
|
||
// },
|
||
// {
|
||
// date: "2023-04-22",
|
||
// category: "公司新闻",
|
||
// title: "我司荣获2023年度优秀工程咨询企业称号"
|
||
// },
|
||
// {
|
||
// date: "2023-03-15",
|
||
// category: "行业动态",
|
||
// title: "2023年第一季度工程咨询行业发展报告发布"
|
||
// },
|
||
// {
|
||
// date: "2023-02-28",
|
||
// category: "技术前沿",
|
||
// title: "新型建筑材料在工程中的应用研讨会成功举办"
|
||
// },
|
||
// {
|
||
// date: "2023-01-15",
|
||
// category: "行业动态",
|
||
// title: "2023年工程咨询行业发展趋势分析"
|
||
// },
|
||
// {
|
||
// date: "2022-12-10",
|
||
// category: "公司新闻",
|
||
// title: "我司与某大型建筑集团达成战略合作协议"
|
||
// },
|
||
// {
|
||
// date: "2022-11-25",
|
||
// category: "技术前沿",
|
||
// title: "绿色建筑技术应用研讨会成功举办"
|
||
// },
|
||
// {
|
||
// date: "2022-10-18",
|
||
// category: "行业动态",
|
||
// title: "2022年第三季度工程咨询行业发展报告发布"
|
||
// },
|
||
// {
|
||
// date: "2022-09-05",
|
||
// category: "公司新闻",
|
||
// title: "我司成功举办2022年度技术交流会"
|
||
// }
|
||
];
|
||
|
||
// Pagination variables
|
||
const itemsPerPage = 5;
|
||
let currentPage = 1;
|
||
// 从接口获取新闻数据
|
||
async function fetchNewsData() {
|
||
try {
|
||
// 显示加载状态
|
||
document.getElementById('news-list-content').innerHTML = `
|
||
<div class="loading">
|
||
<div class="loading-spinner"></div>
|
||
</div>
|
||
`;
|
||
|
||
// 实际项目中替换为你的真实API地址
|
||
const response = await fetch('/getIndexNews', {
|
||
method: 'GET',
|
||
headers: {
|
||
'Content-Type': 'application/json',
|
||
// 如果需要认证,可以添加认证头
|
||
// 'Authorization': 'Bearer your_token_here'
|
||
}
|
||
});
|
||
|
||
if (!response.ok) {
|
||
throw new Error('网络响应不正常');
|
||
}
|
||
|
||
const data = await response.json();
|
||
|
||
// 假设API返回的数据格式为:
|
||
// {
|
||
// success: true,
|
||
// data: [
|
||
// { date: "2023-06-15", category: "公司新闻", title: "新闻标题1" },
|
||
// { date: "2023-06-10", category: "行业动态", title: "新闻标题2" },
|
||
// // 更多新闻...
|
||
// ]
|
||
// }
|
||
|
||
if (data.code==200) {
|
||
return data.data;
|
||
} else {
|
||
throw new Error(data.message || '获取新闻数据失败');
|
||
}
|
||
} catch (error) {
|
||
console.error('获取新闻数据失败:', error);
|
||
|
||
// 显示错误信息
|
||
document.getElementById('news-list-content').innerHTML = `
|
||
<div class="p-8 text-center text-red-500">
|
||
<i class="fas fa-exclamation-triangle text-2xl mb-2"></i>
|
||
<p>加载新闻失败: ${error.message}</p>
|
||
<button onclick="fetchNewsDataAndDisplay()" class="mt-4 px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700">
|
||
重试
|
||
</button>
|
||
</div>
|
||
`;
|
||
|
||
// 返回空数组或默认数据
|
||
return [];
|
||
}
|
||
}
|
||
|
||
// 获取新闻数据并显示
|
||
async function fetchNewsDataAndDisplay() {
|
||
const newsData = await fetchNewsData();
|
||
|
||
// 如果获取数据成功,初始化分页和显示
|
||
if (newsData.length > 0) {
|
||
// 初始化分页和显示
|
||
displayNewsItems(newsData);
|
||
setupPagination(newsData);
|
||
} else {
|
||
// 如果没有数据,显示提示信息
|
||
document.getElementById('news-list-content').innerHTML = `
|
||
<div class="p-8 text-center text-gray-500">
|
||
<i class="fas fa-info-circle text-2xl mb-2"></i>
|
||
<p>暂无新闻数据</p>
|
||
</div>
|
||
`;
|
||
}
|
||
}
|
||
let currentNewsData = [];
|
||
// const newsData =await fetchNewsData();
|
||
// Function to display news items for current page
|
||
|
||
function displayNewsItems(newsData) {
|
||
const newsListContent = document.getElementById('news-list-content');
|
||
newsListContent.innerHTML = '';
|
||
currentNewsData = newsData;
|
||
const startIndex = (currentPage - 1) * itemsPerPage;
|
||
const endIndex = Math.min(startIndex + itemsPerPage, newsData.length);
|
||
const paginatedData = newsData.slice(startIndex, endIndex);
|
||
// <span class="mx-2">|</span>
|
||
// <span>${item.title}</span>
|
||
paginatedData.forEach(item => {
|
||
const newsItem = document.createElement('div');
|
||
newsItem.className = 'news-item';
|
||
newsItem.innerHTML = `
|
||
<div class="flex justify-between items-center">
|
||
<div class="flex-1 min-w-0">
|
||
<div class="text-sm text-gray-500 mb-1">
|
||
<span>${item.showTime}</span>
|
||
|
||
</div>
|
||
<h3 class="text-lg font-medium truncate">${item.title}</h3>
|
||
</div>
|
||
<div class="ml-4 flex-shrink-0">
|
||
<a href="article/${item.id}" class="view-details">
|
||
查看详情 <i class="fas fa-arrow-right"></i>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
`;
|
||
newsListContent.appendChild(newsItem);
|
||
});
|
||
}
|
||
|
||
// Function to setup pagination
|
||
function setupPagination(newsData) {
|
||
const pagination = document.getElementById('pagination');
|
||
pagination.innerHTML = '';
|
||
|
||
const pageCount = Math.ceil(newsData.length / itemsPerPage);
|
||
// Previous button
|
||
const prevLi = document.createElement('li');
|
||
prevLi.className = 'page-item';
|
||
prevLi.innerHTML = `
|
||
<a class="page-link ${currentPage === 1 ? 'disabled' : ''}" onclick="changePage(${currentPage - 1})">
|
||
<i class="fas fa-chevron-left"></i>
|
||
</a>
|
||
`;
|
||
pagination.appendChild(prevLi);
|
||
|
||
// Page numbers
|
||
for (let i = 1; i <= pageCount; i++) {
|
||
const li = document.createElement('li');
|
||
li.className = 'page-item';
|
||
li.innerHTML = `
|
||
<a class="page-link ${i === currentPage ? 'active' : ''}" onclick="changePage(${i})">${i}</a>
|
||
`;
|
||
pagination.appendChild(li);
|
||
}
|
||
|
||
// Next button
|
||
const nextLi = document.createElement('li');
|
||
nextLi.className = 'page-item';
|
||
nextLi.innerHTML = `
|
||
<a class="page-link ${currentPage === pageCount ? 'disabled' : ''}" onclick="changePage(${currentPage + 1})">
|
||
<i class="fas fa-chevron-right"></i>
|
||
</a>
|
||
`;
|
||
pagination.appendChild(nextLi);
|
||
}
|
||
|
||
// Function to change page
|
||
function changePage(page) {
|
||
if (page < 1 || page > Math.ceil(currentNewsData.length / itemsPerPage)) return;
|
||
currentPage = page;
|
||
displayNewsItems(currentNewsData);
|
||
setupPagination(currentNewsData);
|
||
|
||
// Scroll to top of news list
|
||
document.getElementById('news-list-content').scrollTop = 0;
|
||
}
|
||
|
||
// 轮播图功能
|
||
// 模拟从后台获取轮播图数据
|
||
function fetchCarouselData() {
|
||
// 这里模拟一个API请求,实际项目中应该是fetch或axios请求真实API
|
||
return new Promise((resolve) => {
|
||
setTimeout(() => {
|
||
resolve({
|
||
success: true,
|
||
data: [
|
||
{
|
||
id: 1,
|
||
imageUrl: "/resources/templates/default_v2/images/carousel/IMG_202504218658_860x482.png",
|
||
title: "专业工程咨询服务",
|
||
description: "提供全过程工程咨询解决方案,助力项目成功",
|
||
link: "#"
|
||
},
|
||
{
|
||
id: 2,
|
||
imageUrl: "/resources/templates/default_v2/images/carousel/1910576872591773696.png",
|
||
title: "专业项目管理服务",
|
||
description: "科学管理,确保项目按时按质完成",
|
||
link: "#"
|
||
},
|
||
{
|
||
id: 3,
|
||
imageUrl: "/resources/templates/default_v2/images/carousel/photo-1486406146926-c627a92ad1ab.jpg",
|
||
title: "工程造价咨询服务",
|
||
description: "精准造价控制,优化项目投资",
|
||
link: "#"
|
||
},
|
||
{
|
||
id: 4,
|
||
imageUrl: "/resources/templates/default_v2/images/carousel/photo-1600585154340-be6161a56a0c.jpg",
|
||
title: "工程监理服务",
|
||
description: "专业监理团队,确保工程质量",
|
||
link: "#"
|
||
}
|
||
]
|
||
});
|
||
}, 100); // 模拟网络延迟
|
||
});
|
||
}
|
||
// 初始化轮播图
|
||
async function initCarousel() {
|
||
try {
|
||
// 显示加载状态
|
||
document.getElementById('carousel-loading').classList.remove('hidden');
|
||
|
||
// 从后台获取数据
|
||
const response = await fetchCarouselData();
|
||
|
||
if (response.success) {
|
||
const carouselData = response.data;
|
||
|
||
// 渲染轮播图
|
||
renderCarousel(carouselData);
|
||
|
||
// 隐藏加载状态,显示轮播图
|
||
document.getElementById('carousel-loading').classList.add('hidden');
|
||
document.getElementById('carousel-inner').classList.remove('hidden');
|
||
|
||
// 初始化轮播图功能
|
||
initCarouselFunctionality();
|
||
}
|
||
} catch (error) {
|
||
console.error('获取轮播图数据失败:', error);
|
||
// 可以在这里添加错误处理,比如显示错误信息或默认内容
|
||
document.getElementById('carousel-loading').innerHTML =
|
||
'<p class="text-red-500">加载轮播图失败,请刷新页面重试</p>';
|
||
}
|
||
}
|
||
|
||
// 渲染轮播图内容
|
||
function renderCarousel(data) {
|
||
const carouselInner = document.getElementById('carousel-inner');
|
||
const indicatorsContainer = document.getElementById('carousel-indicators');
|
||
|
||
// 清空现有内容
|
||
carouselInner.innerHTML = '';
|
||
indicatorsContainer.innerHTML = '';
|
||
|
||
// 添加轮播项
|
||
data.forEach((item, index) => {
|
||
const isActive = index === 0 ? 'active' : '';
|
||
|
||
// 创建轮播项
|
||
const carouselItem = document.createElement('div');
|
||
carouselItem.className = `carousel-item ${isActive}`;
|
||
carouselItem.innerHTML = `
|
||
<img id="carousel" src="${item.imageUrl}" alt="${item.title}">
|
||
<div class="carousel-caption">
|
||
<h2 class="text-3xl font-bold mb-2">${item.title}</h2>
|
||
<p class="text-lg">${item.description}</p>
|
||
</div>
|
||
`;
|
||
// 这段原本在div里 <a href="${item.link}" class="inline-block mt-4 px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition duration-300">了解更多</a> -->
|
||
|
||
carouselInner.appendChild(carouselItem);
|
||
|
||
// 创建指示器
|
||
const indicator = document.createElement('div');
|
||
indicator.className = `carousel-indicator ${isActive}`;
|
||
indicator.dataset.index = index;
|
||
indicatorsContainer.appendChild(indicator);
|
||
});
|
||
}
|
||
// 初始化轮播图功能
|
||
function initCarouselFunctionality() {
|
||
const carousel = document.querySelector('.carousel-inner');
|
||
const items = document.querySelectorAll('.carousel-item');
|
||
const indicators = document.querySelectorAll('.carousel-indicator');
|
||
const prevBtn = document.getElementById('carousel-prev');
|
||
const nextBtn = document.getElementById('carousel-next');
|
||
|
||
let currentIndex = 0;
|
||
const itemCount = items.length;
|
||
let slideInterval;
|
||
|
||
function updateCarousel() {
|
||
carousel.style.transform = `translateX(-${currentIndex * 100}%)`;
|
||
|
||
// 更新指示器
|
||
indicators.forEach((indicator, index) => {
|
||
if (index === currentIndex) {
|
||
indicator.classList.add('active');
|
||
} else {
|
||
indicator.classList.remove('active');
|
||
}
|
||
});
|
||
}
|
||
|
||
function nextSlide() {
|
||
currentIndex = (currentIndex + 1) % itemCount;
|
||
updateCarousel();
|
||
}
|
||
|
||
function prevSlide() {
|
||
currentIndex = (currentIndex - 1 + itemCount) % itemCount;
|
||
updateCarousel();
|
||
}
|
||
|
||
// 自动轮播
|
||
function startAutoSlide() {
|
||
slideInterval = setInterval(nextSlide, 5000);
|
||
}
|
||
|
||
// 停止自动轮播
|
||
function stopAutoSlide() {
|
||
clearInterval(slideInterval);
|
||
}
|
||
|
||
// 事件监听
|
||
nextBtn.addEventListener('click', () => {
|
||
stopAutoSlide();
|
||
nextSlide();
|
||
startAutoSlide();
|
||
});
|
||
|
||
prevBtn.addEventListener('click', () => {
|
||
stopAutoSlide();
|
||
prevSlide();
|
||
startAutoSlide();
|
||
});
|
||
|
||
indicators.forEach((indicator) => {
|
||
indicator.addEventListener('click', () => {
|
||
stopAutoSlide();
|
||
currentIndex = parseInt(indicator.dataset.index);
|
||
updateCarousel();
|
||
startAutoSlide();
|
||
});
|
||
});
|
||
|
||
// 鼠标悬停时暂停自动轮播
|
||
carousel.addEventListener('mouseenter', stopAutoSlide);
|
||
carousel.addEventListener('mouseleave', startAutoSlide);
|
||
|
||
// 开始自动轮播
|
||
startAutoSlide();
|
||
}
|
||
|
||
// 初始化页面
|
||
document.addEventListener('DOMContentLoaded', function () {
|
||
// 初始化轮播图
|
||
initCarousel();
|
||
|
||
// 初始化新闻列表
|
||
// displayNewsItems();
|
||
// setupPagination();
|
||
// 初始化新闻列表 - 从API获取数据
|
||
fetchNewsDataAndDisplay();
|
||
});
|
||
|
||
</script>
|
||
|
||
</body>
|
||
<style>
|
||
#thewindow{
|
||
width: 45px;
|
||
/* position: relative; */
|
||
/* right: 56px; */
|
||
}
|
||
</style>
|
||
<div class="floatWindow" id="thewindow">
|
||
<div class="list">
|
||
<!-- <div class="item">
|
||
<span class="iconfont iconqq2"></span>
|
||
<div class="itemCon qqcs">
|
||
<div class="qq show">
|
||
<div class="arrow"></div>
|
||
<a href="http://wpa.qq.com/msgrd?v=3&uin=153095904&site=qq&menu=yes" target="_blank">
|
||
<img src="/resources/templates/default_v2/images/qq2.png">
|
||
咨询在线QQ客服
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div> -->
|
||
<div class="item">
|
||
<span class="iconfont icondianhua6"></span>
|
||
<div class="itemCon">
|
||
<div class="phone">
|
||
<div class="arrow"></div>
|
||
<img src="/resources/templates/default_v2/images/phone01.png" class="dis">
|
||
<div class="dis">
|
||
<div class="items">服务热线</div>
|
||
<div class="items num">18063388133</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="item">
|
||
<span class="iconfont iconerweima2"></span>
|
||
<div class="itemCon">
|
||
<div class="ewm">
|
||
<div class="pictrue">
|
||
<div class="arrow"></div>
|
||
|
||
<img src="/resources/templates/default_v2/images/official1.jpg">
|
||
<!-- -->
|
||
<!-- <img src="/resources/uploads/20230110/5464eb92f132460f86205386f93c1bb9.jpg"> -->
|
||
<!-- -->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="item return">
|
||
<span class="iconfont iconzhiding"></span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</html> |