Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-04-21 18:04:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
95a3bc9fefe33ec00611090f8d555fc902c1024b
95a3bc9f
1 parent
85db7b55
✨ feat(组件): 新增跳转我的页面组件
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
src/assets/images/me.png
src/components/ToMe/index.vue
src/assets/images/me.png
0 → 100644
View file @
95a3bc9
2.01 KB
src/components/ToMe/index.vue
0 → 100644
View file @
95a3bc9
<template>
<div @click="handle">
<img
class="icon-me"
referrerpolicy="no-referrer"
:src="icon_me"
/>
</div>
</template>
<script setup>
import icon_me from '@images/me.png'
import { ref, reactive, onMounted } from 'vue'
const props = defineProps({
type: String
})
const emit = defineEmits(['on-click']);
const handle = () => {
emit('on-click', '')
}
onMounted(() => {
})
</script>
<script>
export default {
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
.icon-me {
z-index: 169;
position: fixed;
right: 2rem;
bottom: 10rem;
width: 44px;
height: 44px;
}
</style>
\ No newline at end of file
Please
register
or
login
to post a comment