Commit da3a605c by 张立顺

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

2 parents ec0ec7b0 9e9a6c4a
...@@ -19,13 +19,13 @@ Page({ ...@@ -19,13 +19,13 @@ Page({
}, },
sceneActive: 4, sceneActive: 4,
scenePriceList: [{ scenePriceList: [{
total: 0 total: 0.00
}, { }, {
total: 0 total: 0.00
}, { }, {
total: 0 total: 0.00
}, { }, {
total: 0 total: 0.00
}], }],
// 活动内容 // 活动内容
scrollLeft: 0, scrollLeft: 0,
...@@ -110,7 +110,7 @@ Page({ ...@@ -110,7 +110,7 @@ Page({
sceneActive: this.data.sceneActive sceneActive: this.data.sceneActive
// sceneCodeList: this.data.sceneCodeList // sceneCodeList: this.data.sceneCodeList
} }
wx.$router.go('packageOutput.openBusiness', params) wx.$router.go('packagesList.openBusiness', params)
}, },
getSceneProStatus(sceneCode, isFirst = false) { getSceneProStatus(sceneCode, isFirst = false) {
...@@ -195,7 +195,7 @@ Page({ ...@@ -195,7 +195,7 @@ Page({
if (idx != -1) { if (idx != -1) {
var orderTotal = item.orderTotal var orderTotal = item.orderTotal
if (item.orderTotal) { if (item.orderTotal) {
item.orderTotal.calCustomerUnitPrice = Math.round(orderTotal.totalSubOrderOrderMoney / orderTotal.upgradeCount).toFixed(0) item.orderTotal.calCustomerUnitPrice = Math.round(orderTotal.totalSubOrderOrderMoney / orderTotal.upgradeCount).toFixed(2)
item.orderTotal.calExperience = Math.round((orderTotal.experienceCount * 100) / orderTotal.toShopCount).toFixed(0) item.orderTotal.calExperience = Math.round((orderTotal.experienceCount * 100) / orderTotal.toShopCount).toFixed(0)
item.orderTotal.calTransform = Math.round((orderTotal.upgradeCount * 100) / orderTotal.experienceCount).toFixed(0) item.orderTotal.calTransform = Math.round((orderTotal.upgradeCount * 100) / orderTotal.experienceCount).toFixed(0)
} }
......
...@@ -38,9 +38,16 @@ ...@@ -38,9 +38,16 @@
border-bottom: 1rpx dashed #CCCED1; border-bottom: 1rpx dashed #CCCED1;
} }
.title-open {
float: right;
font-size: 28rpx;
color: #3666FE;
font-weight: 400;
}
.icon-open { .icon-open {
width: 40rpx; width: 38rpx;
height: 40rpx; height: 38rpx;
} }
.scene-box { .scene-box {
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}"> <view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="title bg-white"> <view class="title bg-white">
选产品/活动 选产品/活动
<view> <view class="title-open" bindtap="handleJump">
<image class="icon-open" webp src="{{IMGURL}}output/icon-open.png?v={{img_version}}"></image> <glsx-image class="icon-open" :webp="{{true}}" src="output/icon-open.webp"></glsx-image>
开通活动 开通活动
</view> </view>
</view> </view>
......
...@@ -117,7 +117,7 @@ Component({ ...@@ -117,7 +117,7 @@ Component({
pMerchantName: this.data.pMerchantInfo.subLoginUser.merchantName, pMerchantName: this.data.pMerchantInfo.subLoginUser.merchantName,
isSuper: this.data.pMerchantInfo.isSuper isSuper: this.data.pMerchantInfo.isSuper
} }
wx.$router.go('packageOutput.summary', params) wx.$router.go('/packagesList/packageOutput/pages/summary', params)
} }
} }
}) })
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!