You've already forked SmartisanNote.Remake
调整了编辑器的样式;
调整了头部的按钮;
This commit is contained in:
@@ -12,7 +12,16 @@
|
||||
</div>
|
||||
|
||||
<!-- 右侧操作按钮 -->
|
||||
<!-- 新建便签 -->
|
||||
<img v-if="actionIcon === 'create'" class="image_4" src="/assets/icons/drawable-xxhdpi/btn_create.png" @click="handleAction" />
|
||||
|
||||
<div v-else-if="actionIcon === 'save'" class="code-fun-flex-row code-fun-items-center right-group">
|
||||
<!-- 插入图片 -->
|
||||
<img class="image_4" src="/assets/icons/drawable-xxhdpi/btn_pic.png" @click="handleAction" />
|
||||
<!-- 保存便签 -->
|
||||
<img class="image_4" src="/assets/icons/drawable-xxhdpi/btn_save_notes.png" @click="handleAction" />
|
||||
</div>
|
||||
<!-- 占位符 -->
|
||||
<div v-else class="image_4-placeholder"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -24,7 +33,7 @@ import { ref, computed } from 'vue'
|
||||
const props = defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
required: true,
|
||||
default: '',
|
||||
},
|
||||
onBack: {
|
||||
type: Function,
|
||||
@@ -131,6 +140,8 @@ const handleTitlePress = () => {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: -2.8rem;
|
||||
position: relative;
|
||||
.inner {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -139,14 +150,17 @@ const handleTitlePress = () => {
|
||||
}
|
||||
.left-icon,
|
||||
.image_4 {
|
||||
width: 1.7rem;
|
||||
height: 1.7rem;
|
||||
width: 1.8rem;
|
||||
height: 1.8rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.right-group {
|
||||
gap: .6rem;
|
||||
}
|
||||
|
||||
.image_4-placeholder {
|
||||
width: 1.7rem;
|
||||
height: 1.7rem;
|
||||
width: 1.8rem;
|
||||
height: 1.8rem;
|
||||
}
|
||||
|
||||
.title-container {
|
||||
|
||||
Reference in New Issue
Block a user