Browse Source

doc: update baner

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

69
site/src/components/surelyVue.vue

@ -1,19 +1,38 @@
<template> <template>
<a href="https://www.surely.cool/" target="_blank"> <div class="container">
<div :class="cls"> <a-carousel autoplay>
<div class="logo"> <a style="display: inline-block" href="https://form.antdv.com/" target="_blank">
<img height="80" src="https://www.surely.cool/surely-vue-logo.png" alt="" /> <div :class="cls">
</div> <div class="logo">
<div class="desc"> <img height="80" src="https://aliyuncdn.antdv.com/form/static/logo-blue.png" alt="" />
<div class="title">Surely Vue</div> </div>
<div class="sub-title"> <div class="desc">
构建更快的网站 <!-- <div class="title">Surely Form</div> -->
<br /> <div class="sub-title">
更快的构建网站 <strong>雪梨表单为您定制</strong>
<br />
专属的调研投票NPS报名等系统
</div>
</div>
</div> </div>
</div> </a>
</div> <a style="display: inline-block" href="https://www.surely.cool/" target="_blank">
</a> <div :class="cls">
<div class="logo">
<img height="80" src="https://www.surely.cool/surely-vue-logo.png" alt="" />
</div>
<div class="desc">
<div class="title">Surely Table</div>
<div class="sub-title">
构建更快的网站
<br />
更快的构建网站
</div>
</div>
</div>
</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