Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 3e7c2e8

Browse files
committed
通知栏溢出修复
1 parent 7b89edd commit 3e7c2e8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ API来自于[cnode社区](https://cnodejs.org/api)
1010

1111
![](./img/show.jpg)
1212

13+
1314
线上版本更新日志
14-
v0.0.6 修复部分图标路径问题、滚动防抖bug修复
15+
16+
v0.0.6 修复部分图标路径问题、滚动防抖bug修复、通知栏目溢出修复
1517

1618
v0.0.5 修复帖子详情滑动卡顿问题 首页栏目切换动画修复 部分图标修复
1719

src/pages/notice/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@
2626
<script>
2727
import { api } from "../../const";
2828
import login from "../../components/login";
29-
import card from "../../components/card";
3029
import { passTime } from "../../utils/index";
3130
export default {
3231
components: {
33-
card,
3432
login
3533
},
3634
data() {
@@ -125,6 +123,7 @@ export default {
125123
<style lang='scss' scoped>
126124
.container {
127125
background-color: rgb(245, 245, 249);
126+
width: 100vw;
128127
.body {
129128
display: flex;
130129
flex-direction: column;
@@ -144,6 +143,8 @@ export default {
144143
border-left: 4rpx solid $color;
145144
padding-left: 10rpx;
146145
margin: 10rpx 0;
146+
overflow: hidden;
147+
text-overflow: ellipsis;
147148
}
148149
}
149150
.read-all {

0 commit comments

Comments
 (0)