| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 | 
							- <template>
 
- <view class="box">
 
-   <view class="contBox">
 
-   	<view class="top">
 
- 		<view class="top-row">
 
- 			<view class="topLeft">
 
- 				<view class="topLeftTitle">可提现金额</view>
 
- 				<view class="topLeftNum">{{canMoney.toFixed(2)}}</view>
 
- 			</view>
 
- 			<view class="topRight" @click="goRouter('promotionExtract')">提现</view>
 
- 		</view>
 
- 		<view class="top-row" style="border-top: solid 3rpx #FFA68A;">
 
- 			<view class="numLine">总收益:{{sumMoney.toFixed(2)}}</view>
 
- 			<view class="numLine">提现中:{{inMoney.toFixed(2)}}</view>
 
- 			<view class="numLine" style="text-align: right;">已到账:{{alreadyMoney.toFixed(2)}}</view>
 
- 		</view>
 
- 	</view>
 
- 	
 
- 	
 
- 	
 
- 	<view class="jlLine" v-for="item in records" :key="item.id">
 
- 		<view class="lineTop">
 
- 			<view class="lineMs">{{item.activityName}}</view>
 
- 			<view class="lineNum"><span class="spanNum">{{item.money.toFixed(2)}}</span></view>
 
- 		</view>
 
- 		<view class="lineBottom">
 
- 			<view class="time">{{item.createTime}}</view>
 
- 			<view class="nickName">{{item.customerName}}</view>
 
- 		</view>
 
- 	</view>
 
- 	<!-- <view class="jlLine">
 
- 		<view class="lineTop">
 
- 			<view class="lineMs">集客活动名称</view>
 
- 			<view class="lineNum">收益:<span class="spanNum">50.54</span></view>
 
- 		</view>
 
- 		<view class="lineBottom">
 
- 			<view class="time">2020-07-20 19:08</view>
 
- 			<view class="nickName">微信昵称:张三李四玩大炮呢突然不见了</view>
 
- 		</view>
 
- 	</view> -->
 
- 	
 
- 	
 
-   </view>
 
- </view>
 
- </template>
 
- <script>
 
- 	export default {
 
- 		components: {
 
- 			
 
- 		},
 
- 		
 
- 		data() {
 
- 			return {
 
- 				detail:'',
 
- 				themeColor:'',
 
- 				userInfo:'',
 
- 				alreadyMoney: 0,
 
- 				canMoney: 0,
 
- 				inMoney: 0,
 
- 				sumMoney: 0,
 
- 				records: []
 
- 			}
 
- 		},
 
- 		onLoad(opt) {
 
- 			this.themeColor = uni.getStorageSync("themeColor");
 
- 			this.userInfo = uni.getStorageSync("userInfo");
 
- 			this.getData();
 
- 			//this.getExplain();
 
- 		},
 
- 		onShow() {
 
- 			
 
- 		},
 
- 		methods: {
 
- 			getData(){
 
- 				uni.showLoading({
 
- 					title: '加载中'
 
- 				})
 
- 				this.$http('jkCashout/getIndexData', {
 
- 				    
 
- 				}, 'GET').then(res => {
 
- 					uni.hideLoading();
 
- 					//this.detail = res.data
 
- 					this.alreadyMoney = res.data.AlreadyMoney
 
- 					this.canMoney = res.data.CanMoney
 
- 					this.inMoney = res.data.InMoney
 
- 					this.sumMoney = res.data.SumMoney
 
- 					this.records = res.data.records
 
- 					//console.log('list+=', this.queryShopList);
 
- 					
 
- 				})
 
- 			},
 
- 			getExplain(){
 
- 				this.$http('openMCustomer/getExplain', {
 
- 				    
 
- 				}, 'GET').then(res => {
 
- 					//uni.hideLoading();
 
- 					//this.detail = res.data
 
- 					//console.log('list+=', this.queryShopList);
 
- 				
 
- 				})
 
- 			},
 
- 			goRouter(url){
 
- 				//跳转到提现页面
 
- 				uni.navigateTo({
 
- 					url:url
 
- 				})
 
- 			},
 
- 			onPullDownRefresh(){
 
- 				this.getData();
 
- 				setTimeout(() => {
 
- 						uni.stopPullDownRefresh(); // 关闭下拉刷新 
 
- 				}, 2000);
 
- 			}
 
- 			
 
- 		}
 
- 	}
 
- </script>
 
- <style scoped lang="less">
 
- .numLine{
 
- 	padding-right: 20rpx;
 
- 	color: #ffffff;
 
- 	width: 40%;
 
- 	padding-top: 20rpx;
 
- 	font-size: 28rpx;
 
- }
 
- .box {
 
- 	width: 100vw;
 
- 	min-height: 100vh;
 
- 	background: #F4F5F7;
 
- }
 
- .contBox{
 
- 	padding: 20rpx 24rpx;
 
- }
 
