Skip to content

Commit 82ef370

Browse files
committed
update home page UI
1 parent 48fef26 commit 82ef370

File tree

14 files changed

+144
-96
lines changed

14 files changed

+144
-96
lines changed

docs/.vuepress/components/CustomHero.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
class="flex min-h-220px items-center justify-center bg-gradient-to-b from-[#C7ECFF] to-[#FFF]"
44
>
55
<div
6-
class="max-w-1200px text-align-center p-t-80px p-b-60px p-x-20px box-border w-100% flex justify-between"
6+
class="max-w-1200px text-align-center p-t-55px p-b-35px p-x-20px box-border w-100% flex justify-between"
77
>
88
<div class="max-w-100%">
9-
<div class="color-black text-left text-55px font-500">即时通讯IM</div>
10-
<p class="color-black text-justify text-16px font-400">
9+
<div class="color-black text-left text-60px font-500 line-height-normal">即时通讯IM</div>
10+
<div class="color-black text-justify text-16px font-400 mt-30px line-height-24px">
1111
基于即时通讯 (Instant Messaging, IM)
1212
的高可靠性、低延时、强扩展性及高并发特性,可轻松切入即时通讯领域,为产品带来卓越沟通体验,快速增强用户粘性和市场竞争力。即时通讯
1313
IM
1414
解决方案支持丰富的消息类型、群组功能和跨平台体验,轻松构建满足不同场景需求的高效沟通平台,助力用户享受流畅便捷的交流方式。
15-
</p>
16-
<br />
17-
<p class="color-black text-justify text-16px font-400">
15+
</div>
16+
<br/>
17+
<div class="color-black text-justify text-16px font-400 line-height-24px">
1818
探索下面的综合文档,立即释放 IM 即时通讯的力量。
19-
</p>
19+
</div>
2020
</div>
2121
<div
22-
class="banner-right-wrap ml-104px flex-shrink-0 w-400px h-300px top-0 lg:block hidden bg-no-repeat bg-center bg-cover"
22+
class="banner-right-wrap ml-100px flex-shrink-0 w-440px h-330px top-0 lg:block hidden bg-no-repeat bg-center bg-cover"
2323
></div>
2424
</div>
2525
</div>

docs/.vuepress/components/HomePage.vue

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -86,28 +86,28 @@
8686
</svg>
8787
</div>
8888
<div class="tip-content">
89-
<div class="tip-title">SDK合规信息公式</div>
89+
<div class="tip-title mb-12px">SDK合规信息公式</div>
9090
<div class="tip-desc">
91-
<p class="color-#303A48">
91+
<div class="color-#303A48 mb-12px">
9292
<span class="font-600">功能介绍:</span>
9393
<span class="font-400">
9494
为开发者提供低延时、高并发、可扩展、高可靠的实时消息及状态同步网络服务。
9595
</span>
96-
</p>
97-
<p class="color-#303A48">
96+
</div>
97+
<div class="color-#303A48 mb-12px">
9898
<span class="font-600">基本信息:</span>
99-
</p>
100-
<p class="color-#303A48 font-400">
99+
</div>
100+
<div class="color-#303A48 font-400 mb-12px">
101101
【SDK 名称】实时消息
102102
SDK;【开发者】上海兆言网络科技有限公司;【版本号】见下列下载选项;【MD5
103103
值】见下列下载选项;
104-
</p>
105-
<p class="color-#303A48 font-400">
104+
</div>
105+
<div class="color-#303A48 font-400">
106106
【使用说明】
107107
<a href="#"> 《实时消息 SDK 合规使用说明》 </a
108108
>;【个人信息处理规则】
109109
<a href="#">《SDK 个人信息处理规则》 </a>
110-
</p>
110+
</div>
111111
</div>
112112
</div>
113113
</div>
@@ -303,11 +303,9 @@ const activeTab = ref(0);
303303
}
304304
305305
.main-content {
306-
box-sizing: border-box;
307306
align-self: center;
308307
width: 100%;
309308
max-width: 1200px;
310-
padding: 0 20px;
311309
position: relative;
312310
}
313311
@@ -360,11 +358,10 @@ const activeTab = ref(0);
360358
.card {
361359
background: #f8f8f8;
362360
border: 1px solid #f8f8f8;
363-
border-radius: 8px;
361+
border-radius: 20px;
364362
padding: 20px;
365363
text-align: center;
366-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
367-
transition: transform 0.2s, box-shadow 0.2s;
364+
transition: all 0.2s;
368365
}
369366
370367
.card-header {
@@ -375,8 +372,11 @@ const activeTab = ref(0);
375372
376373
.card:hover {
377374
transform: translateY(-5px);
378-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
379375
border: 1px solid #00b3ff;
376+
.btn {
377+
background: #0076e7;
378+
color: #fff;
379+
}
380380
}
381381
382382
.card img {
@@ -391,7 +391,7 @@ const activeTab = ref(0);
391391
}
392392
393393
.card p {
394-
font-size: 15px;
394+
font-size: 14px;
395395
color: #2d2d2d;
396396
text-align: left;
397397
}
@@ -407,11 +407,6 @@ const activeTab = ref(0);
407407
border-radius: 20px;
408408
}
409409
410-
.card .btn:hover {
411-
background: #0076e7;
412-
color: #fff;
413-
}
414-
415410
.table {
416411
width: 100%;
417412
border-collapse: collapse;
@@ -420,7 +415,6 @@ const activeTab = ref(0);
420415
border-radius: 8px;
421416
overflow-x: auto;
422417
display: block;
423-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
424418
}
425419
426420
.table th,
@@ -447,6 +441,7 @@ const activeTab = ref(0);
447441
background: #e6f7ff;
448442
color: #283544;
449443
border: none;
444+
font-size: 16px;
450445
}
451446
452447
.table td {
@@ -477,7 +472,7 @@ const activeTab = ref(0);
477472
.download-tip {
478473
display: flex;
479474
align-items: flex-start;
480-
padding: 16px 18px;
475+
padding: 16px 16px;
481476
background: #e6f7ff;
482477
border: 1px solid #e6f7ff;
483478
border-radius: 12px;
@@ -487,7 +482,7 @@ const activeTab = ref(0);
487482
.tip-icon {
488483
color: #1890ff;
489484
font-size: 18px;
490-
margin-right: 14px;
485+
margin-right: 12px;
491486
margin-top: 2px;
492487
}
493488
@@ -536,6 +531,7 @@ const activeTab = ref(0);
536531
.tab-btn {
537532
font-size: 20px;
538533
padding-bottom: 12px;
534+
font-weight: 600;
539535
}
540536
541537
.active {
207 KB
Loading
Lines changed: 44 additions & 3 deletions
Loading
Lines changed: 6 additions & 12 deletions
Loading
Lines changed: 5 additions & 11 deletions
Loading

0 commit comments

Comments
 (0)