Commit af702dd8 by chenwq

bug修复,样式调整

1 parent 5e5fea04
...@@ -364,7 +364,10 @@ Page({ ...@@ -364,7 +364,10 @@ Page({
let { userInfo } = wx.$storage.get() let { userInfo } = wx.$storage.get()
let params = { let params = {
...this.dealSC003SearchStatus(), ...this.dealSC003SearchStatus(),
serviceMerchantId: userInfo.subLoginUser.merchantId pageNum: 1,
pageSize: 99999,
serviceMerchantId: userInfo.subLoginUser.merchantId,
merchantId: this.data.merchantInfo.merchantId
} }
outputApi.getActivityList(params).then(res => { outputApi.getActivityList(params).then(res => {
let list = this.dealToTime(res?.list || [], 'SC003') let list = this.dealToTime(res?.list || [], 'SC003')
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</view> </view>
<view wx:if="{{(sceneCodeActive == 'SC004' || sceneCodeActive == 'SC003') && !isMock.SC004}}" class="select-txt"> <view wx:if="{{(sceneCodeActive == 'SC004' || sceneCodeActive == 'SC003') && !isMock.SC004}}" class="select-txt">
{{baseData.actStatusList[sceneCodeActive == 'SC004' ? searchForm.sceneSC004 : searchForm.sceneSC003]}} {{baseData.actStatusList[sceneCodeActive == 'SC004' ? searchForm.sceneSC004 : searchForm.sceneSC003]}}
<image class="icon-arrow" src="{{IMGURL}}output/arr ow.png?v={{img_version}}" /> <image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}" />
</view> </view>
</view> </view>
</view> </view>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<view class="title">{{info.merchantName || info.merchantName4s || ''}}</view> <view class="title">{{info.merchantName || info.merchantName4s || ''}}</view>
</view> </view>
<view class="content"> <view class="content">
<view wx:for="{{formObj[sceneCode]}}" wx:key="index" class="content-item {{sceneCode == -1 ? (fromPage == 'client' ?'row-two' : 'row-four') : ''}}"> <view wx:for="{{formObj[sceneCode]}}" wx:key="index" class="content-item {{sceneCode == -1 ? 'row-two' : ''}}">
<view wx:if="{{info[item.name] == '未开通'}}" class="price">{{info[item.name]}}</view> <view wx:if="{{info[item.name] == '未开通'}}" class="price">{{info[item.name]}}</view>
<view wx:else="" class="price"> <view wx:else="" class="price">
{{item.prefix || ''}} {{item.prefix || ''}}
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</view> </view>
<view class="right-box" wx:if="{{tabActive =='business'}}"> <view class="right-box" wx:if="{{tabActive =='business'}}">
<view wx:if="{{busiOptSceneCode[formData.busiIdx] == 'SC004'}}" bindtap="handleCrowdPopup">{{baseData.proList[formData.proIdx].productName}}</view> <view wx:if="{{busiOptSceneCode[formData.busiIdx] == 'SC004'}}" bindtap="handleCrowdPopup">{{baseData.proList[formData.proIdx].productName}}</view>
<view wx:elif="{{busiOptSceneCode[formData.busiIdx] == 'SC003'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}" bindtap="handleTimeChange">{{baseData.timeList[formData.timeIdx]}}</view> <view wx:elif="{{busiOptSceneCode[formData.busiIdx] == 'SC003'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}" bindtap="handleTimeChange">{{baseData.actStatusList[formData.statusIdx]}}</view>
<view wx:else bindtap="handleTimeChange" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}">{{baseData.timeList[formData.timeIdx]}}</view> <view wx:else bindtap="handleTimeChange" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}">{{baseData.timeList[formData.timeIdx]}}</view>
<glsx-image src="output/icon-arrow.png" class="icon" bindtap="{{busiOptSceneCode[formData.busiIdx] == 'SC004' ? 'handleCrowdPopup' : 'handleTimeChange'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}"/> <glsx-image src="output/icon-arrow.png" class="icon" bindtap="{{busiOptSceneCode[formData.busiIdx] == 'SC004' ? 'handleCrowdPopup' : 'handleTimeChange'}}" data-scenecode="{{busiOptSceneCode[formData.busiIdx]}}"/>
</view> </view>
......
...@@ -210,7 +210,9 @@ Component({ ...@@ -210,7 +210,9 @@ Component({
let params = { let params = {
...busiSearchData, ...busiSearchData,
...sortSearchData, ...sortSearchData,
serviceMerchantId: userInfo.subLoginUser.merchantId serviceMerchantId: userInfo.subLoginUser.merchantId,
pageNum: 1,
pageSize: 99999,
} }
this.setData({ this.setData({
['isAsk.business']: true ['isAsk.business']: true
......
<!-- pages/tab/output/components/client/client.wxml --> <!-- pages/tab/output/components/client/client.wxml -->
<wxs src="../../index.wxs" module="filter" /> <wxs src="../../index.wxs" module="filter" />
<total-tab id="totalTab" bindbusiSearch="handleBusiSearch" bindtabChange="handleTabChange"></total-tab> <total-tab id="totalTab" bindbusiSearch="handleBusiSearch" bindtabChange="handleTabChange"></total-tab>
<view class="sort-fix {{stickyScrollTop >= 96 ? '' : 'sort-hide'}}" wx:if="{{tabActive == 'business'}}"> <view class="sort-fix {{stickyScrollTop >= 96 ? '' : 'sort-hide'}}" wx:if="{{tabActive == 'business' && formData.sceneCode != 'SC004' && formData.sceneCode != 'SC003'}}">
<sort-tab id="sortTabFix" sceneCode="{{formData.sceneCode}}" bindhandleSort="handleSort"></sort-tab> <sort-tab id="sortTabFix" sceneCode="{{formData.sceneCode}}" bindhandleSort="handleSort"></sort-tab>
</view> </view>
<scroll-view wx:if="{{tabActive == 'store'}}" class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}"> <scroll-view wx:if="{{tabActive == 'store'}}" class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}">
......
...@@ -65,9 +65,11 @@ Component({ ...@@ -65,9 +65,11 @@ Component({
'3': 'carTransformStat' '3': 'carTransformStat'
} }
_list = res[attrToNum[staffSearchData.sceneType || '']] || [] _list = res[attrToNum[staffSearchData.sceneType || '']] || []
if(staffSearchData.sceneType == '3') { if (staffSearchData.sceneType == '3') {
_list.forEach(item => { _list.forEach(item => {
item.totalOutputValue = (item.totalOutputValue / 100).toFixed(2) item.list?.forEach(k => {
k.totalOutputValue = (k.totalOutputValue / 100).toFixed(2)
})
}) })
} }
this.setData({ this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!