Commit 27fb11b8 by chenwq

金额

1 parent 86d5455d
...@@ -242,9 +242,9 @@ Page({ ...@@ -242,9 +242,9 @@ Page({
...actList[idx], ...actList[idx],
orderTotal: item.orderTotal orderTotal: item.orderTotal
} }
curTotal = curTotal + (item.orderTotal?.totalSubOrderOrderMoney || 0) curTotal = curTotal + (+item.orderTotal?.totalSubOrderOrderMoney || 0)
} else { } else {
otherTotal = otherTotal + (item.orderTotal?.totalSubOrderOrderMoney || 0) otherTotal = otherTotal + (+item.orderTotal?.totalSubOrderOrderMoney || 0)
} }
}) })
if (!isFirst) { if (!isFirst) {
...@@ -310,7 +310,7 @@ Page({ ...@@ -310,7 +310,7 @@ Page({
curItem.activityList.forEach((k, kIdx) => { curItem.activityList.forEach((k, kIdx) => {
// 分享按钮判断shareStatus:活动分享状态 0:未分享 1:已分享 // 分享按钮判断shareStatus:活动分享状态 0:未分享 1:已分享
if (k.activityStatus == 2 && k.shareStatus == 0) { if (k.activityStatus == 2 && k.shareStatus == 0) {
curItem.shareBtnIdx = shareFlag ? -1 : kIdx curItem.shareBtnIdx = shareFlag ? -1 : (kIdx + '')
shareFlag = true shareFlag = true
} }
// 时间 // 时间
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<view class="btn-disabled">点击开通</view> <view class="btn-disabled">点击开通</view>
</view> </view>
</view> </view>
<view wx:if="{{sceneActive == 4 && activityList.length && isShowData && activityList[activityActive].outputData.shareBtnIdx != -1}}" class="isFullSucreen btn-box shadow" bindtap="handleBtnShare"> <view wx:if="{{sceneActive == 4 && activityList.length && isShowData && activityList[activityActive].outputData.shareBtnIdx && activityList[activityActive].outputData.shareBtnIdx != -1}}" class="isFullSucreen btn-box shadow" bindtap="handleBtnShare">
<view class="btn"> <view class="btn">
<view class="btn-share">活动进行中,分享母链海报开展活动</view> <view class="btn-share">活动进行中,分享母链海报开展活动</view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!