diff --git a/view/yinmeng/activity/2023-anchorBattle/js/index.js b/view/yinmeng/activity/2023-anchorBattle/js/index.js
index 65b538d..7dd031b 100644
--- a/view/yinmeng/activity/2023-anchorBattle/js/index.js
+++ b/view/yinmeng/activity/2023-anchorBattle/js/index.js
@@ -77,7 +77,7 @@ function getRank (rankType, date) {
return
}
}
-
+
countup();
dateArr[0] = dateFormat(res.timestamp - 86400000, 'yyyy-MM-dd');
dateArr[1] = dateFormat(res.timestamp, 'yyyy-MM-dd');
@@ -205,4 +205,27 @@ function getzf (num) {
num = '0' + num;
}
return num;
-}
\ No newline at end of file
+}
+// 点击前三按钮
+$('.top3 .no1 .ts').on('click', function () {
+ var uid = $(this).attr('uid');
+ if (browser.ios) {
+ window.webkit.messageHandlers.openRoom.postMessage(uid);
+ } else if (browser.android) {
+ if (androidJsObj && typeof androidJsObj === 'object') {
+ window.androidJsObj.openRoom(uid);
+ }
+ }
+})
+// 点击非前三按钮
+$('.list').on('click', 'li .tx', function () {
+ var uid = $(this).attr('uid');
+ if (browser.ios) {
+ window.webkit.messageHandlers.openRoom.postMessage(uid);
+ } else if (browser.android) {
+ if (androidJsObj && typeof androidJsObj === 'object') {
+ window.androidJsObj.openRoom(uid);
+ }
+ }
+
+})
\ No newline at end of file