Commit 8be8e62a by 杨明

产值优化

1 parent 7c76bf04
......@@ -45,6 +45,10 @@ Component({
label: '太阳膜'
},
{
id: '2',
label: '精品'
},
{
id: '3',
label: '售后众筹'
},
......
......@@ -124,10 +124,14 @@ Component({
this.dealMonth(isReset)
let params = {
partnerMerchantId: userInfo.subLoginUser.isSuper ? '' : userInfo.subLoginUser.merchantId,
merchantId: searchForm.shopMerchantIds.length ? searchForm.shopMerchantIds[0] : '',
merchantIdList: searchForm.shopMerchantIds.length && searchForm.shopMerchantIds[0] ? searchForm.shopMerchantIds : '',
sceneType: searchForm.sceneType,
...this.data.pageCof
}
if(params.sceneType == 2) {
params.sceneType = 1;
params.boutique=true
}
wx.$api.showLoading('加载中...')
const paiName = searchForm.sceneType ? 'getQuerySceneList' : 'getAllSceneList'
outputValueApi[paiName](params).then(res => {
......
const sceneFormList = [{
label: '太阳膜',
name: 'scene1Total'
name: 'scene1SolarFilmTotal',
scene: 1.1
}, {
label: '精品',
name: 'scene2Total'
name: 'scene1BoutiqueTotal',
scene: 1.1
}, {
label: '售后众筹',
name: 'scene3Total'
name: 'scene3Total',
scene: 1.3
}, {
label: '会员权益/升级',
name: 'scene0Total'
name: 'scene0Total',
scene: 2.1
}]
const sceneToInfo = [{
......@@ -17,6 +21,10 @@ const sceneToInfo = [{
label: '太阳膜',
name: 'membranes'
}, {
type: 2,
label: '精品',
name: 'scene2Total'
}, {
type: 0,
label: '会员权益/升级',
name: 'member'
......
......@@ -23,7 +23,8 @@
border-top: 0.3rpx solid #E4E6EE;
padding-top: 4rpx;
.list {
&:nth-child(1) {
border-top: none;
&:nth-child(2) {
border-top: none;
}
}
......@@ -201,14 +202,12 @@
.tips-store {
box-sizing: border-box;
width: 64rpx;
height: 28rpx;
background: #fc8f2826;
border-radius: 5rpx;
font-weight: 400;
font-size: 20rpx;
color: #FC8F28;
padding: 0 12rpx;
padding: 4rpx 10rpx;
margin-left: 8rpx;
}
......
......@@ -37,7 +37,7 @@
<view class="title-box flex-between {{index == 0 ? 'title-box-first' : ''}}">
<view class="title-block">
<view class="title-name text-hide">{{item.merchantName}}</view>
<text class="tips-store">门店</text>
<text class="tips-store">{{subItem.scene}}</text>
</view>
<view>
<view class="num-blue"><text class="f-24">¥</text>{{filter.money_three_for_two_thousands(item.curMonthTotalData[subItem.name] || 0)}}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!