From d311f4c48f4f78d06c4e074e085fa7b7cfb20b67 Mon Sep 17 00:00:00 2001 From: cgd_mac <349008059@qq.com> Date: Fri, 7 Jan 2022 17:42:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=88=91=E7=9A=84=E7=BB=83=E4=B9=A0UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 13 -- src/components/DbQuestionInfoItem/index.vue | 129 ++++++++++++++++++ src/global.less | 15 ++ src/views/mycollection/index.vue | 57 ++++++++ src/views/mycourse/index.vue | 2 +- .../mycourseList/CourseRecommendation.vue | 7 +- .../mycourse/mycourseList/MyCourseList.vue | 2 +- src/views/mypractice/index.vue | 92 +++++++++++++ 8 files changed, 301 insertions(+), 16 deletions(-) create mode 100644 src/components/DbQuestionInfoItem/index.vue create mode 100644 src/views/mycollection/index.vue create mode 100644 src/views/mypractice/index.vue diff --git a/src/App.vue b/src/App.vue index 7fb84a0..99aa106 100644 --- a/src/App.vue +++ b/src/App.vue @@ -48,17 +48,4 @@ export default { justify-content: center; } -.flex-center{ - display: flex; - align-items: center; - justify-content: center; -} - -.justify-between{ - justify-content: space-between; -} - -.nowrap{ - white-space: nowrap; -} diff --git a/src/components/DbQuestionInfoItem/index.vue b/src/components/DbQuestionInfoItem/index.vue new file mode 100644 index 0000000..60fc4e9 --- /dev/null +++ b/src/components/DbQuestionInfoItem/index.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/src/global.less b/src/global.less index 64d5981..368c942 100644 --- a/src/global.less +++ b/src/global.less @@ -120,3 +120,18 @@ ol { .margin-top { margin-top: 15px; } + + +.flex-center{ + display: flex; + align-items: center; + justify-content: center; +} + +.justify-between{ + justify-content: space-between; +} + +.nowrap{ + white-space: nowrap; +} diff --git a/src/views/mycollection/index.vue b/src/views/mycollection/index.vue new file mode 100644 index 0000000..8c2f4f2 --- /dev/null +++ b/src/views/mycollection/index.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/src/views/mycourse/index.vue b/src/views/mycourse/index.vue index 59fec04..21163a5 100644 --- a/src/views/mycourse/index.vue +++ b/src/views/mycourse/index.vue @@ -1,5 +1,5 @@ + +