Skip to content

Commit 7d1418d

Browse files
committed
doc: update baner
1 parent 3653f37 commit 7d1418d

File tree

1 file changed

+48
-21
lines changed

1 file changed

+48
-21
lines changed

site/src/components/surelyVue.vue

+48-21
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
11
<template>
2-
<a href="https://www.surely.cool/" target="_blank">
3-
<div :class="cls">
4-
<div class="logo">
5-
<img height="80" src="https://www.surely.cool/surely-vue-logo.png" alt="" />
6-
</div>
7-
<div class="desc">
8-
<div class="title">Surely Vue</div>
9-
<div class="sub-title">
10-
构建更快的网站
11-
<br />
12-
更快的构建网站
2+
<div class="container">
3+
<a-carousel autoplay>
4+
<a style="display: inline-block" href="https://form.antdv.com/" target="_blank">
5+
<div :class="cls">
6+
<div class="logo">
7+
<img height="80" src="https://aliyuncdn.antdv.com/form/static/logo-blue.png" alt="" />
8+
</div>
9+
<div class="desc">
10+
<!-- <div class="title">Surely Form</div> -->
11+
<div class="sub-title">
12+
<strong>雪梨表单、为您定制</strong>
13+
<br />
14+
专属的调研,投票、NPS、报名等系统
15+
</div>
16+
</div>
1317
</div>
14-
</div>
15-
</div>
16-
</a>
18+
</a>
19+
<a style="display: inline-block" href="https://www.surely.cool/" target="_blank">
20+
<div :class="cls">
21+
<div class="logo">
22+
<img height="80" src="https://www.surely.cool/surely-vue-logo.png" alt="" />
23+
</div>
24+
<div class="desc">
25+
<div class="title">Surely Table</div>
26+
<div class="sub-title">
27+
构建更快的网站
28+
<br />
29+
更快的构建网站
30+
</div>
31+
</div>
32+
</div>
33+
</a>
34+
</a-carousel>
35+
</div>
1736
<div class="placeholder"></div>
1837
</template>
1938
<script lang="ts">
@@ -34,25 +53,33 @@ export default defineComponent({
3453
});
3554
</script>
3655
<style scoped>
37-
.wrap {
38-
display: flex;
39-
background-color: #f4f8fa;
40-
padding: 0px 30px;
41-
box-sizing: border-box;
56+
.container {
4257
position: absolute;
4358
top: 0;
4459
left: 0;
4560
z-index: 9;
4661
width: 100%;
4762
height: 100px;
63+
}
64+
.wrap {
65+
display: flex;
66+
background-color: #f4f8fa;
67+
padding: 8px 16px;
68+
width: 100%;
69+
height: 100px;
4870
overflow: hidden;
71+
}
72+
.logo {
73+
width: 80px;
74+
display: flex;
4975
align-items: center;
76+
justify-content: center;
5077
}
5178
.placeholder {
52-
height: 100px;
79+
height: 116px;
5380
}
5481
.desc {
55-
margin-left: 20px;
82+
margin-left: 16px;
5683
overflow: hidden;
5784
color: rgba(0, 0, 0, 0.85);
5885
font-family: Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',

0 commit comments

Comments
 (0)