소스 검색

2023-10-20

zhang 1 년 전
부모
커밋
c8bb7c732f
4개의 변경된 파일52개의 추가작업 그리고 17개의 파일을 삭제
  1. 10 1
      libs/i18n/lang/cn.json
  2. 10 2
      libs/i18n/lang/en.json
  3. 10 1
      libs/i18n/lang/tw.json
  4. 22 13
      pages/user/vip/tabulation.vue

+ 10 - 1
libs/i18n/lang/cn.json

@@ -128,7 +128,16 @@
 		"u13": "每日提现上限2次;",
 		"u14": "提现成功后,提现地址将自动保存以便于下次使用;",
 		"u15": "请注意每个人的地址都是唯一的,请一定要仔细确认避免提错!",
-		"u16": "确认提币"
+		"u16": "确认提币",
+		"u17": "请输入提币地址",
+		"u18": "请输入体现数量",
+		"u19": "余额",
+		"u20": "全部",
+		"u21": "手续费",
+		"u22": "余额不足",
+		"u23": "提交中",
+		"u24": "申请成功",
+		"u25": "申请失败!请联系客服"
 	},
 	"money": {
 		"a1": "钱包",

+ 10 - 2
libs/i18n/lang/en.json

@@ -66,7 +66,6 @@
 	    "u6": "Cash withdrawal network",
 	    "u7": "Cash withdrawal address",
 	    "u8": "Cash withdrawal count",
-		
 		"u9": "Withdrawal Notice",
 		"u10": "Usage steps",
 		"u11": "Enter the currency, network, address, and amount you want to withdraw, then click Next",
@@ -74,7 +73,16 @@
 		"u13": "Daily withdrawal limit: 2 times;",
 		"u14": "After successful withdrawal, the withdrawal address will be automatically saved for future use",
 		"u15": "Please note that each person’s address is unique. Please be sure to double-check and avoid withdrawing to the wrong address!",
-		"u16": "Confirm"
+		"u16": "Confirm",
+		"u17": " Please enter the withdrawal address",
+		"u18": "Please enter the reflected quantity",
+		"u19": "Balance",
+		"u20": "All",
+		"u21": "Handling fee",
+		"u22": "Insufficient balance",
+		"u23": "Submitting",
+		"u24": "Application successful",
+		"u25": "Application failed! Please contact customer service"
 	},	
 	"myple": {
 		"u1": "Number of pledges",

+ 10 - 1
libs/i18n/lang/tw.json

@@ -128,7 +128,16 @@
 		"u13": "每日提現上限2次;",
 		"u14": "提現成功後,提現地址將自動保存以便於下次使用;",
 		"u15": "請注意每個人的地址都是唯一的,請一定要仔細確認避免提錯!",
-		"u16": "確認提幣"
+		"u16": "確認提幣",
+		"u17": "請輸入提幣地址",
+		"u18": "請輸入體現數量",
+		"u19": "余額",
+		"u20": "全部",
+		"u21": "手續費",
+		"u22": "余額不足",
+		"u23": "提交中",
+		"u24": "申請成功",
+		"u25": "申請失敗!請聯系客服"
 	},
 	"money": {
 		"a1": "錢包",

+ 22 - 13
pages/user/vip/tabulation.vue

@@ -2,35 +2,35 @@
 	<view class="all">
 		<view class="row">
 			<view class="row1">
-				<view class="shu">30</view>
+				<view class="shu">{{total || 0}}</view>
 				<view class="wenben">{{$t('huiyuan.a1')}}</view>
 			</view>
 			<view class="row2">
-				<view class="shu">30</view>
+				<view class="shu">{{group_num || 0}}</view>
 				<view class="wenben">{{$t('huiyuan.a2')}}</view>
 			</view>
 		</view>
 	
 	    <view class="rowT">
 	    	<view class="row1">
-	    		<view class="shu">30</view>
+	    		<view class="shu">{{totalLevel || 0}}</view>
 	    		<view class="wenben">{{$t('huiyuan.a3')}}</view>
 	    	</view>
 	    	<view class="row2">
-	    		<view class="shu">30</view>
+	    		<view class="shu">{{valid_user || 0}}</view>
 	    		<view class="wenben">{{$t('huiyuan.a4')}}</view>
 	    	</view>
 	    </view>
 		
-		<view class="list" v-for="item in 12" :key="item">
+		<view class="list" v-for="(item, ind) in list" :key="ind">
 			<view class="top">
-				<view class="nc">123****032@qq.com</view>
+				<view class="nc">{{item.nickname}}</view>
 				<view class="">
 					<image class="img" src="/static/shouye/huiyuan.png" mode=""></image>
 				</view>
 			</view>
 			<view class="center"  @click="navX">
-				<view class="sj">2023.05.05 15:00</view>
+				<view class="sj">{{item.time}}</view>
 				<view class="xq">{{$t('huiyuan.a5')}}</view>
 				<view class="">
 					<image class="ima" src="/static/icon/jt.png" mode=""></image>
@@ -39,9 +39,9 @@
 			<view class="xian"></view>
 			<view class="last">
 				<view class="left">{{$t('huiyuan.a6')}}:</view>
-				<view class="leftT">5000U</view>
+				<view class="leftT">{{item.join_usdt}}</view>
 				<view class="right">{{$t('huiyuan.a7')}}:</view>
-				<view class="rightT">50</view>
+				<view class="rightT">{{item.childCount}}</view>
 			</view>
 		</view>
 		<view class="bto">
@@ -62,7 +62,11 @@
 				id: '',
 				page: 1,
 				limit: 10,
-				list: []
+				list: [],
+				group_num: '',  //团队人数
+				total: '',  // 用户总数
+				totalLevel: '', // 账户总数
+				valid_user: '',  // 有效账户
 			};
 		},
 		onLoad(option) {
@@ -101,11 +105,16 @@
 					limit: that.limit,
 					// id: that.userInfo.uid,
 				}).then(res => {
-					// that.list = data.list
 					let list = res.data.list
-					// that.list = that.list.concat(list)
-					// that.page++
 					console.log('list', list);
+					
+					let data = res.data
+					console.log('1111111', data);
+					this.group_num = data.group_num
+					this.total = data.total
+					this.totalLevel = data.totalLevel
+					this.valid_user = data.valid_user
+					
 					if (list.length == that.limit) {
 						that.loadingType = 'more'
 					} else {