Merge branch 'feature/0813/yuany' of git.yoho.cn:fe/yoho-community-web into feature/0813/yuany
Showing
3 changed files
with
4 additions
and
3 deletions
@@ -4,6 +4,7 @@ import {createNamespacedHelpers} from 'vuex'; | @@ -4,6 +4,7 @@ import {createNamespacedHelpers} from 'vuex'; | ||
4 | import YAS from 'utils/yas-constants'; | 4 | import YAS from 'utils/yas-constants'; |
5 | 5 | ||
6 | const {mapActions: articleMapActions, mapMutations: articleMapMutations, mapState: articleMapState} = createNamespacedHelpers('article'); | 6 | const {mapActions: articleMapActions, mapMutations: articleMapMutations, mapState: articleMapState} = createNamespacedHelpers('article'); |
7 | +const {mapActions: commentMapActions} = createNamespacedHelpers('comment'); | ||
7 | 8 | ||
8 | export default { | 9 | export default { |
9 | name: 'CommentPlaceholder', | 10 | name: 'CommentPlaceholder', |
@@ -45,6 +46,7 @@ export default { | @@ -45,6 +46,7 @@ export default { | ||
45 | } | 46 | } |
46 | }, | 47 | }, |
47 | methods: { | 48 | methods: { |
49 | + ...commentMapActions(['postComment']), | ||
48 | ...articleMapActions(['fetchArticleUpdate']), | 50 | ...articleMapActions(['fetchArticleUpdate']), |
49 | ...articleMapMutations(['UPDATE_ARTICLE_COMMENT_COUNT', 'INIT_COMENT_INPUT']), | 51 | ...articleMapMutations(['UPDATE_ARTICLE_COMMENT_COUNT', 'INIT_COMENT_INPUT']), |
50 | async openComentInput() { | 52 | async openComentInput() { |
@@ -338,7 +338,6 @@ export default { | @@ -338,7 +338,6 @@ export default { | ||
338 | time: 1000 | 338 | time: 1000 |
339 | }).show(); | 339 | }).show(); |
340 | } | 340 | } |
341 | - | ||
342 | return list; | 341 | return list; |
343 | }, | 342 | }, |
344 | scrollTo({scrollTop}) { | 343 | scrollTo({scrollTop}) { |
@@ -565,7 +564,7 @@ export default { | @@ -565,7 +564,7 @@ export default { | ||
565 | width: 100%; | 564 | width: 100%; |
566 | position: absolute !important; | 565 | position: absolute !important; |
567 | bottom: 0; | 566 | bottom: 0; |
568 | - z-index: 10; | 567 | + z-index: 999; |
569 | transition: all 300ms; | 568 | transition: all 300ms; |
570 | 569 | ||
571 | .footer-comment { | 570 | .footer-comment { |
1 | { | 1 | { |
2 | "name": "yoho-community-web", | 2 | "name": "yoho-community-web", |
3 | - "version": "6.9.8-beta58", | 3 | + "version": "6.9.8-beta62", |
4 | "private": true, | 4 | "private": true, |
5 | "description": "A New Yohobuy Project With Express", | 5 | "description": "A New Yohobuy Project With Express", |
6 | "repository": { | 6 | "repository": { |
-
Please register or login to post a comment