Commit 9e9a6c4a by chenwq

开通活动

1 parent fd1f071a
...@@ -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)
} }
......
...@@ -42,11 +42,12 @@ ...@@ -42,11 +42,12 @@
float: right; float: right;
font-size: 28rpx; font-size: 28rpx;
color: #3666FE; color: #3666FE;
font-weight: 400;
} }
.icon-open { .icon-open {
width: 40rpx; width: 38rpx;
height: 40rpx; height: 38rpx;
} }
.scene-box { .scene-box {
......
...@@ -5,9 +5,8 @@ ...@@ -5,9 +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 class="title-open"> <view class="title-open" bindtap="handleJump">
<!-- <glsx-image class="icon-open" webp src="{{IMGURL}}output/icon-open.webp?v={{img_version}}"></glsx-image> --> <glsx-image class="icon-open" :webp="{{true}}" src="output/icon-open.webp"></glsx-image>
<image class="icon-open" webp src="{{IMGURL}}output/icon-open.webp?v={{img_version}}"></image>
开通活动 开通活动
</view> </view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!