From 9a139cc25da8396c1b257ccf99eb8d2fedfbc94d Mon Sep 17 00:00:00 2001 From: Liuyi <candymxq888@outlook.com> Date: 星期三, 23 十月 2024 17:24:35 +0800 Subject: [PATCH] 添加校验,修改头像 --- pages/functionList/balanceRecord/index.vue | 30 ++++++++++++++++++++++++++---- 1 files changed, 26 insertions(+), 4 deletions(-) diff --git a/pages/functionList/balanceRecord/index.vue b/pages/functionList/balanceRecord/index.vue index e02df72..be0136e 100644 --- a/pages/functionList/balanceRecord/index.vue +++ b/pages/functionList/balanceRecord/index.vue @@ -65,7 +65,7 @@ <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> @@ -75,7 +75,7 @@ <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"> @@ -92,6 +92,10 @@ </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