From 09da57ad923cc2e17b15a4baba90783a34430d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Wed, 27 Dec 2023 17:37:42 +0800 Subject: [PATCH] http --- Host/Views/User/Index.cshtml | 106 +++++++++++++++++++++-------------- 1 file changed, 64 insertions(+), 42 deletions(-) diff --git a/Host/Views/User/Index.cshtml b/Host/Views/User/Index.cshtml index 7cc041e..51ab3ea 100644 --- a/Host/Views/User/Index.cshtml +++ b/Host/Views/User/Index.cshtml @@ -31,7 +31,7 @@ case 1029: myManagerUrl = 'https://work.weixin.qq.com/u/vc887a78c8a042ee8e?v=4.1.8.133653'; break; - case 1028: + case 1030: myManagerUrl = 'https://work.weixin.qq.com/u/vc83c509032e079ac3?v=4.1.8.23932'; break; case 1017: @@ -75,7 +75,7 @@ .editList { position: fixed; width: 400px; - height: 420px; + height: auto; left: 50%; top: 50%; margin-left: -200px; @@ -149,7 +149,7 @@ .cash-out { position: fixed; width: 400px; - height: 400px; + height: auto; left: 50%; top: 50%; margin-left: -200px; @@ -243,8 +243,12 @@

- - +

+ +
+
+ +

@@ -474,7 +478,7 @@
-
+
账户信息
@@ -494,9 +498,9 @@

扫二维码联系
我的客户经理

-

查看大图

+

查看大图

-
+
@@ -551,33 +555,11 @@

可直接充值,或通过淘宝充值

-
+
-
IP账号
-
-
-
-

@(Model.AccountModel.TotalCount-Model.AccountModel.ExpriedCount)

-

使用中

-
-
-
-
-
- @Model.AccountModel.TotalCount -
-
- 总个数 -
-
- @Model.AccountModel.ExpriedCount -
-
- 已过期 -
-
-
-
+
H币
+

充值

+
@@ -628,14 +610,32 @@
-
-
聚IP头条
-
    - @foreach (var item in Model.TopNewsModel) - { -
  • @item.Title@item.CreateTime.ToString("yyyy.MM.dd")
  • - } -
+
+
IP账号
+
+
+
+

@(Model.AccountModel.TotalCount-Model.AccountModel.ExpriedCount)

+

使用中

+
+
+
+
+
+ @Model.AccountModel.TotalCount +
+
+ 总个数 +
+
+ @Model.AccountModel.ExpriedCount +
+
+ 已过期 +
+
+
+
@@ -678,6 +678,28 @@ document . addEventListener ( 'AlipayJSBridgeReady' , callback , false ); } } + get_balance(); + function get_balance() { + let data = { + cookie:document.cookie, + } + + $.ajax({ + type: 'POST', + url: 'http://php-api.juip.com/http/user/get_balance', + dataType: "json", + contentType: "application/json", + data: JSON.stringify(data), + beforeSend: function(xhr) { + xhr.withCredentials = true; + }, + crossDomain: true, + success: function (res) { + $("#hmoney").text(res); + } + }); + } + // startBizService 接口仅在支付宝 10.0.15 及以上支持 // 需要接入者自行做下版本兼容处理 !!