From 4e6c619abb97936fe17b3664c46c4222fdfd8846 Mon Sep 17 00:00:00 2001 From: EddieMa Date: Wed, 20 May 2020 11:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9E=E5=AE=9A=20Account=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=20HTML=20=E5=92=8C=20CSS=EF=BC=8C=20?= =?UTF-8?q?=E5=B9=B6=E9=A2=9D=E5=A4=96=E5=86=99=E4=BA=86=20reset.css,=20he?= =?UTF-8?q?lper.css=20body=20=E5=85=A8=E5=B1=80=E5=B1=9E=E6=80=A7=EF=BC=8C?= =?UTF-8?q?=20=E2=80=9C=E9=80=8F=E4=BC=A0=E2=80=9D=20CSS=20=E7=9A=84=20cla?= =?UTF-8?q?ss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 7 ++- src/assets/helper.scss | 16 +++++++ src/assets/reset.scss | 11 ++++- src/components/Account/Choice.vue | 61 +++++++++++++++++++++++++ src/components/Account/Note.vue | 38 ++++++++++++++++ src/components/Account/Show.vue | 37 +++++++++++++++ src/components/Account/Write.vue | 76 +++++++++++++++++++++++++++++++ src/components/Icon.vue | 29 ++++++------ src/components/Layout.vue | 10 ++-- src/components/Top.vue | 41 ++++++++++------- src/components/Type.vue | 47 +++++++++++++++++++ src/views/Account.vue | 27 ++++++++--- src/views/Label.vue | 7 ++- src/views/Statistics.vue | 7 ++- 14 files changed, 364 insertions(+), 50 deletions(-) create mode 100644 src/assets/helper.scss create mode 100644 src/components/Account/Choice.vue create mode 100644 src/components/Account/Note.vue create mode 100644 src/components/Account/Show.vue create mode 100644 src/components/Account/Write.vue create mode 100644 src/components/Type.vue diff --git a/src/App.vue b/src/App.vue index 7edaacb..18d8061 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,10 +10,13 @@ diff --git a/src/assets/helper.scss b/src/assets/helper.scss new file mode 100644 index 0000000..5e09ab7 --- /dev/null +++ b/src/assets/helper.scss @@ -0,0 +1,16 @@ +$font-hei: -apple-system, "Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif; +$font-kai: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, DFKai-SB, "TW\-Kai", serif; +$font-song: Georgia, "Nimbus Roman No9 L", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif; +$color-sky-blue:#0066cc; + +%clear-fix { + &::after { + content: ''; + clear: both; + display: none; + } +} + + + + diff --git a/src/assets/reset.scss b/src/assets/reset.scss index 5c4d647..05e1235 100644 --- a/src/assets/reset.scss +++ b/src/assets/reset.scss @@ -1,5 +1,14 @@ *{margin:0;border:0;box-sizing:border-box} + ul,ol{ list-style: none; } -a{text-decoration: none;color:inherit} \ No newline at end of file +a{text-decoration: none;color:inherit} + +:focus{ + outline: none; +} + +button,input{ + font: inherit; +} \ No newline at end of file diff --git a/src/components/Account/Choice.vue b/src/components/Account/Choice.vue new file mode 100644 index 0000000..333aa55 --- /dev/null +++ b/src/components/Account/Choice.vue @@ -0,0 +1,61 @@ + + + + + \ No newline at end of file diff --git a/src/components/Account/Note.vue b/src/components/Account/Note.vue new file mode 100644 index 0000000..a646aaa --- /dev/null +++ b/src/components/Account/Note.vue @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/src/components/Account/Show.vue b/src/components/Account/Show.vue new file mode 100644 index 0000000..bdc27ab --- /dev/null +++ b/src/components/Account/Show.vue @@ -0,0 +1,37 @@ + + + + + \ No newline at end of file diff --git a/src/components/Account/Write.vue b/src/components/Account/Write.vue new file mode 100644 index 0000000..6590111 --- /dev/null +++ b/src/components/Account/Write.vue @@ -0,0 +1,76 @@ + + + + + \ No newline at end of file diff --git a/src/components/Icon.vue b/src/components/Icon.vue index a658829..6f0b9f7 100644 --- a/src/components/Icon.vue +++ b/src/components/Icon.vue @@ -1,29 +1,28 @@ \ No newline at end of file diff --git a/src/components/Layout.vue b/src/components/Layout.vue index 9814704..6a0e78a 100644 --- a/src/components/Layout.vue +++ b/src/components/Layout.vue @@ -1,17 +1,17 @@ @@ -22,7 +22,7 @@ flex-direction:column; .content{ flex-grow:1; + overflow: auto; } } - \ No newline at end of file diff --git a/src/components/Top.vue b/src/components/Top.vue index 2c68980..4c3242f 100644 --- a/src/components/Top.vue +++ b/src/components/Top.vue @@ -1,5 +1,5 @@