Commit cada0c10 authored by 华国豪's avatar 华国豪 🙄

1

parent e28adf52
...@@ -395,6 +395,18 @@ ...@@ -395,6 +395,18 @@
<script> <script>
$(function(){ $(function(){
pushHistory();
    window.addEventListener("popstate", function(e) {
    //根据自己的需求实现自己的功能
window.location.href = 'https://activity.oytour.com/html/GT_activities.html';
  }, false);
  function pushHistory() {
    var state = {
    title: "title",
    url: "#"
  };
    window.history.pushState(state, "title", "#");
  }
$(document).click(function(e){ $(document).click(function(e){
var target = $(e.target); var target = $(e.target);
if(target.closest(".coupons_Navone").length != 0) return; if(target.closest(".coupons_Navone").length != 0) return;
......
...@@ -153,6 +153,20 @@ ...@@ -153,6 +153,20 @@
<script type="text/javascript" src="../js/mian.js"></script> <script type="text/javascript" src="../js/mian.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script> <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
<script> <script>
$(function(){
  pushHistory();
    window.addEventListener("popstate", function(e) {
    //根据自己的需求实现自己的功能
window.location.href = 'https://activity.oytour.com/html/GT_activities.html';
  }, false);
  function pushHistory() {
    var state = {
    title: "title",
    url: "#"
  };
    window.history.pushState(state, "title", "#");
  }
});
let href = window.location.href; let href = window.location.href;
// let href = 'https://127.0.0.1:5500/html/GT_activities.html'; // let href = 'https://127.0.0.1:5500/html/GT_activities.html';
// let href='https://127.0.0.1:5500/html/GT_activities.html?customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzM0NjY2NjMuMCwiZXhwIjoxNTczNTUzMDYzLjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6NH19.hX2b2MqSWYmWS0k3YsthxW-T6UxarIm5rdbqCVQtxdQ&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=xcx'; // let href='https://127.0.0.1:5500/html/GT_activities.html?customerId=1549&accountId=1182&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NzM0NjY2NjMuMCwiZXhwIjoxNTczNTUzMDYzLjAsInVzZXJJbmZvIjp7InVpZCI6IjExODIiLCJyZXF1ZXN0RnJvbSI6NH19.hX2b2MqSWYmWS0k3YsthxW-T6UxarIm5rdbqCVQtxdQ&secretKey=5d5e16254bd741c486fe2b83b42171d2&platform=xcx';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment