This commit is contained in:
cclu 2024-05-30 11:21:59 +08:00
parent c10acc5693
commit 8fa8aeac4c
3 changed files with 37 additions and 30 deletions

View File

@ -192,14 +192,14 @@
<text class="sortName">门店名称</text> <text class="sortName">门店名称</text>
</view> </view>
<view class="sortItem" style="width: 25%" @click="handleChangeSortName(1)"> <view class="sortItem" style="width: 25%;justify-content: flex-end" @click="handleChangeSortName(1)">
<text class="sortName">营收金额</text> <text class="sortName">营收金额</text>
<view class="sortIconBox"> <view class="sortIconBox">
<image class="upIcon" :style="{transform: sortName===1?sortType===1?``:`rotate(180deg)`:``}" :src="sortType===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg':sortName===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/downDesc.svg':'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg'"/> <image class="upIcon" :style="{transform: sortName===1?sortType===1?``:`rotate(180deg)`:``}" :src="sortType===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg':sortName===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/downDesc.svg':'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg'"/>
<image class="bottomIcon" :style="{transform: sortName===1?sortType===1?``:`rotate(180deg)`:'rotate(-180deg)'}":src="sortType===1 && sortName===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/downDesc.svg':'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg'"/> <image class="bottomIcon" :style="{transform: sortName===1?sortType===1?``:`rotate(180deg)`:'rotate(-180deg)'}":src="sortType===1 && sortName===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/downDesc.svg':'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg'"/>
</view> </view>
</view> </view>
<view class="sortItem" style="width: 25%" @click="handleChangeSortName(2)"> <view class="sortItem" style="width: 25%;justify-content: flex-end" @click="handleChangeSortName(2)">
<text class="sortName">盈利金额</text> <text class="sortName">盈利金额</text>
<view class="sortIconBox"> <view class="sortIconBox">
<image class="upIcon" :style="{transform: sortName===2?sortType===1?``:`rotate(180deg)`:``}" :src="sortType===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg':sortName===2?'https://eshangtech.com/ShopICO/ahyd-BID/car/downDesc.svg':'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg'"/> <image class="upIcon" :style="{transform: sortName===2?sortType===1?``:`rotate(180deg)`:``}" :src="sortType===1?'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg':sortName===2?'https://eshangtech.com/ShopICO/ahyd-BID/car/downDesc.svg':'https://eshangtech.com/ShopICO/ahyd-BID/car/upDesc.svg'"/>
@ -618,7 +618,7 @@ export default {
border-bottom-right-radius: 16rpx; border-bottom-right-radius: 16rpx;
border-bottom-left-radius: 16rpx; border-bottom-left-radius: 16rpx;
box-sizing: border-box; box-sizing: border-box;
padding: 24rpx; padding: 32rpx;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
.errorItem{ .errorItem{
@ -647,7 +647,7 @@ export default {
.itemValue{ .itemValue{
font-family: DINAlternate, DINAlternate; font-family: DINAlternate, DINAlternate;
font-weight: bold; font-weight: bold;
font-size: 36rpx; font-size: 28rpx;
color: #160002; color: #160002;
line-height: 44rpx; line-height: 44rpx;
text-align: left; text-align: left;
@ -656,8 +656,8 @@ export default {
.itemLabel{ .itemLabel{
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 26rpx;
color: #786B6C; color: #160002;
line-height: 40rpx; line-height: 40rpx;
text-align: left; text-align: left;
font-style: normal; font-style: normal;
@ -670,12 +670,13 @@ export default {
.servicepartContent{ .servicepartContent{
width: 100%; width: 100%;
height: calc(100vh - 616rpx); //height: calc(100vh - 616rpx);
margin-top: 24rpx;
border-top-left-radius: 32rpx; border-top-left-radius: 32rpx;
border-top-right-radius: 32rpx; border-top-right-radius: 32rpx;
background: #fff; background: #fff;
box-sizing: border-box; box-sizing: border-box;
padding: 32rpx 0 32rpx 32rpx; padding: 24rpx 0 32rpx 32rpx;
.contentTitle{ .contentTitle{
display: flex; display: flex;
align-items: center; align-items: center;
@ -705,10 +706,10 @@ export default {
.fixedRight{ .fixedRight{
width: 138rpx; width: 138rpx;
height: 72rpx; //height: 72rpx;
background: #fff; background: #fff;
box-sizing: border-box; box-sizing: border-box;
padding: 22rpx; //padding: 22rpx;
display: flex; display: flex;
align-items: center; align-items: center;
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;

View File

@ -25,7 +25,7 @@
<view class="rightTop"> <view class="rightTop">
<text class="shopName">{{ detail.SERVERPARTSHOP_NAME || ''}}</text> <text class="shopName">{{ detail.SERVERPARTSHOP_NAME || ''}}</text>
<view class="fixedBox"> <view class="fixedBox">
<image class="fixed"/> <image class="fixed" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/fixed.png"/>
<text class="serverPartName">{{ detail.SERVERPART_NAME || '' }}</text> <text class="serverPartName">{{ detail.SERVERPART_NAME || '' }}</text>
</view> </view>
</view> </view>
@ -64,7 +64,8 @@
</view> </view>
</view> </view>
<view class="detailContentBox" :style="{height: `calc(100vh - ${menu.bottom}px - 510rpx)`}"> <view class="detailContentBox" >
<!-- :style="{height: `calc(100vh - ${menu.bottom}px - 510rpx)`}"-->
<view class="contentBox"> <view class="contentBox">
<view class="tabBox"> <view class="tabBox">
<view :class="selectTab===1?'tabItem selectItemLeft':'tabItem'" @click="handleChangeTab(1)"> <view :class="selectTab===1?'tabItem selectItemLeft':'tabItem'" @click="handleChangeTab(1)">
@ -150,19 +151,19 @@
<text class="unit">/万元</text> <text class="unit">/万元</text>
</view> </view>
<view class="contentItem"> <view class="contentItem" style="margin-bottom: 8rpx">
<text class="yellowBgText">{{`${BusinessTradeIdsObj[firstTabDetail.BUSINESS_TRADE]}/${BusinessTradeIdsBigObj[firstTabDetail.BUSINESS_PTRADE]}`}}</text> <text class="yellowBgText">{{`${BusinessTradeIdsObj[firstTabDetail.BUSINESS_TRADE]}/${BusinessTradeIdsBigObj[firstTabDetail.BUSINESS_PTRADE]}`}}</text>
<!-- 地方特色小吃/休闲小吃--> <!-- 地方特色小吃/休闲小吃-->
<text class="yellowBgText">{{ firstTabDetail.SHOPSHORTNAME || '' }}</text> <text class="yellowBgText">{{ firstTabDetail.SHOPSHORTNAME || '' }}</text>
</view> </view>
<view class="contentItem" style="display: flex;align-items: center;flex-wrap: wrap"> <view class="contentItem" style="display: flex;align-items: center;flex-wrap: wrap;margin-bottom: 0">
{{ firstTabDetail.ACCOUNT_RATE>=80?'优于': {{ firstTabDetail.ACCOUNT_RATE>=80?'优于':
firstTabDetail.ACCOUNT_RATE< 80 && firstTabDetail.ACCOUNT_RATE>= 50?'优于': firstTabDetail.ACCOUNT_RATE< 80 && firstTabDetail.ACCOUNT_RATE>= 50?'优于':
firstTabDetail.ACCOUNT_RATE< 50?'租赁收入低于':'' firstTabDetail.ACCOUNT_RATE< 50?'租赁收入低于':''
}}<text style="color: #FE7628;margin: 0 8rpx">{{ firstTabDetail.ACCOUNT_RATE?`${firstTabDetail.ACCOUNT_RATE}%`:'' }}</text> }}<text style="color: #FE7628;margin: 0 8rpx">{{ firstTabDetail.ACCOUNT_RATE?`${firstTabDetail.ACCOUNT_RATE}%`:'' }}</text>
的经营业态项目 的经营业态项目
<view style="display: flex;align-items: center;vertical-align: top"> <view style="display: flex;align-items: center;vertical-align: top;margin-left: 8rpx">
<image class="stateIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/Like.png"/> <image class="stateIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/Like.png"/>
<!-- https://eshangtech.com/ShopICO/ahyd-BID/warning/stateIcon.png--> <!-- https://eshangtech.com/ShopICO/ahyd-BID/warning/stateIcon.png-->
<text class="stateText">{{ <text class="stateText">{{
@ -181,7 +182,7 @@
</view> </view>
</view> </view>
<view class="contentTitle" style="margin-top: 46rpx"> <view class="contentTitle" style="margin-top: 40rpx">
<text class="typeText">{{SERVERPARTTYPEOBJ[firstTabDetail.SERVERPART_TYPE]}}</text>口径下 <text class="typeText">{{SERVERPARTTYPEOBJ[firstTabDetail.SERVERPART_TYPE]}}</text>口径下
</view> </view>
@ -196,7 +197,7 @@
<text class="unit">/{{ firstTabDetail.TRADE_COUNT_TYPE }}</text> <text class="unit">/{{ firstTabDetail.TRADE_COUNT_TYPE }}</text>
</view> </view>
<view class="contentTitle" style="padding-left: 14rpx;margin-top: 46rpx;display: flex;align-items: center"> <view class="contentTitle" style="padding-left: 14rpx;margin-top: 40rpx;display: flex;align-items: center">
在所有 在所有
<view class="YdBox"> <view class="YdBox">
<image class="YDLogo" src="https://eshangtech.com/ShopICO/ahyd-BID/tabBar/company_active.png"/> <image class="YDLogo" src="https://eshangtech.com/ShopICO/ahyd-BID/tabBar/company_active.png"/>
@ -574,7 +575,9 @@ import {wrapTreeNode} from "../../util/dateTime";
.contentBox{ .contentBox{
width: 100%; width: 100%;
height: 480rpx; height: 480rpx;
background: linear-gradient( 180deg, #CDE1FF 0%, #FFFFFF 100%); background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/warning/detailBg.svg");
background-repeat: no-repeat;
//background: linear-gradient( 180deg, #CDE1FF 0%, #FFFFFF 100%);
border-radius: 14rpx; border-radius: 14rpx;
box-sizing: border-box; box-sizing: border-box;
padding: 24rpx; padding: 24rpx;
@ -665,9 +668,9 @@ import {wrapTreeNode} from "../../util/dateTime";
.value{ .value{
font-family: DINAlternate, DINAlternate; font-family: DINAlternate, DINAlternate;
font-weight: bold; font-weight: bold;
font-size: 42rpx; font-size: 36rpx;
color: #160002; color: #160002;
line-height: 56rpx; line-height: 42rpx;
text-align: left; text-align: left;
font-style: normal; font-style: normal;
} }
@ -703,6 +706,7 @@ import {wrapTreeNode} from "../../util/dateTime";
background: #E3EFFF; background: #E3EFFF;
border-radius: 4rpx; border-radius: 4rpx;
margin-right: 16rpx; margin-right: 16rpx;
white-space: nowrap;
} }
.messageDesc{ .messageDesc{
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
@ -712,13 +716,14 @@ import {wrapTreeNode} from "../../util/dateTime";
line-height: 36rpx; line-height: 36rpx;
text-align: left; text-align: left;
font-style: normal; font-style: normal;
white-space: nowrap;
} }
} }
.line{ .line{
width: 100%; width: 100%;
height: 2rpx; height: 2rpx;
background: #F3F3F3; background: #F3F3F3;
margin: 32rpx 0 16rpx 0; margin: 32rpx 0 0 0;
} }
.overTime{ .overTime{
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
@ -743,7 +748,7 @@ import {wrapTreeNode} from "../../util/dateTime";
margin-top: 32rpx; margin-top: 32rpx;
.contentBox{ .contentBox{
width: 100%; width: 100%;
background: #fff; //background: #fff;
padding-bottom: 40rpx; padding-bottom: 40rpx;
.tabBox{ .tabBox{
width: 100%; width: 100%;
@ -940,7 +945,7 @@ import {wrapTreeNode} from "../../util/dateTime";
line-height: 40rpx; line-height: 40rpx;
text-align: left; text-align: left;
font-style: normal; font-style: normal;
margin-bottom: 20rpx; margin-bottom: 16rpx;
.date{ .date{
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
@ -987,13 +992,14 @@ import {wrapTreeNode} from "../../util/dateTime";
border-radius: 4rpx; border-radius: 4rpx;
} }
.stateIcon{ .stateIcon{
width: 40rpx; width: 35rpx;
height: 40rpx; height: 35rpx;
margin-right: 8rpx;
} }
.stateText{ .stateText{
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 26rpx;
color: #FE7628; color: #FE7628;
line-height: 44rpx; line-height: 44rpx;
text-align: left; text-align: left;
@ -1051,7 +1057,7 @@ import {wrapTreeNode} from "../../util/dateTime";
.indexDesc{ .indexDesc{
background: #E1F3E6; background: #E1F3E6;
border-radius: 4rpx; border-radius: 4rpx;
padding: 2rpx 8rpx; padding: 2rpx 16rpx;
font-family: PingFangSC, PingFang SC; font-family: PingFangSC, PingFang SC;
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;

View File

@ -75,7 +75,7 @@
</view> </view>
<view class="itemRight"> <view class="itemRight">
<text class="itemValue">{{trafficCurrentObj.Stay_Times?trafficCurrentObj.Stay_Times:''}}</text> <text class="itemValue">{{trafficCurrentObj.Stay_Times?trafficCurrentObj.Stay_Times:''}}</text>
</view> </view>
</view> </view>
<view class="itemData"> <view class="itemData">
<text class="itemValue">{{trafficYOYObj.StayTimes_GrowthRate?trafficYOYObj.StayTimes_GrowthRate>0?'+'+trafficYOYObj.StayTimes_GrowthRate+'%':trafficYOYObj.StayTimes_GrowthRate+'%':'-'}}</text> <text class="itemValue">{{trafficYOYObj.StayTimes_GrowthRate?trafficYOYObj.StayTimes_GrowthRate>0?'+'+trafficYOYObj.StayTimes_GrowthRate+'%':trafficYOYObj.StayTimes_GrowthRate+'%':'-'}}</text>
@ -1055,7 +1055,7 @@
<view class="funItem" style="margin-top: 32rpx" @click="goToOperateWarning"> <view class="funItem" style="margin-top: 32rpx" @click="goToOperateWarning">
<view class="funItemContent"> <view class="funItemContent">
<view class="funIconBox"> <view class="funIconBox">
<image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/operateWarning.png"/> <image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/operateWarning.svg"/>
</view> </view>
<text class="funText">经营预警</text> <text class="funText">经营预警</text>
</view> </view>
@ -1063,7 +1063,7 @@
<view class="funItem" style="margin-top: 32rpx" @click="goToProjectWarning"> <view class="funItem" style="margin-top: 32rpx" @click="goToProjectWarning">
<view class="funItemContent"> <view class="funItemContent">
<view class="funIconBox"> <view class="funIconBox">
<image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/projectWarning.png"/> <image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/warning/projectWarning.svg"/>
</view> </view>
<text class="funText">项目预警</text> <text class="funText">项目预警</text>
</view> </view>