...
|
...
|
@@ -3,15 +3,9 @@ |
|
|
<div class="footer-wrapper-content">
|
|
|
<slot name="before"></slot>
|
|
|
<div class="tool-bar">
|
|
|
<div class="tool-icon">
|
|
|
<WidgetIconBtn ref="favIcon" class="item" type="fav" :pos-id="sceneId" :text="praiseCount" :articleId="articleId" :option="optionPraise" :share="share"></WidgetIconBtn>
|
|
|
</div>
|
|
|
<div class="tool-icon">
|
|
|
<WidgetIconBtn class="item" type="star" :pos-id="sceneId" :text="favoriteCount" :articleId="articleId" :option="optionFav" :share="share"></WidgetIconBtn>
|
|
|
</div>
|
|
|
<div class="tool-icon">
|
|
|
<WidgetIconBtn class="item" type="msg" :text="commentCount" :option="optionComment" :share="share" @click="onComment"></WidgetIconBtn>
|
|
|
</div>
|
|
|
<WidgetIconBtn ref="favIcon" class="item" type="fav" :pos-id="sceneId" :text="praiseCount" :articleId="articleId" :option="optionPraise" :share="share"></WidgetIconBtn>
|
|
|
<WidgetIconBtn class="item" type="star" :pos-id="sceneId" :text="favoriteCount" :articleId="articleId" :option="optionFav" :share="share"></WidgetIconBtn>
|
|
|
<WidgetIconBtn class="item" type="msg" :text="commentCount" :option="optionComment" :share="share" @click="onComment"></WidgetIconBtn>
|
|
|
</div>
|
|
|
<slot name="after">
|
|
|
<div class="close ml20" @click="onClose">收起</div>
|
...
|
...
|
@@ -100,19 +94,11 @@ export default { |
|
|
.tool-bar {
|
|
|
flex: 1;
|
|
|
display: flex;
|
|
|
align-items: stretch;
|
|
|
align-items: center;
|
|
|
justify-content: space-around;
|
|
|
|
|
|
.tool-icon {
|
|
|
/deep/ .icon-btn-text {
|
|
|
width: 0;
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
|
|
|
.item {
|
|
|
position: absolute;
|
|
|
transform: translate3d(-50%, 0px, 0px);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|