Skip to content

Commit

Permalink
Merge pull request #260 from MarleneJiang/revert-258-issue-257-数据表结构优化
Browse files Browse the repository at this point in the history
Revert "优化标签栏"
  • Loading branch information
MarleneJiang authored Feb 17, 2023
2 parents 0b9c4dc + 5531e56 commit e2ef915
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autoDeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ jobs:
pm2 delete cms # 删除旧的进程
sed -i 's/\r//' start.sh # 将start.sh中的\r替换为空,解决换行符问题
pm2 start start.sh --name cms # 启动新的进程
pm2 save # 保存配置
pm2 save # 保存配置
Binary file modified backend/.tmp/data.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2023-02-17T05:00:15.539Z"
"x-generation-date": "2023-02-14T15:56:25.705Z"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/ArticlesList/Item/Ads.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const ad = inject<IArticleAd>('ads')
</script>

<template>
<li>
<li class="relative">
<ArticlesListUiLink :to="ad?.url">
<div class="flex-1 overflow-hidden">
<ArticlesListItemBarTop
Expand Down
7 changes: 2 additions & 5 deletions frontend/components/ArticlesList/Item/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const hideHandler = (id: string) => {
</script>

<template>
<ul ref="parent" class="list-items">
<ul ref="parent">
<ArticlesListItemAds />
<li v-for="art in artlist" :key="art.id">
<li v-for="art in artlist" :key="art.id" class="relative">
<ArticlesListUiLink class="link" :to="`/article/${art.id}`">
<div class="flex-1 truncate">
<ArticlesListItemBarTop
Expand All @@ -31,9 +31,6 @@ const hideHandler = (id: string) => {
</template>

<style scoped>
.list-items{
position: inherit !important;
}
li:hover .icon {
@apply block
}
Expand Down
7 changes: 2 additions & 5 deletions frontend/components/ArticlesList/Navigation/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const routeMap = {
</script>

<template>
<div class="select">
<div class="z-9 relative">
<div class="drop-down">
<div class="dropdown-toggle" @click="isShow = !isShow">
{{ routeMap[String(route.query.sort)] }}
Expand All @@ -28,9 +28,6 @@ const routeMap = {
</template>

<style scoped>
.select{
position: relative;
}
.drop-down {
@apply absolute top-1/2 left-0 text-jj-gray-drop-normal min-w-[4rem] -translate-y-1/2
}
Expand All @@ -44,7 +41,7 @@ const routeMap = {
}
.dropdown-menu {
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
@apply text-left bg-white border border-[#ebebeb] absolute box-border top-[105%] left-0 z-1 min-w-[7rem] text-[1rem] rounded-[0.17rem]
@apply text-left bg-white border border-[#ebebeb] absolute box-border top-[105%] left-0 z-1000 min-w-[7rem] text-[1rem] rounded-[0.17rem]
@apply dark:(b-jj-gray-container-normal bg-jj_bg_gray)
}
.dropdown-menu li {
Expand Down

1 comment on commit e2ef915

@vercel
Copy link

@vercel vercel bot commented on e2ef915 Feb 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.