fix: 修复服务中心引导页缺失图片,改用emoji图标

This commit is contained in:
liulujian 2026-04-03 16:41:37 +08:00
parent 4d13ed6f9f
commit 76f2b947f8

View File

@ -24,7 +24,7 @@
<!-- 碳服务市场 --> <!-- 碳服务市场 -->
<div class="service-card" @click="goToPage('/fwsc/fwsc')"> <div class="service-card" @click="goToPage('/fwsc/fwsc')">
<div class="service-card-icon"> <div class="service-card-icon">
<img src="@/pages/index/assets/fwsc-fwsc.png" alt="碳服务市场" /> <span style="font-size: 48px">🌐</span>
</div> </div>
<h3 class="service-card-title">碳服务市场</h3> <h3 class="service-card-title">碳服务市场</h3>
<p class="service-card-desc">汇聚全国优质第三方服务机构提供从核算到认证的全链条专业服务</p> <p class="service-card-desc">汇聚全国优质第三方服务机构提供从核算到认证的全链条专业服务</p>
@ -37,7 +37,7 @@
<!-- 碳需求市场 --> <!-- 碳需求市场 -->
<div class="service-card" @click="goToPage('/fwsc/xqsc')"> <div class="service-card" @click="goToPage('/fwsc/xqsc')">
<div class="service-card-icon"> <div class="service-card-icon">
<img src="@/pages/index/assets/fwsc-xqsc.png" alt="碳需求市场" /> <span style="font-size: 48px">📋</span>
</div> </div>
<h3 class="service-card-title">碳需求市场</h3> <h3 class="service-card-title">碳需求市场</h3>
<p class="service-card-desc">企业发布真实服务采购需求智能匹配靠谱服务商杜绝中间商差价</p> <p class="service-card-desc">企业发布真实服务采购需求智能匹配靠谱服务商杜绝中间商差价</p>
@ -50,7 +50,7 @@
<!-- 碳金融市场 --> <!-- 碳金融市场 -->
<div class="service-card" @click="goToPage('/fwsc/jrsc')"> <div class="service-card" @click="goToPage('/fwsc/jrsc')">
<div class="service-card-icon"> <div class="service-card-icon">
<img src="@/pages/index/assets/fwsc-jrsc.png" alt="碳金融市场" /> <span style="font-size: 48px">💰</span>
</div> </div>
<h3 class="service-card-title">碳金融市场</h3> <h3 class="service-card-title">碳金融市场</h3>
<p class="service-card-desc">打通"碳""钱"的通道提供碳质押碳回购绿色信贷及碳基金对接服务</p> <p class="service-card-desc">打通"碳""钱"的通道提供碳质押碳回购绿色信贷及碳基金对接服务</p>
@ -63,7 +63,7 @@
<!-- 碳数据市场 --> <!-- 碳数据市场 -->
<div class="service-card" @click="goToPage('/fwsc/sjsc')"> <div class="service-card" @click="goToPage('/fwsc/sjsc')">
<div class="service-card-icon"> <div class="service-card-icon">
<img src="@/pages/index/assets/fwsc-sjsc.png" alt="碳数据市场" /> <span style="font-size: 48px">📊</span>
</div> </div>
<h3 class="service-card-title">碳数据市场</h3> <h3 class="service-card-title">碳数据市场</h3>
<p class="service-card-desc">合规高效的碳数据流转平台包括公共数据社会性数据因子库等多类数据库</p> <p class="service-card-desc">合规高效的碳数据流转平台包括公共数据社会性数据因子库等多类数据库</p>
@ -151,11 +151,11 @@ export default {
// Banner // Banner
.banner-section { .banner-section {
display: flex; display: flex;
height: 280px;
text-align: center;
background: linear-gradient(135deg, #009a29 0%, #4caf50 100%);
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 280px;
background: linear-gradient(135deg, #009a29 0%, #4caf50 100%);
text-align: center;
} }
.banner-content { .banner-content {
@ -164,12 +164,12 @@ export default {
} }
.banner-title { .banner-title {
margin-bottom: 16px;
font-size: 48px; font-size: 48px;
font-weight: 600; font-weight: 600;
line-height: 64px; line-height: 64px;
letter-spacing: 0; letter-spacing: 0;
color: #fff; color: #fff;
margin-bottom: 16px;
} }
.banner-subtitle { .banner-subtitle {
@ -195,13 +195,13 @@ export default {
.service-card { .service-card {
display: flex; display: flex;
flex-direction: column;
padding: 32px; padding: 32px;
cursor: pointer;
background: #fff; background: #fff;
border-radius: 12px; border-radius: 12px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
cursor: pointer;
transition: all 0.3s ease; transition: all 0.3s ease;
flex-direction: column;
&:hover { &:hover {
transform: scale(1.02); transform: scale(1.02);
@ -213,6 +213,9 @@ export default {
width: 64px; width: 64px;
height: 64px; height: 64px;
margin-bottom: 20px; margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: center;
img { img {
width: 100%; width: 100%;
@ -222,21 +225,21 @@ export default {
} }
.service-card-title { .service-card-title {
margin-bottom: 12px;
font-size: 24px; font-size: 24px;
font-weight: 600; font-weight: 600;
line-height: 32px; line-height: 32px;
letter-spacing: 0; letter-spacing: 0;
color: #1a1a1a; color: #1a1a1a;
margin-bottom: 12px;
} }
.service-card-desc { .service-card-desc {
margin-bottom: 24px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 22px; line-height: 22px;
letter-spacing: 0; letter-spacing: 0;
color: #666; color: #666;
margin-bottom: 24px;
flex-grow: 1; flex-grow: 1;
} }