Commit 88fbf5b2 by 严立

LL - 商店详情活动,商品接口

parent 565c0be5
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
</block> </block>
<view class="commodity-price-operation row con-e align-c"> <view class="commodity-price-operation row con-e align-c">
<button class="row con-c align-c" data-index="{{1}}" data-itemindex="{{index}}" bindtap="onBuy">购买门票</button> <button class="row con-c align-c" data-index="{{1}}" data-itemindex="{{index}}" bindtap="onBuy">查看服务</button>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -160,7 +160,7 @@ Page({ ...@@ -160,7 +160,7 @@ Page({
let funcShoppingCart = this.data.shoppingCart let funcShoppingCart = this.data.shoppingCart
if (funcShoppingCart[funcIndex].quantityMax <= funcShoppingCart[funcIndex].quantity) return if (funcShoppingCart[funcIndex].quantityMax <= funcShoppingCart[funcIndex].quantity) return
funcShoppingCart[funcIndex].quantity = funcShoppingCart[funcIndex].quantity + 1 funcShoppingCart[funcIndex].quantity = funcShoppingCart[funcIndex].quantity + 1000
this.setData({ this.setData({
shoppingCart: funcShoppingCart shoppingCart: funcShoppingCart
}) })
......
...@@ -973,6 +973,7 @@ ...@@ -973,6 +973,7 @@
.stock-item { .stock-item {
width: 526rpx; width: 526rpx;
height: 96rpx; height: 96rpx;
min-height: 96rpx;
margin-top: 64rpx; margin-top: 64rpx;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment