File tree Expand file tree Collapse file tree 4 files changed +23
-14
lines changed
Expand file tree Collapse file tree 4 files changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,9 @@ export default {
7575 state .MESSAGE .NEW_UNREAD_COUNT [' news-comment-pinned' ] +
7676 state .MESSAGE .NEW_UNREAD_COUNT [' post-comment-pinned' ] +
7777 state .MESSAGE .NEW_UNREAD_COUNT [' post-pinned' ] +
78- state .MESSAGE .NEW_UNREAD_COUNT .system >
79- 0 ,
78+ state .MESSAGE .NEW_UNREAD_COUNT .system > 0 ,
8079 profile : state =>
81- state .MESSAGE .NEW_UNREAD_COUNT .following +
82- state .MESSAGE .NEW_UNREAD_COUNT .mutual >
83- 0 ,
80+ state .MESSAGE .NEW_UNREAD_COUNT .following > 0 ,
8481 }),
8582 ... mapGetters ([' hasUnreadChat' ]),
8683 hasMsg () {
Original file line number Diff line number Diff line change 55 :class =" classes"
66 >
77 <slot />
8- <sup v-show = " badge " :class =" dotClasses" />
8+ <sup :class =" dotClasses" />
99 </span >
1010 <span
1111 v-else
@@ -122,7 +122,7 @@ export default {
122122 position : absolute ;
123123 transform : translateX (-50% );
124124 transform-origin : 0 center ;
125- top : -3 px ; /* no */
125+ top : 2 px ; /* no */
126126 right : -6px ; /* no */
127127 height : 6px ; /* no */
128128 width : 6px ; /* no */
Original file line number Diff line number Diff line change 33 <header class =" m-box m-head-top m-lim-width m-pos-f m-main m-bb1" >
44 <ul class =" m-box m-flex-grow1 m-aln-center m-justify-center m-flex-base0 m-head-nav" >
55 <RouterLink
6+ class =" link-item"
67 tag =" li"
78 :to =" {name: 'MessageHome'}"
89 replace
1314 </VBadge >
1415 </RouterLink >
1516 <RouterLink
17+ class =" link-item"
1618 tag =" li"
1719 :to =" {name: 'ChatList'}"
1820 replace
@@ -58,3 +60,19 @@ export default {
5860 },
5961}
6062 </script >
63+
64+ <style lang="less" scoped>
65+ .p-message-base {
66+ .link-item {
67+ position : relative ;
68+
69+ a {
70+ display : flex ;
71+ justify-content : center ;
72+ align-items : center ;
73+ width : 2.3em ;
74+ height : 1.5em ;
75+ }
76+ }
77+ }
78+ </style >
Original file line number Diff line number Diff line change @@ -116,13 +116,7 @@ export default {
116116 return this .newMsg .liked || 0
117117 },
118118 aCount () {
119- return (
120- ~~ this .newMsg [' feed-comment-pinned' ] +
121- ~~ this .newMsg [' news-comment-pinned' ] +
122- ~~ this .newMsg [' post-comment-pinned' ] +
123- ~~ this .newMsg [' post-pinned' ] +
124- ~~ this .newMsg [' group-join-pinned' ]
125- )
119+ return 0
126120 },
127121 },
128122 methods: {
You can’t perform that action at this time.
0 commit comments