From e858c7be61af7f22dbce4f3d241fab3812a33fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8B=BE=E5=A3=B9?= <10942926+linzh1@user.noreply.gitee.com> Date: Tue, 19 Sep 2023 10:59:19 +0800 Subject: [PATCH] lzh --- src/assets/css/global.less | 55 +++++ src/components/Crumb.vue | 11 + src/components/home/List.vue | 15 +- src/main.js | 1 + src/request/api.js | 1 + src/router/index.js | 4 + src/views/Detail.vue | 428 +++++++++++++++++++++++++++++++++++ 7 files changed, 512 insertions(+), 3 deletions(-) create mode 100644 src/assets/css/global.less create mode 100644 src/components/Crumb.vue create mode 100644 src/views/Detail.vue diff --git a/src/assets/css/global.less b/src/assets/css/global.less new file mode 100644 index 0000000..d5c82cf --- /dev/null +++ b/src/assets/css/global.less @@ -0,0 +1,55 @@ +@base-color:#0a328e; + +.wrap{ + width: 1200px; + margin: 0 auto; +} + +input{ + outline: none; + padding: 0; +} + +// 原子类 +.mb20{ + margin-bottom: 20px; +} + +@font-face { + font-family: "iconfont"; /* Project id 2730880 */ + src: url('//at.alicdn.com/t/font_2730880_ylrio3ahhx.woff2?t=1628774839169') format('woff2'), + url('//at.alicdn.com/t/font_2730880_ylrio3ahhx.woff?t=1628774839169') format('woff'), + url('//at.alicdn.com/t/font_2730880_ylrio3ahhx.ttf?t=1628774839169') format('truetype'); +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-yduifuxuankuangxuanzhong:before { + content: "\e685"; +} + +.icon-yduifuxuankuang:before { + content: "\e686"; +} + +.icon-loading:before { + content: "\e722"; +} + +.icon-toast-shibai_huaban:before { + content: "\e635"; +} + +.icon-toast-jinggao:before { + content: "\e621"; +} + +.icon-toast_chenggong:before { + content: "\ea0a"; +} diff --git a/src/components/Crumb.vue b/src/components/Crumb.vue new file mode 100644 index 0000000..c94a1a5 --- /dev/null +++ b/src/components/Crumb.vue @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/src/components/home/List.vue b/src/components/home/List.vue index a14a034..c860749 100644 --- a/src/components/home/List.vue +++ b/src/components/home/List.vue @@ -1,8 +1,8 @@ \ No newline at end of file -- Gitee