Commit 9e9a6c4a by chenwq

开通活动

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