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) => {