From 3291cf4e59f2888d15d6515f4292edc654e6dce9 Mon Sep 17 00:00:00 2001 From: Rieko-wang Date: Wed, 7 Dec 2022 14:03:55 +0800 Subject: [PATCH] 123 --- index.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 9577291..548abb7 100644 --- a/index.html +++ b/index.html @@ -119,8 +119,15 @@ paginationClickable: true }) - $('#my_account_rn,#mx_rn').on('click', () => { + $('#my_account_rn').on('click', () => { + window?.ReactNativeWebView?.postMessage(1) + }) + + $('#mx_rn').on('click', () => { renderBillingDom([]) + setTimeout(() => { + renderBillingDom(nearlyWeek) + }, 500) window?.ReactNativeWebView?.postMessage(1) }) @@ -244,6 +251,10 @@ $('.box-list').html(`
${fontAnimationList[0]}
${fontAnimationList[1]}
`) $('.toList').each(function () { $(this).click(() => { + renderBillingDom([]) + setTimeout(() => { + renderBillingDom(nearlyWeek) + }, 500) isClickToLost = true $('.my-account ').addClass('moveRight') console.log($(this).attr('data-index'), 'wwww')