Skip to content

Commit

Permalink
perf: 杂项优化
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Dec 26, 2023
1 parent e1400ce commit 03e4211
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"update": "npm --registry https://registry.npmjs.org install @jx3box/jx3box-common-ui@latest @jx3box/jx3box-common@latest @jx3box/jx3box-data@latest @jx3box/jx3box-macro@latest @jx3box/jx3box-talent@latest @jx3box/jx3box-talent2@latest @jx3box/jx3box-dict@latest @jx3box/jx3box-comment-ui@latest @jx3box/jx3box-editor@latest"
},
"dependencies": {
"@jx3box/jx3box-comment-ui": "^1.8.1",
"@jx3box/jx3box-common": "^8.1.3",
"@jx3box/jx3box-common-ui": "^8.0.12",
"@jx3box/jx3box-comment-ui": "^1.8.2",
"@jx3box/jx3box-common": "^8.1.4",
"@jx3box/jx3box-common-ui": "^8.0.15",
"@jx3box/jx3box-data": "^3.5.6",
"@jx3box/jx3box-dict": "^2.2.0",
"@jx3box/jx3box-editor": "^2.0.9",
"@jx3box/jx3box-editor": "^2.1.0",
"@jx3box/jx3box-macro": "^1.0.1",
"@jx3box/jx3box-talent": "^1.2.7",
"@jx3box/jx3box-talent2": "^1.5.7",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/list.less
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@
flex-direction: column;
gap: 5px;
.el-button {
.ml(0);
.ml(0) !important;
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/assets/css/rank.less
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@
transform: scale(0.75);
}
}
@media screen and (max-width: @phone) {
.m-macro-rank-mini {
.none;
}
}
// @media screen and (max-width: @phone) {
// .m-macro-rank-mini {
// .none;
// }
// }

.m-macro-rank {
.u-trending {
Expand Down
12 changes: 6 additions & 6 deletions src/assets/css/side.less
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@

}

@media screen and (max-width: @phone) {
.m-side-rank,
.m-side-links {
.none;
}
}
// @media screen and (max-width: @phone) {
// .m-side-rank,
// .m-side-links {
// .none;
// }
// }
12 changes: 6 additions & 6 deletions src/layout/ListLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<tabs />
<router-view />
</div>
<RightSidebar class="m-macro-right-side">
<RightSidebar class="m-macro-right-side" :showToggle="true">
<Side class="m-extend" />
</RightSidebar>
<Footer></Footer>
Expand Down Expand Up @@ -50,10 +50,10 @@ export default {
</script>

<style lang="less">
.m-macro-right-side {
&.c-sidebar-right.is-close {
transform: translateX(0) !important;
}
}
//.m-macro-right-side {
//&.c-sidebar-right.is-close {
//transform: translateX(0) !important;
//}
//}
@import "~@/assets/css/list.less";
</style>

0 comments on commit 03e4211

Please sign in to comment.