wangkaiyue 5 жил өмнө
parent
commit
4264cbb032

+ 2 - 7
src/web/templates/weixin/vipsubscribe/vip_introduce.html

@@ -127,20 +127,15 @@
         </div>
         <div class="menu">
             {{if not .T.notShowTrial }}
-            <a onclick="window.location.href='/front/vipsubscribe/trialInfo'" class="try_btn">试用7天</a>
+            <a onclick="window.location.replace('/front/vipsubscribe/trialInfo')" class="try_btn">试用7天</a>
             {{end}}
-            <a onclick="window.location.href='/weixin/pay/vipsubscribe_new'"  class="subscribe_btn">去订阅</a>
+            <a onclick="window.location.replace('/weixin/pay/vipsubscribe_new')"  class="subscribe_btn">去订阅</a>
         </div>
     </div>
     {{include "/common/weixin.html"}}
     <script src="/vipsubscribe/js/share.js?v={{Msg "seo" "version"}}"></script>
     <script>
       initShare({{.T.signature}});
-      window.onpageshow = function(event) {
-        if (event.persisted) {
-          window.location.reload()
-        }
-      };
     </script>
 </body>
 </html>