From 52bf80d479c683e6bdd99e73b2538fec8c595575 Mon Sep 17 00:00:00 2001
From: cclu <1106109051@qq.com>
Date: Mon, 15 Jan 2024 14:06:51 +0800
Subject: [PATCH] update
---
pages/index/components/numberScroll.vue | 10 +-
pages/index/index.vue | 7 +-
pages/merchantAccount/detail.vue | 220 ++++++++++++++++++++----
pages/merchantAccount/index.vue | 85 +++++++--
4 files changed, 263 insertions(+), 59 deletions(-)
diff --git a/pages/index/components/numberScroll.vue b/pages/index/components/numberScroll.vue
index 7f59ce8..36652b0 100644
--- a/pages/index/components/numberScroll.vue
+++ b/pages/index/components/numberScroll.vue
@@ -1,7 +1,7 @@
-
+
@@ -141,14 +141,14 @@ export default {
}
.l-num{
- font-size: 42rpx;
- font-family: DINAlternate, DINAlternate;
+ font-size: 48rpx;
+ font-family: DINAlternate-Bold, DINAlternate;
font-weight: bold;
color: #160002;
- line-height: 52rpx;
+ line-height: 56rpx;
display: inline-block;
text-align: center;
- height: 52rpx;
+ height: 56rpx;
overflow: hidden;
position: relative;
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 4a5a9e0..52b29fe 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -805,7 +805,7 @@
/{{howDay}}
-
+
@@ -2840,7 +2840,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
width: 100%;
background: linear-gradient(180deg, #DCE6FF 0%, #F3F4F9 100%);
box-sizing: border-box;
- padding-bottom: 20rpx;
+ //padding-bottom: 20rpx;
//padding: 0 16px;
//position: relative;
.headerTop{
@@ -4623,7 +4623,8 @@ $iphoneHeight: env(safe-area-inset-bottom);
background-repeat: no-repeat;
background-size: 100% 100%;
box-sizing: border-box;
- padding: 14rpx 0 32px 0;
+ //padding: 14rpx 0 32px 0;
+ padding: 0 0 32px 0;
//transform: translateY(-16px);
border-top-right-radius: 16px;
border-top-left-radius: 16px;
diff --git a/pages/merchantAccount/detail.vue b/pages/merchantAccount/detail.vue
index 97ef4e0..df85699 100644
--- a/pages/merchantAccount/detail.vue
+++ b/pages/merchantAccount/detail.vue
@@ -16,8 +16,9 @@
-
-
+
+
+
商家
@@ -28,10 +29,10 @@
- 合肥好顺坊餐饮管理有限公司
+ {{item.MerchantName}}
- 6 个项目
+ {{ `${item.ProjectCount}个项目` }}
@@ -43,7 +44,7 @@
到账 /元
- 79.435,54
+ {{item.SubRoyaltyPrice?$util.fmoney(item.SubRoyaltyPrice,2):'-'}}
@@ -53,7 +54,7 @@
入账 /元
- 79.435,54
+ {{item.SubRoyaltyTheory?$util.fmoney(item.SubRoyaltyTheory,2):'-'}}
@@ -63,7 +64,7 @@
应缴 /元
- 79.435,54
+ {{item.ReceivableAmount?$util.fmoney(item.ReceivableAmount,2):'-'}}
@@ -106,14 +107,14 @@
-
-
+
+
- 新桥
+ {{item.ServerpartName.split('服务区')[0]}}
服务区
@@ -121,50 +122,52 @@
- 1
+ {{index+1}}
- 品牌数量4
+ 品牌数量{{item.BrandCount?item.BrandCount:''}}
-
- 收起
-
+
+ {{ item.showChild?'收起':'展开' }}
+
到账/元
- 79.435,54
+ {{item.SubRoyaltyPrice?$util.fmoney(item.SubRoyaltyPrice,2):'-'}}
入账/元
- 79.435,54
+ {{item.SubRoyaltyTheory?$util.fmoney(item.SubRoyaltyTheory,2):'-'}}
应缴/元
- 79.435,54
+ {{item.ReceivableAmount ?$util.fmoney(item.ReceivableAmount ,2):'-'}}
-
-
+
+
-
+
- 老乡鸡
+ {{subItem.BrandName || '-'}}
- 固定租金
- 营收回款
+ {{settlementModes[subItem.SettlementMods]}}
+
+ {{businessType[subItem.BusinessType]}}
+
@@ -172,25 +175,31 @@
到账/元
- 79.435,54
+ {{subItem.SubRoyaltyPrice?$util.fmoney(subItem.SubRoyaltyPrice,2):'-'}}
入账/元
- 79.435,54
+ {{subItem.SubRoyaltyTheory?$util.fmoney(subItem.SubRoyaltyTheory,2):'-'}}
应缴/元
- 79.435,54
+ {{subItem.ReceivableAmount ?$util.fmoney(subItem.ReceivableAmount ,2):'-'}}
+
+
+
+
+ 暂无数据
@@ -403,11 +522,12 @@ export default {
line-height: 36rpx;
}
.itemValue{
- font-size: 28rpx;
+ font-size: 24rpx;
font-family: DINAlternate, DINAlternate;
font-weight: bold;
color: #160002;
line-height: 32rpx;
+ letter-spacing: -0.5px;
}
}
}
@@ -627,11 +747,12 @@ export default {
}
}
.bottomValue{
- font-size: 28rpx;
+ font-size: 24rpx;
font-family: DINAlternate, DINAlternate;
font-weight: bold;
color: #160002;
line-height: 32rpx;
+ letter-spacing: -0.5px;
}
}
}
@@ -643,6 +764,7 @@ export default {
width: 100%;
margin-top: 46rpx;
.smallItem{
+ margin-top: 40rpx;
.smallItemTop{
display: flex;
align-items: center;
@@ -703,6 +825,8 @@ export default {
align-items: center;
.otherItem{
width: calc(100% / 3);
+ display: flex;
+ flex-direction: column;
.otherLabel{
font-size: 24rpx;
font-family: PingFangSC, PingFang SC;
@@ -719,7 +843,7 @@ export default {
}
}
.otherValue{
- font-size: 28rpx;
+ font-size: 24rpx;
font-family: DINAlternate, DINAlternate;
font-weight: bold;
color: #160002;
@@ -731,6 +855,26 @@ export default {
}
}
}
+ .noDataBox{
+ width: 100%;
+ margin-top: 24rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ .typeImg{
+ width: 80px;
+ height: 80px;
+ margin-bottom: 15px;
+ }
+ .noDataText{
+ font-size: 28rpx;
+ font-family: PingFangSC, PingFang SC;
+ font-weight: 400;
+ color: #6C737A;
+ line-height: 40rpx;
+ }
+ }
}
}
diff --git a/pages/merchantAccount/index.vue b/pages/merchantAccount/index.vue
index 906cfb0..f107a0c 100644
--- a/pages/merchantAccount/index.vue
+++ b/pages/merchantAccount/index.vue
@@ -25,7 +25,7 @@
商家到账/元
- 1,005,164.28
+ {{pageData && pageData.SubRoyaltyPrice?$util.fmoney(pageData.SubRoyaltyPrice,2):'-'}}
@@ -34,7 +34,7 @@
商家入账/元
- 1,005,164.28
+ {{pageData && pageData.SubRoyaltyTheory?$util.fmoney(pageData.SubRoyaltyTheory,2):'-'}}
@@ -43,7 +43,7 @@
商家应缴/元
- 1,005,164.28
+ {{pageData && pageData.ReceivableAmount?$util.fmoney(pageData.ReceivableAmount,2):'-'}}
@@ -78,8 +78,8 @@
-
-
+
+
商家
@@ -87,12 +87,12 @@
-
- 合肥好顺坊餐饮管理有限公司
+
+ {{item.MerchantName}}
- 6 个项目
+ {{`${item.ProjectCount}个项目`}}
@@ -101,25 +101,30 @@
到账 /元
- 79.435,54
+ {{item.SubRoyaltyPrice?$util.fmoney(item.SubRoyaltyPrice,2):'-'}}
入账 /元
- 79.435,54
+ {{item.SubRoyaltyTheory?$util.fmoney(item.SubRoyaltyTheory,2):'-'}}
应缴 /元
- 79.435,54
+ {{item.ReceivableAmount ?$util.fmoney(item.ReceivableAmount ,2):'-'}}
+
+
+
+ 暂无数据