-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
226 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<template> | ||
<div> | ||
<el-page-header class="publish-header" :icon="ArrowLeft" title="返回" @click="onBack"> | ||
<template #content> | ||
<div class="flex items-center"> | ||
<span class="text-large font-600 mr-3"> {{ props.publishData.title }} - 文章发布 </span> | ||
</div> | ||
</template> | ||
</el-page-header> | ||
|
||
<publish-service :page-id="props.publishData.postid"/> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import {ArrowLeft} from '@element-plus/icons-vue' | ||
import PublishService from "../../../../components/PublishService.vue"; | ||
import {Post} from "../../../../lib/common/post"; | ||
const props = defineProps({ | ||
publishData: { | ||
type: Post, | ||
default: new Post() | ||
} | ||
}) | ||
const emit = defineEmits<{ | ||
(e: 'on-change'): void | ||
}>() | ||
const onBack = () => { | ||
emit("on-change"); | ||
} | ||
</script> | ||
|
||
<script lang="ts"> | ||
export default { | ||
name: "DefaultPublish" | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.publish-header{ | ||
margin-bottom: 16px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.