This commit is contained in:
cclu 2024-03-15 19:41:51 +08:00
parent b822bb18d2
commit a24a43ba3c
4 changed files with 57 additions and 50 deletions

View File

@ -157,7 +157,7 @@
<view class="revenueTopRight" v-if="showTableData.add"> <view class="revenueTopRight" v-if="showTableData.add">
<!--https://eshangtech.com/ShopICO/ahyd-BID/examine/reduce.svg--> <!--https://eshangtech.com/ShopICO/ahyd-BID/examine/reduce.svg-->
<!-- <image class="addReduce" :src="Number(showTableData.add)>0?'https://eshangtech.com/ShopICO/ahyd-BID/examine/add.svg':Number(showTableData.add)<0?'https://eshangtech.com/ShopICO/ahyd-BID/examine/reduce.svg':''"/>--> <!-- <image class="addReduce" :src="Number(showTableData.add)>0?'https://eshangtech.com/ShopICO/ahyd-BID/examine/add.svg':Number(showTableData.add)<0?'https://eshangtech.com/ShopICO/ahyd-BID/examine/reduce.svg':''"/>-->
<text class="addValue">{{showTableData.add?showTableData.add:'-'}}%</text> <text class="addValue" :style="{color:showTableData.add>0?'#E83944':showTableData.add<0?'#0E9976':''}">{{showTableData.add?showTableData.add:'-'}}%</text>
<text class="rightNav">同比</text> <text class="rightNav">同比</text>
</view> </view>
</view> </view>
@ -225,9 +225,11 @@
<view class="itemLeft"> <view class="itemLeft">
<view class="itemIcon" :style="{background:subIndex===0?'#1677FE':subIndex===1?'#456497':subIndex===2?'#97A9C6':''}"></view> <view class="itemIcon" :style="{background:subIndex===0?'#1677FE':subIndex===1?'#456497':subIndex===2?'#97A9C6':''}"></view>
<span class="itemName">{{subItem.name}}</span> <span class="itemName">{{subItem.name}}</span>
<span class="itemValue">{{subItem.value?numeral(subItem.value/10000).format('0,0.00'):''}}</span>
</view> </view>
<view class="itemRight">{{subItem.add}}</view> <view class="itemCenter">
{{subItem.value?numeral(subItem.value/10000).format('0,0.00'):''}}
</view>
<view class="itemRight" :style="{color:subItem.add>0?'#E83944':subItem.add<0?'#0E9976':''}">{{subItem.add?`${subItem.add}%`:''}}</view>
</view> </view>
@ -280,7 +282,7 @@
</view> </view>
<view class="itemBottom"> <view class="itemBottom">
<span class="revenueNum">{{showTableData.YearRevenueAmount?numeral(showTableData.YearRevenueAmount/10000).format('0,0.00'):''}}</span> <span class="revenueNum">{{showTableData.YearRevenueAmount?numeral(showTableData.YearRevenueAmount/10000).format('0,0.00'):''}}</span>
<span class="revenueAdd">{{showTableData.YearRevenueAdd?`${showTableData.YearRevenueAdd>0?'+':''}${showTableData.YearRevenueAdd}%`:'-'}}</span> <span class="revenueAdd" :style="{color:showTableData.YearRevenueAdd>0?'#E83944':showTableData.YearRevenueAdd<0?'#0E9976':''}">{{showTableData.YearRevenueAdd?`${showTableData.YearRevenueAdd>0?'+':''}${showTableData.YearRevenueAdd}%`:'-'}}</span>
</view> </view>
</view> </view>
@ -291,7 +293,7 @@
</view> </view>
<view class="itemBottom"> <view class="itemBottom">
<span class="revenueNum">{{showTableData.YearAccountRoyalty?numeral(showTableData.YearAccountRoyalty/10000).format('0,0.00'):''}}</span> <span class="revenueNum">{{showTableData.YearAccountRoyalty?numeral(showTableData.YearAccountRoyalty/10000).format('0,0.00'):''}}</span>
<span class="revenueAdd">{{showTableData.YearAccountAdd?`${showTableData.YearAccountAdd>0?'+':''}${showTableData.YearAccountAdd}%`:'-'}}</span> <span class="revenueAdd" :style="{color:showTableData.YearRevenueAdd>0?'#E83944':showTableData.YearRevenueAdd<0?'#0E9976':''}">{{showTableData.YearAccountAdd?`${showTableData.YearAccountAdd>0?'+':''}${showTableData.YearAccountAdd}%`:'-'}}</span>
</view> </view>
</view> </view>
</view> </view>
@ -2586,9 +2588,9 @@ export default {
if (item.data){ if (item.data){
let number = ((item.value - item.data)/item.data)*100 let number = ((item.value - item.data)/item.data)*100
if (number>0){ if (number>0){
item.add ='+'+number.toFixed(2)+'%' item.add ='+'+number.toFixed(2)
}else if(number<0){ }else if(number<0){
item.add =number.toFixed(2)+'%' item.add =number.toFixed(2)
}else{ }else{
item.add = null item.add = null
} }
@ -3639,6 +3641,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
.itemLeft{ .itemLeft{
display: flex; display: flex;
align-items: center; align-items: center;
width: 33%;
.itemIcon{ .itemIcon{
width: 12rpx; width: 12rpx;
height: 12rpx; height: 12rpx;
@ -3656,23 +3659,27 @@ $iphoneHeight: env(safe-area-inset-bottom);
display: inline-block; display: inline-block;
width: 120rpx; width: 120rpx;
} }
.itemValue{ }
font-family: DINAlternate, DINAlternate; .itemCenter{
font-weight: bold; display: inline-block;
font-size: 28rpx; width: 33%;
color: #160002; font-family: DINAlternate, DINAlternate;
line-height: 40rpx; font-weight: bold;
text-align: left; font-size: 28rpx;
font-style: normal; color: #160002;
} line-height: 40rpx;
text-align: right;
font-style: normal;
} }
.itemRight{ .itemRight{
display: inline-block;
width: 33%;
font-family: DINAlternate, DINAlternate; font-family: DINAlternate, DINAlternate;
font-weight: bold; font-weight: bold;
font-size: 28rpx; font-size: 28rpx;
color: #E83944; color: #E83944;
line-height: 40rpx; line-height: 40rpx;
text-align: center; text-align: right;
font-style: normal; font-style: normal;
} }
} }

View File

@ -27,7 +27,7 @@
<view class="contentRevenue"> <view class="contentRevenue">
<view class="contentTop"> <view class="contentTop">
<view class="contentTopLeft"> <view class="contentTopLeft">
<span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span> <!-- <span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span>-->
<span class="contentTitle">对客销售<span class="contentUnit">/万元</span></span> <span class="contentTitle">对客销售<span class="contentUnit">/万元</span></span>
</view> </view>
@ -35,7 +35,7 @@
<view class="dataBox"> <view class="dataBox">
<view class="dataItem" style="width: 40%"> <view class="dataItem" style="width: 40%">
<span class="dataBigValue">{{topDetail.RevenueINC && topDetail.RevenueINC.increaseRate?topDetail.RevenueINC.increaseRate<0?`${topDetail.RevenueINC.increaseRate}%`:`+${topDetail.RevenueINC.increaseRate}%` :'-'}}</span> <span class="dataBigValue" :style="{color:topDetail.RevenueINC.increaseRate>0?'#E83944':topDetail.RevenueINC.increaseRate<0?'#0E9976':''}">{{topDetail.RevenueINC && topDetail.RevenueINC.increaseRate?topDetail.RevenueINC.increaseRate<0?`${topDetail.RevenueINC.increaseRate}%`:`+${topDetail.RevenueINC.increaseRate}%` :'-'}}</span>
<span class="dataLabel">同比去年</span> <span class="dataLabel">同比去年</span>
</view> </view>
<view class="dataItem" style="width: 30%"> <view class="dataItem" style="width: 30%">
@ -50,7 +50,7 @@
<view class="addBox"> <view class="addBox">
增长 增长
<span class="addNumber">{{topDetail.RevenueINC ? `${topDetail.RevenueINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.RevenueINC.increaseData / 10000)}`:'-'}}</span> <span class="addNumber" :style="{color:topDetail.RevenueINC.increaseData>0?'#E83944':topDetail.RevenueINC.increaseData<0?'#0E9976':''}">{{topDetail.RevenueINC ? `${topDetail.RevenueINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.RevenueINC.increaseData / 10000)}`:'-'}}</span>
</view> </view>
<view class="line"></view> <view class="line"></view>
@ -81,8 +81,8 @@
<view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageRevenueList" :key="index"> <view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageRevenueList" :key="index">
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseData>0?'#E83944':item.increaseData<0?'#0E9976':''}">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseRate>0?'#E83944':item.increaseRate<0?'#0E9976':''}">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@ -95,7 +95,7 @@
<view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg2.png')"> <view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg2.png')">
<view class="contentTop"> <view class="contentTop">
<view class="contentTopLeft"> <view class="contentTopLeft">
<span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span> <!-- <span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span>-->
<span class="contentTitle">营业收入<span class="contentUnit">/万元</span></span> <span class="contentTitle">营业收入<span class="contentUnit">/万元</span></span>
</view> </view>
@ -103,7 +103,7 @@
<view class="dataBox"> <view class="dataBox">
<view class="dataItem" style="width: 40%"> <view class="dataItem" style="width: 40%">
<span class="dataBigValue">{{topDetail.AccountINC && topDetail.AccountINC.increaseRate?topDetail.AccountINC.increaseRate<0?`${topDetail.AccountINC.increaseRate}%`:`+${topDetail.AccountINC.increaseRate}%` :'-'}}</span> <span class="dataBigValue" :style="{color:topDetail.AccountINC.increaseRate>0?'#E83944':topDetail.AccountINC.increaseRate<0?'#0E9976':''}">{{topDetail.AccountINC && topDetail.AccountINC.increaseRate?topDetail.AccountINC.increaseRate<0?`${topDetail.AccountINC.increaseRate}%`:`+${topDetail.AccountINC.increaseRate}%` :'-'}}</span>
<span class="dataLabel">同比去年</span> <span class="dataLabel">同比去年</span>
</view> </view>
<view class="dataItem" style="width: 30%"> <view class="dataItem" style="width: 30%">
@ -118,7 +118,7 @@
<view class="addBox"> <view class="addBox">
增长 增长
<span class="addNumber">{{topDetail.AccountINC ? `${topDetail.AccountINC.increaseData<0?'':'+'}${ $util.getMoney(topDetail.AccountINC.increaseData / 10000)}`:'-'}}</span> <span class="addNumber" :style="{color:topDetail.AccountINC.increaseData>0?'#E83944':topDetail.AccountINC.increaseData<0?'#0E9976':''}">{{topDetail.AccountINC ? `${topDetail.AccountINC.increaseData<0?'':'+'}${ $util.getMoney(topDetail.AccountINC.increaseData / 10000)}`:'-'}}</span>
</view> </view>
<view class="line"></view> <view class="line"></view>
@ -133,8 +133,8 @@
<view class="tableLeft"> <view class="tableLeft">
<view class="label">类别</view> <view class="label">类别</view>
<view class="firstLabel">自营 (除税)</view> <view class="firstLabel">自营 (除税)</view>
<view class="firstLabel">便利店</view> <view class="firstLabel">便利店 (除税)</view>
<view class="firstLabel">餐饮客房</view> <view class="firstLabel">餐饮客房 (除税)</view>
</view> </view>
<scroll-view class="tableRight" scroll-x="true"> <scroll-view class="tableRight" scroll-x="true">
<view class="labelBox"> <view class="labelBox">
@ -146,8 +146,8 @@
<view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageAccountList" :key="index"> <view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageAccountList" :key="index">
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseData>0?'#E83944':item.increaseData<0?'#0E9976':''}">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseRate>0?'#E83944':item.increaseRate<0?'#0E9976':''}">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@ -160,7 +160,7 @@
<view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg3.png');background-size: cover;padding-bottom: 24rpx"> <view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg3.png');background-size: cover;padding-bottom: 24rpx">
<view class="contentTop"> <view class="contentTop">
<view class="contentTopLeft"> <view class="contentTopLeft">
<span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span> <!-- <span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span>-->
<span class="contentTitle">入区车流 <span class="contentTitle">入区车流
<span class="contentUnit">/万辆</span> <span class="contentUnit">/万辆</span>
</span> </span>
@ -170,7 +170,7 @@
<view class="dataBox"> <view class="dataBox">
<view class="dataItem" style="width: 40%"> <view class="dataItem" style="width: 40%">
<span class="dataBigValue">{{topDetail.BayonetINC && topDetail.BayonetINC.increaseRate?`${topDetail.BayonetINC.increaseRate<0?'':'+'}${topDetail.BayonetINC.increaseRate}%` :'-'}}</span> <span class="dataBigValue" :style="{color:topDetail.BayonetINC.increaseRate>0?'#E83944':topDetail.BayonetINC.increaseRate<0?'#0E9976':''}">{{topDetail.BayonetINC && topDetail.BayonetINC.increaseRate?`${topDetail.BayonetINC.increaseRate<0?'':'+'}${topDetail.BayonetINC.increaseRate}%` :'-'}}</span>
<span class="dataLabel">同比去年</span> <span class="dataLabel">同比去年</span>
</view> </view>
<view class="dataItem" style="width: 30%"> <view class="dataItem" style="width: 30%">
@ -185,7 +185,7 @@
<view class="addBox"> <view class="addBox">
增长 增长
<span class="addNumber">{{topDetail.BayonetINC ? `${topDetail.BayonetINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.BayonetINC.increaseData / 10000)}`:'-'}}</span> <span class="addNumber" :style="{color:topDetail.BayonetINC.increaseData>0?'#E83944':topDetail.BayonetINC.increaseData<0?'#0E9976':''}">{{topDetail.BayonetINC ? `${topDetail.BayonetINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.BayonetINC.increaseData / 10000)}`:'-'}}</span>
</view> </view>
</view> </view>
</view> </view>
@ -1028,7 +1028,7 @@ export default {
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #57607B; color: #57607B;
text-align: center; text-align: right;
font-style: normal; font-style: normal;
display: inline-block; display: inline-block;
width: 148rpx; width: 148rpx;

View File

@ -38,7 +38,7 @@
<view class="contentRevenue"> <view class="contentRevenue">
<view class="contentTop"> <view class="contentTop">
<view class="contentTopLeft"> <view class="contentTopLeft">
<span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span> <!-- <span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span>-->
<span class="contentTitle">对客销售<span class="contentUnit">/万元</span></span> <span class="contentTitle">对客销售<span class="contentUnit">/万元</span></span>
</view> </view>
<view class="contentTopRight" @click="handleGoSort(1)"> <view class="contentTopRight" @click="handleGoSort(1)">
@ -49,7 +49,7 @@
<view class="dataBox"> <view class="dataBox">
<view class="dataItem" style="width: 40%"> <view class="dataItem" style="width: 40%">
<span class="dataBigValue">{{topDetail.RevenueINC && topDetail.RevenueINC.increaseRate?topDetail.RevenueINC.increaseRate<0?`${topDetail.RevenueINC.increaseRate}%`:`+${topDetail.RevenueINC.increaseRate}%` :'-'}}</span> <span class="dataBigValue" :style="{color:topDetail.RevenueINC.increaseRate>0?'#E83944':topDetail.RevenueINC.increaseRate<0?'#0E9976':''}">{{topDetail.RevenueINC && topDetail.RevenueINC.increaseRate?topDetail.RevenueINC.increaseRate<0?`${topDetail.RevenueINC.increaseRate}%`:`+${topDetail.RevenueINC.increaseRate}%` :'-'}}</span>
<span class="dataLabel">同比去年</span> <span class="dataLabel">同比去年</span>
</view> </view>
<view class="dataItem" style="width: 30%"> <view class="dataItem" style="width: 30%">
@ -64,7 +64,7 @@
<view class="addBox"> <view class="addBox">
增长 增长
<span class="addNumber">{{topDetail.RevenueINC ? `${topDetail.RevenueINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.RevenueINC.increaseData / 10000)}`:'-'}}</span> <span class="addNumber" :style="{color:topDetail.RevenueINC.increaseData>0?'#E83944':topDetail.RevenueINC.increaseData<0?'#0E9976':''}">{{topDetail.RevenueINC ? `${topDetail.RevenueINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.RevenueINC.increaseData / 10000)}`:'-'}}</span>
</view> </view>
<view class="line"></view> <view class="line"></view>
@ -95,8 +95,8 @@
<view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageRevenueList" :key="index"> <view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageRevenueList" :key="index">
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseData>0?'#E83944':item.increaseData<0?'#0E9976':''}">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseRate>0?'#E83944':item.increaseRate<0?'#0E9976':''}">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@ -109,7 +109,7 @@
<view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg2.png')"> <view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg2.png')">
<view class="contentTop"> <view class="contentTop">
<view class="contentTopLeft"> <view class="contentTopLeft">
<span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span> <!-- <span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span>-->
<span class="contentTitle">营业收入<span class="contentUnit">/万元</span></span> <span class="contentTitle">营业收入<span class="contentUnit">/万元</span></span>
</view> </view>
<view class="contentTopRight" @click="handleGoSort(2)"> <view class="contentTopRight" @click="handleGoSort(2)">
@ -120,7 +120,7 @@
<view class="dataBox"> <view class="dataBox">
<view class="dataItem" style="width: 40%"> <view class="dataItem" style="width: 40%">
<span class="dataBigValue">{{topDetail.AccountINC && topDetail.AccountINC.increaseRate?topDetail.AccountINC.increaseRate<0?`${topDetail.AccountINC.increaseRate}%`:`+${topDetail.AccountINC.increaseRate}%` :'-'}}</span> <span class="dataBigValue" :style="{color:topDetail.AccountINC.increaseRate>0?'#E83944':topDetail.AccountINC.increaseRate<0?'#0E9976':''}">{{topDetail.AccountINC && topDetail.AccountINC.increaseRate?topDetail.AccountINC.increaseRate<0?`${topDetail.AccountINC.increaseRate}%`:`+${topDetail.AccountINC.increaseRate}%` :'-'}}</span>
<span class="dataLabel">同比去年</span> <span class="dataLabel">同比去年</span>
</view> </view>
<view class="dataItem" style="width: 30%"> <view class="dataItem" style="width: 30%">
@ -135,7 +135,7 @@
<view class="addBox"> <view class="addBox">
增长 增长
<span class="addNumber">{{topDetail.AccountINC ? `${topDetail.AccountINC.increaseData<0?'':'+'}${ $util.getMoney(topDetail.AccountINC.increaseData / 10000)}`:'-'}}</span> <span class="addNumber" :style="{color:topDetail.AccountINC.increaseData>0?'#E83944':topDetail.AccountINC.increaseData<0?'#0E9976':''}">{{topDetail.AccountINC ? `${topDetail.AccountINC.increaseData<0?'':'+'}${ $util.getMoney(topDetail.AccountINC.increaseData / 10000)}`:'-'}}</span>
</view> </view>
<view class="line"></view> <view class="line"></view>
@ -150,8 +150,8 @@
<view class="tableLeft"> <view class="tableLeft">
<view class="label">类别</view> <view class="label">类别</view>
<view class="firstLabel">自营 (除税)</view> <view class="firstLabel">自营 (除税)</view>
<view class="firstLabel">便利店</view> <view class="firstLabel">便利店 (除税)</view>
<view class="firstLabel">餐饮客房</view> <view class="firstLabel">餐饮客房 (除税)</view>
</view> </view>
<scroll-view class="tableRight" scroll-x="true"> <scroll-view class="tableRight" scroll-x="true">
<view class="labelBox"> <view class="labelBox">
@ -163,8 +163,8 @@
<view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageAccountList" :key="index"> <view :class="item.type===1?'firstLabelBox':'secondLabelBox'" v-for="(item,index) in pageAccountList" :key="index">
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.curYearData?$util.getMoney(item.curYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'">{{item.lYearData?$util.getMoney(item.lYearData/10000):'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseData>0?'#E83944':item.increaseData<0?'#0E9976':''}">{{item.increaseData?`${item.increaseData<0?'':'+'}${$util.getMoney(item.increaseData/10000)}`:'-'}}</span>
<span :class="item.type===1?'firstLabel':'secondLabel'">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span> <span :class="item.type===1?'firstLabel':'secondLabel'" :style="{color:item.increaseRate>0?'#E83944':item.increaseRate<0?'#0E9976':''}">{{item.increaseRate?`${item.increaseRate<0?'':'+'}${item.increaseRate}%`:'-'}}</span>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@ -177,7 +177,7 @@
<view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg3.png');background-size: cover;padding-bottom: 24rpx"> <view class="contentRevenue" style="background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/revenueBg3.png');background-size: cover;padding-bottom: 24rpx">
<view class="contentTop"> <view class="contentTop">
<view class="contentTopLeft"> <view class="contentTopLeft">
<span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span> <!-- <span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span>-->
<span class="contentTitle">入区车流 <span class="contentTitle">入区车流
<span class="contentUnit">/万辆</span> <span class="contentUnit">/万辆</span>
</span> </span>
@ -190,7 +190,7 @@
<view class="dataBox"> <view class="dataBox">
<view class="dataItem" style="width: 40%"> <view class="dataItem" style="width: 40%">
<span class="dataBigValue">{{topDetail.BayonetINC && topDetail.BayonetINC.increaseRate?`${topDetail.BayonetINC.increaseRate<0?'':'+'}${topDetail.BayonetINC.increaseRate}%` :'-'}}</span> <span class="dataBigValue" :style="{color:topDetail.BayonetINC.increaseRate>0?'#E83944':topDetail.BayonetINC.increaseRate<0?'#0E9976':''}">{{topDetail.BayonetINC && topDetail.BayonetINC.increaseRate?`${topDetail.BayonetINC.increaseRate<0?'':'+'}${topDetail.BayonetINC.increaseRate}%` :'-'}}</span>
<span class="dataLabel">同比去年</span> <span class="dataLabel">同比去年</span>
</view> </view>
<view class="dataItem" style="width: 30%"> <view class="dataItem" style="width: 30%">
@ -205,7 +205,7 @@
<view class="addBox"> <view class="addBox">
增长 增长
<span class="addNumber">{{topDetail.BayonetINC ? `${topDetail.BayonetINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.BayonetINC.increaseData / 10000)}`:'-'}}</span> <span class="addNumber" :style="{color:topDetail.BayonetINC.increaseData>0?'#E83944':topDetail.BayonetINC.increaseData<0?'#0E9976':''}">{{topDetail.BayonetINC ? `${topDetail.BayonetINC.increaseData<0?'':'+'}${$util.getMoney(topDetail.BayonetINC.increaseData / 10000)}`:'-'}}</span>
</view> </view>
</view> </view>
</view> </view>
@ -1450,7 +1450,7 @@ export default {
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #57607B; color: #57607B;
text-align: center; text-align: right;
font-style: normal; font-style: normal;
display: inline-block; display: inline-block;
width: 148rpx; width: 148rpx;

View File

@ -10,7 +10,7 @@
<view class="revenueDetail"> <view class="revenueDetail">
<view class="revenueDetailTitleBox"> <view class="revenueDetailTitleBox">
<view class="left"> <view class="left">
<span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span> <!-- <span class="contentMonth">{{thisMonth?thisMonth+'月':'累计'}}</span>-->
<span class="leftText">服务区明细</span> <span class="leftText">服务区明细</span>
<!-- <img class="detailLogo" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/serverDetail.png"/>--> <!-- <img class="detailLogo" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/serverDetail.png"/>-->
<!-- <text class="modalUnit">{{selectDateText || ''}}</text>--> <!-- <text class="modalUnit">{{selectDateText || ''}}</text>-->