| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | <template> | 
					
						
							|  |  |  |  | 	<view class="page"> | 
					
						
							|  |  |  |  | 		<u-navbar title="提现明细" :border-bottom="false" :background="bgc" title-color='#000' title-size='36' | 
					
						
							| 
									
										
										
										
											2024-05-25 18:06:00 +08:00
										 |  |  |  | 			height='58'></u-navbar> | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 		<view class="title"> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			总提现金额:<text>{{totalWithdraw}}</text>元 | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 		</view> | 
					
						
							|  |  |  |  | 		<view class="bdlist"> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			<view class="list" @scrolltolower="onReachBottom" v-for="(item,index) in wateringList" :key="index"> | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 				<view class="left"> | 
					
						
							|  |  |  |  | 					<view class="bh"> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 						 {{item.orderNo}}<u-icon name="file-text" size="40" style="margin-left: 5rpx;" | 
					
						
							|  |  |  |  | 							@click="btnfz(item.orderNo)"></u-icon> | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					</view> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 					<view class="sh" v-if="item.status == 1"> | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 						待审核 | 
					
						
							|  |  |  |  | 					</view> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 					<view class="sh" v-if="item.status == 2"> | 
					
						
							|  |  |  |  | 						审核通过 | 
					
						
							|  |  |  |  | 					</view> | 
					
						
							|  |  |  |  | 					<view class="sh" v-if="item.status == 3"> | 
					
						
							|  |  |  |  | 						驳回 | 
					
						
							|  |  |  |  | 					</view> | 
					
						
							|  |  |  |  | 					<view class="sh" v-if="item.status == 4"> | 
					
						
							|  |  |  |  | 						已打款 | 
					
						
							|  |  |  |  | 					</view> | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					<view class="sj"> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 						{{item.createTime}} | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					</view> | 
					
						
							|  |  |  |  | 				</view> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 				<view class="right" @click="btnnav(item.orderId)"> | 
					
						
							|  |  |  |  | 					<view><u-icon name="arrow-right"></u-icon></view> | 
					
						
							|  |  |  |  | 					<view class="xia" v-if="item.type == 1"> | 
					
						
							|  |  |  |  | 						<u-icon name="red-packet" size="30" style="margin-right: 5rpx;"></u-icon> 线上 | 
					
						
							|  |  |  |  | 					</view> | 
					
						
							|  |  |  |  | 					<view class="xia" v-if="item.type == 2"> | 
					
						
							|  |  |  |  | 						<u-icon name="red-packet" size="30" style="margin-right: 5rpx;"></u-icon> 线下 | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					</view> | 
					
						
							|  |  |  |  | 					<view class="je"> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 						¥{{item.totalAmount}} | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					</view> | 
					
						
							|  |  |  |  | 				</view> | 
					
						
							|  |  |  |  | 			</view> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			 | 
					
						
							|  |  |  |  | 			<view class="" style="width: 448rpx;height: 448rpx;margin: auto;margin-top: 100rpx;text-align: center;" | 
					
						
							|  |  |  |  | 				v-if="showflag"> | 
					
						
							|  |  |  |  | 				<image style="width: 448rpx;height: 448rpx;" | 
					
						
							|  |  |  |  | 					src="https://api.ccttiot.com/smartmeter/img/static/ufLi6IZd5kh1MIEZFYTo" mode=""></image> | 
					
						
							|  |  |  |  | 				<view class="" style="font-size: 30rpx;color: #ccc;margin-top: 30rpx;">暂无更多记录...</view> | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 			</view> | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			 | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 		</view> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 	</view> | 
					
						
							|  |  |  |  | </template> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <script> | 
					
						
							|  |  |  |  | 	export default { | 
					
						
							|  |  |  |  | 		data() { | 
					
						
							|  |  |  |  | 			return { | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 				pagenum: 1, | 
					
						
							|  |  |  |  | 				wateringList: [], | 
					
						
							|  |  |  |  | 				pagesize: 10, // 一页多少数据
 | 
					
						
							|  |  |  |  | 				isLoading: false, // 是否正在加载数据  
 | 
					
						
							|  |  |  |  | 				noMoreData: false, // 是否没有更多数据  
 | 
					
						
							|  |  |  |  | 				total: 0, | 
					
						
							|  |  |  |  | 				bgc: { | 
					
						
							|  |  |  |  | 					background: '#25CE88' | 
					
						
							|  |  |  |  | 				}, | 
					
						
							|  |  |  |  | 				totalWithdraw:'', | 
					
						
							|  |  |  |  | 				showflag: false | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 			} | 
					
						
							|  |  |  |  | 		}, | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 		onShow() { | 
					
						
							| 
									
										
										
										
											2024-05-30 18:02:15 +08:00
										 |  |  |  | 			this.pagenum = 1 | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			this.wateringList = [] | 
					
						
							|  |  |  |  | 			this.getlist() | 
					
						
							|  |  |  |  | 		}, | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 		methods: { | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			getlist() { | 
					
						
							|  |  |  |  | 				this.$u.get('/agent/withdraw/list?pageNum=' + this.pagenum + '&pageSize=' + this.pagesize).then(res => { | 
					
						
							|  |  |  |  | 					if (res.code == 200) { | 
					
						
							|  |  |  |  | 						this.total = res.total; | 
					
						
							|  |  |  |  | 						if (this.total > 0) { | 
					
						
							|  |  |  |  | 							this.showflag = false | 
					
						
							|  |  |  |  | 						} else { | 
					
						
							|  |  |  |  | 							this.showflag = true | 
					
						
							|  |  |  |  | 						} | 
					
						
							|  |  |  |  | 						this.totalWithdraw = res.totalWithdraw | 
					
						
							|  |  |  |  | 						this.wateringList = this.wateringList.concat(res.rows); | 
					
						
							|  |  |  |  | 						this.pagenum++; | 
					
						
							|  |  |  |  | 					} else { | 
					
						
							|  |  |  |  | 						// 没有更多数据  
 | 
					
						
							|  |  |  |  | 						this.noMoreData = true; | 
					
						
							|  |  |  |  | 					} | 
					
						
							|  |  |  |  | 					this.isLoading = false | 
					
						
							|  |  |  |  | 				}) | 
					
						
							|  |  |  |  | 			}, | 
					
						
							|  |  |  |  | 			onReachBottom() { | 
					
						
							|  |  |  |  | 				let sum = this.total / this.pagesize | 
					
						
							|  |  |  |  | 				if (this.pagenum - 1 < sum) { | 
					
						
							|  |  |  |  | 					this.getlist(); | 
					
						
							|  |  |  |  | 				} else { | 
					
						
							|  |  |  |  | 					uni.showToast({ | 
					
						
							|  |  |  |  | 						title: '没有更多数据了', | 
					
						
							|  |  |  |  | 						icon: 'none', | 
					
						
							|  |  |  |  | 						duration: 1000 | 
					
						
							|  |  |  |  | 					}); | 
					
						
							|  |  |  |  | 				} | 
					
						
							|  |  |  |  | 			}, | 
					
						
							|  |  |  |  | 			btnfz(text) { | 
					
						
							|  |  |  |  | 				uni.setClipboardData({ | 
					
						
							|  |  |  |  | 					data: text, | 
					
						
							|  |  |  |  | 					success: function(res) { | 
					
						
							|  |  |  |  | 						// console.log('复制的信息:', text);
 | 
					
						
							|  |  |  |  | 						uni.showToast({ | 
					
						
							|  |  |  |  | 							title: '复制成功', | 
					
						
							|  |  |  |  | 						}); | 
					
						
							|  |  |  |  | 					} | 
					
						
							|  |  |  |  | 				}); | 
					
						
							|  |  |  |  | 			}, | 
					
						
							|  |  |  |  | 			btnnav(orderId) { | 
					
						
							|  |  |  |  | 				uni.navigateTo({ | 
					
						
							|  |  |  |  | 					url: '/pages/detail/detailed/index?orderId=' + orderId | 
					
						
							|  |  |  |  | 				}) | 
					
						
							|  |  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 		} | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | </script> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <style lang="scss"> | 
					
						
							| 
									
										
										
										
											2024-05-25 18:06:00 +08:00
										 |  |  |  | 	/deep/ .u-title, | 
					
						
							|  |  |  |  | 	/deep/ .uicon-nav-back { | 
					
						
							|  |  |  |  | 		padding-bottom: 40rpx; | 
					
						
							|  |  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 	page { | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 		// background: linear-gradient(180deg, #25CE88 0%, rgba(255, 255, 255, 0) 100%);
 | 
					
						
							|  |  |  |  | 		// border-radius: 0rpx 0rpx 0rpx 0rpx;
 | 
					
						
							|  |  |  |  | 		background-color: #F4F5F7; | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 	.page { | 
					
						
							|  |  |  |  | 		width: 750rpx; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 		.title { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 			width: 750rpx; | 
					
						
							|  |  |  |  | 			height: 98rpx; | 
					
						
							|  |  |  |  | 			line-height: 98rpx; | 
					
						
							|  |  |  |  | 			background: #FFFFFF; | 
					
						
							|  |  |  |  | 			padding-left: 40rpx; | 
					
						
							|  |  |  |  | 			box-sizing: border-box; | 
					
						
							|  |  |  |  | 			font-weight: 400; | 
					
						
							|  |  |  |  | 			font-size: 28rpx; | 
					
						
							|  |  |  |  | 			color: #3D3D3D; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  |             position: fixed; | 
					
						
							|  |  |  |  | 			z-index: 99; | 
					
						
							|  |  |  |  | 			text { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 				font-weight: 500; | 
					
						
							|  |  |  |  | 				font-size: 32rpx; | 
					
						
							|  |  |  |  | 				color: #FF8157; | 
					
						
							|  |  |  |  | 			} | 
					
						
							|  |  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 		.bdlist { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 			width: 750rpx; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			height:100%; | 
					
						
							|  |  |  |  | 			margin-top: 105rpx; | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 			background: #F4F5F7; | 
					
						
							|  |  |  |  | 			padding: 24rpx 34rpx; | 
					
						
							|  |  |  |  | 			box-sizing: border-box; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 			padding-bottom: 200rpx !important; | 
					
						
							|  |  |  |  | 			.noshuju { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 				width: 100%; | 
					
						
							|  |  |  |  | 				text-align: center; | 
					
						
							|  |  |  |  | 				font-size: 24rpx; | 
					
						
							|  |  |  |  | 				color: #979797; | 
					
						
							|  |  |  |  | 				margin-top: 38rpx; | 
					
						
							|  |  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 			.list { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 				width: 680rpx; | 
					
						
							|  |  |  |  | 				height: 208rpx; | 
					
						
							|  |  |  |  | 				background: #FFFFFF; | 
					
						
							|  |  |  |  | 				border-radius: 24rpx 24rpx 24rpx 24rpx; | 
					
						
							|  |  |  |  | 				padding: 24rpx 30rpx; | 
					
						
							|  |  |  |  | 				box-sizing: border-box; | 
					
						
							|  |  |  |  | 				display: flex; | 
					
						
							|  |  |  |  | 				justify-content: space-between; | 
					
						
							|  |  |  |  | 				margin-bottom: 24rpx; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 				.left { | 
					
						
							|  |  |  |  | 					.bh { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 						font-size: 28rpx; | 
					
						
							|  |  |  |  | 						color: #3D3D3D; | 
					
						
							|  |  |  |  | 					} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 					.sh { | 
					
						
							|  |  |  |  | 						font-weight: 600; | 
					
						
							|  |  |  |  | 						font-size: 30rpx; | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 						color: #3D3D3D; | 
					
						
							|  |  |  |  | 						margin-top: 16rpx; | 
					
						
							|  |  |  |  | 					} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 					.sj { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 						font-weight: 400; | 
					
						
							|  |  |  |  | 						font-size: 28rpx; | 
					
						
							|  |  |  |  | 						color: #3D3D3D; | 
					
						
							|  |  |  |  | 						margin-top: 16rpx; | 
					
						
							|  |  |  |  | 					} | 
					
						
							|  |  |  |  | 				} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 				.right { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					text-align: right; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 					.xia { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 						font-size: 28rpx; | 
					
						
							|  |  |  |  | 						color: #3D3D3D; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 						margin-top: 15rpx; | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					} | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | 					.je { | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 						font-weight: 500; | 
					
						
							|  |  |  |  | 						font-size: 40rpx; | 
					
						
							|  |  |  |  | 						color: #FF8157; | 
					
						
							| 
									
										
										
										
											2024-05-29 18:02:01 +08:00
										 |  |  |  | 						margin-top: 15rpx; | 
					
						
							| 
									
										
										
										
											2024-05-11 10:57:53 +08:00
										 |  |  |  | 					} | 
					
						
							|  |  |  |  | 				} | 
					
						
							|  |  |  |  | 			} | 
					
						
							|  |  |  |  | 		} | 
					
						
							|  |  |  |  | 	} | 
					
						
							|  |  |  |  | </style> |