From eb9ffdf27b89aa1816f777d50c66afcf9b4cf361 Mon Sep 17 00:00:00 2001 From: simple321vip Date: Sun, 10 Apr 2022 20:41:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E6=A8=A1=E5=9D=97=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=9F=BA=E6=9C=AC=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/school/NavTab.vue | 58 ++++++++++++ .../layout => view/school}/PageTab.vue | 4 +- .../layout => view/school}/SectionTab.vue | 0 src/view/school/index.vue | 92 ++++++++++++------- 4 files changed, 118 insertions(+), 36 deletions(-) create mode 100644 src/view/school/NavTab.vue rename src/{components/layout => view/school}/PageTab.vue (97%) rename src/{components/layout => view/school}/SectionTab.vue (100%) 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; +} +