This commit is contained in:
cclu 2024-05-31 18:59:46 +08:00
parent da382c8991
commit 74d4d46093
4 changed files with 106 additions and 34 deletions

View File

@ -112,9 +112,8 @@
<text class="monthText">
{{selectType===1?`${res.ServerpartName}${date || ''}度车流`:selectType===2?`${res.ServerpartName}${date || ''}车流`:selectType===3?`${res.ServerpartName}${date || ''}车流`:selectType===4?`${res.ServerpartName}${date || ''}车流`:''}}
<text>{{res.BayonetINC.increaseRate>0?'增加':res.BayonetINC.increaseRate<0?'减少':''}}<text :style="{color:res.BayonetINC.increaseRate>0?'#E83944':res.BayonetINC.increaseRate<0?'#127E5B':''}">{{res.BayonetINC.increaseRate?`${Math.abs(res.BayonetINC.increaseRate)}%`:'-'}}</text></text>
{{selectType===1?'营收':selectType===2?',门店的营收减少':selectType===3?'营收':selectType===4?',营收':''}}
{{selectType===1?'对客销售':selectType===2?',门店的营收减少':selectType===3?'对客销售':selectType===4?',对客销售':''}}
<text v-if="selectType!==2">{{res.RevenueINC.increaseRate>0?'增加':res.RevenueINC.increaseRate<0?'减少':''}}<text :style="{color:res.RevenueINC.increaseRate>0?'#E83944':res.RevenueINC.increaseRate<0?'#127E5B':''}">{{res.RevenueINC.increaseRate?`${Math.abs(res.RevenueINC.increaseRate)}%`:'-'}}</text></text>
{{selectType===1?',请关注服务区整体营收呈现下降的情况!':selectType===2?',请关注服务区部分门店营收呈现下降的情况!':selectType===3?'不匹配,请关注营收与车流增幅产生较大差异的服务区!':selectType===4?'不匹配,请关注营收与车流降幅产生较大差异的服务区!':''}}
</text>
@ -132,6 +131,7 @@
同期商超营收增长
<text :style="{color: ownerShop.RevenueINC.increaseRate>0?'#E83944':ownerShop.RevenueINC.increaseRate<0?'#127E5B':''}">{{`${ownerShop.RevenueINC.increaseRate?ownerShop.RevenueINC.increaseRate+'%':''}`}}</text>
</view>
<view class="monthText">{{selectType===1?'请关注服务区整体营收呈现下降的情况!':selectType===2?'请关注服务区部分门店营收呈现下降的情况!':selectType===3?'不匹配,请关注营收与车流增幅产生较大差异的服务区!':selectType===4?'不匹配,请关注营收与车流降幅产生较大差异的服务区!':''}}</view>
</view>
</view>
</view>

View File

@ -63,9 +63,12 @@
<view class="descBox">
<view class="descTitle">
<text>预警说明</text><view class="desc">
{{'请重点'}}
{{'请重点关注带'}}
<image class="notice" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/warningIcon.png"/>
{{selectTab===1?'关注入区车流增加自营商超营收同步增长,服务区整体营收呈现下降的情况!':selectTab===2?'关注入区车流增加自营商超营收同步增长,服务区部分门店营收呈现下降的情况!':selectTab===3?'关注营收与车流增幅产生较大差异的服务区!增幅差额=车流增幅-营收增幅,越大越不好,倒序排列':selectTab===4?'关注营收与车流降幅产生较大差异的服务区!增幅差额=销售增幅-车流降幅,越大越不好,倒序排列':''}}
{{selectTab===1?'标识的服务区,入区车流增加自营商超营收同步增长,服务区整体营收呈现下降的情况!':
selectTab===2?'标识的服务区,入区车流增加自营商超营收同步增长,服务区部分门店营收呈现下降的情况!':
selectTab===3?'标识的服务区,营收与车流增幅产生较大差异的服务区!增幅差额=车流增幅-营收增幅,越大越不好,倒序排列':
selectTab===4?'标识的服务区,营收与车流降幅产生较大差异的服务区!增幅差额=销售增幅-车流降幅,越大越不好,倒序排列':''}}
</view></view>
</view>
</view>

View File

