Skip to content

Commit

Permalink
perf: 更新小程序样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Oct 23, 2024
1 parent 29d49f6 commit 5aa464e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"dependencies": {
"@antv/g2": "^4.1.20",
"@jx3box/jx3box-comment-ui": "^1.9.9",
"@jx3box/jx3box-common": "^8.3.3",
"@jx3box/jx3box-common-ui": "^8.9.10",
"@jx3box/jx3box-data": "^3.6.2",
"@jx3box/jx3box-common": "^8.4.1",
"@jx3box/jx3box-common-ui": "^8.9.29",
"@jx3box/jx3box-data": "^3.6.9",
"@jx3box/jx3box-editor": "^2.2.15",
"@jx3box/jx3box-emotion": "^1.1.5",
"@jx3box/jx3box-facedat": "^2.6.2",
Expand Down
17 changes: 17 additions & 0 deletions src/assets/css/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ body {
.pl(20px);
.pr(20px);
}

.wechat-miniprogram {
.m-main {
padding-top: 0;
}

.m-comments{
.none;
}

.m-pet-navigation {
top: 0;
margin: 0 -20px;
width: 100%;
padding: 20px;
}
}
}
.p-common-list {
.pt(40px);
Expand Down
2 changes: 1 addition & 1 deletion src/views/body/Single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
:client="post.client"
/>
<!-- 评论 -->
<div class="m-single-content-box">
<div class="m-comments m-single-content-box">
<el-divider content-position="left">讨论</el-divider>
<Comment :id="id" category="body" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/face/Single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
:client="post.client"
/>
<!-- 评论 -->
<div class="m-single-content-box">
<div class="m-comments m-single-content-box">
<el-divider content-position="left">讨论</el-divider>
<Comment :id="id" category="face" />
</div>
Expand Down

0 comments on commit 5aa464e

Please sign in to comment.