...
|
...
|
@@ -10,8 +10,8 @@ |
|
|
<Products></Products>
|
|
|
</div>
|
|
|
<div class="share">
|
|
|
<WidgetIconBtn type="msg"></WidgetIconBtn>
|
|
|
<WidgetIconBtn type="zan"></WidgetIconBtn>
|
|
|
<WidgetIconBtn class="item" type="msg" text="100" :option="option" @click="onCommentClick"></WidgetIconBtn>
|
|
|
<WidgetIconBtn class="item" type="fav" text="100" :option="option" @click="onFavClick"></WidgetIconBtn>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -29,13 +29,23 @@ export default { |
|
|
data() {
|
|
|
return {
|
|
|
text: '很好,能抢到真的不容易!整体感觉很舒服,庆幸下手一定要快准狠!如果能够再抢到一双就更好了,下次加买很多双,很好,能抢到真的不容易!整体感觉很舒服,庆幸下手一定要快准狠!如果能够再抢到一双就更好了,下次加买很多双',
|
|
|
isLimitHeight: true
|
|
|
isLimitHeight: true,
|
|
|
option: {
|
|
|
emitName: 'click',
|
|
|
color: 'white'
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
onClick() {
|
|
|
console.log('展开');
|
|
|
this.isLimitHeight = false;
|
|
|
},
|
|
|
onCommentClick() {
|
|
|
this.$emit('on-comment-click', {});
|
|
|
},
|
|
|
onFavClick() {
|
|
|
this.$emit('on-favorite-click', {});
|
|
|
}
|
|
|
},
|
|
|
};
|
...
|
...
|
@@ -58,6 +68,8 @@ export default { |
|
|
}
|
|
|
|
|
|
.product-wrapper {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
height: 166px;
|
|
|
padding: 0 28px;
|
|
|
}
|
...
|
...
|
@@ -72,4 +84,13 @@ export default { |
|
|
.link {
|
|
|
color: #4a90e2;
|
|
|
}
|
|
|
|
|
|
.share {
|
|
|
height: 100px;
|
|
|
margin-top: 86px;
|
|
|
}
|
|
|
|
|
|
.item {
|
|
|
margin-left: 50px;
|
|
|
}
|
|
|
</style> |
...
|
...
|
|