@ -237,7 +237,14 @@
<view class="listItem" v-for="(item,index) in dataList" :key="index" @click="handleGoDetail(item)">
<image class="bg" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/shopItemBg.png"/>
<view class="listItemLeft">
<image class="shopLogo" :src="item.Brand_ICO"/>
<view class="picBox">
<image class="shopLogo" :src="item.Brand_ICO"/>
</view>
<view class="stateBox" v-if="item.BUSINESS_STATE===3000">
<view class="stateIcon"></view>
<text class="stateText">关闭</text>
</view>
</view>
<view class="listItemRight">
<view class="rightTop">
@ -250,10 +257,13 @@
<image class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/goMore.svg"/>
</view>
</view>
<text class="MERCHANTS_NAME">{{item.MERCHANTS_NAME || ''}}</text>
<view class="MERCHANTS_NAMEBox">
<text class="MERCHANTS_NAME">{{item.MERCHANTS_NAME || ''}}</text>
<!-- style="margin-right: 12rpx"-->
<text class="type" >{{ businessTypeObj[item.BUSINESS_TYPE] }}</text>
</view>
<view class="rightBottom">
<text class="type" style="margin-right: 12rpx">{{ businessTypeObj[item.BUSINESS_TYPE] }}</text>
<text class="endTime">{{ `${item.ENDDATE}结束` }}</text>
<text class="endTime">{{ `项目期数:${item.PERIOD_INDEX} ${item.STARTDATE}-${item.ENDDATE}` }}</text>
</view>
<view class="rightBottomMoney">
<view style="width: 50%">
@ -1013,14 +1023,37 @@ export default {
bottom: 0;
}
.listItemLeft{
width: 96rpx;
height: 96rpx;
border-radius: 16rpx;
margin-right: 16rpx;
overflow: hidden;
.shopLogo{
.picBox{
width: 96rpx;
height: 96rpx;
border-radius: 16rpx;
margin-right: 16rpx;
overflow: hidden;
.shopLogo{
width: 96rpx;
height: 96rpx;
}
}
.stateBox{
margin-top: 40rpx;
display: flex;
align-items: center;
justify-content: center;
width: 96rpx;
.stateIcon{
width: 12rpx;
height: 12rpx;
border-radius: 50%;
background: #ff4d4f;
margin-right: 12rpx;
}
.stateText{
font-size: 24rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
color: #9A9A9A;
line-height: 36rpx;
}
}
}
.listItemRight{
@ -1078,24 +1111,46 @@ export default {
}
}
}
.MERCHANTS_NAME{
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #571519;
line-height: 44rpx;
text-align: left;
font-style: normal;
padding: 4rpx 16rpx;
background: #FCF1D3;
border-radius: 4rpx;
display: inline-block;
max-width: calc(100% - 64rpx);
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
.MERCHANTS_NAMEBox{
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
.MERCHANTS_NAME{
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #571519;
line-height: 44rpx;
text-align: left;
font-style: normal;
padding: 4rpx 16rpx;
background: #FCF1D3;
border-radius: 4rpx;
display: inline-block;
max-width: 70%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.type{
max-width: 25%;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #1979FE;
line-height: 36rpx;
text-align: left;
font-style: normal;
display: inline-block;
padding: 2rpx 8rpx;
background: #E3EFFF;
border-radius: 4rpx;
}
}
.rightBottom{
margin-top: 12rpx;
.type{
font-family: PingFangSC, PingFang SC;
font-weight: 400;

View File

@ -31,7 +31,7 @@
</view>
<view class="rightBottom">
<text class="type">{{ businessTypeObj[detail.BUSINESS_TYPE] }}</text>
<text class="type" style="margin-left: 12rpx">{{ `${detail.ENDDATE}结束` }}</text>
<!-- <text class="type" style="margin-left: 12rpx">{{ `${detail.ENDDATE}结束` }}</text>-->
</view>
<view class="MERCHANTS_NAMERightBox">
@ -65,7 +65,10 @@
</view>
<view class="line" v-if="detail.BUSINESS_ENDDATE"></view>
<text class="overTime" v-if="detail.BUSINESS_ENDDATE">{{ `关闭日期${detail.BUSINESS_ENDDATE}` }}</text>
<view v-if="detail.BUSINESS_ENDDATE" style="padding: 16rpx 0 24rpx 0;display: flex;align-items: center;justify-content: space-between">
<text class="overTime" >{{ `门店关闭:${detail.BUSINESS_ENDDATE}` }}</text>
<text class="type" style="margin-left: 12rpx">{{ `项目到期:${detail.ENDDATE}结束` }}</text>
</view>
</view>
</view>
</view>
@ -593,7 +596,7 @@ import {wrapTreeNode} from "../../util/dateTime";
padding: 24rpx 24rpx 0 24rpx;
.contentTop{
display: flex;
align-items: center;
//align-items: center;
justify-content: space-between;
.topLeft{
width: 96rpx;
@ -754,7 +757,18 @@ import {wrapTreeNode} from "../../util/dateTime";
line-height: 36rpx;
text-align: left;
font-style: normal;
padding: 16rpx 0 24rpx 0;
}
.type{
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #5E5A59;
line-height: 36rpx;
text-align: left;
font-style: normal;
padding: 2rpx 8rpx;
background: #FFFFFF;
border-radius: 4rpx;
}
}
}