Browse Source

doc: update baner

pull/6373/head
tangjinzhou 2 years ago
parent
commit
7d1418d9f4
  1. 45
      site/src/components/surelyVue.vue

45
site/src/components/surelyVue.vue

@ -1,11 +1,28 @@
<template> <template>
<a href="https://www.surely.cool/" target="_blank"> <div class="container">
<a-carousel autoplay>
<a style="display: inline-block" href="https://form.antdv.com/" target="_blank">
<div :class="cls">
<div class="logo">
<img height="80" src="https://aliyuncdn.antdv.com/form/static/logo-blue.png" alt="" />
</div>
<div class="desc">
<!-- <div class="title">Surely Form</div> -->
<div class="sub-title">
<strong>雪梨表单为您定制</strong>
<br />
专属的调研投票NPS报名等系统
</div>
</div>
</div>
</a>
<a style="display: inline-block" href="https://www.surely.cool/" target="_blank">
<div :class="cls"> <div :class="cls">
<div class="logo"> <div class="logo">
<img height="80" src="https://www.surely.cool/surely-vue-logo.png" alt="" /> <img height="80" src="https://www.surely.cool/surely-vue-logo.png" alt="" />
</div> </div>
<div class="desc"> <div class="desc">
<div class="title">Surely Vue</div> <div class="title">Surely Table</div>
<div class="sub-title"> <div class="sub-title">
构建更快的网站 构建更快的网站
<br /> <br />
@ -14,6 +31,8 @@
</div> </div>
</div> </div>
</a> </a>
</a-carousel>
</div>
<div class="placeholder"></div> <div class="placeholder"></div>
</template> </template>
<script lang="ts"> <script lang="ts">
@ -34,25 +53,33 @@ export default defineComponent({
}); });
</script> </script>
<style scoped> <style scoped>
.wrap { .container {
display: flex;
background-color: #f4f8fa;
padding: 0px 30px;
box-sizing: border-box;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
z-index: 9; z-index: 9;
width: 100%; width: 100%;
height: 100px; height: 100px;
}
.wrap {
display: flex;
background-color: #f4f8fa;
padding: 8px 16px;
width: 100%;
height: 100px;
overflow: hidden; overflow: hidden;
}
.logo {
width: 80px;
display: flex;
align-items: center; align-items: center;
justify-content: center;
} }
.placeholder { .placeholder {
height: 100px; height: 116px;
} }
.desc { .desc {
margin-left: 20px; margin-left: 16px;
overflow: hidden; overflow: hidden;
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
font-family: Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', font-family: Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',

Loading…
Cancel
Save