mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
56 lines
1.1 KiB
Vue
56 lines
1.1 KiB
Vue
<template>
|
|
<div class="editor-header">
|
|
<div class="left">
|
|
<div class="menu-item">文件</div>
|
|
<div class="menu-item">编辑</div>
|
|
<div class="menu-item">设置</div>
|
|
<div class="menu-item">素材</div>
|
|
<div class="menu-item">演示</div>
|
|
<div class="menu-item">帮助</div>
|
|
</div>
|
|
|
|
<div class="right">
|
|
<div class="menu-item icon">
|
|
<GithubOutlined />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue'
|
|
import { GithubOutlined } from '@ant-design/icons-vue'
|
|
|
|
export default defineComponent({
|
|
name: 'editor-header',
|
|
components: {
|
|
GithubOutlined,
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.editor-header {
|
|
background-color: #fff;
|
|
user-select: none;
|
|
border-bottom: 1px solid $borderColor;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 10px;
|
|
}
|
|
.left, .right {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.menu-item {
|
|
font-size: 13px;
|
|
margin: 0 10px;
|
|
cursor: pointer;
|
|
|
|
&.icon {
|
|
font-size: 20px;
|
|
color: #666;
|
|
}
|
|
}
|
|
</style> |