From 6361d83fd33743dedc106464f58bd112125dcf2e Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Wed, 16 Oct 2024 10:09:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/view/user/user/cost_details.html | 140 +++++++++++++-------- 1 file changed, 91 insertions(+), 49 deletions(-) diff --git a/app/admin/view/user/user/cost_details.html b/app/admin/view/user/user/cost_details.html index a43f5ad7..cc825cf9 100755 --- a/app/admin/view/user/user/cost_details.html +++ b/app/admin/view/user/user/cost_details.html @@ -14,7 +14,7 @@
-
+
  • 充值
  • 佣金
  • @@ -30,9 +30,9 @@ - - - + + +
@@ -77,73 +77,98 @@ ¥ {{d.left_amount}}
- +
- +
- +
+
- -
- - -
-
-
- +
- - +
+ +
+
+
+ +
+
+
+
- -
- - -
+ + + +
+ +
当前用户总余额: ¥{$info['user_money']}
+ +
- +
- +
- - +
+
- -
- - -
-
-
- +
- - +
+ +
+
+
+ +
+
+
-
+
- -
- - -
+ + + +
+ +
当前用户总余额: ¥{$info['user_money']}
+ +
@@ -206,6 +231,7 @@ getList(1); // 初始话充值列表 //切换列表 element.on('tab(like-tabs)', function (data) { + console.log(123123) var type = $(this).attr('data-type'); // // 重置搜索模块 // $('#shop_name').val(''); @@ -230,7 +256,7 @@ }); function getList(type) { - if (type == 1) { + if (type === 1) { like.tableLists('#user-recharge', '{:url("user.user/costDetails")}?id=' + id + '&type=' + type + '&sel_type=' + $('#recharge_type').val(), [ {field: 'id', title: 'id', width: 100, align: 'center'} , {field: 'log_sn', title: '订单号', width: 200} @@ -238,6 +264,22 @@ , {field: 'left_amount', title: '剩余金额', width: 200, templet: '#recharge_left_amount'} , {field: 'create_time', title: '创建时间', width: 200} ]); + } else if (type === 2) { + like.tableLists('#user-commission', '{:url("user.user/costDetails")}?id=' + id + '&type=' + type + '&sel_type=' + $('#recharge_type').val(), [ + {field: 'id', title: 'id', width: 100, align: 'center'} + , {field: 'log_sn', title: '订单号', width: 200} + , {field: 'change_amount', title: '变动金额', width: 200, templet: '#recharge_change_amount'} + , {field: 'left_amount', title: '剩余金额', width: 200, templet: '#recharge_left_amount'} + , {field: 'create_time', title: '创建时间', width: 200} + ]); + } else if (type === 3) { + like.tableLists('#user-billions', '{:url("user.user/costDetails")}?id=' + id + '&type=' + type + '&sel_type=' + $('#recharge_type').val(), [ + {field: 'id', title: 'id', width: 100, align: 'center'} + , {field: 'log_sn', title: '订单号', width: 200} + , {field: 'change_amount', title: '变动金额', width: 200, templet: '#recharge_change_amount'} + , {field: 'left_amount', title: '剩余金额', width: 200, templet: '#recharge_left_amount'} + , {field: 'create_time', title: '创建时间', width: 200} + ]); } }