优化拼团与秒杀商品详情tab 修复收藏不显示问题
This commit is contained in:
@ -52,7 +52,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 操作栏 -->
|
||||
<view style="height: 100rpx"></view>
|
||||
<view style="height: 160rpx"></view>
|
||||
|
||||
<!--底部操作栏-->
|
||||
<view class="tui-operation">
|
||||
@ -215,13 +215,14 @@ export default {
|
||||
setCollect: function() {
|
||||
let that = this,
|
||||
id = that.storeInfo.id,
|
||||
category = 'product'
|
||||
category = 'seckill',
|
||||
type = 'collect'
|
||||
if (that.userCollect) {
|
||||
getCollectDel(id, category).then(function() {
|
||||
getCollectDel(id, category,type).then(function() {
|
||||
that.userCollect = !that.userCollect
|
||||
})
|
||||
} else {
|
||||
getCollectAdd(id, category).then(function() {
|
||||
getCollectAdd(id, category,type).then(function() {
|
||||
that.userCollect = !that.userCollect
|
||||
})
|
||||
}
|
||||
@ -727,7 +728,7 @@ export default {
|
||||
|
||||
.tui-operation {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
height: 160rpx;
|
||||
background: rgba(255, 255, 255, 0.98);
|
||||
position: fixed;
|
||||
display: flex;
|
||||
|
Reference in New Issue
Block a user