瀏覽代碼

样式调整

zhangdehua 1 年之前
父節點
當前提交
e8e7754d66
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      app/index/view/index/index.html
  2. 1 1
      app/index/view/index/productDetails.html
  3. 2 1
      public/assets/index/js/public.js

+ 1 - 1
app/index/view/index/index.html

@@ -448,7 +448,7 @@
                         $("#shareModal").hide(0)
                         goodsId = null
                     } else if (obj.status === 401 || obj.status === '401') {
-                        window.location.replace('../passport/logIn.html')
+                        window.location.replace('/index/passport/login.html')
                     } else {
                         showToast('Something wrong,please try again later')
                     }

+ 1 - 1
app/index/view/index/productDetails.html

@@ -189,7 +189,7 @@
                         window.location.href = '/index/cart/shoppingCart.html';
                         return
                     } else if (obj.status === 401 || obj.status === '401') {
-                        window.location.replace('../passport/logIn.html')
+                        window.location.replace('/index/passport/login.html')
                     } else {
                         showToast(obj.message)
                     }

+ 2 - 1
public/assets/index/js/public.js

@@ -61,7 +61,8 @@ $(document).ready(function () {
     /**
      * 年龄提示 Yes 点击
      */
-    $(".ageReminderYes").on(tap, function () {
+    $(".ageReminderYes").on(tap, function (event) {
+        event.stopPropagation();
         localStorage.setItem(VAPES_AGEREMINDER, "1");
         $(".maskContainer").hide(0)
     });