From ad876a6fea2df6e2a831d4c9d95cf724855610f4 Mon Sep 17 00:00:00 2001
From: Liuyi <candymxq888@outlook.com>
Date: 星期六, 14 十二月 2024 16:43:35 +0800
Subject: [PATCH] 修复用户微信扫码进入小程序无法跳转及登录问题,修改会员卡解绑接口

---
 pages/functionList/balanceRecord/index.vue |   36 +++++++++++++++++++++++++++++-------
 1 files changed, 29 insertions(+), 7 deletions(-)

diff --git a/pages/functionList/balanceRecord/index.vue b/pages/functionList/balanceRecord/index.vue
index e02df72..3f8201b 100644
--- a/pages/functionList/balanceRecord/index.vue
+++ b/pages/functionList/balanceRecord/index.vue
@@ -65,17 +65,17 @@
 				<picker mode="date" :value="datePay" :fields="'month'" @change="bindDateChange">
 					<view class="date-text">
 						<!-- <text>日期:</text> -->
-						<text class="uni-input">{{datePay}}</text>
+						<text class="uni-input">日期:{{datePay}}</text>
 						<image src="../../../static/images/other/expand.png" alt=''></image>
 					</view>
 				</picker>
 			</view>
 			<view class="date-money">
-				<text>支出¥{{expendSta}}</text>
-				<text>充值¥{{rechargeSta}}</text>
+				<text>支出:{{expendSta}}元</text>
+				<text>充值:{{rechargeSta}}元</text>
 			</view>
 		</view>
-		<view class="main">
+		<view class="main" v-if="banlanceList.length > 0">
 			<block v-for="(item,index) in banlanceList">
 				<view class="item">
 					<view class="item-left">
@@ -88,10 +88,14 @@
 							<text class="money" :style="setStyleMoney(item.business)">{{item.changeMoney}}</text>
 							<text>元</text>
 						</view>
-						<text>{{item.beforeMoney}}</text>
+						<text>余额:{{item.afterMoney}}</text>
 					</view>
 				</view>
 			</block>
+		</view>
+		<view v-else class="nodata">
+			<image src="../../../static/images/other/nodata.png" alt=""></image>
+			<text>该月暂无记录</text>
 		</view>
 	</view>
 </template>
@@ -130,8 +134,8 @@
 			  }
 			  .date-money{
 				  font-weight: 300;
-				  font-size: 24rpx;
-				  color: #7E7E7E;
+				  font-size: 26rpx;
+				  color: #3368bd; 
 				  text:first-child{
 					  margin-right:30rpx;
 				  }
@@ -199,5 +203,23 @@
 				  }
 			  }
 		  }
+		  .nodata{
+			  width:100%;
+			  height:1200rpx;
+			  display: flex;
+			  justify-content: center;
+			  align-items: center;
+			  padding-bottom:400rpx;
+			  box-sizing: border-box;
+			  flex-direction: column;
+			  image{
+				  width:496rpx;
+				  height:488rpx;
+			  }
+			  text{
+				  // color: rgba(111, 111, 111, 0.5);
+				  color:#bed2fd;
+			  }
+		  }
 	  } 
 </style>

--
Gitblit v1.9.3