mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
perf: 一些样式优化和形状补充
This commit is contained in:
parent
87c9a2996e
commit
ef1876869c
@ -48,6 +48,15 @@ export default defineComponent({
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: '#';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.input-content {
|
.input-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -49,6 +49,10 @@ export const SHAPE_LIST = [
|
|||||||
viewBox: 200,
|
viewBox: 200,
|
||||||
path: 'M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z'
|
path: 'M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
viewBox: 200,
|
||||||
|
path: 'M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
viewBox: 200,
|
viewBox: 200,
|
||||||
path: 'M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z'
|
path: 'M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z'
|
||||||
@ -173,6 +177,14 @@ export const SHAPE_LIST = [
|
|||||||
viewBox: 200,
|
viewBox: 200,
|
||||||
path: 'M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z'
|
path: 'M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
viewBox: 200,
|
||||||
|
path: 'M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
viewBox: 200,
|
||||||
|
path: 'M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -109,6 +109,7 @@ export default defineComponent({
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
<div class="menu-item"><IconHelpcenter /> <span class="text">帮助</span></div>
|
<div class="menu-item"><IconHelpcenter /> <span class="text">帮助</span></div>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<Menu>
|
<Menu>
|
||||||
|
<MenuItem @click="goIssues()">意见反馈</MenuItem>
|
||||||
<MenuItem @click="hotkeyDrawerVisible = true">快捷键</MenuItem>
|
<MenuItem @click="hotkeyDrawerVisible = true">快捷键</MenuItem>
|
||||||
</Menu>
|
</Menu>
|
||||||
</template>
|
</template>
|
||||||
@ -98,6 +99,10 @@ export default defineComponent({
|
|||||||
const hotkeyDrawerVisible = ref(false)
|
const hotkeyDrawerVisible = ref(false)
|
||||||
const exportDialogVisible = ref(false)
|
const exportDialogVisible = ref(false)
|
||||||
|
|
||||||
|
const goIssues = () => {
|
||||||
|
window.open('https://github.com/pipipi-pikachu/PPTist/issues')
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
enterScreening,
|
enterScreening,
|
||||||
enterScreeningFromStart,
|
enterScreeningFromStart,
|
||||||
@ -110,6 +115,7 @@ export default defineComponent({
|
|||||||
resetSlides,
|
resetSlides,
|
||||||
hotkeyDrawerVisible,
|
hotkeyDrawerVisible,
|
||||||
exportDialogVisible,
|
exportDialogVisible,
|
||||||
|
goIssues,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user