diff --git a/src/view/school/NavTab.vue b/src/view/school/NavTab.vue new file mode 100644 index 0000000..dee4d53 --- /dev/null +++ b/src/view/school/NavTab.vue @@ -0,0 +1,58 @@ + + + + + \ No newline at end of file diff --git a/src/components/layout/PageTab.vue b/src/view/school/PageTab.vue similarity index 97% rename from src/components/layout/PageTab.vue rename to src/view/school/PageTab.vue index ee5161b..0f3bc8e 100644 --- a/src/components/layout/PageTab.vue +++ b/src/view/school/PageTab.vue @@ -24,7 +24,7 @@ import { reactive, ref, watch } from 'vue' import { update_page } from '../../api/onenote' type Props = { - row_key: number, + row_key: string, checked: boolean, page_data: any } @@ -47,7 +47,7 @@ if (props.checked) { back_color.value = "background-color: #d0d0d0;" prex_back_color.value = "background-color: blueviolet;" } -const editPage = (row_key: number) => { +const editPage = (row_key: string) => { is_edit.value = !is_edit.value const inputt: any = document.getElementById("input_edit" + row_key) setTimeout(() => inputt.focus()) diff --git a/src/components/layout/SectionTab.vue b/src/view/school/SectionTab.vue similarity index 100% rename from src/components/layout/SectionTab.vue rename to src/view/school/SectionTab.vue diff --git a/src/view/school/index.vue b/src/view/school/index.vue index d2830c7..f715f8f 100644 --- a/src/view/school/index.vue +++ b/src/view/school/index.vue @@ -1,11 +1,15 @@ - \ No newline at end of file + +.common_box { + background-color: white; + + border-right-width: 1px; + border-right-style: solid; + border-right-color: antiquewhite; +} +.plus_button { + border-top: 1px solid antiquewhite; + border-bottom: 1px solid antiquewhite; + border-left: 0px solid antiquewhite; + border-right: 0px solid antiquewhite; + border-radius: 0px; +} +