aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/views/index/Notepad/index.vue
diff options
context:
space:
mode:
authorLofiSu <163713803+LofiSu@users.noreply.github.com>2025-01-26 12:07:43 +0800
committerGitHub <noreply@github.com>2025-01-26 12:07:43 +0800
commitf682d264df77d58620991e53eefabbef436d2179 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/views/index/Notepad/index.vue
parentd4d7fac39528b978b742420a3cb4e91cea6f5834 (diff)
downloadHydroRollSite-f682d264df77d58620991e53eefabbef436d2179.tar.gz
HydroRollSite-f682d264df77d58620991e53eefabbef436d2179.zip
重构
Diffstat (limited to 'src/views/index/Notepad/index.vue')
-rw-r--r--src/views/index/Notepad/index.vue55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/views/index/Notepad/index.vue b/src/views/index/Notepad/index.vue
deleted file mode 100644
index 4dcde33..0000000
--- a/src/views/index/Notepad/index.vue
+++ /dev/null
@@ -1,55 +0,0 @@
-<script lang="ts">
-import { NotepadContent } from "@/views/index/Notepad/type";
-
-export default {
- props: {
- content: {
- type: NotepadContent,
- require: true,
- default: new NotepadContent(),
- },
- },
-}
-</script>
-
-
-<template>
- <div class="details" style="height:100%">
- <h3>
- {{ content.title }}
- </h3>
- <div class="content">
- <v-md-preview :text="content.message"></v-md-preview>
- </div>
- </div>
-</template>
-
-
-<style scoped>
-
-.details {
- flex: 1;
- float: right;
- height: 100%;
- padding: 0 10dvw;
-}
-
-h3 {
- font-size: 1.5rem;
- font-weight: 500;
- margin-bottom: 0.4rem;
- color: var(--color-heading);
-}
-
-.content {
- overflow-x: auto;
-}
-
-@media screen and (orientation:landscape) {
- .details {
- flex: 1;
- width: 32dvw;
- padding: 0;
- }
-}
-</style>