Commit a0f44d6b by 张立顺

Merge branch 'dev_v3.1' of 192.168.3.233:saas_plus/business-assistant into dev_v3.1

2 parents d79cc5bb 304f0229
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<view class="rank-row"> <view class="rank-row">
<text wx:if="{{subItem.totalAmount}}" class="rank-row-name" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text> <text wx:if="{{subItem.totalAmount}}" class="rank-row-name" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text>
<text wx:else class="name-disabled">{{subItem.shareName}}</text> <text wx:else class="name-disabled">{{subItem.shareName}}</text>
<text class="rank-row-dept">{{subItem.departmentName}}</text> <text class="rank-row-dept">{{subItem.departmentName || ''}}</text>
</view> </view>
<view class="rank-row"> <view class="rank-row">
<text class="rank-row-txt">访客<text class="font-number">{{subItem.browseCount || 0}}</text>人</text> <text class="rank-row-txt">访客<text class="font-number">{{subItem.browseCount || 0}}</text>人</text>
......
...@@ -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>
......
{ {
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"libVersion": "2.20.2", "libVersion": "2.27.2",
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!