This commit is contained in:
ylj20011123 2025-09-03 19:13:22 +08:00
parent ad1b7773d5
commit 5b7a374315
4 changed files with 450 additions and 320 deletions

View File

@ -21,22 +21,22 @@
<view class="analysis-container"> <view class="analysis-container">
<view class="modern-tabs"> <view class="modern-tabs">
<view class="tab-item" @tap="selectTab('nowTab', 1)" <view class="tab-item" @click="selectTab('nowTab', 1)"
v-if="theRequest.ProvinceCode == 340000" :class="{ 'active': nowTab == 1 }"> v-if="theRequest.ProvinceCode == 340000" :class="{ 'active': nowTab == 1 }">
<view class="tab-icon">🏢</view> <view class="tab-icon">🏢</view>
<view class="tab-label">经营模式</view> <view class="tab-label">经营模式</view>
</view> </view>
<view class="tab-item" @tap="selectTab('nowTab', 2)" :class="{ 'active': nowTab == 2 }"> <view class="tab-item" @click="selectTab('nowTab', 2)" :class="{ 'active': nowTab == 2 }">
<view class="tab-icon">🏪</view> <view class="tab-icon">🏪</view>
<view class="tab-label">经营业态</view> <view class="tab-label">经营业态</view>
</view> </view>
<view class="tab-item" @tap="selectTab('nowTab', 3)" <view class="tab-item" @click="selectTab('nowTab', 3)"
v-if="areaProgress.length && areaProgress.length > 1" v-if="areaProgress.length && areaProgress.length > 1"
:class="{ 'active': nowTab == 3 }"> :class="{ 'active': nowTab == 3 }">
<view class="tab-icon">🗺</view> <view class="tab-icon">🗺</view>
<view class="tab-label">区域营收</view> <view class="tab-label">区域营收</view>
</view> </view>
<view class="tab-item" @tap="selectTab('nowTab', 4)" <view class="tab-item" @click="selectTab('nowTab', 4)"
v-if="theRequest.ProvinceCode == 340000 && theRequest.GroupType == 1000" v-if="theRequest.ProvinceCode == 340000 && theRequest.GroupType == 1000"
:class="{ 'active': nowTab == 4 }"> :class="{ 'active': nowTab == 4 }">
<view class="tab-icon">🚗</view> <view class="tab-icon">🚗</view>
@ -166,7 +166,7 @@
<template v-if="theRequest && theRequest.GroupType == 1020 && regionList.length"> <template v-if="theRequest && theRequest.GroupType == 1020 && regionList.length">
<view class="service-list"> <view class="service-list">
<view v-for="(item, i) in regionList[0].child" :key="i" class="service-card" <view v-for="(item, i) in regionList[0].child" :key="i" class="service-card"
@tap="toDetail(item)"> @click="toDetail(item)">
<view class="service-header"> <view class="service-header">
<view class="service-info"> <view class="service-info">
<view class="service-name">🏢 {{ item.serverpart_Name }}</view> <view class="service-name">🏢 {{ item.serverpart_Name }}</view>
@ -196,7 +196,7 @@
<template v-else-if="theRequest && theRequest.GroupType == 1000"> <template v-else-if="theRequest && theRequest.GroupType == 1000">
<view class="region-list" v-show="regionShow1"> <view class="region-list" v-show="regionShow1">
<block v-for="(item, i) in regionList" :key="i"> <block v-for="(item, i) in regionList" :key="i">
<view class="region-card" @tap="toggleRegion(item)"> <view class="region-card" @click="toggleRegion(item)">
<view class="region-main"> <view class="region-main">
<view class="region-info"> <view class="region-info">
<view class="region-name">{{ item.name }}</view> <view class="region-name">{{ item.name }}</view>
@ -226,7 +226,8 @@
</view> </view>
<view class="service-sublist" v-show="item.show"> <view class="service-sublist" v-show="item.show">
<view class="subservice-card" v-for="(child, index) in item.child" <view class="subservice-card" v-for="(child, index) in item.child"
:class="{ 'visited': child.visited }" :key="index" @tap="toDetail(child)"> :class="{ 'visited': child.visited }" :key="index"
@click.stop="toDetail(child)">
<view class="subservice-info"> <view class="subservice-info">
<view class="subservice-name">{{ child.serverpart_Name }}</view> <view class="subservice-name">{{ child.serverpart_Name }}</view>
<view class="subservice-revenue">{{ $util.fmoney(child.cashpay, 2) }} <view class="subservice-revenue">{{ $util.fmoney(child.cashpay, 2) }}
@ -360,8 +361,6 @@ export default {
let canToSeverpartIndex = !provinceId ? this.hasSeverpartIndexAuthority : this.PushAuthority.some(n => { let canToSeverpartIndex = !provinceId ? this.hasSeverpartIndexAuthority : this.PushAuthority.some(n => {
return n.ProvinceCode == provinceId && n.ShopAnalysisType == 1 return n.ProvinceCode == provinceId && n.ShopAnalysisType == 1
}) })
console.log('severpartIndexPath', severpartIndexPath)
console.log('canToSeverpartIndex', canToSeverpartIndex)
this.$util.toNextRoute('navigateTo', severpartIndexPath) this.$util.toNextRoute('navigateTo', severpartIndexPath)
item.visited = true item.visited = true
@ -793,6 +792,7 @@ export default {
position: relative; position: relative;
box-sizing: border-box; box-sizing: border-box;
min-height: 100vh; min-height: 100vh;
padding-bottom: env(safe-area-inset-bottom);
} }
.uni-flex-column { .uni-flex-column {
@ -1756,6 +1756,7 @@ canvas.operation-content {
border: none; border: none;
background: transparent; background: transparent;
color: #666; color: #666;
margin: 0 8rpx;
} }
.tab-item.active { .tab-item.active {

View File

@ -1,6 +1,5 @@
<template> <template>
<view :style="showUnUpLoad ? 'overflow:hideen;height:100vh;' : 'height:100%;'" class="page-body" <view class="page-body" scroll-with-animation v-if="showPage">
scroll-with-animation v-if="showPage">
<div class="box-card" :style="'opacity:' + (1 - opacity) + ';'"> <div class="box-card" :style="'opacity:' + (1 - opacity) + ';'">
<div class="box-top-title"> <div class="box-top-title">
<span class="box-center-title">{{ sMsg.serverpartname }}</span> <span class="box-center-title">{{ sMsg.serverpartname }}</span>
@ -12,7 +11,7 @@
</div> </div>
<view class="top-card"> <view class="top-card">
<div class="box-center-box"> <div class="box-center-box">
<div class="uni-flex ai-center jc-between"> <div class="uni-flex ai-center jc-between" style="margin-bottom: 8rpx;">
<div class="main-amount-title">对客营收()</div> <div class="main-amount-title">对客营收()</div>
<div class="tab-unit" @tap="showPop"> <div class="tab-unit" @tap="showPop">
<span>上传门店</span> <span>上传门店</span>
@ -715,6 +714,8 @@ export default {
box-sizing: border-box; box-sizing: border-box;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
min-height: 100vh; min-height: 100vh;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
} }
.mt8 { .mt8 {
@ -808,9 +809,9 @@ cover-view.page-title {
.tab-content { .tab-content {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 24rpx; // margin-top: 24rpx;
transition: all 0.5s cubic-bezier(0, 1, 0.5, 1); transition: all 0.5s cubic-bezier(0, 1, 0.5, 1);
margin: 24rpx auto 0 auto; margin: 0 auto 0 auto;
overflow: hidden; overflow: hidden;
height: inherit; height: inherit;
width: inherit; width: inherit;
@ -926,7 +927,7 @@ cover-view.page-title {
} }
.shop-card .price-num { .shop-card .price-num {
font-size: 36rpx; font-size: 28rpx;
font-family: 'DIN Alternate', 'Bahnschrift', sans-serif; font-family: 'DIN Alternate', 'Bahnschrift', sans-serif;
font-weight: 700; font-weight: 700;
text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.3); text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.3);
@ -934,7 +935,7 @@ cover-view.page-title {
} }
.box-card { .box-card {
padding: 32rpx 24rpx 0; padding: 32rpx 24rpx 16rpx;
background-color: #fff; background-color: #fff;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@ -959,7 +960,7 @@ cover-view.page-title {
.top-card { .top-card {
background: linear-gradient(135deg, #27B25F 0%, #4CCC7F 100%); background: linear-gradient(135deg, #27B25F 0%, #4CCC7F 100%);
margin-top: 32rpx; margin-top: 32rpx;
padding: 40rpx 0; padding: 24rpx 0;
border-radius: 16rpx; border-radius: 16rpx;
position: relative; position: relative;
box-shadow: 0 8rpx 24rpx rgba(39, 178, 95, 0.2); box-shadow: 0 8rpx 24rpx rgba(39, 178, 95, 0.2);
@ -981,6 +982,8 @@ cover-view.page-title {
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
font-family: 'DIN Alternate', 'Bahnschrift', sans-serif; font-family: 'DIN Alternate', 'Bahnschrift', sans-serif;
font-weight: 500; font-weight: 500;
display: flex;
align-items: center;
} }
.budget-title { .budget-title {
@ -994,7 +997,7 @@ cover-view.page-title {
.up-text-title, .up-text-title,
.down-text-title { .down-text-title {
font-size: 34rpx; font-size: 32rpx;
font-family: 'DIN Alternate', 'Bahnschrift', sans-serif; font-family: 'DIN Alternate', 'Bahnschrift', sans-serif;
font-weight: 600; font-weight: 600;
line-height: 1.3; line-height: 1.3;
@ -1083,7 +1086,7 @@ cover-view.page-title {
} }
.center-num { .center-num {
font-size: 40rpx; font-size: 32rpx;
color: #fff; color: #fff;
font-family: 'DIN Alternate', 'Bahnschrift', sans-serif; font-family: 'DIN Alternate', 'Bahnschrift', sans-serif;
font-weight: 700; font-weight: 700;
@ -1110,7 +1113,7 @@ cover-view.page-title {
border-radius: 20rpx; border-radius: 20rpx;
color: #fff; color: #fff;
font-size: 26rpx; font-size: 26rpx;
padding: 8rpx 16rpx; padding: 2rpx 16rpx;
font-weight: 500; font-weight: 500;
backdrop-filter: blur(10rpx); backdrop-filter: blur(10rpx);
border: 1rpx solid rgba(255, 255, 255, 0.3); border: 1rpx solid rgba(255, 255, 255, 0.3);
@ -1118,7 +1121,7 @@ cover-view.page-title {
.check-price-color { .check-price-color {
color: #fff; color: #fff;
font-size: 38rpx; font-size: 28rpx;
font-family: 'DIN Alternate', 'Bahnschrift', sans-serif; font-family: 'DIN Alternate', 'Bahnschrift', sans-serif;
line-height: 1.3; line-height: 1.3;
font-weight: 600; font-weight: 600;
@ -1126,7 +1129,7 @@ cover-view.page-title {
} }
.check-price-color text { .check-price-color text {
font-size: 22rpx; font-size: 24rpx;
} }
.tab-icon2 { .tab-icon2 {
@ -1316,7 +1319,7 @@ cover-view.page-title {
// //
.model-busniess { .model-busniess {
font-family: 'DIN Alternate', 'Bahnschrift', sans-serif; font-family: 'DIN Alternate', 'Bahnschrift', sans-serif;
padding: 24rpx 24rpx 0; padding: 8rpx 24rpx;
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
border-radius: 12rpx; border-radius: 12rpx;
border: 1rpx solid #f0f0f0; border: 1rpx solid #f0f0f0;
@ -1327,7 +1330,7 @@ cover-view.page-title {
font-size: 28rpx; font-size: 28rpx;
font-weight: 600; font-weight: 600;
color: #333; color: #333;
margin-bottom: 16rpx; // margin-bottom: 16rpx;
} }
.model-busniess .progress-content { .model-busniess .progress-content {
@ -1336,7 +1339,7 @@ cover-view.page-title {
border-radius: 6rpx; border-radius: 6rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin: 20rpx 0 16rpx; margin: 8rpx 0 8rpx;
overflow: hidden; overflow: hidden;
box-shadow: inset 0 2rpx 4rpx rgba(0, 0, 0, 0.1); box-shadow: inset 0 2rpx 4rpx rgba(0, 0, 0, 0.1);
} }

View File

@ -5,8 +5,12 @@
<span> {{ (i > 8 ? i + 1 : '0' + (i + 1)) + ' ' + item.SHOPNAME }}</span> <span> {{ (i > 8 ? i + 1 : '0' + (i + 1)) + ' ' + item.SHOPNAME }}</span>
<p> <p>
<span v-show="item.UNACCOUNT_SIGN"></span> <span v-show="item.UNACCOUNT_SIGN"></span>
<span class="cell-price" :style="{'padding-right':!item.UNACCOUNT_SIGN ? '36rpx':'0','font-size':!item.UNACCOUNT_SIGN ? '24rpx':'36rpx'}">{{item.UNACCOUNT_SIGN ? $util.fmoney(item.CASHPAY_TOTAL,2): '无结账信息'}}</span> <span class="cell-price"
<image src="/static/images/effective/true.png" mode="aspectFit" class="" v-if='item.SHOWDEAL_SIGN'></image> :style="{ 'padding-right': !item.UNACCOUNT_SIGN ? '0' : '0', 'font-size': !item.UNACCOUNT_SIGN ? '24rpx' : '24rpx' }">{{
item.UNACCOUNT_SIGN
? $util.fmoney(item.CASHPAY_TOTAL, 2) : '无结账信息' }}</span>
<image src="/static/images/effective/true.png" mode="aspectFit" class="" v-if='item.SHOWDEAL_SIGN'>
</image>
<!-- <text class="uni-icon uni-icon-checkmarkempty" v-if='item.SHOWDEAL_SIGN'></text> --> <!-- <text class="uni-icon uni-icon-checkmarkempty" v-if='item.SHOWDEAL_SIGN'></text> -->
</p> </p>
@ -20,25 +24,32 @@
<div class="uni-inline-flex"> <div class="uni-inline-flex">
<span class="detail-title">结账时间</span> <span class="detail-title">结账时间</span>
<div style="flex: 1;text-align: left;"> <div style="flex: 1;text-align: left;">
<div> {{unit.ENDACCOUNT_STARTDATE}}</div> <div style="font-size: 24rpx;"> {{ unit.ENDACCOUNT_STARTDATE }}</div>
<div> {{unit.ENDACCOUNT_DATE}}</div> <div style="font-size: 24rpx;"> {{ unit.ENDACCOUNT_DATE }}</div>
</div> </div>
<span style="color:#EE7941;margin-right:50rpx;padding-top: 42rpx;">{{getHour(unit.ENDACCOUNT_STARTDATE,unit.ENDACCOUNT_DATE)}}小时</span> <span style="color:#EE7941;margin-right:50rpx;padding-top: 20rpx;font-size: 24rpx;">{{
getHour(unit.ENDACCOUNT_STARTDATE, unit.ENDACCOUNT_DATE) }}小时</span>
</div> </div>
<block v-if="unit.DESCRIPTION_DATE"> <block v-if="unit.DESCRIPTION_DATE">
<div class="detail-title">日结校验{{ unit.DESCRIPTION_DATE }}</div> <div class="detail-title">日结校验{{ unit.DESCRIPTION_DATE }}</div>
<p><span class="detail-title">{{unit.DESCRIPTION_STAFF}}</span><span>{{unit.DIFFERENCE_REASON}}</span></p> <p><span class="detail-title">{{ unit.DESCRIPTION_STAFF }}</span><span>{{ unit.DIFFERENCE_REASON
}}</span>
</p>
</block> </block>
<block v-if="unit.APPROVE_DATE"> <block v-if="unit.APPROVE_DATE">
<div><span class="detail-title">日结审核{{ unit.APPROVE_DATE }}</span></div> <div><span class="detail-title">日结审核{{ unit.APPROVE_DATE }}</span></div>
<p><span class="detail-title">{{unit.APPROVE_STAFF}}</span><span>{{unit.APPROVED_INFO}}</span></p> <p><span class="detail-title">{{ unit.APPROVE_STAFF }}</span><span>{{ unit.APPROVED_INFO }}</span>
</p>
</block> </block>
<div> <div>
<p class="detail-short-info" v-show="unit.FACTAMOUNT_SALE">单品报表:<text class="uni-icon uni-icon-checkmarkempty" ></text></p> <p class="detail-short-info" v-show="unit.FACTAMOUNT_SALE">单品报表<text
<p class="detail-short-info" v-show="unit.FACTAMOUNT_CIGARETTE">香烟数据:<span class="uni-icon uni-icon-checkmarkempty"></span></p> class="uni-icon uni-icon-checkmarkempty"></text></p>
<p class="detail-short-info" v-show="unit.FACTAMOUNT_CIGARETTE">香烟数据<span
class="uni-icon uni-icon-checkmarkempty"></span></p>
</div> </div>
<div><span class="detail-title detail-short-info">稽核次数{{unit.CHECK_COUNT}} </span><span class="detail-short-info">长短款额{{$util.fmoney(unit.DIFFERENT_PRICE)}} </span></div> <div><span class="detail-title detail-short-info">稽核次数{{ unit.CHECK_COUNT }} </span><span
class="detail-short-info">长短款额{{ $util.fmoney(unit.DIFFERENT_PRICE) }} </span></div>
<div> <div>
<span class="detail-title detail-short-info">现金缴款{{ $util.fmoney(unit.CASHPAY_DOWNLORD) }} </span> <span class="detail-title detail-short-info">现金缴款{{ $util.fmoney(unit.CASHPAY_DOWNLORD) }} </span>
<span class="detail-short-info">移动支付{{ $util.fmoney(unit.MOBILEPAYMENT) }} </span> <span class="detail-short-info">移动支付{{ $util.fmoney(unit.MOBILEPAYMENT) }} </span>
@ -81,112 +92,186 @@
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.analysis-cell { .analysis-cell {
/* height: 1140rpx; */ background-color: #fff;
background-color: #ffffff; border-radius: 16rpx;
border-bottom: 2rpx solid #F8F8F8; margin-bottom: 16rpx;
padding: 24rpx 20rpx 18rpx 30rpx; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
padding: 16rpx 16rpx 8rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
transition: all 0.3s ease;
position: relative;
&.active {
border: 2rpx solid #27B25F;
box-shadow: 0 4px 20px rgba(39, 178, 95, 0.15);
}
} }
.analysis-cell .shop-title { .analysis-cell .shop-title {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
position: relative; position: relative;
margin-left: 20rpx; font-size: 24rpx;
font-size: 26rpx; font-weight: 600;
height: 100%; align-items: flex-start;
span {
color: #333;
flex: 1;
}
p {
display: flex;
align-items: center; align-items: center;
flex-shrink: 0;
}
} }
.analysis-cell .shop-title:before { .analysis-cell .shop-title:before {
content: ''; content: '';
position: absolute; position: absolute;
width: 20rpx; width: 24rpx;
height: 20rpx; height: 24rpx;
border-radius: 20rpx; border-radius: 50%;
background: url(/static/images/revenue/select.png) no-repeat center; left: -40rpx;
background-size: contain; top: 4rpx;
left: -32rpx; background: #e0e0e0;
border: 3rpx solid #fff;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
} }
.analysis-cell.active .shop-title:before { .analysis-cell.active .shop-title:before {
background: url(/static/images/revenue/select_active.png) no-repeat center; background: #27B25F;
background-size: contain; box-shadow: 0 2rpx 12rpx rgba(39, 178, 95, 0.3);
} }
.shop-title image { .shop-title image {
width: 40rpx; width: 32rpx;
height: 40rpx; height: 32rpx;
margin-left: 16rpx; margin-left: 12rpx;
vertical-align: text-bottom; border-radius: 4rpx;
} }
.analysis-cell .cell-price { .analysis-cell .cell-price {
color: #565656; color: #27B25F;
font-family: Bahnschrift Regular; font-family: 'PingFang SC', sans-serif;
font-size: 38rpx; font-size: 24rpx;
font-weight: 700;
}
.atribute-tag {
display: inline-block;
background: linear-gradient(135deg, #ff9f43, #ff8c42);
color: #fff;
padding: 4rpx 12rpx;
margin: 4rpx 8rpx 4rpx 0;
border-radius: 20rpx;
font-size: 20rpx;
font-weight: 500;
box-shadow: 0 2rpx 8rpx rgba(255, 159, 67, 0.2);
} }
.analysis-detail { .analysis-detail {
background-color: #fff; background-color: #f8f9fa;
border-radius: 12rpx;
position: relative; position: relative;
overflow: hidden;
// margin-top: 16rpx;
border: 1rpx solid #f0f0f0;
} }
.analysis-detail span, .analysis-detail view{
.analysis-detail span,
.analysis-detail view {
color: #333; color: #333;
font-size: 24rpx ; font-size: 26rpx;
} }
.uni-icon-checkmarkempty, .analysis-detail span.uni-icon-checkmarkempty {
color: #4F8E24; .uni-icon-checkmarkempty,
font-size: 36rpx; .analysis-detail span.uni-icon-checkmarkempty {
color: #2ed573;
font-size: 32rpx;
font-weight: 600;
} }
.analysis-detail::before { .analysis-detail::before {
content: ''; content: '';
width: 24rpx; width: 0;
height: 12rpx; height: 0;
background: url(/static/images/revenue/bg-s.png) no-repeat center; border-left: 12rpx solid transparent;
background-size: contain; border-right: 12rpx solid transparent;
display: block; border-bottom: 16rpx solid #f8f9fa;
position: absolute; position: absolute;
top: -12rpx; top: -16rpx;
left: 48rpx; left: 32rpx;
} }
.analysis-detail .detail-unit { .analysis-detail .detail-unit {
background-color: #F8F8F8; background-color: #fff;
line-height: 2; padding: 24rpx;
padding: 20rpx 10rpx 20rpx 50rpx; border-radius: 8rpx;
// margin: 16rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
&:first-child {
// margin-top: 24rpx;
}
&:last-child {
margin-bottom: 24rpx;
}
} }
.analysis-detail .detail-unit>div { .analysis-detail .detail-unit>div {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 12rpx; align-items: flex-start;
margin-bottom: 16rpx;
&:last-child {
margin-bottom: 0;
}
} }
.analysis-detail .detail-unit>p { .analysis-detail .detail-unit>p {
margin-top: 12rpx; margin-bottom: 16rpx;
}
.analysis-detail .detail-unit+.detail-unit {
margin-top: 20rpx;
}
.analysis-cell .atribute-tag { &:last-child {
color: #EE7941; margin-bottom: 0;
margin-left: 10rpx; }
font-size: 24rpx;
} }
.analysis-detail span { .analysis-detail span {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
line-height: 1.4;
} }
.analysis-detail .detail-title { .analysis-detail .detail-title {
min-width: 120rpx; min-width: 140rpx;
color: #666;
font-weight: 500;
font-size: 24rpx;
} }
.analysis-detail .detail-short-info { .analysis-detail .detail-short-info {
width: 50%; width: 50%;
color: #333;
font-size: 24rpx;
&:first-child {
padding-right: 16rpx;
}
}
.uni-inline-flex {
span:last-child {
color: #ff9f43;
font-weight: 600;
font-size: 28rpx;
}
} }
</style> </style>

View File

@ -13,9 +13,9 @@
<div class="price-num">{{ pageMsg.Revenue_Amount ? $util.fmoney(pageMsg.Revenue_Amount, 2) : '0.00' }}</div> <div class="price-num">{{ pageMsg.Revenue_Amount ? $util.fmoney(pageMsg.Revenue_Amount, 2) : '0.00' }}</div>
</div> </div>
<!--服务区门店分析--> <!--服务区门店分析-->
<div style="margin-top: 0 20rpx;padding: 0 16rpx">
<div style="margin-top: 0 20rpx;" > <shopCell v-for="(item, i) in pageMsg.ShopEndaccountList" :key="i" :item='item' @toggleShow="toggleShow"
<shopCell v-for="(item,i) in pageMsg.ShopEndaccountList" :key="i" :item='item' @toggleShow="toggleShow" :i='i'></shopCell> :i='i'></shopCell>
</div> </div>
</div> </div>
@ -78,6 +78,8 @@
n.detail = this.getDetail(n) n.detail = this.getDetail(n)
}) })
_this.pageMsg = res.Result_Data _this.pageMsg = res.Result_Data
console.log('_this.pageMsg_this.pageMsg_this.pageMsg', _this.pageMsg);
_this.showPage = true _this.showPage = true
}) })
}, },
@ -98,6 +100,7 @@
}) })
res.Result_Data.ShopEndaccountList = res.Result_Data.listBrandShopModel res.Result_Data.ShopEndaccountList = res.Result_Data.listBrandShopModel
_this.pageMsg = res.Result_Data _this.pageMsg = res.Result_Data
console.log('_this.pageMsg_this.pageMsg_this.pageMsg', _this.pageMsg);
_this.showPage = true _this.showPage = true
}) })
}, },
@ -119,40 +122,78 @@
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.page-body { .page-body {
background-color: #fff; background-color: #f8f9fa;
padding-top: 40rpx; padding: 32rpx 24rpx;
height: 100%; min-height: 100vh;
} }
/*服务区分析*/
/* 服务区品牌详情 */ /* 服务区品牌详情 */
.service-brand-box { .service-brand-box {
width: 100%;
width: 693rpx; box-sizing: border-box;
height: 103rpx; padding: 24rpx;
color: #fff; margin-bottom: 32rpx;
border-radius: 10rpx; background: linear-gradient(135deg, #27B25F 0%, #4CCC7F 100%);
background: url('https://eshangtech.com/ShopICO/ahyd-BID/revenue/brand-card.png') no-repeat 60rpx center,linear-gradient(#98a1c2 0%, #aab3d0 100%); border-radius: 24rpx;
background-size: contain; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0 auto;
padding: 0 25rpx;
justify-content: space-between; justify-content: space-between;
box-sizing: border-box; position: relative;
overflow: hidden;
&::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 200rpx;
height: 200rpx;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
z-index: 1;
} }
&::after {
content: '';
position: absolute;
bottom: -30%;
left: -10%;
width: 120rpx;
height: 120rpx;
background: rgba(255, 255, 255, 0.08);
border-radius: 50%;
z-index: 1;
}
}
.service-brand-box image { .service-brand-box image {
height: 60rpx; width: 72rpx;
width: 60rpx; height: 72rpx;
border: 2rpx solid #fff; border: 3rpx solid rgba(255, 255, 255, 0.8);
border-radius: 50%; border-radius: 50%;
margin-right: 24rpx; margin-right: 24rpx;
position: relative;
z-index: 2;
} }
.service-brand-box .price-num {
font-size: 40rpx; .band-name {
font-family: Bahnschrift Regular; color: #fff;
font-size: 28rpx;
font-weight: 600;
position: relative;
z-index: 2;
}
.price-num {
color: #fff;
font-size: 32rpx;
font-weight: 700;
font-family: 'PingFang SC', sans-serif;
position: relative;
z-index: 2;
text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
} }
</style> </style>