Skip to content

Commit

Permalink
完成关于页面
Browse files Browse the repository at this point in the history
  • Loading branch information
suvvm committed Nov 30, 2019
1 parent 19db8b7 commit ef06d8a
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions pages/AboutUs/AboutUs.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<template>
<view>

<van-notice-bar
text="有疑问可至本人博客页联系,或手动发送邮件至作者邮箱suvvm@foxmail.com"
left-icon="volume-o"
/>
<view class="content">
<image class="sad" src="../../static/sadPanda.png"></image>
<van-button type="info" size="large" @click="toSuvvmBlog()">作者博客</van-button>
</view>
</view>
</template>

Expand All @@ -12,11 +19,25 @@
}
},
methods: {
toSuvvmBlog() {
window.location.href = 'https://www.suvvm.work/';
}
}
}
</script>

<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
}
.sad {
height: 600rpx;
width: 600rpx;
margin-top: 100rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
</style>

0 comments on commit ef06d8a

Please sign in to comment.