- .top{
 
- 	background: linear-gradient(to bottom left,#FF6C5A,#FD865F);
 
- 	border-radius: 10rpx;
 
- 	padding: 24rpx 20rpx;
 
- 	.top-row{
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 		font-family: fantasy;
 
- 	}
 
- 	
 
- }
 
- .numBox{
 
- 	//color: #ffffff;
 
- 	padding: 20rpx 0 30rpx 0;
 
- 	font-size: 26rpx;
 
- }
 
- .fontColor{
 
- 	color: #ffffff;
 
- }
 
- .topLeftTitle{
 
- 	font-size: 35rpx;
 
- 	font-family: ;
 
- 	font-weight: 300;
 
- 	color: #ffffff;
 
- 	padding-top: 10rpx;
 
- }
 
- .topLeftNum{
 
- 	font-size: 50rpx;
 
- 	font-family: PingFangSC-Semibold, PingFang SC;
 
- 	font-weight: 300;
 
- 	color: #ffffff;
 
- 	padding-top: 24rpx;
 
- 	font-weight: 400;
 
- }
 
- .topRight{
 
- 	
 
- 	color: #FFFFFF;
 
- 	padding: 70rpx 20rpx 40rpx 0;
 
- 	
 
- }
 
- .jlLine{
 
- 	margin: 15rpx 0;
 
- 	display: flex;
 
- 	flex-direction: column;
 
- 	background-color: #FFFFFF;
 
- 	font-size: 25rpx;
 
- 	.lineTop{
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 		height: 70rpx;
 
- 		line-height: 70rpx;
 
- 		padding: 0 50rpx 0 20rpx;
 
- 	
 
- 		color: #666666;
 
- 		.lineMs{
 
- 			font-size: 30rpx;
 
- 			font-weight: 700;
 
- 			color: black;
 
- 			overflow: hidden;
 
- 			white-space: nowrap;
 
- 			text-overflow: ellipsis;
 
- 			padding-top: 10rpx;
 
- 		}
 
- 		.lineNum{
 
- 			width: 10%;
 
- 			padding-top: 10rpx;
 
- 			.spanNum{
 
- 				color:red;
 
- 				font-weight: 700;
 
- 				text-align: center;
 
- 				font-size: 30rpx;
 
- 			}
 
- 		}
 
- 	}
 
- 	.lineBottom{
 
- 		display: flex;
 
- 		justify-content: space-between;
 
- 		height: 60rpx;
 
- 		line-height: 60rpx;
 
- 		padding: 0 50rpx 0 20rpx;
 
- 		.time{
 
- 			color: #999999;
 
- 		}
 
- 		.nickName{
 
- 			width: 228rpx;
 
- 			overflow: hidden;
 
- 			white-space: nowrap;
 
- 			text-overflow: ellipsis;
 
- 			color: #666666;
 
- 		}
 
- 	}
 
- }
 
- .xffl{
 
- 	background: #FFFFFF;
 
- 	margin-top: 20rpx;
 
- 	padding: 20rpx;
 
- 	border-radius: 10rpx;
 
- }
 
- .xfflTitle{
 
- 	font-size: 30rpx;
 
- 	font-family: PingFangSC-Medium, PingFang SC;
 
- 	font-weight: 500;
 
- 	color: #333333;
 
- }
 
- .xfflLine{
 
- 	display: flex;
 
- 	justify-content: space-between;
 
- 	font-size: 24rpx;
 
- 	font-family: PingFangSC-Regular, PingFang SC;
 
- 	font-weight: 400;
 
- 	color: #333333;
 
- 	line-height: 33rpx;
 
- 	padding: 15rpx 0;
 
- }
 
- .xfflyq{
 
- 	width: 10rpx;
 
- 	height: 10rpx;
 
- 	background: #EC0F0A;
 
- 	border-radius: 50%;
 
- 	margin-top: 12rpx;
 
- 	margin-right: 14rpx;
 
- }
 
- .xfflyq2{
 
- 	width: 10rpx;
 
- 	height: 10rpx;
 
- 	background: #3F90F7;
 
- 	border-radius: 50%;
 
- 	margin-top: 12rpx;
 
- 	margin-right: 14rpx;
 
- }
 
- .xfflyq3{
 
- 	width: 10rpx;
 
- 	height: 10rpx;
 
- 	background: #FF4F00;
 
- 	border-radius: 50%;
 
- 	margin-top: 12rpx;
 
- 	margin-right: 14rpx;
 
- }
 
- .xfflyq4{
 
- 	width: 10rpx;
 
- 	height: 10rpx;
 
- 	background: #6F2BE8;
 
- 	border-radius: 50%;
 
- 	margin-top: 12rpx;
 
- 	margin-right: 14rpx;
 
- }
 
- .xfflLineLeft{
 
- 	display: flex;
 
- 	width: 200rpx;
 
- }
 
- .xfflLineM{
 
- 	width: 200rpx;
 
- 	text-align: right;
 
- }
 
- .xfflLineR{
 
- 	width: 200rpx;
 
- 	text-align: right;
 
- }
 
- .lineLeftImg{
 
- 	width: 34rpx;
 
- 	height: 34rpx;
 
- }
 
- .lineLeftTxt{
 
- 	color: #333333;font-size: 28rpx;line-height: 34rpx;padding-left: 24rpx;
 
- }
 
- .lineRIghtNUm{
 
- 	color: #666666;font-size: 28rpx;line-height: 34rpx;padding-right: 16rpx;
 
- }
 
- .lineRightImg{
 
- 	width: 12rpx;
 
- 	height: 20rpx;
 
- 	margin-top: 7rpx;
 
- }
 
- .lineBox{
 
- 	background: #FFFFFF;width: 702rpx;margin-top: 20rpx;
 
- }
 
- .line{
 
- 	display: flex;
 
- 	justify-content: space-between;
 
- 	padding: 38rpx 32rpx;
 
- }
 
- .lineLeft{
 
- 		display: flex;
 
- }
 
- .lineRight{
 
- 	display: flex;
 
- }
 
- .smImg{
 
- 	width: 30rpx;height: 30rpx;
 
- }
 
- .smTxt{
 
- 	font-size: 28rpx;
 
- 	font-family: PingFangSC-Regular, PingFang SC;
 
- 	font-weight: 400;
 
- 	color: #999999;
 
- 	line-height: 30rpx;
 
- 	padding-left: 5rpx;
 
- }
 
- .smBox{
 
- 	display: flex;
 
- 	justify-content: center;
 
- 	padding-top: 30rpx;
 
- }
 
- </style>
 
 
  |