Skip to content

Commit

Permalink
fix:删除创作中心页面 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
anguoo authored Feb 25, 2024
1 parent 41b6c3e commit 4a3a0b8
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 13 deletions.
14 changes: 11 additions & 3 deletions src/assets/icons/iconfont.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4414354 */
src: url('iconfont.woff2?t=1708153151921') format('woff2'),
url('iconfont.woff?t=1708153151921') format('woff'),
url('iconfont.ttf?t=1708153151921') format('truetype');
src: url('iconfont.woff2?t=1708840665400') format('woff2'),
url('iconfont.woff?t=1708840665400') format('woff'),
url('iconfont.ttf?t=1708840665400') format('truetype');
}

.iconfont {
Expand All @@ -13,6 +13,14 @@
-moz-osx-font-smoothing: grayscale;
}

.icon-guanlizhongxin-shezhi-01:before {
content: "\ea26";
}

.icon-chuangzuo:before {
content: "\e7c2";
}

.icon-sousuo:before {
content: "\e624";
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/icons/iconfont.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions src/assets/icons/iconfont.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "33906946",
"name": "管理中心-设置-01",
"font_class": "guanlizhongxin-shezhi-01",
"unicode": "ea26",
"unicode_decimal": 59942
},
{
"icon_id": "36889984",
"name": "创作",
"font_class": "chuangzuo",
"unicode": "e7c2",
"unicode_decimal": 59330
},
{
"icon_id": "1614453",
"name": "搜索",
Expand Down
Binary file modified src/assets/icons/iconfont.ttf
Binary file not shown.
Binary file modified src/assets/icons/iconfont.woff
Binary file not shown.
Binary file modified src/assets/icons/iconfont.woff2
Binary file not shown.
7 changes: 7 additions & 0 deletions src/components/navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
>
<i class="iconfont icon-shopping-cart-solid"></i>
</router-link>
<router-link
to="/manage"
class="router"
active-class="router-active"
>
<i class="iconfont icon-guanlizhongxin-shezhi-01"></i>
</router-link>
</div>
</div>
</template>
Expand Down
9 changes: 0 additions & 9 deletions src/components/popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,5 @@ const logout = () => {
color: rgb(59, 93, 155);
font-weight: 600;
}
.user:active,
.login:active,
.center:active {
div {
color: rgb(59, 93, 155);
font-weight: 600;
}
}
}
</style>
4 changes: 4 additions & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ const routes: RouteRecordRaw[] = [
{
path: '/write/modify/:postId',
component: () => import('../views/posts/modify.vue'),
},
{
path: '/manage',
component: () => import('../views/manage/manage.vue'),
}
]

Expand Down
10 changes: 10 additions & 0 deletions src/views/manage/manage.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<template>
<div>
</div>
</template>

<script setup lang="ts">
</script>

<style scoped lang="css">
</style>
2 changes: 2 additions & 0 deletions src/views/posts/posts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ const likePost = (thisPost: any) => {
flex-direction: column;
align-items: center;
.add-post {
position: absolute;
width: 150px;
Expand Down

0 comments on commit 4a3a0b8

Please sign in to comment.