2024-09-21 23:50:52 +08:00

49 lines
1.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="snow-page">
<div class="snow-inner-page" style="padding: 100px">
<div class="my-avatar">
<a-avatar :size="100">
<img alt="avatar" :src="myImage" />
</a-avatar>
<div class="my-name">
<div class="my-title">王马Verge</div>
<div class="my-local">素材投稿2547096351@qq.com</div>
</div>
</div>
<div class="btn-box">
<a-button type="outline" style="width: 100px">转发</a-button>
<a-button type="primary" style="width: 100px" color="#00aeec">关注</a-button>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import myImage from "@/assets/img/my-image.jpg";
</script>
<style lang="scss" scoped>
.my-avatar {
display: flex;
}
.my-name {
height: 100%;
margin-left: 10px;
.my-title {
font-weight: bold;
font-size: 20px;
margin-top: 15px;
}
.my-local {
margin-top: 25px;
}
}
.btn-box {
width: 220px;
display: flex;
justify-content: space-between;
margin: 20px 0 0 0;
}
</style>