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')