From 2ba05058d4610e49189650b0fc8a90c2947ea8b8 Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Wed, 24 Jul 2024 09:45:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=8D=95=E7=82=B9=E5=87=BB=E6=95=B4?= =?UTF-8?q?=E4=B8=AA=E8=B5=84=E6=96=99=E5=8D=A1=E8=B7=B3=E8=BD=AC=E8=B5=84?= =?UTF-8?q?=E6=96=99=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/modules/order/index.html | 2 +- view/molistar/modules/order/js/index.js | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/view/molistar/modules/order/index.html b/view/molistar/modules/order/index.html index 1067ce7..0e48329 100644 --- a/view/molistar/modules/order/index.html +++ b/view/molistar/modules/order/index.html @@ -36,4 +36,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/view/molistar/modules/order/js/index.js b/view/molistar/modules/order/js/index.js index 4cf13f2..727256e 100644 --- a/view/molistar/modules/order/js/index.js +++ b/view/molistar/modules/order/js/index.js @@ -69,7 +69,7 @@ function getRecords() { } else { res.data.rows.forEach(res => { str += ` -
  • +
  • ${res.nick}
    ${res.erbanNo}:ID
    ${strFun(res.gamePartnerInfoList)} @@ -104,6 +104,17 @@ $('ul').on('click', ' li .txBg', function () { } } }) +$('ul').on('click', ' li', function () { + var uid = $(this).attr('uid'); + if (!browser.app) return + if (browser.ios) { + window.webkit.messageHandlers.openPersonPage.postMessage(uid); + } else if (browser.android) { + if (androidJsObj && typeof androidJsObj === 'object') { + window.androidJsObj.openPersonPage(uid); + } + } +}) function strFun(data) { var str = '' data.forEach((res, i) => {